:root{--accent-red: #d6533c;--accent-red-border: rgba(214, 83, 60, .36);--accent-red-shadow: rgba(214, 83, 60, .12);--page-bg: #fbfaf7;--page-wash-strong: rgba(247, 242, 231, .72);--page-wash-soft: rgba(251, 250, 247, .2);--focus-scrim: rgba(251, 250, 247, .54);--transparent-scrim: rgba(251, 250, 247, 0);--text: #171511;--text-strong: #15130f;--text-soft: #1f1b16;--muted: #766c5d;--muted-2: #635a4f;--panel-bg: rgba(255, 255, 255, .78);--panel-bg-strong: rgba(255, 255, 255, .9);--topbar-bg: rgba(255, 255, 255, .82);--surface: #fff;--surface-alt: #fcfbf8;--surface-soft: #f8f5ef;--surface-card: #fffdf8;--border: #ddd5c6;--border-soft: #e5ded1;--border-faint: #e8e1d4;--control-border: #d8d0c1;--inverse-bg: #171511;--inverse-text: #fff;--on-accent: #fff;--danger-text: #6f2f25;--success-bg: #f0f7ec;--danger-bg: #fff1ed;--warning-bg: #fff8ea;--panel-shadow: rgba(72, 58, 35, .07);--heavy-shadow: rgba(72, 58, 35, .16);color:var(--text);background:var(--page-bg);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}:root[data-theme=dark]{color-scheme:dark;--page-bg: #11100e;--page-wash-strong: rgba(214, 83, 60, .08);--page-wash-soft: rgba(17, 16, 14, .28);--focus-scrim: rgba(17, 16, 14, .58);--transparent-scrim: rgba(17, 16, 14, 0);--text: #f0ebe2;--text-strong: #fff7eb;--text-soft: #eee8de;--muted: #b5aa9b;--muted-2: #c8beb0;--panel-bg: rgba(29, 27, 24, .82);--panel-bg-strong: rgba(25, 23, 21, .94);--topbar-bg: rgba(27, 25, 22, .88);--surface: #1d1b18;--surface-alt: #151411;--surface-soft: #24211d;--surface-card: #191714;--border: #3a342b;--border-soft: #312b24;--border-faint: #2b2721;--control-border: #4a4237;--inverse-bg: #f2eadf;--inverse-text: #15130f;--on-accent: #fff;--danger-text: #f0b8ad;--success-bg: #17271b;--danger-bg: #2a1714;--warning-bg: #2a2112;--panel-shadow: rgba(0, 0, 0, .28);--heavy-shadow: rgba(0, 0, 0, .44)}*{box-sizing:border-box}body{margin:0;min-width:360px;min-height:100vh;color:var(--text);background:linear-gradient(180deg,var(--page-wash-strong),var(--page-wash-soft) 280px),var(--page-bg)}button,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed!important}body:has(.race-focus){overflow:hidden!important;height:100dvh!important}.app{min-height:100vh;display:flex;flex-direction:column;position:relative}.race-focus{height:100dvh!important;overflow:hidden!important}.app:before{content:"";position:fixed;inset:0;z-index:0;pointer-events:none;background:var(--transparent-scrim);-webkit-backdrop-filter:blur(0);backdrop-filter:blur(0);transition:background .26s ease,backdrop-filter .26s ease}.race-focus:before{background:var(--focus-scrim);-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}.topbar,.shell,.footer{position:relative;z-index:1}.loading-panel,.inline-error{border:1px solid var(--border);border-radius:8px;padding:18px 20px;background:var(--surface);color:var(--muted-2)}.inline-error{border-color:#bd8175;background:var(--danger-bg);color:var(--danger-text)}.maintenance-panel{display:grid;gap:8px;min-height:320px;align-content:center}.maintenance-panel h2{margin:0;color:var(--text);font-size:clamp(2rem,6vw,4rem)}.maintenance-panel p{max-width:560px;margin:0;color:var(--muted-2);line-height:1.5}.topbar{width:min(1180px,calc(100% - 32px));margin:22px auto 0;max-height:120px;min-height:68px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:16px;padding:10px 12px 10px 18px;border:1px solid var(--border);border-radius:18px;background:var(--topbar-bg);box-shadow:0 18px 38px var(--panel-shadow),0 8px 30px #d6533c14,inset 0 1px color-mix(in srgb,var(--surface) 78%,transparent);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);overflow:hidden;transition:max-height .26s ease,min-height .26s ease,margin .26s ease,padding .26s ease,opacity .18s ease,transform .26s ease,border-color .18s ease,box-shadow .18s ease}.brand{display:inline-flex;align-items:center;justify-self:start;font-family:inherit;font-size:1.35rem;font-weight:850;letter-spacing:-.03em}.theme-logo{position:relative;display:inline-grid;place-items:center}.brand-logo{width:42px;height:42px}.theme-logo img{width:100%;height:100%;grid-area:1 / 1;display:block;object-fit:contain}.theme-logo-dark{opacity:0}:root[data-theme=dark] .theme-logo-light{opacity:0}:root[data-theme=dark] .theme-logo-dark{opacity:1}.nav{display:flex;gap:6px;padding:5px;border:1px solid var(--border);border-radius:15px;background:var(--surface-soft);box-shadow:inset 0 1px 2px #483a230f}.nav-item,.ghost-button,.primary-button,.prompt-form button,.segmented button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;border-radius:10px;min-height:38px;padding:0 13px;color:var(--text-soft);background:transparent}.nav-item.active{background:var(--surface);border-color:var(--accent-red-border);box-shadow:0 7px 18px var(--panel-shadow),0 0 0 3px #d6533c0f}.ghost-button{justify-self:end;border-color:var(--border);background:var(--surface)}.shell{width:min(1180px,calc(100% - 32px));margin:34px auto;flex:1;display:flex;flex-direction:column;transition:width .26s ease,margin .26s ease}.race-focus .topbar{max-height:0;min-height:0;margin-top:0;padding-top:0;padding-bottom:0;opacity:0;pointer-events:none;transform:translateY(-18px);border-color:transparent;box-shadow:none}.race-focus .shell{width:min(1440px,calc(100% - 24px));margin:12px auto}.play-grid{display:grid;grid-template-columns:minmax(280px,390px) minmax(0,1fr);gap:18px;align-items:stretch}.race-page{display:flex;flex-direction:column;flex:1}.challenge-panel,.terminal-panel,.profile-panel,.feed-panel,.table-wrap,.stat-card,.static-panel{border:1px solid var(--border);background:var(--panel-bg);box-shadow:0 14px 30px var(--panel-shadow),0 8px 28px var(--accent-red-shadow)}.challenge-panel{border-radius:8px;padding:22px;display:grid;grid-template-rows:auto auto auto;align-content:start;gap:16px}.eyebrow{color:var(--muted);font-size:.74rem;font-weight:750;letter-spacing:.08em;text-transform:uppercase}h1,h2{margin:0;font-family:inherit;font-weight:800;letter-spacing:-.025em;color:var(--text-strong)}.challenge-panel h1,.section-head h1{font-size:clamp(2.4rem,5vw,4.9rem);line-height:.95}.challenge-legend{justify-self:center;color:var(--muted);font-size:.72rem;font-weight:850;letter-spacing:.12em;text-transform:uppercase}.taboo-card{width:min(300px,100%);min-height:auto;justify-self:center;display:grid;grid-template-rows:auto 1fr;overflow:hidden;border:1px solid var(--border);border-radius:12px;background:var(--surface-card);box-shadow:0 18px 36px var(--heavy-shadow),inset 0 0 0 5px var(--surface);transform:rotate(-.35deg)}.taboo-card-target{min-height:76px;display:grid;place-items:center;padding:12px 16px;color:var(--on-accent);background:linear-gradient(180deg,#ffffff2e,#601d1314),#d6533c;border-bottom:1px solid #a83d2d}.taboo-card-target h2{max-width:100%;color:var(--on-accent);font-family:inherit;font-weight:800;letter-spacing:-.02em;font-size:clamp(1.8rem,4vw,2.35rem);line-height:1;text-align:center;overflow-wrap:anywhere;text-shadow:0 1px 0 rgba(74,26,17,.35)}.taboo-card-body{display:grid;grid-template-rows:1fr auto;align-content:stretch;padding:18px 20px 20px;background:radial-gradient(circle at 50% 25%,rgba(214,83,60,.06),transparent 52%),var(--surface-card)}.forbidden-list{display:grid;gap:0;align-self:center}.forbidden-list span{min-height:36px;display:grid;place-items:center;border-top:1px solid var(--border-faint);color:var(--text-soft);font-size:1rem;font-weight:760;line-height:1.1;text-align:center}.forbidden-list span:last-child{border-bottom:1px solid var(--border-faint)}.taboo-card-logo{width:38px;height:38px;align-self:end;justify-self:center;object-fit:contain;opacity:.88}.challenge-stats-panel{display:grid;gap:12px;border:0;border-radius:14px;padding:14px;background:linear-gradient(180deg,#d6533c1a,#d6533c09),color-mix(in srgb,var(--surface) 62%,transparent);box-shadow:inset 0 1px color-mix(in srgb,var(--surface) 76%,transparent)}.tier{border:1px solid var(--border);border-radius:999px;padding:7px 10px;color:var(--muted-2);font-size:.86rem;border-color:var(--border);background:var(--surface)}.share-card span{border:1px solid var(--border);border-radius:8px;padding:7px 10px;color:var(--muted-2);font-size:.86rem;border-color:var(--border);background:var(--surface)}.metric-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.metric{min-height:76px;border:0;border-radius:12px;padding:11px 10px;background:color-mix(in srgb,var(--surface) 82%,transparent);box-shadow:0 8px 18px #97462d14,inset 0 0 0 1px #d6533c1f;display:grid;gap:4px;text-align:center;justify-content:center}.metric svg{color:#b74734}.metric span,.stat-card span,.feed-item span{color:var(--muted);font-size:.78rem;font-weight:700}.metric strong,.stat-card strong{font-family:inherit;font-weight:800;font-size:1.5rem;letter-spacing:-.02em}.result{display:flex;align-items:center;gap:10px;min-height:46px;padding:0 12px;border:1px solid var(--border);border-radius:8px;background:var(--surface);font-weight:750}.result.solved{border-color:#76926e;background:var(--success-bg)}.result.failed{border-color:#bd8175;background:var(--danger-bg)}.share-card{display:grid;gap:12px;padding:14px;border:1px dashed var(--border-soft);border-radius:8px;background:color-mix(in srgb,var(--surface) 35%,transparent)}.share-header-row{width:100%;text-align:left}.share-action-row{display:flex;align-items:center;gap:8px;width:100%}.status-pill{font-size:.8rem;font-weight:750;padding:4px 10px;border-radius:8px;border:1px solid var(--border)}.status-pill.solved{border-color:#76926e;background:var(--success-bg);color:var(--success-text, #a3d99d)}.status-pill.failed{border-color:#bd8175;background:var(--danger-bg);color:var(--danger-text, #f7a399)}.share-card .share-score,.share-card .share-button{flex:1 1 50%;width:50%;height:36px;min-height:36px;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;margin:0;padding:0 10px;border-radius:8px;font-size:.82rem}.share-card .share-score{border:1px solid var(--border);color:var(--muted-2);background:var(--surface);font-weight:700;letter-spacing:.04em}.terminal-panel{position:relative;min-height:680px;border-radius:8px;display:grid;grid-template-rows:auto 1fr auto;overflow:hidden}.daily-terminal{grid-template-rows:1fr auto}.race-terminal{min-height:760px}.race-terminal .race-active-card-strip{grid-row:1!important}.race-terminal .race-chat{grid-row:2!important}.race-terminal .race-prompt-form{grid-row:3!important}.race-focus .race-page{min-height:calc(100vh - 24px)}.race-focus .race-terminal{min-height:calc(100vh - 24px);height:calc(100vh - 24px);background:var(--panel-bg-strong);box-shadow:0 24px 80px var(--heavy-shadow),0 10px 42px #d6533c1a,inset 0 1px color-mix(in srgb,var(--surface) 82%,transparent);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.floating-start{position:absolute;top:50%;left:50%;width:118px;height:118px;transform:translate(-50%,-50%);border:1px solid var(--inverse-bg);border-radius:999px;color:var(--inverse-text);background:var(--inverse-bg);font-family:inherit;font-weight:800;font-size:1.35rem;letter-spacing:-.02em;box-shadow:0 18px 38px var(--heavy-shadow),0 8px 26px #d6533c1f}.terminal-head,.section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px;border-bottom:1px solid var(--border-soft)}.terminal-head h2,.section-head h2{margin-top:3px;font-size:1.7rem}.primary-button{background:var(--inverse-bg);color:var(--inverse-text)}.model-control{position:relative;display:inline-flex;align-items:center;gap:8px}.model-control.locked{min-height:38px;border:1px solid var(--border);border-radius:10px;padding:0 12px;background:var(--surface);color:var(--muted-2)}.model-control select{min-height:38px;appearance:none;border:1px solid var(--border);border-radius:10px;padding:0 34px 0 12px;color:var(--text-soft);background:var(--surface)}.model-control svg{position:absolute;right:12px;pointer-events:none;color:var(--muted)}.model-control.locked svg{position:static}.chat-log{padding:18px;display:flex;flex-direction:column;gap:12px;overflow:auto;background:var(--surface-alt)}.message{max-width:82%;border:1px solid var(--border);border-radius:8px;padding:12px 14px;background:var(--surface)}.message.user{align-self:flex-end;border-color:var(--text-soft)}.message.guard{border-color:#bd8175;background:var(--danger-bg)}.message.solved{border-color:#76926e;background:var(--success-bg)}.message span{display:block;margin-bottom:6px;color:var(--muted);font-size:.76rem;font-weight:800;text-transform:uppercase}.message p{margin:0;line-height:1.45}.race-chat{gap:18px}.race-intro{display:grid;gap:10px}.race-intro small{color:var(--muted)}.race-setup-controls{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.custom-select-wrapper{position:relative;display:inline-flex;align-items:center;min-width:180px;height:44px}.custom-select-wrapper select{width:100%;height:44px;appearance:none;border:1px solid var(--control-border);border-radius:8px;padding:0 34px 0 12px;color:var(--muted-2);background:var(--surface);outline:none;font-family:inherit;font-weight:600;font-size:.92rem;cursor:pointer;transition:border-color .18s ease,color .18s ease}.custom-select-wrapper select:focus,.custom-select-wrapper select:hover{border-color:var(--text-soft);color:var(--text)}.custom-select-wrapper:after{content:"";position:absolute;right:14px;width:7px;height:7px;border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);transform:rotate(45deg);pointer-events:none}.custom-select-wrapper option{background:var(--panel-bg-strong);color:var(--text);font-family:inherit;font-size:.95rem;padding:8px}.race-join-button{justify-self:start}.race-room-card,.race-results{border:1px solid var(--border);border-radius:8px;padding:14px 16px;background:var(--surface);box-shadow:0 10px 24px var(--panel-shadow),0 6px 22px #d6533c14}.race-room-card{display:grid;gap:5px}.race-room-card span,.race-prompt-audit>span{display:block;color:var(--muted);font-size:.76rem;font-weight:800;text-transform:uppercase}.race-room-card strong{font-family:inherit;font-weight:800;font-size:1.45rem;letter-spacing:-.02em}.race-room-card p{margin:0;line-height:1.45}.custom-race-metadata{margin-top:10px;color:var(--muted-2);font-size:.85rem;line-height:1.45}.custom-race-metadata strong{color:var(--text-strong);font-size:inherit;font-weight:800;letter-spacing:0}.race-removal-overlay{position:absolute;inset:0;z-index:20;display:grid;place-items:center;padding:20px;background:#00000085;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.race-removal-dialog,.race-waiting-results{width:min(100%,560px);border:1px solid var(--border);border-radius:8px;background:var(--panel-bg-strong);box-shadow:0 20px 48px var(--heavy-shadow);padding:20px;text-align:center}.race-removal-dialog span,.race-waiting-results>span{display:block;margin-bottom:8px;color:var(--muted);font-size:.74rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.race-removal-dialog h2,.race-waiting-results h2{margin:0 0 8px;color:var(--text-strong);font-size:1.2rem;font-weight:850;letter-spacing:0}.race-removal-dialog p,.race-waiting-results p{margin:0 auto 14px;max-width:420px;color:var(--muted);line-height:1.45}.race-home-link{min-height:38px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;padding:0 16px;font-size:.88rem;font-weight:800;text-decoration:none}.race-waiting-results{align-self:center}.race-waiting-summary{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}.race-waiting-summary span{border:1px solid var(--border-soft);border-radius:999px;padding:4px 10px;color:var(--text-soft);background:var(--surface-under);font-size:.78rem;font-weight:750}.race-round-block{display:grid;gap:12px}.race-round-card{display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;gap:0!important;border:1px solid var(--border-soft)!important;border-radius:12px!important;background:var(--surface)!important;padding:0!important;margin:0 auto 12px!important;overflow:hidden!important;box-shadow:0 4px 16px #0000000f!important;width:min(100%,720px)!important;box-sizing:border-box}.race-round-card-target{background:var(--accent-red)!important;color:#fff!important;padding:8px 12px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;width:100%!important;box-sizing:border-box}:root[data-theme=light] .race-round-card-target{background:#e1553d!important}.race-round-card-target span{font-size:.74rem!important;font-weight:750!important;letter-spacing:.08em!important;text-transform:uppercase!important;opacity:.85}.race-round-card-target strong{font-size:1.15rem!important;font-weight:850!important;text-transform:uppercase!important;letter-spacing:.05em!important}.race-round-card-body{padding:10px 14px!important;background:transparent!important;display:flex!important;justify-content:center!important;align-items:center!important;width:100%!important;box-sizing:border-box}.race-round-card-body .race-forbidden-chips{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;justify-content:center!important;align-items:center!important;gap:0!important;overflow:visible!important;white-space:normal!important;padding:2px 0!important;min-width:0!important;text-align:center!important;width:100%!important}.race-round-card-body .race-forbidden-chips span{display:inline!important;background:transparent!important;border:none!important;padding:0!important;margin:0!important;font-size:.85rem!important;font-weight:700!important;color:var(--text-soft)!important;text-transform:lowercase!important;box-shadow:none!important;min-height:0!important}.race-round-card-body .race-forbidden-chips span:not(:last-child):after{content:" | "!important;margin:0 6px!important;color:var(--border-soft)!important}.race-bubble-stack{display:grid;gap:10px}.race-lobby-bubbles{display:grid;gap:10px;padding-top:2px}.race-player-bubble{display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;gap:0!important;border:1px solid var(--border-soft)!important;border-radius:12px!important;background:var(--surface)!important;padding:0!important;margin:0 auto 12px!important;overflow:hidden!important;box-shadow:0 4px 16px #0000000f!important;width:min(100%,720px)!important;box-sizing:border-box;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.race-lobby-bubbles .race-player-bubble{width:100%!important}.race-bubble-head{background:var(--player-header-bg)!important;color:#fff!important;padding:8px 12px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;width:100%!important;box-sizing:border-box}.race-bubble-head strong{color:#fff!important;font-size:.88rem!important;font-weight:850!important;text-transform:uppercase!important;letter-spacing:.05em!important}.race-bubble-actions{display:inline-flex;align-items:center;gap:6px;flex:none}.race-status-pill{flex:none!important;border:none!important;border-radius:4px!important;padding:2px 6px!important;color:#fff!important;background:#00000026!important;font-size:.65rem!important;font-weight:750!important;text-transform:uppercase!important;letter-spacing:.04em!important}.race-remove-player-button{width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.42);border-radius:5px;background:#00000029;color:#fff;cursor:pointer;padding:0}.race-remove-player-button:hover{background:#00000047;border-color:#ffffffad}.race-bubble-metrics{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;justify-content:center!important;align-items:center!important;gap:0!important;overflow:visible!important;white-space:normal!important;padding:10px 14px!important;min-width:0!important;text-align:center!important;width:100%!important;box-sizing:border-box;background:transparent!important}.race-bubble-metrics span{display:inline!important;background:transparent!important;border:none!important;padding:0!important;margin:0!important;font-size:.85rem!important;font-weight:700!important;color:var(--text-soft)!important;box-shadow:none!important;min-height:0!important}.race-bubble-metrics span:not(:last-child):after{content:" | "!important;margin:0 6px!important;color:var(--border-soft)!important}.race-terminal:not(.race-finished) .race-player-bubble.status-idle{animation:pulseIdle 2.4s ease-in-out infinite}.race-racing .race-player-bubble.status-wrong,.race-racing .race-player-bubble.status-guessed{border-color:#c68723!important;background:var(--surface)!important;animation:pulseWrong .95s ease-in-out infinite}.race-racing .race-player-bubble.status-rejected,.race-racing .race-player-bubble.status-error,.race-racing .race-player-bubble.status-failed{border-color:#bd8175!important;background:var(--surface)!important;animation:pulseRejected .8s ease-in-out infinite}.race-racing .race-player-bubble.status-solved{border-color:#47a86d!important;background:var(--surface)!important;animation:pulseSolved .48s ease-in-out infinite}.race-player-bubble.status-complete{border-color:var(--border-soft)!important;background:var(--surface)!important}.race-racing .race-player-bubble.status-thinking,.race-racing .race-player-bubble.status-submitted{animation:pulseThinking 1.05s ease-in-out infinite}.race-player-bubble em{display:block!important;text-align:center!important;font-size:.78rem!important;color:var(--muted-2)!important;padding:0 14px 10px!important;width:100%!important;box-sizing:border-box;font-style:italic}.race-prompt-audit{width:100%;display:grid;gap:14px;padding:16px}.audit-round-group{display:grid;gap:9px}.audit-round-label{justify-self:start;border:1px solid var(--border);border-radius:999px;padding:4px 9px;background:var(--surface)}.audit-row{display:grid;gap:7px;padding:13px 14px;border:1px solid #d8c49c;border-radius:8px;background:var(--warning-bg)}.audit-row.solved{border-color:#7fb487;background:var(--success-bg)}.audit-row.rejected{border-color:#bd8175;background:var(--danger-bg)}.audit-row strong{color:var(--muted);font-size:.75rem;text-transform:uppercase}.audit-row p,.audit-row em{margin:0;line-height:1.4}.audit-row em{color:var(--muted-2);font-style:normal}.race-results{display:grid;gap:12px}@keyframes pulseSolved{0%,to{box-shadow:0 0 #47a86d61;transform:translateY(0) scale(1)}50%{box-shadow:0 0 0 11px #47a86d00;transform:translateY(-2px) scale(1.012)}}@keyframes pulseWrong{0%,to{box-shadow:0 0 #c6872352;transform:scale(1)}50%{box-shadow:0 0 0 8px #c6872300;transform:scale(1.006)}}@keyframes pulseRejected{0%,to{box-shadow:0 0 #bd81755c;transform:translate(0)}50%{box-shadow:0 0 0 9px #bd817500;transform:translate(-2px)}}@keyframes pulseThinking{0%,to{box-shadow:0 0 #766c5d38}50%{box-shadow:0 0 0 7px #766c5d00}}@keyframes pulseIdle{0%,to{box-shadow:0 0 #766c5d21;transform:scale(1)}50%{box-shadow:0 0 0 5px #766c5d00;transform:scale(1.002)}}.race-result-row{display:grid;border:1px solid var(--border);border-radius:10px;background:var(--surface-alt);overflow:hidden;transition:border-color .18s ease,background .18s ease}.race-result-button{width:100%;display:grid;gap:7px;padding:16px;border:0;color:inherit;text-align:left;background:transparent}.race-result-button strong{font-size:1rem}.race-result-button span{font-size:.96rem}.race-result-row.current{border-color:var(--border);background:var(--surface-alt)}.race-result-row:has(.race-audit-drawer.open){border-color:var(--text-soft)}.race-result-row small{color:var(--muted)}.race-audit-drawer{max-height:0;opacity:0;overflow:hidden;transform:translateY(-8px);transition:max-height .28s ease,opacity .18s ease,transform .28s ease}.race-audit-drawer.open{max-height:2400px;opacity:1;overflow:visible;transform:translateY(0);border-top:1px solid var(--border)}.prompt-form{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;padding:10px;border-top:1px solid var(--border-soft);background:var(--surface)}.prompt-form.race-prompt-form{grid-template-columns:minmax(0,1fr) auto auto auto!important}.prompt-form input{width:100%;min-width:0;height:44px;border:1px solid var(--control-border);border-radius:8px;padding:0 14px;outline:none;line-height:44px;color:var(--text);background:var(--surface)}.prompt-form input:focus{border-color:var(--text-soft)}.prompt-model-select{position:relative;display:inline-flex;align-items:center;min-width:132px;height:44px}.prompt-model-select select{width:100%;height:44px;appearance:none;border:1px solid var(--control-border);border-radius:8px;padding:0 34px 0 12px;color:var(--muted-2);background:var(--surface);outline:none}.prompt-model-select select:focus{border-color:var(--accent-red-border)}.prompt-model-select svg{position:absolute;right:12px;color:var(--muted);pointer-events:none}.prompt-race-kind-select{position:relative;display:inline-flex;align-items:center;min-width:132px;height:44px}.prompt-race-kind-select select{width:100%;height:44px;appearance:none;border:1px solid var(--control-border);border-radius:8px;padding:0 34px 0 12px;color:var(--muted-2);background:var(--surface);outline:none}.prompt-race-kind-select select:focus{border-color:var(--accent-red-border)}.prompt-race-kind-select svg{position:absolute;right:12px;color:var(--muted);pointer-events:none}.prompt-form button{align-self:center;min-width:84px;min-height:44px;color:var(--inverse-text);background:var(--inverse-bg)}.prompt-form button:disabled{cursor:not-allowed;opacity:.45}.page-stack{display:grid;gap:18px}.static-panel{max-width:880px;margin:0 auto;border-radius:8px;padding:28px;display:grid;gap:18px}.static-panel .section-head{padding-bottom:6px}.static-panel h1{font-size:clamp(2.5rem,5vw,4.4rem);line-height:.95}.static-intro{max-width:680px;margin:0;color:var(--muted-2);font-size:1.08rem;line-height:1.55}.static-updated{font-size:.74rem;color:var(--muted);font-weight:750;text-transform:uppercase;letter-spacing:.08em;margin-top:-6px;margin-bottom:2px}.static-sections{display:grid;gap:14px}.static-sections article{border-top:1px solid var(--border-faint);padding-top:14px}.static-sections h2{margin-bottom:7px;font-size:1.08rem}.static-sections p{max-width:760px;margin:0;color:var(--muted-2);line-height:1.55}.static-contact{justify-self:start;text-decoration:none}.section-head{padding:0 0 16px;border:0}.section-head.compact{padding:20px;border-bottom:1px solid var(--border-soft)}.segmented{display:flex;padding:4px;border:1px solid var(--border);border-radius:12px;background:var(--surface-soft)}.segmented button.active{background:var(--surface);border-color:var(--border)}.table-wrap{border-radius:8px;overflow-x:auto}table{width:100%;border-collapse:collapse;min-width:760px}th,td{padding:16px 18px;text-align:left;border-bottom:1px solid var(--border-faint)}th{color:var(--muted);font-size:.78rem;text-transform:uppercase}tr:last-child td{border-bottom:0}.current-user td{background:var(--success-bg);font-weight:750}.tier.pro{border-color:var(--inverse-bg);background:var(--inverse-bg);color:var(--inverse-text)}.account-grid{display:grid;grid-template-columns:320px minmax(0,1fr);gap:18px;align-items:stretch}.account-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:18px;align-items:start}.account-sidebar,.account-content{min-width:0}.account-sidebar{position:sticky;top:18px;display:grid;gap:14px;border:1px solid var(--border);border-radius:8px;padding:16px;background:var(--panel-bg);box-shadow:0 14px 30px var(--panel-shadow),0 8px 28px var(--accent-red-shadow)}.account-sidebar-user{display:grid;gap:8px;padding-bottom:14px;border-bottom:1px solid var(--border-soft)}.account-sidebar-user strong{font-family:inherit;font-weight:800;font-size:1.35rem;line-height:1.05;letter-spacing:-.02em;overflow-wrap:anywhere}.account-sidebar-user span{color:var(--muted);font-size:.88rem}.account-menu{display:grid;gap:6px}.account-menu button{min-height:40px;display:inline-flex;align-items:center;gap:10px;border:1px solid transparent;border-radius:10px;padding:0 11px;color:var(--text);background:transparent;text-align:left}.account-menu button.active{border-color:var(--accent-red-border);background:var(--surface);box-shadow:0 0 0 3px #d6533c0f}.account-content{display:grid;gap:18px}.profile-panel,.feed-panel,.settings-panel{border-radius:8px;min-width:0}.profile-panel{padding:24px;align-self:start;display:grid;gap:12px;overflow:hidden}.profile-panel h1{max-width:100%;margin:4px 0 0;font-size:clamp(2rem,2.6vw,2.8rem);line-height:1.02;overflow-wrap:anywhere}.profile-panel .primary-button{width:100%;max-width:100%;margin-top:4px}.avatar{width:72px;height:72px;display:grid;place-items:center;border-radius:50%;background:var(--inverse-bg);color:var(--inverse-text);font-family:inherit;font-weight:700;font-size:2rem;letter-spacing:-.03em}.image-avatar{object-fit:cover;border:1px solid var(--border);background:var(--surface)}.profile-panel p,.stat-card p{margin:0;color:var(--muted-2)}.profile-email{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;min-width:0}.stats-grid.account-stats-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.stat-card{min-height:180px;border-radius:8px;padding:18px 18px 20px;display:grid;grid-template-rows:auto 1fr auto;gap:8px;min-width:0;overflow:hidden}.stat-card strong{align-self:center;max-width:100%;font-size:clamp(1.75rem,2.2vw,2.3rem);line-height:1;overflow-wrap:anywhere}.account-stats-grid .stat-card strong{font-size:clamp(1.45rem,1.85vw,2.05rem);font-variant-numeric:tabular-nums;white-space:nowrap}.stat-card p{max-width:12rem;line-height:1.12}.feed-panel,.settings-panel{grid-column:1 / -1}.settings-panel{border:1px solid var(--border);background:var(--panel-bg);box-shadow:0 14px 30px var(--panel-shadow),0 8px 28px var(--accent-red-shadow)}.profile-form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) auto;gap:14px;align-items:end;padding:18px 20px 20px}.profile-form.account-profile-form{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-form label{display:grid;gap:7px;min-width:0}.profile-form label span{color:var(--muted);font-size:.78rem;font-weight:800;text-transform:uppercase}.profile-form input,.profile-form select{min-height:42px;width:100%;border:1px solid var(--control-border);border-radius:8px;padding:0 12px;color:var(--text);background:var(--surface);outline:none}.profile-form select:focus{border-color:var(--text-soft)}.profile-form input:focus{border-color:var(--text-soft)}.profile-form input[readonly]{color:var(--muted);background:var(--surface-soft)}.profile-form .primary-button{min-width:132px}.feed-item{padding:18px 20px;border-top:1px solid var(--border-faint)}.feed-item p{max-width:850px;margin:6px 0 0;line-height:1.55}.feed-item.empty{background:var(--surface-alt)}.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:18px 20px 20px}.plan-card,.breakdown-card{border:1px solid var(--border);border-radius:8px;padding:16px;background:var(--surface)}.plan-card.active{border-color:var(--accent-red-border);box-shadow:0 0 0 3px #d6533c0f}.plan-card span{color:var(--muted);font-size:.72rem;font-weight:850;letter-spacing:.1em;text-transform:uppercase}.plan-card h3,.breakdown-card h3{margin:8px 0;font-family:inherit;font-weight:800;font-size:1.35rem;letter-spacing:-.02em}.plan-card p,.breakdown-card p{margin:0;color:var(--muted-2);line-height:1.45}.pricing-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.pricing-card{display:grid;gap:14px;align-content:start;min-height:430px;padding:22px;border:1px solid var(--border);border-radius:10px;background:var(--panel-bg);box-shadow:0 14px 34px var(--panel-shadow),0 8px 26px var(--accent-red-shadow)}.pricing-card.featured{border-color:var(--accent-red-border);background:linear-gradient(180deg,color-mix(in srgb,var(--accent-red) 8%,transparent),transparent 42%),var(--panel-bg)}.pricing-card>span{color:var(--muted);font-size:.74rem;font-weight:850;letter-spacing:.1em;text-transform:uppercase}.pricing-card h2{margin:0;font-family:inherit;font-weight:800;font-size:clamp(2rem,3vw,3rem);letter-spacing:-.03em}.pricing-card>strong{color:var(--text-strong);font-family:inherit;font-weight:800;font-size:1.7rem;letter-spacing:-.03em}.pricing-card p{margin:0;color:var(--muted-2);line-height:1.45}.pricing-card ul{display:grid;gap:8px;margin:0;padding-left:18px;color:var(--text-soft);line-height:1.35}.pricing-card .primary-button,.pricing-card .ghost-button{margin-top:auto;width:100%}.pricing-note{margin:2px 0 0;color:var(--muted);font-size:.92rem}.billing-panel{display:flex;justify-content:space-between;gap:18px;padding:18px 20px 20px;border-top:1px solid var(--border-faint)}.billing-panel h3{margin:6px 0 8px;font-family:inherit;font-weight:800;font-size:1.35rem;letter-spacing:-.02em}.billing-panel p{margin:3px 0;color:var(--muted-2)}.billing-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}.history-game{border-top:1px solid var(--border-faint);transition:background-color .2s ease}.history-game:hover{background:#ffffff04}.history-game-button{width:100%;display:grid;gap:6px;border:0;padding:18px 20px;color:inherit;background:transparent;text-align:left;cursor:pointer}.history-game-header-row{display:flex;justify-content:space-between;align-items:center;gap:12px}.history-game-button strong{font-size:1.05rem;font-weight:600;letter-spacing:-.01em}.history-game-button span{color:var(--muted);font-size:.88rem}.history-prompts{max-height:0;display:grid;gap:12px;overflow:hidden;padding:0 20px;opacity:0;transition:max-height .3s cubic-bezier(.4,0,.2,1),opacity .2s ease,padding .3s cubic-bezier(.4,0,.2,1)}.history-prompts.open{max-height:1600px;padding:0 20px 24px;opacity:1}.history-section-head{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px;margin-bottom:8px}.history-header-actions{display:flex;align-items:center;gap:16px}.history-kind-switch{display:flex;background:var(--bg-card);border:1px solid var(--border-faint);padding:3px;border-radius:8px}.history-kind-switch button{padding:6px 14px;font-size:.85rem;font-weight:500;color:var(--muted);background:transparent;border:0;border-radius:6px;cursor:pointer;transition:all .2s ease}.history-kind-switch button:hover{color:var(--fg)}.history-kind-switch button.active{color:#fff;background:var(--border);box-shadow:0 2px 8px #0003}.rank-badge{font-size:.78rem;font-weight:700;padding:4px 10px;border-radius:8px;text-transform:uppercase;letter-spacing:.05em;display:inline-flex;align-items:center;justify-content:center}.rank-badge.rank-1{background:#ffd70026;color:gold;border:1px solid rgba(255,215,0,.25)}.rank-badge.rank-2{background:#c0c0c026;color:silver;border:1px solid rgba(192,192,192,.25)}.rank-badge.rank-3{background:#cd7f3226;color:#cd7f32;border:1px solid rgba(205,127,50,.25)}.rank-badge:not(.rank-1):not(.rank-2):not(.rank-3){background:#ffffff0f;color:var(--muted);border:1px solid var(--border-faint)}.race-history-standings-box,.race-history-rounds-box{background:var(--bg-card);border:1px solid var(--border-faint);border-radius:8px;padding:16px;margin-top:10px}.race-history-standings-box h4,.race-history-rounds-box h4{margin:0 0 14px;font-size:.95rem;font-weight:600;color:var(--fg);letter-spacing:-.01em}.race-history-table{width:100%;border-collapse:collapse;font-size:.88rem}.race-history-table th{text-align:left;color:var(--muted);font-weight:500;font-size:.8rem;padding:8px 12px;border-bottom:1px solid var(--border-faint)}.race-history-table td{padding:10px 12px;border-bottom:1px solid rgba(255,255,255,.02)}.race-history-table tr:last-child td{border-bottom:0}.race-history-table tr.row-highlight{background:#ffffff08}.race-history-table tr.row-highlight td{font-weight:500}.cell-rank{font-weight:600}.cell-rank.rank-1{color:gold}.cell-rank.rank-2{color:silver}.cell-rank.rank-3{color:#cd7f32}.player-badge-name{display:flex;align-items:center;gap:8px}.avatar-dot{width:8px;height:8px;border-radius:50%;display:inline-block}.avatar-dot.color-0{background-color:#ff6b6b}.avatar-dot.color-1{background-color:#4dadf7}.avatar-dot.color-2{background-color:#51cf66}.avatar-dot.color-3{background-color:#fcc419}.avatar-dot.color-4{background-color:#cc5de8}.avatar-dot.color-5{background-color:#ff922b}.race-history-rounds-list{display:flex;flex-direction:column;gap:12px}.race-round-summary-item{border-bottom:1px solid rgba(255,255,255,.04);padding-bottom:12px}.race-round-summary-item:last-child{border-bottom:0;padding-bottom:0}.round-summary-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.round-summary-header strong{font-size:.9rem;color:var(--fg)}.round-prompt-text,.round-guess-text{margin:4px 0;font-size:.88rem;line-height:1.4}.round-prompt-text strong,.round-guess-text strong{color:var(--muted);font-weight:500}.round-summary-stats{display:flex;gap:16px;font-size:.8rem;color:var(--muted);margin-top:8px}.solved-badge{color:#51cf66;font-weight:600;font-size:.8rem}.failed-badge{color:#ff6b6b;font-weight:600;font-size:.8rem}.load-more-box{display:flex;justify-content:center;padding:24px 0 12px}.load-more-button{font-size:.88rem;padding:8px 24px!important;border-radius:8px!important;font-weight:500;transition:transform .15s ease,background-color .2s ease}.load-more-button:active{transform:scale(.97)}.analytics-chart{display:grid;gap:10px;padding:18px 20px 20px}.chart-legend{display:flex;flex-wrap:wrap;gap:8px}.legend-btn{display:inline-flex;align-items:center;gap:6px;color:var(--muted);font-size:.8rem;font-weight:750;background:none;border:none;padding:0;transition:opacity .2s ease,transform .15s ease}.legend-btn:before{content:"";width:9px;height:9px;border-radius:999px;background:var(--legend-color)}.legend-btn.interactive{cursor:pointer}.legend-btn.interactive:hover{opacity:.85}.legend-btn.interactive:active{transform:scale(.96)}.legend-btn.hidden{opacity:.3!important;text-decoration:line-through}.chart-grid-line{stroke:var(--border-soft);stroke-width:1;opacity:.45}.chart-guide-line{stroke-width:1.5;opacity:.75}.chart-point.interactive{transition:r .15s ease,stroke-width .15s ease}.chart-point.interactive:hover{r:7.5;stroke-width:2}.chart-tooltip{width:200px;padding:12px;border-radius:8px;border:1px solid var(--border-soft);background:var(--panel-bg-strong);box-shadow:0 12px 36px var(--heavy-shadow);transition:left .15s ease,top .15s ease;pointer-events:none;z-index:100}.tooltip-header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--border-soft);padding-bottom:6px;margin-bottom:6px}.tooltip-header strong{font-size:.85rem;color:var(--text-strong)}.tooltip-header span{font-size:.72rem;color:var(--muted-2);font-weight:750;text-transform:uppercase}.tooltip-body{display:grid;gap:4px}.tooltip-row{display:flex;justify-content:space-between;align-items:center;font-size:.76rem}.tooltip-row span{color:var(--muted-2)}.tooltip-row strong{color:var(--text-soft)}.race-round-summary-item.interactive{transition:background-color .2s ease,border-color .2s ease,transform .15s ease}.race-round-summary-item.interactive:hover{background:var(--surface-hover);border-color:var(--border-hover)}.timeline-item{position:relative;padding-left:12px}.timeline-item.solved{border-left:2px solid var(--accent-green)}.timeline-item.rejected{border-left:2px solid var(--accent-red)}.timeline-item.wrong{border-left:2px solid var(--border)}.analytics-chart svg{width:100%;min-height:230px;overflow:visible}.analytics-chart line{stroke:var(--border);stroke-width:1}.analytics-chart polyline,.analytics-chart circle{vector-effect:non-scaling-stroke}.chart-empty{min-height:180px;display:grid;place-items:center;border:1px dashed var(--border);border-radius:8px;color:var(--muted)}.analytics-breakdowns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:0 20px 20px}.breakdown-card{display:grid;gap:10px}.breakdown-row{display:grid;gap:3px;border-top:1px solid var(--border-faint);padding-top:10px}.breakdown-row span{color:var(--muted);font-size:.88rem}.leaderboard-player-button{border:0;padding:0;color:var(--text);background:transparent;font:inherit;font-weight:800;text-align:left;text-decoration:underline;text-decoration-color:transparent;text-underline-offset:3px}.leaderboard-player-button:hover{color:var(--accent-red);text-decoration-color:currentColor}.leaderboard-player-row>td{padding:0;background:var(--surface-alt)}.player-profile-drawer{display:grid;grid-template-columns:260px minmax(0,1fr);gap:18px;padding:18px;border-top:1px solid var(--accent-red-border);animation:drawer-slide .18s ease-out}.player-profile-drawer.loading-panel,.player-profile-drawer.inline-error{display:block;margin:0}.player-sidebar{position:static;min-height:0;width:100%;background:transparent;border:none;border-radius:0;box-shadow:none;padding:0 18px 0 0;border-right:1px solid var(--border-soft);display:flex;flex-direction:column;gap:16px}.player-profile-content{min-width:0}.player-profile-content .page-stack{gap:14px}.player-profile-content .stats-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.player-profile-content .stat-card{min-height:160px}.player-history-panel{box-shadow:none}@keyframes drawer-slide{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.footer{width:min(1180px,calc(100% - 32px));margin:0 auto 24px;max-height:80px;display:flex;flex-wrap:wrap;gap:14px;align-items:center;color:var(--muted);font-size:.9rem;overflow:hidden;transition:max-height .26s ease,margin .26s ease,opacity .18s ease,transform .26s ease}.race-focus .footer{max-height:0;margin-bottom:0;opacity:0;pointer-events:none;transform:translateY(18px)}.footer a{color:inherit;text-decoration:none}.theme-toggle{display:inline-flex;align-items:center;gap:6px;min-height:30px;border:1px solid var(--border);border-radius:999px;padding:0 10px;color:inherit;background:var(--surface)}.footer-note{margin-left:auto;display:inline-flex;align-items:center;gap:6px}@media(max-width:860px){.topbar{grid-template-columns:1fr}.brand,.ghost-button{justify-self:center}.nav{width:100%;justify-content:center}.play-grid,.account-grid,.account-layout,.player-profile-drawer{grid-template-columns:1fr}.account-sidebar{position:static!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;padding:8px 10px!important;border-radius:8px!important;background:var(--panel-bg)!important;border:1px solid var(--border)!important;box-shadow:none!important;min-height:54px!important;box-sizing:border-box!important;width:100%!important}.player-sidebar{border-right:none!important;border-bottom:none!important;padding:8px 10px!important}.account-sidebar-user{display:grid!important;grid-template-columns:auto 1fr!important;grid-template-rows:auto auto!important;gap:0 8px!important;align-items:center!important;text-align:left!important;border-bottom:none!important;padding:0!important;margin:0!important}.account-sidebar-user .avatar{grid-row:1 / span 2!important;grid-column:1!important;width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;font-size:.95rem!important;border-radius:50%!important}.account-sidebar-user strong{grid-row:1!important;grid-column:2!important;font-size:.82rem!important;line-height:1.2!important;margin:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:110px!important}.account-sidebar-user span{grid-row:2!important;grid-column:2!important;font-size:.68rem!important;line-height:1.2!important;color:var(--muted)!important;margin:0!important}.account-menu{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;justify-content:flex-end!important;align-items:center!important;overflow:hidden!important;width:auto!important;gap:6px!important;padding:0!important;border:none!important;background:transparent!important}.account-menu button{flex:0 0 auto!important;width:32px!important;height:32px!important;min-height:32px!important;min-width:32px!important;padding:0!important;font-size:.8rem!important;border-radius:6px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}.account-menu button span{display:none!important}.terminal-panel{min-height:580px}.race-round-card,.race-player-bubble,.race-prompt-audit{width:100%}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.plan-grid,.pricing-grid,.analytics-breakdowns{grid-template-columns:1fr}.profile-form{grid-template-columns:repeat(2,minmax(0,1fr))}.footer-note{margin-left:0}}@media(max-width:560px){.topbar,.shell,.footer{width:min(100% - 20px,1180px)}.nav-item span,.topbar .ghost-button span{display:none!important}.metric-strip,.prompt-form,.profile-form,.billing-panel{grid-template-columns:1fr;flex-direction:column}.stats-grid,.account-stats-grid,.player-profile-content .stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}.stat-card{min-height:80px!important;padding:10px 8px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;text-align:center!important;gap:4px!important}.stat-card strong{font-size:1.25rem!important;line-height:1.1!important;margin:0!important}.stat-card span{font-size:.72rem!important;text-transform:uppercase!important;letter-spacing:.05em!important}.stat-card p{display:none!important}.terminal-head,.section-head{align-items:flex-start;flex-direction:column}.message{max-width:100%}.race-player-bubble,.race-prompt-audit{justify-self:stretch}}.skeleton-shimmer{background:var(--surface-soft);background-image:linear-gradient(90deg,var(--surface-soft) 0%,var(--border-soft) 50%,var(--surface-soft) 100%);background-size:200% 100%;animation:skeleton-shimmer-anim 1.5s infinite linear}@keyframes skeleton-shimmer-anim{0%{background-position:-100% 0}to{background-position:100% 0}}.skeleton-avatar{width:50px;height:50px;border-radius:50%}.skeleton-text{height:1.25rem;border-radius:4px}.skeleton-text.short{width:40%}.skeleton-text.medium{width:60%}.skeleton-text.long{width:80%}.skeleton-card{height:120px;border:1px solid var(--border-soft);border-radius:8px;padding:16px;display:flex;flex-direction:column;gap:8px}.skeleton-chart-box{height:220px;border:1px solid var(--border-soft);border-radius:8px}@media(min-width:900px){.topbar{margin-top:10px;min-height:52px;padding-top:4px;padding-bottom:4px}.shell{margin-top:12px;margin-bottom:12px}.footer{margin-bottom:10px}.play-grid{height:calc(100vh - 136px);min-height:520px;align-items:stretch}.race-terminal{flex:1;height:100%;min-height:520px}.challenge-panel,.terminal-panel{height:100%;min-height:0!important;overflow:hidden}.challenge-panel{grid-template-rows:auto 1fr auto;gap:12px}.taboo-card{height:100%;min-height:0!important}.taboo-card-target{min-height:70px;padding:10px}.taboo-card-target h2{font-size:2.25rem}.taboo-card-body{padding:10px 16px 12px;grid-template-rows:1fr auto;overflow:hidden}.forbidden-list{align-self:stretch;overflow-y:auto;max-height:100%}.forbidden-list span{min-height:42px;font-size:1.15rem;font-weight:760}.taboo-card-logo{width:24px;height:24px;margin-top:4px}.challenge-stats-panel{padding:8px;gap:6px}.metric-strip{gap:6px}.metric{min-height:48px;padding:4px 6px;gap:1px}.metric svg{display:none}.metric strong{font-size:1.15rem}.metric span{font-size:.64rem}.result{min-height:30px;padding:0 8px;font-size:.78rem}.result svg{width:12px;height:12px}.share-card{padding:6px 10px;gap:4px}.share-card strong{font-size:.8rem}.status-pill{padding:2px 6px;font-size:.7rem}.share-card .share-score{min-height:28px;height:28px;padding:0 8px;font-size:.74rem;border-radius:8px}.share-card .share-button{min-height:28px;height:28px;padding:0 8px;font-size:.7rem;border-radius:8px}.race-bubble-stack,.race-lobby-bubbles{display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:12px!important;width:100%!important}.race-player-bubble{width:100%!important;max-width:100%!important;margin:0!important}.race-lobby-bubbles .race-player-bubble{width:100%!important}}.limit-overlay{position:absolute;inset:-8px;z-index:10;display:flex;align-items:center;justify-content:center;padding:24px;border-radius:12px;background:#17151173;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);animation:fade-in .3s ease-out}.limit-banner{max-width:480px;width:100%;display:flex;flex-direction:column;align-items:center;text-align:center;gap:16px;padding:32px 28px;border:1px solid var(--border);border-radius:16px;background:var(--panel-bg-strong);box-shadow:0 24px 60px #00000047,0 8px 30px #d6533c1f;animation:scale-up .3s cubic-bezier(.34,1.56,.64,1)}.limit-icon{color:var(--accent-red)}.limit-banner h3{margin:0;font-family:inherit;font-weight:800;font-size:1.55rem;line-height:1.25;letter-spacing:-.025em;color:var(--text-strong)}.limit-banner p{margin:0;font-size:.95rem;line-height:1.5;color:var(--muted)}.limit-btn{margin-top:8px;display:inline-flex;align-items:center;gap:8px;padding:12px 24px;font-weight:600}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes scale-up{0%{opacity:0;transform:scale(.92)}to{opacity:1;transform:scale(1)}}@media(max-width:899px){.topbar{display:flex!important;flex-direction:row!important;justify-content:space-between!important;align-items:center!important;gap:8px!important;padding:6px 12px!important;min-height:48px!important;margin-top:6px!important;margin-bottom:6px!important}.brand{justify-self:start!important;margin:0!important}.brand-logo{height:22px!important;width:22px!important}.nav{flex:0 1 auto!important;width:auto!important;justify-content:center!important;padding:3px!important;gap:3px!important}.nav-item{min-height:30px!important;padding:0 8px!important;font-size:.78rem!important;gap:4px!important;border-radius:8px!important}.topbar .ghost-button{min-height:30px!important;padding:0 8px!important;font-size:.78rem!important;gap:4px!important;border-radius:8px!important;justify-self:end!important;margin:0!important;white-space:nowrap!important}.shell{margin-top:6px!important;margin-bottom:6px!important}.race-focus .shell{height:100dvh!important;min-height:0!important;margin:0!important;width:100%!important;max-width:100%!important;padding:0!important;overflow:hidden!important}.race-focus .topbar{display:none!important}.footer{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;justify-content:center!important;align-items:center!important;gap:8px 14px!important;padding:12px 10px!important;margin:16px auto 12px!important;border-top:1px solid var(--border-soft)!important;width:100%!important;max-height:none!important;overflow:visible!important;font-size:.78rem!important}.footer-note{margin:0!important}.race-focus .footer{display:none!important}.play-grid{display:flex!important;flex-direction:column!important;height:calc(100dvh - 80px)!important;min-height:0!important;overflow:hidden!important;gap:8px!important;grid-template-columns:1fr!important}.race-focus .play-grid{height:100dvh!important;max-height:100dvh!important;min-height:0!important;margin:0!important;padding:12px 10px!important;box-sizing:border-box!important;overflow:hidden!important;display:flex!important;flex-direction:column!important}.race-page{height:calc(100dvh - 80px)!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;padding:0!important}.race-focus .race-page{height:100dvh!important;max-height:100dvh!important;min-height:0!important;margin:0!important;padding:12px 10px!important;box-sizing:border-box!important;overflow:hidden!important;display:flex!important;flex-direction:column!important}.race-focus .race-terminal{height:100%!important;min-height:0!important;overflow:hidden!important}.challenge-panel{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;padding:0!important;gap:0!important;background:var(--surface)!important;border:1px solid var(--border-soft)!important;border-radius:12px!important;box-shadow:0 4px 16px #0000000f!important;height:auto!important;width:100%!important;min-height:0!important;margin:0!important;overflow:hidden!important;flex-shrink:0!important}.challenge-legend{display:none!important}.taboo-card{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:0!important;border:none!important;background:transparent!important;padding:0!important;margin:0!important;height:auto!important;box-shadow:none!important;min-height:0!important;width:100%!important}.taboo-card-target{background:var(--accent-red)!important;color:#fff!important;padding:8px 12px!important;border-radius:0!important;min-height:0!important;display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;box-shadow:none!important}:root[data-theme=light] .taboo-card-target{background:#e1553d!important}.taboo-card-target h2{font-size:1.15rem!important;margin:0!important;font-weight:850!important;text-transform:uppercase!important;letter-spacing:.05em!important}.taboo-card-body{padding:10px 14px!important;background:transparent!important;display:flex!important;justify-content:center!important;align-items:center!important;width:100%!important}.taboo-card-logo{display:none!important}.forbidden-list{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;justify-content:center!important;align-items:center!important;gap:0!important;overflow:visible!important;white-space:normal!important;padding:2px 0!important;min-width:0!important;text-align:center!important}.forbidden-list span{display:inline!important;background:transparent!important;border:none!important;padding:0!important;margin:0!important;font-size:.85rem!important;font-weight:700!important;color:var(--text-soft)!important;text-transform:lowercase!important;box-shadow:none!important;min-height:0!important}.forbidden-list span:not(:last-child):after{content:" | "!important;margin:0 6px!important;color:var(--border-soft)!important;font-weight:400!important}.challenge-panel .challenge-stats-panel{display:none!important}.mobile-stats-container{display:block!important;width:100%!important;background:var(--surface)!important;border-top:1px solid var(--border-soft)!important;padding:8px 12px 6px!important;box-sizing:border-box!important}.mobile-stats-container .challenge-stats-panel{display:flex!important;flex-direction:column!important;align-items:center!important;gap:8px!important;width:100%!important;background:transparent!important;border:none!important;margin:0!important;padding:0!important}.mobile-stats-container .metric-strip{display:flex!important;flex-direction:row!important;justify-content:center!important;align-items:center!important;gap:12px!important;width:100%!important}.mobile-stats-container .metric{display:flex!important;flex-direction:row!important;align-items:center!important;gap:5px!important;background:var(--surface-soft)!important;border:1px solid var(--border-soft)!important;padding:5px 10px!important;border-radius:8px!important;min-height:0!important;flex:1 1 auto!important;justify-content:center!important;max-width:120px!important}.mobile-stats-container .metric strong{font-size:.85rem!important;font-weight:800!important;color:var(--text-strong)!important}.mobile-stats-container .metric span{font-size:.62rem!important;color:var(--muted-2)!important;text-transform:uppercase!important;font-weight:700!important}.mobile-stats-container .result{display:flex!important;align-items:center!important;justify-content:center!important;gap:6px!important;font-size:.8rem!important;color:var(--text-soft)!important;margin-top:2px!important;width:100%!important}.mobile-stats-container .share-card{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:8px!important;width:100%!important;background:var(--surface-soft)!important;border:1px solid var(--border-soft)!important;padding:10px 12px!important;border-radius:8px!important;margin:0!important}.mobile-stats-container .share-header-row{display:block!important;font-size:.85rem!important;color:var(--text-strong)!important;text-align:left!important}.mobile-stats-container .share-action-row{display:flex!important;flex-direction:row!important;align-items:center!important;width:100%!important;gap:8px!important}.mobile-stats-container .share-score,.mobile-stats-container .share-button{flex:1 1 50%!important;width:50%!important;height:36px!important;min-height:36px!important;box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;margin:0!important;padding:0 10px!important;border-radius:8px!important;font-size:.8rem!important}.mobile-stats-container .share-score{color:var(--muted-2)!important;background:var(--surface)!important;border:1px solid var(--border)!important;font-weight:700!important}.mobile-stats-container .share-button{background:var(--surface)!important;border:1px solid var(--border-soft)!important;color:var(--text-strong)!important;cursor:pointer!important;gap:4px!important}.terminal-panel{display:flex!important;flex-direction:column!important;flex:1!important;height:100%!important;min-height:0!important;background:var(--surface)!important;border:1px solid var(--border-soft)!important;border-radius:16px!important;overflow:hidden!important;margin:0!important}.chat-log{flex:1!important;overflow-y:auto!important;padding:12px 14px!important;-webkit-overflow-scrolling:touch!important;height:auto!important}.message{padding:10px 12px!important;border-radius:12px!important;margin-bottom:10px!important;max-width:88%!important}.message p{font-size:.88rem!important;line-height:1.4!important}.prompt-form{position:sticky!important;bottom:0!important;left:0!important;right:0!important;background:var(--surface)!important;border-top:1px solid var(--border-soft)!important;padding:8px 10px!important;display:grid!important;grid-template-columns:1fr auto auto!important;gap:6px!important;align-items:center!important;min-height:0!important;width:100%!important;margin:0!important}.prompt-form input{min-height:38px!important;padding:0 10px!important;font-size:16px!important;border-radius:8px!important;border:1px solid var(--border-soft)!important;background:var(--surface-soft)!important}.prompt-form select{min-height:38px!important;font-size:16px!important;border-radius:8px!important;padding:0 24px 0 10px!important}.prompt-form button{min-height:38px!important;padding:0 12px!important;font-size:.88rem!important;border-radius:8px!important;gap:4px!important}.prompt-form button span{display:none!important}.race-lobby-bubbles{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}.race-room-card{padding:10px!important;margin-bottom:10px!important}.race-round-block{margin-bottom:14px!important;gap:8px!important}.race-round-card{padding:8px 10px!important;border-radius:10px!important}.race-round-card strong{font-size:1rem!important}.race-forbidden-chips{gap:4px!important}.race-forbidden-chips span{padding:2px 6px!important;font-size:.72rem!important}.race-bubble-stack{gap:6px!important}.race-active-card-strip{display:grid!important;grid-template-columns:auto 1fr!important;align-items:center!important;padding:6px 10px!important;gap:10px!important;background:var(--surface)!important;border-bottom:1px solid var(--border-soft)!important;width:100%!important;min-height:0!important;margin:0!important;overflow:hidden!important;flex-shrink:0!important}.race-active-target{display:flex!important;flex-direction:row!important;align-items:center!important;gap:6px!important;background:var(--accent-red)!important;color:#fff!important;padding:4px 8px!important;border-radius:6px!important;min-height:0!important}:root[data-theme=light] .race-active-target{background:#e1553d!important}.race-active-target span{font-size:.62rem!important;font-weight:750!important;text-transform:uppercase!important;opacity:.95!important;background:#00000026!important;padding:1px 4px!important;border-radius:4px!important;white-space:nowrap!important}.race-active-target strong{font-size:.88rem!important;font-weight:850!important;text-transform:uppercase!important}.race-active-forbidden{display:flex!important;flex-direction:row!important;gap:4px!important;overflow-x:auto!important;white-space:nowrap!important;padding:2px 0!important;-webkit-overflow-scrolling:touch!important;scrollbar-width:none!important;min-width:0!important;flex:1 1 auto!important}.race-active-forbidden::-webkit-scrollbar{display:none!important}.race-active-forbidden span{display:inline-flex!important;align-items:center!important;background:var(--surface-soft)!important;border:1px solid var(--border-soft)!important;padding:3px 8px!important;border-radius:12px!important;font-size:.74rem!important;font-weight:650!important;color:var(--text-soft)!important;text-transform:lowercase!important;min-height:0!important}.race-round-card.current-active,.prompt-form.game-active .prompt-model-select,.prompt-form.game-active .prompt-race-kind-select{display:none!important}.prompt-form.game-active{grid-template-columns:1fr auto!important;flex-direction:row!important}.race-prompt-form{grid-template-columns:1fr auto auto auto!important}.prompt-form input{min-width:100px!important}.prompt-model-select,.prompt-race-kind-select{width:38px!important;height:38px!important;min-height:38px!important;max-width:38px!important;min-width:38px!important;display:flex!important;align-items:center!important;justify-content:center!important;position:relative!important;padding:0!important;border-radius:8px!important;border:1px solid var(--border-soft)!important;background:var(--surface-soft)!important;cursor:pointer!important}.prompt-model-select select,.prompt-race-kind-select select{position:absolute!important;top:0!important;left:0!important;width:100%!important;height:100%!important;opacity:0!important;cursor:pointer!important;padding:0!important;margin:0!important;min-height:0!important;max-width:100%!important}.model-select-icon,.race-kind-select-icon{display:block!important;color:var(--text-soft)!important;pointer-events:none!important}.model-select-desktop-lock,.race-kind-desktop-lock{display:none!important}.model-select-icon.lock,.race-kind-select-icon.lock{display:none!important;color:var(--muted-2)!important}.prompt-model-select:has(select:disabled) .model-select-icon.sparkles{display:none!important}.prompt-model-select:has(select:disabled) .model-select-icon.lock{display:block!important}.prompt-race-kind-select:has(select:disabled) .race-kind-select-icon.globe{display:none!important}.prompt-race-kind-select:has(select:disabled) .race-kind-select-icon.lock{display:block!important}.floating-start{z-index:100!important;transform:translate(-50%,-50%)!important;display:flex!important;align-items:center!important;justify-content:center!important;cursor:pointer!important}body:has(.race-focus){overflow:hidden!important;height:100dvh!important;position:fixed!important;width:100%!important}@media(max-width:559px){.col-attempts,.col-tokens,.col-solved,.col-model{display:none!important}.table-wrap table{min-width:0!important;width:100%!important;table-layout:fixed!important}.table-wrap th,.table-wrap td{padding:8px 6px!important;font-size:.82rem!important;white-space:normal!important;word-break:break-all!important;overflow-wrap:break-word!important}.table-wrap th{font-size:.74rem!important;font-weight:700!important;text-transform:uppercase!important;letter-spacing:.03em!important;line-height:1.25!important}.table-wrap th.col-rank,.table-wrap td.col-rank{width:48px!important;text-align:left!important}.table-wrap th.col-points,.table-wrap td.col-points{width:90px!important;text-align:right!important}.table-wrap th.col-time,.table-wrap td.col-time{width:95px!important;text-align:right!important}.table-wrap th.col-name,.table-wrap td.col-name{width:100%!important;min-width:85px!important;text-align:left!important}.table-wrap td.col-name{overflow:hidden!important}.table-wrap th.col-model-name,.table-wrap td.col-model-name{width:140px!important;max-width:140px!important;overflow-x:auto!important;white-space:nowrap!important;scrollbar-width:none!important;-ms-overflow-style:none!important;text-align:left!important}.table-wrap td.col-model-name::-webkit-scrollbar{display:none!important}.table-wrap td.col-model-name strong{white-space:nowrap!important;word-break:keep-all!important;overflow-wrap:normal!important}.table-wrap:has(.col-model-name) th.col-time,.table-wrap:has(.col-model-name) td.col-time{width:160px!important}.table-wrap td.col-name strong,.table-wrap td.col-name button{display:block!important;max-width:100%!important;white-space:nowrap!important;text-overflow:ellipsis!important;overflow:hidden!important;text-align:left!important}.leaderboard-head>div{width:100%!important;display:flex!important;flex-direction:column!important;align-items:stretch!important}.leaderboard-head .segmented{width:100%!important;display:flex!important}.leaderboard-head .segmented button{flex:1!important;justify-content:center!important;text-align:center!important}}.player-profile-drawer{padding:10px 4px!important;gap:10px!important}.player-profile-content{padding:0!important}.profile-panel,.settings-panel{padding:12px 10px!important}.race-history-standings-box,.race-history-rounds-box{padding:10px 8px!important;margin-top:8px!important}.race-history-table th{padding:6px 8px!important;font-size:.76rem!important}.race-history-table td{padding:8px!important;font-size:.78rem!important}.history-game{width:100%!important;max-width:100%!important;overflow:hidden!important;box-sizing:border-box!important}.history-game-button{padding:12px 10px!important;width:100%!important;max-width:100%!important;overflow:hidden!important;box-sizing:border-box!important}.history-prompts{padding:0 10px 12px!important}.history-game-header-row{flex-wrap:nowrap!important;justify-content:space-between!important;align-items:center!important;gap:8px!important}.history-game-button strong{font-size:.88rem!important;flex:1 1 auto!important;min-width:0!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.rank-badge{flex:0 0 auto!important;padding:2px 6px!important;font-size:.7rem!important;border-radius:6px!important}.settings-panel .section-head{display:flex!important;flex-direction:column!important;align-items:stretch!important;width:100%!important;gap:12px!important}.settings-panel .section-head .segmented{width:100%!important;display:flex!important;flex-direction:row!important}.settings-panel .section-head .segmented button{flex:1!important;justify-content:center!important;text-align:center!important}.analytics-chart{padding:12px 4px!important;gap:8px!important}.analytics-chart svg{height:160px!important;width:100%!important}.race-history-table{table-layout:fixed!important;width:100%!important}.expanded-prompts-row>td{padding:12px 8px!important;max-width:0!important;overflow:hidden!important}.race-history-table th.col-rank,.race-history-table td.col-rank{width:50px!important}.race-history-table th.col-name,.race-history-table td.col-name{width:auto!important;min-width:90px!important}.race-history-table th.col-points,.race-history-table td.col-points{width:70px!important;text-align:right!important}.race-history-table th.col-time,.race-history-table td.col-time{width:85px!important;text-align:right!important}.race-history-table .col-attempts{display:none!important}.col-unit{display:block!important;font-size:.62rem!important;font-weight:500!important;opacity:.75!important;margin-top:2px!important;text-transform:lowercase!important}.expanded-standings-drawer,.standings-audit-log,.audit-round-block,.audit-attempts-list,.audit-attempt-item,.attempt-details{width:100%!important;max-width:100%!important;box-sizing:border-box!important;min-width:0!important}.expanded-standings-drawer h4{white-space:normal!important;word-break:break-word!important;overflow-wrap:anywhere!important;max-width:100%!important;min-width:0!important}.attempt-details{overflow:hidden!important}.attempt-prompt,.attempt-guess{white-space:normal!important;word-break:break-word!important;overflow-wrap:anywhere!important;max-width:100%!important;min-width:0!important}.player-history-panel .section-head{display:flex!important;flex-direction:column!important;align-items:flex-start!important;text-align:left!important;width:100%!important}.player-history-panel .section-head>div:first-child{text-align:left!important;align-items:flex-start!important;display:flex!important;flex-direction:column!important;width:100%!important}.player-history-panel .section-head .eyebrow,.player-history-panel .section-head h2{text-align:left!important;align-self:flex-start!important;margin:0!important}}.race-active-card-strip,.mobile-stats-container,.model-select-icon,.race-kind-select-icon{display:none}.model-select-desktop-lock,.race-kind-desktop-lock{display:inline-block}.race-result-row.podium-1{background:linear-gradient(135deg,#d4af372e,#aa7c110f)!important;border-color:#d4af3773!important;box-shadow:0 0 15px #d4af371f!important}.race-result-row.podium-1 strong{color:gold!important;text-shadow:0 0 4px rgba(212,175,55,.4)}.race-result-row.podium-2{background:linear-gradient(135deg,#c0c0c02e,#7070700f)!important;border-color:#c0c0c073!important;box-shadow:0 0 15px #c0c0c01f!important}.race-result-row.podium-2 strong{color:#e0e0e0!important;text-shadow:0 0 4px rgba(192,192,192,.4)}.race-result-row.podium-3{background:linear-gradient(135deg,#cd7f322e,#8c531d0f)!important;border-color:#cd7f3273!important;box-shadow:0 0 15px #cd7f321f!important}.race-result-row.podium-3 strong{color:#cd7f32!important;text-shadow:0 0 4px rgba(205,127,50,.4)}.modal-overlay{animation:fadeIn .25s cubic-bezier(.16,1,.3,1) forwards}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.custom-room-card{transition:transform .2s ease,box-shadow .2s ease}.custom-room-card:hover{transform:translateY(-2px);box-shadow:0 12px 32px var(--panel-shadow),0 8px 24px #d6533c1a!important}.coming-soon-badge{display:inline-block;vertical-align:middle;margin-left:8px;padding:3px 8px;font-size:.72rem;font-weight:750;text-transform:uppercase;letter-spacing:.05em;color:#fff;background:var(--accent-red, #d6533c);border-radius:999px;box-shadow:0 2px 6px #d6533c33;line-height:1}.pricing-card button:disabled,.billing-actions button:disabled{cursor:not-allowed!important;opacity:.55!important;background:var(--surface-soft, rgba(255, 255, 255, .06))!important;color:var(--muted, #8e8e93)!important;border-color:var(--border-soft, rgba(255, 255, 255, .12))!important;box-shadow:none!important}
