@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{color-scheme:dark;--ink:#142c38;--cream:#f8eedc;--muted:#c0c4bf;--teal:#11b2ae;--gold:#cca969;--coral:#ed7e4c;--line:rgba(245,229,199,.19)}*{box-sizing:border-box}html{min-height:100%;background:#172a33}body{margin:0;color:var(--cream);font-family:'DM Sans',sans-serif;font-size:15px;min-height:100vh;overflow-x:hidden}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:default;opacity:.4}button,input,select{outline-offset:4px}button:focus-visible,input:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:2px solid #69e5d8}button{transition:filter .15s,background .15s,transform .15s}button:hover:not(:disabled){filter:brightness(1.12)}button:active:not(:disabled){transform:translateY(1px)}[hidden]{display:none!important}.room-backdrop{position:fixed;inset:0;z-index:-3;background:#263944 url('/assets/atelier-background.png') center/cover no-repeat}.room-shade{position:fixed;inset:0;z-index:-2;background:linear-gradient(90deg,rgba(14,27,33,.35),rgba(17,31,38,.15) 35%,rgba(13,25,33,.55)),linear-gradient(0deg,rgba(14,23,29,.8),transparent 34%,rgba(13,24,30,.25))}#app{max-width:1600px;min-height:100vh;margin:auto;padding:27px 5.2% 20px}.topbar{display:flex;align-items:center;justify-content:space-between;gap:30px}.brand{display:flex;align-items:center;gap:23px}.brand>span:first-child{font-family:Manrope,sans-serif;font-size:29px;font-weight:800;letter-spacing:-1.2px;position:relative}.brand i{display:inline-block;background:var(--coral);width:7px;height:7px;border-radius:50%;vertical-align:top;margin:5px 0 0 2px}.brand-divider{width:1px;height:32px;background:var(--line)}.branch{font-size:12px;font-weight:700;letter-spacing:2px}.branch small{display:block;font-size:9px;letter-spacing:1.4px;color:#c5c4b9;margin-top:6px;font-weight:500}.top-actions{display:flex;gap:10px;align-items:center}.quiet-button,.icon-button{border:1px solid var(--line);background:#142b3480;border-radius:8px;color:#efe7d8;padding:10px 13px;font-size:12px}.quiet-button b{margin-left:6px;color:#6fd2c6;font-size:11px}.icon-button{font-size:18px;padding:7px 12px}.game-area{max-width:min(1130px,calc(141dvh - 333px));margin:13px auto 0}.status-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:11px}.world-label{font-size:10px;letter-spacing:2px;color:#ddd7c8;font-weight:600;display:flex;align-items:center;gap:9px}.world-label i{width:5px;height:5px;background:#40c6b1;border-radius:50%;box-shadow:0 0 10px #4abf9950}.stats{display:flex;gap:9px}.stat{display:flex;align-items:center;gap:12px;border:1px solid #ddc9a440;border-radius:7px;padding:7px 13px;background:#f6ecd9;color:var(--ink);box-shadow:0 4px 10px #0002}.stat small{font-size:8px;letter-spacing:1.3px;font-weight:800;opacity:.65}.stat strong{font:800 23px/1 Manrope,sans-serif;font-variant-numeric:tabular-nums;min-width:70px;text-align:right}.score-stat strong{min-width:53px}.time-stat.urgent{background:#f6b69d}.story-card{position:relative;overflow:hidden;background:linear-gradient(110deg,#faf0de,#eae0cd);box-shadow:inset 0 1px #fff9,0 8px 24px #0002;border:1px solid #f7e6c8;border-radius:10px;color:var(--ink);padding:13px 25px 19px;cursor:text;margin-bottom:24px}.story-eyebrow{display:flex;justify-content:space-between;gap:10px;font-size:8px;font-weight:800;letter-spacing:1.8px;color:#807660;margin-bottom:8px}.story-text{font-family:'Courier New',monospace;font-weight:700;font-size:clamp(16px,1.65vw,24px);line-height:1.55;white-space:pre-wrap;height:2.95em;overflow:hidden;letter-spacing:.05px}.story-typed{color:#058f91}.story-current{background:#df9b37;color:#18333a;border-radius:2px;box-shadow:0 2px 0 #bf7222}.story-track{position:absolute;height:3px;background:#ddd2bb;left:0;right:0;bottom:0}.story-track span{display:block;height:100%;width:0;background:#139d9c;transition:width .1s}.typing-input{position:absolute;width:1px;height:1px;opacity:0;bottom:10px;left:30px;pointer-events:none}.story-card.focused{box-shadow:inset 0 1px #fff9,0 0 0 2px #71bcb375,0 8px 24px #0002}.story-card.jammed{animation:jam-flash .18s}.painting-stage{position:relative;margin:0 8px}.art-frame{position:relative;padding:15px;background:linear-gradient(130deg,#b5854c,#754827 20%,#a36e37 23%,#4c2f20 25%,#966337 49%,#a26e3b 52%,#573520 77%,#b47d43);border:1px solid #d19e5d;box-shadow:0 0 0 3px #472d1c,0 3px 0 5px #ae793c55,0 17px 30px #0008,inset 0 0 0 2px #d6a56b77}.art-frame:before{content:'';position:absolute;inset:4px;pointer-events:none;border:1px solid #2a1d13aa;box-shadow:inset 0 0 0 2px #e6ad6555;background:repeating-linear-gradient(2deg,transparent,transparent 3px,#1d100907 4px,#c7a4780a 5px);z-index:1}.inner-frame{position:relative;border:3px solid #472f20;box-shadow:0 0 0 2px #ca9a6050,inset 0 0 14px #0008;background:#eee2ca;overflow:hidden}#paint-canvas{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}.brass-plaque{position:absolute;z-index:2;top:-17px;left:50%;transform:translateX(-50%);padding:7px 28px;background:linear-gradient(#e6bd77,#af793d 55%,#d4a25d);color:#241e17;box-shadow:0 2px 2px #0008,inset 0 0 0 1px #f3d498;border:1px solid #6d4e2d;border-radius:3px;font-size:10px;letter-spacing:1.5px;font-weight:800;white-space:nowrap}.brass-plaque:before,.brass-plaque:after{content:'•';position:absolute;top:5px;font-size:14px;color:#75512a;text-shadow:0 1px #f1c78b}.brass-plaque:before{left:8px}.brass-plaque:after{right:8px}.canvas-label{display:flex;justify-content:space-between;padding:13px 2px 0;color:#d3c3a8;font-size:8px;letter-spacing:1.8px}.gun{position:absolute;z-index:6;right:-32%;bottom:-95px;width:34%;pointer-events:none;transform-origin:72% 77%;will-change:transform}.gun>img{display:block;width:100%;position:relative;filter:drop-shadow(0 15px 10px #0007);user-select:none}.gun-shadow{position:absolute;width:53%;height:9%;border-radius:50%;background:#0007;filter:blur(10px);bottom:7%;left:32%;transform:rotate(-6deg)}.gun-tank,.gun-gauge{position:absolute;pointer-events:none}.gun-gauge{width:5%;height:5%;background:transparent;left:69%;top:51%}.muzzle-glow{position:absolute;left:16%;top:43%;width:8%;height:8%;border-radius:50%;background:#70fff1;filter:blur(10px);opacity:0}.center-panel,.guess-panel{position:absolute;z-index:5;left:50%;top:48%;transform:translate(-50%,-50%);width:475px;max-width:86%;padding:29px 36px 25px;border:1px solid #f7e8cc66;background:linear-gradient(125deg,#f9f0dfed,#e9dfcaed);color:#18343d;border-radius:11px;text-align:center;box-shadow:0 15px 60px #12233155,0 0 0 6px #f7ebd214;backdrop-filter:blur(8px)}.panel-kicker{font-size:8px;letter-spacing:2px;font-weight:800;color:#7b765f}h1{font:800 clamp(24px,2.5vw,36px)/1.2 Manrope,sans-serif;letter-spacing:-1.2px;margin:13px 0 12px}h2{font:800 27px/1.15 Manrope,sans-serif;letter-spacing:-.8px;margin:8px 0}h3{font-family:Manrope,sans-serif}.center-panel p{font-size:13px;line-height:1.65;margin-bottom:19px;color:#536064}.primary-button{border:1px solid #075c61;border-radius:7px;color:#f3f7ec;background:linear-gradient(#159c9d,#087c82);box-shadow:inset 0 1px #6cd8ce66,0 3px 0 #06565c;padding:12px 23px;font-weight:700;font-size:13px;letter-spacing:.1px}.primary-button span{padding-left:30px}.start-footnote{font-size:7px;letter-spacing:1px;color:#7b7c6c;margin-top:20px;white-space:nowrap}.start-footnote span{padding:0 8px}.play-controls{position:relative;display:flex;align-items:center;justify-content:center;gap:22px;max-width:850px;margin:18px auto 0;padding-bottom:18px;z-index:7}.guess-button{display:flex;align-items:center;gap:13px;border:0;background:transparent;color:#f2ebdc;font-size:13px;font-weight:700;padding:0}.guess-button kbd{font:700 12px 'DM Sans',sans-serif;background:#f4ead7;border:1px solid #fff3d8;outline:1px solid #c4b18b;outline-offset:3px;color:#1b3440;padding:6px 11px;border-radius:4px;box-shadow:0 3px 0 #a2937b}.control-divider{width:1px;height:24px;background:var(--line)}.attempts{display:flex;gap:15px;align-items:center;font-size:11px;font-weight:700;letter-spacing:1px}#attempt-dots{display:flex;gap:6px}#attempt-dots i{width:9px;height:9px;border-radius:50%;background:#15b0ad;box-shadow:inset 0 1px #a1fff799,0 2px 2px #0004}#attempt-dots i.used{background:#3c535b;box-shadow:inset 0 1px #ffffff11}.hint-button{border:1px solid #e3d3b53b;background:#17313b85;color:#efe3cb;border-radius:6px;padding:7px 11px;font-size:11px}.hint-button span{font-size:8px;color:#c4bca6;margin-left:8px}.round-time{font-size:8px;letter-spacing:1px;color:#c3b99f}.hint-note{text-align:center;font-size:12px;color:#f1d39c;background:#192e36c4;border:1px solid #ad8e5340;border-radius:6px;margin:0 auto;padding:9px 18px;max-width:720px;position:relative;z-index:7}.bottom-credit{display:flex;justify-content:space-between;font-size:7px;letter-spacing:2px;color:#c1c1ae80;margin:31px 0 0}.guess-panel{text-align:left;width:520px;padding:27px 29px;z-index:9}.guess-heading{display:flex;justify-content:space-between;gap:10px;align-items:center}.clock-warning{font-size:10px;color:#a66534;white-space:nowrap}.guess-field{display:flex;gap:9px;margin-top:15px}.guess-field input{min-width:0;flex:1;background:#fff9ef;border:1px solid #c6bda8;border-radius:6px;padding:12px;color:#17343d}.guess-field button{padding:10px 15px}.guess-panel p{font-size:11px;color:#7c7c6a;margin:13px 0}.text-button{background:none;border:0;color:inherit;font-size:11px;padding:5px 0}.guess-panel .text-button{color:#327577}.round-feedback{position:absolute;z-index:10;left:50%;top:43%;transform:translate(-50%,-50%);text-align:center;pointer-events:none;opacity:0;color:#faf3df;text-shadow:0 2px 10px #10242a99;width:85%}.round-feedback.show{animation:feedback-in 1.3s both}.round-feedback b{font:800 40px Manrope,sans-serif;display:block}.round-feedback span{display:block;font-size:15px;margin-top:5px}.round-feedback em{font-style:normal;display:block;font-size:12px;margin-top:9px;color:#cfefda}.toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,15px);opacity:0;pointer-events:none;z-index:100;border:1px solid #ddcda94d;background:#18343e;color:#f5e9d3;padding:12px 23px;border-radius:8px;box-shadow:0 10px 30px #0005;font-size:12px;transition:.2s;max-width:90%}.toast.show{opacity:1;transform:translate(-50%,0)}dialog{color:#f4ead7;background:linear-gradient(140deg,#263d46,#152d37);border:1px solid #bcaa805e;border-radius:13px;padding:30px;width:550px;max-width:calc(100vw - 30px);max-height:88vh;box-shadow:0 30px 90px #0007}dialog::backdrop{background:#0a1b24b9;backdrop-filter:blur(5px)}.wide-dialog{width:1000px}.dialog-header{display:flex;justify-content:space-between;align-items:start}.dialog-header .panel-kicker,dialog>.panel-kicker{color:#b8ac8c}.close-button{border:1px solid #b5b29444;background:#203c46;color:#eadfc9;width:32px;height:32px;border-radius:50%;font-size:23px;line-height:22px}.dialog-description{font-size:12px;line-height:1.7;color:#bec5bd;max-width:650px}.collection-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-top:23px}.collection-card{position:relative;background:#102830;border:1px solid #64706a60;padding:7px;border-radius:6px}.collection-card canvas{display:block;width:100%;aspect-ratio:16/9;background:#e7dcc6}.collection-card h3{font-size:11px;margin:10px 3px 5px;font-weight:600}.collection-card p{font-size:9px;color:#a6b8b6;margin:0 3px 5px}.collection-card .seal{position:absolute;right:13px;top:13px;font-size:8px;padding:5px 6px;background:#eddbab;color:#4d533b;border:1px solid #a58a45;border-radius:50%;width:36px;height:36px;display:grid;place-items:center;font-weight:800;transform:rotate(-12deg)}.collection-card .seal.trade{background:#bbdcd4;color:#1f5c5c}.empty-state{padding:25px 10px;color:#a6b8b6;font-size:12px;line-height:1.7;text-align:center;grid-column:1/-1;border:1px dashed #72929044;border-radius:8px}.trade-section{margin-top:30px;border-top:1px solid var(--line);padding-top:15px}.trade-section h3{font-size:14px}.trade-section h3 span{font-size:8px;letter-spacing:1px;color:#acb8b1;margin-left:10px}.trade-section p{font-size:11px;color:#b7c5be;line-height:1.6}.trade-section form{display:flex;gap:10px;align-items:center}.trade-section select{min-width:0;flex:1;background:#142e37;border:1px solid #78827680;border-radius:6px;padding:9px;color:#ece3d0;font-size:11px}.secondary-button{border:1px solid #a9a17e88;background:#385052;color:#f4ead7;border-radius:6px;padding:9px 13px;font-size:11px;white-space:nowrap}.trade-offer{display:flex;align-items:center;gap:12px;font-size:11px;background:#1a3640;margin-top:10px;padding:12px;border-radius:6px}.trade-offer span{flex:1}.name-form{margin:22px 0}.name-form label{font-size:10px;color:#c4c9bb;display:block;margin-bottom:7px}.name-form>div{display:flex;gap:9px}.name-form input{background:#112a33;border:1px solid #627a7788;border-radius:6px;padding:10px;color:#eee5d0;flex:1;min-width:0}.leader-row{display:flex;gap:15px;padding:14px 7px;border-top:1px solid var(--line);align-items:center;font-size:12px}.leader-row .rank{width:20px;color:#83c6bf}.leader-row .leader-name{flex:1}.leader-row strong{font:800 17px Manrope,sans-serif}.leader-row small{color:#9eada7;font-size:9px}.result-dialog{text-align:center;padding:40px 30px}.result-dialog>.close-button{position:absolute;right:17px;top:17px}.result-score{font:800 65px Manrope,sans-serif;letter-spacing:-3px;color:#f2d6a1;margin:13px 0}.result-dialog p{font-size:12px;color:#b9cbc1}.result-metrics{display:flex;justify-content:center;gap:30px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:18px;margin:22px 0;font-size:10px;color:#b6c3ba}.result-metrics b{display:block;font-size:22px;color:#8fddd0;margin-bottom:5px}.result-dialog>.primary-button{display:block;margin:0 auto 15px}.mobile-note{display:none}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0}@keyframes feedback-in{0%{opacity:0;transform:translate(-50%,-42%) scale(.95)}15%,75%{opacity:1;transform:translate(-50%,-50%) scale(1)}100%{opacity:0;transform:translate(-50%,-58%)}}@keyframes jam-flash{50%{background:#efd6c0;transform:translateX(2px)}}
@media(min-width:1500px){#app{padding-top:35px}.game-area{margin-top:20px}.story-card{margin-bottom:27px}#paint-canvas{aspect-ratio:16/9}.bottom-credit{margin-top:45px}}
@media(max-height:850px) and (min-width:900px){#app{padding-top:18px}.game-area{max-width:min(900px,calc(141dvh - 333px));margin-top:5px}.story-card{padding-top:10px;padding-bottom:13px;margin-bottom:23px}.story-text{font-size:20px;height:2.8em}.story-eyebrow{margin-bottom:5px}.status-row{margin-bottom:9px}.stat strong{font-size:21px}.painting-stage{margin:0 8px}.play-controls{margin-top:14px}.bottom-credit{margin-top:14px}#paint-canvas{aspect-ratio:16/9}.gun{bottom:-80px;width:32%;right:-31%}.center-panel{padding:24px 30px}h1{font-size:30px}}
@media(max-width:1000px){#app{padding-left:4%;padding-right:4%}.branch{display:none}.brand-divider{display:none}.gun{right:-21%;bottom:-65px;width:31%}.quiet-button span{display:none}.game-area{margin-top:18px}.collection-grid{grid-template-columns:repeat(3,1fr)}.round-time{display:none}.play-controls{justify-content:flex-start;padding-left:10px;gap:18px}.story-text{font-size:19px}.bottom-credit{margin-top:30px}}
@media(max-width:650px){#app{padding:20px 18px}.brand>span:first-child{font-size:25px}.top-actions{gap:5px}.quiet-button,.icon-button{padding:8px 9px}.quiet-button b{display:none}.game-area{margin-top:22px}.world-label{font-size:7px;letter-spacing:1px}.stat{padding:6px 9px;gap:6px}.stat small{display:none}.stat strong{font-size:19px;min-width:57px}.score-stat strong{min-width:31px}.story-card{padding:12px 15px 15px;margin-bottom:24px}.story-eyebrow{font-size:6px;letter-spacing:1px}.story-eyebrow span:last-child{display:none}.story-text{font-size:16px;height:4.5em;line-height:1.5}.painting-stage{margin:0}.art-frame{padding:9px}.inner-frame{border-width:2px}#paint-canvas{aspect-ratio:16/9}.painting-stage{margin-bottom:30px}.brass-plaque{font-size:8px;padding:7px 21px;top:-14px}.gun{width:45%;right:-35%;bottom:-49px}.canvas-label{font-size:6px;letter-spacing:1px}.center-panel,.guess-panel{max-width:87%;padding:22px 17px;top:48%}.panel-kicker{font-size:6px;letter-spacing:1.3px}h1{font-size:25px}.center-panel p{font-size:11px}.start-footnote{font-size:5px;letter-spacing:.3px}.start-footnote span{padding:0 4px}.primary-button{font-size:11px;padding:11px 17px}.play-controls{flex-wrap:wrap;gap:14px;margin-top:17px;padding-left:0;padding-right:70px;justify-content:flex-start}.guess-button{font-size:11px;gap:10px}.guess-button kbd{font-size:9px;padding:5px 8px}.control-divider{height:20px}.attempts{font-size:9px;gap:9px}#attempt-dots{gap:5px}#attempt-dots i{width:7px;height:7px}.hint-button{font-size:10px;margin-top:1px}.hint-button span{font-size:8px}.hint-note{font-size:11px}.mobile-note{display:block;color:#b9c7bf;font-size:10px;line-height:1.6;margin:14px 0 0}.bottom-credit{margin-top:24px;font-size:5px;letter-spacing:1px}.guess-heading{display:block}.guess-heading h2{font-size:22px}.clock-warning{font-size:9px}.guess-field{gap:6px}.guess-field input{padding:10px;font-size:12px}.guess-field button{padding:10px;font-size:10px}.guess-panel p{font-size:9px}.round-feedback b{font-size:28px}.round-feedback span{font-size:12px}.collection-grid{grid-template-columns:repeat(2,1fr);gap:10px}dialog{padding:23px 18px}.trade-section form{flex-wrap:wrap}.trade-section select{flex-basis:42%;font-size:10px}.trade-section form .secondary-button{margin-left:auto}.trade-section h3 span{display:block;margin:5px 0}.dialog-description{font-size:11px}.collection-card h3{font-size:10px}.result-score{font-size:52px}}
html{overflow-x:hidden}.art-frame[data-frame=brass]{background:linear-gradient(135deg,#b69a65,#6d6047 25%,#c1a477 26%,#7a6644 70%,#d4b782);border-color:#d3bc85}.settings-row{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:24px 0;font-size:12px}.settings-row input[type=range]{flex:1;max-width:190px;accent-color:#43bdb2}.settings-row input[type=checkbox]{accent-color:#43bdb2;width:18px;height:18px}.settings-row output{font-size:11px;width:35px}.sound-check{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0 5px}body.reduce-motion *,body.reduce-motion *:before,body.reduce-motion *:after{animation-duration:.01ms!important;transition:none!important}.gun-tank,.gun-gauge{background:none}
@media(max-width:650px){.game-area{max-width:100%}.gun{width:36%;right:-1%;bottom:-46px}.painting-stage{margin-bottom:50px}.center-panel{max-width:90%;padding:19px 15px}.center-panel h1{font-size:23px}.center-panel p{font-size:10px;margin-bottom:14px}.start-footnote{font-size:5px}.play-controls{padding-right:30px}.bottom-credit{gap:10px}.guess-panel{top:48%;padding:19px 15px}}
.gun{aspect-ratio:3/2}.gun.has-model{width:78%;right:-55%;bottom:-175px}.gun.has-model>.gun-tank,.gun.has-model>.gun-gauge,.gun.has-model>.muzzle-glow{display:none}.guess-actions{display:flex;justify-content:space-between;gap:15px}.guess-actions .text-button:last-child{color:#82745c}.topbar{gap:20px}.topbar>.stats{margin-left:auto}.game-area{margin-top:18px}.top-actions{gap:7px}.art-frame,.art-frame[data-frame=brass]{padding:0;border:21px solid transparent;border-image-source:url('/assets/frame-wood.png');border-image-slice:140;border-image-width:21px;border-image-repeat:stretch;background:transparent;box-shadow:0 15px 25px #0007}.art-frame:before{display:none}.inner-frame{border:0;box-shadow:inset 0 0 8px #33201555}.brass-plaque{top:-38px}.canvas-label{padding-top:9px}.typing-input{font-size:16px}
@media(max-height:850px) and (min-width:900px){#app{padding-top:15px}.game-area{margin-top:12px}.story-card{padding-top:8px;padding-bottom:10px}.play-controls{padding-bottom:10px}.bottom-credit{margin-top:8px}}
@media(max-width:650px){.art-frame,.art-frame[data-frame=brass]{padding:0;border-width:16px;border-image-width:16px}.inner-frame{border:0}.brass-plaque{top:-30px}.gun.has-model{width:65%;right:-15%;bottom:-80px}}
@media(max-width:650px){.topbar{flex-wrap:wrap;gap:13px 8px}.brand{flex:1}.topbar>.stats{order:3;width:100%;justify-content:flex-end;margin-top:2px}.game-area{margin-top:14px}.top-actions{gap:5px}}
.language-select{font-size:10px;letter-spacing:1px;background:#17313bc9;color:#f5ecd9;border:1px solid var(--line);border-radius:7px;padding:10px 7px;cursor:pointer}.language-select:disabled{opacity:.4;cursor:default}.leaderboard-tabs{display:flex;gap:8px;margin:17px 0 7px}.leaderboard-tabs .active{background:#087d80;border-color:#48c5bc;color:#fff}.story-placeholder{font-family:Manrope,sans-serif;display:flex;align-items:center;font-size:15px!important;font-weight:600!important;letter-spacing:.2px;color:#8b806c;opacity:.8}.start-panel h1,.start-panel p,.empty-state{white-space:pre-line}.countdown-panel{position:absolute;z-index:12;top:48%;left:50%;transform:translate(-50%,-50%);text-align:center;width:350px;max-width:85%;padding:26px;background:#18313aeb;border:1px solid #c6b48d70;border-radius:12px;box-shadow:0 20px 60px #10202755;backdrop-filter:blur(6px)}.countdown-panel .panel-kicker{color:#dbc69f}.countdown-number{font:800 clamp(58px,7vw,104px)/1.2 Manrope,sans-serif;letter-spacing:-3px;color:#faf0dd;margin:13px 0;text-shadow:0 4px 0 #0a707355}.countdown-number.pulse{animation:countdown-pop .85s cubic-bezier(.2,.6,.2,1) both}.countdown-panel button{color:#c6d2c9}.brand-intro{position:fixed;inset:0;z-index:1000;background:#0a0f14;display:flex;align-items:center;justify-content:center;opacity:1;transition:opacity .6s ease,filter .6s ease;isolation:isolate}.brand-intro img{width:min(560px,82vw,76dvh);height:auto;object-fit:contain;user-select:none;animation:brand-enter .6s ease both}.brand-intro.dissolve{opacity:0;filter:blur(12px);pointer-events:none}.intro-skip{position:absolute;right:max(25px,5vw);bottom:max(25px,5vh);padding:10px 18px;color:#e4e5de;background:#17252c;border:1px solid #90aaa34d;border-radius:6px;font-size:12px;letter-spacing:1px}.brand-intro:focus-within .intro-skip{outline-offset:5px}@keyframes brand-enter{from{opacity:0;transform:scale(.96);filter:blur(3px)}to{opacity:1;transform:scale(1);filter:blur(0)}}@keyframes countdown-pop{0%{opacity:0;transform:scale(.68)}23%{opacity:1;transform:scale(1.05)}55%{transform:scale(1)}90%{opacity:1}100%{opacity:.55;transform:scale(.94)}}
@media(max-width:1100px) and (min-width:1001px){.branch,.brand-divider{display:none}}
@media(max-width:650px){.top-actions .quiet-button,.top-actions .icon-button{padding:7px}.language-select{padding:8px 5px}.story-placeholder{font-size:12px!important}.countdown-panel{width:260px;padding:20px}.countdown-number{font-size:65px}.intro-skip{right:20px;bottom:25px}}
body.reduce-motion .brand-intro img{animation:none}body.reduce-motion .countdown-number.pulse{animation:none;transform:none;opacity:1}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition:none!important;scroll-behavior:auto!important}.gun{will-change:auto}.brand-intro img,.countdown-number.pulse{animation:none;transform:none;opacity:1}}
/* Portrait layouts preserve the painting ratio and reserve a separate gun bay. */
.gun-slot{display:none}.touch-type{min-height:42px}.mobile-note{display:none!important}.touch-input .mobile-note{display:block!important}.touch-input.keyboard-open{padding-bottom:var(--keyboard-inset,0px)}
@media(min-width:1001px){#app{padding-bottom:8px}}
dialog{max-height:min(88dvh,calc(var(--visible-height,100dvh) - 24px))}
@media(max-width:1000px){
  .chapter-picker select,.language-select{font-size:16px}
 #app{padding:18px 20px 16px;min-height:100dvh}.topbar{flex-wrap:wrap;gap:12px}.brand{flex:1}.brand>span:first-child{font-size:25px}.branch,.brand-divider{display:none}.topbar>.stats{order:3;width:100%;justify-content:flex-end;margin:0}.top-actions{gap:5px}.quiet-button,.icon-button{padding:8px}.quiet-button span,.quiet-button b{display:none}.game-area{max-width:100%;margin-top:16px}.story-card{padding:12px 16px 15px;margin-bottom:24px}.story-text,.story-placeholder{font-size:16px!important;height:3.1em;line-height:1.55}.story-eyebrow{font-size:7px;letter-spacing:1px}.story-eyebrow span:last-child{display:none}.painting-stage{margin:0}.art-frame,.art-frame[data-frame=brass]{border-width:16px;border-image-width:16px}.brass-plaque{top:-30px;font-size:8px;padding:7px 21px}.canvas-label{font-size:7px;letter-spacing:1px}.gun-slot{display:block;position:relative;height:clamp(72px,20vw,122px);margin-top:4px}.center-panel,.guess-panel,.countdown-panel{position:relative;left:auto;top:auto;transform:none;margin:10px auto 16px;width:100%;max-width:100%;padding:22px}.center-panel h1{font-size:28px}.center-panel p{font-size:13px}.start-footnote{white-space:normal;font-size:8px;line-height:1.8}.play-controls{margin:14px 0 0;padding:0 0 12px;justify-content:center;gap:14px;flex-wrap:wrap}.guess-button{min-height:42px;font-size:12px}.hint-button{min-height:38px;font-size:11px}.round-time{display:block}.control-divider{display:none}.attempts{font-size:10px}.touch-type{flex-basis:100%}.bottom-credit{margin-top:18px;font-size:6px;letter-spacing:1px}.story-card,.guess-panel{scroll-margin-top:115px}.guess-heading{display:flex}.guess-heading h2{font-size:25px}.guess-field input{font-size:16px;min-height:44px}.guess-panel p{font-size:11px}.guess-field button{min-height:44px}.guess-actions{flex-wrap:wrap}.guess-actions .text-button{min-height:36px}.mobile-note{font-size:11px;line-height:1.6}
}
@media(max-width:450px){#app{padding:15px 14px}.brand>span:first-child{font-size:23px}.topbar{gap:11px 6px}.top-actions{gap:4px}.top-actions .quiet-button,.top-actions .icon-button{padding:6px}.language-select{padding:7px 4px}.center-panel,.guess-panel{padding:21px 17px}.center-panel h1{font-size:26px}.guess-heading{display:block}.guess-heading h2{font-size:24px}.collection-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-height:650px){.topbar{position:sticky;top:0;z-index:20;background:#172f39ee;backdrop-filter:blur(10px);padding:8px 0}.center-panel,.guess-panel,.countdown-panel{position:relative;left:auto;top:auto;transform:none;margin:14px auto;width:min(100%,500px);max-width:100%}.game-area{max-width:100%}.story-card,.guess-panel{scroll-margin-top:110px}.bottom-credit{margin-top:16px}}
@media(max-height:650px){.game-area{max-width:min(100%,900px)}.gun-slot{display:block;position:relative;height:122px;margin-top:4px}}
/* Guessing is a real pause with no view of the frozen artwork. */
.guessing-private .room-backdrop{filter:blur(24px);transform:scale(1.06)}.guessing-private .room-shade{background:#102831ec}.guessing-private #art-frame,.guessing-private .canvas-label,.guessing-private #gun-viewport,.guessing-private #gun,.guessing-private [data-paint-flight3d]{visibility:hidden!important}.guessing-private .story-card{filter:blur(8px);opacity:.22;pointer-events:none}.guessing-private .guess-panel{box-shadow:0 20px 80px #0008,0 0 0 6px #f7ebd214}.guessing-private .guess-panel .clock-warning{color:#247a79}#result-breakdown{text-align:left;border-top:1px solid var(--line);padding:8px 0 15px}#result-breakdown p{font-size:11px;margin:9px 0}#result-breakdown small{font-size:10px;line-height:1.6;color:#97bcb7}

.brand>span:first-child{position:relative;padding-bottom:13px}.brand-version{display:block;position:absolute;left:1px;bottom:0;font:500 9px/1 sans-serif;letter-spacing:1px;color:#bdc7be}.round-feedback.show{animation:none;opacity:1;pointer-events:auto;background:#18313aee;border:1px solid #c6b48d70;border-radius:12px;padding:25px;width:min(520px,85%);text-shadow:none}.round-feedback button{margin-top:22px}.guess-panel .hint-button{margin:8px 0}.guess-panel .hint-note{color:#f1d39c;font-size:12px;margin-bottom:12px}.collection-preview{display:block;width:100%;padding:0;border:0;background:none;cursor:zoom-in}.collection-card .seal{pointer-events:none}.artwork-viewer{width:min(1200px,94vw)}.viewer-frame{margin:20px 0;border:22px solid transparent;border-image:url('/assets/frame-wood.png') 140 stretch;background:#142a31}.viewer-frame img{display:block;width:100%;max-height:70vh;object-fit:contain}.artwork-viewer:fullscreen{width:100vw;max-width:100vw;max-height:100vh;height:100vh;border:0;border-radius:0}.artwork-viewer:fullscreen .viewer-frame img{max-height:calc(100vh - 180px)}#view-trades{margin-top:16px}

.topbar,.story-card,.canvas-label,.brass-plaque,.play-controls,.mobile-note,.center-panel,.guess-panel,.countdown-panel{transition:opacity .5s ease}body.scene-intro .topbar,body.scene-intro .story-card,body.scene-intro .canvas-label,body.scene-intro .brass-plaque,body.scene-intro .play-controls,body.scene-intro .mobile-note,body.scene-intro .center-panel,body.scene-intro .guess-panel,body.scene-intro .countdown-panel{opacity:0;visibility:hidden;pointer-events:none}#paint-canvas{transition:opacity .35s ease}#paint-canvas.intro-canvas-fade{opacity:0}body.scene-intro .toast{visibility:hidden}

/* Reveal the launcher only after its final initial viewport fit. */
#gun:not(.is-positioned){visibility:hidden}
/* Account controls use the same workshop dialog and nickname as the records. */
#account-dialog{max-width:540px}
#identity-badge{position:fixed;left:18px;bottom:14px;z-index:8;max-width:calc(100vw - 36px);padding:6px 10px;border:1px solid #536263;border-radius:6px;background:#10191ce8;color:#ddd4bc;font-size:12px;pointer-events:none}
.account-form{display:grid;gap:12px}
.account-form>input{width:100%;padding:12px;color:inherit;background:#10191c;border:1px solid #536263;border-radius:8px}
.account-import{display:grid;gap:12px;border:1px solid #536263;padding:16px}
.account-import[hidden]{display:none}
.account-import label{display:flex;gap:10px;align-items:flex-start}
.account-import input{margin-top:4px;flex:none}
.account-actions{display:flex;gap:12px;margin-top:18px}
.account-error{color:#ffc3a8;min-height:1.4em;margin:0}

#leaderboard-list{max-height:48vh;overflow-y:auto;overscroll-behavior:contain}.leader-row.leader-self{background:#18aca92b;border-radius:7px;box-shadow:inset 3px 0 #17b7ae;padding-left:10px}

/* Phone play is a viewport-sized desk: artwork, live text and actions stay
   above the native keyboard instead of scrolling independently. */
@media (max-width:1000px) {
  html {scroll-padding-top:12px}
  #app {padding:16px max(14px,env(safe-area-inset-right)) max(42px,env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left))}
  .topbar {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px 8px}
  .brand {min-width:0}
  .topbar>.stats {grid-column:2;grid-row:1;width:auto;order:initial;gap:6px}
  .topbar>.top-actions {grid-column:1/-1;justify-content:flex-end;flex-wrap:wrap;gap:6px}
  .topbar .brand>span:first-child {font-size:clamp(20px,5.8vw,25px)}
  .top-actions button,.top-actions select,.close-button {min-height:44px;min-width:44px}
  .top-actions #account-button {margin-right:auto;font-size:11px;padding:9px 10px;white-space:normal}
  .stat {padding:6px 8px;gap:5px}.stat strong {font-size:19px;min-width:52px}.score-stat strong {min-width:26px}
  .stat small {display:none}
  .game-area {margin-top:18px}
  .story-card {margin-bottom:24px}
  .typing-input {font-size:16px;caret-color:transparent}
  .touch-type {min-height:44px}
  .guess-button {min-height:44px;padding:8px 12px;background:#173b43;border:1px solid #8eab9d70;border-radius:7px}
  .guess-button kbd {display:none}
  .play-controls {gap:10px}
  #identity-badge {left:max(12px,env(safe-area-inset-left));bottom:max(8px,env(safe-area-inset-bottom));font-size:10px;max-width:calc(100vw - 24px);text-overflow:ellipsis;overflow:hidden;white-space:nowrap}
  dialog {overflow-y:auto;overscroll-behavior:contain;width:min(550px,calc(100vw - 24px));max-width:calc(100vw - 24px);padding:20px 16px;scroll-padding:16px}
  dialog input,dialog select {font-size:16px!important;min-height:44px}
  dialog button,.guess-panel button {min-height:44px}
  .dialog-header {gap:12px}.close-button {flex-shrink:0}
  .account-actions {flex-wrap:wrap}
  .account-actions button {flex:1}
  .leader-row {gap:10px}.leader-row .leader-name {min-width:0;overflow-wrap:anywhere}
  .viewer-frame {border-width:12px;margin:14px 0}.viewer-frame img {max-height:60dvh}
  .collection-card h3 {font-size:12px;line-height:1.4}.collection-card p {font-size:10px;line-height:1.5}
  .trade-offer {flex-wrap:wrap}.trade-offer span {flex-basis:60%;overflow-wrap:anywhere}
  .round-feedback.show {padding:20px;max-height:calc(var(--visible-height,100dvh) - 32px);overflow-y:auto}
}
@media (max-width:1000px) {
  body.mobile-playing {overflow:hidden;overscroll-behavior:none;padding:0}
  .mobile-playing #app {position:fixed;top:var(--viewport-top,0px);left:0;width:100%;height:var(--visible-height,100dvh);min-height:0;padding:8px max(12px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));display:flex;flex-direction:column;gap:8px}
  .mobile-playing .topbar {position:relative;top:auto;display:flex;flex:none;justify-content:space-between;align-items:center;gap:8px;padding:0;background:none;backdrop-filter:none;min-height:40px}
  .mobile-playing .brand {flex:0 1 auto}
  .mobile-playing .brand>span:first-child {font-size:20px}
  .mobile-playing .brand-version {font-size:7px}
  .mobile-playing .topbar>.stats {flex:1;justify-content:flex-end;gap:6px;width:auto;margin:0}
  .mobile-playing .top-actions {display:flex;flex:none;margin:0}
  .mobile-playing .top-actions>:not(#sound-button) {display:none}
  .mobile-playing #sound-button {width:40px;min-width:40px;min-height:40px;padding:5px}
  .mobile-playing .game-area {display:flex;flex-direction:column;flex:1;min-height:0;gap:8px;width:100%;max-width:100%;margin:0}
  .mobile-playing .painting-stage {order:1;display:flex;flex-direction:column;align-items:center;justify-content:center;flex:1;min-height:0;width:100%;margin:0;padding-top:10px;isolation:isolate}
  .mobile-playing .art-frame {flex:none;width:min(100%,max(80px,calc((var(--play-board-height,240px) - 52px)*1.777778 + 24px)));border-width:12px;border-image-width:12px}
  .mobile-playing .brass-plaque {top:-24px;font-size:7px;letter-spacing:.7px;padding:5px 18px;max-width:100%;overflow:hidden;text-overflow:ellipsis}
  .mobile-playing .canvas-label {width:100%;max-width:600px;padding:6px 1px 0;font-size:7px;letter-spacing:.5px;gap:8px;flex:none;min-height:18px}
  .mobile-playing .gun-slot {display:block;position:absolute;right:0;bottom:0;width:94px;height:62px;margin:0;pointer-events:none;z-index:6}
  .mobile-playing .story-card {order:2;flex:none;margin:0;padding:9px 12px 11px;scroll-margin:0;border-radius:8px;min-height:0}
  .mobile-playing .story-eyebrow {font-size:6px;letter-spacing:1px;margin-bottom:5px}
  .mobile-playing .story-text,.mobile-playing .story-placeholder {font-size:17px!important;line-height:1.5;height:3em}
  .mobile-playing .typing-input {left:12px;bottom:10px;width:calc(100% - 24px);height:26px;opacity:.015;color:transparent;pointer-events:none}
  .mobile-playing .play-controls {order:3;flex:none;display:flex;flex-wrap:nowrap;justify-content:space-between;align-items:center;gap:8px;margin:0;padding:0;min-height:44px;width:100%;max-width:none}
  .mobile-playing .touch-type {flex:none;font-size:11px;padding:8px 10px;min-height:44px}
  .mobile-playing .guess-button {font-size:12px;white-space:nowrap;padding:8px 12px}
  .mobile-playing .attempts {font-size:9px;gap:5px;white-space:nowrap;letter-spacing:0}
  .mobile-playing #attempt-dots {gap:3px}
  .mobile-playing .round-time,.mobile-playing .mobile-note,.mobile-playing #identity-badge {display:none!important}
  .mobile-playing .center-panel,.mobile-playing .countdown-panel {position:fixed;left:50%;top:calc(var(--viewport-top,0px) + var(--visible-height,100dvh)*.45);transform:translate(-50%,-50%);margin:0;width:min(420px,calc(100vw - 40px));max-width:calc(100vw - 40px);max-height:calc(var(--visible-height,100dvh) - 30px);overflow:auto;padding:20px}
  .mobile-playing .countdown-panel {z-index:25;pointer-events:auto}
  .mobile-playing .countdown-number {font-size:62px;margin:5px 0}
  .mobile-playing .guess-panel {position:fixed;top:calc(var(--viewport-top,0px) + 8px);left:50%;transform:translateX(-50%);margin:0;width:min(500px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(var(--visible-height,100dvh) - 16px);overflow-y:auto;overscroll-behavior:contain;padding:18px;z-index:30;scroll-padding:12px}
  .mobile-playing .guess-heading {display:flex;align-items:center;gap:8px}.mobile-playing .guess-heading h2 {font-size:23px;margin:6px 0}.mobile-playing .guess-heading .panel-kicker {font-size:7px;letter-spacing:1px}
  .mobile-playing .guess-field {margin-top:10px;gap:8px}.mobile-playing .guess-field input {min-height:44px;font-size:16px;padding:10px}.mobile-playing .guess-field button {padding:10px 12px;font-size:12px}
  .mobile-playing .guess-panel p {font-size:11px;line-height:1.5;margin:10px 0}.mobile-playing .guess-actions {gap:8px;flex-wrap:wrap}.mobile-playing .guess-actions .text-button {font-size:12px;padding:8px 0}.mobile-playing .hint-note {padding:10px 12px;line-height:1.5}
  .mobile-playing .round-feedback.show {position:fixed;left:50%;top:calc(var(--viewport-top,0px) + var(--visible-height,100dvh)*.45);transform:translate(-50%,-50%);width:min(500px,calc(100vw - 32px));z-index:30}
  .mobile-playing[data-game-phase=preparing] .play-controls,.mobile-playing[data-game-phase=countdown] .play-controls,.mobile-playing[data-game-phase=launching] .play-controls {visibility:hidden}
  .mobile-playing .toast {bottom:auto;top:calc(var(--viewport-top,0px) + 6px);max-width:calc(100vw - 24px);padding:9px 14px;font-size:11px}
  .mobile-playing.guessing-private .play-controls {visibility:hidden}
  .mobile-playing.keyboard-open .brand {display:none}
  .mobile-playing.keyboard-open .topbar>.stats {justify-content:flex-start}
  .mobile-playing.keyboard-open .story-eyebrow {display:none}
}
@media (max-width:360px) {
  .topbar {gap:10px 5px}.topbar .brand>span:first-child {font-size:19px}.stat {padding:5px 6px}.stat strong {font-size:18px;min-width:48px}.score-stat strong {min-width:23px}
  .mobile-playing .touch-type {font-size:10px;padding:8px}.mobile-playing .guess-button {font-size:11px;padding:8px 10px}.mobile-playing .attempts {font-size:8px}
  .mobile-playing .guess-heading {display:block}.mobile-playing .guess-panel {padding:15px}.mobile-playing .guess-panel h2 {font-size:21px}
}
@media (max-width:1000px) {
  .mobile-playing.mobile-landscape .game-area {display:grid;grid-template-columns:minmax(0,1.2fr) minmax(215px,1fr);grid-template-rows:minmax(0,1fr) 44px;gap:8px 14px}
  .mobile-playing.mobile-landscape .painting-stage {grid-column:1;grid-row:1/3;width:100%;height:100%;padding-top:10px}
  .mobile-playing.mobile-landscape .story-card {grid-column:2;grid-row:1;align-self:end;padding:10px 12px;overflow:hidden}
  .mobile-playing.mobile-landscape .story-text {height:min(6em,calc(var(--visible-height,100dvh) - 150px));min-height:1.5em}
  .mobile-playing.mobile-landscape .play-controls {grid-column:2;grid-row:2;gap:6px}
  .mobile-playing.mobile-landscape .touch-type {font-size:10px;padding:6px;min-width:0;white-space:normal;line-height:1.2}
  .mobile-playing.mobile-landscape .attempts {font-size:8px}.mobile-playing.mobile-landscape #attempt-dots {display:none}
  .mobile-playing.mobile-landscape .guess-button {font-size:11px;padding:6px 8px}
}

@media (max-width:1000px) {
  .touch-input:not(.mobile-playing) .story-card,.touch-input:not(.mobile-playing) .play-controls {display:none}
  .touch-input:not(.mobile-playing) .gun-slot {height:62px;margin-top:0}
  .touch-input:not(.mobile-playing) .center-panel {padding:20px;margin-top:0;margin-bottom:12px}
  .touch-input:not(.mobile-playing) .center-panel h1 {font-size:26px;margin:10px 0}
  .touch-input:not(.mobile-playing) .center-panel p {font-size:12px;margin:8px 0 15px}
  .touch-input:not(.mobile-playing) .start-footnote {margin-top:14px}
  .touch-input:not(.mobile-playing) .mobile-note {margin-top:12px;font-size:11px;text-align:center}
}

@media (max-width:1000px) {
  .topbar>.top-actions {gap:5px}
  .top-actions #account-button {flex:1;min-width:0;max-width:calc(100% - 245px)}
  .primary-button {min-height:44px}
  .mobile-playing .brand {overflow:hidden}
}
@media (max-width:360px) {
  .topbar>.top-actions {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));width:100%}
  .top-actions #account-button {grid-column:1/-1;width:100%;max-width:none;margin:0}
  .mobile-playing .topbar>.top-actions {display:flex;width:auto}
  .mobile-playing .brand {display:none}
  .mobile-playing .topbar>.stats {justify-content:flex-start}
}

@media (max-width:1000px) {
  .mobile-playing.guessing-private .topbar {visibility:hidden;pointer-events:none}
  .mobile-playing .guess-actions .text-button {min-height:44px}
}

@media (max-width:1000px) {
  .touch-input:not(.mobile-playing) .gun-slot {height:56px;margin-top:-50px}
  .touch-input:not(.mobile-playing) #identity-badge {position:relative;left:auto;bottom:auto;display:table;margin:4px max(14px,env(safe-area-inset-left)) 12px;max-width:calc(100vw - 28px)}
}
@media (max-width:650px) and (max-height:650px) {
  .touch-input:not(.mobile-playing) #app {padding-top:10px;padding-bottom:12px}
  .touch-input:not(.mobile-playing) .game-area {margin-top:12px}
  .touch-input:not(.mobile-playing) .center-panel {padding:15px;margin-bottom:8px}
  .touch-input:not(.mobile-playing) .center-panel .panel-kicker,.touch-input:not(.mobile-playing) .center-panel p {display:none}
  .touch-input:not(.mobile-playing) .center-panel h1 {font-size:23px;margin:0 0 12px}
  .touch-input:not(.mobile-playing) .start-footnote {margin-top:12px;font-size:7px}
}

/* iOS can expand the framed viewer without an element Fullscreen API. */
.artwork-viewer.viewer-expanded {position:fixed;inset:auto;top:var(--viewport-top,0px);left:0;margin:0;width:100vw;max-width:100vw;height:var(--visible-height,100dvh);max-height:var(--visible-height,100dvh);border:0;border-radius:0;overflow:auto;padding:max(16px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left))}
.artwork-viewer.viewer-expanded .viewer-frame img {max-height:calc(var(--visible-height,100dvh) - 170px)}
/* 1.3 chapters, privacy and separate result shelf */
.chapter-heading{font-size:11px;letter-spacing:1.2px;color:#f0d4a0;text-align:center;margin:0 0 12px;line-height:1.5}.chapter-picker{display:flex;gap:10px;justify-content:center;align-items:center;flex-wrap:wrap;margin:12px 0}.chapter-picker label{font-size:11px}.chapter-picker select{max-width:100%;font-size:12px}.save-rule{font-size:10px;line-height:1.6;max-width:410px;margin:10px auto;color:#5c6662}.start-panel .start-footnote{font-size:9px;line-height:1.6}.start-panel{max-height:calc(var(--visible-height,100dvh) - 150px);overflow-y:auto}.start-panel #warmup-button{display:block;margin:8px auto 0;min-height:44px}.top-actions{gap:6px}.top-actions .quiet-button{padding:12px 10px}#menu-button{display:none}.top-actions button{min-height:44px}.top-actions .quiet-button span{display:inline}.help-actions,.menu-actions{display:flex;flex-wrap:wrap;gap:12px}.menu-actions{flex-direction:column}.menu-actions button{min-height:48px}.help-actions{margin:20px 0}.practice-guide{padding:10px 14px;border:1px solid #d6b87866;background:#142e36ee;border-radius:8px;display:flex;gap:12px;align-items:center;font-size:12px;line-height:1.5;margin-bottom:12px}.practice-guide span{flex:1}.practice-guide button{flex:none;max-width:140px}.game-area .round-feedback.show{position:relative;inset:auto;transform:none;width:100%;max-width:100%;margin:12px 0 0;padding:14px 18px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 16px;overflow:visible;text-align:left;max-height:none}.round-feedback:empty{display:none}.round-feedback b{font-size:25px;grid-column:1}.round-feedback span{font-size:15px;grid-column:1}.round-feedback em{font-size:11px;line-height:1.6;grid-column:1;overflow-wrap:anywhere}.round-feedback button{grid-column:2;grid-row:1/4;margin:0;align-self:center;min-height:48px}.showing-result .story-card,.showing-result .play-controls,.showing-result #gun-viewport{display:none!important}.showing-result .game-area{max-width:780px}.showing-result .painting-stage{margin:0}.showing-result .art-frame{width:min(100%,900px);margin:auto}.showing-result .chapter-heading{margin-top:6px}.menu-private .room-backdrop{filter:blur(25px);transform:scale(1.06)}.menu-private .room-shade{background:#12272bf2}.menu-private #art-frame,.menu-private #gun-viewport,.menu-private #gun,.menu-private [data-paint-flight3d],.menu-private .gun-effects-overlay,.menu-private .canvas-label,.menu-private #round-feedback,.returning-private #art-frame,.returning-private #gun-viewport,.returning-private #gun,.returning-private [data-paint-flight3d],.returning-private .gun-effects-overlay{visibility:hidden!important}.menu-private .story-card{filter:blur(12px);pointer-events:none}.menu-private .guess-panel{visibility:hidden;pointer-events:none}.returning-private .story-card{visibility:hidden}.return-panel{position:fixed;z-index:25;left:50%;top:45%;transform:translate(-50%,-50%);padding:22px;background:#142f39f5;border:1px solid #cfb57d;border-radius:12px;width:min(430px,calc(100vw - 32px));text-align:center}.return-panel p{line-height:1.6;font-size:14px}.record-filters{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:16px}.record-filters label{align-self:center;font-size:12px}.record-filters select{min-height:44px;min-width:0;border:1px solid #80948a88;background:#10262f;color:#f9eedb;padding:8px;border-radius:7px;font-size:14px}.yesterday-card{padding:12px 14px;background:#e0be7020;border-left:2px solid #c6a566;font-size:12px;line-height:1.6;overflow-wrap:anywhere;margin-bottom:12px}.leader-name{min-width:0;overflow-wrap:anywhere}.leader-row strong{white-space:nowrap}.onboarding-dialog{width:min(580px,calc(100vw - 28px));max-height:calc(var(--visible-height,100dvh) - 24px);overflow-y:auto}.tour-progress{color:#d6b879;font-size:12px;letter-spacing:3px}.onboarding-dialog h2{font-size:28px;line-height:1.25;max-width:440px}.tour-example{position:relative;border:12px solid transparent;border-image:url('/assets/frame-wood.png') 140 stretch;background:#142e35;aspect-ratio:16/9;isolation:isolate}.tour-example canvas{display:block;width:100%;height:100%;position:absolute;inset:0}.tour-story,.tour-guess,.tour-factors{position:absolute;z-index:1;left:10%;right:10%;bottom:12%;padding:12px;background:#faf0dc;color:#18313b;border-radius:6px;text-align:center;font-size:17px}.tour-story b{background:#13b8af;color:#fff;padding:3px}.tour-guess{top:22%;bottom:auto;font-size:16px}.tour-factors{font-size:15px;bottom:6%}.tour-body{line-height:1.7;font-size:14px}.tour-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}.tour-actions button{min-height:48px}.settings-tip{position:fixed;z-index:45;right:max(15px,env(safe-area-inset-right));top:100px;max-width:min(300px,calc(100vw - 30px));padding:13px 18px;color:#173039;background:#f7ebd4;border:1px solid #cfb579;border-radius:9px;font-size:12px;box-shadow:0 8px 30px #0005;pointer-events:none}.settings-nudge{animation:settings-nudge .9s ease 2}@keyframes settings-nudge{50%{box-shadow:0 0 0 5px #edc77b70}}.onboarding-dialog .dialog-header .text-button{min-height:44px}.start-panel h1{font-size:32px;margin:14px 0}.start-panel p{margin:12px 0 18px}.start-panel .primary-button{min-height:48px}.art-frame[data-frame=charcoal]{border-width:18px;border-image-width:18px;box-shadow:0 18px 35px #0009}.art-frame[data-frame=charcoal] .inner-frame{outline:4px solid #e1d2b5;outline-offset:-4px}body[data-chapter=charcoal] .room-shade{background:linear-gradient(90deg,#0a141866,#151b2244,#050a1288),linear-gradient(0deg,#050b12bb,transparent 40%)}body[data-chapter=charcoal] .chapter-heading{color:#e2cfa6}body[data-chapter=charcoal] .brass-plaque{background:#d2c2a5;color:#292e31;border-color:#9d8b6d;box-shadow:0 3px 7px #0006}.toast{pointer-events:none}input,select,textarea{font-size:16px}dialog{max-height:calc(var(--visible-height,100dvh) - 24px);overscroll-behavior:contain}#identity-badge{max-width:min(340px,calc(100vw - 28px));overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#result-dialog .close-button{min-width:44px;min-height:44px}
@media(min-width:1001px) and (min-height:651px){.game-area{max-width:780px}.start-panel{width:min(530px,88%);padding:22px 30px}.story-card{margin-bottom:25px}.branch{max-width:135px;font-size:10px}.branch small{font-size:8px}.topbar{gap:14px}.brand{gap:16px}.top-actions #account-button{max-width:130px;white-space:normal;font-size:11px}.top-actions .quiet-button{font-size:11px}.showing-result .art-frame{max-width:920px}.showing-result .game-area{max-width:920px}}
@media(max-width:1000px){#menu-button{display:inline-flex;align-items:center;justify-content:center;min-width:65px}.top-actions .quiet-button span{display:inline}.mobile-playing .top-actions>:not(#sound-button){display:none}.mobile-playing .top-actions #menu-button{display:inline-flex;min-height:44px;min-width:65px;padding:8px}.mobile-playing .topbar{min-height:44px}.mobile-playing .topbar>.top-actions{display:flex;width:auto;gap:4px}.mobile-playing .topbar>.stats{flex:1}.mobile-playing .brand{display:none}.mobile-playing .chapter-heading{flex:none;order:0;font-size:10px;line-height:1.4;margin:0;letter-spacing:.4px}.mobile-playing .practice-guide{flex:none;order:0;font-size:11px;padding:7px 9px;margin:0;gap:5px}.mobile-playing .practice-guide button{font-size:11px;min-height:44px;max-width:95px;padding:4px}.mobile-playing .game-area .round-feedback.show{position:relative;left:auto;top:auto;transform:none;flex:none;order:2;padding:12px;margin:0;gap:3px 8px;max-height:none;width:100%;z-index:auto}.mobile-playing .round-feedback b{font-size:22px}.mobile-playing .round-feedback span{font-size:13px}.mobile-playing .round-feedback em{font-size:10px}.mobile-playing .round-feedback .primary-button{min-width:82px;padding:10px;font-size:12px}.mobile-playing.showing-result .painting-stage{order:1;min-height:80px;flex:1}.mobile-playing.showing-result .art-frame{width:min(100%,max(80px,calc((var(--play-board-height,240px) - 42px)*1.777778 + 24px)));max-height:100%}.mobile-playing .gun-slot{width:128px;height:86px;bottom:0;right:0}.mobile-playing .painting-stage{padding-bottom:66px}.mobile-playing.showing-result .painting-stage{padding-bottom:0}.mobile-playing .art-frame{width:min(100%,max(80px,calc((var(--play-board-height,240px) - 118px)*1.777778 + 24px)))}.mobile-playing.guessing-private .topbar{visibility:visible;pointer-events:auto;z-index:32}.mobile-playing.guessing-private .topbar>*:not(.top-actions){visibility:hidden}.mobile-playing.guessing-private .guess-panel{top:calc(var(--viewport-top,0px) + 60px);max-height:calc(var(--visible-height,100dvh) - 70px)}.mobile-playing .return-panel{top:calc(var(--viewport-top,0px) + var(--visible-height,100dvh)*.4)}.topbar>.top-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:5px}.top-actions #account-button{flex:1;max-width:none;min-width:110px}.top-actions #collection-button,.top-actions #leaderboard-button{min-width:100px}.mobile-playing .top-actions #collection-button,.mobile-playing .top-actions #leaderboard-button{display:none}.start-panel #start-button{max-width:100%;white-space:normal;font-size:13px}.touch-input:not(.mobile-playing) .center-panel p{display:block}.mobile-playing.mobile-landscape .game-area{grid-template-rows:auto minmax(0,1fr) 44px}.mobile-playing.mobile-landscape .chapter-heading{grid-column:1/-1;grid-row:1}.mobile-playing.mobile-landscape .practice-guide{grid-column:1/-1;grid-row:2;align-self:start;z-index:2;max-width:100%;font-size:10px}.mobile-playing.mobile-landscape .painting-stage{grid-row:2/4}.mobile-playing.mobile-landscape .story-card{grid-row:2}.mobile-playing.mobile-landscape .play-controls{grid-row:3}.mobile-playing.mobile-landscape.showing-result .game-area{display:flex}.settings-tip{top:auto;bottom:70px}.showing-result .game-area{max-width:100%}.mobile-playing .play-controls button{min-height:44px}.guessing-private #menu-button{position:relative;z-index:31}}
@media(max-width:360px){.top-actions #collection-button,.top-actions #leaderboard-button{min-width:90px}.topbar>.top-actions{display:flex}.start-panel h1{font-size:24px}.mobile-playing .practice-guide span{font-size:10px}.round-feedback.show{grid-template-columns:minmax(0,1fr) 80px}.mobile-playing .stat{padding:6px;gap:4px}.mobile-playing .stat strong{font-size:21px}.tour-factors{font-size:11px}.onboarding-dialog h2{font-size:23px}}
@media(prefers-reduced-motion:reduce){.settings-nudge{animation:none}}
/* Put the phone's next action above the picture, including keyboard dismissal. */
select{appearance:none;background-color:#17313a;color:#f5ecd9;border:1px solid #a6b49e55;border-radius:8px;min-height:44px;padding:10px 34px 10px 12px;box-shadow:inset 0 1px #ffffff08;cursor:pointer;max-width:100%}
select:focus:not(:focus-visible){outline:none}
select:focus-visible{outline:2px solid #71bcb3;outline-offset:3px}
select option{background:#17313a;color:#f5ecd9}
@supports(appearance:base-select){
  select,select::picker(select){appearance:base-select}
  select::picker(select){background:linear-gradient(135deg,#203d45,#142c35);color:#f5ecd9;border:1px solid #af99775c;border-radius:11px;box-shadow:0 18px 44px #0007,inset 0 1px #ffffff0c;padding:6px;margin-block-start:7px;max-height:min(360px,55dvh);overflow:auto;overscroll-behavior:contain}
  select::picker(select){width:anchor-size(width);min-width:0;max-width:calc(100vw - 28px);left:anchor(center);translate:-50% 0}
  select::picker-icon{color:#cfb88c;transition:rotate .18s;font-size:12px}
  select:open::picker-icon{rotate:180deg}
  select:open{border-color:#c6a76a99;box-shadow:inset 0 1px #ffffff0c}
  select option{min-height:44px;padding:8px 10px;border-radius:6px;line-height:1.4;white-space:normal;background:transparent;gap:8px;font-size:13px;font-weight:500;letter-spacing:0}
  select option:hover,select option:focus-visible{background:#3d625b66;outline:none}
  select option:checked{background:#18a49b24;color:#a8f0df}
  select option::checkmark{order:2;margin-left:auto;color:#8adcca}
}
.chapter-picker{flex-direction:column;gap:7px}
.chapter-picker select{width:100%;max-width:340px;text-align:left;font-weight:500}
select,.language-select,.chapter-picker select,.record-filters select{display:inline-flex;align-items:center;justify-content:space-between;gap:12px;line-height:1.4;vertical-align:middle;padding:10px 14px}
.chapter-picker select{height:48px;min-height:48px;font-size:16px}
select:focus-visible{outline:none;box-shadow:inset 0 0 0 2px #71bcb3}
@supports(appearance:base-select){
  select::picker-icon{content:'';width:8px;height:8px;flex:none;margin-inline:auto 2px;border-right:1.5px solid #cfb88c;border-bottom:1.5px solid #cfb88c;rotate:45deg;align-self:center}
  select:open::picker-icon{rotate:225deg}
}
.intro-atmosphere{position:fixed;inset:0;z-index:-1;pointer-events:none;opacity:0;transition:opacity .9s ease;background:radial-gradient(ellipse at 48% 45%,#22434a66,transparent 58%),radial-gradient(ellipse at 10% 90%,#88674724,transparent 48%),linear-gradient(140deg,#08151d,#13252d 55%,#09151c)}
.scene-intro .intro-atmosphere{opacity:1}
body.scene-intro{overflow:hidden}
.scene-intro .chapter-heading,.scene-intro .practice-guide,.scene-intro .story-card,.scene-intro .play-controls{display:none!important}
.scene-intro .game-area{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;max-width:none;width:100%;margin:0;padding:30px 20px}
.scene-intro .painting-stage{position:relative;width:min(820px,100%);margin:0;padding:0!important;min-height:0}
.scene-intro .art-frame{width:100%;margin:0}
.scene-intro .gun-slot{position:absolute;right:0;bottom:-90px;width:128px;height:86px;margin:0}
.room-backdrop-next{position:fixed;inset:0;z-index:-3;background-position:center;background-size:cover;opacity:0;pointer-events:none}
/* Active phone layout is maintained in mobile-play.css. */
@media(max-width:1000px){.touch-input:not(.mobile-playing) .painting-stage{padding-top:34px}}
@media(max-width:1000px){
  .mobile-playing.showing-result .game-area .round-feedback.show{order:1}
  .mobile-playing.showing-result .painting-stage{order:2}
  .mobile-playing.mobile-landscape .game-area:has(.practice-guide:not([hidden])){grid-template-rows:auto auto minmax(0,1fr) 44px}
  .mobile-playing.mobile-landscape .practice-guide{grid-row:2;position:relative}
  .mobile-playing.mobile-landscape .game-area:has(.practice-guide:not([hidden])) .painting-stage{grid-row:3/5}
  .mobile-playing.mobile-landscape .game-area:has(.practice-guide:not([hidden])) .story-card{grid-row:3}
  .mobile-playing.mobile-landscape .game-area:has(.practice-guide:not([hidden])) .play-controls{grid-row:4}
}

/* A centered, unboxed countdown: each glyph moves towards the player. */
#countdown-panel{width:100%;max-width:100%;padding:0;border:0;border-radius:0;background:none;box-shadow:none;backdrop-filter:none;text-align:center;pointer-events:none;overflow:visible;isolation:isolate}
#countdown-panel::before{content:'';position:absolute;inset:-55px 5%;z-index:-1;background:radial-gradient(ellipse,#0a202a99,transparent 70%);pointer-events:none}
#countdown-label{display:inline-block;max-width:90%;color:#f5ead4;background:#102b35d9;padding:8px 14px;border-radius:30px;font-size:10px;letter-spacing:1.6px;line-height:1.5}
#countdown-number{position:relative;display:grid;place-items:center;width:100%;height:180px;margin:12px 0;font:900 138px/1 Manrope,sans-serif;letter-spacing:-.05em;color:#fff1d5;text-shadow:0 3px 0 #967043,0 15px 40px #06141d;transform-origin:50% 50%;will-change:transform,opacity}
#countdown-number.pulse{animation:countdown-towards .9s cubic-bezier(.16,.6,.25,1) both}
#countdown-number.is-go{font-size:clamp(52px,7vw,94px);font-style:italic;letter-spacing:-.06em;text-shadow:0 3px 0 #913e2a,0 10px 24px #08151c;white-space:nowrap}
#countdown-number.is-go::before{content:'';position:absolute;z-index:-1;width:5.3em;height:1.25em;background:linear-gradient(8deg,#db6546,#f19b65);clip-path:polygon(3% 28%,14% 21%,10% 9%,32% 15%,41% 3%,58% 12%,82% 8%,79% 20%,98% 26%,94% 49%,100% 65%,86% 76%,91% 91%,67% 85%,59% 98%,43% 88%,19% 94%,24% 79%,2% 70%,8% 52%);rotate:-3deg;box-shadow:0 3px 0 #15555b}
#countdown-number.is-go.pulse{animation:paint-callout .38s cubic-bezier(.12,.8,.3,1.3) both}
#countdown-cancel{pointer-events:auto;min-height:44px;color:#f4ead6;background:#173540ed;border:1px solid #f4ead644;border-radius:7px;padding:10px 20px}
@keyframes countdown-towards{0%{opacity:0;transform:scale(.48) translateZ(0)}18%{opacity:1}72%{opacity:1;transform:scale(1.09)}100%{opacity:0;transform:scale(1.4)}}
@keyframes paint-callout{0%{opacity:0;transform:scale(.65) rotate(-3deg)}55%{opacity:1;transform:scale(1.06) rotate(1deg)}100%{opacity:1;transform:scale(1) rotate(0)}}
@media(max-width:1000px){.mobile-playing #countdown-panel{width:calc(100vw - 24px);max-width:calc(100vw - 24px);top:calc(var(--viewport-top,0px) + var(--visible-height,100dvh)*.44);overflow:visible;padding:0}#countdown-number{font-size:110px;height:150px}#countdown-number.is-go{font-size:clamp(46px,13vw,76px)}#countdown-label{font-size:9px}}
body.reduce-motion #countdown-number.pulse{animation:none;transform:none;opacity:1}
@media(prefers-reduced-motion:reduce){#countdown-number.pulse{animation:none;transform:none;opacity:1}}

.round-feedback .sample-label{font:500 10px/1.3 'DM Sans',sans-serif;letter-spacing:0;vertical-align:middle}
@media(max-width:1000px){
  .mobile-playing .game-area{position:relative}
  .mobile-playing .practice-guide{position:absolute;z-index:4;left:0;right:105px;bottom:58px;padding:7px 9px;margin:0;border:0;border-left:2px solid #c5af7766;border-radius:0;background:#142b34bb;font-size:10px;line-height:1.45;pointer-events:none}
  .mobile-playing.showing-result .practice-guide{visibility:hidden}
  .mobile-playing.mobile-landscape .practice-guide{position:absolute;grid-column:auto;grid-row:auto;left:auto;right:0;top:40px;bottom:auto;width:calc(45% - 10px);max-width:none}
  .mobile-playing.mobile-landscape .game-area:has(.practice-guide:not([hidden])),.mobile-playing.mobile-landscape.showing-result .game-area:has(.practice-guide:not([hidden])){grid-template-rows:auto minmax(0,1fr) 44px}
  .mobile-playing.mobile-landscape .game-area:has(.practice-guide:not([hidden])) .painting-stage{grid-row:2/4}
  .mobile-playing.mobile-landscape .game-area:has(.practice-guide:not([hidden])) .story-card,.mobile-playing.mobile-landscape.showing-result .game-area:has(.practice-guide:not([hidden])) .round-feedback.show{grid-row:2}
  .mobile-playing.mobile-landscape .game-area:has(.practice-guide:not([hidden])) .play-controls{grid-row:3}
}
@media(max-width:1000px) and (max-height:320px){.mobile-playing.mobile-landscape .practice-guide{visibility:hidden}}

.scene-intro .game-area > :not(.painting-stage){display:none!important}
.scene-intro .painting-stage > :not(.art-frame):not(.gun-slot){display:none!important}
.scene-intro .painting-stage{flex:0 0 min(820px,calc(100vw - 40px));width:min(820px,calc(100vw - 40px));height:auto!important}

/* The closed chapter field matches its options, including long English names. */
.chapter-picker select{font:500 13px/1.4 'DM Sans',sans-serif;letter-spacing:0;padding:8px 10px;min-height:44px;height:44px}
@supports not (appearance:base-select){.chapter-picker select{font-size:16px}}
#countdown-panel #countdown-number{position:absolute;inset:0;width:100%;height:100%;margin:0;font-size:clamp(64px,calc(var(--countdown-height,200px)*.65),138px)}
#countdown-panel #countdown-number.is-go{font-size:clamp(38px,calc(var(--countdown-width,300px)*.17),94px)}
#countdown-panel #countdown-label{position:absolute;z-index:2;top:8px;left:50%;transform:translateX(-50%);white-space:nowrap;margin:0;max-width:calc(100vw - 28px)}
#countdown-panel #countdown-cancel{position:absolute;top:calc(100% + 20px);left:50%;transform:translateX(-50%);margin:0}
#countdown-panel #countdown-number.is-go.pulse{animation:paint-callout .35s cubic-bezier(.12,.8,.3,1.3) both,paint-rattle .13s linear .35s 5}
@keyframes paint-rattle{0%,100%{translate:0 0;rotate:0deg}25%{translate:-1px .5px;rotate:-.4deg}75%{translate:1px -.5px;rotate:.4deg}}
body.reduce-motion #countdown-panel #countdown-number.pulse{animation:none;transform:none;translate:none;rotate:none;opacity:1}
@media(prefers-reduced-motion:reduce){#countdown-panel #countdown-number.pulse{animation:none;transform:none;translate:none;rotate:none;opacity:1}}

@supports(appearance:base-select){
  select::picker-icon{border:0;width:12px;height:12px;rotate:0deg;transform:none;background:center/12px 12px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m2.5 4.5 3.5 3.5 3.5-3.5' fill='none' stroke='%23cfb88c' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
  select:open::picker-icon{rotate:180deg}
}
@media(max-width:1000px){.mobile-playing .toast{top:auto;bottom:calc(64px + env(safe-area-inset-bottom));max-width:calc(100vw - 24px)}}

.brand>span:first-child{padding-bottom:28px}
.brand-version{bottom:14px}
.beta-label{display:block;position:absolute;bottom:0;left:1px;font:600 8px/1.2 'DM Sans',sans-serif;letter-spacing:1.15px;color:#ecac76;white-space:nowrap}
.beta-record-notice{display:block;width:100%;min-height:44px;margin:12px 0;padding:10px 12px;text-align:left;font-size:11px;line-height:1.6;color:#f2cf9b;background:#d5a86712;border:1px solid #d5a86744;border-radius:8px}
.beta-dialog{width:min(560px,calc(100vw - 24px))}.beta-dialog p{font-size:14px;line-height:1.8;color:#e0ded0}.beta-dialog [data-beta-records]{padding:14px;background:#d5a86712;border-left:2px solid #c6a36d}.beta-dialog .close-button{min-width:44px;min-height:44px}
@media(max-width:1000px){.mobile-playing.mobile-landscape .story-text{height:4.5em;min-height:0}}

/* Version notes remain small without moving the brand or canvas. */
.brand-version{appearance:none;position:relative;border:0;background:transparent;color:inherit;cursor:pointer;padding:3px 5px;margin:0;font:inherit;letter-spacing:inherit;min-width:44px;min-height:24px;text-align:left;border-radius:4px}
.brand-version:focus-visible{outline:2px solid #72cfbc;outline-offset:2px}.brand-version.release-new{color:#8ee3d3;text-shadow:0 0 9px #4ac2ae55}.brand-version.release-new:after{content:attr(data-new-label);position:absolute;left:100%;top:50%;transform:translateY(-50%);font:600 7px/1.2 sans-serif;letter-spacing:.06em;color:#80ddc9;padding-left:3px;pointer-events:none}
.release-dialog{width:min(580px,calc(100vw - 24px));max-height:85dvh;overflow-y:auto}.release-dialog h2{font-size:24px}.release-section{padding:12px 0;border-top:1px solid #819d9944}.release-section h3{font-size:16px;color:#dbc393}.release-section article{margin:16px 0}.release-section h4{font-size:16px;margin:5px 0}.release-section p{font-size:14px;line-height:1.6;color:#d0d9d5;margin:5px 0}.release-kind{color:#8ad2c1;font-size:11px;text-transform:uppercase;letter-spacing:.08em}.help-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;text-decoration:none}.audience-notice{font-size:11px!important;line-height:1.45!important;color:#625b48!important;margin:8px 0!important}.qa-error{position:fixed;inset:25% 10%;z-index:999;background:#142d36;color:#f3e7ce;padding:30px;border-radius:12px}
@media(max-width:600px){.brand-version{min-height:30px}.brand-version.release-new:after{font-size:6px}.release-dialog h2{font-size:21px}}

.qa-session #account-button{display:none}

.help-actions a[hidden]{display:none}
