:root {
  color-scheme: light dark;
  --bg: #f5f4ef; --panel: #ffffff; --ink: #15161a; --muted: #666a75; --line: #dfddd5; --soft: #ebe9e1;
  --accent: #e4572e; --accent-ink: #ffffff; --star: #d99a00; --dot: rgba(0,0,0,.07);
  --word: #1f9d6b; --letters: #3b7ddd; --digits: #a45ad1; --numeric: #d98a1c;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0f12; --panel: #17191e; --ink: #eceef2; --muted: #8b90a0; --line: #272a33; --soft: #1e2128;
    --accent: #ff6b3d; --accent-ink: #160f0c; --star: #f2c230; --dot: rgba(255,255,255,.055);
    --word: #3ecf8e; --letters: #6ea8ff; --digits: #c58bf0; --numeric: #f0b04a;
  }
}
:root { --len2: var(--numeric); --len3: var(--letters); --len4: var(--word); }  /* dot colour by name length */
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 14px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 20px; }
.mono { font-family: ui-monospace, "Cascadia Code", "SF Mono", Menlo, Consolas, monospace; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
a { color: inherit; }

/* top bar */
.top { display: flex; align-items: center; gap: 12px; padding: 14px 0; }
.brand { font-weight: 700; font-size: 16px; text-decoration: none; }
.brand b { color: var(--accent); }
.pill { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; color: var(--muted); background: var(--panel); }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--word); }
.picks { padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); font-size: 12px; }
.picks b { color: var(--star); }
.picks[aria-pressed=true] { border-color: var(--star); }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 20px; align-items: stretch; margin-top: 6px;
        border: 1px solid var(--line); border-radius: 18px; padding: 28px;
        background: radial-gradient(var(--dot) 1px, transparent 1.5px) 0 0 / 18px 18px, var(--panel); }
h1 { margin: 0 0 10px; font-size: clamp(28px, 3.6vw, 46px); line-height: 1.05; letter-spacing: -.025em; }
h1 em { font-style: normal; color: var(--accent); }
.lede { margin: 0; color: var(--muted); font-size: 15px; max-width: 52ch; }
.stats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.stat { flex: 1 1 110px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.stat b { display: block; font-size: 22px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: 12px; }

.fresh { border: 1px solid var(--line); border-radius: 14px; background: var(--bg); padding: 14px; display: flex; flex-direction: column; }
.fresh-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.fresh-head h2 { margin: 0; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ghost { border: 1px solid var(--line); background: var(--panel); border-radius: 8px; padding: 4px 10px; font-size: 12px; }
.ghost:hover { border-color: var(--accent); }
.fresh-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; flex: 1; }
.fresh-grid a { display: flex; align-items: center; justify-content: center; min-height: 54px; padding: 6px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel);
                text-decoration: none; font-size: clamp(15px, 1.6vw, 20px); font-weight: 600; overflow-wrap: anywhere; text-align: center; }
.fresh-grid a:hover { border-color: var(--accent); transform: translateY(-1px); }
.fresh-grid i, .name i { font-style: normal; color: var(--accent); }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 12px 0 0; padding: 0; list-style: none; }
.steps li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.steps .n { flex: none; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 13px; }
.steps b { display: block; }
.steps span { color: var(--muted); font-size: 13px; }

