/* ScoutMyDomain — one family (Bricolage Grotesque), one accent per brand, the domain name is the hero. */
:root {
  --bg: #f6f7f5; --surface: #ffffff; --surface-2: #eef0ec; --ink: #14181d; --muted: #626b75; --line: rgba(20, 24, 29, .09);
  --accent: #0f9d8a; --accent-ink: #ffffff; --accent-soft: rgba(15, 157, 138, .12); --accent-glow: rgba(15, 157, 138, .28);
  --ok: #178a5a; --ok-soft: rgba(23, 138, 90, .12); --warn: #b8720a; --warn-soft: rgba(184, 114, 10, .14); --bad: #c2413a; --bad-soft: rgba(194, 65, 58, .12);
  --r-xl: 28px; --r-lg: 20px; --r-md: 14px; --r-sm: 10px;
  --shadow-soft: 0 24px 60px -30px rgba(20, 24, 29, .25), 0 2px 6px -2px rgba(20, 24, 29, .08);
  --ease: cubic-bezier(.32, .72, 0, 1);
  --font: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0f1214; --surface: #171b1f; --surface-2: #1f242a; --ink: #edf0f2; --muted: #9aa3ac; --line: rgba(255, 255, 255, .09);
          --shadow-soft: 0 30px 70px -30px rgba(0, 0, 0, .7), 0 1px 0 rgba(255, 255, 255, .04) inset; }
}
[data-brand="scoutmydomain"]  { --accent: #0f9d8a; --accent-soft: rgba(15, 157, 138, .12); --accent-glow: rgba(15, 157, 138, .30); }
[data-brand="scoutmydomains"] { --accent: #5b5bd6; --accent-soft: rgba(91, 91, 214, .12); --accent-glow: rgba(91, 91, 214, .30); }
[data-brand="freshdomainhunt"]{ --accent: #e0662f; --accent-soft: rgba(224, 102, 47, .13); --accent-glow: rgba(224, 102, 47, .30); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.55; font-variation-settings: "opsz" 14; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: -20% -10% auto -10%; height: 70vh; pointer-events: none; z-index: 0;
  background: radial-gradient(60% 60% at 70% 20%, var(--accent-glow), transparent 70%); opacity: .55; filter: blur(20px); }
main, header, footer { position: relative; z-index: 1; }
[hidden] { display: none !important; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.label { display: block; font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.label small { color: var(--muted); font-size: 12px; }
.muted { color: var(--muted); }
.mono { font-variant-numeric: tabular-nums; letter-spacing: .01em; }

/* ---------- header ---------- */
.top { max-width: 72rem; margin: 0 auto; padding: 22px var(--gutter) 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 650; font-size: 18px; letter-spacing: -.01em; }
.logo-mark { width: 26px; height: 26px; border-radius: 8px; background: var(--ink); position: relative; flex: none; }
.logo-mark::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 2.5px solid var(--accent); }
.logo-mark::after { content: ""; position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); top: 4px; right: 4px; }
.modes { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); }
.mode { border: 0; background: transparent; white-space: nowrap; padding: 8px 16px; border-radius: 999px; cursor: pointer; color: var(--muted); font-weight: 550; transition: background .5s var(--ease), color .5s var(--ease), transform .3s var(--ease); }
.mode[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(20, 24, 29, .08); }
.mode:active { transform: scale(.97); }

/* ---------- hero ---------- */
main { max-width: 72rem; margin: 0 auto; padding: 0 var(--gutter) 80px; }
.hero { padding: clamp(40px, 7vw, 88px) 0 28px; max-width: 42rem; }
h1 { margin: 0 0 16px; font-size: clamp(38px, 6.2vw, 74px); line-height: .98; letter-spacing: -.035em; font-weight: 720; font-variation-settings: "opsz" 96; text-wrap: balance; }
.sub { margin: 0; font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 36rem; line-height: 1.5; }

/* ---------- panels (double bezel) ---------- */
.panel { padding: 8px; border-radius: var(--r-xl); background: var(--surface-2); border: 1px solid var(--line); box-shadow: var(--shadow-soft); margin-top: 12px; }
.panel > form, .panel > .table-wrap { background: var(--surface); border-radius: calc(var(--r-xl) - 8px); padding: clamp(18px, 3vw, 28px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6); }
@media (prefers-color-scheme: dark) { .panel > form, .panel > .table-wrap { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); } }
.panel > .table-wrap { margin-top: 8px; padding: 6px; }
.field { display: block; }
.field textarea, .field input, .field select { width: 100%; border: 1px solid var(--line); background: var(--bg); border-radius: var(--r-md); padding: 14px 16px; line-height: 1.4; transition: border-color .4s var(--ease), box-shadow .4s var(--ease); }
.field textarea { resize: vertical; min-height: 84px; font-size: 18px; font-variation-settings: "opsz" 18; }
.field textarea:focus, .field input:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.row { display: flex; flex-wrap: wrap; gap: 14px 24px; margin-top: 18px; align-items: flex-end; }
.row-end { justify-content: flex-start; }
.row-end .primary { margin-left: auto; }
.field.small { flex: 1 1 140px; max-width: 220px; }
.language-field { width: min(100%, 360px); }
fieldset.chips { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset.chips legend { padding: 0; }
.chip { display: inline-flex; margin: 0 8px 8px 0; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 500; font-size: 15px;
  transition: background .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease), transform .25s var(--ease); }
