:root{--navy:#102b46;--navy-light:#244c68;--teal:#66c7c8;--paper:#fff9ed;--surface:#fffdf6;--border:#ddceae;--gold:#f6bd55;--green:#267754;--red:#bd443d;--ink:#183149;--muted:#586878;--font:"Noto Sans Thai", system-ui, sans-serif;--pixel:"Press Start 2P", monospace;color:var(--ink);font-family:var(--font);font-synthesis:none;-webkit-font-smoothing:antialiased;background:#ede9de}*{box-sizing:border-box}body{background-image:radial-gradient(#d9d7cb .75px,#0000 .75px);background-size:12px 12px;margin:0}button,select,input{font:inherit}button,a,select,input{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}a,button{color:inherit}button:disabled{cursor:default}button,select{border:0}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline-offset:4px;outline:3px solid #137479}button:focus-visible{box-shadow:0 0 0 6px var(--paper)}[hidden]{display:none!important}h1,h2,h3,p{margin:0}img{max-width:100%}.sr-only{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.app-shell{width:min(1360px,100% - 48px);margin:0 auto}.site-header{align-items:center;gap:25px;height:82px;padding:8px 2px;display:flex}.brand-link{align-items:center;display:flex}.brand-logo{object-fit:contain;width:112px;height:64px}.brand-badge{letter-spacing:2px;color:#4b635e;border-left:1px solid #bfc5bb;padding-left:24px;font-size:10px;font-weight:700}.header-tools{align-items:center;gap:10px;margin-left:auto;display:flex}.language-select{background:#fbf9f1;border:1px solid #c4c9c0;border-radius:8px;min-height:42px;padding:8px 25px 8px 12px;font-size:13px;font-weight:700}.icon-button{background:#fbf9f1;border:1px solid #c4c9c0;border-radius:8px;justify-content:center;align-items:center;width:42px;height:42px;display:inline-flex}.icon-button:hover{border-color:var(--navy);background:#fff}.icon-button.muted{color:#78847d;position:relative}.icon-button.muted:after{content:"";background:var(--red);width:25px;height:2px;position:absolute;transform:rotate(-45deg)}.icon{flex:none;width:23px;height:23px;display:inline-flex}.icon svg{width:100%;height:100%}.site-footer{color:#53645f;align-items:center;gap:22px;min-height:44px;padding:8px 2px;font-size:11px;display:flex}.site-footer .footer-link{margin-left:auto}.text-button{font-size:inherit;color:inherit;text-underline-offset:3px;background:0 0;padding:5px 0;text-decoration:underline}.primary-button,.secondary-button,.line-button{border-radius:9px;justify-content:center;align-items:center;gap:10px;min-height:48px;padding:11px 18px;font-size:14px;font-weight:700;line-height:1.5;text-decoration:none;transition:transform .12s,background .12s;display:inline-flex}.primary-button{background:var(--gold);color:var(--navy);border:2px solid #d2952d;box-shadow:0 4px #c28a29}.primary-button:hover{background:#ffd27c;transform:translateY(-1px)}.primary-button:active{transform:translateY(3px);box-shadow:0 1px #c28a29}.secondary-button{background:var(--surface);border:1px solid #b9c6c4;box-shadow:0 2px #d8ded3}.secondary-button:hover{border-color:var(--navy-light);background:#e8f3ec}.line-button{color:#fff;background:#16783c;min-height:43px;padding:8px 14px;font-size:13px}.line-button:hover{background:#106331}.text-link{text-underline-offset:3px;font-size:13px;font-weight:700}.small{min-height:36px;padding:6px 12px;font-size:12px}.button-pair{gap:12px;margin-top:20px;display:flex}.button-pair>*{flex:1}.fine-print{color:var(--muted);margin-top:14px;font-size:11px;line-height:1.8}.local-note{color:var(--muted);margin-top:12px;font-size:10px;line-height:1.7}.body-copy{margin-bottom:16px;font-size:14px;line-height:1.9}.boot-screen,.loading-layer{background:var(--navy);color:var(--paper);flex-direction:column;justify-content:center;align-items:center;gap:18px;display:flex}.boot-screen{min-height:100vh}.boot-mark{font-family:var(--pixel);color:var(--gold);font-size:40px}.loading-layer{z-index:30;text-align:center;padding:30px;position:absolute;inset:0}.loading-layer progress{width:230px;height:9px;accent-color:var(--gold)}.reduce-motion *,.reduce-motion :before,.reduce-motion :after{scroll-behavior:auto!important;transition:none!important;animation:none!important}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important}}.game-frame{aspect-ratio:16/9;border:6px solid var(--navy);isolation:isolate;background:#d8b589;border-radius:15px;width:100%;min-height:625px;max-height:calc(100svh - 145px);position:relative;overflow:hidden;box-shadow:0 10px #d1cbbd,0 15px 40px #25352c18}.world{z-index:0;position:absolute;inset:0}.world canvas{display:block}.world-vignette{pointer-events:none;background:linear-gradient(#172f4420,#0000 18% 75%,#1c24412b);position:absolute;inset:0}.play-layer{position:absolute;inset:0}.hud{z-index:3;gap:10px;width:59%;max-width:680px;display:flex;position:absolute;top:18px;left:18px}.hud-stat{background:var(--navy);color:#fff9ed;border:1px solid #68b5ba;border-radius:9px;flex:1;min-width:0;padding:11px 18px 10px;box-shadow:0 4px #0c2139}.hud-label{letter-spacing:1.6px;opacity:.8;margin-bottom:7px;font-size:9px;font-weight:700;display:block}.hud-value{font-family:var(--pixel);color:var(--gold);white-space:nowrap;font-size:clamp(15px,1.6vw,22px);line-height:1.5}.time-stat{flex:.95}.time-stat .hud-value{color:var(--paper)}.quality-stars{color:var(--gold);letter-spacing:1px;white-space:nowrap;font-size:25px;line-height:1.3}.accuracy-stat{flex:1.1}.pause-button{background:var(--paper);border:2px solid var(--navy);z-index:4;position:absolute;top:18px;right:18px}.phase-pill{background:#fff5dded;border-radius:5px;padding:6px 15px;font-size:12px;font-weight:700;position:absolute;top:120px;right:110px;box-shadow:0 3px #bba07f}.phase-pill.final-phase{background:var(--navy);color:var(--gold)}.order-station{z-index:4;width:31%;max-width:370px;position:absolute;top:24%;left:3.3%}.station-heading{letter-spacing:1.2px;color:var(--paper);background:var(--navy);border:1px solid #548995;border-radius:7px 7px 0 0;justify-content:space-between;align-items:center;padding:7px 12px;font-size:10px;font-weight:700;display:flex}.combo-value{letter-spacing:0;color:#d1e2e2}.combo-value.charged{color:var(--gold)}.paper-card{background:var(--paper);border:1px solid #c5b48e;border-top:0;border-radius:0 0 5px 5px;min-height:268px;padding:18px 21px 12px;position:relative;box-shadow:3px 4px #dfd5ba,5px 6px #8d826a,0 14px 30px #382a1820}.paper-card:after{content:"";background:linear-gradient(135deg,#eadfca 50%,#b5a583 50.5%,#e7d7b8 55%);border-radius:0 0 3px;width:20px;height:20px;position:absolute;bottom:-1px;right:-1px}.paper-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;padding-bottom:11px;display:flex}.paper-brand{letter-spacing:-2px;font-size:22px;font-style:italic;font-weight:700}.paper-number{color:var(--muted);letter-spacing:1px;font-size:9px;font-weight:600}.paper-heading{letter-spacing:.5px;margin-top:16px;font-size:13px;font-weight:700}.paper-hint{color:var(--muted);margin-top:3px;font-size:11px}.paper-body{min-height:127px;padding-top:14px}.skeleton-lines{flex-direction:column;gap:5px;margin-bottom:13px;display:flex}.skeleton-lines span{background:#e3dbc8;width:85%;height:3px}.skeleton-lines span:nth-child(2){width:70%}.skeleton-lines span:nth-child(3){width:79%}.signature-line{border-bottom:1px dashed #8195a0;justify-content:center;align-items:center;min-height:43px;display:flex}.handwritten{color:#285078;letter-spacing:-1.5px;font-family:Brush Script MT,Segoe Script,cursive;font-size:37px;font-style:italic;transform:rotate(-4deg)}.signature-blank{color:#876d62;font-size:14px}.field-caption{text-align:center;color:var(--muted);margin-top:4px;font-size:10px;display:block}.amount-row{justify-content:space-between;align-items:center;padding:5px 0;font-size:13px;display:flex}.amount{font-variant-numeric:tabular-nums;font-size:18px}.total-row{border-top:1px solid #b7b6a6;margin-top:6px;padding-top:9px}.total-row strong{font-size:25px}.reference-row{background:#e9ede2;border-radius:3px;justify-content:space-between;align-items:center;margin-bottom:8px;padding:10px;font-size:11px;display:flex}.reference-code{letter-spacing:1px;font-family:monospace;font-size:19px}.paper-footer{letter-spacing:1.3px;color:#67756f;justify-content:space-between;align-items:center;gap:6px;padding-top:10px;font-size:6px;display:flex}.mini-bars{background:repeating-linear-gradient(90deg,#496578 0 1px,#0000 1px 3px,#496578 3px 6px,#0000 6px 8px);width:50px;height:13px;display:block}.answer-buttons{grid-template-columns:1fr 1fr;gap:12px;margin-top:17px;display:grid}.action-button{color:#fff;border:2px solid #173748;border-radius:9px;justify-content:center;align-items:center;gap:7px;min-height:62px;font-size:17px;font-weight:700;transition:transform 90ms,filter 90ms;display:flex;position:relative;box-shadow:0 5px #183149}.action-button:hover{filter:brightness(1.1)}.action-button:active{transform:translateY(4px);box-shadow:0 1px #183149}.action-button .icon{width:20px;height:20px}kbd{font-family:var(--font);opacity:.8;font-size:9px;font-weight:500}.action-button kbd{text-align:center;width:100%;line-height:1.2;position:absolute;bottom:4px;left:0}.action-button>span:not(.icon){padding-bottom:6px}.answer-feedback{text-align:center;min-height:24px;text-shadow:0 1px 2px var(--paper);padding-top:11px;font-size:13px;font-weight:700}.answer-feedback.failure{color:#772a26}.answer-feedback.success{color:#164b39}.danger-meter{background:var(--navy);width:64px;height:48%;color:var(--paper);border:2px solid #6a9da7;border-radius:8px;flex-direction:column;align-items:center;padding:10px 8px;display:flex;position:absolute;top:25%;right:25px;box-shadow:0 4px #0a2338}.danger-label{letter-spacing:.7px;text-align:center;margin-bottom:10px;font-size:7px;font-weight:700}.danger-track{background:#35516a;border:2px solid #c4d7d5;border-radius:3px;width:25px;height:100%;min-height:40px;position:relative;overflow:hidden}.danger-fill{background:linear-gradient(#f29342,#e8b855);width:100%;height:22%;transition:height .12s linear;position:absolute;bottom:0}.danger-ticks{background:repeating-linear-gradient(0deg,#0000 0 calc(20% - 2px),#173650 calc(20% - 2px) 20%);position:absolute;inset:0}.danger-meter strong{font-variant-numeric:tabular-nums;margin-top:8px;font-size:12px}.danger-meter.high{border-color:#ef8e61}.danger-meter.high .danger-fill{background:#ef6a4f}.fever-button{background:var(--navy);width:325px;min-height:64px;color:var(--paper);text-align:left;border:2px solid #57949d;border-radius:10px;align-items:center;gap:12px;padding:10px 15px;display:flex;position:absolute;bottom:22px;left:51%;overflow:hidden;transform:translate(-50%);box-shadow:0 5px #0b243b}.fever-button>*{z-index:1;position:relative}.fever-button>.fever-fill{z-index:0;background:#386878;width:0;transition:width .15s;position:absolute;inset:0 auto 0 0}.fever-button .icon{color:var(--gold);width:28px;height:28px}.fever-copy{flex-direction:column;flex:1;gap:2px;display:flex}.fever-copy strong{font-size:13px}.fever-copy>span{font-size:9px;line-height:1.4}.fever-button.ready{color:var(--navy);background:var(--gold);border-color:#f8d996;box-shadow:0 5px #a86f23,0 0 25px #ffc44b6b}.fever-button.ready .fever-fill{background:var(--gold)}.fever-button.ready .icon{color:var(--navy)}.fever-button.active{border-color:var(--gold)}.fever-button.active .fever-fill{background:#807146}.urgent{color:#ffb69b!important}.tutorial-banner{z-index:5;background:#ffefc5;border:2px solid #b8954d;border-radius:8px;width:34%;max-width:410px;padding:10px 14px;position:absolute;top:120px;left:3.3%;box-shadow:0 4px #967c4f55}.tutorial-banner strong{color:#79612e;font-size:10px;display:block}.tutorial-banner span{font-size:12px;font-weight:700}.play-layer:has(.tutorial-banner:not([hidden])) .order-station{top:31%}.play-layer:has(.tutorial-banner:not([hidden])) .phase-pill{display:none}.home-layer{pointer-events:none;align-items:center;padding:27px 3.4%;display:flex;position:absolute;inset:0}.welcome-panel{pointer-events:auto;background:var(--paper);border:2px solid #b99c62;border-radius:11px;width:385px;padding:24px 27px 19px;position:relative;box-shadow:0 5px #9d814e,0 18px 35px #20312626}.welcome-panel:before,.welcome-panel:after{content:"";background:#dfc894;border:1px solid #bba77e;border-radius:50%;width:6px;height:6px;position:absolute;top:9px}.welcome-panel:before{left:9px}.welcome-panel:after{right:9px}.eyebrow{letter-spacing:1.4px;color:#5c6b60;text-align:center;font-size:8px;font-weight:700;display:block}.game-title{font-family:var(--pixel);color:var(--navy);text-align:center;letter-spacing:-3px;text-shadow:0 3px #cdd7c8;margin:17px 0 13px;font-size:53px;line-height:1.2}.game-title>span{display:block}.game-title .title-small{font-family:var(--font);letter-spacing:9px;color:#506955;text-shadow:none;margin-bottom:11px;font-size:13px;font-weight:700;line-height:1}.game-title .title-gold{color:#b77121;text-shadow:0 3px #efd09d}.welcome-tagline{text-align:center;margin-bottom:7px;font-size:14px;font-weight:700}.welcome-copy{text-align:center;color:#5a685e;max-width:290px;margin:0 auto;font-size:12px;line-height:1.75}.welcome-badges{justify-content:center;align-items:center;gap:10px;margin:15px 0 14px;font-size:10px;font-weight:600;display:flex}.duration-chip{white-space:nowrap;background:#e5ece1;border-radius:4px;padding:3px 7px}.best-chip{color:#55635f;font-variant-numeric:tabular-nums}.play-button{width:100%;min-height:53px;margin-bottom:12px;font-size:17px;display:flex}.play-button .icon:last-child{width:18px;margin-left:auto}.play-button .icon:first-child{width:19px}.daily-button{background:#f5f3e8;width:100%;min-height:42px;font-size:12px}.daily-button .icon{width:17px;height:17px}.menu-shortcuts{gap:8px;margin-top:14px;display:flex}.shortcut-button{background:0 0;border-radius:5px;flex-direction:column;flex:1;align-items:center;gap:5px;padding:6px 2px;font-size:10px;font-weight:700;display:flex}.shortcut-button:hover{background:#e4ebdf}.shortcut-button .icon{width:22px;height:22px}.collection-progress{border-top:1px solid #dcd7c6;margin-top:16px;padding-top:12px}.progress-heading{letter-spacing:1px;justify-content:space-between;align-items:center;font-size:9px;display:flex}.progress-heading strong{letter-spacing:0;font-variant-numeric:tabular-nums;font-size:12px}.progress-track{background:#dddcca;border-radius:3px;height:5px;margin-top:7px;overflow:hidden}.progress-fill{border-radius:inherit;background:#537d65;height:100%}.collection-progress>p{color:#59675d;margin-top:7px;font-size:9px}.welcome-panel .local-note{text-align:center;margin-top:10px;font-size:8px}.scene-caption{letter-spacing:1.4px;color:#f9efd8;background:#102b46de;border-radius:4px;align-items:center;gap:8px;padding:7px 11px;font-size:9px;display:flex;position:absolute;bottom:21px;right:24px}.status-dot{background:#a3d6b3;border-radius:50%;width:6px;height:6px;display:block}.modal-panel{border:3px solid var(--navy);background:var(--paper);width:min(510px,100vw - 30px);max-height:calc(100svh - 36px);color:var(--ink);overscroll-behavior:contain;border-radius:14px;padding:0;box-shadow:0 8px #0b1c2c66,0 30px 90px #06192d66}.modal-panel::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0b2239b8}.modal-panel.wide{width:min(800px,100vw - 30px)}.modal-body{padding:0 28px 26px}.modal-heading{background:var(--paper);z-index:3;border-bottom:1px solid #d8cdb6;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;padding:20px 0 15px;display:flex;position:sticky;top:0}.modal-heading h2{font-size:20px;font-weight:700}.close-button{background:#fffdf4;border:1px solid #b5c1bb;border-radius:7px;flex:0 0 36px;height:36px;font-size:27px;line-height:1}.close-button:hover{background:#e2e9dd}.modal-intro{color:var(--muted);margin-bottom:19px;font-size:13px;line-height:1.8}.outfit-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.outfit-card{background:#eaf0e7;border:2px solid #bdc9c2;border-radius:9px;flex-direction:column;align-items:center;padding:14px 11px;display:flex}.outfit-card.selected{background:#fff0cc;border-color:#c38d31;box-shadow:inset 0 0 0 2px #f2cb7b}.outfit-portrait{aspect-ratio:1;background-position:0 0;background-repeat:no-repeat;background-size:300% 200%;width:100%}.outfit-card h3{margin:12px 0 14px;font-size:12px}.outfit-card button{width:100%;min-height:39px;padding:8px 4px;font-size:11px}.outfit-card.selected button{background:#e1e9d5}.collection-content .collection-progress{border-top:0;margin:0 0 20px;padding-top:0}.collection-content .progress-heading{font-size:11px}.collection-content .progress-heading strong{font-size:18px}.reward-grid{grid-template-columns:1fr 1fr;gap:12px;display:grid}.reward-card{background:#edf1e5;border:1px solid #cfd6c8;border-radius:9px;align-items:center;gap:13px;padding:16px;display:flex}.reward-card.locked{background:#f0ece1;border-color:#ded8ca}.reward-emblem{color:#447556;flex:none;justify-content:center;align-items:center;width:49px;height:55px;display:flex}.reward-emblem .icon{width:41px;height:41px}.locked .reward-emblem{color:#899486}.reward-copy p{color:var(--muted);margin:4px 0;font-size:10px;line-height:1.6}.unlock-status{color:#326546;font-size:10px}.locked .unlock-status{color:#77623c}.reward-copy .small{margin-top:8px;display:block}.section-title{margin:24px 0 14px;font-size:16px}.trophy-grid{grid-template-columns:repeat(3,1fr);gap:10px;display:grid}.trophy-card{text-align:center;background:#fff1ce;border:1px solid #d9c08d;border-radius:7px;padding:15px 10px}.trophy-card.locked{background:#eeece3;border-color:#d4d3c8}.trophy-card>.icon{color:#a86e1b;width:29px;height:29px}.trophy-card.locked>.icon{color:#879087}.trophy-card strong{margin-top:7px;font-size:11px;display:block}.trophy-card p{color:var(--muted);margin-top:6px;font-size:10px;line-height:1.6}.setting-row{cursor:pointer;border-bottom:1px solid #d9d6c7;justify-content:space-between;align-items:center;gap:20px;min-height:62px;font-size:14px;display:flex}.setting-row input{accent-color:#267754;cursor:pointer;width:23px;height:23px}.settings-note{color:var(--muted);margin-top:20px;font-size:12px;line-height:1.9}.danger-text-button{text-underline-offset:3px;color:#983c35;background:0 0;margin-top:15px;padding:12px 0;font-size:12px;text-decoration:underline}.confirm-content>button{width:100%;margin-top:13px;display:flex}.destructive{color:#fff;background:#ac3b35;border-color:#7b2a26;box-shadow:0 4px #7b2a26}.destructive:hover{background:#c34a43}.help-steps{gap:12px;margin-bottom:20px;display:flex}.help-step{text-align:center;background:#ecefdf;border-radius:7px;flex:1;padding:15px 10px}.help-step .icon{color:#3a6b53}.help-step strong{margin-top:6px;font-size:12px;display:block}.help-step p{margin-top:5px;font-size:10px;line-height:1.7}.keyboard-note{color:var(--muted);margin:15px 0;font-size:11px}.help-content>button{width:100%}.pause-content{text-align:center}.pause-cup{color:#9f6b33;margin:22px auto}.pause-cup .icon{width:70px;height:70px}.pause-content>button{width:100%}.pause-content .button-pair>button{font-size:12px}.ready-content{text-align:center}.ready-content>.icon{width:60px;height:60px;color:var(--green);margin-bottom:20px}.ready-content>button{width:100%}.results-content{text-align:center}.record-banner{color:#8b5b16;letter-spacing:1px;background:#f5e1ad;border-radius:5px;margin-bottom:20px;padding:7px;font-size:10px;font-weight:700;display:block}.result-score{font-family:var(--pixel);color:var(--navy);margin-top:10px;font-size:clamp(25px,6vw,40px);line-height:1.7;display:block}.score-caption{color:var(--muted);font-size:11px;display:block}.result-stars{color:#b6791d;letter-spacing:4px;margin-top:8px;font-size:31px}.result-intro{color:var(--muted);margin:8px auto 16px;font-size:12px}.result-stats{background:#eaf0e4;border:1px solid #c9d3c2;border-radius:9px;padding:14px 6px;display:flex}.result-stats>div{border-right:1px solid #c9d3c2;flex:1;padding:0 5px}.result-stats>div:last-child{border:0}.result-stats strong{font-size:23px;line-height:1.4;display:block}.result-stats span{color:var(--muted);font-size:9px;display:block}.completion-bonus{color:var(--green);margin-top:9px;font-size:10px}.results-content .collection-progress{text-align:left}.results-content .button-pair>*{font-size:13px}.new-rewards{background:#f5e7bd;border:1px solid #d8bd78;border-radius:8px;margin-top:15px;padding:13px}.new-rewards>strong{margin-bottom:7px;font-size:11px;display:block}.reward-chip{background:#fff8e2;border:1px solid #e1cea1;border-radius:4px;margin:3px;padding:3px 6px;font-size:10px;display:inline-block}.contact-card{text-align:left;border-top:1px solid #d8cdb6;margin-top:25px;padding-top:20px}.contact-card h3{font-size:15px}.contact-card p{color:var(--muted);margin:5px 0 13px;font-size:11px;line-height:1.7}.contact-links{align-items:center;gap:18px;display:flex}.contact-links .text-link{font-size:11px}.about-links{flex-wrap:wrap;align-items:center;gap:15px;margin-top:20px;display:flex}@media (min-width:701px) and (max-height:850px){.site-header{height:66px}.brand-logo{width:96px;height:55px}.game-frame{min-height:580px;max-height:calc(100svh - 118px)}.welcome-panel{width:360px;padding:20px 24px 15px}.game-title{margin:10px 0;font-size:45px}.game-title .title-small{margin-bottom:8px;font-size:11px}.welcome-badges{margin:11px 0}.menu-shortcuts{margin-top:10px}.welcome-panel .collection-progress{margin-top:10px;padding-top:8px}.welcome-panel .local-note{margin-top:8px}.paper-card{min-height:251px;padding:13px 18px 10px}.paper-heading{margin-top:10px}.paper-body{min-height:118px;padding-top:10px}.action-button{min-height:58px;font-size:15px}.tutorial-banner{top:112px}.play-layer:has(.tutorial-banner:not([hidden])) .order-station{top:32%}}@media (min-width:701px) and (max-width:1050px){.app-shell{width:calc(100% - 24px)}.welcome-panel{width:330px;padding-left:20px;padding-right:20px}.game-title{font-size:43px}.hud{width:71%}.hud-stat{padding-left:12px;padding-right:12px}.hud-value{font-size:16px}.quality-stars{font-size:21px}.order-station{width:34%;left:2.5%}.phase-pill{font-size:10px;top:119px;right:88px}.fever-button{width:285px;left:56%}.danger-meter{width:54px;right:16px}.paper-heading{font-size:12px}}@media (max-width:700px),(min-width:701px) and (max-width:900px) and (min-height:700px){body{background:var(--paper)}.app-shell{width:100%}.site-header{height:64px;padding:4px max(14px, env(safe-area-inset-right)) 4px max(14px, env(safe-area-inset-left));background:var(--paper);gap:12px}.brand-logo{width:86px;height:50px}.brand-badge{display:none}.header-tools{gap:8px}.icon-button{width:38px;height:38px}.language-select{min-height:38px;padding:6px 20px 6px 10px;font-size:12px}.site-footer{min-height:30px;padding:6px 14px max(6px, env(safe-area-inset-bottom));background:var(--paper);gap:12px;font-size:8px}.site-footer .footer-link{display:none}.site-footer .text-button{text-align:right;margin-left:auto}.game-frame{aspect-ratio:auto;border-width:0;border-top:3px solid var(--navy);border-bottom:3px solid var(--navy);height:calc(100svh - 94px);min-height:665px;max-height:none;box-shadow:none;background:#dce6de;border-radius:0}.world{height:44%;inset:0 0 auto}.world-vignette{background:linear-gradient(#0000 80%,#aab9a466);height:44%;bottom:auto}.play-layer{background:linear-gradient(#0000 43%,#dce6de 46% 100%)}.home-layer{align-items:flex-end;padding:0;display:flex}.welcome-panel{background:var(--paper);border:0;border-top:2px solid #a68d5c;border-radius:22px 22px 0 0;width:100%;padding:20px 27px 16px;box-shadow:0 -10px 25px #30483415}.welcome-panel:before,.welcome-panel:after{display:none}.eyebrow{letter-spacing:1.2px;font-size:8px}.game-title{letter-spacing:-1px;flex-wrap:wrap;justify-content:center;gap:10px;margin:11px 0 7px;font-size:clamp(26px,7.5vw,39px);line-height:1.4;display:flex}.game-title .title-small{display:none}.welcome-tagline{margin-bottom:5px;font-size:13px}.welcome-copy{max-width:310px;font-size:11px}.welcome-badges{margin:11px 0 12px;font-size:10px}.play-button{min-height:49px;margin-bottom:11px;font-size:16px}.daily-button{min-height:38px;font-size:12px}.menu-shortcuts{gap:14px;margin-top:11px}.shortcut-button{white-space:nowrap;flex-direction:row;justify-content:center;min-height:38px;font-size:10px}.shortcut-button .icon{width:18px;height:18px}.welcome-panel .collection-progress{margin-top:9px;padding-top:9px}.welcome-panel .local-note{margin-top:9px;font-size:8px}.scene-caption{padding:5px 9px;font-size:7px;top:13px;bottom:auto;right:13px}.hud{gap:6px;width:calc(100% - 64px);top:10px;left:10px}.hud-stat{border-radius:7px;padding:8px 8px 7px;box-shadow:0 3px #0c2139}.hud-label{letter-spacing:.5px;margin-bottom:5px;font-size:7px}.hud-value{font-size:clamp(11px,3.2vw,15px)}.quality-stars{letter-spacing:0;font-size:clamp(12px,4vw,18px)}.pause-button{width:36px;height:47px;top:11px;right:10px}.phase-pill{max-width:62%;padding:4px 9px;font-size:9px;top:82px;left:13px;right:auto}.order-station{width:calc(100% - 28px);max-width:none;top:auto;bottom:97px;left:14px}.station-heading{padding:7px 11px;font-size:8px}.paper-card{min-height:226px;padding:13px 19px 11px}.paper-header{padding-bottom:7px}.paper-brand{font-size:19px}.paper-number{font-size:8px}.paper-heading{margin-top:10px;font-size:13px}.paper-hint{margin-top:2px;font-size:10px}.paper-body{min-height:114px;padding-top:9px}.paper-footer{padding-top:6px}.skeleton-lines{margin-bottom:9px}.signature-line{min-height:40px}.handwritten{font-size:33px}.amount-row{padding:3px 0;font-size:12px}.amount{font-size:17px}.total-row strong{font-size:24px}.reference-row{margin-bottom:7px;padding:8px 11px}.answer-buttons{gap:12px;margin-top:13px}.action-button{min-height:60px;font-size:19px}.action-button>span:not(.icon){padding-bottom:0}.action-button kbd{display:none}.answer-feedback{min-height:0;padding:0;font-size:11px;position:absolute;top:-25px;right:0}.danger-meter{border-width:1px;width:37px;height:140px;padding:6px 4px;top:88px;right:13px}.danger-label{display:none}.danger-track{width:19px}.danger-meter strong{margin-top:4px;font-size:9px}.fever-button{width:calc(100% - 28px);min-height:60px;padding:8px 15px;bottom:18px;left:14px;transform:none}.fever-copy strong{font-size:13px}.fever-copy>span{font-size:9px}.fever-button kbd{display:none}.tutorial-banner{width:calc(100% - 76px);padding:8px 11px;top:80px;left:13px}.tutorial-banner strong{font-size:9px}.tutorial-banner span{font-size:11px}.play-layer:has(.tutorial-banner:not([hidden])) .order-station{top:auto;bottom:56px}.modal-panel{border-radius:11px;width:calc(100% - 24px);max-height:calc(100svh - 26px)}.modal-panel.wide{width:calc(100% - 24px)}.modal-body{padding:0 18px 22px}.modal-heading{margin-bottom:16px;padding-top:16px}.modal-heading h2{font-size:18px}.modal-intro{font-size:12px}.outfit-grid{gap:7px}.outfit-card{padding:11px 4px}.outfit-card h3{margin:8px 0 12px;font-size:9px}.outfit-card button{min-height:39px;padding:7px 3px;font-size:9px}.reward-grid{grid-template-columns:1fr}.reward-card{padding:13px}.trophy-grid{grid-template-columns:repeat(2,1fr)}.contact-links{gap:14px}.help-steps{gap:7px}.help-step{padding:12px 7px}.body-copy{font-size:12px;line-height:1.9}.keyboard-note{display:none}}@media (min-width:701px) and (max-height:520px){.app-shell{width:calc(100% - 16px)}.site-header{height:45px}.brand-logo{width:72px;height:41px}.brand-badge{font-size:8px}.icon-button{width:32px;height:32px}.language-select{min-height:32px;padding-top:5px;padding-bottom:5px}.game-frame{aspect-ratio:auto;border-width:3px;border-radius:8px;height:calc(100svh - 74px);min-height:310px;max-height:none}.site-footer{min-height:26px;padding:4px 2px;font-size:8px}.home-layer{padding:10px 17px}.welcome-panel{width:305px;padding:13px 18px}.game-title{justify-content:center;gap:10px;margin:11px 0 6px;font-size:28px;display:flex}.game-title .title-small,.welcome-copy,.welcome-panel .collection-progress,.welcome-panel .local-note{display:none}.eyebrow{font-size:7px}.welcome-tagline{font-size:11px}.welcome-badges{margin:9px 0;font-size:9px}.play-button{min-height:38px;margin-bottom:10px;padding:6px 12px;font-size:14px}.daily-button{min-height:32px;padding:5px 12px}.shortcut-button{flex-direction:row;justify-content:center;gap:4px;font-size:9px}.shortcut-button .icon{width:16px;height:16px}.menu-shortcuts{margin-top:8px}.hud{gap:7px;width:56%;top:8px;left:10px}.hud-stat{padding:5px 12px}.hud-label{margin-bottom:4px;font-size:7px}.hud-value{font-size:12px}.quality-stars{font-size:18px}.pause-button{top:8px;right:10px}.order-station{width:280px;top:70px;left:13px}.station-heading{padding:3px 10px;font-size:8px}.paper-card{min-height:154px;padding:6px 14px}.paper-header{padding-bottom:3px}.paper-brand{font-size:15px}.paper-number{font-size:7px}.paper-heading{margin-top:6px;font-size:10px}.paper-hint{font-size:8px}.paper-body{min-height:76px;padding-top:4px}.paper-footer{display:none}.skeleton-lines{gap:3px;margin-bottom:3px}.skeleton-lines span{height:2px}.signature-line{min-height:29px}.handwritten{font-size:24px}.field-caption{margin-top:0;font-size:7px}.amount-row{padding:0;font-size:10px}.amount{font-size:13px}.total-row{margin-top:2px;padding-top:2px}.total-row strong{font-size:18px}.reference-row{margin-bottom:4px;padding:5px;font-size:9px}.reference-code{font-size:14px}.answer-buttons{gap:10px;margin-top:8px}.action-button{min-height:39px;font-size:13px}.action-button kbd{display:none}.action-button>span:not(.icon){padding:0}.answer-feedback{padding:0;font-size:10px;position:absolute;top:-22px;right:0}.phase-pill{padding:3px 8px;font-size:9px;top:75px;right:80px}.fever-button{width:235px;min-height:49px;padding:7px 10px;bottom:10px;left:auto;right:10px;transform:none}.fever-copy strong{font-size:10px}.fever-copy>span{font-size:7px}.fever-button kbd{display:none}.danger-meter{width:35px;height:45%;padding:5px;top:100px;right:15px}.danger-label{display:none}.danger-track{width:20px}.danger-meter strong{font-size:9px}.tutorial-banner{width:220px;padding:7px 10px;top:75px;left:315px}.tutorial-banner span{font-size:9px}.play-layer:has(.tutorial-banner:not([hidden])) .order-station{top:70px}}.career-note{text-align:center;color:#405747;margin:7px 0;font-size:10px;line-height:1.6}.ending-mark{color:#226346;justify-content:center;align-items:center;gap:8px;margin-bottom:10px;font-size:11px;font-weight:700;display:flex}.ending-mark .icon{width:23px;height:23px}[data-ending=retry] .ending-mark{color:#80551f}.career-result{color:#405747;margin-top:5px;font-size:10px}.game-frame{border-color:#102b46;border-radius:9px;box-shadow:0 0 0 2px #66aeb7,0 8px #bcc2b3,0 16px 35px #102b461c}.hud-stat{background:#102b46;border:2px solid #71b5c4;border-radius:5px;box-shadow:inset 0 0 0 2px #203d57,0 4px #081d31}.hud-label{opacity:1;color:#e6eee9}.hud-value{text-shadow:2px 2px #071c30}.station-heading{border:2px solid #6aadb9;border-radius:5px 5px 0 0;padding:8px 12px}.paper-card{border:2px solid #38647c;border-top:0;box-shadow:3px 4px #ddd3bd,5px 6px #102b46}.paper-heading{color:#102b46}.action-button{border:3px solid #102b46;border-radius:5px;box-shadow:inset 0 0 0 2px #ffffff35,0 5px #102b46}.action-button[aria-disabled=true]{filter:saturate(.65)}.approve-button{background:#247b50}.fix-button{background:#b83735}.danger-meter{border:2px solid #71b5c4;border-radius:5px}.danger-label{letter-spacing:0;font-size:8px}.danger-fill{background:linear-gradient(#df513e 0%,#ed8c38 30%,#f4c54e 100%)}.danger-meter.high{box-shadow:0 0 0 3px #ffcf6a,0 4px #102b46}.fever-button{border-width:3px;border-radius:6px}.fever-button.ready{animation:1.4s ease-in-out infinite stamp-ready}@keyframes stamp-ready{50%{box-shadow:0 5px #a86f23,0 0 32px #ffca5bbb}}.welcome-panel{border:2px solid #234960;border-radius:8px;box-shadow:0 5px #102b46,0 14px 30px #102b4626}.menu-shortcuts{gap:8px}.shortcut-button{background:#e9eee0;border:1px solid #b9c7ba;border-radius:5px;min-height:58px;padding:8px 4px;font-size:12px}.shortcut-button:hover{background:#d7e8dc;border-color:#356e73}.daily-note{text-align:center;color:#516458;margin-top:7px;font-size:10px;line-height:1.6}.collection-progress{margin-top:12px;padding-top:10px}.progress-heading{font-size:10px}.progress-track{height:7px}.next-reward{text-align:left;align-items:center;gap:10px;margin-top:7px;display:flex}.next-reward p{color:#405747;flex:1;font-size:11px;line-height:1.65}.reward-preview{background-repeat:no-repeat;background-size:300% 200%;flex:none;width:75px;height:75px;display:inline-block}.next-reward .reward-preview{width:52px;height:52px}.reward-card .reward-preview{width:80px;height:80px}.reward-card.locked .reward-preview{opacity:.78}.reward-copy h3{font-size:14px}.reward-copy p,.unlock-status{font-size:12px}.trophy-status{color:#365d46;margin-top:8px;font-size:11px;font-weight:700;display:block}.locked .trophy-status{color:#675741}.personalize-actions{gap:10px;margin:16px 0;display:flex}.personalize-actions>button{flex:1;padding:10px;font-size:12px}.earned-reward{flex-direction:column;align-items:center;max-width:135px;padding:5px;font-size:12px;display:inline-flex}.next-goal{background:#e7efdf;border-radius:5px;margin-top:15px;padding:12px;font-size:12px;line-height:1.75}.contact-links{flex-wrap:wrap;align-items:stretch}.contact-links .text-link{text-align:center;background:#e7eee4;border:1px solid #bac8bd;border-radius:5px;flex:1;justify-content:center;align-items:center;min-width:155px;padding:9px 12px;line-height:1.6;display:flex}.site-footer{flex-wrap:wrap;gap:10px 20px;min-height:60px;font-size:11px}.footer-credits{flex-direction:column;gap:3px;line-height:1.7;display:flex}.developer-credit,.about-developer{flex-wrap:wrap;align-items:baseline;gap:5px;display:flex}.developer-link{color:#194f65;text-underline-offset:3px;font-weight:700}.about-developer{border-top:1px solid #c7cbb7;padding-top:16px;font-size:14px}.context-hint{z-index:6;pointer-events:none;background:#fff0bd;border:2px solid #8a672b;border-radius:5px;width:31%;max-width:370px;padding:8px 12px;font-size:12px;line-height:1.6;position:absolute;top:111px;left:3.3%}.document-stamp{color:#1b6846;pointer-events:none;background:#fff9edeb;border:3px double;max-width:calc(100% - 26px);padding:5px 10px;font-size:16px;font-weight:800;animation:.18s ease-out stamp-impact;position:absolute;bottom:30px;right:13px;transform:rotate(-9deg)}.document-stamp.rejected{color:#a52e2b}@keyframes stamp-impact{0%{opacity:.2;transform:rotate(-9deg)scale(1.35)}to{opacity:1;transform:rotate(-9deg)scale(1)}}.answer-feedback{line-height:1.7}.answer-feedback.failure{text-shadow:none;background:#fff5e6;border:1px solid #b56455;border-radius:4px;padding:6px 9px}@media (max-width:700px),(min-width:701px) and (max-width:900px) and (min-height:700px){.game-frame{height:calc(100svh - 127px);min-height:715px;box-shadow:none;border-radius:0}.play-layer{background:linear-gradient(#0000 0 44%,#dce6de 44% 100%)}.welcome-panel{border:0;border-top:3px solid #315a6a;border-radius:15px 15px 0 0;padding:16px 20px 13px;box-shadow:0 -4px #66aeb755}.welcome-panel .local-note{font-size:9px}.menu-shortcuts{gap:7px}.shortcut-button{white-space:normal;flex-direction:column;gap:5px;min-height:49px;font-size:11px}.shortcut-button .icon{width:20px;height:20px}.welcome-badges{margin:9px 0}.daily-note{margin-top:5px;font-size:9px}.welcome-panel .collection-progress{margin-top:9px;padding-top:8px}.next-reward{margin-top:4px}.next-reward .reward-preview{width:42px;height:42px}.next-reward p{font-size:10px}.site-footer{padding:8px 14px max(8px, env(safe-area-inset-bottom));gap:6px 12px;min-height:63px;font-size:10px}.site-footer .text-button{min-height:32px;margin-left:0}.footer-credits{flex:100%}.reward-card{gap:10px;padding:10px}.reward-card .reward-preview{width:68px;height:68px}.reward-copy h3{font-size:13px}.reward-copy p,.unlock-status{font-size:11px}.context-hint{width:calc(100% - 77px);max-width:none;padding:7px 10px;font-size:11px;top:80px;left:13px}.answer-feedback{max-width:100%;font-size:10px}.answer-feedback.failure{max-width:100%;padding:4px 6px;top:-44px}.personalize-actions{gap:8px}.personalize-actions>button{min-width:0;font-size:11px}.contact-links .text-link{min-width:145px}.scene-caption{font-size:6px}.paper-card{min-height:190px;padding:11px 16px 8px}.paper-header{padding-bottom:5px}.paper-heading{margin-top:8px}.paper-body{min-height:92px;padding-top:6px}.paper-footer{display:none}.order-station{bottom:85px}.fever-button{bottom:8px}.amount-row{padding:1px 0}.amount{font-size:16px}.total-row{margin-top:4px;padding-top:5px}.total-row strong{font-size:22px}.reference-row{margin-bottom:5px;padding:6px 10px}}@media (min-width:701px) and (max-height:520px){.welcome-panel{padding:10px 15px}.daily-note,.next-reward{display:none}.shortcut-button{min-height:35px;font-size:10px}.context-hint{width:220px;font-size:10px;top:76px;left:320px}.site-footer{min-height:45px;font-size:9px}.footer-credits{flex-direction:row;gap:12px}}@media (prefers-reduced-motion:reduce){.document-stamp,.fever-button.ready{animation:none}}@media (max-width:700px) and (max-height:740px),(min-width:701px) and (max-width:900px) and (min-height:700px) and (max-height:740px){.game-frame{min-height:610px}.world,.world-vignette{height:36%}.play-layer{background:linear-gradient(#0000 0 36%,#dce6de 36% 100%)}.danger-meter{height:100px}}.company-credit{flex-wrap:wrap;align-items:baseline;gap:4px;display:flex}.company-link{text-underline-offset:3px;font-weight:700}.company-info>.company-credit{margin-bottom:13px;font-size:15px}.company-info{border-bottom:1px solid #d4cbb6;margin-bottom:18px;padding-bottom:16px}.company-info .about-links{grid-template-columns:1fr 1fr;gap:10px;margin-top:12px;display:grid}.company-info .about-links>a{text-align:center;min-width:0;font-size:12px;line-height:1.6}.company-info .about-links>a:last-child{grid-column:1/-1}.about-content>.developer-credit{border-top:1px solid #d4cbb6;margin-top:18px;padding-top:16px;font-size:13px}.company-policy{padding:5px 0;display:inline-block}.rights-info{border-top:1px solid #d4cbb6;margin-top:16px;padding-top:14px}.rights-info h3{margin:0 0 8px;font-size:14px;line-height:1.6}.modal-panel:has(.results-content) .modal-heading{margin-bottom:10px;padding-top:14px;padding-bottom:10px}.results-content .result-score{margin-top:3px;font-size:clamp(25px,6vw,34px);line-height:1.3}.results-content .record-banner{margin-bottom:9px;padding:5px}.results-content .result-stars{margin-top:4px;font-size:25px}.results-content .result-intro{margin:3px auto 10px}.results-content .result-stats{padding:9px 6px}.results-content .result-stats strong{font-size:21px}.results-content .button-pair{margin:12px 0}.results-content .new-rewards{margin-top:10px;padding:9px}.earned-props{flex-wrap:wrap;justify-content:center;gap:6px;display:flex}.earned-props .earned-reward{flex:0 78px;min-width:0;padding:2px;font-size:10px;line-height:1.5;display:flex}.earned-props .reward-preview{width:52px;height:52px}.earned-trophies{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:8px 0 0;padding:0;list-style:none;display:grid}.earned-trophies .reward-chip{overflow-wrap:normal;justify-content:center;align-items:center;min-height:31px;margin:0;padding:5px 6px;line-height:1.5;display:flex}.earned-trophies .reward-chip:last-child:nth-child(odd){grid-column:1/-1}.results-content .collection-progress{margin-top:11px;padding-top:9px}.results-content .next-goal{margin-top:10px;padding:8px;font-size:11px}.results-content .contact-card{margin-top:16px;padding-top:12px}.results-content .local-note{margin-top:7px}@media (max-width:700px),(min-width:701px) and (max-width:900px) and (min-height:700px){.earned-props .earned-reward{flex-basis:56px;font-size:9px}.earned-props .reward-preview{width:43px;height:43px}.company-info .about-links{grid-template-columns:1fr}.company-info>.company-credit{font-size:13px}}
