:root{--lime:#eeff87;--purple:#98b7ff}
[dir=rtl] .decision-board{direction:rtl}[dir=ltr] .decision-board{direction:ltr}.turn-count,#matchProgress{direction:ltr}.route-question-note{grid-column:1/-1}.route-card .route-cost{unicode-bidi:plaintext}
body{background:radial-gradient(ellipse at 12% 15%,#183c3a66,transparent 45%),#0b1217}
.route-preview{width:100%;max-width:510px;padding:30px;border:1px solid #ffffff20;border-radius:28px;background:linear-gradient(145deg,#1c3035,#111c26);box-shadow:0 35px 90px #0006;transform:rotate(-3deg)}
.route-preview header,.decision-heading{display:flex;justify-content:space-between;gap:16px;align-items:center}.route-preview header{font-size:12px;letter-spacing:2px;color:var(--lime)}
.route-preview h2{font-size:32px;margin:28px 0 8px}.route-preview p{color:var(--muted)}
.preview-routes{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:24px 0}.preview-routes div{padding:23px 8px;border:1px solid #ffffff18;border-radius:14px;text-align:center;background:#ffffff06}.preview-routes div:last-child{border-color:#eeff87;background:#eeff8712}.preview-routes b{display:block;font-size:30px;margin-top:8px}.preview-routes small{font-size:11px;color:var(--muted)}
.route-preview footer{border-top:1px solid #ffffff15;padding-top:18px;color:var(--muted);font-size:12px}
.decision-board{display:block!important;overflow:visible!important}.decision-heading{margin:24px 0}.decision-heading h2{font-size:clamp(24px,3vw,38px);margin:5px 0}.decision-heading p{color:var(--muted);margin:5px 0;max-width:650px}.chapter-label{color:var(--lime);letter-spacing:2px;font-size:12px}.turn-count{font-size:30px;white-space:nowrap;color:var(--lime);font-variant-numeric:tabular-nums}
.route-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.route-card{color:inherit;text-align:start;border:1px solid #ffffff20;border-radius:22px;background:linear-gradient(160deg,#243139,#151e26);padding:26px;min-height:280px;transition:transform .18s,border-color .18s}.route-card:hover{transform:translateY(-5px);border-color:var(--route-color)}.route-card .route-index{display:flex;justify-content:space-between;color:var(--route-color);font-size:12px;letter-spacing:1px}.route-card h3{font-size:30px;margin:23px 0 8px}.route-card .route-category{color:var(--muted);min-height:30px}.route-reward{font-size:42px;font-weight:900;margin:14px 0 0;color:var(--route-color);direction:ltr;text-align:start}.route-cost{font-size:13px;color:var(--muted);margin:5px 0 20px}.route-go{display:block;border-top:1px solid #ffffff1c;padding-top:14px;font-size:13px}.route-card[data-route=steady]{--route-color:#8be1c4}.route-card[data-route=risk]{--route-color:#eeff87}.route-card[data-route=bold]{--route-color:#ffa789}
.decision-tools{display:flex;gap:16px;align-items:center;justify-content:space-between;margin:20px 0;padding:18px;border:1px solid #ffffff18;border-radius:16px;background:#ffffff04}.decision-tools label{display:flex;gap:10px;align-items:center}.decision-tools input{width:20px;height:20px;accent-color:var(--lime)}.decision-tools small{color:var(--muted)}.momentum{color:var(--lime);font-size:13px}.round-recap{padding:16px;border-inline-start:3px solid var(--lime);background:#eeff8708;border-radius:8px;margin-top:18px}.resume-banner{display:flex;flex-wrap:wrap;gap:12px;align-items:center;padding:18px;border:1px solid var(--lime);border-radius:16px;margin-bottom:24px;background:#eeff8708}.resume-banner p{flex:1;margin:0;min-width:180px}.route-question-note{color:var(--lime);font-size:13px;margin-bottom:15px}.match-log{max-width:640px;margin:24px auto;text-align:start}.match-log summary{cursor:pointer;color:var(--lime)}.match-log li{padding:10px 0;border-bottom:1px solid #ffffff15;font-size:13px}.game-bottom .lifelines,.difficulty-key,.nav-soon,.online-mode{display:none!important}.mode-grid{grid-template-columns:1fr}.preview-routes,.route-reward{font-variant-numeric:tabular-nums}.save-notice{font-size:12px;color:var(--muted)}
@media(max-width:700px){.route-grid{grid-template-columns:1fr}.route-card{min-height:0;padding:20px;display:grid;grid-template-columns:1fr auto;gap:4px 12px}.route-index,.route-go{grid-column:1/-1}.route-card h3{font-size:25px;margin:10px 0 0}.route-category{grid-column:1;margin:0}.route-reward{grid-column:2;grid-row:2/4;font-size:36px;margin:10px 0}.route-cost{grid-column:1/-1;margin:2px 0 8px}.decision-tools{align-items:flex-start;flex-direction:column}.route-preview{transform:none;padding:22px}.decision-heading{align-items:flex-start}.turn-count{font-size:24px}.hero-stage{min-height:0}.game-shell{padding-inline:16px}}

/* Party edition: bright game pieces on a deep violet stage. */
:root{--bg:#19112e;--panel:#281c43;--panel2:#342351;--lime:#edff81;--purple:#c2a0ff;--muted:#c5b9da}
body{background:radial-gradient(circle at 8% 12%,#824bed35,transparent 35%),radial-gradient(circle at 93% 65%,#ff8caa20,transparent 35%),#19112e}
.topbar{background:#19112ef2;border-bottom:2px solid #ffffff12}.primary{border:2px solid #edff81;box-shadow:0 5px 0 #8a993f;border-radius:16px}.primary:hover{transform:translateY(-2px);box-shadow:0 7px 0 #8a993f}.primary:active{transform:translateY(3px);box-shadow:0 2px 0 #8a993f}
.hero h1 span{display:inline-block;transform:rotate(-2deg);text-shadow:4px 4px 0 #76519a}.hero .eyebrow{color:#ffb5d0}.route-preview{background:#382451;border:2px solid #c5a0ff;box-shadow:9px 10px 0 #0e0920;border-radius:32px}.route-preview::before{content:'✦';position:absolute;top:-32px;inset-inline-end:20px;font-size:65px;color:#ffc678;transform:rotate(12deg)}.route-preview{position:relative}.preview-routes div{border:0;background:#96ead0;color:#192534;box-shadow:0 5px 0 #10202c}.preview-routes div:nth-child(2){background:#edff81;transform:rotate(-4deg)}.preview-routes div:last-child{background:#ffbba4;border:0;transform:rotate(3deg)}.preview-routes small{color:#344047}.route-preview footer{color:#e0d4f0}
.pack-card{border:2px solid #ffffff24;border-radius:24px;box-shadow:0 6px 0 #0f0920}.pack-card.chosen{border-color:var(--lime)}.pack-art{background:radial-gradient(circle at 70% 0,#ffffff1c,transparent 60%),#35224e}.pick-card{border-radius:22px;background:#2c2043;border:2px solid #ffffff13}.pick-card.selected{background:#443256;border-color:var(--lime);box-shadow:0 4px 0 #0e0920}.mode-card,.how-card{background:#2a1e40;border:2px solid #ffffff15;border-radius:26px}
.team-score{background:#2a2041;border:2px solid #ffffff15;border-radius:22px}.team-score.active-turn{background:#3a2a51;border-color:var(--lime);box-shadow:0 5px 0 #0d0920}.chapter-label{display:inline-block;background:#a483eb;color:#1e1234;padding:5px 14px;border-radius:10px;font-weight:900;transform:rotate(-2deg)}.turn-count{background:#332347;padding:8px 16px;border:2px dashed #bc9ce8;border-radius:16px}.decision-heading h2{margin-top:14px}.route-grid{gap:22px;padding:8px 0}
.route-card{position:relative;isolation:isolate;overflow:hidden;color:#201832;border:3px solid #ffffffb0;box-shadow:0 8px 0 #0c0820;border-radius:28px;background:var(--route-color)}.route-card[data-route=steady]{--route-color:#96ead0}.route-card[data-route=risk]{--route-color:#edff81}.route-card[data-route=bold]{--route-color:#ffbba4}.route-card::after{content:'✦';position:absolute;z-index:-1;inset-inline-end:-18px;bottom:45px;font-size:180px;line-height:1;color:#ffffff30;transform:rotate(15deg);pointer-events:none}.route-card:hover{transform:translateY(-7px) rotate(-1deg);border-color:white;box-shadow:0 12px 0 #0c0820}.route-card .route-index{color:#302544;font-weight:800}.route-card h3{font-size:34px}.route-card .route-category{color:#352947;font-weight:700}.route-card .route-reward{color:#201832;font-size:48px}.route-card .route-cost{color:#43374d}.route-card .route-go{border-top:2px dashed #20183235;font-weight:900;color:#201832}.decision-tools{background:#302144;border:2px solid #ffffff15;border-radius:22px}.round-recap{background:#38244f}.match-progress>div{background:#ffffff18}.match-progress i{background:linear-gradient(90deg,#b697fa,#edff81)}
.question-panel{background:radial-gradient(circle at 100% 0,#774bac38,transparent 55%),#251a3b;border:2px solid #b595e855;border-radius:30px;box-shadow:0 14px 0 #10091e,0 30px 100px #0008}.question-head{align-items:center;gap:24px}.question-head>div:first-child{min-width:0}.question-head h2{font-size:clamp(19px,2.6vw,28px);direction:ltr;text-align:start;unicode-bidi:plaintext}.question-body h3{font-size:clamp(26px,3vw,38px);line-height:1.65}.question-body{padding-top:28px}.question-panel .secondary{background:#edff81;color:#211533;border:2px solid #edff81;box-shadow:0 5px 0 #87983c;border-radius:16px;font-weight:900}.answer-reveal{background:#96ead018;border:2px dashed #96ead0;border-radius:18px}.route-question-note{color:#d9c9ef}.question-actions{gap:18px}
/* Solid face, high-contrast digits, a separate progress bar: never paint behind the number. */
#timerCircle{--timer-accent:#96ead0;position:relative;flex:0 0 154px;width:154px;height:140px;display:flex;flex-direction:column;justify-content:center;gap:0;padding:10px 8px 22px;border:3px solid var(--timer-accent);border-radius:22px;background:#160e26!important;color:#fff;box-shadow:5px 6px 0 #0c0717;overflow:hidden;transform:rotate(-3deg);font-family:inherit}
#timerCircle::before{display:none}#timerCircle::after{content:'';position:absolute;bottom:0;inset-inline-start:0;width:var(--time-left,100%);height:9px;background:var(--timer-accent);transition:width .25s linear}
#timerValue{position:static;display:block;width:auto;height:auto;background:none;border:0;font-family:Inter,system-ui,sans-serif;font-size:54px;font-weight:900;line-height:1.1;letter-spacing:-2px;color:#fff;font-variant-numeric:tabular-nums;direction:ltr;z-index:1}
#timerCircle .timer-label{font-size:12px;line-height:1.6;font-weight:700;color:#e2d8f0}#timerCircle .timer-status{font-size:11px;line-height:1.7;font-weight:800;color:var(--timer-accent);white-space:nowrap}
#timerCircle.urgent{--timer-accent:#ff9baf;animation:clock-alert .7s ease-in-out infinite alternate}#timerCircle.finished{--timer-accent:#ff9baf;transform:none}#timerCircle.paused{--timer-accent:#c7afff;transform:none}
@keyframes clock-alert{to{box-shadow:0 0 0 5px #ff9baf22,5px 6px 0 #0c0717}}
@media(max-width:700px){.route-card{border-radius:22px}.route-card h3{font-size:27px}.route-card .route-reward{font-size:38px}.route-card::after{font-size:120px;bottom:10px}.question-panel{padding:20px 16px;border-radius:24px}.question-head{gap:12px;align-items:center}#timerCircle{flex-basis:112px;width:112px;height:124px;border-radius:18px;transform:none}#timerValue{font-size:44px}#timerCircle .timer-label{font-size:10px}#timerCircle .timer-status{font-size:9px}.question-head h2{font-size:18px}.question-head .eyebrow{font-size:12px}.question-body h3{font-size:25px}.turn-count{font-size:22px;padding:6px 10px}.route-preview::before{font-size:48px;top:-26px}}
@media(prefers-reduced-motion:reduce){#timerCircle.urgent{animation:none}.route-card:hover{transform:none}#timerCircle::after{transition:none}}
#revealBtn.hidden{display:none}
.sound-toggle{border:1px solid #c7afff66;border-radius:12px;background:#312143;color:#f8f5ff;padding:9px 12px;font-size:12px;font-weight:700;white-space:nowrap;box-shadow:none}.sound-toggle[aria-pressed=false]{color:#d0c4df;background:#20182f}.sound-toggle:focus-visible{outline:3px solid var(--lime);outline-offset:3px}.question-actions{flex-wrap:wrap}.question-actions .sound-toggle{margin-inline-start:auto}@media(max-width:600px){.nav{flex-wrap:wrap}.sound-toggle{font-size:11px;padding:8px}.question-actions .sound-toggle{margin-inline-start:0}}
.brand-logo{display:block;flex-shrink:0;object-fit:contain}.brand-logo-small{width:64px;height:64px}.brand-logo-large{width:110px;height:110px}
/* guest beta */
.feedback-dialog{width:min(520px,calc(100% - 28px));max-height:90dvh;overflow:auto;background:#251a3b;color:#f8f5ff;border:2px solid #c7afff66;border-radius:24px;padding:24px;font:inherit}.feedback-dialog::backdrop{background:#0c071dcc;backdrop-filter:blur(5px)}.feedback-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.feedback-heading h2{margin:0;font-size:25px}.feedback-dialog label{display:grid;gap:6px;margin:14px 0}.feedback-dialog select,.feedback-dialog textarea{box-sizing:border-box;width:100%;font:inherit;padding:10px;color:#fff;background:#160e26;border:1px solid #c7afff66;border-radius:12px}.feedback-dialog textarea{resize:vertical}.feedback-dialog select:focus-visible,.feedback-dialog textarea:focus-visible{outline:3px solid var(--lime)}#feedbackPrivacy{font-size:11px;color:#c5b9da;line-height:1.8}#feedbackStatus{color:var(--lime);font-size:13px}.nav{flex-wrap:wrap}.topbar{height:auto;min-height:76px;padding-block:12px;gap:12px}.feedback-open{white-space:nowrap}.feedback-dialog .primary{margin-bottom:6px}