.chip input:checked + span { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.chip:active span { transform: scale(.96); }
.more-tlds { display: inline; }
.more-tlds summary { display: inline-block; cursor: pointer; color: var(--muted); padding: 8px 6px; font-size: 15px; list-style: none; }
.more-tlds summary::-webkit-details-marker { display: none; }
.more-tlds[open] summary { display: block; }
.primary { border: 0; cursor: pointer; background: var(--ink); color: var(--bg); padding: 15px 22px; border-radius: 999px; font-weight: 600; font-size: 16px; letter-spacing: -.005em;
  transition: transform .3s var(--ease), background .4s var(--ease), opacity .3s; }
.primary:hover { background: var(--accent); color: var(--accent-ink); }
.primary:active { transform: scale(.97); }
.primary:disabled { opacity: .6; cursor: progress; }
.ghost { border: 1px solid var(--line); background: var(--surface); color: var(--ink); padding: 9px 14px; border-radius: 999px; cursor: pointer; text-decoration: none; font-size: 14px; font-weight: 500; transition: background .4s var(--ease), transform .25s var(--ease); }
.ghost:hover { background: var(--surface-2); }
.ghost:active { transform: scale(.97); }
.ghost:disabled { opacity: .5; cursor: default; }

/* ---------- progress ---------- */
.progress { margin: 40px 0 8px; }
.bar { height: 4px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.bar-fill { height: 100%; width: 0; border-radius: inherit; background: var(--accent); transition: width .9s var(--ease); }
.progress.error .bar-fill { background: var(--bad); width: 100% !important; }
.progress.finished .bar { opacity: .45; }
.progress-msg { margin: 12px 0 0; color: var(--muted); font-size: 15px; }
.progress.error .progress-msg { color: var(--bad); }
.stages { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; padding: 0; margin: 10px 0 0; font-size: 14px; color: var(--muted); }
.stages li { position: relative; padding-left: 16px; transition: color .5s var(--ease); }
.stages li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: background .5s var(--ease), transform .5s var(--ease); }
.stages li.active { color: var(--ink); }
.stages li.active::before { background: var(--accent); transform: scale(1.35); }
.stages li.done { color: var(--ink); }
.stages li.done::before { background: var(--ok); }

/* ---------- hero content ---------- */
.hero-aside { margin-top: 28px; }
.how { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-width: 34rem; }
.how li { display: grid; grid-template-columns: 4.2rem 1fr; gap: 12px; align-items: baseline; font-size: 15px; color: var(--muted); line-height: 1.45; }
.how-k { font-weight: 650; color: var(--ink); letter-spacing: .02em; font-size: 13px; padding: 3px 0; border-top: 2px solid var(--accent); }
.finds { margin-top: 30px; max-width: 34rem; }
.finds-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.finds h2 { margin: 0; font-size: 15px; font-weight: 650; letter-spacing: -.01em; }
.finds-foot { font-size: 13px; color: var(--muted); }
.finds-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 18px; }
.finds-list li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 14px; min-width: 0; }
.find-domain { font-weight: 600; letter-spacing: -.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.find-meta { color: var(--muted); font-size: 12px; white-space: nowrap; }
.other-tld { display: inline-flex; align-items: center; gap: 8px; margin: 0 8px 8px 0; flex-wrap: wrap; }
.other-tld input { width: 11rem; border: 1px solid var(--line); background: var(--bg); border-radius: 999px; padding: 8px 14px; font-size: 15px; }
.other-tld input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.other-msg { font-size: 13px; color: var(--muted); }
.chip.custom span { border-style: dashed; }

/* ---------- results ---------- */
.results { margin-top: 28px; }
.results-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.results h2 { margin: 0; font-size: clamp(24px, 3vw, 32px); letter-spacing: -.025em; font-weight: 680; }
.actions { display: flex; gap: 8px; }
.notes { list-style: none; margin: 0 0 14px; padding: 0; color: var(--warn); font-size: 14px; }
.notes li { padding: 8px 12px; border-radius: var(--r-sm); background: var(--warn-soft); margin-bottom: 6px; }
.score-legend { margin: -6px 0 14px; font-size: 14px; color: var(--muted); line-height: 1.5; max-width: 62rem; }
.linkish { border: 0; background: none; padding: 0; font: inherit; color: var(--accent); cursor: pointer; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--accent) 40%, transparent); text-underline-offset: 3px; }
.linkish:hover { text-decoration-color: var(--accent); }
.score-explain { margin: 0 0 18px; padding: clamp(16px, 2.4vw, 22px) clamp(18px, 2.6vw, 26px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); animation: settle .6s var(--ease) both; }
.criteria { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 14px 28px; margin: 0; }
.criteria div { display: flex; flex-direction: column; gap: 4px; }
.criteria dt { font-weight: 650; font-size: 14px; color: var(--ink); padding-top: 6px; border-top: 2px solid var(--accent); }
.criteria dt small { color: var(--accent); font-weight: 600; margin-left: 6px; font-variant-numeric: tabular-nums; }
.criteria dd { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.5; }
.criteria-foot { margin: 16px 0 0; font-size: 13px; color: var(--muted); line-height: 1.55; }
.ranked { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.rank-row { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr) 9rem auto; gap: 8px 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); animation: settle .7s var(--ease) both; }
.rank-row:nth-child(2) { animation-delay: .05s } .rank-row:nth-child(3) { animation-delay: .1s } .rank-row:nth-child(4) { animation-delay: .15s } .rank-row:nth-child(5) { animation-delay: .2s }
.rank-row:nth-child(6) { animation-delay: .25s } .rank-row:nth-child(7) { animation-delay: .3s } .rank-row:nth-child(8) { animation-delay: .35s } .rank-row:nth-child(n+9) { animation-delay: .4s }
.rank { font-variant-numeric: tabular-nums; color: var(--muted); font-weight: 600; font-size: 15px; }
.rank-main { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.rank-main .domain { font-size: clamp(22px, 2.4vw, 28px); }
.rank-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: 14px; color: var(--muted); }
.rank-score { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.score-wrap { position: relative; }
.card .score-wrap { display: inline-flex; }
.score-pop { position: absolute; z-index: 5; top: calc(100% + 8px); left: 0; width: 15.5rem; padding: 12px 14px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-soft);
  opacity: 0; transform: translateY(-4px); pointer-events: none; transition: opacity .3s var(--ease), transform .35s var(--ease); }
