:root {
  --navy-1000: #020b17;
  --navy-950: #041224;
  --navy-900: #071b33;
  --navy-850: #0a2340;
  --navy-800: #0c2e52;
  --blue-500: #2d8cff;
  --blue-400: #58adff;
  --teal-400: #35d0c5;
  --teal-300: #72e4da;
  --paper: #f6faff;
  --paper-2: #edf5fb;
  --ink: #10243a;
  --muted: #6f8194;
  --line: #d9e5ef;
  --yes: #17a864;
  --yes-soft: #e8f8ef;
  --no: #d34b5d;
  --no-soft: #fff0f2;
  --clarify: #3379c7;
  --clarify-soft: #edf5ff;
  --warn: #a36c0f;
  --warn-soft: #fff7e5;
  --shadow-lg: 0 24px 70px rgba(3, 23, 43, .16);
  --shadow-md: 0 14px 38px rgba(3, 23, 43, .10);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* { box-sizing: border-box; }
html { background: var(--navy-1000); }
body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #071728 0, #0a2139 320px, #eaf2f8 760px, #edf5fb 100%);
}
button, input, select { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible { outline: 3px solid rgba(66, 160, 255, .24); outline-offset: 2px; }

.site-bg { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; }
.orb { position: absolute; border-radius: 50%; filter: blur(20px); opacity: .34; }
.orb-a { width: 420px; height: 420px; background: #1a73d7; top: -180px; left: -120px; }
.orb-b { width: 360px; height: 360px; background: #22b9a9; top: 90px; right: -170px; opacity: .22; }
.grid-glow { position: absolute; inset: 0 0 auto; height: 520px; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(to bottom, #000, transparent); }

.shell { width: min(100%, 1120px); min-height: 100vh; margin: 0 auto; }
.topbar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px; background: rgba(5, 20, 37, .78); color: #fff; border-bottom: 1px solid rgba(255,255,255,.07); backdrop-filter: blur(18px); }
.brand { display: flex; align-items: center; gap: 10px; }
.wordmark { font-weight: 900; letter-spacing: -.05em; font-size: 1.25rem; }
.wordmark .fan { color: #fff; }
.wordmark .sleuth { color: var(--blue-400); }
.logo-mark { width: 42px; height: 42px; border-radius: 13px; background: linear-gradient(145deg, #061a31, #0b2f54); display: grid; place-items: center; border: 1px solid rgba(255,255,255,.08); box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 8px 24px rgba(0,0,0,.24); }
.logo-ring { position: relative; width: 29px; height: 29px; border-radius: 50%; background: conic-gradient(var(--blue-500) 0 56deg, transparent 56deg 68deg, var(--blue-400) 68deg 126deg, transparent 126deg 138deg, var(--teal-400) 138deg 208deg, transparent 208deg 220deg, var(--blue-500) 220deg 282deg, transparent 282deg 294deg, var(--teal-300) 294deg 360deg); }
.logo-ring::before { content: ""; position: absolute; inset: 5px; background: #082440; border-radius: 50%; }
.logo-ring::after { content: "?"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-weight: 950; font-size: 17px; transform: translateY(-.5px); }
.topbar-meta { display: flex; align-items: center; gap: 7px; font-size: .77rem; color: #b9cad9; font-weight: 750; }
.sport-dot { opacity: .9; }
.build-pill { padding: 4px 7px; border-radius: 999px; background: rgba(255,255,255,.07); color: #8ec6ff; border: 1px solid rgba(255,255,255,.07); }

main { padding: 22px 16px 52px; }
.hero { display: grid; gap: 20px; margin: 8px 0 34px; padding: 28px 22px; border-radius: 32px; color: #fff; background: radial-gradient(circle at 92% 8%, rgba(63, 222, 206, .25), transparent 28%), radial-gradient(circle at 18% 105%, rgba(45, 140, 255, .32), transparent 36%), linear-gradient(145deg, #071d36, #06162a 64%, #05121f); border: 1px solid rgba(255,255,255,.07); box-shadow: var(--shadow-lg); overflow: hidden; }
.hero-copy { min-width: 0; }
.eyebrow, .section-kicker { margin: 0 0 8px; color: var(--teal-300); font-weight: 900; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; }
.hero h1 { margin: 0; max-width: 720px; font-size: clamp(2.55rem, 9vw, 5rem); line-height: .94; letter-spacing: -.07em; }
.hero h1 span { color: #87bcff; }
.hero-lede { margin: 17px 0 0; max-width: 590px; color: #c5d6e5; font-size: .98rem; line-height: 1.6; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 19px; }
.hero-pills span { padding: 7px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,.09); background: rgba(255,255,255,.055); color: #d4e2ee; font-size: .75rem; font-weight: 800; }
.hero-demo { min-width: 0; padding: 16px; border-radius: 23px; background: rgba(255,255,255,.075); border: 1px solid rgba(255,255,255,.095); box-shadow: inset 0 1px 0 rgba(255,255,255,.04); }
.demo-top { display: flex; justify-content: space-between; color: #81e1d7; font-size: .68rem; letter-spacing: .1em; font-weight: 900; margin-bottom: 14px; }
.demo-turns { color: #a7bdd2; letter-spacing: 0; }
.demo-chat { width: fit-content; max-width: 88%; padding: 9px 11px; border-radius: 14px; margin: 7px 0; font-size: .82rem; }
.demo-chat.user { margin-left: auto; background: #e4f2ff; color: #0a2a49; border-bottom-right-radius: 5px; }
.demo-chat.answer { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.08); color: #dce8f1; border-bottom-left-radius: 5px; }
.demo-chat.answer strong { display: inline-block; margin-right: 6px; color: #77e7a5; font-size: .7rem; letter-spacing: .06em; }
.demo-chat.answer span { color: #adc1d1; }
.demo-solve { margin-top: 13px; padding: 12px; border-radius: 16px; display: flex; gap: 10px; align-items: center; background: linear-gradient(135deg, rgba(23,168,100,.20), rgba(53,208,197,.10)); border: 1px solid rgba(105,236,163,.20); }
.demo-check { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #1fbd70; color: white; font-weight: 950; }
.demo-solve strong { display: block; font-size: .88rem; }
.demo-solve small { color: #a9c4b5; }

.section-head { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin: 28px 3px 12px; }
.section-head h2 { margin: 0; color: #102945; font-size: 1.35rem; letter-spacing: -.035em; }
.section-head .section-kicker { color: #3c719d; margin-bottom: 2px; }
.section-note { color: #71879a; font-size: .74rem; font-weight: 750; }
.sport-strip { display: flex; overflow-x: auto; gap: 9px; padding: 2px 1px 7px; scrollbar-width: none; }
.sport-strip::-webkit-scrollbar { display: none; }
.sport-chip { white-space: nowrap; border: 1px solid #d6e4ef; border-radius: 14px; padding: 10px 13px; background: rgba(255,255,255,.86); color: #647b8e; font-weight: 800; font-size: .83rem; box-shadow: 0 6px 18px rgba(8,31,53,.04); }
.sport-chip span { margin-right: 4px; }
.sport-chip.active { color: #fff; background: linear-gradient(145deg, #0b3157, #071d36); border-color: #0a2a4a; box-shadow: 0 9px 25px rgba(7,27,51,.16); }
.sport-chip.locked::after { content: " · Soon"; font-size: .66rem; opacity: .62; }

.mode-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.mode-card { text-align: left; position: relative; overflow: hidden; border: 1px solid #d8e5ef; background: rgba(255,255,255,.92); border-radius: 23px; padding: 18px; box-shadow: 0 10px 28px rgba(5,30,53,.065); transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease; }
.mode-card:hover { transform: translateY(-2px); border-color: #b9d8f4; box-shadow: 0 15px 36px rgba(5,30,53,.10); }
.mode-card.featured { color: #fff; border-color: transparent; background: radial-gradient(circle at 88% 8%, rgba(53,208,197,.24), transparent 30%), linear-gradient(145deg, #0b335a, #071a32); }
.mode-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.mode-symbol { width: 41px; height: 41px; border-radius: 13px; display: grid; place-items: center; font-size: 1.25rem; font-weight: 900; color: #136bbf; background: #e9f4ff; }
.mode-card.featured .mode-symbol { background: rgba(255,255,255,.09); color: #7ce6dc; border: 1px solid rgba(255,255,255,.08); }
.mode-badge { padding: 5px 8px; border-radius: 999px; color: #8ce9df; background: rgba(53,208,197,.12); border: 1px solid rgba(53,208,197,.13); font-size: .65rem; font-weight: 900; letter-spacing: .09em; }
.mode-badge.subtle { color: #638097; background: #eef5fa; border-color: #e2ebf2; }
.mode-card strong { display: block; color: #0e2946; font-size: 1.12rem; margin-bottom: 6px; letter-spacing: -.025em; }
.mode-card.featured strong { color: #fff; }
.mode-card > span:not(.mode-symbol):not(.mode-badge) { display: block; color: #6c8193; line-height: 1.5; font-size: .88rem; }
.mode-card.featured > span:not(.mode-symbol):not(.mode-badge) { color: #b8cddd; }
.mode-cta { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; padding-top: 13px; border-top: 1px solid #e5edf3; color: #246fac; font-size: .78rem; font-weight: 900; }
.mode-card.featured .mode-cta { color: #8de8df; border-color: rgba(255,255,255,.09); }
.dev-strip { margin: 24px 2px 0; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; color: #72879a; font-size: .72rem; }
.dev-strip strong { color: #35516a; }
.dev-dot { width: 8px; height: 8px; border-radius: 50%; background: #25b66c; box-shadow: 0 0 0 4px rgba(37,182,108,.10); }

.game-wrap, .challenge-creator { max-width: 760px; margin: 0 auto; }
.game-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 14px; }
.back-btn { border: 0; background: transparent; color: #d2dfeb; font-weight: 850; padding: 8px 0; }
.game-mode-pill { padding: 7px 10px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.08); color: #c8d9e7; font-size: .73rem; font-weight: 800; }
.game-summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 12px; color: #fff; }
.game-summary .section-kicker { margin-bottom: 4px; }
.game-summary h1 { margin: 0; font-size: clamp(1.75rem, 5vw, 2.45rem); letter-spacing: -.055em; }
.game-summary p { margin: 4px 0 0; color: #aebfd0; font-size: .83rem; }
.turn-orb { flex: 0 0 auto; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; align-content: center; background: linear-gradient(145deg, rgba(45,140,255,.20), rgba(53,208,197,.12)); border: 1px solid rgba(111,193,255,.20); box-shadow: inset 0 1px 0 rgba(255,255,255,.06); }
.turn-orb strong { font-size: 1.75rem; line-height: 1; letter-spacing: -.05em; }
.turn-orb span { margin-top: 2px; color: #a9bfd0; font-size: .62rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 850; }
.turn-orb.final { background: linear-gradient(145deg, rgba(248,176,53,.20), rgba(230,96,67,.15)); border-color: rgba(246,183,81,.25); }
.progress-panel { margin-bottom: 12px; padding: 13px 14px; border-radius: 17px; background: rgba(255,255,255,.085); border: 1px solid rgba(255,255,255,.08); }
.progress-copy { display: flex; justify-content: space-between; gap: 12px; color: #91a8bb; font-size: .72rem; margin-bottom: 9px; }
.progress-copy strong { color: #dce8f1; font-size: .74rem; }
.turn-track { height: 7px; border-radius: 999px; overflow: hidden; background: rgba(255,255,255,.08); }
.turn-fill { height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--teal-400), var(--blue-500)); transition: width .25s ease; }
.final-turn-card .turn-fill { background: linear-gradient(90deg, #f0ad48, #e96c53); }

.play-card { background: rgba(246,250,255,.98); border-radius: 26px; border: 1px solid rgba(255,255,255,.25); box-shadow: var(--shadow-lg); overflow: hidden; }
.conversation { display: flex; flex-direction: column; gap: 12px; min-height: 310px; max-height: 470px; overflow-y: auto; padding: 18px; scroll-behavior: smooth; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #bfd0dd transparent; background: linear-gradient(180deg, #f8fbfe, #f3f8fc); }
.conversation::-webkit-scrollbar { width: 7px; }
.conversation::-webkit-scrollbar-thumb { background: #c4d3df; border-radius: 999px; }
.exchange { display: contents; }
.bubble { line-height: 1.42; font-size: .92rem; }
.bubble.user { align-self: flex-end; max-width: 83%; background: linear-gradient(145deg, #dcefff, #e9f5ff); color: #0c2c49; border: 1px solid #cce4f7; padding: 11px 13px; border-radius: 17px 17px 5px 17px; font-weight: 720; }
.bubble.system { align-self: flex-start; max-width: 91%; padding: 12px 13px; border-radius: 17px 17px 17px 5px; background: #fff; border: 1px solid #dde8f0; box-shadow: 0 7px 20px rgba(4,24,43,.045); }
.bubble.system.yes { border-left: 4px solid var(--yes); }
.bubble.system.no { border-left: 4px solid var(--no); }
.bubble.system.clarify { border-left: 4px solid var(--clarify); }
.bubble.system.free { border-left: 4px solid #d7992e; }
.answer-tag { display: inline-flex; align-items: center; gap: 5px; margin-bottom: 4px; font-size: .7rem; font-weight: 950; letter-spacing: .08em; }
.answer-tag.yes { color: var(--yes); }
.answer-tag.no { color: var(--no); }
.answer-tag.clarify { color: var(--clarify); }
.answer-tag.free { color: var(--warn); }
.answer-main { font-weight: 760; color: #17314a; }
.interpretation { display: block; margin-top: 5px; color: #798b9b; font-size: .73rem; }
.starter-card { margin: auto 0; display: flex; gap: 12px; align-items: center; padding: 16px; border: 1px dashed #c9dbe8; border-radius: 18px; color: #61798d; background: rgba(255,255,255,.60); }
.starter-card strong { color: #1c3b57; }
.starter-card p { margin: 3px 0 0; font-size: .8rem; line-height: 1.45; }
.starter-mark { width: 38px; height: 38px; border-radius: 50%; flex: 0 0 auto; display: grid; place-items: center; color: #fff; font-weight: 950; background: linear-gradient(145deg, var(--blue-500), var(--teal-400)); }

.composer { border-top: 1px solid #dce7ef; padding: 12px; background: rgba(249,252,255,.98); }
.voice-status { display: flex; align-items: center; gap: 10px; margin-bottom: 9px; padding: 9px 11px; border-radius: 13px; border: 1px solid #cfe9de; background: #eefaf4; color: #176541; }
.voice-status strong { display: block; font-size: .78rem; }
.voice-status span { display: block; margin-top: 1px; color: #5e8270; font-size: .68rem; }
.voice-wave { width: 27px; height: 25px; display: flex; align-items: center; justify-content: center; gap: 2px; }
.voice-wave i { width: 3px; height: 8px; border-radius: 999px; background: #20ad66; }
.voice-status.live .voice-wave i { animation: voiceBar .7s ease-in-out infinite alternate; }
.voice-status.live .voice-wave i:nth-child(2) { animation-delay: -.18s; height: 14px; }
.voice-status.live .voice-wave i:nth-child(3) { animation-delay: -.34s; height: 10px; }
@keyframes voiceBar { to { transform: scaleY(1.75); } }
.composer-row { display: flex; gap: 8px; align-items: stretch; }
.input-shell { min-width: 0; flex: 1; }
.question-input { width: 100%; height: 52px; border: 1px solid #c8d9e6; border-radius: 15px; padding: 0 14px; background: #fff; color: #102d47; outline: none; font-size: 16px; }
.question-input:focus { border-color: #5aa9f2; box-shadow: 0 0 0 4px rgba(45,140,255,.10); }
.primary-btn, .secondary-btn { min-height: 44px; border: 0; border-radius: 14px; padding: 11px 14px; font-weight: 900; transition: transform .12s ease, filter .12s ease; }
.primary-btn:active, .secondary-btn:active { transform: scale(.985); }
.primary-btn { color: #fff; background: linear-gradient(145deg, #2d8cff, #1877dd); box-shadow: 0 8px 18px rgba(45,140,255,.20); }
.secondary-btn { color: #12314d; background: #eaf3f9; }
.ask-btn { min-width: 68px; }
.mic-btn { width: 66px; min-height: 52px; border: 1px solid #c9dae7; border-radius: 15px; background: #f3f8fc; color: #315976; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-weight: 850; font-size: .65rem; transition: .16s ease; }
.mic-glyph { width: 19px; height: 19px; display: block; }
.mic-glyph svg { width: 100%; height: 100%; display: block; }
.mic-btn.active { color: #14754a; background: #eaf8f1; border-color: #8fd0ad; }
.mic-btn.listening { box-shadow: 0 0 0 4px rgba(23,168,100,.09); }
.mic-btn.listening .mic-glyph { animation: micBreathe .9s ease-in-out infinite; }
@keyframes micBreathe { 50% { transform: scale(.88); opacity: .72; } }
.composer-actions { display: flex; gap: 8px; margin-top: 8px; }
.composer-actions button { width: 100%; }
.guess-btn { display: flex; align-items: center; justify-content: space-between; }
.final-guess-btn { color: white; background: linear-gradient(145deg, #0d7bd9, #20ae85); }
.helper { color: #7b8d9d; font-size: .71rem; margin: 8px 3px 0; line-height: 1.4; }
.final-guess-callout { display: flex; gap: 12px; align-items: center; border: 1px solid #f0d7a7; background: #fff8eb; border-radius: 15px; padding: 12px 13px; }
.final-guess-callout strong { display: block; color: #6d4810; }
.final-guess-callout span { display: block; color: #997846; font-size: .76rem; margin-top: 2px; }
.final-target { width: 38px; height: 38px; border-radius: 50%; flex: 0 0 auto; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, #f0a939, #df6a48); font-size: 1.25rem; }

.modal-backdrop { position: fixed; inset: 0; z-index: 80; display: grid; place-items: end center; padding: 16px; background: rgba(2,11,23,.66); backdrop-filter: blur(7px); }
.modal { width: min(100%, 620px); max-height: calc(100vh - 32px); overflow: auto; background: #f7fbff; border-radius: 27px; padding: 20px; box-shadow: 0 28px 90px rgba(0,0,0,.34); border: 1px solid rgba(255,255,255,.45); }
.modal h2 { margin: 2px 0 7px; color: #102b47; letter-spacing: -.045em; font-size: 1.6rem; }
.modal p { margin: 0 0 16px; color: #6f8292; line-height: 1.45; }
.guess-kicker { display: inline-block; color: #2d7cc4; font-size: .68rem; font-weight: 950; letter-spacing: .13em; }
.guess-search-label { display: block; margin: 2px 0 7px; color: #34526b; font-size: .72rem; font-weight: 900; text-transform: uppercase; letter-spacing: .07em; }
.guess-search-wrap { position: relative; display: flex; align-items: center; }
.guess-search-icon { position: absolute; left: 14px; color: #607e96; font-size: 1.35rem; pointer-events: none; }
.guess-search { width: 100%; min-height: 56px; padding: 0 15px 0 46px; border: 2px solid #c3d5e3; border-radius: 15px; background: white; color: #102b47; font-size: 16px; font-weight: 720; outline: none; }
.guess-search:focus { border-color: #4b9deb; box-shadow: 0 0 0 4px rgba(45,140,255,.09); }
.guess-result-count { margin: 8px 2px 10px; color: #7890a4; font-size: .73rem; font-weight: 750; }
.player-list { display: grid; gap: 7px; max-height: 330px; overflow-y: auto; padding-right: 2px; }
.player-option { width: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; min-height: 60px; padding: 9px 11px; border: 1px solid #dce7ef; border-radius: 15px; background: white; text-align: left; }
.player-option:hover { border-color: #b8d5eb; background: #fbfdff; }
.player-avatar { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: #1f608f; background: #e9f4fb; font-size: .74rem; font-weight: 950; }
.player-avatar.large { width: 46px; height: 46px; border-radius: 14px; }
.player-name strong { display: block; color: #173551; }
.player-name small { display: block; margin-top: 2px; color: #8394a3; }
.pick-arrow { color: #3f84ba; font-weight: 900; }
.empty-search { padding: 24px 12px; text-align: center; color: #7b8f9f; }
.modal-actions, .confirm-actions { display: grid; gap: 8px; margin-top: 13px; }
.final-modal-note { margin-top: 12px; text-align: center; color: #8a744d; font-size: .76rem; font-weight: 850; }
.voice-confirm-modal { text-align: center; max-width: 430px; }
.confirm-icon { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 2rem; font-weight: 950; background: linear-gradient(145deg, var(--blue-500), var(--teal-400)); box-shadow: 0 12px 32px rgba(45,140,255,.22); }

.challenge-hero { color: #fff; margin: 8px 0 18px; }
.challenge-hero h1 { margin: 0; font-size: clamp(2rem, 7vw, 3.2rem); letter-spacing: -.06em; }
.challenge-hero p { color: #aebfd0; max-width: 530px; line-height: 1.5; }
.challenge-grid { display: grid; gap: 10px; }
.challenge-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid #d8e5ef; border-radius: 19px; background: rgba(255,255,255,.94); padding: 12px; box-shadow: 0 9px 28px rgba(5,30,53,.06); }
.challenge-main { display: flex; align-items: center; gap: 11px; min-width: 0; }
.challenge-card h3 { margin: 0; color: #173551; letter-spacing: -.025em; }
.challenge-card p { margin: 3px 0 0; color: #7a8e9f; font-size: .78rem; }
.challenge-side { display: flex; align-items: center; gap: 9px; }
.diff { display: inline-flex; align-items: baseline; gap: 2px; padding: 7px 9px; border-radius: 12px; color: #184d70; background: #eaf4fa; font-weight: 950; }
.diff small { font-size: .58rem; color: #7892a5; }

.result-card { max-width: 650px; margin: 12px auto; border-radius: 30px; overflow: hidden; background: #fff; border: 1px solid rgba(255,255,255,.35); box-shadow: var(--shadow-lg); }
.result-hero { padding: 28px 22px; color: white; background: linear-gradient(145deg, #0b2c4e, #06172b); }
.result-card.won .result-hero { background: radial-gradient(circle at 15% 0%, #1b7b50, transparent 35%), linear-gradient(145deg, #0d473c, #071b31 76%); }
.result-kicker { color: #8debb8; font-size: .7rem; font-weight: 950; letter-spacing: .14em; }
.result-lockup { display: flex; align-items: center; gap: 15px; margin-top: 12px; }
.solve-check { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: #173c5f; color: #fff; font-size: 2.4rem; font-weight: 950; }
.result-card.won .solve-check { background: linear-gradient(145deg, #2bd476, #14aa63); box-shadow: 0 10px 30px rgba(24,185,101,.25); }
.score { font-size: 2.8rem; font-weight: 950; letter-spacing: -.07em; line-height: 1; }
.result-sub { margin-top: 4px; color: #c1d2df; }
.result-body { padding: 21px; }
.result-player { color: #102d49; font-size: 1.65rem; font-weight: 950; letter-spacing: -.045em; }
.result-player-meta { margin-top: 3px; color: #708598; }
.stat-grid { margin-top: 17px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.stat-box { border: 1px solid #dce7ef; border-radius: 15px; padding: 12px; background: #fbfdff; }
.stat-box span { display: block; color: #8092a2; font-size: .69rem; margin-bottom: 4px; }
.stat-box strong { color: #173551; }
.result-actions { display: grid; gap: 8px; margin-top: 16px; }

.solve-screen { position: relative; min-height: 650px; overflow: hidden; border-radius: 30px; background: radial-gradient(circle at 50% 24%, #17734d 0%, #0d4c40 30%, #082b3a 58%, #041525 100%); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-lg); }
.solve-ambient { position: absolute; inset: 0; background: radial-gradient(circle at 18% 23%, rgba(31,211,112,.22), transparent 27%), radial-gradient(circle at 82% 28%, rgba(32,151,255,.16), transparent 30%); animation: ambientBreath 1.8s ease-out both; }
.solve-stage { position: relative; z-index: 2; width: min(92%, 540px); min-height: 520px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px; }
.solve-logo { position: relative; z-index: 3; margin-bottom: 27px; animation: solveDrop .72s cubic-bezier(.16,.9,.24,1.18) both; }
.solve-logo-ring { width: 126px; height: 126px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, #36da80, #14aa63); box-shadow: 0 0 0 11px rgba(255,255,255,.07), 0 0 0 28px rgba(31,211,112,.08), 0 24px 68px rgba(0,0,0,.34); }
.solve-logo-ring span { font-size: 4.25rem; line-height: 1; font-weight: 950; transform: translateY(-2px); }
.solve-eyebrow { color: #92f0ba; font-size: .73rem; letter-spacing: .24em; font-weight: 950; margin-bottom: 9px; animation: solveRise .5s .28s both; }
.solve-player-name { font-size: clamp(2.25rem, 8vw, 4.25rem); line-height: .98; font-weight: 950; letter-spacing: -.055em; animation: solveRise .54s .34s both; }
.solve-score-pill { display: flex; gap: 6px; align-items: baseline; margin-top: 20px; padding: 9px 16px; border-radius: 999px; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.11); animation: solveRise .54s .43s both; }
.solve-score-pill strong { font-size: 1.45rem; }
.solve-score-pill span { color: #bed0e0; font-size: .82rem; font-weight: 800; }
.solve-copy { margin-top: 13px; color: #cbd9e6; font-weight: 760; animation: solveRise .54s .50s both; }
.solve-pulse-ring { position: absolute; top: 111px; left: 50%; width: 126px; height: 126px; border: 2px solid rgba(62,224,126,.62); border-radius: 50%; transform: translateX(-50%); opacity: 0; animation: pulseOut 1.25s ease-out both; }
.solve-pulse-ring.r2 { animation-delay: .11s; border-color: rgba(31,211,112,.40); }
.solve-pulse-ring.r3 { animation-delay: .22s; border-color: rgba(91,190,255,.26); }
.solve-sparks i { position: absolute; top: 50%; left: 50%; width: 5px; height: 17px; border-radius: 999px; background: hsl(calc(142 + var(--i) * 3) 68% 58%); transform-origin: 2px 116px; transform: translate(-50%, -50%) rotate(var(--a)) translateY(-48px); opacity: 0; animation: spark 1s .14s ease-out both; }
@keyframes solveDrop { 0% { opacity: 0; transform: scale(.38) rotate(-7deg); } 65% { opacity: 1; transform: scale(1.08) rotate(1deg); } 100% { transform: scale(1); } }
@keyframes solveRise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulseOut { 0% { opacity: 0; transform: translateX(-50%) scale(.75); } 18% { opacity: .68; } 100% { opacity: 0; transform: translateX(-50%) scale(2.9); } }
@keyframes ambientBreath { from { opacity: .25; transform: scale(.94); } to { opacity: 1; transform: scale(1); } }
@keyframes spark { 0% { opacity: 0; } 22% { opacity: .85; } 100% { opacity: 0; transform: translate(-50%, -50%) rotate(var(--a)) translateY(-150px) scaleY(1.25); } }

.toast { position: fixed; left: 50%; bottom: 22px; z-index: 120; transform: translateX(-50%); width: min(calc(100% - 28px), 520px); padding: 12px 14px; border-radius: 14px; background: #09253f; color: white; box-shadow: 0 16px 46px rgba(0,0,0,.27); font-size: .82rem; font-weight: 760; text-align: center; }

@media (min-width: 760px) {
  main { padding: 28px 24px 64px; }
  .hero { grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); align-items: center; padding: 38px; }
  .mode-grid { grid-template-columns: repeat(3, 1fr); }
  .mode-card.featured { grid-column: auto; }
  .modal-backdrop { place-items: center; }
  .modal-actions, .confirm-actions { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  body { background: linear-gradient(180deg, #071728 0, #0a2139 300px, #eaf2f8 600px, #edf5fb 100%); }
  .topbar { padding: 12px 14px; }
  .topbar-meta > span:not(.build-pill):not(.sport-dot) { display: none; }
  main { padding: 16px 12px 34px; }
  .hero { padding: 23px 18px; border-radius: 26px; }
  .hero-demo { padding: 13px; }
  .game-summary { align-items: flex-start; }
  .turn-orb { width: 64px; height: 64px; }
  .turn-orb strong { font-size: 1.55rem; }
  .conversation { min-height: 300px; max-height: 420px; padding: 14px; }
  .composer { padding: 10px; }
  .mic-btn { width: 58px; }
  .ask-btn { min-width: 60px; padding-left: 11px; padding-right: 11px; }
  .challenge-card { align-items: flex-start; }
  .challenge-side { flex-direction: column; align-items: stretch; }
  .challenge-side .primary-btn { min-height: 38px; padding: 8px 10px; }
  .solve-screen { min-height: 580px; border-radius: 24px; }
  .solve-logo-ring { width: 108px; height: 108px; }
  .solve-logo-ring span { font-size: 3.6rem; }
  .solve-pulse-ring { top: 121px; width: 108px; height: 108px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
  .voice-status.live .voice-wave i, .mic-btn.listening .mic-glyph, .solve-logo, .solve-eyebrow, .solve-player-name, .solve-score-pill, .solve-copy, .solve-pulse-ring, .solve-ambient, .solve-sparks i { animation: none !important; }
}

/* v0.11 group challenge rooms */
.join-card, .room-card { max-width: 720px; margin: 10px auto; padding: clamp(22px, 5vw, 38px); border-radius: 30px; background: rgba(255,255,255,.97); border: 1px solid #d9e6ef; box-shadow: var(--shadow-lg); }
.join-card h1, .room-card h1 { margin: 8px 0 8px; color: #102d49; font-size: clamp(2rem, 7vw, 3.35rem); letter-spacing: -.055em; line-height: 1; }
.join-card > p, .room-lede { margin: 0 0 20px; color: #6f8496; line-height: 1.55; }
.join-mark { width: 70px; height: 70px; margin: 20px 0 18px; border-radius: 22px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, var(--blue-500), var(--teal-400)); font-size: 2rem; font-weight: 950; box-shadow: 0 14px 34px rgba(45,140,255,.18); }
.room-meta { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 20px; }
.room-meta span { padding: 8px 11px; border-radius: 999px; background: #edf5fa; color: #71879a; font-size: .78rem; }
.room-meta strong { color: #173551; }
.join-name, .room-link { width: 100%; min-height: 52px; padding: 0 15px; border: 1px solid #cfe0ec; border-radius: 15px; background: #fff; color: #102d49; font-size: 16px; font-weight: 720; outline: none; }
.join-name:focus, .room-link:focus { border-color: #4b9deb; box-shadow: 0 0 0 4px rgba(45,140,255,.09); }
.join-btn { width: 100%; margin-top: 10px; }
.host-secret { margin: 20px 0; padding: 16px 17px; border-radius: 18px; background: linear-gradient(145deg, #0b2c4e, #0c3c55); color: #fff; }
.host-secret span { display: block; color: #78d9ff; font-size: .67rem; letter-spacing: .15em; font-weight: 950; }
.host-secret strong { display: block; margin-top: 4px; font-size: 1.45rem; }
.host-secret small { display: block; margin-top: 3px; color: #b9cbda; }
.share-link-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; }
.room-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 9px; }
.board-head { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin: 26px 0 10px; }
.board-head h2 { margin: 2px 0 0; color: #173551; letter-spacing: -.035em; }
.board-head > span { color: #7d92a3; font-size: .8rem; font-weight: 800; }
.leaderboard { display: grid; gap: 7px; }
.leader-row { display: grid; grid-template-columns: 44px minmax(0,1fr) auto; gap: 9px; align-items: center; min-height: 55px; padding: 9px 12px; border: 1px solid #dce7ef; border-radius: 15px; background: #fbfdff; }
.leader-row strong { color: #173551; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.leader-score { color: #1c6f4a; font-weight: 950; }
.rank { text-align: center; color: #6c8295; font-weight: 950; }
.leader-row.top-1 { background: linear-gradient(90deg, #f9fff9, #fbfdff); border-color: #cbead6; }
.empty-board { padding: 22px 14px; border: 1px dashed #cadbe7; border-radius: 15px; color: #7c91a2; text-align: center; background: #fbfdff; }
.result-board { margin-top: 20px; padding-top: 2px; }
.mini-btn { min-height: 36px; padding: 7px 11px; border-radius: 10px; border: 1px solid #cfdee9; background: #fff; color: #2e648c; font-weight: 850; }

@media (max-width: 520px) {
  .share-link-row { grid-template-columns: 1fr; }
  .room-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .leader-row { grid-template-columns: 38px minmax(0,1fr) auto; }
}

.mode-card:disabled{opacity:.58;cursor:wait;transform:none!important;filter:saturate(.7)}
.mode-card:disabled .mode-cta{opacity:.7}

/* v0.16 — editorial sports skin: flatter, sharper, less generic SaaS */
:root {
  --paper: #f4f1e9;
  --paper-2: #ece8df;
  --ink: #0b2239;
  --muted: #647484;
  --line: #cfd5d8;
  --blue-500: #1568d4;
  --blue-400: #2c7be5;
  --teal-400: #18a99f;
  --teal-300: #43bfb5;
  --yes: #16824f;
  --no: #b33a45;
  --shadow-lg: none;
  --shadow-md: none;
}
html, body { background: var(--paper); }
body { min-height: 100vh; color: var(--ink); background: var(--paper); }
.site-bg, .orb, .grid-glow { display: none !important; }
.shell { width: min(100%, 1040px); background: var(--paper); border-left: 1px solid rgba(11,34,57,.07); border-right: 1px solid rgba(11,34,57,.07); }
.topbar { position: sticky; top: 0; background: rgba(244,241,233,.96); color: var(--ink); border-bottom: 1px solid #bfc7cb; backdrop-filter: none; padding: 12px 18px; }
.wordmark { font-size: 1.22rem; }
.wordmark .fan { color: var(--ink); }
.wordmark .sleuth { color: var(--blue-500); }
.logo-mark { width: 38px; height: 38px; border-radius: 9px; background: #0b2239; border: 0; box-shadow: none; }
.logo-ring { width: 27px; height: 27px; background: conic-gradient(#1972df 0 78deg, transparent 78deg 90deg, #1aa99f 90deg 168deg, transparent 168deg 180deg, #1972df 180deg 258deg, transparent 258deg 270deg, #1aa99f 270deg 348deg, transparent 348deg 360deg); }
.logo-ring::before { background: #0b2239; }
.topbar-meta { color: #5c6c7c; }
.build-pill { border-radius: 4px; background: transparent; border: 1px solid #c6ced2; color: #657687; padding: 3px 6px; }
main { padding: 28px 20px 58px; }

.editorial-hero { margin: 4px 0 38px; padding: 34px 0 28px; border: 0; border-radius: 0; border-bottom: 2px solid var(--ink); background: transparent; color: var(--ink); box-shadow: none; overflow: visible; grid-template-columns: minmax(0,1fr) auto; }
.eyebrow, .section-kicker { color: #546778; font-size: .66rem; letter-spacing: .16em; }
.editorial-hero h1 { max-width: 720px; font-size: clamp(2.65rem, 9vw, 5.2rem); color: var(--ink); line-height: .92; }
.editorial-hero h1 span { color: var(--blue-500); }
.hero-lede { margin-top: 15px; color: #536678; max-width: 550px; font-size: 1rem; }
.hero-scoreboard { min-width: 155px; align-self: stretch; padding: 14px 0 8px 26px; border-left: 1px solid #c2c9cc; display: flex; flex-direction: column; justify-content: end; }
.scoreboard-number { color: var(--ink); font-size: clamp(4.4rem, 10vw, 7rem); font-weight: 950; letter-spacing: -.09em; line-height: .8; font-variant-numeric: tabular-nums; }
.scoreboard-label { margin-top: 10px; color: #5d6d7a; font-size: .66rem; letter-spacing: .18em; font-weight: 900; }
.scoreboard-rule { width: 100%; height: 1px; background: #bac4c8; margin: 12px 0 8px; }
.scoreboard-meta { display: flex; justify-content: space-between; gap: 10px; color: #6f7c87; font-size: .66rem; font-weight: 900; letter-spacing: .06em; }
.section-head { margin: 0 0 10px; align-items: end; }
.section-head h2 { font-size: 1.5rem; letter-spacing: -.035em; }
.section-note { color: #7b878e; }
.sport-strip { gap: 6px; margin-bottom: 34px; }
.sport-chip { min-height: 39px; border-radius: 5px; border-color: #c5cccf; background: transparent; color: #64717c; box-shadow: none; }
.sport-chip.active { background: var(--ink); color: white; border-color: var(--ink); }
.sport-chip.locked { opacity: .45; }
.play-heading { margin-top: 4px; }
.editorial-modes { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 2px solid var(--ink); }
.mode-card, .mode-card.featured { position: relative; display: grid; grid-template-columns: 48px minmax(0,1fr) 30px; gap: 14px; align-items: center; min-height: 104px; padding: 18px 4px; border: 0; border-bottom: 1px solid #bfc8cc; border-radius: 0; background: transparent; color: var(--ink); box-shadow: none; text-align: left; }
.mode-card:hover { background: rgba(255,255,255,.28); transform: none; }
.mode-index { color: #879198; font-size: .67rem; font-weight: 900; letter-spacing: .12em; }
.mode-copy strong { display: block; color: var(--ink); font-size: 1.22rem; letter-spacing: -.025em; }
.mode-copy span { display: block; margin-top: 5px; color: #667581; line-height: 1.45; font-size: .86rem; }
.mode-arrow { justify-self: end; font-size: 1.35rem; color: var(--blue-500); }
.mode-card-top, .mode-badge, .mode-symbol, .mode-cta { display: none !important; }
.dev-strip { margin-top: 20px; padding: 9px 0 0; border: 0; border-top: 1px solid #ccd2d4; border-radius: 0; background: transparent; color: #7b858c; box-shadow: none; font-size: .7rem; }
.dev-strip strong { color: #52616c; }
.dev-dot { display:none; }

.game-wrap { max-width: 820px; margin: 0 auto; }
.game-nav { margin-bottom: 18px; }
.back-btn, .game-mode-pill { border-radius: 4px; }
.back-btn { background: transparent; border: 1px solid #c4cbce; color: #506170; }
.game-mode-pill { background: transparent; border: 1px solid #c4cbce; color: #657581; }
.game-summary { padding: 0 0 18px; margin-bottom: 0; border-bottom: 2px solid var(--ink); }
.game-summary h1 { color: var(--ink); font-size: clamp(2rem, 7vw, 3.7rem); }
.game-summary p { color: #6c7a86; }
.turn-orb { width: 74px; height: 74px; border-radius: 4px; background: var(--ink); color: white; box-shadow:none; }
.turn-orb.final { background: #9c6a11; }
.progress-panel { margin: 0 0 16px; padding: 11px 0 12px; border: 0; border-bottom: 1px solid #c8d0d3; border-radius: 0; background: transparent; box-shadow:none; }
.turn-track { height: 5px; border-radius: 0; background: #d6dbdd; }
.turn-fill { border-radius: 0; background: var(--blue-500); }
.play-card { border: 0; border-radius: 0; background: transparent; box-shadow: none; overflow: visible; }
.answer-board-wrap { padding: 0; background: transparent; }
.answer-board { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; min-height: 310px; }
.answer-bucket { min-width: 0; border: 1px solid #c7cfd2; background: rgba(255,255,255,.48); }
.bucket-head { height: 45px; display: flex; align-items: center; justify-content: space-between; padding: 0 13px; border-bottom: 1px solid #c7cfd2; font-size: .72rem; letter-spacing: .13em; font-weight: 950; }
.bucket-head strong { font-size: .78rem; font-variant-numeric: tabular-nums; }
.yes-bucket .bucket-head { color: #0f7445; border-top: 4px solid #16824f; }
.no-bucket .bucket-head { color: #a23440; border-top: 4px solid #b33a45; }
.bucket-list { height: 300px; overflow-y: auto; padding: 4px 12px 12px; }
.bucket-item { display: grid; grid-template-columns: 25px 1fr; gap: 8px; align-items: start; padding: 10px 0; border-bottom: 1px solid #d6dcde; color: #263d50; font-size: .83rem; line-height: 1.35; }
.bucket-item:last-child { border-bottom: 0; }
.bucket-turn { color: #8b969d; font-size: .65rem; font-weight: 900; font-variant-numeric: tabular-nums; padding-top: 2px; }
.bucket-empty { padding: 18px 0; color: #949da2; font-size: .78rem; }
.round-notice { margin-top: 10px; padding: 10px 12px; border-left: 3px solid #2876c1; background: rgba(255,255,255,.52); color: #506373; display: grid; gap: 2px; font-size: .79rem; }
.round-notice strong { color: #1f5f9e; }
.round-notice.free { border-left-color: #9b6a16; }
.round-notice.free strong { color: #805611; }
.composer { margin-top: 12px; padding: 14px 0 0; border-top: 2px solid var(--ink); background: transparent; }
.question-input { border-radius: 4px; background: #fff; border-color: #aeb9bf; }
.question-input:focus { box-shadow: none; border-color: var(--blue-500); outline: 2px solid rgba(21,104,212,.14); }
.primary-btn, .secondary-btn, .mic-btn, .give-up-btn, .danger-btn { border-radius: 4px; box-shadow: none; }
.primary-btn { background: var(--blue-500); }
.secondary-btn { background: #e1e6e8; }
.mic-btn { background: #fff; border-color: #b7c1c6; }
.mic-btn.active { background: #e5f3ee; border-color: #7dbb9e; color: #146841; }
.composer-actions { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; }
.give-up-btn { min-width: 78px; border: 1px solid #c4cbce; background: transparent; color: #7d5559; font-size: .76rem; font-weight: 850; }
.give-up-btn:hover { border-color: #b57d83; background: #f8eeee; }
.helper { color: #7c878e; }
.voice-status { border-radius: 4px; background: #e8f1ee; border-color: #b7cfbf; }

.modal-backdrop { background: rgba(7,19,31,.72); backdrop-filter: none; }
.modal { border-radius: 8px; background: var(--paper); border: 1px solid #bdc5c9; box-shadow: 0 18px 50px rgba(0,0,0,.22); }
.modal h2 { color: var(--ink); }
.guess-search { border-radius: 4px; border-width: 1px; border-color: #adb9bf; background: #fff; }
.guess-search:focus { box-shadow:none; outline:2px solid rgba(21,104,212,.14); border-color:var(--blue-500); }
.player-list { max-height: 390px; }
.player-option { grid-template-columns: 1fr auto; min-height: 50px; border: 0; border-bottom: 1px solid #cdd4d7; border-radius: 0; background: transparent; padding: 9px 2px; }
.player-option:hover { background: rgba(255,255,255,.42); }
.player-name small, .player-avatar { display:none; }
.pick-arrow { color: var(--blue-500); }
.danger-btn { min-height: 44px; padding: 11px 14px; border: 1px solid #a83c48; background: #a83c48; color: #fff; font-weight: 900; }
.giveup-modal { max-width: 430px; }

.challenge-hero { color: var(--ink); border-bottom: 2px solid var(--ink); padding-bottom: 18px; }
.challenge-hero p { color: #6c7a86; }
.challenge-card { border-radius: 0; border-width: 0 0 1px; background: transparent; box-shadow:none; }
.challenge-card .player-avatar { display:grid; }
.diff { border-radius: 4px; background: #e1e7ea; }
.join-card, .room-card, .result-card { border-radius: 8px; box-shadow:none; border-color:#c3cbce; }
.join-mark { border-radius: 4px; box-shadow:none; background:var(--blue-500); }
.host-secret { border-radius: 4px; background:var(--ink); }
.join-name, .room-link { border-radius:4px; }
.leader-row { border-radius:0; background:transparent; border-width:0 0 1px; }
.stat-box { border-radius:0; background:transparent; }
.result-hero { background: var(--ink); }
.result-card.won .result-hero { background: #0e5638; }
.result-card.won .solve-check { background:#198a54; box-shadow:none; }

.solve-screen { min-height: 620px; border-radius: 8px; background: #0d5b3a; box-shadow:none; }
.solve-ambient, .solve-sparks { display:none; }
.solve-logo-ring { background:#fff; color:#0d5b3a; box-shadow:none; }
.solve-eyebrow { color:#bde7cf; }
.solve-score-pill { border-radius:4px; background:rgba(255,255,255,.1); }
.solve-pulse-ring { border-color:rgba(255,255,255,.35); }
.toast { border-radius:4px; background:var(--ink); }

@media (min-width:760px) {
  .editorial-modes { grid-template-columns:1fr; }
}
@media (max-width:640px) {
  body { background: var(--paper); }
  main { padding: 18px 12px 34px; }
  .editorial-hero { grid-template-columns: minmax(0,1fr) 105px; gap: 10px; padding-top: 20px; }
  .hero-scoreboard { min-width:0; padding-left:13px; }
  .scoreboard-number { font-size:4.3rem; }
  .scoreboard-meta { display:grid; gap:3px; }
  .sport-strip { overflow-x:auto; flex-wrap:nowrap; padding-bottom:4px; }
  .sport-chip { flex:0 0 auto; }
  .answer-board { gap:7px; min-height:280px; }
  .bucket-list { height:270px; padding-left:9px; padding-right:9px; }
  .bucket-item { grid-template-columns:20px 1fr; gap:5px; font-size:.78rem; }
  .composer-row { gap:6px; }
  .mic-btn { width:56px; }
  .composer-actions { grid-template-columns:minmax(0,1fr) 76px; }
  .modal { border-radius:6px; padding:17px; }
  .solve-screen { min-height:560px; border-radius:6px; }
}


/* v0.18 — clue ledger + image-ready player rows */
.clue-board { display:grid; grid-template-columns:1fr 1fr; gap:10px; min-height:304px; }
.clue-column { min-width:0; background:#f8f6ef; border:1px solid #c8ced0; border-top:3px solid; }
.yes-bucket { border-top-color:var(--yes); }
.no-bucket { border-top-color:var(--no); }
.clue-head { min-height:54px; display:flex; align-items:center; justify-content:space-between; gap:8px; padding:8px 11px; border-bottom:1px solid #d0d5d6; }
.clue-head > div { display:flex; align-items:center; gap:8px; min-width:0; }
.clue-head-icon { width:25px; height:25px; display:grid; place-items:center; border:1px solid currentColor; font-weight:950; font-size:.82rem; }
.yes-bucket .clue-head { color:#116b43; }
.no-bucket .clue-head { color:#9c3440; }
.clue-head strong { display:block; font-size:.76rem; letter-spacing:.14em; }
.clue-head small { display:block; margin-top:1px; color:#748089; font-size:.62rem; font-weight:750; letter-spacing:.01em; }
.clue-head b { min-width:25px; text-align:right; font:800 .74rem/1 ui-monospace,SFMono-Regular,Consolas,monospace; color:#68747c; }
.clue-board .bucket-list { height:286px; overflow-y:auto; padding:0 10px 8px; }
.clue-row { display:grid; grid-template-columns:20px minmax(0,1fr) 28px; gap:7px; align-items:start; padding:9px 0; border-bottom:1px solid #d8ddde; color:#263c4e; }
.clue-row:last-child { border-bottom:0; }
.clue-icon { width:18px; height:18px; margin-top:1px; display:grid; place-items:center; border:1px solid #b9c1c4; font-size:.68rem; font-weight:950; }
.clue-row.yes .clue-icon { color:#116b43; border-color:#8dbca5; }
.clue-row.no .clue-icon { color:#9c3440; border-color:#c99aa0; }
.clue-text { min-width:0; font-size:.79rem; line-height:1.32; }
.clue-turn { text-align:right; color:#8a949a; font:700 .61rem/1.4 ui-monospace,SFMono-Regular,Consolas,monospace; }
.clue-board .bucket-empty { padding:16px 1px; color:#969da1; font-size:.72rem; line-height:1.35; }
.answer-board { display:none !important; }
.player-option { grid-template-columns:34px minmax(0,1fr) auto; gap:9px; }
.player-option-avatar { width:30px; height:30px; display:grid; place-items:center; overflow:hidden; border:1px solid #c4cbce; background:#e6eaeb; color:#53616c; font-size:.62rem; font-weight:900; letter-spacing:.02em; }
.player-option-avatar img { width:100%; height:100%; object-fit:cover; display:block; }
.result-player-line { display:flex; align-items:center; gap:13px; }
.result-photo { flex:0 0 auto; width:62px; height:62px; display:grid; place-items:center; overflow:hidden; border:1px solid #bac4c8; background:#e4e8e8; color:#53616c; font-weight:950; }
.result-photo img { width:100%; height:100%; object-fit:cover; display:block; }
@media (max-width:640px){
  .clue-board { gap:6px; min-height:276px; }
  .clue-head { min-height:49px; padding:7px 8px; }
  .clue-head-icon { width:22px; height:22px; }
  .clue-head small { display:none; }
  .clue-board .bucket-list { height:258px; padding:0 7px 7px; }
  .clue-row { grid-template-columns:17px minmax(0,1fr) 24px; gap:5px; padding:8px 0; }
  .clue-icon { width:16px; height:16px; font-size:.62rem; }
  .clue-text { font-size:.74rem; }
}


/* v0.18 final polish — human sports ledger, navigation, challenge search */
.brand-home { appearance:none; border:0; padding:0; margin:0; background:transparent; color:inherit; font:inherit; display:flex; align-items:center; gap:10px; cursor:pointer; text-align:left; }
.brand-home:focus-visible { outline:2px solid var(--blue-500); outline-offset:5px; border-radius:4px; }
.brand-home:hover .wordmark .sleuth { text-decoration:underline; text-underline-offset:3px; }
.mode-card.featured .mode-copy strong { color:var(--ink) !important; opacity:1 !important; }
.mode-card.featured .mode-copy span { color:#667581 !important; opacity:1 !important; }
.mode-card.featured .mode-index { color:#879198 !important; }
.mode-card.featured .mode-arrow { color:var(--blue-500) !important; }

/* Keep the deduction board feeling like a scorebook, not a chat app. */
.clue-board { gap:14px; min-height:300px; }
.clue-column { background:transparent; border:0; border-top:2px solid; }
.clue-head { padding:9px 2px 8px; min-height:50px; border-bottom:1px solid #bfc7ca; }
.clue-head-icon { width:22px; height:22px; border:0; font-size:.9rem; }
.clue-head strong { font-size:.75rem; letter-spacing:.16em; }
.clue-head small { color:#7b858c; font-weight:650; }
.clue-head b { color:#67737b; }
.clue-board .bucket-list { height:286px; padding:0 2px 6px; }
.clue-row { grid-template-columns:18px minmax(0,1fr) 28px; gap:7px; padding:10px 1px; border-bottom:1px solid #d1d6d8; }
.clue-icon { border:0; width:16px; height:18px; font-size:.74rem; }
.clue-text { color:#1e3447; font-size:.81rem; line-height:1.35; }
.clue-turn { color:#899298; }
.clue-board .bucket-empty { color:#929a9f; }

.challenge-picker { max-width:720px; margin-top:18px; }
.challenge-search-meta { margin:7px 0 6px; color:#7a858c; font-size:.7rem; font-weight:750; }
.challenge-dropdown { border-top:2px solid var(--ink); }
.challenge-result { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:66px; padding:8px 1px; border-bottom:1px solid #c8cfd2; }
.challenge-result .challenge-main { min-width:0; }
.challenge-result h3 { margin:0; color:var(--ink); font-size:.94rem; letter-spacing:-.015em; }
.challenge-result p { margin:2px 0 0; color:#77838b; font-size:.72rem; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.challenge-result .challenge-side { flex:0 0 auto; }
.challenge-avatar { display:grid !important; }
.primary-btn.compact { min-height:34px; padding:7px 10px; font-size:.72rem; }
.challenge-empty { padding:20px 2px; color:#7c878e; border-bottom:1px solid #c8cfd2; font-size:.82rem; }

@media (max-width:640px){
  .clue-board { gap:8px; }
  .clue-head { padding-left:1px; padding-right:1px; }
  .clue-row { grid-template-columns:15px minmax(0,1fr) 23px; gap:4px; }
  .clue-text { font-size:.74rem; }
  .challenge-result { gap:7px; }
  .challenge-result .diff { display:none; }
  .primary-btn.compact { padding:7px 8px; }
}

/* v0.19 — restrained sports-product polish */
.brand-home:hover .wordmark .sleuth { text-decoration:none !important; }
.brand-home { transition:opacity .12s ease; }
.brand-home:hover { opacity:.82; }
.brand-home:active { opacity:.68; }

/* Keep the interface closer to a printed scorecard than a generated SaaS UI. */
.primary-btn { background:#1768c9; box-shadow:none; border-radius:4px; }
.secondary-btn { border-radius:4px; }
.mic-btn { border-radius:4px; box-shadow:none; }
.question-input { border-radius:4px; box-shadow:none; background:#fffefa; }
.question-input:focus { box-shadow:none; outline:2px solid rgba(23,104,201,.14); }
.progress-panel { border-radius:0; background:transparent; border-width:0 0 1px; border-color:rgba(255,255,255,.18); padding-left:0; padding-right:0; }
.turn-track { border-radius:0; height:5px; }
.turn-fill { border-radius:0; background:#2d8cff; }
.turn-orb { border-radius:4px; background:rgba(255,255,255,.08); box-shadow:none; }
.play-card { border-radius:6px; box-shadow:0 10px 28px rgba(3,23,43,.10); }
.voice-status { border-radius:3px; }
.logo-mark, .logo-ring { box-shadow:none !important; }
.build-pill { border-radius:3px !important; }
.game-mode-pill { border-radius:3px !important; }
.sport-chip { border-radius:3px !important; }
.mode-card { border-radius:0 !important; box-shadow:none !important; }

/* Voice should communicate state without writing recognition guesses into the field. */
.mic-btn.listening { outline:2px solid rgba(23,168,100,.18); outline-offset:1px; box-shadow:none; }
.voice-status.live { background:#e5f2eb; }

/* Slightly tighter result presentation; photos slot in cleanly when licensed images are connected. */
.result-photo, .player-option-avatar, .challenge-avatar { border-radius:2px !important; }
.result-player { letter-spacing:-.02em; }

/* v0.20: persistent voice status, deliberately separate from game clues. */
.voice-readout{display:flex;gap:10px;align-items:flex-start;padding:11px 0 13px;font-size:13px;color:#24405a;border-bottom:1px solid #ced8d5;margin-bottom:12px}
.voice-readout>div{min-width:0}.voice-readout strong{display:block;font-size:12px;margin-bottom:4px}.voice-readout span{line-height:1.5}.voice-readout code{display:block;font:11px ui-monospace,monospace;margin-top:5px}
.voice-indicator{flex:0 0 8px;height:8px;border-radius:50%;background:#7e909b;margin-top:4px}.voice-indicator.live{background:#178049}.voice-error{color:#922529}.voice-error .voice-indicator{background:#a23132}
.voice-utility{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:12px}.voice-utility>span{font-size:10px;line-height:1.5;color:#5a6e7d}
.voice-check-link{border:0;background:transparent;color:#1466c7;padding:4px 0;cursor:pointer;font-size:12px;font-weight:700;min-height:32px;text-decoration:none}
.voice-check-link:hover{color:#0b2238}.voice-check-link:focus-visible{outline:2px solid #1466c7;outline-offset:3px}.build-warning{background:#fff3db;color:#5a3b0f;padding:14px 20px;font-size:14px;line-height:1.5;border-bottom:1px solid #d6c08a}
/* Keep remaining-turn text legible on the scorecard surface. */
.turn-orb{background:#eef2ef;border:1px solid #c7d0d1;color:#0b2238}.turn-orb strong{color:#0b2238}.turn-orb span{color:#4d6576}.progress-copy{color:#526775}.progress-copy strong{color:#0b2238}

/* v0.21: compact scorebook, deliberate primary action, and optional setup tools. */
[hidden] { display:none !important; }
button:disabled { cursor:not-allowed; opacity:.5; }
textarea, select { font:inherit; }
textarea:focus-visible,select:focus-visible { outline:3px solid #1768c966; outline-offset:2px; }
.brand-home, .brand-home:hover, .brand-home:hover .wordmark span { text-decoration:none !important; }
.game-wrap .play-card { box-shadow:none; background:transparent; border-radius:0; }
.clue-board { gap:28px; min-height:278px; }
.clue-head { padding:10px 0; border-bottom:1px solid #b8c1c2; }
.clue-head-icon { display:none; }
.clue-head strong { font-size:.8rem; letter-spacing:.12em; }
.clue-head small { display:inline; font-size:.68rem; color:#536570; font-weight:500; }
.clue-head b { font-size:.76rem; }
.clue-board .bucket-list { height:260px; padding:0; scrollbar-width:thin; scrollbar-color:#aab6ba transparent; }
.clue-row { grid-template-columns:24px minmax(0,1fr); padding:12px 0; gap:10px; border-bottom:1px solid #d5d9d6; }
.clue-row .clue-turn { text-align:left; padding-top:2px; color:#6b787e; font:500 .7rem/1.4 ui-monospace,Consolas,monospace; }
.clue-row .clue-text { font-size:.86rem; line-height:1.42; color:#1c3545; overflow-wrap:anywhere; }
.clue-board .bucket-empty { color:#67767a; font-size:.79rem; padding:22px 0; }
.round-notice { margin-top:12px; box-shadow:none; }
.composer { border-top:1px solid #bac3c4; padding-top:16px; }
.composer-actions { margin-top:12px; grid-template-columns:minmax(0,1fr) 80px; align-items:center; }
.guess-action { display:flex; align-items:center; gap:13px; width:100%; min-height:68px; padding:13px 18px; border:1px solid #103144; border-radius:7px; background:#12384b; color:#fff; box-shadow:none; text-align:left; transition:background .15s,transform .12s; }
.guess-action:hover { background:#1a4e64; }
.guess-action:active { transform:translateY(1px); background:#102f40; }
.guess-action:focus-visible { outline:3px solid #147aaf; outline-offset:3px; }
.guess-action-symbol { display:grid; place-items:center; width:32px; height:32px; flex-shrink:0; color:#70d3c5; }
.guess-action-symbol svg { width:28px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; }
.guess-action-copy { flex:1; min-width:0; }
.guess-action-copy strong { display:block; font-size:.98rem; font-weight:750; letter-spacing:-.01em; }
.guess-action-copy small { display:block; margin-top:3px; color:#c3d7df; font-size:.73rem; font-weight:400; }
.guess-action-arrow { font-size:1.3rem; }
.guess-action.final-guess-btn { background:#155d47; border-color:#155d47; }
.give-up-btn { width:auto; color:#697780; font-size:.77rem; }
.position-rules { font-size:.73rem; color:#546976; margin-top:12px; max-width:720px; }
.position-rules summary { cursor:pointer; width:fit-content; padding:5px 0; }
.position-rules p { line-height:1.55; margin:8px 0; }
.setup-wrap,.challenge-creator { max-width:820px; margin:auto; }
.setup-heading { padding:24px 0 26px; border-bottom:2px solid #183444; margin-bottom:26px; }
.setup-heading h1 { font-size:clamp(2rem,5vw,3.2rem); line-height:1.04; letter-spacing:-.055em; margin:10px 0 14px; }
.setup-heading p { margin:0; color:#536976; line-height:1.5; }
.difficulty-options { display:grid; gap:0; padding:0; border:0; margin:0; }
.difficulty-options legend { font-size:.73rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; margin-bottom:12px; }
.difficulty-option { display:grid; grid-template-columns:1fr 24px; gap:5px 20px; text-align:left; background:transparent; color:#183444; border:0; border-bottom:1px solid #cad1cf; padding:20px 14px; border-left:3px solid transparent; }
.difficulty-option > span:nth-child(2) { font-size:.83rem; color:#58707b; }
.difficulty-choice { display:flex; align-items:baseline; gap:15px; }
.difficulty-choice strong { font-size:1.1rem; }
.difficulty-count { color:#667980; font-size:.76rem; }
.difficulty-option .selection-dot { grid-column:2; grid-row:1 / 3; align-self:center; width:18px; height:18px; border-radius:50%; border:1.5px solid #95a8ae; }
.difficulty-option.selected { background:#e4eee9; border-left-color:#1c6753; }
.difficulty-option.selected .selection-dot { background:#216d58; border:5px solid #e4eee9; outline:1.5px solid #216d58; }
.difficulty-option:hover:not(:disabled) { background:#eaf0ed; }
.setup-note { font-size:.78rem; line-height:1.6; color:#5a6c73; margin:18px 0; }
.setup-start { margin-top:24px; padding-top:22px; display:flex; gap:18px; justify-content:space-between; align-items:center; border-top:1px solid #c3cccb; }
.setup-start > span { font-size:.8rem; color:#57707b; }
.setup-start .primary-btn { background:#163c4e; padding:13px 24px; min-height:48px; border-radius:5px; white-space:nowrap; }
.setup-start .primary-btn span { margin-left:18px; }
.selected-athlete { display:flex; justify-content:space-between; align-items:center; border-left:3px solid #28756b; padding:14px 18px; background:#e5eeea; margin:24px 0; }
.selected-athlete strong { display:block; font-size:1.3rem; margin:4px 0; }
.selected-athlete small { display:block; color:#5b6e76; }
.hint-editor { margin-top:30px; padding-top:22px; border-top:1px solid #c3cccb; }
.hint-editor-title { display:flex; justify-content:space-between; align-items:center; gap:16px; }
.hint-editor-title h2 { margin:6px 0; letter-spacing:-.035em; font-size:1.45rem; }
.hint-editor-title > span { font-size:.73rem; color:#5c707b; }
.hint-editor > p { color:#536b77; font-size:.87rem; line-height:1.55; }
.hint-toggle { display:flex; align-items:center; gap:10px; padding:12px 0; font-size:.92rem; }
.hint-toggle input { width:18px; height:18px; accent-color:#176451; }
.hint-field { display:flex; flex-direction:column; gap:7px; font-size:.74rem; color:#3b5969; font-weight:650; }
.hint-field textarea { display:block; width:100%; padding:11px 12px; border:1px solid #aebdbc; background:#fffefa; border-radius:4px; resize:vertical; min-height:76px; font-size:.88rem; color:#183444; font-weight:400; line-height:1.5; }
.hint-edit-row { display:grid; grid-template-columns:88px minmax(0,1fr) 34px; align-items:start; gap:14px; margin:20px 0; }
.hint-turn-label { display:flex; flex-direction:column; gap:7px; font-size:.74rem; color:#3b5969; font-weight:650; }
.hint-turn-label select { border:1px solid #aebdbc; border-radius:4px; background:#fffefa; color:#183444; min-height:44px; padding:8px; }
.hint-remove { margin-top:23px; width:34px; height:36px; border:0; background:transparent; color:#79545a; font-size:1.5rem; }
.hint-add { font-size:.83rem; background:transparent; color:#214b60; border:1px solid #aebdbc; margin-top:10px; }
.host-hints { border-left:3px solid #967437; margin:2px 0 22px; padding:13px 16px; background:#efebdd; }
.hint-section-title { display:flex; justify-content:space-between; gap:12px; align-items:baseline; }
.hint-section-title .section-kicker { color:#6e552a; margin:0; }
.hint-section-title > span:last-child { color:#76694b; font-size:.68rem; }
.unlocked-hint { margin-top:12px; }
.unlocked-hint > span { font-size:.68rem; color:#796842; }
.unlocked-hint p { margin:3px 0 8px; font-size:.88rem; line-height:1.5; color:#3e423a; white-space:pre-wrap; overflow-wrap:anywhere; }
.host-hints > small,.hint-waiting { color:#726d59; font-size:.72rem; line-height:1.5; }
.assisted-label { padding:10px 14px; margin:14px 0; font-size:.79rem; line-height:1.5; color:#695b35; background:#f0ebdc; border-left:2px solid #967437; }
.role-details { display:flex; flex-direction:column; gap:5px; margin:18px 0; color:#3a5b67; font-size:.84rem; }
.role-details span { font-size:.76rem; }
@media(max-width:600px) {
  .clue-board { gap:16px; }
  .clue-head strong { font-size:.77rem; }
  .clue-head small { display:none; }
  .clue-row { grid-template-columns:20px minmax(0,1fr); gap:7px; padding:11px 0; }
  .clue-row .clue-text { font-size:.79rem; }
  .clue-board .bucket-list { height:248px; }
  .composer-actions { grid-template-columns:minmax(0,1fr) 59px; }
  .guess-action { padding:12px; gap:9px; }
  .guess-action-copy strong { font-size:.92rem; }
  .guess-action-copy small { font-size:.65rem; }
  .setup-start { flex-wrap:wrap; }
  .setup-start .primary-btn { width:100%; }
  .hint-edit-row { grid-template-columns:70px minmax(0,1fr) 26px; gap:8px; }
  .hint-section-title { flex-direction:column; gap:4px; }
  .hint-editor-title { align-items:start; }
}
@media(prefers-reduced-motion:reduce) { .guess-action { transition:none; } }
.composer-actions .give-up-btn { min-width:0; width:100%; padding:10px 4px; border:0; background:transparent; white-space:nowrap; }
.back-btn { border:0; background:transparent; padding-left:0; }
@media(max-width:600px) { .mic-btn { min-width:60px; padding:8px 7px; } .mic-btn span:last-child { white-space:nowrap; font-size:.7rem; } }

/* v0.22: Unlimited's pool builder. Native controls; restrained scorecard styling. */
.unlimited-setup .setup-heading { margin-bottom:24px; padding-bottom:24px; }
.pool-filters { margin-bottom:26px; }
.filter-section-head { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:15px; }
.filter-section-head h2 { margin:0; font-size:1.08rem; font-weight:750; letter-spacing:-.025em; }
.clear-filters { padding:8px 0 8px 12px; background:none; border:0; color:#185e8e; font-size:.79rem; font-weight:650; cursor:pointer; }
.clear-filters:hover { color:#0b2238; }
.clear-filters:focus-visible,.filter-chip:focus-visible { outline:2px solid #1768c9; outline-offset:3px; }
.primary-pool-filters { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.pool-filter-field { display:flex; flex-direction:column; gap:8px; min-width:0; }
.pool-filter-field > label { font-size:.72rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:#486171; }
.pool-filter-field select { width:100%; min-width:0; min-height:50px; border:1px solid #a8b5b8; border-radius:4px; background:#fffefa; color:#123446; padding:10px 34px 10px 12px; font-size:.94rem; cursor:pointer; }
.pool-filter-field select:hover { border-color:#4d7787; }
.extra-pool-filters { margin-top:18px; padding-top:14px; border-top:1px solid #c8cfcb; }
.extra-pool-filters summary { width:fit-content; max-width:100%; cursor:pointer; font-size:.84rem; font-weight:650; color:#20465a; padding:5px 0; }
.extra-pool-filters summary > span { font-size:.73rem; font-weight:400; color:#657781; margin-left:8px; }
.secondary-pool-filters { display:grid; grid-template-columns:1fr 1fr 1fr; gap:15px; padding-top:16px; }
.secondary-pool-filters select { font-size:.84rem; min-height:46px; }
.unlimited-setup .compact-difficulty { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:0; border-top:1px solid #aebdbc; border-bottom:1px solid #aebdbc; }
.compact-difficulty legend { padding-right:10px; margin-bottom:12px; }
.compact-difficulty legend > span { text-transform:none; font-weight:400; letter-spacing:0; color:#647680; margin-left:7px; }
.compact-difficulty .difficulty-option { grid-template-columns:minmax(0,1fr) 18px; border:0; border-right:1px solid #c5cecb; border-bottom:3px solid transparent; padding:15px 12px 14px; gap:8px; }
.compact-difficulty .difficulty-option:last-child { border-right:0; }
.compact-difficulty .difficulty-option.selected { background:#e3ede7; border-bottom-color:#24705b; }
.compact-difficulty .difficulty-choice { display:block; }
.compact-difficulty .difficulty-choice strong { display:block; font-size:.89rem; line-height:1.3; }
.compact-difficulty .difficulty-count { display:block; margin-top:5px; font-size:.72rem; }
.compact-difficulty .difficulty-option > span:nth-child(2) { grid-column:1 / -1; font-size:.72rem; line-height:1.4; }
.compact-difficulty .difficulty-option .selection-dot { grid-column:2; grid-row:1; align-self:start; width:15px; height:15px; margin-top:2px; }
.filter-chips { display:flex; align-items:center; flex-wrap:wrap; gap:7px; margin:18px 0 10px; min-height:30px; }
.filter-chip { display:flex; align-items:center; gap:10px; padding:7px 10px; border:1px solid #b6c4c3; border-radius:3px; background:transparent; color:#245064; font-size:.74rem; cursor:pointer; }
.filter-chip:hover { background:#e7eeea; }
.filter-chip span { color:#5c787e; font-size:1rem; line-height:.8; }
.all-pool-note { font-size:.77rem; color:#516a76; }
.unlimited-setup .setup-note { margin-top:10px; margin-bottom:16px; }
.unlimited-setup .pool-data-note { font-size:.74rem; line-height:1.5; color:#706441; border-left:2px solid #aa9060; padding:4px 10px; }
.unlimited-setup .setup-start { margin-top:18px; padding-top:20px; }
.pool-match-status { display:flex; flex-direction:column; gap:5px; }
.pool-match-status strong { color:#173b4c; font-size:1.05rem; letter-spacing:-.02em; font-variant-numeric:tabular-nums; }
.pool-match-status > span { font-size:.74rem; color:#5b727d; }
.filter-empty,.filter-problem { padding:13px 16px; margin:15px 0; background:#eee7d8; color:#665338; border-left:3px solid #a48241; line-height:1.5; font-size:.81rem; }
.filter-empty strong,.filter-empty span { display:block; }
.filter-empty span { margin-top:3px; }
.filter-problem button { background:none; border:0; color:#154d75; font:inherit; font-weight:700; cursor:pointer; padding:2px; }
.round-filter-strip { display:flex; flex-wrap:wrap; align-items:center; gap:6px 12px; padding:10px 0; margin-bottom:14px; border-top:1px solid #cad1ce; border-bottom:1px solid #cad1ce; color:#476773; font-size:.74rem; }
.round-filter-strip strong { color:#20495a; font-size:.7rem; text-transform:uppercase; letter-spacing:.04em; }
.round-filter-strip > span:not(:last-child)::after { content:'·'; margin-left:12px; color:#71868b; }
.filter-results-note { font-size:.73rem; color:#5f7680; line-height:1.5; margin:0 0 18px; }
@media(max-width:600px) {
  .unlimited-setup .setup-heading { padding-top:12px; }
  .primary-pool-filters { grid-template-columns:1fr; gap:14px; }
  .secondary-pool-filters { grid-template-columns:1fr; gap:13px; }
  .pool-filter-field select,.secondary-pool-filters select { font-size:16px; min-height:48px; }
  .unlimited-setup .compact-difficulty { grid-template-columns:1fr 1fr; }
  .compact-difficulty .difficulty-option:nth-of-type(2n) { border-right:0; }
  .compact-difficulty .difficulty-option:nth-of-type(n+3) { border-top:1px solid #c5cecb; }
  .extra-pool-filters summary > span { display:block; margin:5px 0 0 17px; }
  .filter-section-head h2 { font-size:1rem; }
  .filter-chips { gap:7px; }
  .clear-filters { min-height:44px; }
  .filter-chip { min-height:36px; }
}
