:root{color:#293d30;font-synthesis:none;-webkit-font-smoothing:antialiased;--ink:#293d30;--muted:#7b8376;--green:#a6bd7f;--line:#dedfd5;--paper:#f5f4ee;--accent:#dd7045;background:#f5f4ee;font-family:Arial,Helvetica,sans-serif}*{box-sizing:border-box}body{overscroll-behavior:none;margin:0;overflow:hidden}button{font:inherit;color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation}button:disabled{cursor:default;opacity:.4}button:focus-visible{outline-offset:5px;outline:3px solid #dd7045}button,svg{-webkit-user-select:none;user-select:none}button{border:0}button svg{flex-shrink:0;width:21px;height:21px}[hidden]{display:none!important}svg{width:24px;height:24px}h1,h2,p{margin:0}#app{background-image:radial-gradient(#8b947b1f .65px,#0000 .65px);background-size:8px 8px;height:100dvh;min-height:420px}.shell{flex-direction:column;max-width:1600px;height:100%;margin:auto;padding:0 clamp(22px,5vw,88px);display:flex}.header{border-bottom:1px solid var(--line);flex-shrink:0;align-items:center;gap:34px;height:100px;display:flex}.brand{letter-spacing:-1.3px;background:0 0;align-items:center;gap:12px;padding:0;font-size:29px;font-weight:700;display:flex}.brand-mark{place-items:center;width:40px;height:43px;display:grid}.brand-mark svg{stroke-width:1.35px;width:37px;height:37px}.tagline{letter-spacing:1.7px;color:var(--muted);padding-top:4px;font-size:16px}.header nav{align-items:center;gap:16px;margin-left:auto;display:flex}.help-button,.icon-button,.language-button{background:0 0;justify-content:center;align-items:center;min-width:44px;min-height:44px;display:flex}.help-button{gap:8px;font-size:16px}.help-button svg{width:18px;height:18px}.icon-button{border:1px solid var(--line);border-radius:50%}.icon-button:hover{background:#e9ecdf}.language-button{letter-spacing:1px;min-width:34px;font-size:16px;font-weight:700}.nav-divider{background:var(--line);width:1px;height:20px;margin:0 6px}.workspace{flex:1;min-height:0;position:relative}.home-intro{z-index:2;width:48%;position:absolute;top:clamp(25px,5.6vh,64px);left:0}.eyebrow{letter-spacing:1.7px;color:var(--muted);font-size:16px;font-weight:600;line-height:1.5}.home-intro h1{letter-spacing:-4px;margin-top:26px;font-size:clamp(48px,5.25vw,83px);font-weight:500;line-height:1.03}.home-intro h1 span{display:block}.home-intro h1 .hero-accent{color:var(--accent);letter-spacing:-4px;padding-bottom:4px;font-family:Georgia,Times New Roman,serif;font-style:italic;font-weight:400}.intro{color:#7a8073;max-width:330px;margin-top:23px;font-size:16px;line-height:1.8}.home-actions{align-items:center;gap:14px;margin-top:29px;display:flex}.primary{background:var(--ink);color:#fafbf4;border-radius:5px;justify-content:center;align-items:center;gap:28px;min-height:52px;padding:0 23px;font-size:16px;font-weight:500;transition:background .18s,transform .18s;display:inline-flex}.primary:hover{background:#3f5542;transform:translateY(-1px)}.primary:active{transform:translateY(1px)}.primary svg{width:19px}.text-button{color:#727e6c;background:0 0;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:0 10px;font-size:16px;display:inline-flex}.text-button:hover{color:var(--ink)}.text-button svg{width:16px;height:16px}.session-notes{color:#8a8e81;align-items:center;gap:11px;margin-top:19px;font-size:16px;display:flex}.session-notes i{background:#a3a995;border-radius:50%;width:3px;height:3px}.scene-wrap{touch-action:none;-webkit-user-select:none;user-select:none;isolation:isolate;position:absolute;inset:2% -2% 167px 43%}.scene-wrap canvas{width:100%;height:100%;position:absolute;inset:0}.scene-corner{letter-spacing:1.4px;text-transform:uppercase;color:var(--muted);z-index:1;align-items:center;gap:8px;font-size:16px;display:flex;position:absolute;top:40px;right:15px}.tiny-square{background:var(--green);width:5px;height:5px}.illustration-label{color:var(--accent);font-family:Georgia,serif;font-size:31px;font-style:italic;position:absolute;top:45%;right:10%;transform:rotate(-8deg)}.label-line{background:#bdc2b0;width:65px;height:1px;display:block;position:absolute;top:29px;right:58px;transform:rotate(-28deg)}.best-badge{white-space:nowrap;background:#eef0e5e6;border:1px solid #d5dccc;border-radius:7px;align-items:center;gap:13px;padding:14px 20px;display:flex;position:absolute;bottom:7px;left:50%;transform:translate(-50%)}.best-spark{color:#84956c;font-size:30px}.best-badge .eyebrow{font-size:16px;display:block}.best-badge strong{font-size:24px;font-weight:500;line-height:1.3;display:block}.best-badge small{color:#7b8572;letter-spacing:0;font-size:16px;font-weight:400}.mode-strip{position:absolute;bottom:28px;left:0;right:0}.mode-strip>p{letter-spacing:1.7px;color:#858c7d;margin-bottom:17px;font-size:16px}.mode-list{grid-template-columns:repeat(5,1fr);gap:11px;display:grid}.mode-card{border:1px solid var(--line);background:#f6f6efb3;border-radius:6px;align-items:center;gap:12px;min-height:79px;padding:17px 14px;display:flex;position:relative}.mode-icon{color:#667b56;width:30px;display:flex}.mode-icon svg{stroke-width:1.15px;width:28px;height:28px}.mode-name,.mode-desc{display:block}.mode-name{color:#3b503b;font-size:16px;font-weight:500}.mode-desc{color:#929786;margin-top:7px;font-size:16px}.mode-index{color:#a8ad9c;font-size:16px;position:absolute;top:8px;right:9px}footer{border-top:1px solid var(--line);letter-spacing:1.4px;color:#929988;flex-shrink:0;justify-content:space-between;align-items:center;height:43px;font-size:16px;display:flex}.footer-right{letter-spacing:.2px;align-items:center;gap:7px;font-size:16px;display:flex}.status-dot{background:#8ba36d;border-radius:50%;width:5px;height:5px}[data-screen=game] .scene-wrap{inset:160px 9% 165px}[data-screen=game] .scene-wrap.occluded{visibility:hidden!important}.game-ui{pointer-events:none;position:absolute;inset:0}.game-ui button,.answer-overlay{pointer-events:auto}.round-top{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:24px;height:67px;display:flex}.round-progress{gap:7px;margin-right:45px;display:flex}.round-progress span{background:#dcded2;border-radius:3px;width:23px;height:4px}.round-progress .current{background:#dd7045}.round-progress .correct{background:#79985b}.round-progress .incorrect{background:#d8ad97}.score-label{letter-spacing:1.2px;color:#89917e;white-space:nowrap;font-size:16px}.phase-heading{text-align:center;pointer-events:none;position:absolute;top:94px;left:0;right:0}.phase-kicker{letter-spacing:1.7px;color:#8b927f;text-transform:uppercase;justify-content:center;align-items:center;gap:10px;font-size:16px;display:flex}.kicker-dot{color:var(--accent)}.phase-heading h1{letter-spacing:-1.4px;margin-top:14px;font-size:clamp(25px,3vw,39px);font-weight:400}.phase-heading h1.success{color:#65834b}.phase-heading p{color:#8b927f;margin-top:10px;font-size:16px;line-height:1.6}.answer-overlay{touch-action:none;-webkit-user-select:none;user-select:none;flex-direction:column;justify-content:center;align-items:center;display:flex;position:absolute;inset:180px 5% 185px}.answer-number{letter-spacing:-8px;font-variant-numeric:tabular-nums;font-size:clamp(90px,11vw,150px);font-weight:400;line-height:1.1}.answer-overlay .eyebrow{margin-top:12px;font-size:16px}.prepare-overlay{color:#a0ad91;justify-content:center;align-items:center;display:flex;position:absolute;inset:220px 0 195px}.prepare-overlay svg{stroke-width:.8px;width:65px;height:65px;animation:1s infinite breathe}.game-bottom{text-align:center;width:min(480px,100%);position:absolute;bottom:20px;left:50%;transform:translate(-50%)}.timer{width:280px;max-width:80%;margin:0 auto 24px}.timer-row{color:#909681;justify-content:space-between;align-items:center;margin-bottom:9px;font-size:16px;display:flex}.timer-track{background:#dfe3d4;border-radius:3px;height:3px;overflow:hidden}#timer-fill{transform-origin:0;background:#8ea66e;height:100%;transition:background .2s}#timer-fill.urgent{background:#dd7045}.answer-controls{justify-content:center;gap:10px;display:flex}.count-button{background:#ecede2;border:1px solid #d8ddcb;border-radius:6px;flex-direction:column;justify-content:center;align-items:center;gap:4px;width:88px;min-height:66px;display:flex}.count-button strong{font-size:23px;font-weight:400;line-height:1}.count-button span{letter-spacing:1px;color:#8a957b;font-size:16px}.count-button.plus{background:#e0e8cf;border-color:#c3cfaf}.count-button:hover{filter:brightness(.97)}.count-button:active{transform:scale(.97)}.done{min-width:153px}.control-hint{color:#999f8d;min-height:12px;margin-top:12px;font-size:16px}.phase-actions{justify-content:center;align-items:center;min-height:52px;display:flex}.answer-controls:not([hidden])+.phase-actions{display:none}.layer-badge{letter-spacing:1.4px;color:#78886c;background:#f0f2e6;border:1px solid #d8dfce;border-radius:4px;padding:9px 12px;font-size:16px;position:absolute;top:204px;right:18%}.count-badge{text-align:center;color:#6b805a;background:#ecf0dfed;border:1px solid #d5dfc9;border-radius:6px;flex-direction:column;gap:6px;padding:18px 23px;display:flex;position:absolute;top:45%;right:8%}.count-badge strong{font-variant-numeric:tabular-nums;font-size:35px;font-weight:400}.count-badge strong span{letter-spacing:.5px;color:#869474;margin-top:9px;font-size:16px;display:block}.count-badge.verdict{padding:12px 20px;top:auto;bottom:95px;right:2%}.results{text-align:center;flex-direction:column;justify-content:center;align-items:center;height:100%;padding:20px 0;display:flex}.result-emblem{color:#6b8553;background:#e2e9d5;border-radius:50%;place-items:center;width:60px;height:60px;margin:18px 0;display:grid}.result-emblem svg{stroke-width:1.25px;width:31px;height:31px}.results h1{letter-spacing:-1.5px;font-size:37px;font-weight:400}.result-score{letter-spacing:-5px;margin:12px 0 0;font-size:100px;line-height:1.1}.result-score span{letter-spacing:-1px;color:#adb49e;margin-left:12px;font-size:34px}.result-caption{color:#8a947e;font-size:16px}.result-description{color:#88937a;margin-top:20px;font-size:16px;line-height:1.8}.record-label{color:#789452;border:1px solid #d6dfc7;border-radius:30px;margin-top:13px;padding:8px 15px;font-size:16px}.result-rounds{flex-wrap:wrap;justify-content:center;gap:7px;margin-top:26px;display:flex}.result-round{background:#eef0e5;border:1px solid #d8dece;border-radius:5px;flex-direction:column;align-items:center;gap:8px;padding:10px 11px;display:flex}.result-round>span{color:#879479;font-size:16px}.result-round strong{color:#7b995b;width:17px;height:17px}.result-round svg{width:17px;height:17px}.result-round small{color:#839175;font-size:16px}.result-round.wrong{background:#f0eae0;border-color:#e4d9cb}.result-round.wrong strong{color:#ba8b6b}.results-actions{justify-content:center;align-items:center;gap:22px;margin-top:27px;display:flex}.modal-backdrop{z-index:20;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#edf0e2f5;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.modal{background:#f8f8f1;border:1px solid #d9dfce;border-radius:12px;width:min(560px,100%);max-height:calc(100dvh - 40px);padding:40px;position:relative;overflow:auto;box-shadow:0 24px 80px #2b3e3010}.modal h2{letter-spacing:-1px;margin-top:12px;font-size:31px;font-weight:400;line-height:1.15}.modal>p:not(.eyebrow){color:#8a947f;margin-top:15px;font-size:16px;line-height:1.7}.modal-close{width:36px;min-height:36px;position:absolute;top:14px;right:14px}.modal ol{margin:26px 0;padding:0;list-style:none}.modal li{align-items:flex-start;gap:15px;margin-top:19px;display:flex}.modal li>span{color:#a0ad8d;padding-top:3px;font-size:16px}.modal li>p{color:#748367;font-size:16px;line-height:1.7}.modal-actions{align-items:center;gap:18px;display:flex}.pause-modal{text-align:center;max-width:430px;padding:45px 30px}.pause-modal .primary{min-width:220px;margin:24px auto 8px}.pause-modal>.text-button{margin:auto;display:flex}.modal-symbol{color:#85966e;background:#e6ebda;border-radius:50%;place-items:center;width:56px;height:56px;margin:0 auto 20px;display:grid}.fatal{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:25px;height:100dvh;padding:30px;display:flex}.fatal p{max-width:440px;color:var(--muted);line-height:1.8}@keyframes breathe{50%{opacity:.4;transform:translateY(-5px)}}@media (width>=1450px){.home-intro{top:7%}.intro{max-width:370px;font-size:16px}.home-actions{margin-top:32px}.mode-card{padding:22px 20px}.mode-name,.mode-desc{font-size:16px}}@media (height<=760px) and (width>=801px){.header{height:78px}.home-intro{top:28px}.home-intro h1{margin-top:16px;font-size:clamp(44px,4.5vw,66px)}.intro{max-width:340px;margin-top:17px}.home-actions{margin-top:19px}.mode-card{min-height:65px;padding:13px 12px}.mode-strip{bottom:17px}.scene-wrap{bottom:142px}.best-badge{padding:10px 16px;bottom:0}.phase-heading{top:80px}.phase-heading h1{font-size:30px}[data-screen=game] .scene-wrap{top:150px;bottom:135px}.game-bottom{bottom:5px}.count-badge.verdict{bottom:78px}.result-emblem{width:45px;height:45px;margin:12px 0}.results h1{font-size:29px}.result-score{font-size:75px}.result-description{margin-top:12px}.result-rounds{margin-top:16px}.results-actions{margin-top:18px}}@media (width<=1000px){.tagline{display:none}.mode-card{gap:8px;padding:17px 9px}.mode-desc{font-size:16px}.mode-icon{width:24px}.mode-icon svg{width:23px}.home-actions{gap:8px}.home-actions .text-button{font-size:16px}.session-notes{gap:7px;font-size:16px}.round-progress{margin-right:0}}@media (width<=800px){.shell{padding:0 24px}.header{gap:10px;height:75px}.brand{gap:8px;font-size:25px}.brand-mark{width:30px;height:35px}.brand-mark svg{width:30px;height:30px}.header nav{gap:10px}.nav-divider{display:none}.help-button{min-width:36px;padding:0}.help-button span{display:none}.icon-button{width:36px;min-width:36px;min-height:36px}.language-button{min-width:30px}.home-intro{text-align:center;width:100%;top:28px}.home-intro .eyebrow{letter-spacing:1.3px;font-size:16px}.home-intro h1{letter-spacing:-2.5px;margin-top:18px;font-size:52px;line-height:1}.home-intro h1 span{display:inline}.home-intro h1 span:nth-child(2):before{content:" "}.home-intro h1 .hero-accent{letter-spacing:-2px;margin-top:3px;font-size:57px;display:block}.intro{max-width:325px;margin:14px auto 0;font-size:16px;line-height:1.7}.home-actions{z-index:3;flex-direction:column;justify-content:center;gap:0;margin:0;position:fixed;bottom:132px;left:24px;right:24px}.home-actions .primary{width:100%;max-width:360px}.home-actions .text-button{min-height:30px}.home-actions:has(.text-button:not([hidden])){bottom:119px}.session-notes{justify-content:center;gap:8px;margin:0;font-size:16px;position:fixed;bottom:109px;left:0;right:0}.home-actions:has(.text-button:not([hidden]))+.session-notes{display:none}.scene-wrap{inset:215px -8% 195px}.scene-corner{font-size:16px;top:12px;right:15%}.illustration-label{font-size:24px;right:12%}.label-line{width:35px;right:45px}.best-badge{gap:9px;padding:9px 15px;bottom:2px}.best-spark{font-size:25px}.best-badge .eyebrow{font-size:16px}.best-badge strong{font-size:19px}.best-badge small{font-size:16px}.mode-strip{bottom:14px}.mode-strip>p{display:none}.mode-list{gap:5px}.mode-card{text-align:center;border-radius:5px;flex-direction:column;gap:6px;min-height:62px;padding:10px 2px 8px}.mode-name{white-space:nowrap;font-size:16px}.mode-desc,.mode-index{display:none}.mode-icon{width:22px}.mode-icon svg{width:22px;height:22px}.mode-card:nth-child(3) .mode-name{font-size:16px}footer{letter-spacing:1px;height:29px;font-size:16px}.footer-right{font-size:16px}.footer-right .status-dot{width:4px;height:4px}.round-top{gap:10px;height:57px}.round-top .text-button{padding:0;font-size:16px}.round-progress{gap:4px}.round-progress span{width:12px;height:3px}.score-label{letter-spacing:.5px;font-size:16px}.phase-heading{top:87px}.phase-kicker{letter-spacing:1px;gap:7px;font-size:16px}.phase-heading h1{letter-spacing:-1px;margin-top:13px;font-size:27px}.phase-heading p{max-width:320px;min-height:35px;margin:10px auto 0;font-size:16px}.game-bottom{width:100%;bottom:18px}.timer{width:245px;margin-bottom:21px}.timer-row{font-size:16px}.answer-controls{gap:8px}.count-button{width:73px;min-height:67px}.done{min-width:130px;padding:0 18px}.count-button span{display:none}.control-hint{margin-top:13px;font-size:16px}.answer-number{letter-spacing:-6px;font-size:115px}.answer-overlay{inset:170px -10px 180px}.prepare-overlay{inset:190px 0 180px}[data-screen=game] .scene-wrap{inset:179px -5% 180px}.count-badge{flex-direction:row;align-items:center;gap:15px;padding:10px 22px;top:auto;bottom:125px;right:50%;transform:translate(50%)}.count-badge>span{font-size:16px}.count-badge strong{font-size:28px}.count-badge.verdict{padding:10px 18px;bottom:100px;right:50%}.count-badge.verdict strong{font-size:23px}.count-badge strong span{margin-top:4px;font-size:16px}.layer-badge{padding:7px 9px;font-size:16px;top:199px;right:6px}.results h1{letter-spacing:-1px;font-size:29px}.results .eyebrow{font-size:16px}.result-score{font-size:94px}.result-description{max-width:290px;font-size:16px}.result-rounds{grid-template-columns:repeat(5,1fr);gap:6px;margin-top:22px;display:grid}.result-round{gap:5px;padding:8px 14px}.result-round small{font-size:16px}.result-emblem{margin:17px 0}.results-actions{gap:15px;margin-top:23px}.results-actions .primary{gap:18px;font-size:16px}.modal{padding:32px 23px}.modal h2{max-width:265px;margin-top:14px;font-size:27px}.modal li{gap:12px;margin-top:15px}.modal li>p,.modal>p:not(.eyebrow){font-size:16px}.modal-actions{gap:10px}.modal-actions .primary{gap:12px;padding:0 15px;font-size:16px}.pause-modal h2{max-width:none}.pause-modal .primary{font-size:16px}}@media (height<=740px) and (width<=800px) and (orientation:portrait){.header{height:64px}.home-intro{top:21px}.home-intro h1{margin-top:13px;font-size:43px}.home-intro h1 .hero-accent{font-size:48px}.intro{max-width:290px;margin-top:10px;font-size:16px}.scene-wrap{top:180px;bottom:180px}.scene-corner{display:none}.best-badge{padding:6px 12px;bottom:-10px}.best-badge .eyebrow,.best-badge small,.best-badge strong{font-size:16px}.home-actions{bottom:122px}.session-notes{bottom:100px}.mode-card{min-height:56px}.mode-strip{bottom:9px}.phase-heading{top:72px}.phase-heading h1{font-size:24px}.phase-heading p{font-size:16px}[data-screen=game] .scene-wrap{top:160px;bottom:158px}.answer-overlay{inset:155px 0 170px}.game-bottom{bottom:9px}.count-badge.verdict{bottom:87px}.result-emblem{width:42px;height:42px;margin:10px 0}.results h1{font-size:25px}.result-score{font-size:72px}.result-description{margin-top:12px}.record-label{margin-top:8px;padding:5px 12px}.result-rounds{margin-top:14px}.results-actions{margin-top:17px}}@media (height<=540px) and (orientation:landscape){.shell{padding:0 25px}.header{height:55px}.brand{font-size:23px}.tagline{display:none}.header nav{gap:10px}.icon-button{width:32px;min-width:32px;min-height:32px}.home-intro{text-align:left;width:46%;top:20px}.home-intro .eyebrow{letter-spacing:1px;font-size:16px}.home-intro h1{letter-spacing:-1.7px;margin-top:12px;font-size:39px;line-height:1}.home-intro h1 span{display:block}.home-intro h1 span:nth-child(2):before{content:""}.home-intro h1 .hero-accent{letter-spacing:-1.7px;font-size:41px}.intro{max-width:280px;margin:12px 0;font-size:16px;line-height:1.6}.home-actions{flex-direction:row;justify-content:flex-start;gap:8px;margin-top:15px;position:static}.home-actions .primary{gap:20px;width:auto;min-height:42px;padding:0 17px;font-size:16px}.home-actions .text-button{font-size:16px}.session-notes{justify-content:flex-start;margin-top:12px;font-size:16px;position:static}.scene-wrap{inset:3px -2% 18px 45%}.scene-corner{display:none}.best-badge{padding:6px 12px;bottom:0}.best-badge strong{font-size:17px}.best-badge .eyebrow,.best-badge small{font-size:16px}.mode-strip{display:none}footer{height:24px;font-size:16px}.footer-right{font-size:16px}.round-top{height:43px}.round-progress span{width:18px}.phase-heading{top:60px;left:0;right:34%}.phase-heading h1{margin-top:8px;font-size:24px}.phase-heading p{max-width:350px;margin:5px auto;font-size:16px}.phase-kicker{font-size:16px}[data-screen=game] .scene-wrap{inset:105px 34% 5px 0}.answer-overlay{inset:112px 34% 10px 0}.answer-number{font-size:95px}.answer-overlay .eyebrow{font-size:16px}.game-bottom{width:30%;bottom:50%;left:auto;right:0;transform:translateY(65%)}.timer{width:100%;max-width:100%;margin-bottom:17px}.timer-row{font-size:16px}.answer-controls{grid-template-columns:1fr 1fr;gap:7px;display:grid}.count-button{width:auto;min-height:52px}.done{grid-column:span 2;min-width:0;min-height:45px}.control-hint{font-size:16px}.phase-actions .primary{gap:8px;padding:0 15px;font-size:16px}.count-badge,.count-badge.verdict{padding:7px 11px;top:110px;bottom:auto;right:34%;transform:none}.count-badge strong{font-size:20px}.count-badge>span{font-size:16px}.prepare-overlay{inset:130px 34% 5px 0}.layer-badge{font-size:16px;top:118px;right:38%}.results{padding:10px 0}.results>.eyebrow{font-size:16px}.result-emblem{display:none}.results h1{margin-top:6px;font-size:24px}.result-score{margin-top:4px;font-size:60px}.result-score span{font-size:24px}.result-caption{font-size:16px}.result-description{max-width:none;margin-top:7px;font-size:16px}.record-label{margin-top:6px;padding:4px 10px;font-size:16px}.result-rounds{gap:5px;margin-top:12px;display:flex}.result-round{gap:3px;padding:5px 10px}.result-round>span,.result-round small{font-size:16px}.result-round strong,.result-round svg{width:13px;height:13px}.results-actions{margin-top:13px}.results-actions .primary{min-height:40px;font-size:16px}.modal{max-height:calc(100dvh - 24px);padding:22px 30px}.modal li{margin-top:12px}.modal ol{margin:18px 0}.pause-modal{padding:25px}.pause-modal h2{font-size:25px}.modal-symbol{width:36px;height:36px;margin-bottom:12px}.pause-modal .primary{min-height:42px;margin-top:15px}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}#app[data-phase=home] .header{border-bottom:0;height:82px}#app[data-phase=home] .brand{opacity:.65;font-size:23px}#app[data-phase=home] .tagline,#app[data-phase=home] .help-button span,#app[data-phase=home] .nav-divider,#app[data-phase=home] footer,#home>.eyebrow,#home>.intro,#home>.session-notes,#hero3,#mode-strip,#scene .scene-corner,#illustration-label{display:none!important}#app[data-phase=home] .home-intro{display:contents}#app[data-phase=home] .home-intro h1{z-index:2;text-align:center;letter-spacing:-2px;margin:0;font-family:Trebuchet MS,Arial,sans-serif;font-size:44px;font-weight:800;line-height:1.02;position:absolute;top:10px;left:0;right:0}#app[data-phase=home] .home-intro h1 span{display:block}#app[data-phase=home] .home-intro h1 #hero2{letter-spacing:-5px;font-size:90px;line-height:1.05}#app[data-phase=home] .home-intro h1 span:nth-child(2):before{content:none}#app[data-phase=home] .home-actions{z-index:3;flex-direction:column;gap:14px;width:340px;max-width:90%;margin:0;display:flex;position:absolute;inset:auto auto 72px 50%;transform:translate(-50%)}#app[data-phase=home] .menu-play-button{letter-spacing:.2px;color:#fffdf4;background:#ec7543;border:2px solid #dd6234;border-radius:18px;gap:16px;width:100%;max-width:none;min-height:80px;font-size:25px;font-weight:700;transition:transform .15s,background .15s,box-shadow .15s;box-shadow:0 6px #b94e2c,0 15px 35px #d36f4328}#app[data-phase=home] .menu-play-button svg{width:27px;height:27px}#app[data-phase=home] .menu-play-button:hover{background:#f1844f;transform:translateY(-2px);box-shadow:0 8px #b94e2c,0 18px 35px #d36f4338}#app[data-phase=home] .menu-play-button:active{transform:translateY(4px);box-shadow:0 2px #b94e2c,0 5px 15px #d36f4328}#app[data-phase=home] #best-badge{box-shadow:none;background:0 0;border:0;gap:8px;padding:0;position:fixed;top:auto;bottom:18px;left:50%;transform:translate(-50%)}#app[data-phase=home] #best-badge>div{align-items:center;gap:10px;display:flex}#app[data-phase=home] .best-spark{font-size:20px}#app[data-phase=home] #best-value,#app[data-phase=home] #best-value small,#app[data-phase=home] #best-label{font-size:16px}@media (height>=1000px){#app[data-phase=home] .home-intro h1{top:55px}#app[data-phase=home] .scene-wrap{top:225px;bottom:230px}#app[data-phase=home] .home-actions{bottom:105px}}@media (width<=800px){#app[data-phase=home] .header{height:65px}#app[data-phase=home] .brand{font-size:20px}#app[data-phase=home] .brand-mark svg{width:25px;height:25px}#app[data-phase=home] .header nav{gap:6px}#app[data-phase=home] .help-button,#app[data-phase=home] .icon-button,#app[data-phase=home] .language-button{min-width:44px;min-height:44px}#app[data-phase=home] .home-intro h1{letter-spacing:-1px;font-size:32px;top:24px}#app[data-phase=home] .home-intro h1 #hero2{letter-spacing:-3px;font-size:66px}#app[data-phase=home] .scene-wrap{inset:142px 0 177px}#app[data-phase=home] .home-actions{gap:13px;width:310px;bottom:75px}#app[data-phase=home] .menu-play-button{border-radius:16px;min-height:73px;font-size:24px}#app[data-phase=home] #best-badge{bottom:24px}}@media (height<=680px) and (orientation:portrait){#app[data-phase=home] .home-intro h1{font-size:26px;top:12px}#app[data-phase=home] .home-intro h1 #hero2{font-size:53px}#app[data-phase=home] .scene-wrap{top:105px;bottom:150px}#app[data-phase=home] .home-actions{width:280px;bottom:62px}#app[data-phase=home] .menu-play-button{min-height:65px}#app[data-phase=home] #best-badge{bottom:14px}}@media (height<=540px) and (orientation:landscape){#app[data-phase=home] .header{height:53px}#app[data-phase=home] .home-intro h1{font-size:27px;top:37px;left:0;right:54%}#app[data-phase=home] .home-intro h1 #hero2{letter-spacing:-3px;font-size:56px}#app[data-phase=home] .scene-wrap{inset:-6px 0 26px 43%}#app[data-phase=home] .home-actions{width:225px;bottom:65px;left:23%}#app[data-phase=home] .menu-play-button{min-height:61px;font-size:21px}#app[data-phase=home] #best-badge{bottom:17px;left:23%}}#app{min-height:0}.shell{padding-top:max(16px,env(safe-area-inset-top));padding-bottom:env(safe-area-inset-bottom)}.header,#app[data-phase=home] .header{border:0;flex-basis:0;height:0}.brand,.tagline,.header .nav-divider,footer{display:none!important}.header nav{left:50%;bottom:max(20px,env(safe-area-inset-bottom));z-index:12;justify-content:center;gap:12px;margin:0;display:flex;position:fixed;transform:translate(-50%)}.header nav button,#app[data-phase=home] .header nav button{letter-spacing:0;background:#eceee2;border:1px solid #d3d9c9;border-radius:13px;width:54px;min-width:54px;height:52px;min-height:52px;padding:0;font-size:16px;font-weight:600;box-shadow:0 3px #d2d7c5}.header nav button:hover{background:#e2e7d5;transform:translateY(-1px)}.header nav button:active{transform:translateY(2px);box-shadow:0 1px #d2d7c5}.header nav button svg{width:23px;height:23px}.header .help-button span{display:none}.workspace{margin-bottom:91px}#app[data-phase=home] .workspace{margin-bottom:0}#app[data-phase=home] .home-intro h1{letter-spacing:-6px;justify-content:center;align-items:baseline;gap:20px;font-size:100px;display:flex;top:29px}#app[data-phase=home] .home-intro h1 span,#app[data-phase=home] .home-intro h1 #hero2{font-size:inherit;letter-spacing:inherit;line-height:1.15;display:inline}#app[data-phase=home] .home-intro h1 #hero2{color:#dc7045}#app[data-phase=home] .home-intro h1 #hero3:empty{display:none}#app[data-phase=home] .scene-wrap{inset:142px 10% 256px}#app[data-phase=home] .home-actions{gap:13px;bottom:151px}#app[data-phase=home] #best-label,#app[data-phase=home] #best-value small{font-size:16px}.round-top{gap:18px}.round-top .text-button{font-size:16px}.round-progress{margin:0}.score-label{letter-spacing:.2px;font-size:16px}.phase-kicker{letter-spacing:.5px;text-transform:none;font-size:16px}.phase-heading p{max-width:650px;margin:12px auto 0;padding:0 10px;font-size:16px}.game-bottom{width:min(530px,100%);bottom:12px}.timer{width:335px;max-width:100%;margin-bottom:21px}.timer-row{align-items:center;gap:15px;font-size:16px;line-height:1.35}.timer-row #timer-label{text-align:left;max-width:none}.timer-row #timer-value{white-space:nowrap}.timer-track{height:4px}.control-hint{min-height:20px;margin-top:13px;font-size:16px;line-height:1.4}.count-button span{letter-spacing:0;font-size:16px}.count-button{gap:8px;width:95px;min-height:80px}.primary,.text-button{font-size:16px}.primary{min-height:56px}.primary.secondary,.duel-panel .primary.secondary{color:#484c48;background:#e4e4e1;box-shadow:0 4px #b1b4af}.primary.secondary:hover,.duel-panel .primary.secondary:hover{background:#ededeb;box-shadow:0 5px #b1b4af}.primary.secondary:active,.duel-panel .primary.secondary:active{box-shadow:0 2px #b1b4af}.results-actions,.modal-actions{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;width:100%;display:grid}.results-actions{max-width:560px}.results-actions .primary,.modal-actions .primary{width:100%;height:100%}.pause-modal .primary{width:100%;min-width:0;max-width:260px;display:flex}.pause-modal .secondary{margin-top:12px}.answer-overlay .eyebrow{font-size:16px}.count-badge>span{letter-spacing:.5px;font-size:16px}.count-badge strong span{letter-spacing:0;font-size:16px;line-height:1.5}.count-badge.verdict{bottom:106px}.count-badge.verdict strong{font-size:30px}.layer-badge{letter-spacing:.5px;font-size:16px}.results{padding:20px 0;overflow:auto}.results .eyebrow,.result-caption,.result-description,.record-label,.result-round>span,.result-round small{font-size:16px}.result-rounds{grid-template-columns:repeat(10,minmax(0,1fr));gap:8px;width:min(730px,100%);display:grid}.result-round{gap:9px;padding:10px 4px}.result-round small{white-space:nowrap}.modal{width:min(640px,100%)}.modal .eyebrow,.modal>p:not(.eyebrow),.modal li>p,.modal li>span,.modal-actions .primary{font-size:16px;line-height:1.65}.modal-close{min-width:48px;min-height:48px}.modal li{margin-top:18px}.pause-modal{max-width:460px}.sr-only{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.difficulty-picker{background:#eceee2;border:1px solid #d5dccc;border-radius:15px;gap:5px;width:100%;padding:5px;display:flex}.difficulty-picker button{background:0 0;border:0;border-radius:10px;flex:1;min-width:0;min-height:44px;padding:0 8px;font-size:16px;font-weight:600;transition:background-color .16s,color .16s,box-shadow .16s}.difficulty-picker button[aria-pressed=true]{color:#fafbf4;background:#2c4435;box-shadow:0 2px 5px #293d3020}.difficulty-picker button:hover:not([aria-pressed=true]){background:#e0e5d5}.difficulty-picker button:focus-visible{outline-offset:2px;outline:3px solid #dc7045}#app[data-phase=home] .scene-wrap{bottom:335px}@media (height>=1000px){#app[data-phase=home] .home-intro h1{top:73px}#app[data-phase=home] .scene-wrap{top:215px;bottom:365px}#app[data-phase=home] .home-actions{bottom:168px}}@media (width<=800px){.shell{padding-left:20px;padding-right:20px}#app[data-phase=home] .home-intro h1{letter-spacing:-2px;gap:12px;font-size:clamp(38px,9vw,65px);top:43px}#app[data-phase=home] .scene-wrap{inset:150px 0 330px}#app[data-phase=home] .home-actions{width:310px;bottom:153px}#app[data-phase=home] #best-badge{bottom:91px}.round-top{grid-template-columns:1fr auto;gap:7px 12px;height:84px;padding:7px 0 12px;display:grid}.round-top>.text-button{justify-self:start;min-height:36px}.score-label{grid-area:1/2;font-size:16px}.round-progress{grid-area:2/1/auto/-1;justify-content:center;gap:5px}.round-progress span{width:22px;height:4px}.phase-heading{top:110px}.phase-heading h1{margin-top:12px;font-size:27px}.phase-kicker{letter-spacing:0;gap:8px;font-size:16px}.phase-heading p{max-width:350px;margin-top:11px;font-size:16px;line-height:1.45}[data-screen=game] .scene-wrap{inset:215px -4% 188px}.answer-overlay{inset:209px 0 199px}.prepare-overlay{inset:220px 0 195px}.game-bottom{bottom:12px}.timer{width:100%;margin-bottom:18px}.timer-row #timer-label{max-width:245px}.timer-row{font-size:16px}.answer-controls{gap:8px}.count-button{width:75px;min-height:70px}.done{min-width:132px;padding:0 18px;font-size:16px}.count-button span{display:none}.count-badge,.count-badge.verdict{gap:12px;padding:10px 14px;bottom:120px}.count-badge>span,.count-badge strong span{font-size:16px}.layer-badge{padding:7px;font-size:16px;top:224px;right:0}.result-rounds{grid-template-columns:repeat(5,minmax(0,1fr));gap:7px}.result-round{gap:7px;padding:8px 3px}.results-actions .primary,.results-actions .text-button{font-size:16px}.modal{padding:35px 23px}.modal h2{max-width:calc(100% - 25px);font-size:28px}.modal-actions{flex-wrap:wrap;gap:7px 15px}.modal-actions .primary{padding:0 18px;font-size:16px}}@media (height<=730px) and (orientation:portrait){#app[data-phase=home] .home-intro h1{letter-spacing:-2px;font-size:clamp(38px,9vw,58px);top:31px}#app[data-phase=home] .scene-wrap{top:105px;bottom:295px}#app[data-phase=home] .home-actions{width:280px;bottom:137px}#app[data-phase=home] .menu-play-button{min-height:66px}.phase-heading{top:100px}.phase-heading h1{font-size:24px}.phase-heading p{margin-top:7px;font-size:16px}[data-screen=game] .scene-wrap{top:213px;bottom:165px}.answer-overlay{inset:195px 0 182px}.answer-number{font-size:86px}.game-bottom{bottom:4px}.timer{margin-bottom:13px}.count-button{min-height:61px}.results{justify-content:flex-start}.result-score{font-size:72px}}@media (height<=540px) and (orientation:landscape){.workspace{margin-bottom:82px;margin-right:0}.header nav{bottom:12px}#app[data-phase=home] .home-intro h1{letter-spacing:-3px;flex-wrap:wrap;gap:9px;font-size:48px;top:22px;left:0;right:53%}#app[data-phase=home] .scene-wrap{inset:3px 0 18px 43%}#app[data-phase=home] .home-actions{gap:8px;width:300px;bottom:92px;left:23%}#app[data-phase=home] #best-badge{bottom:80px;left:23%}.round-top{gap:10px;height:50px;padding:0;display:flex}.round-progress{gap:4px}.round-progress span{width:13px}.score-label,.round-top>.text-button{font-size:16px}.phase-heading{top:67px;right:36%}.phase-heading h1{font-size:24px}.phase-heading p{margin-top:8px;font-size:16px;line-height:1.35}[data-screen=game] .scene-wrap{inset:155px 36% 0 0}.answer-overlay{inset:160px 36% 10px 0}.answer-number{font-size:85px}.game-bottom{width:32%;bottom:46%;right:0;transform:translateY(60%)}.timer-row{flex-wrap:wrap;gap:5px;font-size:16px}.count-button{width:auto;min-height:51px}.done{min-width:0;min-height:48px}.control-hint{font-size:16px;line-height:1.25}.layer-badge{font-size:16px;top:170px;right:36%}.count-badge,.count-badge.verdict{padding:8px;font-size:16px;top:170px;bottom:auto;right:36%}.count-badge>span,.count-badge strong span{font-size:16px}.results{justify-content:flex-start;padding:10px 0}.results h1{font-size:26px}.result-score{font-size:55px}.result-score span{font-size:24px}.result-rounds{grid-template-columns:repeat(10,minmax(0,1fr));gap:4px}.result-round{gap:5px;padding:6px 1px}.result-round small{font-size:16px}.results-actions{margin-top:14px}.modal{padding:27px}.modal>p:not(.eyebrow),.modal li>p{font-size:16px}}#app{--play-bottom:151px}#app[data-phase=home] .home-actions{bottom:var(--play-bottom)}#app[data-phase=home] .header nav{bottom:calc(var(--play-bottom) - 80px)}#app[data-phase=home] #best-badge{bottom:20px}@media (height>=1000px){#app{--play-bottom:168px}}@media (width<=800px){#app{--play-bottom:153px}}@media (height<=730px) and (orientation:portrait){#app{--play-bottom:137px}}@media (height<=540px) and (orientation:landscape){#app{--play-bottom:122px}}.primary,.count-button,.text-button,.icon-button,.language-button{transition:transform .14s cubic-bezier(.16,1,.3,1),background-color .16s ease-out,box-shadow .16s ease-out}.count-value{font-size:inherit;font-weight:inherit;text-align:center;min-width:2ch;display:inline-block}@media (width>=801px) and (height>=541px){.count-badge,.count-badge.verdict{padding:12px 20px;top:auto;bottom:106px;right:2%}}.count-badge strong,.count-badge.verdict strong{font-variant-numeric:tabular-nums;font-size:30px}.count-badge{white-space:nowrap;width:max-content;max-width:100%}@media (width>=801px) and (height>=541px){[data-screen=game] .scene-wrap{top:235px;bottom:180px}}@media (width<=800px) and (orientation:portrait){.count-badge,.count-badge.verdict{background:0 0;border:0;flex-direction:column;gap:5px;width:max-content;max-width:100%;padding:0;bottom:125px;left:50%;right:auto;transform:translate(-50%)}.count-badge strong,.count-badge.verdict strong{font-size:25px;line-height:1.25}.count-badge strong span,.count-badge.verdict strong span{vertical-align:middle;white-space:nowrap;margin:0 0 0 18px;font-size:16px;display:inline-block}}@media (height<=540px) and (orientation:landscape){.count-badge,.count-badge.verdict{white-space:normal;background:0 0;border:0;flex-direction:column;gap:6px;width:32%;max-width:32%;padding:0;inset:70px 0 auto auto;transform:none}.count-badge strong,.count-badge.verdict strong{font-size:25px}#app[data-phase=reveal] .game-bottom,#app[data-phase=verdict] .game-bottom{bottom:16px;transform:none}}#duel-screen{z-index:15;background:var(--paper,#f5f4ee);color:#293d30;flex-direction:column;min-height:0;font-size:16px;display:flex;position:absolute;inset:0}.duel-toolbar{flex-shrink:0;justify-content:space-between;align-items:center;gap:12px;min-height:44px;font-size:16px;display:flex}.duel-toolbar button{min-height:40px}.duel-toolbar>span{color:#798571;text-align:center}#duel-notice{text-align:center;background:#eef0e5;border:1px solid #d4dcc8;border-radius:10px;flex-shrink:0;padding:10px 14px;font-size:16px;line-height:1.4}.duel-panel{background:#fafbf4;border:1px solid #d6ddca;border-radius:22px;flex-direction:column;gap:18px;width:min(460px,100%);margin:auto;padding:24px;display:flex;box-shadow:0 18px 60px #293d300a}.duel-panel h2{letter-spacing:-1px;font-size:32px;line-height:1.15}.duel-panel p{color:#71806b;font-size:16px;line-height:1.5}.duel-panel label{font-size:16px;font-weight:600}.duel-panel input{width:100%;min-height:52px;font:inherit;color:inherit;background:#fffef9;border:1px solid #c6cfb8;border-radius:10px;padding:10px 14px}.duel-panel input:focus{outline-offset:2px;outline:2px solid #df7546}.duel-panel .primary{background:#ec7543;border-radius:12px;min-height:56px;font-size:18px;font-weight:600;box-shadow:0 4px #b94e2c}#duel-session{flex-direction:column;flex:1;gap:12px;min-height:0;display:flex}#duel-hud{flex-shrink:0}.duel-players{grid-template-columns:1fr 1fr;gap:12px;display:grid}.duel-player{background:#f9faf3;border:1px solid #d6ddca;border-radius:14px;min-width:0;padding:11px 15px}.duel-player>div{justify-content:space-between;align-items:baseline;gap:10px;display:flex}.duel-name{text-overflow:ellipsis;white-space:nowrap;font-size:16px;font-weight:600;overflow:hidden}.duel-score{white-space:nowrap;font-variant-numeric:tabular-nums;font-size:27px;line-height:1.1}.duel-score span{color:#7b8572;margin-left:3px;font-size:16px;font-weight:400}.duel-player-status,.duel-player p{color:#73816c;min-height:20px;margin-top:5px;font-size:16px;line-height:1.25}.duel-player[data-player=opponent]{border-color:#dfc7b4}.duel-player.departed{background:#eeeee7;border-style:dashed;border-color:#9aa18f}.duel-player.departed .duel-player-status{color:#636e5e}.duel-player.vacant{border-style:dashed}.duel-tracks{flex-direction:column;gap:5px;margin-top:8px;display:flex}.duel-track{grid-template-columns:55px repeat(10,minmax(0,1fr));align-items:center;gap:5px;display:grid}.duel-track>span:first-child{color:#75816b;white-space:nowrap;font-size:16px;overflow:hidden}.duel-cell{background:#f4f5ed;border:1px solid #d6ddca;border-radius:5px;justify-content:center;align-items:center;height:21px;font-size:16px;line-height:1;display:flex}.duel-cell.correct{color:#456336;background:#dceacb;border-color:#8da96f}.duel-cell.incorrect{color:#9f542e;background:#f6e0d0;border-color:#d69e7a}.duel-cell.current{background:#fbf0df;border:2px solid #d97446}#duel-play{flex-direction:column;flex:1;min-height:0;display:flex}.duel-heading{text-align:center;flex-shrink:0;padding:8px 0 0}.duel-heading>p:first-child{color:#7f8975;font-size:16px}.duel-heading h2{letter-spacing:-1px;margin-top:7px;font-size:32px;line-height:1.2}.duel-heading>p:last-child{color:#7f8975;min-height:24px;margin-top:7px;font-size:16px;line-height:1.4}#duel-stage{touch-action:none;-webkit-user-select:none;user-select:none;flex:1;min-height:80px;position:relative}#duel-scene{position:absolute;inset:0}#duel-scene canvas{width:100%;height:100%;display:block;position:absolute;inset:0}#duel-overlay{text-align:center;pointer-events:none;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:15px;display:flex;position:absolute;inset:0}#duel-overlay button{pointer-events:auto}#duel-number{letter-spacing:-4px;font-variant-numeric:tabular-nums;font-size:clamp(60px,10vh,112px);font-weight:500;line-height:1.1}#duel-overlay-text{color:#76846c;max-width:360px;font-size:16px;line-height:1.5}#duel-count{background:#f5f6eced;border:1px solid #d7ddcb;border-radius:12px;align-items:center;gap:12px;padding:9px 14px;font-size:16px;display:flex;position:absolute;bottom:12px;right:12px}#duel-count strong{text-align:center;font-variant-numeric:tabular-nums;min-width:2ch;font-size:30px}#duel-layer{color:#6f7c64;background:#f5f6eced;border:1px solid #d6ddca;border-radius:8px;padding:5px 9px;font-size:16px;position:absolute;top:8px;right:8px}.duel-bottom{text-align:center;flex-shrink:0;min-height:122px;padding-top:4px}#duel-timer{text-align:right;width:min(420px,100%);margin:0 auto 12px;font-size:16px}#duel-time-fill{transform-origin:0;background:#91a56e;height:100%}#duel-controls{justify-content:center;gap:10px;display:flex}#duel-controls .count-button{width:80px;min-height:58px;font-size:24px}#duel-done{border-radius:10px;min-width:155px;min-height:58px}#duel-wait{color:#7c886e;min-height:22px;margin-top:8px;font-size:16px;line-height:1.35}#duel-answers{flex-wrap:wrap;justify-content:center;align-items:center;gap:18px;min-height:56px;margin-top:-56px;display:flex}#duel-answers p{flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;font-size:16px;display:flex}#duel-answers strong{font-size:24px}#duel-answers .correct{color:#648245}#duel-answers .incorrect{color:#ac5d37}#duel-lobby{margin-top:auto;margin-bottom:auto}#duel-results{text-align:center}#duel-result-scores p{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}#duel-result-scores strong{color:#293d30;font-size:28px}#app[data-phase=duel] .header .help-button{display:none}#app[data-phase=home] .home-actions{grid-template-columns:minmax(0,1fr);align-items:stretch;display:grid}#app[data-phase=home] .home-actions>.difficulty-picker,#app[data-phase=home] #start-button{grid-column:1/-1}#app[data-phase=home] .menu-play-button.secondary{color:#484c48;background:#e4e4e1;border-color:#ccceca;box-shadow:0 6px #b1b4af,0 15px 35px #42484014}#app[data-phase=home] .menu-play-button.secondary:hover{background:#ededeb;box-shadow:0 8px #b1b4af,0 18px 35px #42484020}#app[data-phase=home] .menu-play-button.secondary:active{box-shadow:0 2px #b1b4af,0 5px 15px #42484014}:is(#app[data-phase=home] .home-actions:has(#fresh-button[hidden]) #friend-button,#app[data-phase=home] .home-actions:has(#friend-button[hidden]) #fresh-button){grid-column:1/-1}#app[data-phase=home]:has(#friend-button:not([hidden])) .scene-wrap{bottom:430px}@media (height>=1000px){#app[data-phase=home]:has(#friend-button:not([hidden])) .scene-wrap{bottom:460px}}@media (width<=800px){#duel-session{gap:6px}.duel-toolbar{gap:6px;min-height:40px}.duel-toolbar button{padding:0;font-size:16px}.duel-toolbar>span{font-size:16px}.duel-players{gap:8px}.duel-player{border-radius:12px;padding:8px 10px}.duel-score{font-size:24px}.duel-player>div{gap:5px}.duel-player-status{overflow-wrap:anywhere;font-size:16px}.duel-name{max-width:110px}.duel-tracks{gap:4px;margin-top:6px}.duel-track{grid-template-columns:42px repeat(10,minmax(0,1fr));gap:3px}.duel-cell{border-radius:4px;height:20px}.duel-heading{padding-top:6px}.duel-heading h2{font-size:26px}.duel-heading>p:last-child{min-height:0;margin-top:5px;font-size:16px}.duel-panel{gap:15px;padding:22px}.duel-panel h2{font-size:28px}.duel-bottom{min-height:115px}.duel-bottom #duel-controls .count-button{width:65px;min-height:54px}#duel-done{min-width:130px;min-height:54px}#duel-answers{gap:8px;margin-top:-58px}#duel-answers p{gap:5px}#duel-answers strong{font-size:22px}#duel-answers p>b{font-size:16px}#duel-count{white-space:nowrap;padding:5px 12px;bottom:8px;right:50%;transform:translate(50%)}#duel-count strong{font-size:26px}}@media (height<=730px) and (orientation:portrait){#app[data-phase=home]:has(#friend-button:not([hidden])) .scene-wrap{bottom:385px}.duel-toolbar{min-height:34px}.duel-heading h2{font-size:23px}.duel-heading>p:last-child{display:none}.duel-heading{padding-top:4px}.duel-heading h2{margin-top:3px}.duel-player{padding:5px 8px}.duel-score{font-size:22px}.duel-bottom{min-height:107px}#duel-timer{margin-bottom:7px}.duel-panel{gap:12px;padding:18px}.duel-panel input{min-height:46px}}@media (height<=540px) and (orientation:landscape){#app[data-phase=home]:has(#friend-button:not([hidden])) .scene-wrap{top:3px;bottom:18px}#app[data-phase=home] .home-intro h1{top:12px}#duel-session{grid-template-rows:auto 1fr;grid-template-columns:minmax(270px,38%) 1fr;gap:8px 18px;display:grid}#duel-hud{grid-area:1/1}.duel-name{max-width:100px}.duel-player{padding:6px 8px}.duel-score{font-size:22px}.duel-player-status{font-size:16px}.duel-tracks{margin-top:4px}.duel-cell{height:19px}#duel-play{pointer-events:none;grid-area:1/1/3/-1;grid-template-rows:105px 1fr 85px;grid-template-columns:minmax(270px,38%) 1fr;gap:0 18px;display:grid}.duel-heading{grid-area:2/1;align-self:center;padding:0}.duel-heading h2{margin-top:4px;font-size:24px}.duel-heading>p:last-child{display:none}#duel-stage{pointer-events:auto;grid-area:1/2/-1}.duel-bottom{pointer-events:auto;grid-area:3/1;min-height:0}#duel-timer{margin-bottom:6px}#duel-controls{gap:6px}#duel-controls .count-button{width:50px;min-height:44px;font-size:21px}#duel-done{min-width:105px;min-height:44px;padding:0 10px}#duel-wait{margin-top:3px}.duel-heading>p:first-child{font-size:16px}#duel-answers{gap:4px;margin-top:-45px}#duel-answers p{font-size:16px}#duel-answers strong{font-size:20px}#duel-answers p>b{display:none}#duel-lobby,#duel-results{grid-area:1/2/-1;gap:10px;width:100%;margin:auto;padding:15px}.duel-panel h2{font-size:25px}.duel-panel input{min-height:44px}.duel-panel .primary{min-height:46px}#duel-setup{grid-template-columns:1fr 1fr;gap:12px 20px;width:min(720px,100%);padding:20px;display:grid}#duel-setup-title,#duel-invited-by{grid-column:1/-1}#duel-nickname-label,#duel-nickname{grid-column:1}#duel-difficulty,#duel-fixed-difficulty{grid-area:3/2/5;align-self:center}#duel-create{grid-column:1/-1}}