/* browser */
.browse { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 20px; margin-top: 20px; align-items: start; }
.filters { position: sticky; top: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); padding: 14px; max-height: calc(100vh - 24px); display: flex; flex-direction: column; }
.filters > summary { display: none; }
.filters-body { display: flex; flex-direction: column; gap: 14px; min-height: 0; }
.filters h3 { margin: 0 0 6px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: flex; justify-content: space-between; }
.filters h3 button { border: 0; background: none; padding: 0; color: var(--accent); font-size: 11px; text-transform: none; letter-spacing: 0; }
input[type=search] { width: 100%; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.seg { display: flex; flex-wrap: wrap; gap: 5px; }
.seg button { border: 1px solid var(--line); background: var(--bg); border-radius: 8px; padding: 4px 9px; font-size: 12px; display: inline-flex; align-items: center; gap: 6px; }
.seg button[aria-pressed=true] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.kdot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.tld-box { min-height: 0; display: flex; flex-direction: column; }
.tlds { overflow-y: auto; min-height: 90px; margin: 0 -6px; padding: 0 2px; scrollbar-width: thin; }
.tlds button { display: flex; width: 100%; justify-content: space-between; align-items: center; border: 0; background: none; padding: 4px 8px; border-radius: 7px; font-size: 13px; text-align: left; }
.tlds button:hover { background: var(--soft); }
.tlds button[aria-pressed=true] { background: var(--accent); color: var(--accent-ink); }
.tlds small { opacity: .65; font-variant-numeric: tabular-nums; }

.results-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.count { color: var(--muted); font-size: 13px; }
.count b { color: var(--ink); }
select { margin-left: auto; padding: 6px 10px; border: 1px solid var(--line); border-radius: 9px; background: var(--panel); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.card { position: relative; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.card:hover { border-color: var(--accent); }
.card a { display: block; padding: 12px 12px 10px; text-decoration: none; }
.name { font-size: 19px; font-weight: 600; letter-spacing: -.01em; overflow-wrap: anywhere; padding-right: 20px; }
.meta { display: flex; align-items: center; gap: 6px; margin-top: 6px; color: var(--muted); font-size: 11.5px; }
.go { display: block; margin-top: 10px; padding-top: 8px; border-top: 1px dashed var(--line); font-size: 12px; font-weight: 600; color: var(--accent); }
.go { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; }
.tag { font-size: 9.5px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.star { position: absolute; top: 6px; right: 6px; border: 0; background: none; font-size: 16px; line-height: 1; color: var(--line); padding: 5px; }
.star:hover { color: var(--muted); }
.star[aria-pressed=true] { color: var(--star); }
.more { display: block; margin: 18px auto 0; padding: 9px 22px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.more:hover { border-color: var(--accent); }
[hidden] { display: none !important; }
.empty { grid-column: 1 / -1; padding: 48px 0; text-align: center; color: var(--muted); }

footer { margin: 40px 0 28px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12.5px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 8px 28px; }
footer p { margin: 0; }
footer strong { color: var(--ink); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding: 20px; }
  .steps { grid-template-columns: 1fr; }
  .browse { grid-template-columns: 1fr; }
  .filters { position: static; max-height: none; }
  .filters > summary { display: flex; justify-content: space-between; font-weight: 600; cursor: pointer; list-style: none; }
  .filters > summary::after { content: "+"; color: var(--muted); }
  .filters[open] > summary { margin-bottom: 12px; }
  .filters[open] > summary::after { content: "–"; }
  .tlds { max-height: 220px; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 16px; }
  .pill { display: none; }
  .picks { margin-left: auto; }
  .fresh-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---- motion ---- */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.top, .hero, .log, .steps li, .browse { animation: rise .6s cubic-bezier(.16, 1, .3, 1) both; }
.hero { animation-delay: .06s; } .log { animation-delay: .16s; } .browse { animation-delay: .34s; }
.steps li:nth-child(1) { animation-delay: .2s; } .steps li:nth-child(2) { animation-delay: .26s; } .steps li:nth-child(3) { animation-delay: .32s; }

/* hero: the dots under the cursor light up */
.hero { position: relative; overflow: hidden; }
.hero > * { position: relative; z-index: 1; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
               background: radial-gradient(var(--accent) 1.3px, transparent 1.8px) 0 0 / 18px 18px;
               -webkit-mask-image: radial-gradient(240px circle at var(--hx, -999px) var(--hy, -999px), #000, transparent 72%);
               mask-image: radial-gradient(240px circle at var(--hx, -999px) var(--hy, -999px), #000, transparent 72%); }

/* headline: the underline is drawn by hand */
h1 em { position: relative; white-space: nowrap; }
h1 em svg { position: absolute; left: -3%; bottom: -.2em; width: 106%; height: .34em; overflow: visible; }
h1 em path { fill: none; stroke: var(--accent); stroke-width: 2.6; stroke-linecap: round; vector-effect: non-scaling-stroke;
             stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .9s .55s cubic-bezier(.65, 0, .2, 1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* stats: digits roll like an odometer */
.odo span { font-size: inherit; color: inherit; }
.odo .d { display: inline-block; height: 1.2em; overflow: hidden; vertical-align: bottom; }
.odo .d i { display: block; white-space: pre; line-height: 1.2em; font-style: normal; transition: transform 1.4s cubic-bezier(.16, 1, .3, 1); }

/* lucky dip: letters drop in one by one */
.fresh-grid a { overflow: hidden; transition: border-color .15s, transform .15s; }
.ch { display: inline-block; animation: drop .6s cubic-bezier(.2, 1.5, .4, 1) both; animation-delay: calc(var(--t) * 45ms + var(--i) * 30ms); }
.ch.x { color: var(--accent); }
@keyframes drop { from { transform: translateY(-130%) rotate(-8deg); opacity: 0; } }

/* lucky spin: a slot machine in the site's own materials */
.spin-opts { display: flex; gap: 6px; }
.ghost[aria-pressed=true] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.reels { display: flex; justify-content: center; gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); transition: border-color .3s, box-shadow .3s; }
.reels.win { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.reel { flex: 1 1 0; max-width: 78px; height: clamp(56px, 6vw, 76px); display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--bg);
        font-size: clamp(26px, 2.8vw, 38px); font-weight: 600; box-shadow: inset 0 9px 10px -9px rgba(0,0,0,.45), inset 0 -9px 10px -9px rgba(0,0,0,.45); transition: opacity .2s; }
.reel.ext { flex: 1.7 1 0; max-width: 140px; background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-size: clamp(16px, 1.7vw, 23px); }
.reel.off { opacity: .28; }
.reel span { display: block; }
.reel.spin span { animation: whirr .09s linear infinite; }
.reel.land span { animation: land .32s cubic-bezier(.2, 1.7, .4, 1); }
@keyframes whirr { from { transform: translateY(-6px); filter: blur(1.3px); } to { transform: translateY(6px); filter: blur(1.3px); } }
@keyframes land { from { transform: translateY(-26px); } }
.spin-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 10px 0; }
.verdict { margin: 0; font-size: 13px; color: var(--muted); }
.verdict a { color: var(--ink); font-weight: 700; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.spin { flex: none; padding: 9px 26px; border: 0; border-radius: 10px; background: var(--accent); color: var(--accent-ink); font-weight: 700; letter-spacing: .02em;
        box-shadow: 0 4px 0 color-mix(in srgb, var(--accent) 62%, #000); transition: transform .08s, box-shadow .08s; }
.spin:active, .spin:disabled { transform: translateY(3px); box-shadow: 0 1px 0 color-mix(in srgb, var(--accent) 62%, #000); }
.spin:disabled { cursor: wait; }
.fresh-grid a { min-height: 46px; font-size: clamp(14px, 1.4vw, 18px); }

/* scan log: one line, rolling */
.log { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); font-size: 12.5px; color: var(--muted); overflow: hidden; }
.log .blk { width: 7px; height: 13px; background: var(--accent); animation: blink 1s steps(1) infinite; flex: none; }
@keyframes blink { 50% { opacity: 0; } }
.log .lbl { text-transform: uppercase; letter-spacing: .1em; font-size: 10.5px; flex: none; }
.roll { position: relative; flex: 1; height: 1.5em; overflow: hidden; }
.roll div { position: absolute; inset: 0; white-space: nowrap; animation: rollin .45s cubic-bezier(.16, 1, .3, 1) both; }
.roll div.out { animation: rollout .45s cubic-bezier(.16, 1, .3, 1) both; }
.roll b { color: var(--ink); font-weight: 600; } .roll i { font-style: normal; color: var(--accent); } .roll em { font-style: normal; color: var(--word); }
@keyframes rollin { from { transform: translateY(110%); opacity: 0; } }
@keyframes rollout { to { transform: translateY(-110%); opacity: 0; } }

/* extension list: a bar behind each row shows its share */
.tlds button { position: relative; overflow: hidden; }
.tlds button > * { position: relative; }
.tlds button::before { content: ""; position: absolute; inset: 2px auto 2px 0; width: 100%; border-radius: 6px; background: var(--soft);
                       transform: scaleX(0); transform-origin: left; transition: transform 1s cubic-bezier(.16, 1, .3, 1); }
.tlds.ready button::before { transform: scaleX(var(--w, 0)); }
.tlds button[aria-pressed=true]::before { opacity: 0; }

/* cards: staggered entrance, a light that follows the cursor, an arrow that leans in */
.card.in { animation: cardin .42s cubic-bezier(.16, 1, .3, 1) both; animation-delay: calc(var(--i) * 14ms); }
@keyframes cardin { from { opacity: 0; transform: translateY(12px) scale(.97); } }
.card { transition: transform .18s cubic-bezier(.16, 1, .3, 1), border-color .18s, box-shadow .18s; overflow: hidden; }
.card::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .2s;
                background: radial-gradient(180px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%); }
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px -14px color-mix(in srgb, var(--accent) 70%, transparent); }
.card:hover::before { opacity: 1; }
.card a, .card .star { position: relative; }
.card .star { position: absolute; }
.name i { display: inline-block; transition: transform .2s cubic-bezier(.3, 1.6, .5, 1); }
.card:hover .name i { transform: translateX(2px); }
.go .arr { display: inline-block; transition: transform .2s cubic-bezier(.3, 1.6, .5, 1); }
.card:hover .go .arr { transform: translateX(5px); }
.kdot { transition: transform .2s; }
.card:hover .kdot { transform: scale(1.5); }
.star { transition: transform .15s, color .15s; }
.star:active { transform: scale(.8); }
.star[aria-pressed=true] { animation: pop .4s cubic-bezier(.3, 1.8, .5, 1); }
@keyframes pop { 0% { transform: scale(.4) rotate(-40deg); } }

/* ---- filter bar: full width above the results, sticks while you scroll ---- */
.brand { font-size: 23px; letter-spacing: -.01em; }
.browse { display: block; }
.fbar { position: sticky; top: 0; z-index: 6; display: flex; flex-direction: column; gap: 10px; margin: 0 -20px; padding: 12px 20px; background: var(--bg); border-bottom: 1px solid var(--line); }
.frow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.find { position: relative; flex: 1 1 300px; display: block; }
.find svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.find input { padding: 12px 14px 12px 42px; font-size: 16px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--panel); transition: border-color .15s, box-shadow .15s; }
.find input:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 20%, transparent); }
.fbar select { margin: 0; padding: 12px 12px; border-radius: 12px; }
#share { padding: 11px 14px; }
#reset { padding: 11px 14px; border-color: var(--accent); color: var(--accent); }
.groups { gap: 8px 24px; }
.fg { display: flex; align-items: center; gap: 8px; }
.fl { flex: none; font-size: 11px; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.seg { flex-wrap: nowrap; }
.seg button { padding: 6px 13px; font-size: 13px; border-radius: 999px; background: var(--panel); white-space: nowrap; }
.seg button:hover { border-color: var(--muted); }
.seg button[aria-pressed=true] { background: var(--panel); color: var(--ink); border-color: var(--ink); }
.seg button[aria-pressed=true]:not([data-value=""]) { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.exts { flex-wrap: nowrap; align-items: flex-start; }
.exts .fl { padding-top: 8px; }
.tlds { flex: 1; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; min-height: 0; max-height: 32px; overflow: hidden; }
.tlds.open { max-height: none; }
.tlds button { width: auto; display: inline-flex; gap: 7px; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); font-size: 13px; }
.tlds button::before { display: none; }
.tlds button:hover { background: var(--panel); border-color: var(--muted); }
.tlds button[aria-pressed=true] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
#more-tlds { flex: none; padding: 6px 12px; }
.results-head { margin: 14px 0 10px; }
.grid { grid-template-columns: repeat(auto-fill, minmax(172px, 1fr)); }
@media (max-width: 900px), (max-height: 720px) { .fbar { position: static; } }
@media (max-width: 900px) { .groups { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -20px; padding: 0 20px; } .fbar select { flex: 1; } }
@media (max-width: 520px) { .fbar { margin: 0 -16px; padding: 12px 16px; } .groups { margin: 0 -16px; padding: 0 16px; } .brand { font-size: 20px; } .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.seg button, .picks, .more, .ghost { transition: background .15s, color .15s, border-color .15s, transform .1s; }
.seg button:active, .picks:active, .more:active, .ghost:active { transform: scale(.95); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } h1 em path { stroke-dashoffset: 0; } .tlds button::before { transform: scaleX(var(--w, 0)); } }

/* ---- plain extension pages, written by the export step for search engines ---- */
.plain h1 { margin-top: 26px; font-size: clamp(26px, 4vw, 40px); max-width: 22ch; }
.plain .lede { max-width: 70ch; margin-bottom: 22px; }
.plain .lede a, .plain .others a { color: var(--accent); }
.plain h2 { margin: 34px 0 10px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.names { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.names li { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.names a { text-decoration: none; font-weight: 600; font-size: 16px; }
.names a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.names i { font-style: normal; color: var(--accent); }
.names span { color: var(--muted); font-size: 12px; }
.others { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; }
.crumbs { margin-top: 4px; color: var(--muted); font-size: 12.5px; }
.crumbs a { color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin: 0 0 16px; }
.facts div { padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.facts dt { color: var(--muted); font-size: 12px; }
.facts dd { margin: 2px 0 0; font-size: 17px; font-weight: 600; }
.facts a { color: var(--accent); }
.about { max-width: 76ch; color: var(--muted); margin: 0 0 6px; }
.others span { color: var(--muted); font-size: 12.5px; margin-right: 10px; }
footer .browse-links { grid-column: 1 / -1; line-height: 1.9; }
footer .browse-links a { margin-right: 6px; }
.qa { max-width: 80ch; margin: 0 0 14px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.qa h3 { margin: 0 0 4px; font-size: 15.5px; }
.qa p { margin: 0; color: var(--muted); }
.scroll { overflow-x: auto; }
.stats { border-collapse: collapse; width: 100%; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.stats th, .stats td { padding: 7px 12px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
.stats th:first-child, .stats td:first-child { text-align: left; }
.stats th { color: var(--muted); font-weight: 500; font-size: 12px; }
.stats a { color: var(--accent); text-decoration: none; font-weight: 600; }
.sortbox { padding: 5px 6px 5px 12px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--panel); }
.sortbox .seg button { background: var(--bg); padding: 7px 13px; }
@media (max-width: 900px) { .sortbox { flex: 1 1 100%; overflow-x: auto; scrollbar-width: none; } }
/* footer: stacked blocks, not narrow columns */
footer { display: block; }
footer p { margin: 0 0 10px; max-width: 110ch; }
footer .browse-links { max-width: none; }
/* lucky spin: one big button under the reels, and the reels spin on click too */
.spin-row { flex-direction: column-reverse; align-items: stretch; gap: 8px; }
.spin { padding: 14px; font-size: 17px; border-radius: 12px; }
.verdict { text-align: center; min-height: 1.5em; }
.reels { cursor: pointer; }
.reels:hover { border-color: var(--accent); }