.score-wrap:hover .score-pop, .score-wrap:focus-within .score-pop, .score-wrap.open .score-pop { opacity: 1; transform: none; pointer-events: auto; }
.rank-row:has(.score-wrap:hover), .rank-row:has(.score-wrap:focus-within), .rank-row:has(.score-wrap.open),
.card:has(.score-wrap:hover), .card:has(.score-wrap:focus-within), .card:has(.score-wrap.open) { position: relative; z-index: 6; }
.card .score-pop { left: 50%; translate: -50% 0; text-align: left; }
.score-rows { margin: 0; display: grid; gap: 7px; }
.score-rows div { display: grid; grid-template-columns: 6.2rem 1fr; gap: 10px; align-items: center; }
.score-rows dt { font-size: 12px; color: var(--ink); white-space: nowrap; }
.score-rows dt small { color: var(--muted); margin-left: 4px; font-variant-numeric: tabular-nums; }
.score-rows dd { margin: 0; display: flex; align-items: center; gap: 8px; }
.score-rows b { font-size: 12px; font-weight: 650; color: var(--accent); min-width: 1.2rem; text-align: right; font-variant-numeric: tabular-nums; }
.mini-bar { flex: 1; height: 3px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.mini-bar i { display: block; height: 100%; background: var(--accent); border-radius: inherit; }
.score-pen { margin: 9px 0 0; font-size: 12px; color: var(--warn); }
.score-foot { margin: 9px 0 0; padding-top: 8px; border-top: 1px solid var(--line); font-size: 11.5px; color: var(--muted); line-height: 1.45; }
.score { cursor: default; border: 0; font: inherit; }
.score-wrap .score { cursor: help; }
.rank-score.pending { color: var(--muted); font-size: 13px; }
.score-bar { display: block; width: 9rem; height: 4px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.score-bar i { display: block; height: 100%; background: var(--accent); border-radius: inherit; transition: width .9s var(--ease); }
.rank-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.rank-row.premium .domain::after { content: ""; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: 14px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 18px 16px; box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 10px 30px -22px rgba(20, 24, 29, .35);
  display: flex; flex-direction: column; gap: 12px; animation: settle .8s var(--ease) both; }
@media (prefers-color-scheme: dark) { .card { box-shadow: 0 1px 0 rgba(255, 255, 255, .05) inset; } }
.card:nth-child(2) { animation-delay: .06s } .card:nth-child(3) { animation-delay: .12s } .card:nth-child(4) { animation-delay: .18s } .card:nth-child(5) { animation-delay: .24s }
.card:nth-child(6) { animation-delay: .30s } .card:nth-child(7) { animation-delay: .36s } .card:nth-child(8) { animation-delay: .42s } .card:nth-child(n+9) { animation-delay: .48s }
@keyframes settle { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
.card-head { display: flex; align-items: center; gap: 10px; }
.domain { font-size: clamp(20px, 2.2vw, 24px); font-weight: 650; letter-spacing: -.025em; text-decoration: none; overflow-wrap: break-word; min-width: 0; flex: 1 1 auto; font-variation-settings: "opsz" 40; }
.domain.long { font-size: 18px; letter-spacing: -.02em; }
.domain.xlong { font-size: 15px; overflow-wrap: anywhere; }
.domain:hover { color: var(--accent); }
.score { flex: none; min-width: 38px; height: 28px; padding: 0 9px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-weight: 650; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; font-variant-numeric: tabular-nums; }
.icon-btn { flex: none; border: 1px solid var(--line); background: transparent; color: var(--muted); border-radius: 999px; padding: 5px 10px; font-size: 12px; cursor: pointer; transition: background .3s var(--ease), color .3s; }
.icon-btn:hover { background: var(--surface-2); color: var(--ink); }
.card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 14px; color: var(--muted); }
.price strong { color: var(--ink); font-weight: 600; }
.tag { display: inline-block; padding: 3px 9px; border-radius: 999px; background: var(--surface-2); font-size: 12px; color: var(--muted); }
.tag.warn { background: var(--warn-soft); color: var(--warn); }
.card.premium { border-color: color-mix(in srgb, var(--warn) 35%, var(--line)); }
.buy { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.buy-link { text-decoration: none; font-size: 13px; font-weight: 550; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); background: var(--surface); transition: background .35s var(--ease), color .35s var(--ease), transform .25s var(--ease); }
.buy-link.first { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.buy-link:hover { background: var(--ink); color: var(--bg); }
.buy-link:active { transform: scale(.96); }
.cards.compact .card { padding: 14px 16px; gap: 8px; }
.cards.compact .domain { font-size: 18px; }
.empty { grid-column: 1 / -1; padding: 28px; border-radius: var(--r-lg); border: 1px dashed var(--line); color: var(--muted); text-align: center; }
.group-title { margin: 30px 0 12px; font-size: 18px; font-weight: 620; letter-spacing: -.015em; }
#taken-toggle { margin-top: 22px; }
.taken { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.taken li { padding: 5px 10px; border-radius: 999px; background: var(--surface-2); color: var(--muted); font-size: 13px; text-decoration: line-through; text-decoration-color: rgba(98, 107, 117, .5); }

/* ---------- bulk table ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.results-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.results-table th { text-align: left; font-weight: 550; color: var(--muted); font-size: 13px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.results-table td { padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; white-space: nowrap; }
.results-table tbody tr:nth-child(even) { background: color-mix(in srgb, var(--surface-2) 55%, transparent); }
.results-table tr:last-child td { border-bottom: 0; }
.results-table .status { font-weight: 600; }
.st-available .status { color: var(--ok); } .st-for_sale .status { color: var(--warn); } .st-taken .status { color: var(--muted); } .st-unknown .status { color: var(--muted); font-style: italic; } .st-error td { color: var(--bad); }
.results-table .buy { margin: 0; }

/* ---------- footer ---------- */
.foot { max-width: 72rem; margin: 0 auto; padding: 30px var(--gutter) 48px; color: var(--muted); font-size: 13px; border-top: 1px solid var(--line); }
.foot p { margin: 0 0 8px; max-width: 60rem; }
.sisters a { margin-right: 12px; }
.admin-link { float: right; margin-right: 0; opacity: .75; }

/* ---------- responsive & motion ---------- */
@media (min-width: 1000px) {
  /* editorial split: headline left, scouting console right; results span both columns */
  main.account-main { display: block; }   /* account pages are a single centred column, not the split */
  main:not(.account-main) { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: 56px; align-items: start; }
  .hero { grid-column: 1; grid-row: 1; max-width: none; padding-bottom: 0; }
  .hero-aside { grid-column: 1; grid-row: 2; }
  #search-panel, #bulk-panel { grid-column: 2; grid-row: 1 / span 2; margin-top: clamp(40px, 7vw, 88px); }
  #progress, #results { grid-column: 1 / -1; }
  .hero.hero-bulk h1 { font-size: clamp(38px, 4.8vw, 60px); }
}
@media (max-width: 760px) {
  .rank-row { grid-template-columns: 2rem minmax(0, 1fr); }
  .rank-score { grid-column: 2; flex-direction: row; align-items: center; }
  .score-wrap:hover .score-pop { opacity: 0; pointer-events: none; }
  .score-wrap.open .score-pop { opacity: 1; pointer-events: auto; }
  .rank-actions { grid-column: 2; justify-content: flex-start; }
  .finds-list { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .top { padding-top: 16px; }
  .mode { padding: 7px 12px; font-size: 14px; }
  .row-end .primary { width: 100%; margin-left: 0; }
  .field.small { max-width: none; flex-basis: 100%; }
  .actions { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* keyword field, anchor strip and match tags */
.hint { font-style: normal; font-size: 12px; color: var(--accent); background: var(--accent-soft); padding: 2px 8px; border-radius: 999px; margin-left: 6px; }
.field-note { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); }
.anchor-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 16px; font-size: 13px; }
.anchor-label { color: var(--muted); margin-right: 4px; }
.anchor-word { padding: 3px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-weight: 550; }
.tag.match { background: var(--ok-soft); color: var(--ok); }
.ranked.looser .rank-row { opacity: .85; }
.ranked.looser .domain { font-size: clamp(19px, 2vw, 22px); }

/* daily limit notice */
.limit-notice { margin: 32px 0 8px; padding: clamp(20px, 3vw, 28px); border-radius: var(--r-xl); background: var(--surface); border: 1px solid color-mix(in srgb, var(--warn) 35%, var(--line)); box-shadow: var(--shadow-soft); max-width: 42rem; }
.limit-notice h2 { margin: 0 0 8px; font-size: clamp(20px, 2.4vw, 26px); letter-spacing: -.02em; font-weight: 680; }
.limit-notice p { margin: 0 0 6px; color: var(--muted); line-height: 1.5; }
.limit-extra { color: var(--ink) !important; }
.limit-link { color: var(--accent); font-weight: 600; }

/* account pages and header links */
.account-nav { display: flex; align-items: center; gap: 14px; font-size: 14px; }
.account-nav a { color: var(--muted); text-decoration: none; font-weight: 550; }
.account-nav a:hover { color: var(--ink); }
.account-nav a.cta { color: var(--accent-ink); background: var(--accent); padding: 7px 14px; border-radius: 999px; }
.account-main { max-width: 72rem; margin: 0 auto; padding: 0 var(--gutter) 64px; }
.account-card { max-width: 30rem; margin: clamp(32px, 6vw, 72px) auto 0; padding: clamp(22px, 3vw, 32px); border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.account-card.wide { max-width: 44rem; }
.account-card h1 { font-size: clamp(24px, 3vw, 30px); margin: 0 0 10px; letter-spacing: -.025em; }
.account-card h2 { font-size: 16px; margin: 26px 0 10px; font-weight: 650; }
.account-lead { color: var(--muted); margin: 0 0 20px; line-height: 1.5; }
.account-input { width: 100%; border: 1px solid var(--line); background: var(--bg); border-radius: var(--r-md); padding: 12px 14px; font: inherit; font-size: 16px; color: var(--ink); }
.account-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.account-card .field { margin-bottom: 16px; }
.account-card .primary { width: 100%; }
.account-alt { margin: 18px 0 0; font-size: 14px; color: var(--muted); }
.or { display: flex; align-items: center; gap: 12px; margin: 14px 0; font-size: 13px; color: var(--muted); }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.ghost.wide { display: block; width: 100%; text-align: center; padding: 13px 18px; font-size: 15px; }
.account-card .field-note { margin-top: 8px; text-align: center; }
.account-alt a { color: var(--accent); }
.alert { background: rgba(194, 65, 58, .12); color: var(--bad); padding: 10px 14px; border-radius: var(--r-sm); font-size: 14px; margin: 0 0 16px; }
.welcome { background: var(--ok-soft); color: var(--ok); padding: 10px 14px; border-radius: var(--r-sm); font-size: 14px; }
.usage { margin: 18px 0 8px; }
.usage-bar { height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.usage-fill { display: block; height: 100%; width: 0; background: var(--accent); border-radius: inherit; transition: width .8s var(--ease); }
.usage p { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.account-list { list-style: none; margin: 0; padding: 0; }
.account-list li { display: flex; flex-direction: column; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.account-list a { color: var(--ink); text-decoration: none; font-weight: 600; }
.account-list a:hover { color: var(--accent); }
.account-list .muted { font-size: 13px; }
@media (max-width: 640px) { .account-nav { order: 3; width: 100%; justify-content: flex-start; } }

/* ---------- expiring & dropped ---------- */
.drops-top { margin-top: 0; }
.drops-q { flex: 1 1 18rem; }
#d-mode { margin-top: 16px; }
.drops-more { margin-top: 6px; }
.drops-more summary { cursor: pointer; color: var(--muted); font-size: 15px; padding: 6px 0; }
.check { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--ink); cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); }
.drops-results { margin-top: 8px; background: var(--surface); border-radius: calc(var(--r-xl) - 8px); padding: clamp(14px, 2.6vw, 24px); }
.drops-summary { margin: 0 0 10px; font-size: 14px; color: var(--muted); }
.drops-pager { display: flex; gap: 8px; justify-content: flex-end; margin-top: 14px; }
.drops-note { margin: 14px 0 0; font-size: 13px; color: var(--muted); line-height: 1.5; }
.drop-row { grid-template-columns: 2.4rem minmax(0, 1fr) auto auto; }
.drop-detail { font-size: 14px; color: var(--muted); }
.tag.state { font-weight: 600; }
.tag.k-available { background: var(--ok-soft); color: var(--ok); }
.tag.k-dropped { background: var(--accent-soft); color: var(--accent); }
.tag.k-pending { background: var(--warn-soft); color: var(--warn); }
.tag.k-expiring { background: var(--surface-2); color: var(--ink); }
a.tag.listing { text-decoration: none; }
a.tag.listing:hover { color: var(--ink); }
@media (max-width: 640px) {
  .drop-row { grid-template-columns: 2rem minmax(0, 1fr); }
  .drop-row .rank-score, .drop-row .rank-actions { grid-column: 2; justify-content: flex-start; }
  .modes { flex-wrap: wrap; justify-content: center; }
}

.drop-history { margin-top: 10px; color: var(--muted); font-size: 13px; }
.drop-history summary { cursor: pointer; width: fit-content; }
.drop-history dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; margin: 10px 0; }
.drop-history dt, .drop-history dd { margin: 0; }
.drop-history p { max-width: 48ch; margin: 8px 0; }
