@import "https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600;700&family=Shippori+Mincho+B1:wght@400;600&display=swap";:root{color:#f8f4e9;font-synthesis:none;--ink:#07162f;--paper:#f8f4e9;--blue:#0b2b5a;--glass:#05132abd;--gold:#e9c373;--line:#ffffff42;background:#061530;font-family:Noto Serif SC,Songti SC,STSong,serif}*{box-sizing:border-box}html,body,#root{width:100%;min-width:320px;min-height:100%;margin:0}button,input{font:inherit}button{color:inherit}button:focus-visible,input:focus-visible{outline:2px solid var(--gold);outline-offset:3px}.mobile-unsupported{color:#fffaf0;isolation:isolate;background:#99cae8;min-width:320px;min-height:100svh;position:fixed;inset:0;overflow:hidden}.mobile-unsupported-art{z-index:-1;object-fit:cover;object-position:center center;width:100%;height:100%;animation:1.2s cubic-bezier(.2,.72,.2,1) both mobileSummerIn;position:absolute;inset:0}.mobile-unsupported-brand{top:max(24px, env(safe-area-inset-top));letter-spacing:.18em;text-shadow:0 2px 16px #143048b8;writing-mode:vertical-rl;margin:0;font-size:11px;font-weight:600;position:absolute;left:24px}.mobile-unsupported-copy{right:24px;bottom:max(34px, calc(env(safe-area-inset-bottom) + 22px));color:#fffdf8;text-shadow:0 2px 3px #0f2232e6,0 8px 28px #08233bc7;animation:.8s cubic-bezier(.2,.76,.2,1) .28s both mobileCopyIn;position:absolute;left:24px}.mobile-unsupported-copy:before{content:"";background:#fffae6d1;width:42px;height:1px;margin-bottom:15px;display:block;box-shadow:0 2px 8px #08233b85}.mobile-unsupported-copy p{letter-spacing:.28em;margin:0 0 8px;font-family:system-ui,sans-serif;font-size:8px}.mobile-unsupported-copy h1{letter-spacing:.04em;margin:0;font-size:clamp(30px,9.5vw,46px);font-weight:500;line-height:1.14}.mobile-unsupported-copy span{letter-spacing:.06em;margin-top:12px;font-family:system-ui,sans-serif;font-size:12px;line-height:1.7;display:block}@keyframes mobileSummerIn{0%{opacity:0;transform:scale(1.035)}to{opacity:1;transform:scale(1)}}@keyframes mobileCopyIn{0%{opacity:0;transform:translateY(14px)}to{opacity:1;transform:translateY(0)}}.boot-screen{z-index:999;color:#f8f4e9;background:#04132f;min-width:320px;min-height:100svh;transition:opacity .72s cubic-bezier(.4,0,.2,1),visibility .72s;position:fixed;inset:0;overflow:hidden}.boot-screen.is-leaving{opacity:0;visibility:hidden}.boot-atmosphere{background:radial-gradient(circle at 72% 62%,#e0a95017,#0000 21%),radial-gradient(circle at 47% 28%,#325e9729,#0000 36%),linear-gradient(154deg,#071c42 0%,#04122d 52%,#020a1c 100%);animation:1.3s ease-out both bootAtmosphereIn;position:absolute;inset:0;overflow:hidden}.boot-atmosphere:before{content:"";opacity:.24;background-image:radial-gradient(circle,#fffc 0 1px,#0000 1.3px),radial-gradient(circle,#e9c373b3 0 1px,#0000 1.2px);background-position:13vw 17vh,71vw 28vh;background-size:31vw 37vh,43vw 49vh;position:absolute;inset:0;-webkit-mask-image:linear-gradient(#000,#0000 72%);mask-image:linear-gradient(#000,#0000 72%)}.boot-glow{aspect-ratio:1;opacity:.42;filter:blur(10px);background:radial-gradient(circle,#f1c16757,#dc913d0f 36%,#0000 68%);border-radius:50%;width:min(34vw,520px);animation:5s ease-in-out infinite alternate bootGlow;position:absolute;top:59%;left:67%;transform:translate(-50%,-50%)}.boot-horizon{opacity:.42;transform-origin:50%;background:linear-gradient(90deg,#0000,#e9c3731a 20%,#e9c373c2 67%,#0000 88%);height:1px;animation:1.2s ease-out .18s both bootHorizonIn;position:absolute;top:67%;left:8vw;right:8vw;box-shadow:0 0 22px #e9c37324}.boot-star{background:#f2cb7d;border-radius:50%;width:3px;height:3px;animation:3.8s ease-in-out infinite bootStar;position:absolute;box-shadow:0 0 12px #f2cb7dcc}.boot-star-a{animation-delay:-.7s;top:24%;left:16%}.boot-star-b{width:2px;height:2px;animation-delay:-2.1s;top:31%;left:78%}.boot-star-c{width:2px;height:2px;animation-delay:-3s;top:17%;left:58%}.boot-copy{z-index:2;max-width:min(650px,78vw);animation:.9s cubic-bezier(.2,.8,.2,1) 80ms both bootCopyIn;position:absolute;top:clamp(42px,12vh,132px);left:clamp(28px,8vw,126px)}.boot-eyebrow{letter-spacing:.32em;color:#ffffff87;align-items:center;gap:13px;margin:0 0 22px;font-family:system-ui,sans-serif;font-size:9px;display:flex}.boot-eyebrow:before{content:"";background:#e9c373;width:38px;height:1px}.boot-copy h1{letter-spacing:-.08em;text-shadow:0 16px 50px #00000047;flex-direction:column;margin:0;font-size:clamp(54px,7.4vw,108px);font-weight:500;line-height:.89;display:flex}.boot-copy h1 span{letter-spacing:-.025em;color:#f8f4e9c7;margin:0 0 .24em .07em;font-size:.47em}.boot-preparing{letter-spacing:.3em;color:#ffffffad;border-left:1px solid #e9c373cc;margin:29px 0 0 4px;padding-left:17px;font-size:13px}.boot-progress-area{z-index:2;animation:.8s ease-out .32s both bootProgressIn;position:absolute;bottom:clamp(52px,10vh,104px);left:clamp(28px,8vw,126px);right:clamp(28px,8vw,126px)}.boot-progress{grid-template-columns:auto 1fr;align-items:end;gap:clamp(24px,5vw,74px);display:grid}.boot-progress output{letter-spacing:-.08em;font-variant-numeric:tabular-nums;color:#f8f4e9;min-width:3.2ch;font-family:Shippori Mincho B1,Noto Serif SC,serif;font-size:clamp(50px,7vw,92px);line-height:.72}.boot-progress output span{letter-spacing:.08em;color:#e9c373;margin-left:.18em;font-family:system-ui,sans-serif;font-size:.17em}.boot-progress-track{background:#ffffff26;height:1px;margin-bottom:3px;position:relative;overflow:visible}.boot-progress-track i{transform-origin:0;background:linear-gradient(90deg,#e9c3737a,#f1cb80);transition:transform .36s cubic-bezier(.2,.75,.2,1);display:block;position:absolute;inset:0;box-shadow:0 0 15px #e9c37352}.boot-progress-track i:after{content:"";background:#f5d391;border-radius:50%;width:5px;height:5px;position:absolute;top:-2px;right:-1px;box-shadow:0 0 14px #f1c874}.boot-status{letter-spacing:.19em;color:#ffffff6e;margin:14px 0 0;padding-left:calc(clamp(24px,5vw,74px) + 1.65*clamp(50px,7vw,92px));font-family:system-ui,sans-serif;font-size:9px}.boot-corner{z-index:2;letter-spacing:.26em;color:#ffffff3d;margin:0;font-family:system-ui,sans-serif;font-size:7px;position:absolute;bottom:clamp(17px,3vw,32px);right:clamp(22px,3vw,46px)}.boot-game{min-height:100svh;animation:.74s ease-out both bootGameIn}@keyframes bootAtmosphereIn{0%{opacity:0;transform:scale(1.025)}to{opacity:1;transform:scale(1)}}@keyframes bootCopyIn{0%{opacity:0;transform:translateY(22px)}to{opacity:1;transform:translateY(0)}}@keyframes bootProgressIn{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes bootHorizonIn{0%{opacity:0;transform:scaleX(0)}to{opacity:.42;transform:scaleX(1)}}@keyframes bootGlow{0%{opacity:.28;transform:translate(-50%,-50%)scale(.92)}to{opacity:.52;transform:translate(-50%,-50%)scale(1.08)}}@keyframes bootStar{0%,to{opacity:.2}50%{opacity:.82}}@keyframes bootGameIn{0%{opacity:0}to{opacity:1}}.boot-screen{color:#fff9ed;background:#6e5744}.boot-atmosphere{background:#d9bb92;animation:none}.boot-atmosphere:before{z-index:1;opacity:1;background:linear-gradient(90deg,#30201845 0%,#462e1e12 38%,#0000 66%),linear-gradient(#fff7de14 0%,#0000 28% 75%,#22191640 100%);-webkit-mask-image:none;mask-image:none}.boot-atmosphere:after{content:"";z-index:2;pointer-events:none;border:1px solid #fffaea47;position:absolute;inset:clamp(12px,1.4vw,24px);box-shadow:inset 0 0 0 1px #482b1a0d}.boot-backdrop{filter:saturate(.94)contrast(.98);background:url(/assets/title/loading-breakfast-morning.png) 50%/cover no-repeat;animation:8s cubic-bezier(.2,.7,.2,1) both bootBackdropIn;position:absolute;inset:-2%;transform:scale(1.025)}.boot-light-leak{z-index:1;opacity:.5;filter:blur(24px);mix-blend-mode:screen;background:radial-gradient(#fff9d299,#ffde911f 42%,#0000 70%);border-radius:50%;width:48vw;height:92vh;animation:4.6s ease-in-out infinite alternate bootLightBreathe;position:absolute;top:-24%;left:31%}.boot-dust{z-index:2;background:#fff5c3e6;border-radius:50%;width:4px;height:4px;animation:4.2s ease-in-out infinite bootDustFloat;position:absolute;box-shadow:0 0 13px #ffe496d1}.boot-dust-a{animation-delay:-.8s;top:42%;left:31%}.boot-dust-b{width:2px;height:2px;animation-delay:-2.1s;top:29%;left:43%}.boot-dust-c{width:3px;height:3px;animation-delay:-3.2s;top:67%;left:48%}.boot-copy{color:#3d2b24;max-width:min(560px,44vw);animation:1s cubic-bezier(.2,.8,.2,1) 60ms both bootCopyIn;top:clamp(48px,9.2vh,96px);left:clamp(40px,6vw,108px)}.boot-eyebrow{color:#3e2a20a3;text-shadow:0 1px 18px #fff7dce6;margin-bottom:20px}.boot-eyebrow:before{background:#73482db8}.boot-copy h1{color:#3e2a22;text-shadow:0 2px 1px #fff3,0 18px 50px #fff1ce61;font-size:clamp(56px,6.6vw,104px)}.boot-copy h1 span{color:#3b271ebd}.boot-preparing{color:#3a281fb8;text-shadow:0 1px 14px #fff7dccc;border-left-color:#77492ba6;margin-top:27px}.boot-progress-area{z-index:4;text-align:center;width:clamp(244px,18vw,306px);animation:.9s cubic-bezier(.18,.78,.2,1) .24s both bootRingIn;position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%)}.boot-progress{display:block}.boot-progress-ring{aspect-ratio:1;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:radial-gradient(circle,#231c1975 0%,#2e221b4d 48%,#39271d1f 66%,#0000 68%);border-radius:50%;width:100%;margin:0 auto;position:relative;box-shadow:0 22px 70px #2a1c1521}.boot-progress-ring:before,.boot-progress-ring:after{content:"";pointer-events:none;border-radius:50%;position:absolute}.boot-progress-ring:before{border:1px solid #fff9e21f;inset:9%}.boot-progress-ring:after{opacity:.62;border:1px solid #fff4d729;inset:-6%}.boot-progress-ring svg{width:100%;height:100%;position:absolute;inset:0;overflow:visible;transform:rotate(-90deg)}.boot-ring-track,.boot-ring-value{fill:none;vector-effect:non-scaling-stroke}.boot-ring-track{stroke:#fffae647;stroke-width:1px}.boot-ring-value{stroke:#f7d995;stroke-width:2px;stroke-linecap:round;filter:drop-shadow(0 0 5px #f8cd76b8);transition:stroke-dashoffset .38s cubic-bezier(.2,.75,.2,1)}.boot-ring-value-complete{stroke:#f7d995;stroke-width:2px;stroke-linecap:round;filter:drop-shadow(0 0 5px #f8cd76b8)}.boot-progress-ring>i{transform-origin:50%;border-radius:50%;transition:transform .38s cubic-bezier(.2,.75,.2,1);position:absolute;inset:6.6%}.boot-progress-ring>i b{background:#fff2c9;border-radius:50%;width:6px;height:6px;position:absolute;top:-2px;left:50%;transform:translate(-50%);box-shadow:0 0 12px #f7cb77,0 0 24px #ffdb8fa6}.boot-progress-number{color:#fff9ed;text-shadow:0 3px 22px #1f15117a;justify-content:center;align-items:center;padding-left:.12em;display:flex;position:absolute;inset:0}.boot-progress-number output{letter-spacing:-.09em;font-variant-numeric:tabular-nums;min-width:2.3ch;font-family:Shippori Mincho B1,Noto Serif SC,serif;font-size:clamp(56px,5.4vw,82px);line-height:1}.boot-progress-number .boot-progress-percent{letter-spacing:.08em;color:#f7d995;align-self:flex-end;margin:0 0 29% .22em;font-family:system-ui,sans-serif;font-size:10px}.boot-ready-copy{color:#fff9ed;text-transform:uppercase;flex-direction:column;align-items:center;line-height:.92;animation:1.8s ease-in-out infinite bootEnterBreathe;display:flex}.boot-ready-copy small{letter-spacing:.32em;color:#f7d995;margin:0 0 9px .32em;font-family:system-ui,sans-serif;font-size:clamp(8px,.72vw,11px);font-weight:500}.boot-ready-copy strong{letter-spacing:.02em;font-family:Shippori Mincho B1,Noto Serif SC,serif;font-size:clamp(38px,3.6vw,56px);font-weight:400;transition:letter-spacing .28s,text-shadow .28s,transform .28s}.boot-loading-label{letter-spacing:.34em;color:#432d22b3;text-shadow:0 1px 12px #fff8e1e6;margin:18px 0 0;font-family:system-ui,sans-serif;font-size:8px}.boot-enter-surface{z-index:8;cursor:pointer;background:0 0;border:0;width:100%;height:100%;padding:0;position:absolute;inset:0}.boot-enter-surface:focus-visible{outline-offset:-12px;outline:1px solid #f7d995db}.boot-screen.is-ready:hover .boot-ready-copy strong,.boot-screen.is-ready:focus-within .boot-ready-copy strong{letter-spacing:.08em;text-shadow:0 0 20px #f7d995b3,0 3px 22px #1f15117a;transform:translateY(-1px)}.boot-screen.is-ready:hover .boot-ring-value-complete,.boot-screen.is-ready:focus-within .boot-ring-value-complete{stroke-width:2.4px;filter:drop-shadow(0 0 9px #f8cd76e6)}.boot-status{letter-spacing:.14em;color:#432d2299;text-shadow:0 1px 12px #fff8e1f2;margin:9px -80px 0;padding:0;font-family:system-ui,sans-serif;font-size:9px}.boot-status.has-failures{color:#8a4c32}.boot-progress.is-complete .boot-progress-ring:after{animation:.72s ease-out both bootCompleteHalo}.boot-corner{color:#39271e7a;text-shadow:0 1px 12px #fff8e1cc;justify-content:space-between;display:flex;bottom:clamp(25px,3.2vh,38px);left:clamp(40px,4vw,68px);right:clamp(40px,4vw,68px)}@keyframes bootBackdropIn{0%{opacity:0;filter:saturate(.8)contrast(.95)blur(3px);transform:scale(1.065)}to{opacity:1;filter:saturate(.94)contrast(.98)blur();transform:scale(1.025)}}@keyframes bootLightBreathe{0%{opacity:.32;transform:translate(-1%)}to{opacity:.58;transform:translate(1%,1%)}}@keyframes bootDustFloat{0%,to{opacity:.15;transform:translateY(9px)}50%{opacity:.82;transform:translateY(-8px)}}@keyframes bootRingIn{0%{opacity:0;filter:blur(3px);transform:translate(-50%,calc(18px - 50%))scale(.94)}to{opacity:1;filter:blur();transform:translate(-50%,-50%)scale(1)}}@keyframes bootCompleteHalo{0%{opacity:.7;transform:scale(.92)}to{opacity:0;transform:scale(1.28)}}@keyframes bootEnterBreathe{0%,to{opacity:.72}50%{opacity:1}}.app{background:#08193a;min-height:100svh;position:relative;overflow:hidden}.app,.app *{-webkit-user-select:none;user-select:none}.scene{position:fixed;inset:0;overflow:hidden}.scene-image{background:url(/assets/seaside-station.png) 50%/cover no-repeat;transition:opacity .45s,filter .8s;animation:18s ease-in-out infinite alternate breathe;position:absolute;inset:-2%}.scene-wash{background:linear-gradient(#0000 42%,#0209170a 72%,#02091729 100%);transition:background .8s;position:absolute;inset:0}.screen-title .scene-image{background-image:url(/assets/title/menu-background-approved-d3.png);background-position:50%}.screen-title .scene-wash{background:linear-gradient(90deg,#0209164d 0%,#030d1d29 40%,#030c1a05 68%,#0000 88%),linear-gradient(#0000 40%,#0207111f)}.screen-voice-language .scene-image{background-image:url(/assets/title/candidates/menu-candidate-a-summer-rain.jpg);background-position:50%}.screen-voice-language .scene-wash{background:linear-gradient(90deg,#020a1bad 0%,#03102670 35%,#04102314 65%,#0000 86%),linear-gradient(#0000 42%,#02081445)}.menu-preview .scene-image{animation-duration:24s}.menu-preview-a .scene-wash{background:linear-gradient(90deg,#020a1bad 0%,#03102670 35%,#04102314 65%,#0000 86%),linear-gradient(#0000 42%,#02081445)}.menu-preview-b .scene-wash{background:linear-gradient(90deg,#020a1c99 0%,#03112b52 36%,#030e220d 66%,#0000 88%),linear-gradient(#0000 40%,#0208153d)}.menu-preview-c .scene-wash{background:linear-gradient(90deg,#130c0da3 0%,#2014146b 38%,#2b1c1712 67%,#0000 88%),linear-gradient(#0000 40%,#12090b3d)}.menu-preview-d .scene-wash{background:linear-gradient(90deg,#0209167a 0%,#030d1d40 38%,#030c1a08 68%,#0000 88%),linear-gradient(#0000 40%,#02071138)}.menu-preview-d2 .scene-wash{background:linear-gradient(90deg,#02091638 0%,#030d1d1a 40%,#030c1a05 68%,#0000 88%),linear-gradient(#0000 40%,#0207111f)}.menu-preview-d3 .scene-wash{background:linear-gradient(90deg,#0209164d 0%,#030d1d29 40%,#030c1a05 68%,#0000 88%),linear-gradient(#0000 40%,#0207111f)}.menu-preview-e .scene-wash{background:linear-gradient(90deg,#02091994 0%,#0410274f 38%,#030d1f0a 68%,#0000 88%),linear-gradient(#0000 40%,#0207123d)}.menu-preview-f .scene-wash{background:linear-gradient(90deg,#030e21a8 0%,#04142d61 39%,#05162b0d 68%,#0000 88%),linear-gradient(#0000 40%,#030b1a36)}.menu-preview-g .scene-wash{background:linear-gradient(90deg,#0e080e52 0%,#140c122e 38%,#090c1908 68%,#0000 88%),linear-gradient(#0000 40%,#04071230)}.menu-preview-h .scene-wash{background:linear-gradient(90deg,#0207155c 0%,#030a1c36 38%,#03091808 68%,#0000 88%),linear-gradient(#0000 40%,#02061133)}.screen-game.scene-argument .scene-wash,.screen-game.scene-bad-end .scene-wash{background:linear-gradient(#0000 38%,#02071208 68%,#02071233)}.screen-game.scene-bad-end .scene-image{filter:saturate(.88)contrast(1.03)}.screen-game.scene-subagent .scene-image{filter:saturate(.94)}.screen-game.scene-good-end .scene-wash{background:linear-gradient(#0000 38%,#100a1608 66%,#100a1624)}.film-grain{opacity:.018;pointer-events:none;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");animation:.35s steps(2,end) infinite grain;position:absolute;inset:-80%}@keyframes breathe{0%{transform:scale(1.02)}to{transform:scale(1.065)translate(-.8%,-.5%)}}@keyframes grain{0%{transform:translate(1%,-1%)}50%{transform:translate(-2%,2%)}to{transform:translate(2%,1%)}}@keyframes rise{0%{opacity:0;transform:translateY(24px)}to{opacity:1;transform:translateY(0)}}@keyframes portraitIn{0%{opacity:0;transform:translate(-50%,18px)}to{opacity:1;transform:translate(-50%)}}@keyframes portraitExpression{0%{opacity:.38;transform:translateY(7px)scale(.997)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes fade{0%{opacity:0}to{opacity:1}}@keyframes pulse{50%{opacity:.45;transform:translateY(4px)}}@keyframes protocolBackdrop{0%{opacity:0}to{opacity:1}}@keyframes protocolRule{0%{opacity:0;transform:scaleX(0)}to{opacity:1;transform:scaleX(1)}}@keyframes protocolReveal{0%{opacity:0;filter:blur(4px);transform:translateY(10px)}to{opacity:1;filter:blur();transform:translateY(0)}}@keyframes protocolTitle{0%{opacity:0;letter-spacing:.2em;transform:translateY(18px)}to{opacity:1;letter-spacing:.1em;transform:translateY(0)}}@keyframes protocolQuote{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes minimalReveal{0%{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}@keyframes cinematicReveal{0%{opacity:0;filter:blur(10px);transform:scale(1.08)}to{opacity:1;filter:blur();transform:scale(1)}}@keyframes terminalReveal{0%{opacity:0;clip-path:inset(0 100% 0 0)}to{opacity:1;clip-path:inset(0)}}.title-screen{z-index:2;grid-template-rows:auto 1fr auto;grid-template-columns:minmax(0,680px) 1fr;gap:clamp(16px,2.5vh,24px) 36px;min-height:100svh;padding:clamp(24px,4vw,56px) clamp(24px,7vw,108px);display:grid;position:relative}.title-brand{grid-area:1/1;align-self:start;max-width:650px;animation:.9s .1s both rise}.screen-title:not(.menu-preview) .title-brand,.screen-title:not(.menu-preview) .main-menu{position:relative;top:24px}.eyebrow{letter-spacing:.29em;color:#ffffffb8;align-items:center;gap:14px;font-family:system-ui,sans-serif;font-size:10px;display:flex}.eyebrow:before{content:"";background:var(--gold);width:42px;height:1px}.title-brand h1{letter-spacing:-.09em;text-shadow:0 10px 46px #00000059;margin:22px 0 0;font-size:clamp(56px,6.5vw,98px);font-weight:500;line-height:.86}.title-brand h1 span{letter-spacing:-.04em;color:#0000;-webkit-text-stroke:1.5px #ffffffb8;font-size:.55em}.title-kana{letter-spacing:.48em;color:var(--gold);margin:18px 0 0 5px;font-family:Shippori Mincho B1,serif;font-size:11px}.title-copy{border-left:1px solid var(--gold);letter-spacing:.18em;color:#ffffffd1;margin:24px 0 0;padding-left:20px;font-size:14px}.main-menu{flex-direction:column;grid-area:2/1;place-self:end start;width:min(300px,100%);margin-bottom:clamp(46px,7vh,88px);animation:.9s .32s both rise;display:flex}.main-menu button{border:0;border-bottom:1px solid var(--line);text-align:left;cursor:pointer;background:0 0;justify-content:space-between;align-items:baseline;gap:20px;padding:11px 4px;transition:padding .25s,color .25s,border-color .25s;display:flex;position:relative}.main-menu button:before{content:"";background:var(--gold);width:0;height:1px;transition:width .35s;position:absolute;bottom:-1px;left:0}.main-menu button:hover:not(:disabled){color:var(--gold);padding-left:13px}.main-menu button:hover:before{width:100%}.main-menu button:disabled{opacity:.32;cursor:not-allowed}.main-menu button span{letter-spacing:.16em;font-size:17px}.main-menu button small{letter-spacing:.18em;opacity:.6;font-family:system-ui,sans-serif;font-size:8px}.main-menu .menu-primary{border-color:#e9c373b3;margin-bottom:6px}.title-footer{border-top:1px solid var(--line);letter-spacing:.22em;color:#ffffff8f;grid-area:3/1/auto/-1;justify-content:space-between;padding-top:16px;font-family:system-ui,sans-serif;font-size:8px;animation:1s .7s both fade;display:flex}@media (width>=761px){.screen-title .title-screen{transform-origin:0 0;width:83.3333%;min-height:83.3333svh;transform:scale(1.2)}}@media (width>=761px) and (height<=800px){.screen-title .title-screen{width:92.5926%;min-height:92.5926svh;transform:scale(1.08)}}.voice-language-screen{z-index:2;grid-template-columns:minmax(620px,860px);place-content:center;gap:clamp(24px,3.8vh,42px);min-height:100svh;padding:clamp(30px,6vw,80px) clamp(24px,8vw,120px);display:grid;position:relative}.voice-language-header{text-align:center;justify-self:center;max-width:650px;animation:.7s both rise}.voice-language-header .eyebrow{justify-content:center}.voice-language-header h1{letter-spacing:-.045em;text-shadow:0 10px 38px #0000004d;margin:24px 0 0;font-size:clamp(38px,5vw,68px);font-weight:500}.voice-language-header p{letter-spacing:.08em;color:#ffffffad;max-width:590px;margin:20px 0 0;font-size:13px;line-height:2}.voice-language-options{grid-template-columns:1fr;gap:14px;animation:.7s .12s both rise;display:grid}.voice-language-options button{min-height:132px;color:inherit;text-align:left;cursor:pointer;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#030f2447;border:1px solid #ffffff3d;grid-template-columns:58px 1fr auto;align-items:center;gap:16px 24px;padding:26px 34px;transition:background .25s,border-color .25s,transform .25s;display:grid;position:relative}.voice-language-options button:after{content:"";background:var(--gold);transform-origin:0;height:2px;transition:transform .28s;position:absolute;bottom:-1px;left:0;right:0;transform:scaleX(0)}.voice-language-options button:hover{transform:translateY(-2px)}.voice-language-options button:hover,.voice-language-options button.selected{background:#05142c8a;border-color:#e9c373a8}.voice-language-options button.selected:after{transform:scaleX(1)}.language-code{letter-spacing:.2em;color:var(--gold);font-family:system-ui,sans-serif;font-size:12px}.voice-language-options strong{letter-spacing:.14em;font-size:19px;font-weight:500;display:block}.voice-language-options small{letter-spacing:.18em;color:#ffffff7a;margin-top:9px;font-family:system-ui,sans-serif;font-size:8px;display:block}.voice-language-options b{letter-spacing:.16em;color:#ffffff6b;justify-self:end;font-family:system-ui,sans-serif;font-size:8px;font-weight:500}.voice-language-options button.selected b{color:var(--gold)}.voice-language-actions{justify-content:center;align-items:center;gap:28px;animation:.7s .22s both rise;display:flex}.voice-language-actions button{color:inherit;cursor:pointer;letter-spacing:.14em;background:0 0;border:0}.voice-language-back{opacity:.62;padding:12px 0;font-size:11px}.voice-language-confirm{text-align:left;align-items:center;gap:28px;min-width:250px;font-size:13px;display:flex;border-bottom:1px solid var(--gold)!important;padding:14px 18px!important}.voice-language-confirm span{color:var(--gold);margin-left:auto;transition:transform .2s}.voice-language-confirm:hover span{transform:translate(5px)}.voice-language-confirm:disabled{color:#ffffff57;cursor:not-allowed;border-bottom-color:#fff3!important}.voice-language-confirm:disabled span{color:#ffffff47;transform:none}.voice-language-footer{border-top:1px solid var(--line);letter-spacing:.2em;color:#ffffff6b;justify-content:space-between;padding-top:14px;font-family:system-ui,sans-serif;font-size:8px;animation:.8s .35s both fade;display:flex}.game-screen{z-index:2;min-height:100svh;position:relative}.ending-player{z-index:31;background:0 0;justify-content:center;align-items:center;display:none;position:fixed;inset:0}.ending-player.is-active{display:flex}.ending-player video{object-fit:contain;opacity:0;width:100%;height:100%}.ending-player.is-playing video{opacity:1}.ending-transition{z-index:1;pointer-events:none;background:#f8f8f5;position:absolute;inset:0}.ending-player.is-fade .ending-transition{animation:1.7s ease-in-out both endingFadeToWhite}.ending-player.is-buffering .ending-transition{opacity:1}.ending-player.is-playing .ending-transition{animation:.65s ease-out both endingRevealVideo}@keyframes endingFadeToWhite{0%{opacity:0}to{opacity:1}}@keyframes endingRevealVideo{0%{opacity:1}to{opacity:0}}.ending-video-play,.ending-video-message{z-index:2;color:#fff;cursor:pointer;background:#040a14eb;border:1px solid #ffffffb3;padding:18px 28px;font:14px system-ui,sans-serif;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.ending-video-message{text-align:center}.ending-video-message button{color:#fff;cursor:pointer;background:0 0;border:1px solid #fff;padding:8px 12px}.chapter-transition{z-index:18;color:#f8f4e9;-webkit-backdrop-filter:blur(4px)saturate(.82);backdrop-filter:blur(4px)saturate(.82);cursor:pointer;background:radial-gradient(circle at 50% 46%,#1b395e33,#0000 42%),linear-gradient(115deg,#0108159e,#04122880);place-items:center;padding:clamp(28px,6vw,90px);animation:.35s ease-out both protocolBackdrop;display:grid;position:fixed;inset:0;overflow:hidden}.has-chapter-transition .dialogue{visibility:hidden;opacity:0;pointer-events:none}.chapter-transition:before,.chapter-transition:after{content:"";pointer-events:none;position:absolute;inset:0}.chapter-transition:before{opacity:.22;background-image:linear-gradient(#ffffff06 1px,#0000 1px),linear-gradient(90deg,#ffffff06 1px,#0000 1px);background-size:64px 64px;-webkit-mask-image:radial-gradient(circle,#000,#0000 72%);mask-image:radial-gradient(circle,#000,#0000 72%)}.chapter-transition:after{border:clamp(12px,3vw,42px) solid #0108153d;box-shadow:inset 0 0 120px #0000007a}.chapter-transition-inner{z-index:2;text-align:center;width:min(760px,82vw);position:relative}.protocol-heading,.protocol-meta{letter-spacing:.34em;color:#ffffff7a;justify-content:space-between;align-items:center;font-family:system-ui,sans-serif;font-size:8px;animation:.5s ease-out .12s both protocolReveal;display:flex}.protocol-heading b{color:var(--gold);font-size:inherit;font-weight:500}.protocol-rule{background:#ffffff21;height:1px;margin:14px 0 18px}.protocol-rule i{background:linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold) 80%, transparent);transform-origin:50%;width:100%;height:1px;animation:.7s ease-out .22s both protocolRule;display:block}.protocol-meta{color:#ffffffad;justify-content:center;gap:26px}.protocol-meta span+span{color:var(--gold);border-left:1px solid #e9c3736b;padding-left:26px}.chapter-transition h2{white-space:nowrap;text-shadow:0 10px 42px #00000059;margin:clamp(22px,4vh,38px) 0 0;font-size:clamp(30px,5.2vw,72px);font-weight:400;line-height:1.08;animation:.72s cubic-bezier(.2,.8,.2,1) .3s both protocolTitle}.chapter-transition p{letter-spacing:.16em;color:#ffffffc7;margin:clamp(22px,3.5vh,34px) auto 0;font-size:clamp(14px,1.4vw,18px);line-height:1.9;animation:.55s ease-out .62s both protocolQuote}.chapter-transition small{letter-spacing:.28em;color:#ffffff4d;margin-top:clamp(28px,6vh,58px);font-family:system-ui,sans-serif;font-size:7px;animation:.5s ease-out .78s both protocolQuote;display:block}.chapter-style-minimal{-webkit-backdrop-filter:blur(18px)saturate(.65);backdrop-filter:blur(18px)saturate(.65);background:#030c1cf0}.chapter-style-minimal .chapter-transition-inner{text-align:left;border-left:1px solid #e9c373b8;width:min(680px,78vw);padding-left:clamp(20px,3vw,42px)}.chapter-style-minimal .protocol-heading,.chapter-style-minimal .protocol-meta{justify-content:flex-start}.chapter-style-minimal .protocol-heading{gap:28px}.chapter-style-minimal .protocol-rule{width:132px;margin-left:0}.chapter-style-minimal .protocol-meta{gap:18px}.chapter-style-minimal .chapter-transition h2{margin-top:30px;font-size:clamp(38px,5.2vw,68px)}.chapter-style-minimal .chapter-transition p{max-width:580px;margin-left:0}.chapter-style-minimal .protocol-heading,.chapter-style-minimal .protocol-meta{animation:.45s ease-out .1s both minimalReveal}.chapter-style-minimal .protocol-rule i{animation:.5s ease-out .2s both protocolRule}.chapter-style-minimal h2{animation:.58s ease-out .28s both minimalReveal}.chapter-style-minimal p,.chapter-style-minimal small{animation:.5s ease-out .55s both minimalReveal}.chapter-style-cinematic{-webkit-backdrop-filter:blur(20px)saturate(.62);backdrop-filter:blur(20px)saturate(.62);background:radial-gradient(circle at 50% 45%,#4829374d,#0000 34%),#05050ced}.chapter-style-cinematic .chapter-transition-inner{width:min(900px,88vw)}.chapter-style-cinematic .protocol-heading{color:#ffffff94}.chapter-style-cinematic .protocol-heading b{color:#f1c982}.chapter-style-cinematic .protocol-rule{background:0 0;margin-top:22px}.chapter-style-cinematic .protocol-rule i{background:linear-gradient(90deg,#0000,#f1c982 50%,#0000)}.chapter-style-cinematic h2{text-shadow:0 18px 70px #000000b8;font-size:clamp(54px,8.5vw,118px);animation:.9s cubic-bezier(.2,.8,.2,1) .2s both cinematicReveal}.chapter-style-cinematic p{color:#ffffffdb;font-size:clamp(15px,1.5vw,20px);animation:.7s ease-out .62s both cinematicReveal}.chapter-style-cinematic small{animation:.5s ease-out 1s both protocolQuote}.chapter-style-terminal{--gold:#8ae6bd;color:#d9f9e9;-webkit-backdrop-filter:blur(14px)saturate(.7);backdrop-filter:blur(14px)saturate(.7);background:#021011f5}.chapter-style-terminal:before{opacity:.3;background-size:34px 34px}.chapter-style-terminal .chapter-transition-inner{text-align:left;width:min(760px,84vw);font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.chapter-style-terminal .protocol-heading,.chapter-style-terminal .protocol-meta,.chapter-style-terminal small{letter-spacing:.16em}.chapter-style-terminal .protocol-heading b{color:#8ae6bd}.chapter-style-terminal .protocol-rule{background:#8ae6bd33;margin-left:0}.chapter-style-terminal .protocol-rule i{transform-origin:0;background:#8ae6bd}.chapter-style-terminal .protocol-meta{color:#d9f9e9b3;justify-content:flex-start}.chapter-style-terminal .protocol-meta span+span{color:#8ae6bd;border-left-color:#8ae6bd6b}.chapter-style-terminal h2{letter-spacing:.04em;color:#d9f9e9;margin-left:0;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:clamp(34px,5.4vw,74px);animation:.7s steps(18,end) .3s both terminalReveal}.chapter-style-terminal p{letter-spacing:.04em;color:#d9f9e9c7;max-width:720px;margin-left:0;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:clamp(13px,1.2vw,16px);animation:.8s steps(28,end) .85s both terminalReveal}.chapter-style-terminal small{color:#8ae6bd6b;animation:.45s steps(10,end) 1.55s both terminalReveal}.character-portrait{z-index:3;pointer-events:none;filter:none;justify-content:center;align-items:flex-start;width:clamp(500px,53svh,760px);height:100svh;animation:.55s 50ms both portraitIn;display:flex;position:absolute;top:0;left:50%;overflow:hidden;transform:translate(-50%)}.character-sprite{transform-origin:top;filter:none;width:100%;min-width:0;height:auto;transform:translateY(-5%)}.character-portrait.sprite-v2{align-items:flex-start}.sprite-v2 .character-sprite{transform:translateY(-1.5%)}.character-portrait.sprite-v3{--sprite-width:clamp(600px, 90svh, 980px);width:var(--sprite-width);height:calc(var(--sprite-width) * 1.5);align-items:flex-start;top:2.25svh;left:52%;overflow:visible}.sprite-v3 .character-sprite{transform-origin:top;filter:drop-shadow(0 20px 26px #01081847)drop-shadow(0 2px 2px #ffe5b31f);width:100%;height:auto;animation:.26s cubic-bezier(.2,.75,.28,1) both portraitExpression;transform:none}.sprite-subagent,.sprite-coastal-train,.sprite-argument,.sprite-door,.sprite-bad-end,.sprite-rain,.sprite-happy-days{width:clamp(500px,53svh,760px)}.game-topbar{z-index:5;background:linear-gradient(#030e229e,#0000);grid-template-columns:1fr minmax(260px,420px) 1fr;align-items:center;padding:20px clamp(20px,4vw,60px);display:grid;position:absolute;top:0;left:0;right:0}.game-topbar button{cursor:pointer;background:0 0;border:0}.wordmark{letter-spacing:.16em;justify-self:start;padding:0;font-size:13px}.chapter-progress{letter-spacing:.12em;color:#fffc;align-items:center;gap:16px;font-size:11px;display:flex}.chapter-progress span{white-space:nowrap}.chapter-progress i{background:#ffffff3d;flex:1;height:1px}.chapter-progress b{background:var(--gold);height:1px;transition:width .5s;display:block}.game-tools{justify-content:space-between;justify-self:end;gap:4px;width:156px;display:flex;position:relative}.game-tools button{color:#ffffffbf;padding:8px 10px;font-size:11px;transition:color .2s}.game-tools button:hover{color:var(--gold)}.context-meter{z-index:5;box-sizing:border-box;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#030e2161;border-top:1px solid #ffffff47;grid-template-columns:1fr auto;align-items:center;column-gap:8px;width:136px;padding:7px 10px 8px;font-family:system-ui,sans-serif;transition:color .4s,border-color .4s;display:grid;position:absolute;top:64px;right:calc(clamp(20px,4vw,60px) + 10px)}.context-meter span{letter-spacing:.22em;color:#ffffff8a;white-space:nowrap;font-size:6px;display:block}.context-meter strong{letter-spacing:.03em;margin:0;font-size:14px;font-weight:500;line-height:1;transition:color .45s,text-shadow .45s;display:block}.context-meter.safe strong{color:#8de0ab;text-shadow:0 0 10px #5ddc8f47}.context-meter.warning strong{color:#f1ca6d;text-shadow:0 0 10px #f1be4b4d}.context-meter.danger strong{color:#ff8170;text-shadow:0 0 11px #ff634f61}.context-meter i{background:#ffffff2e;grid-column:1/-1;height:2px;margin-top:6px;display:block}.context-meter b{background:var(--gold);height:100%;transition:width .7s;display:block;box-shadow:0 0 12px #e9c37399}.context-meter.critical{color:#ffd8d0;border-color:#ff7d68bf}.context-meter.critical b{background:#ff806d;animation:1s ease-in-out infinite alternate contextAlert;box-shadow:0 0 14px #ff5040cc}@keyframes contextAlert{to{opacity:.45}}.dialogue{z-index:4;box-sizing:border-box;-webkit-backdrop-filter:blur(10px)saturate(.9);backdrop-filter:blur(10px)saturate(.9);cursor:pointer;background:linear-gradient(108deg,#031027d1 0%,#051836b0 45%,#05183680 100%);border:1px solid #fff3;border-top-color:#ffffff6b;min-height:clamp(128px,17svh,178px);padding:clamp(19px,2.2vh,26px) clamp(30px,5vw,72px) clamp(21px,2.4vh,28px);animation:.45s both rise;position:absolute;bottom:clamp(10px,1.8vh,20px);left:clamp(20px,6vw,90px);right:clamp(20px,6vw,90px);box-shadow:0 18px 54px #0000003d}.dialogue:before{content:"";background:var(--gold);width:128px;height:1px;position:absolute;top:-1px;left:0}.speaker-row{align-items:center;gap:16px;display:flex}.speaker{color:var(--gold);letter-spacing:.18em;white-space:nowrap;font-size:15px}.speaker-line{background:#e9c37373;width:36px;height:1px}.dialogue p{letter-spacing:.055em;line-break:strict;overflow-wrap:anywhere;text-wrap:pretty;text-shadow:0 2px 16px #00000059;width:100%;max-width:none;margin:clamp(12px,1.6vh,18px) 0 0;font-size:clamp(18px,1.15vw,25px);line-height:1.85}.caret{vertical-align:-.15em;background:#ffffff8c;width:2px;height:1.1em;margin-left:3px;display:inline-block}.next-mark{color:var(--gold);background:0 0;border:0;font-size:24px;animation:1.4s infinite pulse;position:absolute;bottom:20px;right:28px}.cg-dialogue{background:linear-gradient(115deg,#091b3799,#06142d6b)}.character-presence{z-index:1;color:#ffffffd4;letter-spacing:.5em;text-shadow:0 2px 20px #00102a;filter:drop-shadow(0 30px 45px #00000052);background:radial-gradient(at 50% 42%,#234c7e33,#020c1dc2 62%,#0000 64%);border-radius:50% 50% 18% 18%;flex-direction:column;justify-content:center;align-items:center;gap:12px;width:310px;height:55vh;animation:.65s both rise;display:flex;position:fixed;top:19vh;right:9vw}.character-presence:before{content:"";background:linear-gradient(140deg,#05112afa,#102a4be6);border-radius:50%;width:128px;height:128px;position:absolute;top:9%;box-shadow:0 104px 0 36px #041026ed,0 242px 0 68px #040f23e0}.character-presence span{z-index:1;margin-top:auto;margin-bottom:4%;font-size:12px;position:relative}.character-presence .character-star{color:var(--gold);font-size:14px;position:absolute;top:5%;right:26%}.choice-panel{z-index:4;width:min(720px,100% - 40px);animation:.4s both fade;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.choice-label{letter-spacing:.35em;color:var(--gold);text-align:center;margin-bottom:15px;font-family:system-ui,sans-serif;font-size:9px;display:block}.choice-panel h2{text-align:center;letter-spacing:.1em;margin:0 0 30px;font-size:clamp(19px,2.2vw,28px);font-weight:400}.choices{gap:12px;display:grid}.choices button{-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);text-align:left;cursor:pointer;background:#041128ad;border:1px solid #ffffff57;grid-template-columns:54px 1fr 30px;align-items:center;gap:14px;width:100%;padding:19px 24px;transition:transform .25s,background .25s,border-color .25s;display:grid}.choices button:hover{border-color:var(--gold);background:#092348e0;transform:translate(8px)}.choice-index{color:var(--gold);letter-spacing:.18em;font-family:system-ui,sans-serif;font-size:10px}.choices strong,.choices small{display:block}.choices strong{letter-spacing:.1em;font-size:17px;font-weight:500}.choices small{color:#ffffff94;letter-spacing:.08em;margin-top:5px;font-size:10px}.choices b{color:var(--gold);justify-self:end;font-weight:400}.ending{z-index:4;text-align:center;width:min(680px,100% - 40px);animation:.7s both rise;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.ending>span{letter-spacing:.4em;color:var(--gold);font-family:system-ui,sans-serif;font-size:9px}.ending h2{letter-spacing:-.06em;margin:20px 0 12px;font-size:clamp(52px,8vw,100px);font-weight:400;line-height:1}.ending p{color:#ffffffb8;letter-spacing:.08em;margin:0 auto 36px;font-size:13px}.ending div{justify-content:center;gap:12px;display:flex}.ending button{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);cursor:pointer;background:#04112894;border:1px solid #fff6;min-width:150px;padding:13px 20px;transition:border-color .2s,color .2s}.ending button:hover{border-color:var(--gold);color:var(--gold)}.library-page{z-index:3;background:linear-gradient(90deg,#030d20f7,#04142cd6);min-height:100svh;padding:24px clamp(24px,7vw,100px) 60px;position:relative;overflow:auto}.library-page>header{border-bottom:1px solid var(--line);letter-spacing:.3em;color:#ffffff8a;justify-content:space-between;align-items:center;padding-bottom:18px;font-family:system-ui,sans-serif;font-size:9px;display:flex}.library-page>header button{cursor:pointer;background:0 0;border:0;padding:8px 0}.library-heading{grid-template-columns:1fr auto;align-items:end;margin:clamp(42px,7vh,80px) 0 36px;display:grid}.library-heading>span{color:var(--gold);letter-spacing:.36em;grid-column:1;font-family:system-ui,sans-serif;font-size:9px}.library-heading h1{letter-spacing:-.07em;grid-column:1;margin:10px 0 0;font-size:clamp(48px,7vw,92px);font-weight:400;line-height:1}.library-heading p{letter-spacing:.16em;color:#fff9;grid-area:1/2/3;align-self:end;margin:0 0 8px;font-family:system-ui,sans-serif;font-size:10px}.library-content{animation:.55s both rise}.gallery-grid{border-top:1px solid var(--line);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.cg-item{border-bottom:1px solid var(--line);grid-template-rows:auto 1fr;min-height:0;display:grid}.cg-item:nth-child(odd){border-right:1px solid var(--line)}.cg-image{aspect-ratio:16/9;cursor:zoom-in;background:#061631;border:0;width:100%;min-height:0;padding:0;display:block;position:relative;overflow:hidden}.cg-image img{object-fit:contain;background:#061631;width:100%;height:100%;transition:transform .35s,filter .35s;display:block}.cg-item.unlocked .cg-image:hover img{filter:brightness(1.05);transform:scale(1.015)}.cg-image:focus-visible{outline:2px solid var(--gold);outline-offset:-4px}.cg-image>span{letter-spacing:.2em;background:#030e21b8;padding:6px 9px;font-family:system-ui,sans-serif;font-size:8px;position:absolute;top:18px;left:18px}.cg-item.locked .cg-image{filter:grayscale()brightness(.18)}.cg-meta{align-self:end;padding:26px 30px 30px}.cg-meta span{color:var(--gold);letter-spacing:.3em;font-family:system-ui,sans-serif;font-size:9px}.cg-meta h2{margin:10px 0;font-size:32px;font-weight:400}.cg-meta p{color:#fff9;letter-spacing:.08em;font-size:12px}.cg-lightbox{z-index:40;cursor:zoom-out;background:#010712eb;border:0;place-items:center;width:100%;padding:clamp(22px,4vw,72px);animation:.22s both fade;display:grid;position:fixed;inset:0}.cg-lightbox img{object-fit:contain;max-width:100%;max-height:calc(100svh - clamp(44px,8vw,144px));display:block;box-shadow:0 26px 80px #00000094}.cg-lightbox span{letter-spacing:.24em;color:#ffffff94;font-family:system-ui,sans-serif;font-size:8px;position:absolute;bottom:clamp(18px,3vw,38px);right:clamp(22px,4vw,56px)}.achievement-list{border-top:1px solid var(--line)}.achievement-list article{border-bottom:1px solid var(--line);grid-template-columns:52px 62px 1fr auto;align-items:center;gap:22px;padding:20px 0;display:grid}.achievement-number{color:#ffffff6b;font-family:system-ui,sans-serif;font-size:9px}.achievement-list i{width:54px;height:54px;color:var(--gold);border:1px solid #e9c3738a;border-radius:50%;place-items:center;font-size:20px;font-style:normal;display:grid}.achievement-list h2{letter-spacing:.08em;margin:0 0 4px;font-size:17px;font-weight:500}.achievement-list p{color:#ffffff80;margin:0;font-size:11px}.achievement-list b{letter-spacing:.18em;color:var(--gold);font-family:system-ui,sans-serif;font-size:9px}.achievement-list article.locked{opacity:.42}.overlay{z-index:20;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#010712ad;place-items:center;padding:20px;animation:.25s both fade;display:grid;position:fixed;inset:0}.modal{width:min(760px,100%);max-height:min(760px,90svh);color:var(--ink);background:#f8f4e9f7;padding:0 clamp(24px,4vw,52px) 42px;animation:.35s both rise;overflow:auto;box-shadow:0 40px 100px #00000057}.modal>header{z-index:2;letter-spacing:.28em;background:#f8f4e9f7;border-bottom:1px solid #07162f38;justify-content:space-between;padding:22px 0 14px;font-family:system-ui,sans-serif;font-size:8px;display:flex;position:sticky;top:0}.modal>header button{color:var(--ink);cursor:pointer;background:0 0;border:0;padding:0}.settings-panel h2,.save-list h2,.history-list h2{letter-spacing:-.04em;margin:32px 0 6px;font-size:34px;font-weight:500}.settings-panel>p,.save-list>p{color:#07162f94;margin:0 0 28px;font-size:11px}.settings-panel label{border-top:1px solid #07162f24;grid-template-columns:1fr 220px 48px;align-items:center;gap:18px;padding:22px 0;display:grid}.settings-panel label span strong,.settings-panel label span small{display:block}.settings-panel label span strong{font-size:14px}.settings-panel label span small{color:#07162f85;margin-top:4px;font-size:10px}.settings-panel label>b{text-align:right;font-family:system-ui,sans-serif;font-size:10px}.settings-panel input{accent-color:var(--blue)}.toggle-row{grid-template-columns:1fr 50px!important}.toggle-row>button{cursor:pointer;background:#07162f33;border:0;border-radius:20px;width:46px;height:25px;padding:3px}.toggle-row>button i{background:#fff;border-radius:50%;width:19px;height:19px;transition:transform .25s;display:block}.toggle-row>button.on{background:var(--blue)}.toggle-row>button.on i{transform:translate(21px)}.save-list article{border-top:1px solid #07162f26;grid-template-columns:40px 1fr auto auto;align-items:center;gap:10px;padding:16px 0;display:grid}.save-list article>span{color:#07162f80;font-family:system-ui,sans-serif;font-size:10px}.save-list article div strong,.save-list article div small{display:block}.save-list article div strong{font-size:13px}.save-list article div small{color:#07162f80;margin-top:4px;font-family:system-ui,sans-serif;font-size:9px}.save-list article button{color:var(--ink);cursor:pointer;background:0 0;border:1px solid #07162f45;padding:8px 12px;font-size:11px}.save-list article button:disabled{opacity:.3;cursor:not-allowed}.history-list article{border-top:1px solid #07162f24;padding:17px 0}.history-list article span{color:#9b6d15;font-size:11px}.history-list article p,.history-list .empty{margin:7px 0 0;font-size:13px;line-height:1.8}.history-list .empty{color:#07162f80}.toast{z-index:30;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);letter-spacing:.09em;background:#031026e0;border:1px solid #e9c3738c;align-items:center;gap:10px;max-width:min(360px,100vw - 40px);padding:12px 20px;font-size:12px;animation:.35s both toastIn;display:flex;position:fixed;top:76px;left:auto;right:clamp(240px,20vw,300px);box-shadow:0 14px 40px #00000047}.game-toast{white-space:nowrap;pointer-events:none;width:max-content;max-width:min(340px,36vw);margin-right:14px;animation:.35s both gameToastIn;position:absolute;top:50%;left:auto;right:100%}.toast span{color:var(--gold)}@keyframes toastIn{0%{opacity:0;transform:translate(18px)}to{opacity:1;transform:translate(0)}}@keyframes gameToastIn{0%{opacity:0;transform:translate(14px,-50%)}to{opacity:1;transform:translateY(-50%)}}@media (width<=760px){.boot-copy{max-width:calc(100vw - 48px);top:max(32px,6svh);left:24px}.boot-copy h1{font-size:clamp(48px,16vw,68px)}.boot-preparing{margin-top:18px;font-size:10px}.boot-progress-area{width:min(58vw,224px);inset:56% auto auto 50%}.boot-progress{display:block}.boot-progress-number output{font-size:clamp(52px,14vw,66px)}.boot-status{margin:8px -62px 0;padding:0}.boot-corner{bottom:18px;left:20px;right:20px}.boot-backdrop{background-position:68%}.boot-light-leak{width:90vw;left:48%}.boot-dust-a{left:20%}.boot-dust-b{left:52%}.boot-dust-c{left:70%}.scene-image{background-position:57%}.screen-title .scene-image,.screen-voice-language .scene-image{background-position:70%}.title-screen{grid-template-rows:1fr auto auto;grid-template-columns:1fr;padding:30px 24px 22px}.title-brand{max-width:92vw}.title-brand h1{margin-top:22px;font-size:clamp(52px,15vw,78px)}.title-copy{margin-top:25px}.main-menu{justify-self:stretch;width:min(100%,330px)}.main-menu button{padding:11px 4px}.title-footer{grid-column:1}.voice-language-screen{align-content:end;gap:26px;padding:32px 24px 24px}.voice-language-header h1{font-size:clamp(38px,12vw,54px)}.voice-language-header p{line-height:1.75}.voice-language-screen{grid-template-columns:minmax(0,1fr)}.voice-language-options button{grid-template-columns:38px 1fr;min-height:108px;padding:18px 16px}.voice-language-options b{grid-column:2;justify-self:start}.voice-language-actions{flex-direction:column-reverse;align-items:stretch;gap:8px}.voice-language-confirm{width:100%}.voice-language-footer{gap:20px}.game-topbar{grid-template-columns:1fr auto;padding:14px 16px}.chapter-transition{padding:28px 22px}.chapter-transition-inner{width:min(100%,520px)}.protocol-heading{letter-spacing:.2em;font-size:7px}.protocol-meta{letter-spacing:.22em;flex-direction:column;gap:8px}.protocol-meta span+span{border-top:1px solid #e9c3735c;border-left:0;padding:8px 0 0}.chapter-transition h2{margin-top:24px;font-size:clamp(23px,7.8vw,42px)}.chapter-transition p{letter-spacing:.12em;font-size:13px}.chapter-style-minimal .chapter-transition-inner{width:min(100%,520px);padding-left:18px}.chapter-style-minimal .protocol-heading{gap:14px}.chapter-style-terminal .chapter-transition-inner{width:min(100%,520px)}.chapter-progress{display:none}.game-tools{gap:0;width:120px}.game-tools button{padding:7px;font-size:10px}.context-meter{width:106px;padding:6px 8px 7px;top:50px;right:21px}.context-meter span{letter-spacing:.16em;font-size:5px}.context-meter strong{font-size:13px}.character-portrait{width:min(126vw,500px);height:100svh;top:0;left:50%}.character-sprite{transform:translateY(-1.5%)}.character-portrait.sprite-v3{--sprite-width:min(150vw, 84svh);width:var(--sprite-width);height:calc(var(--sprite-width) * 1.5);top:-1.5svh;left:52%}.sprite-v3 .character-sprite{transform:none}.sprite-subagent,.sprite-coastal-train,.sprite-argument,.sprite-door,.sprite-bad-end,.sprite-rain,.sprite-happy-days{width:min(126vw,500px)}.dialogue{left:12px;right:12px;bottom:max(10px, env(safe-area-inset-bottom));min-height:180px;padding:24px 24px 30px}.dialogue p{margin-top:14px;font-size:16px;line-height:1.9}.choice-panel{top:48%}.choices button{grid-template-columns:35px 1fr 20px;padding:16px}.ending div{flex-direction:column;align-items:center}.library-page{padding:18px 20px 40px}.library-heading{grid-template-columns:1fr}.library-heading p{grid-area:auto/1;margin-top:12px}.gallery-grid{grid-template-columns:1fr}.cg-item{grid-template-columns:1fr;min-height:390px;border-right:0!important}.cg-image{min-height:250px}.cg-meta{padding:24px 0}.achievement-list article{grid-template-columns:30px 46px 1fr;gap:12px}.achievement-list i{width:42px;height:42px}.achievement-list b{display:none}.settings-panel label{grid-template-columns:1fr 48px}.settings-panel label input{grid-column:1/-1;width:100%}.save-list article{grid-template-columns:28px 1fr auto}.save-list article button:last-child{grid-column:3}.toast{max-width:none;top:112px;left:14px;right:14px}.game-toast{white-space:normal;width:auto;margin-right:0;animation:.35s both toastIn;position:fixed;transform:none}}@media (height<=680px) and (width>=761px){.title-brand h1{font-size:84px}.title-copy{margin-top:22px}.dialogue{min-height:160px;padding-top:24px;padding-bottom:24px}.dialogue p{margin-top:12px}}:root[data-reduce-motion=true] *,:root[data-reduce-motion=true] :before,:root[data-reduce-motion=true] :after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}:root[data-reduce-motion=true] .chapter-transition,:root[data-reduce-motion=true] .chapter-transition *{opacity:1!important;filter:none!important;transform:none!important}@media (prefers-reduced-motion:reduce){.boot-screen,.boot-screen *,.boot-game{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
