:root{--ink:#293e34;--paper:#ede8dc;--muted:#798072;--green:#3b5b49;--rust:#ad6149}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:'DM Sans',sans-serif}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid #b66a46;outline-offset:4px}header{height:83px;max-width:1392px;margin:auto;padding:0 44px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #d2d1c3}.brand{display:flex;align-items:center;gap:12px;font-size:11px;letter-spacing:2px;font-weight:700;color:var(--ink);text-decoration:none}.brand b{font:italic 31px 'DM Serif Display',Georgia;letter-spacing:-3px;background:var(--ink);color:var(--paper);padding:0 9px 5px 6px;border-radius:7px}.brand span{color:#929586;letter-spacing:1px}.topright{display:flex;align-items:center;gap:25px;font-size:9px;letter-spacing:1.5px}.topright button{border:1px solid #c8cabc;background:transparent;color:#53654f;border-radius:25px;padding:8px 14px;font-size:11px;letter-spacing:0}main{max-width:1288px;margin:auto;padding:38px 44px 0}.titleline{display:flex;justify-content:space-between;align-items:center;margin-bottom:27px}.eyebrow{font-size:9px;font-weight:700;letter-spacing:2.7px;color:#8b7658;margin:0 0 9px}h1{font-family:'DM Serif Display',Georgia,serif;font-size:49px;letter-spacing:-1.7px;font-weight:400;line-height:1.12;margin:0}h1 span{color:var(--rust)}.dek{font-size:13px;color:#717767;margin:10px 0 0}.appointment{display:flex;gap:11px;font-size:10px;letter-spacing:1px;align-items:center;padding-top:14px}.appointment i,.scene-bar i{width:6px;height:6px;background:#83916a;border-radius:50%;display:inline-block}.appointment small{display:block;font-size:10px;letter-spacing:0;color:#8b8e7d;margin-top:5px}.game{border:1px solid #b4bba7;border-radius:12px;overflow:hidden;box-shadow:0 12px 32px #4c583312;background:#f8f5eb}.scene-bar{height:39px;background:#334f40;color:#e6e9d9;display:flex;align-items:center;justify-content:space-between;padding:0 23px;font-size:8px;letter-spacing:1.5px}.scene-bar span:first-child{display:flex;gap:8px;align-items:center}.scene-bar i{background:#c0c58a}.scene-bar>span:nth-child(2){opacity:.58}.clock{font-size:12px;letter-spacing:1px}.clock small{font-size:7px}.scene{position:relative;background:#e5deca;overflow:hidden}.scene svg{width:100%;display:block}.scene:after{content:'';position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 80px #80714c13;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='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23000' opacity='.06' filter='url(%23n)' d='M0 0h180v180H0z'/%3E%3C/svg%3E");opacity:.5}.scene-note{position:absolute;left:3%;bottom:5%;font-size:7px;letter-spacing:1.8px;color:#5e6856}.room-label{position:absolute;right:3%;top:30%;writing-mode:vertical-rl;font-size:8px;letter-spacing:2px;color:#7a7d63}.room-label small{font-size:6px;margin-top:8px;opacity:.65}#sandwich-hit{position:absolute;left:47.5%;top:51%;width:8%;height:11%;border:0;background:transparent;border-radius:50%;z-index:2}#sandwich-hit:hover{box-shadow:0 0 0 2px #fff7dba8;background:#fff6d91a}#sandwich-hit:disabled{pointer-events:none}.interview{display:grid;grid-template-columns:1fr 1fr;min-height:213px;border-top:1px solid #c6c2aa}.dialogue{padding:24px 28px 22px;border-right:1px solid #dedecf}.speaker{display:flex;align-items:center;gap:10px}.avatar{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#e4e5d4;color:#647059;font:11px Georgia}.speaker b{font-size:8px;letter-spacing:1.3px;display:block}.speaker small{display:block;color:#92927f;font-size:9px;margin-top:4px}#question-count{margin-left:auto;font-size:7px;letter-spacing:1px;color:#8a8e7b}.dialogue>p{font:21px/1.4 'DM Serif Display',Georgia;margin:18px 0 0;min-height:59px}.choices{padding:19px 23px;display:flex;flex-direction:column;justify-content:center;gap:8px}.choice{display:flex;align-items:center;text-align:left;gap:12px;padding:11px 14px;border:1px solid #cfd3c0;border-radius:6px;background:#f3f2e6;color:var(--ink);transition:background .15s,transform .15s,border .15s;min-height:44px}.choice:hover{transform:translateX(3px);background:#e5e9d6;border-color:#879a77}.choice:disabled{opacity:.5;cursor:default;transform:none}.choice.primary{background:var(--green);color:#fff6de;border-color:var(--green)}.choice.primary:hover{background:#2b4837}.choice .key{font-size:9px;display:grid;place-items:center;width:19px;height:19px;border:1px solid #b5bfaa;border-radius:4px;opacity:.7;flex-shrink:0}.choice .word{font:19px Georgia;min-width:80px}.choice .meaning{color:#8c947d;font-size:10px;margin-left:auto}.choice.primary .meaning{color:#cad2b6}.choice .arrow{margin-left:auto}#toast{position:absolute;left:50%;top:9%;transform:translate(-50%,-8px);opacity:0;background:#fff8e6;border:1px solid #b6b69a;border-radius:6px;padding:10px 18px;font-size:12px;z-index:4;transition:.3s;max-width:85%;text-align:center;pointer-events:none;box-shadow:0 5px 20px #403f2420}#toast.show{opacity:1;transform:translate(-50%,0)}.under-game{display:flex;align-items:center;gap:24px;margin-top:20px}.meters{display:flex;gap:30px;align-items:center;flex:1}.meter-item{width:160px}.meter-item>span{font-size:7px;letter-spacing:1px;display:flex;justify-content:space-between;margin-bottom:7px;color:#7a806d}.meter-item b{font-weight:500;color:#53684d}.track{height:4px;background:#d4d7c7;border-radius:4px;overflow:hidden}.track i{display:block;height:100%;width:50%;background:#81956b;transition:width .7s}.track.suspicion i{width:20%;background:#bc8662}.lunch{border-left:1px solid #cdd0be;padding-left:26px}.lunch span{font-size:7px;letter-spacing:1.3px;color:#858974;display:block}.lunch b{font-size:10px;font-weight:500;display:block;margin-top:6px}.tip{font:italic 12px Georgia;color:#8b8e79}footer{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #d2d1c3;margin-top:27px;padding:18px 0 24px;color:#92947e;font-size:7px;letter-spacing:1px}footer button{background:transparent;border:0;color:#62745b;font-size:10px;letter-spacing:0}#pigeon-body{transform-origin:355px 370px;animation:breathe 3s ease-in-out infinite}#pigeon-head{transform-origin:360px 276px;animation:bob 4s ease-in-out infinite}#manager-head{transform-origin:877px 222px;animation:managerIdle 7s ease-in-out infinite}.eyes{transform-origin:877px 160px;animation:blink 5s infinite}.steam{animation:steam 3s infinite}.talk #manager-head{animation:talk .4s ease-in-out 4}.coo #pigeon-head{animation:coo .35s ease-in-out 3}.coo #coo-bubble{opacity:1;transition:opacity .2s}.stealing #pigeon{animation:steal 1s ease-in-out}.stolen #sandwich{visibility:hidden}.angry #mouth{d:path('M864 197q14-12 27 0')}.happy #mouth{d:path('M864 190q14 17 27 0')}.reaction .dialogue{animation:reveal .3s ease-out}.ending .scene{background:#d4dac3}.ending #pigeon-body{animation:breathe 1.8s infinite}.ending .dialogue>p{font-size:18px}.confetti{position:absolute;top:-10px;width:5px;height:10px;z-index:5;animation:fall 2.5s ease-in forwards;pointer-events:none}@keyframes breathe{50%{transform:scaleY(1.015)}}@keyframes bob{0%,70%,100%{transform:rotate(0)}75%{transform:rotate(-5deg)}85%{transform:rotate(3deg)}}@keyframes managerIdle{50%{transform:rotate(1deg)}}@keyframes blink{0%,42%,45%,100%{transform:scaleY(1)}43%,44%{transform:scaleY(.1)}}@keyframes steam{0%{opacity:0;transform:translateY(4px)}50%{opacity:.6}100%{opacity:0;transform:translateY(-8px)}}@keyframes talk{50%{transform:translateY(-3px) rotate(-1deg)}}@keyframes coo{50%{transform:translateX(9px) rotate(7deg)}}@keyframes steal{0%,100%{transform:translate(0)}45%,60%{transform:translate(218px,-57px) rotate(-8deg)}}@keyframes reveal{from{opacity:.4;transform:translateY(5px)}}@keyframes fall{to{transform:translateY(500px) rotate(400deg);opacity:0}}
/* A single, thumb-friendly portrait layout on every screen. */
html{background:#dedbcf;min-height:100%;-webkit-text-size-adjust:100%}
body{max-width:480px;margin:0 auto;min-height:100svh;box-shadow:0 0 70px #34452a16;padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom)}
header{height:48px;padding:0 16px;gap:12px}.brand{font-size:9px;gap:9px;letter-spacing:1.5px}.brand b{font-size:25px;padding-bottom:3px}.topright{gap:0}.topright>span{display:none}.topright button{min-width:74px;min-height:44px;border:0;font-size:11px;padding:8px;touch-action:manipulation}
main{padding:17px 12px 0}.titleline{display:block;margin-bottom:16px}.eyebrow{font-size:8px;letter-spacing:1.8px;margin-bottom:6px}h1{font-size:clamp(29px,8vw,38px);letter-spacing:-1px;line-height:1.08}.dek{font-size:11px;line-height:1.4;margin-top:7px}.appointment{display:none}
.game{border-radius:11px;box-shadow:0 5px 20px #4c583310}.scene-bar{height:30px;padding:0 12px;font-size:8px;letter-spacing:.8px}.scene-bar>span:nth-child(2){display:none}.clock{font-size:11px}.scene{aspect-ratio:825/460;width:100%;height:auto}.scene svg{position:absolute;inset:0;width:100%;height:100%}.room-label{display:none}.scene-note{left:10px;right:10px;bottom:7px;letter-spacing:.7px;font-size:6px;line-height:1.4}.scene:after{background-image:none}#sandwich-hit{min-width:44px;min-height:44px;touch-action:manipulation}#sandwich-hit[hidden]{display:none}
.interview{display:flex;flex-direction:column;min-height:0}.dialogue{border:0;padding:14px 16px 4px}.speaker{display:grid;grid-template-columns:26px minmax(0,1fr);gap:3px 9px;align-items:center}.avatar{width:26px;height:26px;grid-column:1;grid-row:1/3;font-size:9px}.speaker>div{grid-column:2;grid-row:2;min-width:0}.speaker b{font-size:9px;letter-spacing:.8px}.speaker small{display:none}#question-count{grid-column:2;grid-row:1;margin:0;font-size:9px;letter-spacing:.5px;color:#727e65;line-height:1.35}.dialogue>p{font-size:19px;line-height:1.32;margin:12px 0 5px;min-height:76px;overflow-wrap:break-word}.ending .dialogue>p{font-size:19px}
.choices{padding:9px 13px 14px;gap:7px;justify-content:flex-start;min-height:0}.choice{padding:10px 12px;min-height:50px;gap:9px;border-radius:7px;touch-action:manipulation}.choice .key{display:none}.choice .word{font-size:19px;min-width:83px;flex-shrink:0}.choice .meaning{font-size:12px;line-height:1.35;margin-left:0;color:#627157}.choice .arrow{font-size:16px;padding-left:3px;flex-shrink:0}.choice:active{transform:scale(.985);background:#e0e6d2}.choice.primary .meaning{color:#e0e7ce}.choice:disabled{opacity:.6}#toast{top:8px;padding:8px 12px;font-size:11px;line-height:1.3;width:max-content;max-width:90%;border-radius:7px}
.under-game{display:block;margin-top:14px}.meters{display:grid;grid-template-columns:1fr 1fr;gap:11px 20px}.meter-item{width:auto;min-width:0}.meter-item>span{font-size:8px;letter-spacing:.4px;gap:5px;margin-bottom:6px}.track{height:5px}.lunch{grid-column:1/-1;padding:0;border:0;display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:18px}.lunch span{font-size:8px;letter-spacing:.5px}.lunch b{font-size:11px;line-height:1.3;margin:0}.tip{display:none}footer{margin-top:10px;padding:4px 0 8px;min-height:46px;gap:10px;font-size:9px;letter-spacing:0}footer>span:first-child{display:none}footer button{font-size:12px;padding:8px 0;min-height:44px;touch-action:manipulation}footer>span:last-child{margin-left:auto;color:#6d795f}
@media(hover:hover){.choice:hover{transform:none}}
@media(max-width:350px){main{padding:13px 10px 0}h1{font-size:28px}.dek{font-size:10px}.titleline{margin-bottom:12px}.dialogue{padding:12px 13px 3px}.dialogue>p{font-size:18px}.choices{padding:8px 10px 12px}.choice{padding:9px 10px;gap:7px}.choice .word{min-width:72px;font-size:18px}.choice .meaning{font-size:11px}.meter-item>span{font-size:7px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}

/* Mouth and head motion follow the actual duration of each character's voice. */
.talk #manager-head{animation:talk .32s ease-in-out infinite}
.talk #mouth{animation:murmur-mouth .16s steps(2,end) infinite;transform-box:fill-box;transform-origin:center}
.coo #pigeon-head{animation:coo .35s ease-in-out infinite}
@keyframes murmur-mouth{50%{d:path('M864 190 Q877 188 891 190 Q885 204 877 203 Q869 202 864 190');fill:#81634c}}

.outcomes-panel{border:1px solid #cdd3bf;background:#f2f2e5;border-radius:10px;padding:14px;margin:0 0 18px;scroll-margin-bottom:12px}
.outcomes-heading{margin-bottom:12px;display:flex;align-items:center;justify-content:space-between;gap:10px}.outcomes-heading h2{font:22px 'DM Serif Display',Georgia;margin:0}.outcomes-heading>span{font-size:10px;color:#5e7354;white-space:nowrap}
.outcomes-panel>p{font-size:11px;color:#76816a;line-height:1.4;margin:6px 0 12px}.outcomes-grid{display:grid;grid-template-columns:1fr 1fr;list-style:none;padding:0;margin:0;gap:7px}
.outcome-card{display:flex;align-items:center;gap:8px;min-height:42px;padding:8px 9px;border:1px dashed #cbd0bd;border-radius:6px;font-size:11px;line-height:1.3;min-width:0;color:#8b927e}
.outcome-card.unlocked{border:1px solid #a5bc90;color:#315b35;background:#e2ecd5;font-weight:600}.outcome-check{display:grid;place-items:center;flex-shrink:0;width:20px;height:20px;border-radius:50%;font-size:13px;background:#e4e7d8;color:#88937a}.unlocked .outcome-check{background:#426e3d;color:#fff8e7;font-size:14px}.locked .outcome-check{font-family:Georgia;font-size:12px}
@media(max-width:350px){.outcomes-panel{padding:12px}.outcomes-heading h2{font-size:20px}.outcome-card{padding:7px;gap:6px;font-size:10px}.outcomes-heading>span{font-size:9px}}

header{padding-left:12px;padding-right:12px;gap:8px}.brand{min-width:0;gap:7px;letter-spacing:0;flex:1}.brand-logo{display:block;width:32px;height:32px;object-fit:cover;border-radius:8px;flex-shrink:0}.brand .brand-name{font-size:clamp(8px,2.5vw,10px);font-weight:700;letter-spacing:0;color:var(--ink);white-space:nowrap}.brand .game-number{font-size:9px;letter-spacing:.7px;white-space:nowrap;flex-shrink:0}.topright{flex-shrink:0}.topright button{min-width:85px}
@media(max-width:350px){header{padding-left:10px;padding-right:10px;gap:6px}.brand{gap:4px}.brand-logo{width:28px;height:28px;border-radius:7px}.brand .brand-name{font-size:8px}.brand .game-number{font-size:8px}.topright button{min-width:80px}}

/* Phone reading takes priority over decorative room labels. */
:root{--muted:#586650}body{font-size:16px}header{height:56px;padding:0 14px}.brand .brand-name{font-size:16px}.brand-logo{width:32px;height:32px}.topright button{font-size:14px;min-height:48px;min-width:100px}.game-number,.eyebrow,.scene-bar,.scene-note,.room-label{display:none}main{padding:14px 12px 0}.titleline{margin-bottom:13px}h1{font-size:32px;line-height:1.08}.dek{font-size:15px;color:#52614c;line-height:1.4;margin-top:8px}.scene{aspect-ratio:825/420}.dialogue{padding:14px 15px 5px}.speaker{display:flex;flex-wrap:wrap;gap:5px 12px}.avatar{display:none}.speaker>div{flex:1;min-width:110px}.speaker b{font-size:13px;letter-spacing:0}.speaker small{display:none}#question-count{font-size:12px;line-height:1.35;letter-spacing:0;color:#53634c;width:100%;order:-1}.dialogue>p,.ending .dialogue>p{font-size:22px;line-height:1.35;margin:11px 0 5px;min-height:0}.choices{padding:8px 12px 14px;gap:9px}.choice{display:grid;grid-template-columns:minmax(0,1fr) 20px;column-gap:8px;row-gap:3px;padding:11px 13px;min-height:62px}.choice .word{font-size:20px;line-height:1.15;min-width:0;grid-column:1;grid-row:1}.choice .meaning{font-size:16px;line-height:1.3;color:#4e6145;grid-column:1;grid-row:2;margin:0}.choice .meaning:empty{display:none}.choice .arrow{grid-column:2;grid-row:1/3;font-size:20px;padding:0}.choice .key{display:none}.choice.primary .meaning{color:#f3f4df}#toast{font-size:15px;line-height:1.4;max-width:94%;top:9px;padding:11px 12px}.under-game{margin-top:15px}.meters{gap:13px 18px}.meter-item>span{font-size:12px;line-height:1.3;letter-spacing:0;color:#506347}.meter-item b{font-size:14px;font-weight:700;color:var(--ink)}.track{height:8px}.lunch{min-height:28px}.lunch span{font-size:12px;letter-spacing:0;color:#506347}.lunch b{font-size:14px;color:var(--ink)}footer{margin-top:8px;padding:0 0 8px;min-height:48px}footer button{font-size:16px;min-height:48px}.outcomes-heading h2{font-size:25px}.outcomes-heading>span{font-size:13px;color:#475d3d}.outcome-card{font-size:14px;min-height:54px;color:#57634e;line-height:1.35;padding:10px 8px}.outcomes-panel{padding:14px}.outcomes-grid{gap:9px}.outcome-check{width:22px;height:22px}.locked .outcome-check{font-size:14px}
@media(max-width:350px){header{padding:0 12px}main{padding:12px 10px 0}h1{font-size:29px}.dek{font-size:15px}.brand .brand-name{font-size:15px}.dialogue{padding:13px 13px 4px}.dialogue>p,.ending .dialogue>p{font-size:21px}.choice .word{font-size:20px;min-width:0}.choice .meaning{font-size:16px}.choice{padding:11px}.meter-item>span{font-size:12px}.outcomes-grid{grid-template-columns:1fr}.outcome-card{font-size:14px}.outcomes-heading>span{font-size:12px}.outcomes-heading h2{font-size:24px}}
