@font-face { font-family: "Outfit"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/static/fonts/outfit-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/static/fonts/outfit-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
/* Design: "Sticky" (chosen by Lucas 26 Sep 2026). Canary yellow, sticky-note pastels, thick outlines, hard shadows,
   dotted whiteboard behind the tool. Inspired by the Miro DESIGN.md analysis on getdesign.md; no logos, names or
   proprietary fonts. */
:root {
  --bg: #fafafa; --dots: #d9dce3; --surface: #ffffff; --ink: #1c1c1e; --muted: #555a6a; --line: #e0e2e8;
  --edge: #1c1c1e; --hard: #1c1c1e; --yellow: #ffd02f; --yellow-ink: #1c1c1e; --note: #fff4c4;
  --tint-1: #c3faf5; --tint-2: #ffd8f4; --tint-3: #ffe6cd; --tint-4: #fff4c4;
  --primary: #1c1c1e; --primary-ink: #ffffff; --link: #3451e8; --field: #ffffff;
  --radius: 20px; --font: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --slices: #ffd02f, #4262ff, #ff9999, #0fbcb0, #ff8a3d, #b18cff, #1c1c1e, #7ed957, #ff5d8f, #187574, #fcb900, #5b76fe;
  --c-yes: #0fbcb0; --c-no: #ff6b6b; --c-maybe: #ffd02f;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #141519; --dots: #2a2c34; --surface: #1d1e24; --ink: #f2f2f5; --muted: #a4a8b6; --line: #33353f;
    --edge: #f2f2f5; --hard: #000000; --note: #2e2914;
    --tint-1: #10302d; --tint-2: #35182e; --tint-3: #3a2717; --tint-4: #2e2914;
    --primary: #ffd02f; --primary-ink: #1c1c1e; --link: #8ea2ff; --field: #141519;
    --slices: #ffd02f, #4262ff, #ff9999, #0fbcb0, #ff8a3d, #b18cff, #e8e8ee, #7ed957, #ff5d8f, #187574, #fcb900, #5b76fe;
    --note: #23242b; --hard: #000000;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #141519; --dots: #2a2c34; --surface: #1d1e24; --ink: #f2f2f5; --muted: #a4a8b6; --line: #33353f;
  --edge: #f2f2f5; --hard: #000000; --note: #2e2914;
  --tint-1: #10302d; --tint-2: #35182e; --tint-3: #3a2717; --tint-4: #2e2914;
  --primary: #ffd02f; --primary-ink: #1c1c1e; --link: #8ea2ff; --field: #141519;
  --slices: #ffd02f, #4262ff, #ff9999, #0fbcb0, #ff8a3d, #b18cff, #e8e8ee, #7ed957, #ff5d8f, #187574, #fcb900, #5b76fe;
  --note: #23242b; --hard: #000000;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--font); }
a { color: var(--link); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
code { font-size: .92em; background: var(--note); padding: 1px 6px; border-radius: 6px; }

/* header */
.top { background: var(--yellow); color: var(--yellow-ink); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 58px; }
.logo { flex-shrink: 0; white-space: nowrap; display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.2rem; color: var(--yellow-ink); text-decoration: none; }
.logo svg { width: 30px; height: 30px; }
.top-nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.top-nav a { white-space: nowrap; padding: 6px 12px; border-radius: 999px; color: var(--yellow-ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.top-nav a:hover, .top-nav a[aria-current] { background: #1c1c1e; color: var(--yellow); }

/* tool */
.tool { background-image: radial-gradient(var(--dots) 1px, transparent 1px); background-size: 22px 22px; padding: 22px 0 32px; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 6px; }
.lead { margin: 0 0 18px; color: var(--muted); max-width: 70ch; }
.tool-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; }
@media (max-width: 860px) { .tool-grid { grid-template-columns: minmax(0, 1fr); } }
.stage, .panel { border: 2px solid var(--edge); border-radius: var(--radius); box-shadow: 6px 6px 0 var(--hard); }

.stage { position: relative; background: var(--surface); padding: 20px 16px 14px; display: flex; flex-direction: column; align-items: center; }
.stage:fullscreen { justify-content: center; border-radius: 0; border: 0; box-shadow: none; padding: 24px; background-color: var(--bg); background-image: radial-gradient(var(--dots) 1px, transparent 1px); background-size: 22px 22px; }
.stage:fullscreen .wheel-wrap { width: min(88vh, 92vw); max-width: none; }
.pseudo-full .stage { position: fixed; inset: 0; z-index: 50; border-radius: 0; justify-content: center; }
.pseudo-full .stage .wheel-wrap { width: min(86vh, 94vw); max-width: none; }

.question { width: 100%; max-width: 560px; margin-bottom: 16px; }
input[type="text"], textarea { width: 100%; font: inherit; color: var(--ink); background: var(--field); border: 2px solid var(--edge); border-radius: 12px; }
.question input { font-size: 1.05rem; padding: 11px 14px; }

.wheel-wrap { position: relative; width: 100%; max-width: min(560px, max(280px, calc(100svh - 330px))); aspect-ratio: 1; }
#wheel { display: block; cursor: pointer; touch-action: manipulation; }
.pointer { position: absolute; left: 50%; top: -6px; width: 34px; height: 40px; margin-left: -17px; z-index: 2; transform-origin: 50% 20%; filter: drop-shadow(0 0 1.5px #fff) drop-shadow(0 0 1.5px #fff) drop-shadow(0 2px 2px rgba(0,0,0,.3)); }
.pointer::before { content: ""; position: absolute; inset: 0; background: #1c1c1e; clip-path: polygon(0 0, 100% 0, 50% 100%); }
.pointer.flick { animation: flick .12s ease-out; }
@keyframes flick { 40% { transform: rotate(-14deg); } }
.hub { position: absolute; left: 50%; top: 50%; width: 22%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: 4px solid #1c1c1e; background: var(--yellow); color: #1c1c1e; font: 800 clamp(.95rem, 2.6vw, 1.35rem)/1 var(--font); text-transform: uppercase; letter-spacing: .04em; cursor: pointer; box-shadow: 0 4px 0 #1c1c1e; transition: transform .15s; }
.hub:hover { transform: translate(-50%, -50%) scale(1.05); }
.hub:active { transform: translate(-50%, -48%) scale(.97); box-shadow: 0 1px 0 #1c1c1e; }
.is-spinning .hub { pointer-events: none; }

.tally { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; justify-content: center; }
.tally span { background: #1c1c1e; color: var(--yellow); font-weight: 700; padding: 4px 12px; border-radius: 999px; }

.stage-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; align-items: center; margin-top: 14px; }
.icon-btn { width: 42px; height: 42px; border-radius: 12px; border: 2px solid var(--edge); background: var(--surface); color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.icon-btn:hover { background: var(--yellow); color: #1c1c1e; }
.icon-btn svg { width: 20px; height: 20px; fill: currentColor; }
#mute .off, #mute[aria-pressed="true"] .on { display: none; }
#mute[aria-pressed="true"] .off { display: inline; }
.note { font-size: .95rem; font-weight: 700; }

/* result */
.result { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(20,21,25,.35); border-radius: inherit; z-index: 5; padding: 16px; }
.result[hidden] { display: none; }
.result-card { background: var(--surface); border: 2px solid var(--edge); border-radius: 20px; box-shadow: 6px 6px 0 var(--hard); padding: 24px 22px 20px; text-align: center; width: min(420px, 100%); animation: pop .25s ease-out; }
@keyframes pop { from { transform: scale(.85) rotate(-2deg); opacity: 0; } }
.result-q { margin: 0 0 4px; color: var(--muted); font-size: .95rem; overflow-wrap: anywhere; }
.result-text { margin: 0; font-size: clamp(2.2rem, 7vw, 3.4rem); font-weight: 800; line-height: 1.15; overflow-wrap: anywhere; -webkit-text-stroke: 2px #1c1c1e; paint-order: stroke fill; text-shadow: 2px 2px 0 #1c1c1e; }
.result-tally { margin: 6px 0 0; color: var(--muted); }
.result-tally:empty { display: none; }
.result-actions { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.btn { font: 700 1rem var(--font); padding: 9px 18px; border-radius: 999px; border: 2px solid var(--edge); background: var(--surface); color: var(--ink); cursor: pointer; }
.btn.primary { background: var(--primary); border-color: var(--primary); color: var(--primary-ink); }
.btn.ghost { border-color: transparent; color: var(--muted); }
.btn[hidden] { display: none; }

/* panel */
.panel { background: var(--note); padding: 16px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.panel-head label, .panel-head h2 { font-weight: 800; font-size: 1.05rem; margin: 0; }
.mini-btns { display: flex; gap: 4px; }
.mini { font: 700 .85rem var(--font); padding: 4px 10px; border-radius: 999px; border: 2px solid var(--edge); background: var(--surface); color: var(--ink); cursor: pointer; }
.mini:hover { background: var(--yellow); color: #1c1c1e; }
textarea { font: 1rem/1.5 var(--font); padding: 10px 12px; resize: vertical; min-height: 180px; }
input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid var(--link); outline-offset: 1px; }
.hint { font-size: .88rem; color: var(--muted); margin: 6px 0 12px; }
.presets { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.presets button { font: 700 .92rem var(--font); padding: 7px 13px; border-radius: 999px; border: 2px solid var(--edge); background: var(--surface); color: var(--ink); cursor: pointer; }
.presets button[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: var(--primary-ink); }
.settings { display: grid; gap: 8px; border-top: 2px dashed var(--line); padding-top: 12px; }
.switch { display: flex; gap: 10px; align-items: center; cursor: pointer; font-size: .98rem; }
.switch input { width: 19px; height: 19px; accent-color: var(--ink); }
.history { border-top: 2px dashed var(--line); margin-top: 12px; padding-top: 12px; }
.history ol { margin: 0; padding-left: 28px; max-height: 180px; overflow: auto; color: var(--muted); }

/* content */
.content { max-width: 800px; padding-top: 36px; padding-bottom: 12px; }
.content .block { background: var(--surface); border: 2px solid var(--edge); border-radius: 20px; padding: 24px 28px; margin: 18px 0; }
.content .block:nth-of-type(4n+1) { background: var(--tint-1); }
.content .block:nth-of-type(4n+2) { background: var(--tint-2); }
.content .block:nth-of-type(4n+3) { background: var(--tint-3); }
.content .block:nth-of-type(4n+4) { background: var(--tint-4); }
.content h2 { font-size: 1.5rem; line-height: 1.2; margin: 0 0 10px; }
.content h3 { font-size: 1.1rem; margin: 18px 0 4px; }
.content .block > :last-child { margin-bottom: 0; }
.content ul, .content ol { padding-left: 22px; }
.content .block code { background: var(--surface); }
.faq h2 { font-size: 1.5rem; margin: 32px 0 10px; }
.faq details { background: var(--surface); border: 2px solid var(--edge); border-radius: 14px; padding: 12px 16px; margin: 10px 0; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq details p { margin: 8px 0 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; list-style: none; }
.chips li { background: var(--surface); border: 2px solid var(--edge); border-radius: 999px; padding: 2px 12px; font-size: .95rem; }

.related { padding-top: 12px; padding-bottom: 44px; }
.related h2 { font-size: 1.5rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.card { display: block; background: var(--surface); border: 2px solid var(--edge); border-radius: 16px; padding: 14px 16px; text-decoration: none; color: var(--ink); transition: transform .12s, box-shadow .12s; }
.card:hover { background: var(--yellow); color: #1c1c1e; transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--hard); }
.card:hover span { color: #1c1c1e; }
.card strong { display: block; font-size: 1.05rem; }
.card span { color: var(--muted); font-size: .92rem; }

.foot { background: #1c1c1e; color: #f2f2f5; padding: 26px 0; font-size: .95rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 8px; }
.foot-links a { color: #f2f2f5; text-decoration: none; }
.foot-links a:hover { color: var(--yellow); }
.foot .muted { color: #a4a8b6; }

#fx { position: fixed; inset: 0; pointer-events: none; z-index: 60; width: 100vw; height: 100vh; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; }
.hub:focus-visible { outline: 3px solid #1c1c1e; outline-offset: 2px; box-shadow: 0 0 0 7px #fff; }

/* number range */
.range { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; align-items: end; margin-bottom: 14px; }
.range label { font-weight: 700; font-size: .9rem; display: grid; gap: 4px; }
.range input { width: 100%; font: inherit; padding: 8px 10px; color: var(--ink); background: var(--field); border: 2px solid var(--edge); border-radius: 12px; }
.range .btn { grid-column: 1 / -1; }
.range .hint { grid-column: 1 / -1; margin: 0; }

/* all wheels page */
.hub-h { font-size: 1.4rem; margin: 28px 0 12px; }

/* spin the bottle */
.spin-alt { display: none; }
.mode-bottle .spin-alt { display: inline-block; }
.mode-bottle .hub, .mode-bottle .pointer { display: none; }

/* team splitter */
.teams-box { border-top: 2px dashed var(--line); padding-top: 12px; margin-top: 4px; }
.teams-row { display: flex; gap: 8px; align-items: center; margin-top: 6px; }
.teams-row input { width: 70px; font: inherit; padding: 7px 10px; color: var(--ink); background: var(--field); border: 2px solid var(--edge); border-radius: 12px; }
.teams-row .btn { margin-left: auto; }
.teams-out { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; margin-top: 12px; }
.teams-out[hidden] { display: none; }
.team { background: var(--surface); border: 2px solid var(--edge); border-radius: 14px; padding: 8px 12px; }
.team ol { margin: 4px 0 0; padding-left: 20px; }

/* title above the wheel */
.wheel-title { margin: 0 0 12px; font-size: clamp(1.3rem, 3.4vw, 2rem); font-weight: 800; text-align: center; overflow-wrap: anywhere; }
.stage:fullscreen .wheel-title { font-size: clamp(1.8rem, 4vw, 3rem); }

/* settings rows */
.field-row { display: grid; gap: 4px; font-size: .95rem; font-weight: 700; }
.field-row select, .field-row input, .teams-row input[type="text"] { font: 500 1rem var(--font); padding: 8px 10px; color: var(--ink); background: var(--field); border: 2px solid var(--edge); border-radius: 12px; width: 100%; }
.teams-row input[type="text"] { flex: 1; }

/* collapsible extras */
.more { border-top: 2px dashed var(--line); margin-top: 12px; padding-top: 10px; }
.more summary { font-weight: 800; cursor: pointer; }
.more .btn { margin-top: 4px; }
.odds { margin-top: 10px; }
.odds-row { display: grid; grid-template-columns: minmax(0, 1fr) 90px auto; gap: 8px; align-items: center; font-size: .9rem; margin: 3px 0; }
.odds-l { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.odds-bar { height: 12px; border: 2px solid var(--edge); border-radius: 6px; overflow: hidden; background: var(--surface); }
.odds-bar i { display: block; height: 100%; background: var(--yellow); }
.odds-n { font-variant-numeric: tabular-nums; }
.mine { list-style: none; padding: 0; margin: 10px 0 0; }
.mine li { display: flex; gap: 6px; align-items: center; margin: 4px 0; }
.linkish { background: none; border: 0; padding: 0; font: 700 1rem var(--font); color: var(--link); cursor: pointer; text-align: left; }
.x { margin-left: auto; background: none; border: 0; font-size: 1.2rem; line-height: 1; cursor: pointer; color: var(--muted); }

/* combo */
.combo-btn { width: 100%; margin-bottom: 12px; }
.combo { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; text-align: left; margin: 12px 0 0; color: var(--ink); font-size: 1.05rem; }
.combo dt { font-weight: 800; }
.combo dd { margin: 0; }

/* coin flip + dice (shared) */
.big-result { font-size: clamp(2rem, 6vw, 3.2rem); font-weight: 800; margin: 18px 0 0; min-height: 1.2em; text-align: center; -webkit-text-stroke: 2px #1c1c1e; paint-order: stroke fill; text-shadow: 3px 3px 0 #1c1c1e; color: var(--yellow); }
.big-btn { font-size: 1.15rem; padding: 12px 34px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 14px 0 4px; }
.stats div { background: var(--surface); border: 2px solid var(--edge); border-radius: 14px; padding: 8px 12px; }
.stats .wide { grid-column: 1 / -1; }
.stats span { display: block; font-size: .85rem; color: var(--muted); font-weight: 600; }
.stats strong { font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.teams-row select { font: 600 1rem var(--font); padding: 8px 10px; color: var(--ink); background: var(--field); border: 2px solid var(--edge); border-radius: 12px; }

.coins { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; align-items: center; min-height: 260px; padding-top: 40px; perspective: 900px; }
.coins.n1 .coin { width: min(220px, 55vw); }
.coins.n2 .coin, .coins.n3 .coin { width: 140px; }
.coins.n4 .coin, .coins.n5 .coin { width: 96px; }
.coin { position: relative; aspect-ratio: 1; border: 0; padding: 0; background: none; cursor: pointer; transform-style: preserve-3d; }
.coin .face { position: absolute; inset: 0; border-radius: 50%; display: grid; place-items: center; font: 800 clamp(2rem, 7vw, 4.5rem)/1 var(--font); color: #1c1c1e; border: 4px solid #1c1c1e; backface-visibility: hidden; box-shadow: inset 0 0 0 8px rgba(255,255,255,.35), inset 0 0 0 12px rgba(0,0,0,.12); }
.coin .heads { background: radial-gradient(circle at 35% 30%, #ffe680, #ffd02f 55%, #e0a800); }
.coin .tails { background: radial-gradient(circle at 35% 30%, #e6e9f0, #c0c4cc 55%, #8d939f); transform: rotateX(180deg); }
.coins.n4 .coin .face, .coins.n5 .coin .face { font-size: 2rem; border-width: 3px; }

.dice { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; align-items: center; min-height: 240px; padding: 20px 0; }
.die { width: 96px; aspect-ratio: 1; border: 3px solid #1c1c1e; border-radius: 18px; background: #fff; box-shadow: 4px 4px 0 #1c1c1e; display: grid; place-items: center; position: relative; cursor: pointer; transition: transform .06s; padding: 0; }
.die small { position: absolute; bottom: 4px; right: 8px; font: 700 .7rem var(--font); color: rgba(28,28,30,.8); }
.die .num { font: 800 2.4rem/1 var(--font); color: #1c1c1e; }
.die.d4 { background: #ff9999; } .die.d8 { background: #0fbcb0; } .die.d10 { background: #b18cff; } .die.d12 { background: #ff8a3d; } .die.d20 { background: #4262ff; } .die.d100 { background: #7ed957; }
.die.d20 .num, .die.d20 small { color: #fff; }
.die.d100 .num { font-size: 2rem; }
.pips { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); width: 70%; height: 70%; }
.pips i { display: block; margin: auto; width: 62%; aspect-ratio: 1; border-radius: 50%; }
.pips i.on { background: #1c1c1e; }
@media (max-width: 500px) { .die { width: 76px; } .die .num { font-size: 1.9rem; } }

/* countdown, elimination, result picture */
.countdown { position: absolute; inset: 0; display: grid; place-items: center; font: 800 clamp(5rem, 22vw, 12rem)/1 var(--font); color: var(--yellow); -webkit-text-stroke: 4px #1c1c1e; paint-order: stroke fill; text-shadow: 6px 6px 0 #1c1c1e; z-index: 4; pointer-events: none; }
.countdown[hidden] { display: none; }
.countdown.pulse { animation: cd .7s ease-out; }
@keyframes cd { from { transform: scale(1.6); opacity: 0; } 30% { opacity: 1; } }
.elim-note { margin: 12px 0 0; font-weight: 800; font-size: 1.1rem; background: #1c1c1e; color: var(--yellow); padding: 6px 14px; border-radius: 999px; }
.elim-note[hidden] { display: none; }
.result-img { display: block; width: 120px; height: 120px; object-fit: cover; margin: 0 auto 10px; border-radius: 50%; border: 3px solid #1c1c1e; }
.result-img[hidden] { display: none; }

/* picture hub + background */
.hub.has-img { background-size: cover; background-position: center; color: transparent; }
.stage.has-bg { background-size: cover; background-position: center; }

/* panel extras */
.wrap-btns { flex-wrap: wrap; margin-top: 8px; }
.file-btn { display: inline-block; cursor: pointer; text-align: center; }
.more .field-row { margin: 10px 0 4px; }
.more input[type="file"] { font: .85rem var(--font); }
.more input[type="range"] { accent-color: var(--ink); }
.pic-list { list-style: none; padding: 0; margin: 10px 0 0; max-height: 260px; overflow: auto; }
.pic-list li { display: flex; gap: 8px; align-items: center; margin: 4px 0; }
.pic-btn { width: 36px; height: 36px; flex: none; border: 2px dashed var(--edge); border-radius: 50%; display: grid; place-items: center; cursor: pointer; overflow: hidden; background: var(--surface); font-weight: 800; }
.pic-btn img { width: 100%; height: 100%; object-fit: cover; }
.pic-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .92rem; }

/* answer ball */
.ball { width: min(340px, 78vw); aspect-ratio: 1; border-radius: 50%; border: 4px solid #1c1c1e; cursor: pointer; margin: 6px 0 4px; padding: 0; display: grid; place-items: center;
  background: radial-gradient(circle at 32% 28%, #6b6b75 0, #2a2a30 22%, #111114 60%, #000 100%); box-shadow: 8px 8px 0 #1c1c1e; }
.ball-window { width: 58%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, #1d2a6b, #0b1033 70%); border: 3px solid #0b0b0f; display: grid; place-items: center; box-shadow: inset 0 0 18px rgba(0,0,0,.8); }
.ball-answer { width: 86%; aspect-ratio: 1.1; clip-path: polygon(50% 100%, 0 0, 100% 0); background: #3451e8; color: #fff; font: 800 clamp(.62rem, 1.9vw, .88rem)/1.12 var(--font); display: flex; align-items: flex-start; justify-content: center; text-align: center; padding: 11% 24% 0; opacity: 0; transform: scale(.7) translateY(10px); transition: opacity .6s, transform .6s; text-transform: uppercase; }
.ball-answer.show { opacity: 1; transform: none; }
.ball-answer:empty { background: transparent; }
.multi-out { margin-top: 10px; background: var(--surface); border: 2px solid var(--edge); border-radius: 14px; padding: 8px 12px; font-weight: 700; }
.multi-out ol { margin: 0; padding-left: 22px; }
.multi-out[hidden], #embed-box[hidden] { display: none; }
#embed-code { min-height: 110px; font: .8rem/1.4 ui-monospace, Menlo, monospace; margin: 8px 0 6px; }

/* embed */
.embed { background: transparent; }
.embed .tool { background: none; padding: 8px 0; }
.embed .tool .lead, .embed .badges, .embed .panel, .embed .content, .embed #share, .embed .top, .embed .foot { display: none; }
.embed .tool h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.embed .tool-grid { grid-template-columns: 1fr; }
.embed .stage { box-shadow: none; }
.embed-credit { text-align: center; font-size: .85rem; margin: 6px 0 10px; }

/* bingo */
.bingo-ball { width: 170px; aspect-ratio: 1; border-radius: 50%; border: 4px solid #1c1c1e; box-shadow: 6px 6px 0 #1c1c1e; display: grid; place-items: center; font: 800 2.6rem/1 var(--font); color: #1c1c1e; margin: 6px 0 12px;
  background: radial-gradient(circle at 50% 50%, #fff 0 44%, var(--yellow) 45%); }
.bingo-ball:empty::before { content: "?"; }
.bingo-ball[data-letter="B"] { background: radial-gradient(circle, #fff 0 44%, #4262ff 45%); }
.bingo-ball[data-letter="I"] { background: radial-gradient(circle, #fff 0 44%, #ff5d8f 45%); }
.bingo-ball[data-letter="N"] { background: radial-gradient(circle, #fff 0 44%, #0fbcb0 45%); }
.bingo-ball[data-letter="G"] { background: radial-gradient(circle, #fff 0 44%, #ff8a3d 45%); }
.bingo-ball[data-letter="O"] { background: radial-gradient(circle, #fff 0 44%, #b18cff 45%); }
.bingo-ball.pop { animation: pop .35s ease-out; }
.prev { display: flex; gap: 6px; min-height: 34px; flex-wrap: wrap; justify-content: center; }
.prev span { border: 2px solid var(--edge); border-radius: 999px; padding: 2px 10px; font-weight: 700; background: var(--surface); }
.board { width: 100%; margin-top: 16px; }
.brow { display: grid; grid-template-columns: 28px repeat(15, minmax(0, 1fr)); gap: 2px; margin-bottom: 2px; }
.bl { display: grid; place-items: center; font-weight: 800; background: #1c1c1e; color: var(--yellow); border-radius: 8px; }
.bgrid90 { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 2px; }
.bn { display: grid; place-items: center; aspect-ratio: 1; border: 1.5px solid var(--line); border-radius: 8px; font: 700 clamp(.6rem, 1.6vw, .95rem) var(--font); color: var(--muted); }
.bn.on { background: var(--yellow); color: #1c1c1e; border-color: #1c1c1e; }
.bn.last { background: #1c1c1e; color: var(--yellow); }
button:disabled { opacity: .5; cursor: default; }
.prose { padding-top: 8px; padding-bottom: 48px; }
.prose h2 { margin-top: 28px; }

/* builder */
.is-builder .opts-plain { display: none; }
.builder { display: grid; gap: 8px; }
.rows { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 8px; max-height: 520px; overflow: auto; counter-reset: row; }
.row { background: var(--surface); border: 2px solid var(--edge); border-radius: 14px; padding: 8px; display: grid; gap: 6px; }
.row-top { display: flex; gap: 6px; align-items: center; }
.row input[type="text"] { font: 600 .95rem var(--font); padding: 6px 8px; border-width: 1.5px; border-radius: 10px; min-width: 0; }
.row .r-t { flex: 1; }
.row .r-d { font-weight: 400; font-size: .88rem; }
.r-col { width: 30px; height: 30px; padding: 0; border: 2px solid var(--edge); border-radius: 8px; background: none; cursor: pointer; flex: none; }
.row-btns { display: flex; }
.row-btns .x { margin: 0; padding: 2px 4px; font-size: 1rem; }
#paste-box[hidden] { display: none; }
.wheel-desc { margin: -6px 0 12px; color: var(--muted); text-align: center; font-weight: 600; }
.stage:fullscreen .wheel-desc { font-size: 1.3rem; }
.result-note { margin: 10px 0 0; font-size: 1.25rem; font-weight: 700; background: var(--note); border: 2px solid var(--edge); border-radius: 12px; padding: 8px 12px; }
.result-note[hidden], #note-show[hidden] { display: none; }
#note-show { margin-top: 10px; }
.is-builder .field-row:has(#wheel-title-in) { display: none; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; margin: -8px 0 16px; padding: 0; }
.badges span { font-size: .82rem; font-weight: 700; background: var(--surface); border: 2px solid var(--edge); border-radius: 999px; padding: 1px 10px; }
.badges span:nth-child(2) { background: var(--yellow); color: #1c1c1e; }
.logo span { letter-spacing: -.02em; }
.logo b { color: #c2410c; font-weight: 800; }
.logo svg { width: 34px; height: 34px; }
#wheel { max-width: 100%; height: auto !important; aspect-ratio: 1; }


/* ---------- audit fixes (26 Sep 2026) ---------- */
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: #1c1c1e; color: #ffd02f; padding: 8px 14px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 8px; }
::placeholder { color: var(--muted); opacity: 1; }
.vh-file { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.file-btn, .pic-btn { position: relative; }
.file-btn:focus-within, .pic-btn:focus-within { outline: 3px solid var(--link); outline-offset: 2px; }
.pic-btn { overflow: visible; }
.pic-btn img { border-radius: 50%; }
.elim-note:empty, .note:empty, #img-note:empty, #snd-note:empty { display: none; }
.spin-alt { display: inline-block; }
.big-btn { min-width: 140px; }
.elim-stop { display: none; }
.is-elim .elim-stop { display: inline-block; }
.is-elim .spin-alt { display: none; }
.wide-btn { width: auto; padding: 0 12px; gap: 6px; grid-auto-flow: column; }
.btn-text { font: 700 .9rem var(--font); }
@media (max-width: 600px) { .btn-text { display: none; } .wide-btn { width: 42px; padding: 0; } }
.first-hint { position: absolute; left: 50%; bottom: 8%; transform: translateX(-50%); background: #1c1c1e; color: #ffd02f; font-weight: 700; font-size: .9rem; padding: 4px 12px; border-radius: 999px; pointer-events: none; white-space: nowrap; }
.is-empty .hub { opacity: .45; cursor: not-allowed; }
.result-kicker { margin: 0 0 2px; font-size: .85rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.result-note:focus { outline: 3px solid var(--link); outline-offset: 2px; }
.undo-bar { display: none; align-items: center; justify-content: space-between; gap: 8px; margin: 8px 0; padding: 6px 10px; background: #1c1c1e; color: #fff; border-radius: 12px; font-weight: 600; font-size: .92rem; }
.undo-bar.show { display: flex; }
.undo-bar .mini { background: var(--yellow); color: #1c1c1e; border-color: var(--yellow); }
.put-back { margin: 8px 0 0; width: 100%; }
.put-back[hidden] { display: none; }
.teaser { display: block; font-weight: 500; font-size: .85rem; color: var(--muted); margin-left: 1.1em; }
.opt-h { font-weight: 800; font-size: 1.05rem; margin: 0; }
.history { margin-top: 12px; }
.hide-remove .remove-row, .hide-multi .multi-row, .hide-odds .odds-row, .hide-title .title-row { display: none; }
/* builder: bigger targets, visible note label, no nested scroll on phones */
.row-btns { gap: 4px; }
.row-btns .x { min-width: 32px; min-height: 32px; display: inline-grid; place-items: center; border: 2px solid var(--line); border-radius: 8px; }
.mine .x, .pic-list .x { min-width: 28px; min-height: 28px; display: inline-grid; place-items: center; }
.r-dl { display: grid; gap: 2px; font-size: .78rem; font-weight: 700; color: var(--muted); }
.r-col { width: 36px; height: 36px; }
.pic-btn { width: 40px; height: 40px; }
@media (max-width: 860px) { .rows { max-height: none; overflow: visible; } }
/* mobile header: only Make a Wheel and All wheels */
@media (max-width: 600px) { .top-nav a:not(:first-child):not(:last-child) { display: none; } .top-nav { overflow: visible; } }
/* wheels hub: two columns on phones */
@media (max-width: 600px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .card span { font-size: .82rem; } }
/* bingo board: called numbers are not colour-only */
.bn.on { font-weight: 800; text-decoration: underline; text-decoration-thickness: 2px; }
.prev:empty { min-height: 34px; }
/* dark mode details */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .pointer::before { background: #ffd02f; }
  :root:not([data-theme="light"]) .pointer { filter: drop-shadow(0 0 1.5px #000) drop-shadow(0 0 1.5px #000) drop-shadow(0 2px 2px rgba(0,0,0,.5)); }
  :root:not([data-theme="light"]) .panel { border-top: 4px solid #ffd02f; }
  :root:not([data-theme="light"]) .stage, :root:not([data-theme="light"]) .panel, :root:not([data-theme="light"]) .result-card { box-shadow: 6px 6px 0 #000, 6px 6px 0 1px var(--edge); }
  :root:not([data-theme="light"]) .result-text { -webkit-text-stroke-color: #f2f2f5; text-shadow: 2px 2px 0 #000; }
  :root:not([data-theme="light"]) .row-btns .x { border-color: var(--line); }
}
:root[data-theme="dark"] .pointer::before { background: #ffd02f; }
:root[data-theme="dark"] .pointer { filter: drop-shadow(0 0 1.5px #000) drop-shadow(0 0 1.5px #000) drop-shadow(0 2px 2px rgba(0,0,0,.5)); }
:root[data-theme="dark"] .panel { border-top: 4px solid #ffd02f; }
:root[data-theme="dark"] .stage, :root[data-theme="dark"] .panel, :root[data-theme="dark"] .result-card { box-shadow: 6px 6px 0 #000, 6px 6px 0 1px var(--edge); }
:root[data-theme="dark"] .result-text { -webkit-text-stroke-color: #f2f2f5; text-shadow: 2px 2px 0 #000; }
:root[data-theme="dark"] .row-btns .x { border-color: var(--line); }

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media (max-width: 420px) { .top-nav a:first-child:not(:last-child) { display: none; } .top-nav a { padding: 6px 10px; } }
.embed-credit a { color: #3451e8; background: #fff; padding: 2px 8px; border-radius: 6px; }

/* language switcher */
.lang-switch { display: flex; gap: 2px; margin-left: 8px; flex-shrink: 0; }
.lang-switch a { font: 700 .8rem var(--font); padding: 4px 7px; border-radius: 8px; color: #1c1c1e; text-decoration: none; }
.lang-switch a[aria-current] { background: #1c1c1e; color: #ffd02f; }
.lang-switch a:hover { background: rgba(28,28,30,.12); }
.top-in { gap: 10px; }
.top-nav { margin-left: auto; }
@media (max-width: 420px) { .lang-switch a { padding: 4px 5px; } }
.coin .face.long { font-size: clamp(1.1rem, 4.5vw, 2.2rem); }
.hub { font-size: clamp(.72rem, 2.1vw, 1.15rem); letter-spacing: .01em; padding: 0 4px; line-height: 1.05; overflow-wrap: anywhere; }
@media (max-width: 480px) {
  .top-in { flex-wrap: wrap; row-gap: 0; padding-top: 6px; padding-bottom: 6px; min-height: 0; }
  .lang-switch { margin-left: auto; }
  .top-nav { order: 3; width: 100%; margin-left: 0; justify-content: flex-end; }
}
.panel-head { flex-wrap: wrap; } .panel-head .mini-btns { flex-wrap: wrap; justify-content: flex-end; }

/* theme toggle */
.theme-btn { width: 34px; height: 34px; flex-shrink: 0; border-radius: 10px; border: 2px solid #1c1c1e; background: transparent; color: #1c1c1e; cursor: pointer; display: grid; place-items: center; padding: 0; }
.theme-btn:hover { background: rgba(28,28,30,.12); }
.theme-btn svg { width: 18px; height: 18px; fill: currentColor; display: none; }
.theme-btn[data-mode="auto"] .i-auto, .theme-btn[data-mode="light"] .i-light, .theme-btn[data-mode="dark"] .i-dark { display: block; }
.theme-btn:not([data-mode]) .i-auto { display: block; }

/* save link box */
.save-dlg { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 16px; background: rgba(20,21,25,.45); }
.save-dlg[hidden] { display: none; }
.save-card { position: relative; width: min(520px, 100%); max-height: 92vh; overflow: auto; background: var(--surface); color: var(--ink); border: 2px solid var(--edge); border-radius: 20px; box-shadow: 6px 6px 0 var(--hard); padding: 20px; }
.save-card h2 { margin: 0 0 6px; font-size: 1.35rem; }
.save-card p { margin: 0 0 10px; }
#save-url { width: 100%; font: .9rem ui-monospace, Menlo, monospace; padding: 10px 12px; margin: 4px 0 10px; }
.save-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 10px; }
.save-actions a.btn { text-decoration: none; }
.save-qr { display: grid; place-items: center; background: #fff; border-radius: 12px; padding: 10px; margin: 0 0 10px; }
.save-qr svg { width: min(240px, 70vw); height: auto; }
.save-close { margin-top: 4px; }

.top :focus-visible { outline-color: #1c1c1e; }
.save-qr[hidden] { display: none; }

/* audit 27 Sep 2026 */
.top-controls { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.top-controls .lang-switch { margin-left: 0; }
.lang-switch a { padding: 7px 8px; min-width: 32px; min-height: 32px; box-sizing: border-box; text-align: center; display: inline-flex; align-items: center; justify-content: center; }
.top-nav { min-width: 0; flex-shrink: 1; }
@media (max-width: 1080px) { .top-nav a:nth-child(n+3):not(:last-child) { display: none; } }
@media (max-width: 480px) {
  .top-controls { margin-left: auto; }
  .top-nav { order: 3; width: 100%; justify-content: flex-start; }
  .lang-switch a { padding: 4px 6px; min-width: 30px; min-height: 30px; }
}
.theme-btn[data-mode="light"] .i-light, .theme-btn[data-mode="dark"] .i-dark { display: none; }
.theme-btn[data-mode="light"] .i-dark, .theme-btn[data-mode="dark"] .i-light { display: block; }
.hub { white-space: nowrap; overflow-wrap: normal; word-break: keep-all; letter-spacing: 0; padding: 0 2px; }
:lang(fr) .hub { font-size: clamp(.6rem, 1.7vw, .95rem); }
.odds-box > .btn { justify-self: start; }
.save-card { position: relative; }
.save-x { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--ink, #1c1c1e); background: transparent; color: inherit; font: 700 1.4rem/1 var(--font); cursor: pointer; }
#save-h { padding-right: 48px; }
.mine .x { min-width: 32px; min-height: 32px; padding: 6px 10px; }
.mine-date { font-size: .85rem; }
.btn, .mini { hyphens: manual; }
@media (max-width: 480px) { .more .btn { width: 100%; } }
@media (max-width: 360px) { .top-in { gap: 6px; } .top-controls { gap: 4px; } .lang-switch { gap: 0; } .lang-switch a { min-width: 28px; padding: 4px 3px; } .theme-btn { width: 32px; height: 32px; } }

/* language menu (7 languages) */
.lang-switch { position: relative; }
.lang-menu > summary { list-style: none; cursor: pointer; font: 700 .85rem var(--font); color: #1c1c1e; min-width: 44px; min-height: 34px; padding: 0 22px 0 10px; border: 2px solid #1c1c1e; border-radius: 10px; display: flex; align-items: center; position: relative; box-sizing: border-box; }
.lang-menu > summary::-webkit-details-marker { display: none; }
.lang-menu > summary::after { content: ""; position: absolute; right: 8px; top: 50%; margin-top: -3px; border: 5px solid transparent; border-top-color: currentColor; border-bottom: 0; }
.lang-menu > summary:hover { background: rgba(28,28,30,.12); }
.lang-menu ul { position: absolute; right: 0; top: calc(100% + 6px); z-index: 50; list-style: none; margin: 0; padding: 6px; min-width: 170px; background: var(--surface); color: var(--ink); border: 2px solid var(--edge); border-radius: 12px; box-shadow: 4px 4px 0 var(--hard); }
.lang-menu ul a { display: flex; gap: 8px; align-items: center; justify-content: flex-start; min-height: 36px; padding: 6px 10px; border-radius: 8px; color: inherit; text-decoration: none; font: 500 .95rem var(--font); }
.lang-menu ul a b { min-width: 24px; font-weight: 800; }
.lang-menu ul a[aria-current] { background: #1c1c1e; color: #ffd02f; }
.lang-menu ul a:hover { background: rgba(128,128,128,.15); }
@media (max-width: 480px) { .lang-menu > summary { min-height: 32px; } }
:lang(de) .hub, :lang(nl) .hub { font-size: clamp(.6rem, 1.7vw, .95rem); }
:lang(fr) .hub, :lang(de) .hub, :lang(nl) .hub { font-size: clamp(.6rem, 1.7vw, .85rem); }

.flag { width: 20px; height: 14px; flex-shrink: 0; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.25); }
.lang-menu > summary { gap: 6px; }
@media (max-width: 360px) { .lang-menu > summary .flag { display: none; } }

/* cookie banner (GA4 loads only after Accept) */
.consent { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 80; max-width: 640px; margin: 0 auto; background: var(--surface); color: var(--ink); border: 2px solid var(--edge); border-radius: 14px; padding: 14px 16px; box-shadow: 6px 6px 0 var(--hard); }
.consent p { margin: 0 0 10px; font-size: .92rem; line-height: 1.45; }
.consent a { color: var(--link); }
.consent-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.consent-btns .btn { flex: 1 1 120px; }
body.has-consent { padding-bottom: 170px; }
.foot-links .linkish { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; }

/* charades generator */
.ch-stage { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.ch-turn { margin: 0; font-weight: 700; }
.ch-card { width: min(100%, 460px); min-height: 190px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 20px; border: 3px solid var(--edge); border-radius: 18px; background: var(--yellow); color: #1c1c1e; box-shadow: 6px 6px 0 var(--hard); cursor: pointer; font-family: var(--font); }
.ch-card:active { transform: translate(2px, 2px); box-shadow: 4px 4px 0 var(--hard); }
.ch-word { font-size: clamp(1.5rem, 5vw, 2.4rem); font-weight: 800; line-height: 1.15; text-align: center; overflow-wrap: anywhere; }
.ch-cat { font-size: .95rem; font-weight: 600; opacity: .8; }
.ch-card.is-hidden { background: repeating-linear-gradient(45deg, #1c1c1e 0 14px, #2c2c30 14px 28px); color: #ffd02f; }
.ch-card.is-empty { background: var(--surface); color: var(--ink); }
.ch-card.is-empty .ch-word { font-size: clamp(1.1rem, 3.5vw, 1.5rem); }
.ch-card.is-up { background: #ffd6d6; color: #1c1c1e; }
.ch-hint, .ch-left { margin: 0; text-align: center; }
.ch-timer { margin: 0; font: 800 2rem/1 var(--font); font-variant-numeric: tabular-nums; }
.ch-timer.is-low { color: #c0392b; }
.ch-bar { flex-wrap: wrap; justify-content: center; }
.ch-cats { border: 0; padding: 0; margin: 0 0 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; }
.ch-cats legend { padding: 0; margin-bottom: 6px; }
.ch-teams { margin: 14px 0; }
.ch-team-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 8px 0; }
.ch-team { display: flex; align-items: center; gap: 8px; padding: 8px; border: 2px solid var(--line); border-radius: 12px; }
.ch-team input { min-width: 0; flex: 1; }
.ch-team output { font: 800 1.6rem/1 var(--font); min-width: 1.5em; text-align: right; }
.ch-team.is-turn { border-color: var(--edge); background: var(--note); }
@media (max-width: 420px) { .ch-cats { grid-template-columns: 1fr; } }

/* gamertag generator */
.gt-stage { display: flex; flex-direction: column; gap: 12px; }
.gt-out { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.gt-out li { display: flex; min-width: 0; border: 2px solid var(--edge); border-radius: 12px; background: var(--surface); box-shadow: 3px 3px 0 var(--hard); }
.gt-name { flex: 1; min-width: 0; padding: 10px 12px; border: 0; background: none; color: var(--ink); font: 700 1.02rem var(--font); text-align: left; overflow-wrap: anywhere; cursor: pointer; }
.gt-name:hover { background: var(--note); border-radius: 10px 0 0 10px; }
.gt-star { width: 44px; flex-shrink: 0; border: 0; border-left: 2px solid var(--line); background: none; color: var(--muted); font-size: 1.25rem; cursor: pointer; }
.gt-star[aria-pressed="true"] { color: #b7791f; }
.gt-note { margin: 0; text-align: center; }
.gt-styles { flex-wrap: wrap; }
.gt-favs { margin-top: 14px; }
.gt-fav-list { list-style: none; padding: 0; margin: 6px 0; display: grid; gap: 4px; }
.gt-fav-list .x { min-width: 32px; min-height: 32px; }
@media (max-width: 420px) { .gt-out { grid-template-columns: 1fr; } }

/* "All wheels": a real button, so people find the other tools */
.top-nav a.all-btn { display: inline-flex; align-items: center; gap: 7px; background: #1c1c1e; color: #ffd02f; padding: 7px 12px 7px 11px; font-weight: 800; }
.top-nav a.all-btn:hover, .top-nav a.all-btn[aria-current] { background: #000; color: #ffd02f; }
.grid-i { width: 15px; height: 15px; fill: currentColor; flex-shrink: 0; }
.all-btn .count { font: 800 .75rem/1 var(--font); background: #ffd02f; color: #1c1c1e; border-radius: 999px; padding: 3px 7px; }
@media (max-width: 480px) { .top-nav { justify-content: flex-start; padding-top: 4px; } .top-nav a.all-btn { padding: 8px 14px; font-size: 1rem; } }
.card.card-all { background: #1c1c1e; color: #ffd02f; border-color: #1c1c1e; }
.card.card-all strong { display: inline-flex; align-items: center; gap: 7px; color: #ffd02f; }
.card.card-all span { color: #f2f2f5; }
@media (max-width: 1400px) { .top-nav a:nth-child(n+5):not(:last-child) { display: none; } }
.top-nav a:nth-child(n+5):not(:last-child) { display: none; }
@media (max-width: 600px) { .top-nav a:not(:last-child) { display: none; } }
.card.card-all { grid-column: 1 / -1; background: #ffd02f; color: #1c1c1e; border-color: var(--edge); box-shadow: 4px 4px 0 var(--hard); }
.card.card-all strong, .card.card-all span { color: #1c1c1e; }
.card.card-all { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
