@charset "UTF-8";
@font-face{font-family:Caveat;src:url('./assets/caveat-bold.ttf') format('truetype');font-weight:700;font-style:normal;font-display:swap}
:root{color-scheme:dark;--ink:#f4f5f8;--muted:#9caac0;--dim:#63758b;--panel:rgba(5,13,22,.88);--line:rgba(120,170,197,.24);--cyan:#51d8f5;--green:#53e4a3;--yellow:#ffdd59;--red:#ff5b6b;--blue:#55b8ff;--purple:#b788ff;--sans:"Segoe UI",Inter,Arial,sans-serif;--mono:"Cascadia Code","SFMono-Regular",Consolas,monospace;--hand:Caveat,"Segoe Print","Comic Sans MS",cursive}
*{box-sizing:border-box}body{margin:0;background:#0a0d13;color:var(--ink);font:14px/1.5 var(--sans);min-width:320px}button,input,textarea,select{font:inherit}button{cursor:pointer}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{color:inherit}button:disabled{cursor:default}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,a:focus-visible{outline:2px solid var(--cyan);outline-offset:5px}button{touch-action:manipulation}button svg{pointer-events:none}svg{display:block}button:not(.response-card):not(.primary-button):not(.secondary-button){font-family:var(--sans)}[hidden]{display:none!important}img{max-width:100%;display:block}.room-background{position:fixed;inset:0;z-index:-3;background:#382019 url('./assets/environments/bedroom-night.webp') center center/cover no-repeat;transform:scale(1.015)}.room-vignette{position:fixed;inset:0;z-index:-2;background:linear-gradient(90deg,rgba(2,9,15,.58),transparent 34%,rgba(5,7,12,.06) 64%,rgba(5,9,16,.35)),linear-gradient(0deg,#060b12 0%,rgba(5,8,13,.25) 37%,rgba(5,8,13,.12) 75%,rgba(3,8,13,.56))}.game-shell{max-width:1560px;margin:0 auto;padding:24px 30px 16px}.topbar{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;position:relative;z-index:2}.brand{margin:0 0 18px 2px;user-select:none}.brand-name{font-family:var(--hand);font-weight:800;font-size:clamp(32px,3.3vw,51px);line-height:1.2;letter-spacing:-2.5px;transform:rotate(-2deg);text-shadow:0 4px 12px #0009;white-space:nowrap}.brand-name>span{font-size:1.35em;color:var(--yellow);letter-spacing:-3px;display:inline-block;transform:rotate(2deg);margin-left:4px}.brand-star{font:22px/1 var(--sans);color:var(--yellow);display:inline-block;vertical-align:top;transform:rotate(13deg);margin:3px 0 0 10px}.brand p{font:14px/1.4 var(--hand);margin:4px 0 0 5px;letter-spacing:.1px;color:#e7e4e2}.game-controls{display:flex;align-items:center;gap:9px;padding-top:8px}.icon-button,.menu-button{height:36px;border:1px solid var(--line);background:rgba(7,15,23,.78);border-radius:9px;display:inline-flex;align-items:center;justify-content:center;transition:background .2s,border-color .2s}.icon-button{width:38px;padding:9px}.icon-button svg,.menu-button svg{width:17px;height:17px}.menu-button{padding:0 14px;gap:8px;font-size:12px}.icon-button:hover,.menu-button:hover{border-color:#8bb5c777;background:#192c38}.save-status{font:9px var(--mono);letter-spacing:1px;color:#a8b8b3;margin-right:11px;display:flex;align-items:center;gap:6px}.save-status>span,.tiny-pulse{width:4px;height:4px;background:var(--green);border-radius:50%;box-shadow:0 0 9px #53e4a36e;display:inline-block}.stage{display:grid;grid-template-columns:290px minmax(290px,1fr) 290px;gap:38px;align-items:start;position:relative;min-height:538px;margin-top:-3px}.left-rail{display:flex;flex-direction:column;gap:12px}.glass-panel{background:var(--panel);border:1px solid var(--line);border-radius:13px;box-shadow:0 8px 26px #0002,inset 0 1px 0 #ffffff03;backdrop-filter:blur(18px)}.panel-eyebrow{font:10px/1.2 var(--mono);letter-spacing:1.1px;color:#d8e1eb;display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.profile-panel{padding:17px 17px 18px}.subject-id{font-size:8px;letter-spacing:1px;color:#668090}.profile-main{display:flex;gap:13px;align-items:center}.portrait-wrap{position:relative;flex-shrink:0}.kevin-portrait{width:61px;height:61px;object-fit:cover;border-radius:50%;border:1px solid #6c93b579;background:#20384a}.presence-dot{width:10px;height:10px;background:var(--green);border:2px solid #0b141e;border-radius:50%;position:absolute;right:2px;bottom:3px}.profile-copy h1{font-size:18px;line-height:1.2;margin:0 0 5px;font-weight:600}.online-label{font-size:10px;color:#81cfb1;font-weight:400;padding-left:9px;border-left:1px solid #6173827a;margin-left:8px}.profile-copy p{font-size:11px;color:#a7b4c9;margin:0 0 6px}.profile-copy blockquote{font-size:10px;color:#9eaec4;line-height:1.5;font-style:italic;margin:0}.stats-panel{padding:17px}.stats-panel .panel-eyebrow{margin-bottom:17px}.help-button{background:none;border:1px solid #70869b;border-radius:50%;color:#a6bbd0;width:17px;height:17px;line-height:13px;font-size:11px;padding:0}.emotion-meters{display:grid;gap:17px}.emotion-row{display:grid;grid-template-columns:27px 1fr;gap:11px;align-items:center}.emotion-icon{width:26px;height:26px;display:flex;align-items:center;justify-content:center;color:var(--meter-color)}.emotion-icon svg{width:25px;height:25px}.emotion-content{min-width:0}.emotion-label{display:flex;align-items:baseline;justify-content:space-between;gap:8px;font-size:11px;line-height:1.2;margin-bottom:7px;color:#c2cddd}.emotion-value{font-family:var(--mono);font-size:11px;font-variant-numeric:tabular-nums;color:#f1f3f7}.emotion-track{height:7px;background:#1a2430;border-radius:10px;overflow:hidden;box-shadow:inset 0 1px 2px #0004}.emotion-fill{height:100%;border-radius:10px;background:linear-gradient(90deg,color-mix(in srgb,var(--meter-color) 75%,black),var(--meter-color));box-shadow:0 0 14px color-mix(in srgb,var(--meter-color) 30%,transparent);transition:width .8s cubic-bezier(.22,.61,.36,1)}.emotion-value.changed{animation:stat-flash .8s}.mood-summary{font:9px/1.5 var(--mono);color:#647d8f;border-top:1px solid #66869c20;padding-top:12px;margin:17px 0 0}.situation-panel{padding:17px}.situation-panel .panel-eyebrow{margin-bottom:14px}.situation-heading{display:flex;align-items:center;gap:11px}.situation-icon{color:#a2b5ce;flex-shrink:0;width:28px;height:28px;display:flex;align-items:center}.situation-icon svg{width:27px;height:27px}.situation-heading h2{font-size:13px;font-weight:600;line-height:1.3;margin:0 0 4px}.situation-heading p{font-size:10px;color:#7c91a6;margin:0}.situation-description{font-size:11px;line-height:1.6;color:#adbad0;margin:12px 0 14px}.session-indicator{display:flex;justify-content:space-between;gap:8px;border-top:1px solid #809bb21c;padding-top:11px;font:8px/1.4 var(--mono);letter-spacing:.7px;color:#728b9b}.session-indicator span:last-child{color:#9aacae}.system-whisper{display:flex;align-items:center;gap:7px;font:7px var(--mono);letter-spacing:.6px;color:#92aaa3;padding:0 5px}.phone-stage{position:relative;height:553px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;margin-top:-57px;padding-top:3px;isolation:isolate;min-width:0}.phone-device{height:561px;width:285px;max-width:none;padding:8px;background:linear-gradient(120deg,#08090b 4%,#15191b 28%,#000 55%,#121319 89%);border:1px solid #866047;border-radius:44px;position:relative;transform:rotate(3deg);box-shadow:3px 1px 0 #24202a,6px 2px 0 #07080a,8px 3px 0 #5c3838,12px 17px 25px #000b,inset 1px 0 0 #e6b4897d;z-index:2;flex-shrink:0}.phone-device::before{content:"";position:absolute;left:-3px;top:115px;width:3px;height:53px;background:#151619;border-radius:2px;box-shadow:0 -37px 0 -1px #a2826d}.phone-side-button{position:absolute;right:-6px;top:166px;width:3px;height:58px;background:linear-gradient(#8f6b5b,#201a1d);border-radius:2px}.phone-screen{height:100%;position:relative;background:radial-gradient(ellipse at top right,#0b1721,#080f18 70%);border:1px solid #2834478a;border-radius:35px;overflow:hidden;display:flex;flex-direction:column}.phone-status{height:35px;flex:0 0 35px;display:flex;align-items:center;justify-content:space-between;padding:0 19px;font-size:10px;font-weight:700;position:relative;letter-spacing:.2px}.phone-island{height:22px;width:88px;position:absolute;left:50%;top:0;transform:translateX(-50%);background:#020305;border-radius:0 0 14px 14px}.phone-island::after{content:"";position:absolute;width:5px;height:5px;border-radius:50%;background:#0d1624;right:14px;top:8px;box-shadow:inset 0 0 2px #324555}.phone-status-icons{width:44px;height:12px}.phone-status-icons svg{width:44px;height:12px}.chat-header{display:flex;gap:10px;align-items:center;padding:8px 16px 14px;border-bottom:1px solid #a4b7d00c;min-height:63px;flex-shrink:0}.chat-chevron{font:32px/1 var(--sans);font-weight:300;margin-right:3px;color:#c7d4e9;align-self:center;margin-top:-6px}.chat-avatar{width:38px;height:38px;border-radius:50%;background:#23364b;border:1px solid #38536b;object-fit:cover}.chat-person{min-width:0}.chat-person strong{display:block;font-size:15px;font-weight:600}.chat-person>span{font-size:9px;color:#91a0b3;display:block;margin-top:1px;white-space:nowrap}.chat-sparkle{font-size:26px;color:#b7c3d7;margin-left:auto}.chat-day{font:7px var(--mono);letter-spacing:1px;text-align:center;color:#526477;padding:10px 0 3px;flex-shrink:0}.chat-log{flex:1;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#2c3b4b transparent;display:flex;flex-direction:column;padding:10px 13px 6px;gap:10px;min-height:0;scroll-behavior:smooth}.message-group{max-width:88%;width:fit-content;animation:bubble-in .25s ease-out}.message-group.human{align-self:flex-start}.message-group.ai{align-self:flex-end}.message-bubble{padding:10px 12px;border-radius:15px;background:linear-gradient(135deg,#303642,#2b303a);font-size:12px;line-height:1.5;overflow-wrap:anywhere;color:#f1f2f5;box-shadow:0 2px 6px #0001;white-space:pre-wrap}.message-group.human .message-bubble{border-bottom-left-radius:4px}.message-group.ai .message-bubble{background:linear-gradient(135deg,#0879ff,#0860e8);border-bottom-right-radius:4px;color:white}.message-meta{font-size:7px;color:#68788e;margin-top:4px;text-align:right;padding-right:3px;display:flex;gap:4px;justify-content:flex-end;align-items:center}.message-meta .delivery-check{font-size:9px;letter-spacing:-3px;color:#3f9cff;padding-right:2px}.message-system{font:8px/1.5 var(--mono);text-align:center;padding:10px 5px;color:#7a91a4;align-self:center;max-width:100%;width:100%;border-top:1px solid #72839210;margin-top:5px}.typing-row{padding:1px 13px 8px;display:flex;align-items:center;gap:8px;flex-shrink:0}.typing-bubble{padding:12px 13px;display:flex;gap:4px;border-radius:14px 14px 14px 3px;background:#272e3b;width:55px}.typing-bubble i{width:6px;height:6px;border-radius:50%;background:#7b899e;animation:typing-dot 1s ease-in-out infinite}.typing-bubble i:nth-child(2){animation-delay:.16s}.typing-bubble i:nth-child(3){animation-delay:.32s}.typing-row>span{font-size:8px;color:#708398}.phone-composer{display:flex;gap:8px;padding:8px 11px 8px;align-items:center;background:#111b27b0;border-top:1px solid #70879e12;flex-shrink:0;margin-top:3px}.composer-plus{font-size:25px;font-weight:200;line-height:1;color:#8e9aad}.phone-composer>div{flex:1;height:30px;border:1px solid #a2b0cc1c;border-radius:17px;background:#26314299;display:flex;align-items:center;justify-content:space-between;padding:0 11px;font-size:9px;color:#8391a6}.composer-spark{font-size:21px;color:#9eabc1}.composer-lock{width:10px;height:11px;border:1.2px solid #8293a9;border-radius:2px;position:relative;margin:4px 3px 0}.composer-lock::before{content:"";width:5px;height:6px;border:1.2px solid #8293a9;border-bottom:0;position:absolute;border-radius:5px 5px 0 0;left:1.2px;top:-6px}.phone-home{width:94px;height:3px;margin:5px auto 7px;background:#414f64;border-radius:5px;flex-shrink:0}.phone-shadow{position:absolute;bottom:-13px;left:50%;transform:translateX(-50%);width:410px;height:55px;border-radius:50%;background:#000a;filter:blur(12px);z-index:0}.phone-stand{position:absolute;top:547px;width:334px;height:23px;background:linear-gradient(#30221e,#080b10 38%,#13151b 58%,#05060a);transform:skewY(2deg);border-radius:5px 7px 12px 8px;box-shadow:0 3px 0 #06070c,0 6px 15px #0009;border-top:1px solid #91704e5e;z-index:1}.connection-caption{position:absolute;top:583px;display:flex;align-items:center;gap:6px;font:7px var(--mono);letter-spacing:1.2px;white-space:nowrap;color:#a7c3b9}.connection-caption>span{width:4px;height:4px;border-radius:50%;background:var(--green);box-shadow:0 0 9px #53e4a3}.connection-caption i{display:none}.right-rail{padding-top:0;display:flex;flex-direction:column;gap:26px}.story-panel{overflow:hidden}.story-top{display:flex;align-items:center;justify-content:space-between;width:100%;background:none;border:0;text-align:left;padding:13px 16px;font-size:11px;color:#d9e0e9;gap:10px}.story-top b{font-weight:500}.story-top>span:first-child{display:flex;align-items:center;gap:7px}.story-top>span:nth-child(2){color:#9ba9ba;font:10px var(--mono)}.live-dot{width:4px;height:4px;background:#f5ad79;border-radius:50%;box-shadow:0 0 7px #ff9c5080}.mobile-chevron{display:none}.scene-art-wrap{position:relative;margin:0 10px;overflow:hidden;border:1px solid #d1966b3b;border-radius:7px;aspect-ratio:1.26;background:linear-gradient(130deg,#794126,#18181e)}.scene-art-wrap img{width:100%;height:100%;object-fit:cover;transition:opacity .3s}.scene-art-shade{position:absolute;inset:0;background:linear-gradient(transparent 60%,#0008)}.scene-art-label{position:absolute;left:10px;bottom:10px;font:6px var(--mono);letter-spacing:1.5px;color:#f5e4d1}.story-copy{padding:17px 17px 19px}.story-arc{font:7px var(--mono);letter-spacing:1.5px;color:#d5a47e;display:block;margin-bottom:8px}.story-copy h2{font-size:15px;line-height:1.4;font-weight:550;letter-spacing:-.2px;margin:0 0 9px}.story-copy p{font-size:11px;line-height:1.85;margin:0;color:#b7c0ce}.story-footer{padding:11px 16px;border-top:1px solid #7490a51a;display:flex;align-items:center;gap:6px;color:#839bad;font-size:9px}.location-mark svg{width:11px;height:11px}.scene-number{margin-left:auto;font:8px var(--mono);color:#506d7f}.field-note{padding:0 18px 0 20px;transform:rotate(-4deg);color:#e2caa6;text-shadow:0 2px 8px #0008;position:relative;opacity:.85}.field-note-heading{font:7px var(--mono);letter-spacing:2px;color:#bda17e}.field-note p{font:18px/1.5 var(--hand);margin:8px 0 0;max-width:240px}.note-scribble{width:100px;height:24px;margin-top:-3px;opacity:.6}.ai-terminal{position:relative;z-index:3;margin-top:12px;border:1px solid #356275;border-radius:13px;background:linear-gradient(120deg,rgba(6,17,27,.97),rgba(3,12,20,.97));box-shadow:0 -3px 28px #0007,inset 0 1px 0 #66d7dc11;padding:15px 17px 12px;backdrop-filter:blur(18px)}.ai-terminal::before{content:"";position:absolute;top:-1px;left:14px;width:185px;height:1px;background:linear-gradient(90deg,transparent,var(--green),transparent);box-shadow:0 0 10px #53e4a380}.terminal-top{display:flex;justify-content:space-between;align-items:center;gap:12px}.terminal-brand{display:flex;align-items:center;gap:10px;min-width:0}.terminal-brand>span:first-child{color:var(--green)}.terminal-brand svg{width:25px;height:25px}.terminal-brand h2{font:600 15px/1.2 var(--mono);letter-spacing:1px;color:var(--cyan);margin:0;white-space:nowrap}.terminal-status{font:7px/1.3 var(--mono);letter-spacing:1px;color:#688a98;padding-left:14px;margin-left:3px;border-left:1px solid #49677860}.terminal-tools{display:flex;align-items:center;gap:17px}.text-button{background:none;border:0;padding:3px;color:#8cabbc;font-size:10px}.text-button:hover{color:var(--cyan)}.text-button>span{font-size:15px}.model-label{font:7px var(--mono);letter-spacing:.7px;color:#506c7d;display:flex;align-items:center;gap:7px;white-space:nowrap}.model-label b{font-weight:400;color:#9eb5c6;font-size:8px}.model-label i{width:4px;height:4px;background:var(--green);border-radius:50%;margin-left:2px}.decision-heading{display:flex;justify-content:space-between;align-items:center;margin:9px 0 12px;gap:10px}.decision-heading p{font-size:11px;color:#7de1b0;margin:0}.decision-heading p>span{color:#6f8e9e;margin-left:3px}.keyboard-hint{font:7px var(--mono);color:#556d7f;letter-spacing:.5px;white-space:nowrap}.keyboard-hint kbd{font:8px var(--mono);border:1px solid #45617577;border-radius:3px;padding:1px 4px;color:#93aabd}.response-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:stretch}.response-choices.has-custom{grid-template-columns:repeat(4,minmax(0,1fr))}.response-card{display:flex;flex-direction:column;text-align:left;background:linear-gradient(135deg,#0f1c29b3,#101b26a1);border:1px solid #3c58636b;border-radius:9px;padding:14px 15px 15px;min-height:133px;position:relative;transition:background .2s,border-color .2s,box-shadow .2s,transform .2s;overflow:hidden}.response-card:not(:disabled):hover{background:linear-gradient(130deg,#102e44,#0f1c2a);border-color:#45b9f0;box-shadow:0 0 0 1px #23a5f03b,inset 0 0 21px #1497d615;transform:translateY(-2px)}.response-card:not(:disabled):active{transform:translateY(0)}.response-card:disabled{opacity:.47}.response-card.selected{border-color:var(--cyan);opacity:1;background:#12354a}.response-card .card-header{display:flex;align-items:center;gap:10px;margin-bottom:10px}.choice-key{height:28px;width:28px;border-radius:50%;border:1.5px solid #6d8bac;display:flex;justify-content:center;align-items:center;font:16px/1 var(--mono);color:#a1bce1;flex-shrink:0}.card-heading{min-width:0}.card-heading strong{font-size:12px;font-weight:600;display:block;line-height:1.35}.card-heading small{font-size:9px;color:#8298ae;display:block;line-height:1.4;margin-top:2px}.response-card .choice-text{font:11px/1.6 var(--mono);color:#d0dbe8;margin:0;padding-left:38px;display:block;overflow-wrap:anywhere}.response-card[data-style=sarcastic]:hover .choice-key{border-color:var(--cyan);color:var(--cyan)}.response-card[data-style=analytical]:hover .choice-key{border-color:var(--purple);color:var(--purple)}.custom-card{cursor:default;border-style:dashed;background:#14222a88}.custom-card .choice-text{font:10px/1.5 var(--sans);color:#95aabc;padding-left:0}.custom-card .card-header{margin-bottom:7px}.custom-card .choice-key{border-color:#b68eed;color:#bba0ed}.custom-card .card-heading strong{color:#d2bcf3}.custom-entry{display:flex;align-items:flex-end;gap:6px;margin-top:10px}.custom-entry textarea{display:block;resize:none;flex:1;width:0;min-width:0;height:40px;max-height:90px;background:#07111a;border:1px solid #385064;border-radius:7px;font-size:10px;line-height:1.4;color:#dde8f4;padding:10px;scrollbar-width:thin}.custom-entry textarea::placeholder{color:#70879b}.custom-send{height:36px;width:31px;flex-shrink:0;background:#143249;border:1px solid #356883;border-radius:7px;color:var(--cyan);padding:7px}.custom-send svg{width:16px;height:16px}.custom-send:disabled{opacity:.3}.custom-count{font:7px var(--mono);text-align:right;color:#5d7689;margin:3px 0 -7px}.terminal-bottom{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;padding-top:12px}.internal-thought{display:flex;gap:7px;align-items:baseline;min-width:0;font:8px/1.5 var(--mono);color:#6c879a;margin:0}.thought-icon{align-self:center;color:#587c8e}.thought-icon svg{width:12px;height:12px}.thought-label{font:6px var(--mono);letter-spacing:.8px;color:#4b6576;flex-shrink:0}.terminal-progress{font:7px/1.5 var(--mono);color:#557182;letter-spacing:.7px;white-space:nowrap}.terminal-progress>span{color:#65b69e;font-size:8px;margin-left:9px;letter-spacing:2px}.page-footer{padding:14px 2px 1px;display:flex;align-items:center;justify-content:space-between;gap:15px;font:7px var(--mono);letter-spacing:1.2px;color:#4c5d6d}.page-footer button{background:none;border:0;color:#758999;font-size:9px;padding:0}.question-echo{display:none}.transition-card{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 24px;border:1px solid #466c7566;background:linear-gradient(100deg,#11252f,#0c1722);border-radius:9px;min-height:133px}.transition-copy>span{font:8px var(--mono);letter-spacing:2px;color:#719aab}.transition-copy h3{font:500 21px/1.3 var(--sans);margin:6px 0;color:#ebf2f6}.transition-copy p{font-size:11px;color:#93a8ba;margin:0;max-width:670px}.primary-button,.secondary-button{border-radius:8px;min-height:42px;padding:11px 19px;font-size:12px;font-weight:600;transition:background .2s,transform .2s;display:inline-flex;align-items:center;justify-content:center;gap:9px}.primary-button{border:1px solid #5bddb5;background:#51dfaa;color:#06261f;box-shadow:0 3px 20px #38dc9610}.primary-button:hover{background:#7cedc2;transform:translateY(-1px)}.secondary-button{border:1px solid #3d5768;background:#142431;color:#bbcfdd}.secondary-button:hover{background:#20394b}.transition-card .primary-button{flex-shrink:0}.toast-region{position:fixed;top:25px;left:50%;transform:translateX(-50%);z-index:30;display:flex;flex-direction:column;gap:8px;pointer-events:none;width:calc(100% - 40px);max-width:430px}.toast{padding:13px 18px;border:1px solid #5de5b466;background:#0a211ef2;border-radius:11px;backdrop-filter:blur(20px);box-shadow:0 8px 30px #0005;font-size:12px;color:#c1f5df;text-align:center;animation:toast-in .25s ease-out}.toast.leaving{opacity:0;transform:translateY(-8px);transition:.3s}.game-dialog{color:var(--ink);background:linear-gradient(135deg,#102130,#080f19);border:1px solid #4566798c;border-radius:20px;padding:32px;max-width:540px;width:calc(100% - 32px);max-height:calc(100dvh - 48px);box-shadow:0 20px 100px #0009;scrollbar-width:thin;scrollbar-color:#3a5264 transparent}.game-dialog::backdrop{background:#02070cc9;backdrop-filter:blur(9px)}.game-dialog.wide-dialog{max-width:780px}.dialog-close{position:absolute;right:16px;top:13px;display:flex;align-items:center;justify-content:center;background:#142633;border:1px solid #4b657a66;border-radius:50%;width:28px;height:28px;font-size:22px;color:#a1b9cb;line-height:1;padding:0}.dialog-eyebrow{font:9px var(--mono);color:var(--green);letter-spacing:2px;margin:0 30px 10px 0;display:block}.game-dialog h2{font-size:27px;line-height:1.2;letter-spacing:-1px;margin:0 25px 12px 0;font-weight:600}.dialog-description{font-size:13px;line-height:1.7;color:#91aabd;margin:0 0 24px}.dialog-buttons{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}.dialog-buttons>*{flex:1}.menu-grid{display:grid;gap:10px}.menu-grid button{width:100%;justify-content:space-between}.menu-caption{font:9px/1.7 var(--mono);color:#647f92;margin-top:22px;text-align:center}.settings-row{display:flex;justify-content:space-between;align-items:center;gap:20px;border-top:1px solid #7799b222;padding:18px 0}.settings-row:last-of-type{border-bottom:1px solid #7799b222}.settings-copy strong{display:block;font-size:13px;font-weight:500}.settings-copy p{font-size:11px;color:#758fa2;margin:4px 0 0;max-width:300px}.settings-row select{background:#162b3b;border:1px solid #496c80;border-radius:7px;color:#d2e4ef;padding:8px 10px;font-size:12px;min-width:98px}.toggle{position:relative;display:inline-block;width:42px;height:25px;flex-shrink:0}.toggle input{position:absolute;opacity:0;width:42px;height:25px;margin:0;cursor:pointer}.toggle span{display:block;width:42px;height:25px;background:#283949;border:1px solid #506477;border-radius:20px;pointer-events:none;transition:.2s}.toggle span::after{content:"";position:absolute;top:5px;left:5px;width:15px;height:15px;border-radius:50%;background:#9ab1c1;transition:.2s}.toggle input:checked+span{background:#24795e;border-color:#5ddca8}.toggle input:checked+span::after{transform:translateX(17px);background:#8cebc5}.toggle input:focus-visible+span{outline:2px solid var(--cyan);outline-offset:5px}.help-list{list-style:none;display:grid;gap:18px;margin:24px 0 0;padding:0}.help-list li{display:grid;grid-template-columns:30px 1fr;gap:11px}.help-number{font:13px/30px var(--mono);border:1px solid #446478;border-radius:50%;height:30px;width:30px;text-align:center;color:var(--cyan)}.help-list strong{font-size:13px;font-weight:600}.help-list p{font-size:12px;color:#8fa9bb;margin:4px 0 0;line-height:1.65}.emotion-guide{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:24px}.emotion-guide>div{border:1px solid #688ba425;background:#0a1721;padding:13px;border-radius:9px}.emotion-guide b{font-size:11px;display:block;margin-bottom:5px}.emotion-guide p{font-size:10px;color:#91a8b9;margin:0;line-height:1.6}.journal-summary{display:flex;align-items:center;gap:13px;border:1px solid #50788a5c;background:#14313a73;border-radius:10px;padding:14px;margin-bottom:22px}.journal-summary strong{font:27px var(--mono);color:var(--green)}.journal-summary p{font-size:11px;color:#90aebb;line-height:1.6;margin:0}.journal-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.journal-scene{display:flex;align-items:center;gap:12px;border:1px solid #41607570;background:#122430;min-height:72px;padding:12px;border-radius:9px;text-align:left}.journal-scene:disabled{opacity:.42}.journal-scene:not(:disabled):hover{border-color:#57b6c2;background:#1a3541}.journal-scene .scene-index{font:14px var(--mono);color:#6b96ab;flex:0 0 25px}.journal-scene>span:last-child{display:block;min-width:0}.journal-scene strong{display:block;font-size:11px;line-height:1.4;font-weight:500}.journal-scene small{display:block;color:#6e8fa4;font-size:9px;margin-top:4px}.journal-arc{font:9px var(--mono);color:#a7c7d2;letter-spacing:1.3px;margin:24px 0 11px;text-transform:uppercase}.journal-notice{font:10px/1.6 var(--mono);color:#7392a8;margin:0 0 18px}.report-stamp{display:inline-flex;align-items:center;gap:8px;color:var(--green);border:1px solid #66d5a663;border-radius:5px;padding:5px 9px;font:8px var(--mono);letter-spacing:2px;margin-bottom:18px;transform:rotate(-2deg)}.report-header{display:flex;justify-content:space-between;align-items:center;gap:15px}.report-human{display:flex;align-items:center;gap:13px;margin:17px 0 22px}.report-human img{width:54px;height:54px;border-radius:50%;object-fit:cover;border:1px solid #627e94}.report-human strong{font-size:16px;display:block}.report-human span{font:9px var(--mono);color:#7c9bb0;display:block;margin-top:4px}.report-rating{text-align:right;font:31px var(--mono);color:var(--yellow)}.report-rating small{display:block;font:8px var(--mono);letter-spacing:1px;color:#7f99ab;margin-top:3px}.report-verdict{padding:20px;background:#0b1823;border:1px solid #5077895c;border-radius:12px;margin-bottom:18px}.report-verdict>span{font:8px var(--mono);letter-spacing:2px;color:#648e9e}.report-verdict h3{font-size:23px;line-height:1.25;margin:8px 0;color:#e7f2f5;letter-spacing:-.5px}.report-verdict p{font-size:12px;line-height:1.65;color:#98b0c0;margin:0}.report-lines{display:grid;gap:0;margin-bottom:18px}.report-line{display:flex;justify-content:space-between;align-items:baseline;gap:20px;font-size:11px;padding:10px 0;border-bottom:1px solid #6c88991a}.report-line span:first-child{color:#7e9bb0}.report-line span:last-child{color:#c9dce7;text-align:right}.report-quote{border-left:2px solid #c49865;padding:3px 0 3px 13px;margin:18px 0;color:#c6b295;font:italic 13px/1.65 var(--sans)}.achievement-tags{display:flex;flex-wrap:wrap;gap:6px;margin:13px 0 0}.achievement-tag{border:1px solid #9e85d647;background:#30253b7d;color:#c3b1e0;border-radius:5px;padding:5px 8px;font:9px var(--mono)}.report-footnote{font:8px/1.6 var(--mono);color:#5b7b90;margin-top:17px}.restart-warning{font-size:12px;color:#d5b590;line-height:1.7;background:#543b241e;border:1px solid #9b765338;padding:14px;border-radius:8px}.danger-button{background:#4e242c;border-color:#98606b;color:#f1c4ca}.danger-button:hover{background:#71333e}.empty-journal{font-size:13px;color:#8da9bd;padding:25px 0;text-align:center}.story-content.collapsed{display:block}
@keyframes bubble-in{from{opacity:0;transform:translateY(7px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes typing-dot{0%,60%,100%{opacity:.4;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}@keyframes stat-flash{0%,100%{color:var(--ink)}30%{color:var(--meter-color);text-shadow:0 0 9px var(--meter-color)}}@keyframes toast-in{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1500px){.game-shell{padding-top:26px}.stage{grid-template-columns:310px minmax(350px,1fr) 310px;gap:50px;min-height:583px}.phone-stage{height:595px;margin-top:-66px}.phone-device{width:310px;height:607px;border-radius:47px;padding:9px}.phone-screen{border-radius:38px}.phone-stand{top:595px;width:362px}.connection-caption{top:635px}.phone-status{height:39px;flex-basis:39px;padding:0 21px}.chat-header{padding:10px 17px 17px;gap:12px}.chat-person strong{font-size:16px}.chat-person>span{font-size:10px}.chat-log{padding:12px 15px 7px;gap:12px}.message-bubble{font-size:13px;padding:11px 13px}.message-meta{font-size:8px}.chat-avatar{width:41px;height:41px}.profile-panel,.stats-panel,.situation-panel{padding:19px}.profile-copy p{font-size:12px}.profile-copy blockquote{font-size:11px}.emotion-meters{gap:19px}.emotion-track{height:8px}.emotion-label{font-size:12px}.situation-description{font-size:12px}.story-copy p{font-size:12px}.story-copy h2{font-size:16px}.response-card{min-height:146px;padding:16px 18px}.response-card .choice-text{font-size:12px}.card-heading strong{font-size:13px}.card-heading small{font-size:10px}.terminal-brand h2{font-size:16px}.decision-heading p{font-size:12px}.internal-thought{font-size:9px}.ai-terminal{margin-top:15px;padding:17px 19px 14px}.connection-caption i{display:inline;color:#667f7d;font:normal 6px var(--mono);letter-spacing:.5px;margin-left:12px}}
@media(min-width:761px) and (max-width:1120px){.game-shell{padding:20px 20px 14px}.brand-name{font-size:35px}.brand p{font-size:11px}.stage{grid-template-columns:235px minmax(245px,1fr) 235px;gap:20px;min-height:523px}.profile-panel,.stats-panel,.situation-panel{padding:14px}.profile-main{gap:9px}.kevin-portrait{width:47px;height:47px}.profile-copy h1{font-size:15px}.online-label{font-size:8px;margin-left:5px;padding-left:5px}.profile-copy p{font-size:9px}.profile-copy blockquote{font-size:9px}.subject-id{font-size:6px}.phone-device{width:258px;height:514px;border-radius:39px;padding:7px}.phone-screen{border-radius:32px}.phone-stage{margin-top:-38px;height:510px}.phone-stand{top:506px;width:295px}.connection-caption{top:544px;font-size:6px}.message-bubble{font-size:11px}.phone-status{padding:0 17px}.phone-status-icons{width:39px}.phone-status-icons svg{width:39px}.phone-island{width:79px}.chat-header{gap:7px;padding:7px 12px 11px}.chat-avatar{width:34px;height:34px}.chat-person strong{font-size:13px}.chat-person>span{font-size:8px}.emotion-meters{gap:16px}.situation-description{font-size:10px}.story-copy{padding:13px}.story-copy h2{font-size:14px}.story-copy p{font-size:10px}.story-top{padding:12px 13px}.field-note p{font-size:16px}.system-whisper{font-size:5.5px}.terminal-status{display:none}.response-card{padding:12px;min-height:140px}.response-card .choice-text{padding-left:0;font-size:10px}.response-card .card-header{gap:8px}.card-heading strong{font-size:11px}.card-heading small{font-size:8px}.response-choices.has-custom{grid-template-columns:repeat(3,minmax(0,1fr))}.response-choices.has-custom .custom-card{grid-column:1/-1;display:grid;grid-template-columns:180px 1fr 1fr;gap:15px;align-items:center;min-height:75px}.custom-card .card-header{margin:0}.custom-entry{margin:0}.custom-count{display:none}.terminal-progress{font-size:6px}.internal-thought{font-size:7px}.thought-label{display:none}.save-status{font-size:7px}.right-rail{gap:22px}}
@media(min-width:761px) and (max-height:800px){.game-shell{padding-top:16px}.brand-name{font-size:35px}.brand p{font-size:11px}.brand{margin-bottom:15px}.stage{min-height:496px}.phone-stage{margin-top:-43px}.phone-device{height:514px;width:260px;border-radius:39px}.phone-screen{border-radius:31px}.phone-stand{top:506px;width:290px}.connection-caption{top:542px}.profile-panel,.stats-panel,.situation-panel{padding:14px}.emotion-meters{gap:14px}.left-rail{gap:10px}.mood-summary{margin-top:13px;padding-top:10px}.panel-eyebrow{margin-bottom:12px}.situation-description{font-size:10px}.situation-panel .panel-eyebrow{margin-bottom:12px}.story-copy{padding:14px}.story-copy p{font-size:10px}.scene-art-wrap{aspect-ratio:1.5}.response-card{min-height:125px}.field-note p{font-size:16px}.ai-terminal{margin-top:10px}.chat-person>span{font-size:8px}.chat-header{padding:5px 12px 10px;gap:8px;min-height:55px}.chat-avatar{width:34px;height:34px}.chat-person strong{font-size:13px}.message-bubble{font-size:11px}.chat-log{gap:9px}}
@media(max-width:760px){body{font-size:14px}.room-background{background-position:51% center;opacity:.65}.room-vignette{background:linear-gradient(#050b11aa,#050c13e0 40%,#050c13 90%)}.game-shell{padding:15px 14px 18px;max-width:600px}.topbar{gap:10px;align-items:center}.brand{margin:0 0 15px 0}.brand-name{font-size:25px;letter-spacing:-1.5px}.brand-name>span{letter-spacing:-1px;margin-left:2px}.brand-star{font-size:12px;margin-left:5px}.brand p{font-size:9px;margin:4px 0 0 1px;white-space:nowrap}.game-controls{gap:6px;padding:0 0 13px}.icon-button{width:31px;height:31px;padding:7px;border-radius:8px}.icon-button svg{width:15px;height:15px}.menu-button{width:32px;height:31px;padding:7px;border-radius:8px}.menu-button>span:last-child{display:none}.menu-button svg{width:15px;height:15px}.save-status{display:none}#journal-button{display:none}.stage{display:flex;flex-direction:column;gap:11px;min-height:0;margin-top:0}.left-rail{display:contents}.profile-panel,.situation-panel,.system-whisper{display:none}.stats-panel{order:0;width:100%;padding:13px 12px;border-radius:10px;background:#08131ecf}.stats-panel>.panel-eyebrow,.mood-summary{display:none}.emotion-meters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}.emotion-row{display:block}.emotion-icon{display:none}.emotion-label{font-size:9px;gap:3px;margin-bottom:6px}.emotion-value{font-size:8px}.emotion-track{height:5px}.right-rail{order:1;width:100%;padding:0;gap:0}.story-panel{border-radius:10px;background:#0a1620da}.story-top{padding:10px 12px;justify-content:flex-start;gap:9px}.story-top>span:first-child{font-size:10px}.story-top>span:nth-child(2){font-size:9px;margin-left:auto}.mobile-chevron{display:block;color:#94b3c5;font-size:15px;margin-left:4px;line-height:1}.story-content{display:grid;grid-template-columns:87px 1fr;gap:12px;padding:0 12px 12px}.story-content.collapsed{display:none}.scene-art-wrap{margin:0;aspect-ratio:1/1;border-radius:7px;align-self:start}.scene-art-label{display:none}.story-copy{padding:0;align-self:center}.story-arc{font-size:6px;margin-bottom:4px;letter-spacing:1px}.story-copy h2{font-size:12px;line-height:1.3;margin-bottom:4px}.story-copy p{font-size:10px;line-height:1.5;color:#99afbf}.story-footer{display:none}.field-note{display:none}.phone-stage{order:2;height:auto;width:100%;margin:0;padding:0;display:block}.phone-device{width:100%;height:min(47dvh,420px);min-height:310px;transform:none;padding:0;border:1px solid #3652628c;border-radius:13px;background:#07121d;box-shadow:0 10px 25px #0002}.phone-device::before,.phone-side-button,.phone-status,.phone-shadow,.phone-stand,.connection-caption,.phone-home{display:none}.phone-screen{border:0;border-radius:12px;background:linear-gradient(145deg,#0c1722,#07111b)}.chat-header{padding:11px 13px;gap:10px;min-height:61px;border-bottom:1px solid #8599b318}.chat-avatar{width:35px;height:35px}.chat-chevron{font-size:26px;margin-right:1px;display:none}.chat-person strong{font-size:14px}.chat-person>span{font-size:9px}.chat-sparkle{font-size:25px;margin-right:3px}.chat-day{font-size:7px;padding-top:9px}.chat-log{padding:9px 13px 8px;gap:9px}.message-group{max-width:85%}.message-bubble{font-size:12px;padding:9px 12px}.message-meta{font-size:8px}.phone-composer{display:none}.typing-row{padding:3px 13px 10px;gap:8px}.typing-bubble{padding:9px 10px;width:46px;gap:4px}.typing-bubble i{width:5px;height:5px}.typing-row>span{font-size:8px}.ai-terminal{margin-top:12px;padding:13px 12px 11px;border-radius:12px;background:linear-gradient(135deg,#0a1a27f7,#06101af7)}.terminal-top{gap:8px}.terminal-brand{gap:7px}.terminal-brand svg{width:21px;height:21px}.terminal-brand h2{font-size:12px;letter-spacing:.8px}.terminal-status,.model-label{display:none}.terminal-tools{gap:0}.text-button{font-size:9px}.decision-heading{margin:9px 0 9px}.decision-heading p{font-size:10px}.decision-heading p>span{display:none}.keyboard-hint{display:none}.question-echo{display:block;font:10px/1.5 var(--sans);color:#94acbf;margin:0 0 11px;border-left:2px solid #33576b;padding-left:8px}.response-choices,.response-choices.has-custom{grid-template-columns:1fr;gap:8px}.response-card{min-height:0;padding:12px 13px;display:grid;grid-template-columns:27px 1fr;column-gap:11px;row-gap:5px;overflow:visible;border-radius:8px;background:linear-gradient(100deg,#122331b0,#0e1c29a1)}.response-card .card-header{display:contents}.choice-key{grid-column:1;grid-row:1/3;width:26px;height:26px;font-size:14px;align-self:center}.card-heading{grid-column:2}.card-heading strong{font-size:11px}.card-heading small{display:none}.response-card .choice-text{grid-column:2;font-size:10px;line-height:1.6;padding-left:0;color:#b9cbd9}.response-card:not(:disabled):hover{transform:none}.custom-card{display:grid;grid-template-columns:27px 1fr;padding:13px}.custom-card .choice-text{font-size:10px}.custom-entry{grid-column:1/-1;margin-top:4px;gap:8px}.custom-entry textarea{font-size:16px;height:44px;padding:10px}.custom-send{height:43px;width:42px;padding:11px}.custom-send svg{width:19px;height:19px}.custom-count{grid-column:1/-1;font-size:8px;margin:0}.terminal-bottom{display:block;padding-top:10px}.internal-thought{font-size:8px;line-height:1.6;gap:6px;align-items:flex-start}.thought-icon{margin-top:1px;align-self:flex-start;flex-shrink:0}.thought-label{display:none}.terminal-progress{display:block;font-size:6px;margin-top:9px;padding-top:8px;border-top:1px solid #829ab015;text-align:right}.terminal-progress>span{font-size:7px;margin-left:5px;letter-spacing:2px}.page-footer{padding-top:12px;gap:8px;font-size:6px;letter-spacing:.4px}.page-footer>span:nth-child(2){display:none}.page-footer button{font-size:9px}.transition-card{min-height:0;display:block;padding:17px;grid-column:1}.transition-copy h3{font-size:20px}.transition-copy p{font-size:11px}.transition-copy>span{font-size:7px}.transition-card .primary-button{width:100%;margin-top:16px;min-height:43px}.game-dialog{padding:27px 23px 23px;max-height:calc(100dvh - 28px);border-radius:15px}.game-dialog h2{font-size:24px}.dialog-description{font-size:12px}.dialog-buttons{gap:8px;flex-wrap:wrap}.dialog-buttons>*{min-width:120px}.journal-grid{grid-template-columns:1fr}.journal-scene{min-height:62px}.report-rating{font-size:24px}.report-human{gap:10px}.report-human img{width:47px;height:47px}.report-human strong{font-size:14px}.report-human span{font-size:7px}.report-verdict h3{font-size:21px}.report-line{font-size:10px;gap:13px}.settings-row{gap:12px}.settings-row select{min-width:90px;font-size:11px}.settings-copy p{font-size:10px}.emotion-guide{gap:8px}.emotion-guide>div{padding:11px}.emotion-guide p{font-size:9px}.toast-region{top:12px}.toast{font-size:11px;padding:12px 15px}}
@media(max-width:370px){.game-shell{padding:12px 10px 14px}.brand-name{font-size:22px}.brand p{font-size:8px}.game-controls{gap:4px}.emotion-meters{gap:7px}.emotion-label{font-size:8px}.emotion-value{font-size:7px}.story-content{grid-template-columns:72px 1fr;gap:10px}.story-copy p{font-size:9px}.story-copy h2{font-size:11px}.terminal-brand h2{font-size:11px}.decision-heading p{font-size:9px}.response-card .choice-text{font-size:9px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}.room-background{transform:none}.phone-device{transform:none}}

/* Comfortable reading takes priority over squeezing the entire game above the fold. */
.response-card .choice-text{font-size:13px;line-height:1.6}.card-heading strong{font-size:13px}.card-heading small{font-size:10px}.message-bubble{font-size:14px;line-height:1.5}.story-copy p{font-size:13px;line-height:1.7}.story-copy h2{font-size:16px}.situation-description{font-size:12px;line-height:1.65}.profile-copy blockquote{font-size:11px}.profile-copy p{font-size:12px}.emotion-label{font-size:12px}.emotion-value{font-size:12px}.internal-thought{font-size:10px;line-height:1.5}.thought-label{font-size:7px}.decision-heading p{font-size:12px}.message-meta{font-size:9px}.chat-person>span{font-size:10px}.report-final-message{font-size:13px;line-height:1.7;color:#b6d4da;margin:0 0 20px}.share-fallback{width:100%;min-height:220px;resize:vertical;border:1px solid #45667a;border-radius:10px;background:#07121c;color:#c5dbe8;font:12px/1.7 var(--mono);padding:14px}.report-line{font-size:12px}.report-footnote{font-size:10px}.achievement-tag{font-size:10px}.journal-scene strong{font-size:13px}.journal-scene small{font-size:11px}.journal-notice{font-size:11px}
@media(min-width:1121px){.stage{min-height:578px}.phone-device{width:310px;height:607px;border-radius:47px;padding:9px}.phone-screen{border-radius:38px}.phone-stand{top:595px;width:354px}.phone-stage{height:596px;margin-top:-57px}.connection-caption{top:630px}.phone-status{height:39px;flex-basis:39px;padding:0 21px}.chat-header{padding:9px 16px 14px}.chat-avatar{width:40px;height:40px}.chat-person strong{font-size:16px}.profile-panel,.stats-panel,.situation-panel{padding:18px}.emotion-meters{gap:18px}.response-card{min-height:148px}}
@media(min-width:761px) and (max-width:1120px){.profile-copy p{font-size:10px}.profile-copy blockquote{font-size:10px}.message-bubble{font-size:13px}.response-card .choice-text{font-size:12px}.story-copy p{font-size:12px}.story-copy h2{font-size:15px}.internal-thought{font-size:9px}.stage{min-height:548px}.connection-caption{top:544px}.situation-description{font-size:11px}.emotion-label,.emotion-value{font-size:11px}.chat-person>span{font-size:9px}.card-heading strong{font-size:12px}}
@media(max-width:760px){.response-card .choice-text{font-size:13px;line-height:1.6}.card-heading strong{font-size:13px}.message-bubble{font-size:14px;line-height:1.55}.story-copy p{font-size:12px;line-height:1.6}.story-copy h2{font-size:14px}.situation-description{font-size:12px}.emotion-label{font-size:10px}.emotion-value{font-size:9px}.internal-thought{font-size:10px;line-height:1.6}.decision-heading p{font-size:11px}.question-echo{font-size:12px}.phone-device{height:min(48dvh,440px);min-height:330px}.chat-person>span{font-size:10px}.custom-card .choice-text{font-size:12px}.custom-entry textarea{font-size:16px}.response-card{padding:13px}.story-content{grid-template-columns:80px 1fr}.emotion-guide p{font-size:11px}.journal-scene strong{font-size:13px}.journal-scene small{font-size:11px}.settings-copy p{font-size:11px}.report-line{font-size:11px}.report-final-message{font-size:12px}}
@media(max-width:370px){.emotion-label{font-size:9px}.emotion-value{font-size:8px}.response-card .choice-text{font-size:13px}.card-heading strong{font-size:13px}.story-copy p{font-size:12px}.story-copy h2{font-size:13px}.internal-thought{font-size:9px}}
@media(min-width:1121px){.game-shell{padding-top:18px}.brand-name{font-size:45px}.brand{margin-bottom:14px}.profile-panel,.stats-panel,.situation-panel{padding:16px 18px}.panel-eyebrow{margin-bottom:12px}.stats-panel .panel-eyebrow{margin-bottom:13px}.emotion-meters{gap:13px}.mood-summary{padding-top:9px;margin-top:12px;font-size:8px}.situation-panel .panel-eyebrow{margin-bottom:11px}.situation-description{margin:10px 0 11px}.session-indicator{padding-top:9px}.left-rail{gap:10px}.ai-terminal{padding:14px 18px 11px}.response-card{min-height:132px;padding:14px 17px}.terminal-bottom{padding-top:10px}.decision-heading{margin-top:8px;margin-bottom:10px}.stage{min-height:575px}.right-rail{gap:19px}.story-copy{padding:14px 16px 16px}.field-note p{font-size:19px}}
@media(min-width:1121px){.brand-name{font-size:64px;line-height:.95;letter-spacing:-1.8px}.brand p{font-size:17px}.field-note p{font-size:25px;line-height:1.3}}
@media(max-width:760px){.brand-name{font-size:33px;line-height:1;letter-spacing:-.8px}.brand p{font-size:12px;line-height:1.2}.brand-star{margin-left:3px}.game-controls{padding-bottom:10px}}
@media(max-width:370px){.brand-name{font-size:30px}.brand p{font-size:10.5px}.brand-star{font-size:11px}}
@media(min-width:761px) and (max-width:900px){.stage{grid-template-columns:200px minmax(240px,1fr) 200px;gap:14px}.game-shell{padding-left:16px;padding-right:16px}.brand-name{font-size:40px;line-height:1.05;letter-spacing:-1px}.brand p{font-size:12px}.save-status{display:none}.profile-panel,.stats-panel,.situation-panel{padding:13px}.subject-id{display:none}.profile-main{gap:7px}.kevin-portrait{width:43px;height:43px}.profile-copy p{font-size:9px}.profile-copy blockquote{font-size:9px}.profile-copy h1{font-size:14px}.online-label{font-size:7px;margin-left:4px;padding-left:4px}.situation-description{font-size:11px}.story-copy{padding:12px}.story-copy h2{font-size:14px}.story-copy p{font-size:12px}.field-note{padding-left:8px}.field-note p{font-size:23px;line-height:1.3}.response-card .choice-text{font-size:12px}.card-heading small{font-size:8px}.keyboard-hint{font-size:6px}.terminal-progress{display:none}.page-footer{letter-spacing:.5px;font-size:6px}}
@media(max-width:760px){.phone-device{height:clamp(300px,39dvh,360px);min-height:300px}.story-content.collapsed{display:grid;grid-template-columns:42px 1fr;gap:10px;padding:0 12px 10px}.story-content.collapsed .scene-art-wrap{width:42px;height:42px;aspect-ratio:1}.story-content.collapsed .story-copy{align-self:center}.story-content.collapsed .story-copy h2{font-size:13px;line-height:1.35;margin:0}.story-content.collapsed .story-copy p,.story-content.collapsed .story-arc{display:none}.story-top{padding:8px 12px}.story-content.collapsed .scene-art-shade{background:none}}

/* Give the answers the terminal space previously used by the two info strips. */
.terminal-top{margin-bottom:14px}
.response-card .choice-text,.custom-card .choice-text{font-size:18px;line-height:1.55}
.card-heading strong{font-size:16px}
.card-heading small{font-size:12px}
.response-card{min-height:158px}
@media(min-width:761px) and (max-width:1120px){.response-card .choice-text,.custom-card .choice-text{font-size:17px}.card-heading small{font-size:11px}}
@media(max-width:760px){.terminal-top{margin-bottom:12px}.response-card{min-height:0;padding:15px 13px}.response-card .choice-text,.custom-card .choice-text{font-size:16px;line-height:1.55}.card-heading strong{font-size:15px}}

/* Caption-only choices: the full authored reply is revealed in the phone chat. */
.response-card[data-choice]{display:flex;justify-content:center;min-height:126px;padding:23px 20px}
.response-card[data-choice] .card-header{display:flex;align-items:center;gap:16px;margin:0}
.response-card .card-heading strong{font-size:24px;line-height:1.25}
.response-card .card-heading small{font-size:14px;line-height:1.45;margin-top:6px}
.response-card[data-choice] .choice-key{width:40px;height:40px;font-size:21px}
@media(min-width:761px) and (max-width:1120px){.response-card .card-heading strong{font-size:22px}.response-card .card-heading small{font-size:13px}}
@media(max-width:760px){.response-card[data-choice]{min-height:88px;padding:18px 15px}.response-card[data-choice] .card-header{gap:13px}.response-card .card-heading strong{font-size:20px}.response-card .card-heading small{display:block;font-size:13px;line-height:1.4;margin-top:4px}.response-card[data-choice] .choice-key{width:32px;height:32px;font-size:18px}}

/* Compact mobile title keeps the game close to the top of the screen. */
@media(max-width:760px){
  .game-shell{padding-top:10px}
  .topbar{height:32px;min-height:32px;margin-bottom:10px;align-items:center;gap:10px}
  .brand{flex:1;min-width:0;margin:0}
  .brand-name{font-family:var(--sans);font-size:18px;font-weight:700;line-height:1.2;letter-spacing:-.3px;transform:none;text-shadow:none}
  .brand-name>span{font-size:1em;letter-spacing:inherit;transform:none;margin-left:0}
  .brand-star,.brand p{display:none}
  .game-controls{padding:0;gap:8px;align-items:center}
  .game-controls .icon-button,.game-controls .menu-button{height:32px;width:32px}
}

/* Scene backgrounds crossfade only after the incoming image has decoded. */
.room-background{overflow:hidden}
.room-background-image{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:50% 50%;pointer-events:none;will-change:opacity}

/* Keep the desktop conversation upright and comfortable to read. */
@media(min-width:761px){.phone-device{transform:none}}

/* A prominent, easy-to-tap control for continuing Kevin's story. */
.transition-card .primary-button[data-action="advance"]{min-width:260px;min-height:80px;padding:20px 36px;border-radius:12px;font-size:22px;line-height:1.25;gap:16px}
@media(max-width:760px){.transition-card .primary-button[data-action="advance"]{width:100%;min-width:0;min-height:72px;padding:18px 24px;font-size:21px}}

/* The story card already provides context; keep the desktop left rail compact. */
@media(min-width:761px){.situation-panel,.system-whisper{display:none}}

/* A slightly larger desktop device with proportionately more readable chat. */
@media(min-width:761px){
  .phone-screen .message-bubble{font-size:15px;line-height:1.5}
  .phone-screen .message-meta{font-size:10px}
  .phone-screen .chat-person>span{font-size:11px}
  .phone-screen .typing-row>span{font-size:10px}
  .phone-screen .phone-composer>div{font-size:10px}
}
@media(min-width:1121px){
  .stage{min-height:635px}
  .phone-stage{height:656px}
  .phone-device{width:340px;height:666px;border-radius:51px;padding:10px}
  .phone-screen{border-radius:41px}
  .phone-screen .message-bubble{font-size:16px}
  .phone-screen .chat-person strong{font-size:18px}
  .phone-screen .chat-avatar{width:44px;height:44px}
  .phone-screen .phone-status{height:42px;flex-basis:42px;font-size:11px}
  .phone-stand{top:654px;width:390px}
  .connection-caption{top:690px}
}
@media(min-width:761px) and (max-width:1120px){
  .stage{min-height:588px}
  .phone-stage{height:550px}
  .phone-device{width:280px;height:556px;border-radius:42px;padding:8px}
  .phone-screen{border-radius:34px}
  .phone-screen .chat-person strong{font-size:15px}
  .phone-screen .chat-person>span{font-size:10px}
  .phone-stand{top:547px;width:320px}
  .connection-caption{top:585px}
}
@media(min-width:1121px) and (max-height:800px){
  .stage{min-height:605px}
  .phone-stage{height:624px;margin-top:-65px}
  .phone-device{width:324px;height:634px;border-radius:49px;padding:9px}
  .phone-screen{border-radius:40px}
  .phone-screen .message-bubble{font-size:15px}
  .phone-stand{top:622px;width:370px}
  .connection-caption{top:658px}
}

/* Fade the light treatment with the decoded photo, rather than during loading. */
.brand-icon{display:none}
/* Trade a little answer-card height for more room to read on phones. */
@media(max-width:760px){
  .phone-device{height:min(55dvh,480px);min-height:350px}
  .response-card[data-choice]{min-height:72px;padding:12px}
  .response-card[data-choice] .card-header{gap:10px}
  .response-card .card-heading strong{font-size:18px;line-height:1.25}
  .response-card .card-heading small{font-size:12px;line-height:1.4;margin-top:3px}
  .response-card[data-choice] .choice-key{width:28px;height:28px;font-size:16px}
}
/* The typing lane only takes space while active; the transcript preserves its reading anchor. */
.typing-slot{height:52px;flex:0 0 52px;display:flex;align-items:center;position:relative}
.typing-slot>.typing-row{width:100%;padding:6px 15px}
.chat-log{padding-bottom:10px}
@media(max-width:760px){.typing-slot{height:44px;flex-basis:44px}.typing-slot>.typing-row{padding:5px 13px}.chat-log{padding-bottom:10px}}
.ui-arrow{display:inline-block;vertical-align:middle;width:1.15em;height:1.15em;flex:0 0 auto}
.menu-grid button svg{width:18px;height:18px;flex-shrink:0}
.chat-chevron svg{display:block;width:21px;height:25px}
.mobile-chevron svg{display:block;width:15px;height:15px}
.load-older-messages{display:inline-flex;align-items:center;justify-content:center;gap:6px}
.load-older-messages::before{content:"";display:block;width:14px;height:14px;flex:0 0 auto;background:currentColor;-webkit-mask:url('./assets/icons/arrow-up.svg') center/contain no-repeat;mask:url('./assets/icons/arrow-up.svg') center/contain no-repeat}
@media(max-width:760px){
  .game-shell>.stats-panel{position:sticky;top:calc(env(safe-area-inset-top,0px) + 8px);z-index:30;margin-bottom:11px;isolation:isolate;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);box-shadow:0 5px 20px #0004}
}
.chat-log{overflow-anchor:none}
.chat-log>.message-group,.chat-log>.message-system,.chat-log>.load-older-messages{flex-shrink:0}
.chat-log>.history-restored{animation:none}
.load-older-messages{align-self:center;border:1px solid #526d8580;border-radius:18px;background:#172637;color:#bbd7e8;font:11px/1.4 var(--sans);padding:9px 14px;min-height:36px;margin:3px 0 10px;max-width:100%;text-align:center}
.load-older-messages:hover{background:#203b50;border-color:#63d9c8;color:#ecfffa}
:root[data-theme="light"] .load-older-messages{background:#e4eee8;border-color:#8ea9a0;color:#2b5957}
@media(max-width:760px){.load-older-messages{font-size:11px;min-height:40px;padding:10px 15px}}
/* Lower the desktop identity and status group together, preserving its spacing. */
@media(min-width:761px){.game-shell{--left-rail-offset:32px}.topbar>.brand{position:relative;top:var(--left-rail-offset)}.left-rail{padding-top:var(--left-rail-offset)}}
@media(min-width:761px){.brand-icon{display:block;width:clamp(68px,6vw,88px);height:auto;aspect-ratio:1;border-radius:19%;box-shadow:0 5px 18px #0005}.brand .brand-name{display:none}.brand p{margin-top:8px}}
.room-vignette{background:none}
.room-vignette::before,.room-vignette::after{content:"";position:absolute;inset:0;pointer-events:none;transition:opacity 850ms ease-in-out}
.room-vignette::before{opacity:1;background:linear-gradient(90deg,rgba(2,9,15,.58),transparent 34%,rgba(5,7,12,.06) 64%,rgba(5,9,16,.35)),linear-gradient(0deg,#060b12 0%,rgba(5,8,13,.25) 37%,rgba(5,8,13,.12) 75%,rgba(3,8,13,.56))}
.room-vignette::after{opacity:0;background:linear-gradient(90deg,#f5f0e936,transparent 40%,#f5f0e912),linear-gradient(0deg,#eee8dcd9,transparent 36%,#fff8ee24)}
:root[data-background-theme="light"] .room-vignette::before{opacity:0}
:root[data-background-theme="light"] .room-vignette::after{opacity:1}
@media(max-width:760px){.room-background-image{object-position:51% 50%}.room-vignette::before{background:linear-gradient(#050b11aa,#050c13e0 40%,#050c13 90%)}.room-vignette::after{background:linear-gradient(#fff9,#f4eee5ce 50%,#f0ece4e8)}}
