/* Preview results: live search behaviour with the v3 layout. */
.inline-brand { display: none; }
body.has-search #bg { opacity: .25; }
#bg { transition: opacity 300ms ease; }
body.has-search .site-header .brand { visibility: hidden; }
body.has-search .hero-content { min-height: 0; height: 110px; padding: 0; margin: 0; width: 100%; }
body.has-search .hero-content > h1, body.has-search .hero-content > .subtitle { display: none; }
body.has-search #search-form, body.has-search #search-form:focus-within { position: absolute; z-index: 3; top: 20px; left: max(clamp(20px, 5vw, 80px), calc((100% - 1600px) / 2)); width: min(54vw, 930px); margin: 0; }
body.has-search .search-box { animation: none; width: 100%; height: 60px; min-height: 0; gap: 0; padding: 5px 6px; border: 1px solid var(--border-strong); border-radius: 12px; box-shadow: none; }
body.has-search .search-icon { display: none; }
body.has-search .inline-brand { display: flex; }
body.has-search .inline-home { color: var(--text); }
body.has-search .input-slot { animation: none; }
body.has-search #query { font-size: 16px; padding: 10px 8px; }
body.has-search .search-box button { height: 48px; padding: 0 25px; font-size: 15px; animation: none; }
body.has-search .button-long { display: none; } body.has-search .button-short { display: inline; }
body.has-search .site-header nav { margin-left: auto; }
.results { width: min(1600px, calc(100% - 2 * clamp(20px, 5vw, 80px))); margin: 35px auto 100px; }
body.has-search .site-header { width: min(1600px, calc(100% - 2 * clamp(20px, 5vw, 80px))); }
.results-heading { align-items: center; margin: 0; padding: 0 0 26px; border-bottom: 1px solid var(--border); }
.results-heading h2 { margin: 0 0 14px; font-size: clamp(30px, 2.6vw, 44px); font-weight: 750; letter-spacing: -.045em; }
#results-query { color: var(--accent); overflow-wrap: anywhere; }
.headline { width: fit-content; max-width: 100%; gap: 8px; padding: 6px 9px 6px 16px; border: 1px solid var(--border-strong); border-radius: 999px; background: var(--surface-1); }
.headline-domain { font-size: 15px; font-weight: 650; }
.headline-status { margin: 0; }
.results-heading .summary-line { margin-top: 14px; }
.progress-wrap { width: min(340px, 30%); flex: none; }
.progress-label { font-size: 14px; margin: 0 0 10px; text-align: right; }
.progress { height: 6px; margin: 0; border-radius: 8px; background: #2a2f38; transition: opacity 1s ease; }
.progress span { background: var(--accent); }
.progress.complete { opacity: 0; }
.results-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; }
.view-switch { margin: 0; flex: none; border-radius: 10px; }
#toolbar-actions { min-width: 0; }
.result-actions { flex-wrap: nowrap; flex-direction: row; }
.result-actions .category-select { border-left: 1px solid var(--border-strong); }
.filters { flex-wrap: nowrap; }
.filters button, .category-select { border-radius: 999px; }
.filters button span::before { content: '('; }.filters button span::after { content: ')'; }
#results-panel > .results-controls { display: none; }
.result-list, .groups.single-group .result-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; border-top: 0; }
.result-row, .groups.single-group .result-row, .result-row.has-deal, .groups.single-group .result-row.has-deal { display: grid; grid-template-columns: minmax(0, 1fr) auto 12px; gap: 0 14px; align-items: center; min-height: 72px; padding: 0 20px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-1); opacity: 1; cursor: pointer; }
.result-row:hover { border-color: var(--border-strong); background: var(--surface-2); }
.result-row .row-domain, .result-row.has-deal .row-domain { min-width: 0; padding: 18px 0; align-items: center; }
.row-domain .domain { font-size: clamp(16px, 1.05vw, 19px); }
.row-domain .row-dot { width: 6px; height: 6px; }
.result-row .reg-badge { filter: none; opacity: 1; }
body.badges-mono .result-row .reg-badge { filter: grayscale(1); opacity: .58; }
@media (hover: hover) { body.badges-mono .result-row:hover .reg-badge, body.badges-mono .result-row:focus-within .reg-badge { filter: grayscale(0); opacity: 1; } }
.row-domain .row-name { color: var(--text); }
.result-row[data-status="taken"] .row-name, .result-row[data-status="taken"] .domain strong { color: var(--text-3); }
.row-price-stack, .result-row.has-deal .row-price-stack { max-width: none; padding: 12px 0; }
.row-price-stack .row-price-link { flex-direction: row; align-items: center; gap: 16px; padding: 0; }
.row-price-copy { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.row-price-main { font-size: 17px; }.row-price-hint { font-size: 11px; }
.row-registrar { display: flex; align-items: center; gap: 9px; flex: 0 0 150px; width: 150px; border-left: 1px solid var(--border-strong); padding-left: 16px; min-height: 32px; }
.row-registrar-name { font-size: 15px; font-weight: 600; white-space: nowrap; }
.row-chevron { color: var(--text-3); font-size: 24px; line-height: 1; }
.result-row.has-deal .row-deal { grid-column: 2; justify-self: end; margin: -6px 0 12px; white-space: nowrap; }
.result-row[data-status="taken"] .row-status, .result-row[data-status="unknown"] .row-status { font-size: 14px; color: var(--text-2); }
.extension-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.extension-tile { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; height: 46px; border-radius: 12px; }
.extension-tile .tile-name { width: 100%; min-width: 0; padding: 11px 4px 11px 12px; white-space: nowrap; }
.extension-tile .tile-extension { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; overflow-wrap: normal; word-break: normal; }
.tile-offers { display: inline-flex; align-items: center; justify-content: flex-end; min-width: 0; margin: 0; font-variant-numeric: tabular-nums; }
.extension-tile .tile-price { margin: 0; padding: 11px 4px; }
.extension-tile .tile-price:last-child { padding-right: 12px; }
.extension-tile .tile-premium-hint { justify-self: end; }
@media (max-width: 650px) {
  .extension-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .extension-tile { font-size: 12px; }
  .extension-tile .tile-name { padding-left: 8px; }
  .extension-tile .tile-price { font-size: 12px; }
  .extension-tile .tile-price:last-child { padding-right: 8px; }
  .extension-tile .tile-deal { margin-right: 7px; }
}
.extension-context { min-width: 0; margin: 0 0 6px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-2); font-size: 13px; }
.extension-context strong { color: var(--accent); }
@media (min-width: 2200px) { .results { width: min(2050px, calc(100% - 160px)); } .result-list, .groups.single-group .result-list { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 1100px) { .result-list, .groups.single-group .result-list { grid-template-columns: 1fr; } .results-toolbar { align-items: flex-start; flex-wrap: wrap; } }
@media (max-width: 640px) {
  body.has-search .site-header .brand { visibility: visible; }
  body.has-search .hero-content { height: 154px; }
  body.has-search #search-form, body.has-search #search-form:focus-within { top: 80px; left: 20px; width: calc(100% - 40px); }
  body.has-search .search-box { height: 56px; } body.has-search .search-box button { height: 44px; padding: 0 14px; }
  .results { margin: 20px auto 80px; }
  .results-heading { flex-direction: column; align-items: stretch; gap: 20px; }.results-heading h2 { font-size: 28px; }
  .progress-wrap { width: 100%; }.results-toolbar { gap: 12px; }.result-actions { width: 100%; overflow-x: auto; padding-bottom: 4px; }.filters { flex: none; }.category-select { flex: none; }
  #toolbar-actions { width: 100%; }.result-row, .groups.single-group .result-row, .result-row.has-deal { padding: 0 12px; gap: 0 8px; }
  .row-domain .domain { font-size: 16px; }.row-price-main { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { #bg, .progress { transition: none; } }

.site-header { top: 0; }
body:not(.has-search) #search-form { width: min(100%, 1010px); margin: 40px auto 0; }
body:not(.has-search) #search-form:focus-within { width: min(100%, 1040px); }
body:not(.has-search) .search-box { height: 96px; padding: 10px 11px 10px 27px; gap: 22px; }
body:not(.has-search) .search-box button { flex: none; width: auto; height: 72px; padding: 0 30px; font-size: 20px; opacity: 1; visibility: visible; transform: none; }
body:not(.has-search) #query { font-size: 21px; padding: 12px 0; }
body:not(.has-search) #query::placeholder { opacity: 1; }
@media (max-width: 650px) {
 body:not(.has-search) #search-form { margin-top: 30px; }
 body:not(.has-search) .search-box { height: 64px; padding: 6px 7px 6px 14px; gap: 10px; }
 body:not(.has-search) .search-box button { height: 48px; padding: 0 15px; font-size: 14px; }
 body:not(.has-search) #query { font-size: 16px; }
}

.result-row[data-status="taken"], .result-row[data-status="unknown"] { opacity: 1; }

@media (max-width: 640px) { body.has-search .inline-word { width: 0; opacity: 0; } body.has-search .brand-divider { width: 0; margin: 0; opacity: 0; } }
@media (max-width: 640px) { body.has-search .site-header:has(.mobile-menu:not([hidden])) { z-index: 5; } }

/* Results share one content width, including the overlaid header search. */
body.has-search { --results-width: min(1880px, calc(100% - 2 * clamp(16px, 4vw, 80px))); }
body.has-search .site-header, .results { width: var(--results-width); }
.results { container: results / inline-size; }
body.has-search #search-form, body.has-search #search-form:focus-within {
  left: max(clamp(16px, 4vw, 80px), calc((100% - 1880px) / 2));
  width: min(600px, calc(var(--results-width) * .6), calc(var(--results-width) - 440px));
}
.result-list, .groups.single-group .result-list { grid-template-columns: minmax(0, 1fr); }
@container results (min-width: 720px) { .result-list, .groups.single-group .result-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container results (min-width: 1860px) { .result-list, .groups.single-group .result-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.result-row { container: result-card / inline-size; }
@container result-card (max-width: 459px) {
  .row-registrar { flex-basis: 48px; width: 48px; padding-left: 12px; }
  .row-registrar-name { display: none; }
  .row-price-stack .row-price-link { gap: 10px; }
}
@container result-card (max-width: 377px) {
  .row-price-main { font-size: 14px; }
  .row-registrar { flex-basis: 36px; width: 36px; padding-left: 8px; }
  .row-price-stack .row-price-link { gap: 8px; }
}
@media (max-width: 1000px) {
  body.has-search .site-header nav { display: none; }
  body.has-search .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; padding: 10px; border: 1px solid var(--border-strong); border-radius: 10px; background: var(--surface-1); cursor: pointer; }
  body.has-search .menu-toggle span { width: 100%; height: 2px; background: var(--text); }
  body.has-search .mobile-menu:not([hidden]) { display: grid; position: absolute; top: 75px; right: 0; min-width: 180px; padding: 6px; border: 1px solid var(--border-strong); border-radius: 12px; background: var(--surface-1); box-shadow: 0 12px 32px #0008; }
  body.has-search .mobile-menu a { padding: 12px; border-radius: 7px; color: var(--text); text-decoration: none; font-size: 14px; }
  body.has-search .mobile-menu a:hover { background: var(--surface-2); }
  body.has-search #search-form, body.has-search #search-form:focus-within { width: calc(var(--results-width) - 58px); }
  body.has-search .site-header:has(.mobile-menu:not([hidden])) { z-index: 5; }
}
@media (max-width: 640px) {
  body.has-search #search-form, body.has-search #search-form:focus-within { top: 80px; width: var(--results-width); }
  body.has-search .inline-brand { display: none; }
  body.has-search .search-icon { display: block; width: 20px; height: 20px; margin-left: 8px; }
  .results-heading { display: flex; gap: 14px; }
  .results-heading .heading-main { display: contents; }
  .results-heading h2 { order: 0; margin: 0; font-size: 26px; }
  .results-heading .headline { order: 1; }
  .results-heading .progress-wrap { order: 2; }
  .results-heading .summary-line { order: 3; margin-top: 0; }
  .results-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
  .results-toolbar .view-switch { flex: none; order: 0; padding: 4px; }
  .results-toolbar .view-switch button { padding-inline: 10px; }
  #toolbar-actions:not([hidden]), #toolbar-actions .result-actions { display: contents; }
  #toolbar-actions .category-select { order: 1; position: relative; }
  #toolbar-actions .category-select select { min-width: 0; max-width: clamp(40px, calc(100vw - 370px), 190px); }
  #toolbar-actions .category-select:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
  #toolbar-actions .filters { order: 2; min-width: 0; width: 100%; flex-wrap: wrap; gap: 8px; overflow: visible; padding: 2px 0 5px; }
  #toolbar-actions .filters::-webkit-scrollbar { display: none; }
  #toolbar-actions .filters button { flex: none; white-space: nowrap; }
  #toolbar-actions .filters.has-more { mask-image: none; }
}
@media (max-width: 400px) {
  #toolbar-actions .category-select { padding-right: 27px; }
  #toolbar-actions .sort-colon { display: none; }
  #toolbar-actions .category-select::after { content: "\25be"; position: absolute; right: 10px; color: var(--text); pointer-events: none; }
  #toolbar-actions .category-select select { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; opacity: 0; }
}
@media (max-width: 380px) { .view-switch button { padding-inline: 8px; } }

/* Results overview hierarchy. */
body.has-search .hero-content::before { content: ""; position: absolute; z-index: 1; top: 0; left: 0; width: 100%; height: 100px; background: var(--surface-1); border-bottom: 1px solid var(--border); pointer-events: none; }
.results-heading { display: block; }
.results-heading .heading-main { display: block; min-width: 0; }
.headline-row { display: flex; align-items: center; gap: 24px; min-width: 0; }
.headline { flex: 0 1 auto; min-width: 0; }
.headline-domain { min-width: 0; }
.progress-wrap { width: auto; min-width: 0; max-width: 520px; padding-left: 24px; border-left: 1px solid var(--border-strong); }
.progress-label { margin: 0 0 5px; color: var(--text); font-size: 15px; font-weight: 600; text-align: left; }
.progress-wrap .progress { width: min(340px, 100%); min-width: 180px; margin-top: 8px; }
.progress-wrap .summary { line-height: 1.5; }
.result-actions { gap: 18px; }
.result-actions .category-select { position: relative; }
.result-actions .category-select::before { content: ""; position: absolute; left: -10px; top: 4px; bottom: 4px; width: 1px; background: var(--border-strong); }
.results-section-heading { margin: 0 0 16px; color: var(--text); font-size: 18px; font-weight: 650; }
.results-section-heading .section-count { color: var(--text-2); font-weight: 550; }
@media (max-width: 900px) {
  .headline-row { flex-direction: column; align-items: flex-start; gap: 14px; }
  .progress-wrap { max-width: 100%; width: 100%; padding: 0; border: 0; }
}
@media (max-width: 640px) {
  body.has-search .hero-content::before { height: 154px; }
  .results-heading .heading-main { display: block; }
  .results-heading h2 { margin: 0 0 14px; }
  .result-actions .category-select::before { display: none; }
}

/* Larger overview text while retaining the existing card scale. */
.results-heading h2 { font-size: clamp(34px, 3vw, 48px); }
.headline { padding: 7px 10px 7px 17px; }
.headline-domain { font-size: 17px; }
.headline-status, .headline-year { font-size: 13px; padding: 8px 12px; }
.progress-label { font-size: 16px; }
.progress-wrap .summary { font-size: 15px; }
.results-toolbar .view-switch button { font-size: 14px; padding-block: 9px; }
#toolbar-actions .filters button { font-size: 14px; padding: 8px 12px; }
#toolbar-actions .category-select { font-size: 14px; padding-block: 8px; }
.results-section-heading { font-size: 20px; }
.progress-title { display: flex; align-items: center; gap: 8px; }
.progress-complete-icon:not([hidden]) { display: block; flex: none; width: 19px; height: 19px; margin-bottom: 5px; }
.progress-complete-icon circle { fill: var(--ok-soft); }
.progress-complete-icon path { fill: none; stroke: var(--ok); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.row-domain { gap: 9px; }
.row-domain .row-dot { width: 9px; height: 9px; }
@media (max-width: 640px) {
  .results-heading h2 { font-size: 28px; }
  .headline-domain { font-size: 16px; }
  .progress-wrap .summary { font-size: 14px; }
  .row-domain { gap: 8px; }
  .row-domain .row-dot { width: 8px; height: 8px; }
}

/* Results header brand; the landing page keeps its own scale. */
body.has-search .inline-home > img { width: 38px; height: 38px; margin: 3px; }
body.has-search .inline-word { width: 148px; font-size: 17px; }
body.has-search .inline-word span { opacity: .9; }
body.has-search .inline-home:hover .inline-word span { opacity: 1; }
@media (max-width: 640px) {
  body.has-search .site-header { gap: 12px; }
  body.has-search .site-header .brand { font-size: 21px; }
  body.has-search .site-header .brand img { width: 38px; height: 38px; }
}

.headline { gap: 9px; }
.headline-dot { flex: none; width: 11px; height: 11px; border-radius: 50%; background: var(--unknown); }
.headline:has(.headline-status.available) .headline-dot { background: var(--ok); }
.headline:has(.headline-status.taken) .headline-dot { background: var(--taken); }
.headline:has(.headline-status.for_sale) .headline-dot { background: var(--market-gold); }
.headline:has(.headline-status.premium) .headline-dot { background: var(--premium-violet); }
@media (max-width: 640px) { .headline-dot { width: 10px; height: 10px; } }

/* Keep the domain whole and move both chips together when a phone runs out of room. */
.headline-domain { display: inline-flex; align-items: baseline; white-space: nowrap; overflow-wrap: normal; }
.headline-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.headline-extension { flex: none; white-space: nowrap; }
.headline-chips { display: flex; align-items: center; gap: 9px; flex: none; }
.headline-status, .headline-year { white-space: nowrap; }
@media (max-width: 640px) {
  .headline { column-gap: 9px; row-gap: 7px; }
  .headline-domain { flex: 0 1 auto; }
  .headline.headline-compact .headline-domain { font-size: 14px; }
  .headline.headline-stacked { border-radius: 16px; padding: 10px 12px 10px 14px; }
  .headline.headline-stacked .headline-chips { flex-basis: 100%; }
}

/* Result detail comparison panel. */
.filter-coachmark { z-index: 15; }
.scrim { z-index: 20; }
.sheet { z-index: 21; overflow-x: hidden; }
@media (min-width: 1101px) { .sheet { width: clamp(680px, 47vw, 820px); } }
@media (min-width: 641px) and (max-width: 1100px) { .sheet { width: 100%; } }
.sheet:focus { outline: none; }
.sheet-top { margin-bottom: 24px; }
.sheet-top .eyebrow { color: var(--text-2); font-size: 13px; font-weight: 700; letter-spacing: .18em; }
.sheet #close-sheet { border: 0; background: transparent; color: var(--text); font-size: 32px; line-height: 1; }
.sheet #close-sheet:focus:not(:focus-visible) { outline: none; }
.sheet-title-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 8px; }
.sheet .sheet-title-row h2 { font-size: 38px; font-weight: 750; letter-spacing: -.045em; line-height: 1.1; margin: 0; }
.sheet-status { display: inline-flex; align-items: center; gap: 7px; border: 1px solid currentColor; border-radius: 999px; padding: 7px 14px; font-size: 16px; font-weight: 650; color: #52db90; background: rgba(36, 175, 95, .12); white-space: nowrap; }
.sheet-status span { font-size: 13px; }
.sheet-status.taken { color: #fa7777; background: rgba(220, 65, 65, .12); }
.sheet-status.for_sale { color: #e7bd60; background: rgba(210, 155, 40, .12); }
.sheet-status.premium { color: #bd9aff; background: rgba(150, 100, 220, .12); }
.sheet-status.unknown { color: #aeb5c0; background: rgba(140, 150, 160, .12); }
.sheet .sheet-description { font-size: 19px; line-height: 1.4; margin: 0 0 30px; }
#sheet-body.price-list { display: grid; gap: 12px; padding: 16px 14px 14px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface-2); }
.price-table-head, .comparison-row { display: grid; grid-template-columns: minmax(0, 2.05fr) minmax(0, 1fr) minmax(0, 1fr) 100px; align-items: center; gap: 12px; }
.price-table-head { padding: 0 22px 4px; color: var(--text-2); font-size: 16px; font-weight: 650; }
.table-label { position: relative; white-space: nowrap; }
.table-info { vertical-align: middle; padding: 0; border: 0; background: transparent; color: inherit; cursor: help; }
.table-info svg { display: block; width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.table-tooltip { visibility: hidden; opacity: 0; position: absolute; z-index: 3; bottom: calc(100% + 8px); left: 0; width: 230px; padding: 10px; border: 1px solid var(--border-strong); border-radius: 8px; background: var(--surface-2); box-shadow: 0 8px 25px #0008; color: var(--text); font-size: 13px; font-weight: 400; white-space: normal; }
.table-label:hover .table-tooltip, .table-info:focus-visible + .table-tooltip { visibility: visible; opacity: 1; }
#sheet-body .price-group { border: 1px solid var(--border); border-radius: 12px; background: var(--surface-1); min-width: 0; }
#sheet-body .price-group.cheapest { border: 1.5px solid var(--accent); background: color-mix(in srgb, var(--accent) 9%, var(--surface-1)); }
.comparison-row { min-height: 82px; padding: 14px 22px; }
.comparison-registrar { display: flex; align-items: center; gap: 14px; min-width: 0; }
.comparison-registrar .reg-badge { --badge-size: 44px; width: var(--badge-size); height: var(--badge-size); border-radius: calc(var(--badge-size) * .23); }
.comparison-name { display: flex; align-items: flex-start; flex-direction: column; min-width: 0; gap: 4px; }
.comparison-name strong { font-size: 21px; overflow-wrap: anywhere; }
.lowest-chip { padding: 4px 8px; border-radius: 999px; color: var(--accent); background: color-mix(in srgb, var(--accent) 13%, transparent); font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.comparison-price { display: flex; flex-direction: column; color: var(--text-2); font-size: 16px; line-height: 1.25; }
.comparison-price strong { color: var(--text); font-size: 23px; }
.comparison-price small { font-size: 12px; }
.comparison-price.renewal { border-left: 1px solid var(--border-strong); padding-left: 20px; }
.visit-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 18px; border-radius: 10px; background: var(--accent); color: #121318; font-weight: 700; text-decoration: none; }
.visit-button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.visit-button:hover { filter: brightness(1.1); }
.visit-unavailable { color: var(--text-2); font-size: 13px; }
#sheet-body .offers-section { border: 0; padding: 0 22px 14px; }
.offer-disclosure { display: flex; width: 100%; align-items: center; gap: 12px; min-height: 44px; padding: 9px 12px; border: 1px solid var(--border-strong); border-radius: 10px; background: var(--surface-2); color: var(--text); font: inherit; font-size: 15px; font-weight: 650; text-align: left; cursor: pointer; }
.offer-disclosure .deal-icon { width: 20px; height: 20px; }
.offer-chevron { margin-left: auto; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.offer-disclosure[aria-expanded="true"] .offer-chevron { transform: rotate(225deg) translate(-2px, -2px); }
.offer-content { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .2s ease; }
.offer-disclosure[aria-expanded="true"] + .offer-content { grid-template-rows: 1fr; }
.offer-inner { min-height: 0; overflow: hidden; }
.offer-line:first-child { padding-top: 14px; }
.sheet-footer { border-top: 1px solid var(--border); margin: 36px 0 0; padding: 18px 8px 0; color: var(--text-2); font-size: 16px; }
@media (min-width: 641px) and (max-width: 1100px) { .comparison-row { padding: 14px; gap: 8px; } .price-table-head { padding-left: 14px; padding-right: 14px; gap: 8px; } .comparison-registrar { gap: 12px; } .comparison-name strong { font-size: 18px; } .comparison-price strong { font-size: 20px; } .comparison-price.renewal { padding-left: 10px; } .visit-button { padding: 0 12px; } }
@media (max-width: 640px) {
  .sheet .sheet-title-row h2 { font-size: 28px; }
  .sheet-status { font-size: 14px; padding: 5px 10px; }
  .sheet .sheet-description { font-size: 17px; margin-bottom: 20px; }
  #sheet-body.price-list { padding: 0; border: 0; background: transparent; }
  .price-table-head { display: none; }
  .comparison-row { grid-template-columns: 1fr 1fr; gap: 14px; padding: 16px; }
  .comparison-registrar, .visit-button, .visit-unavailable { grid-column: 1 / -1; }
  .comparison-registrar .reg-badge { --badge-size: 38px; }
  .comparison-name strong { font-size: 19px; }
  .comparison-price.renewal { padding-left: 16px; }
  #sheet-body .offers-section { padding: 0 16px 16px; }
  .sheet-footer { margin-top: 24px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .offer-content, .offer-chevron { transition: none; } }

/* Structured offer details shared by the tooltip and comparison panel. */
.registrar-tooltip.deal-tooltip { width: 300px; max-width: calc(100vw - 16px); box-sizing: border-box; padding: 14px; border-radius: 12px; line-height: 1.35; }
.deal-card-header, .deal-registrar, .deal-tag, .deal-hero { display: flex; align-items: center; }
.deal-card-header { justify-content: space-between; gap: 10px; }
.deal-registrar { min-width: 0; gap: 8px; }
.deal-registrar .reg-badge { width: 24px; height: 24px; flex: 0 0 24px; }
.deal-tag { gap: 4px; color: var(--accent); font-size: 11px; font-weight: 700; }
.deal-tag .deal-icon { width: 14px; height: 14px; }
.deal-hero { gap: 7px; margin: 12px 0 8px; color: var(--text-2); font-size: 12px; }
.deal-hero strong { color: var(--text); font-size: 22px; line-height: 1.2; }
.deal-detail-list { margin: 0; font-size: 12px; }
.deal-detail-row { display: grid; grid-template-columns: minmax(95px, 40%) minmax(0, 1fr); gap: 8px; padding: 7px 0; border-top: 1px solid var(--border-strong); }
.deal-detail-row dt { color: var(--text-2); }
.deal-detail-row dd { margin: 0; overflow-wrap: anywhere; }
.deal-detail-row .deal-muted, .deal-footnote { color: var(--text-2); }
.deal-footnote { margin: 8px 0 0; font-size: 11px; line-height: 1.4; }
.offer-line .deal-hero { margin: 0; }
.offer-line .offer-link { display: block; width: fit-content; }
.offer-line .offer-link:hover .deal-hero strong { text-decoration: underline; }
.offer-structured { min-width: 0; }

/* Keep domain names readable and comparison prices concise. */
/* One line always: fitRowDomain() scales long names down; past its floor only the name ellipsizes. */
.row-domain .domain { flex: 1 1 auto; flex-wrap: nowrap; overflow: hidden; white-space: nowrap; }
.row-domain .row-name { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; overflow-wrap: normal; }
.row-domain .domain strong { flex: none; white-space: nowrap; }
.tile-extension { white-space: normal; overflow-wrap: anywhere; text-overflow: clip; }
.comparison-freshness { color: var(--text-2); font-size: 11px; line-height: 1.3; }
.comparison-amount { display: flex; align-items: baseline; gap: 5px; white-space: nowrap; }
.comparison-amount s { font-size: 12px; color: var(--text-2); }
.comparison-detail { white-space: nowrap; }
@media (min-width: 641px) {
  .price-table-head, .comparison-row { grid-template-columns: minmax(0, 2fr) minmax(140px, 1.2fr) minmax(0, 1fr) 100px; }
}
.result-row.has-deal .row-deal { grid-column: 1 / -1; }
@media (min-width: 1101px) {
  .price-table-head, .comparison-row { grid-template-columns: minmax(0, 1fr) 140px 108px 82px; gap: 8px; }
  .price-table-head { padding-left: 14px; padding-right: 14px; }
  .comparison-row { padding: 14px; }
  .comparison-registrar { gap: 9px; }
  .comparison-registrar .reg-badge { --badge-size: 36px; flex: none; }
  .comparison-name strong { font-size: 18px; }
  .lowest-chip { font-size: 10px; padding: 4px; }
  .comparison-price strong { font-size: 20px; }
  .comparison-price.renewal { padding-left: 10px; }
  .visit-button { padding: 0 10px; }
}

/* Taken-domain details. */
.taken-visit { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 28px; border-radius: 10px; background: var(--accent); color: #121318; font-weight: 700; text-decoration: none; }
.taken-visit:hover { filter: brightness(1.1); }
.taken-visit:focus-visible, .preview-button:focus-visible, .preview-thumbnail:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.taken-divider { height: 1px; margin: 24px 0; background: var(--border-strong); }
.website-preview { display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 1fr); align-items: center; gap: 24px; padding: 20px; border: 1px solid var(--border-strong); border-radius: 14px; background: var(--surface-1); }
.preview-thumbnail { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 16 / 10; min-width: 0; border-radius: 10px; overflow: hidden; background: var(--surface-3); color: var(--text-3); }
.preview-thumbnail svg { width: 58px; height: 58px; }
.preview-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.preview-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; }
.preview-title { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 19px; }
.preview-note { color: var(--text-2); font-size: 15px; }
.preview-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.preview-thumbnail.preview-loading { background: linear-gradient(100deg, var(--surface-3) 25%, var(--surface-2) 45%, var(--surface-3) 65%); background-size: 200% 100%; animation: preview-shimmer 1.5s linear infinite; }
@keyframes preview-shimmer { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .preview-thumbnail.preview-loading { animation: none; background: var(--surface-3); } }
.preview-button { text-decoration: none; display: inline-flex; align-items: center; gap: 8px; min-height: 42px; margin-top: 4px; padding: 0 14px; border: 1px solid var(--border-strong); border-radius: 8px; background: transparent; color: var(--text); font: inherit; font-size: 14px; cursor: pointer; }
.preview-button:hover:not(:disabled) { background: var(--surface-2); }
.preview-button:disabled { opacity: .7; cursor: not-allowed; }
.preview-spinner { width: 14px; height: 14px; border: 2px solid var(--border-strong); border-top-color: var(--accent); border-radius: 50%; animation: preview-spin .8s linear infinite; }
@keyframes preview-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .preview-spinner { animation-duration: 2s; } }
.taken-registration h3 { margin: 0; font-size: 22px; }
.taken-registration .details { margin-top: 10px; }
.taken-registration .details dl div { padding: 13px 0; }
.taken-registration .details dd { font-weight: 400; letter-spacing: normal; overflow-wrap: anywhere; }
.taken-footer { margin: 20px 0 0; color: var(--text-2); font-size: 14px; font-style: italic; }
@media (max-width: 640px) {
  .taken-visit { display: flex; width: 100%; box-sizing: border-box; }
  .website-preview { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 16px; }
  .taken-registration .details .nameservers-row { flex-direction: row; }
  .taken-registration .details .nameservers-row dd { text-align: right; }
}

.view-switch svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
