@font-face{font-family:Tracker;src:url('assets/fonts/BarlowCondensed-Bold.ttf');font-weight:700;font-display:swap}
:root{--bg:#111a18;--paper:#ede6d6;--gold:#d7ad73;--muted:#9aa59a;--red:#d5776b;--line:#344238;color-scheme:dark;font-family:Arial,Helvetica,sans-serif}
*{box-sizing:border-box}body{margin:0;background:#080e0c;color:var(--paper);font-size:14px;-webkit-font-smoothing:antialiased}button{font:inherit;cursor:pointer;color:inherit;border:0}button:focus-visible{outline:2px solid var(--gold);outline-offset:4px}button:disabled{opacity:.45;cursor:wait}button,a{-webkit-tap-highlight-color:transparent}h1,h2,p{margin:0}h1,h2,.wordmark,.result-score strong{font-family:Tracker,Arial,sans-serif;font-weight:700}button{touch-action:manipulation}.hidden{display:none!important}
.ambient{position:fixed;inset:0;background:radial-gradient(ellipse at 50% 20%,#30443766,transparent 60%);pointer-events:none}.app-shell{width:min(100%,480px);height:100dvh;min-height:550px;margin:auto;background:var(--bg);position:relative;display:flex;flex-direction:column;border-inline:1px solid #2d3b3060;overflow:hidden}.topbar{height:82px;flex-shrink:0;display:flex;justify-content:space-between;align-items:center;padding:calc(10px + env(safe-area-inset-top)) 24px 10px;position:relative;z-index:2;border-bottom:1px solid var(--line)}.wordmark{background:none;padding:0;text-align:left;font-size:25px;letter-spacing:1.2px;line-height:1}.wordmark span{display:block;font-family:Arial,sans-serif;font-size:8px;letter-spacing:2.5px;color:var(--gold);margin-top:7px}.top-actions{display:flex;gap:9px}.icon-button{display:grid;place-items:center;width:35px;height:35px;border:1px solid #4a5849;border-radius:50%;background:transparent;font-size:17px}.icon-button:hover{background:#2c382e}.icon-button.muted{color:#738074;border-color:#394438}.screen{display:none;flex:1;min-height:0;overflow-y:auto;position:relative}.screen.active{display:flex;flex-direction:column}.eyebrow{font-size:10px;font-weight:700;letter-spacing:2px;color:var(--gold);line-height:1.6}.shell-footer{display:flex;justify-content:space-between;flex-shrink:0;padding:9px 24px calc(9px + env(safe-area-inset-bottom));font-size:8px;letter-spacing:1.8px;color:#778472;border-top:1px solid #2b392e}
.cover{position:relative;min-height:310px;flex:1;isolation:isolate}.cover-illustration{position:absolute;inset:0;background:url('assets/art.png') center top / cover}.cover-shade{position:absolute;inset:0;background:linear-gradient(180deg,#111a1800 8%,#111a1810 35%,#111a18 100%)}.cover-copy{position:absolute;bottom:16px;left:28px;right:24px}.cover-copy .eyebrow span{margin:0 8px;color:#e2ccb0}.cover h1{font-size:58px;line-height:.97;margin:11px 0 14px;letter-spacing:.2px;text-shadow:0 2px 20px #0007}.cover-description{color:#c3c7b8;font-size:12px;line-height:1.65}.cover-tag{position:absolute;top:20px;right:22px;background:#111a18c9;border:1px solid #8b816060;padding:8px 10px;font-size:8px;letter-spacing:1.6px;display:flex;align-items:center;gap:8px}.tiny-dot{height:5px;width:5px;border-radius:50%;background:var(--gold)}.case-preview{margin:8px 24px 14px;padding:15px 0;border-block:1px solid var(--line);display:flex;align-items:center;gap:14px;flex-shrink:0}.case-index{color:#586c58;font-family:Tracker,sans-serif;font-size:37px}.case-preview h2{font-size:25px;margin:2px 0 5px}.case-preview p:not(.eyebrow){font-size:10px;line-height:1.5;color:var(--muted);max-width:220px}.portrait{background-image:url('assets/art.png');background-size:880% auto;background-position:44% 57%;border:1px solid #b9ad8c66;filter:none;flex-shrink:0}.portrait-small{width:48px;height:58px;margin-left:auto;transform:rotate(5deg)}.home-bottom{padding:0 24px 18px;flex-shrink:0}.button{min-height:49px;padding:13px 20px;width:100%;display:flex;align-items:center;justify-content:center;gap:12px;font-size:13px;font-weight:700;letter-spacing:.2px;border-radius:3px}.button span{margin-left:auto;font-size:20px}.primary{background:var(--gold);color:#18231c;box-shadow:0 5px 20px #0002}.primary:hover{background:#e5bb83}.secondary{background:#2b3a2e;border:1px solid #5b6b53}.quiet{background:none;color:#b8c1b0;font-weight:400;font-size:12px;min-height:38px}.home-facts{display:flex;justify-content:space-between;gap:8px;margin-top:16px;color:#89977e;font-size:8px}.completed-note{color:var(--gold);font-size:11px;margin-top:14px;text-align:center}
.story{padding:24px;justify-content:space-between;gap:26px}.section-heading{display:flex;align-items:center;justify-content:space-between}.text-button{background:none;font-size:11px;color:#b7c3b0;padding:6px}.story-stage{margin-block:auto}.comic-frame{position:relative;width:100%;overflow:hidden;border:1px solid #645e42;background:#151d18}.comic-frame img{position:absolute;width:100%;height:auto;left:0}.story-caption{margin:24px 5px 0;border-left:2px solid var(--gold);padding-left:18px}.story-speaker{display:block;color:var(--gold);font-size:10px;letter-spacing:2px;margin-bottom:10px}.story-caption h2{font-size:36px;line-height:1.05;letter-spacing:.2px}.story-caption p{color:#adb7a4;font-size:12px;line-height:1.8;margin-top:17px}.story-bottom{flex-shrink:0}.story-dots{display:flex;gap:7px;margin-bottom:24px}.story-dots span{height:2px;flex:1;background:#3d4c3b}.story-dots .done{background:var(--gold)}
.game{overflow:hidden;padding:0 18px}.mission-heading{display:flex;justify-content:space-between;align-items:center;padding:17px 4px 11px}.mission-heading .eyebrow{font-size:8px;letter-spacing:1.3px}.mission-heading h2{font-size:28px;line-height:1.1;margin-top:4px}.pause-button{width:30px;height:30px;font-size:13px}.case-steps{display:flex;gap:9px;padding:0 4px;margin-bottom:12px}.case-steps span{display:flex;align-items:center;gap:6px;flex:1;color:#66755f;font-family:Tracker,sans-serif;font-size:13px}.case-steps i{font-family:Arial,sans-serif;font-style:normal;font-size:9px;white-space:nowrap}.case-steps .current{color:var(--gold)}.case-steps .done{color:#b9cbb1}.hud{display:flex;justify-content:space-between;padding:0 4px 9px}.hud-label{display:block;color:#a7b39d;font-size:8px;letter-spacing:1.5px;margin-bottom:4px}.hud strong{font-family:Tracker,sans-serif;font-size:30px;line-height:1}.hud b{font-weight:700}.hud small{font-family:Arial,sans-serif;font-size:10px;font-weight:400;color:#9ca98e;margin-left:4px}.hud-right{display:flex;flex-direction:column;align-items:flex-end;gap:7px}#hearts{color:#dba58b;font-size:13px;letter-spacing:3px}.timer{font-family:monospace;font-size:13px;letter-spacing:1px;color:#c4cbb9}.area-progress{height:2px;background:#354732;margin:0 4px 12px}.area-progress div{height:100%;background:var(--gold);width:0;transition:width .3s}.arena-space{position:relative;flex:1;min-height:0;display:grid;place-items:center;overflow:hidden}canvas{display:block;touch-action:none;border:1px solid #7c80554d;border-radius:2px;box-shadow:0 12px 30px #0004}.toast{position:absolute;left:15px;right:15px;bottom:13px;background:#101a16ee;border:1px solid #756746b3;padding:10px 13px;border-radius:4px;font-size:11px;text-align:center;color:#f1dfbd;opacity:0;transform:translateY(8px);transition:.2s;pointer-events:none}.toast.visible{opacity:1;transform:translateY(0)}.boost-label{position:absolute;left:18px;top:14px;border:1px solid #9b8152;background:#18271de6;color:#f5cd89;font-size:9px;font-weight:700;letter-spacing:1.2px;padding:7px 10px;border-radius:2px}.game-controls{padding:11px 4px 5px;flex-shrink:0}.control-hint{font-size:10px;text-align:center;color:#c0c7b6;line-height:1.6;min-height:16px;margin-bottom:10px}.mode-toggle{display:flex;padding:3px;background:#0b1410;border:1px solid #354730;border-radius:5px;gap:4px}.mode-toggle button{width:50%;height:34px;border-radius:3px;background:none;color:#86957c;display:flex;align-items:center;justify-content:center;gap:9px;font-size:18px}.mode-toggle span{font-size:11px}.mode-toggle .selected{background:#344530;color:#e9dbba}.arena-foot{display:flex;justify-content:space-between;margin-top:10px;gap:8px;font-size:8px;color:#98a68a;align-items:center}.arena-foot>span{display:flex;align-items:center;gap:5px}.legend-dot{width:5px;height:5px;border-radius:50%;display:inline-block}.gold{background:var(--gold)}.red{background:#d47b6f}#score-label{color:var(--gold);font-size:9px;letter-spacing:.5px}.dpad{display:grid;grid-template-columns:42px 42px 42px;grid-template-rows:36px 36px;gap:5px;justify-content:center;margin-top:10px}.dpad button{background:#30412e;border:1px solid #596b4d;border-radius:5px;font-size:21px;touch-action:none;user-select:none}.dpad button.pressed{background:var(--gold);color:#142016}.dpad button[data-dir=up]{grid-column:2;grid-row:1}.dpad button[data-dir=left]{grid-column:1;grid-row:2}.dpad button[data-dir=right]{grid-column:3;grid-row:2}.dpad button[data-dir=down]{grid-column:2;grid-row:2}.dpad span{grid-column:1;grid-row:1;place-self:center;color:#657859;font-size:17px}
.ending{padding:24px;gap:22px}.ending-top>h1{font-size:50px;line-height:.98;margin:12px 0 24px}.ending-top>.eyebrow{font-size:9px}.ending-person{display:flex;gap:21px;align-items:center}.portrait-large{width:77px;height:95px;transform:rotate(-4deg)}.ending-person h2{font-size:34px;line-height:1;margin-top:5px}.ending-person p{font-size:12px;color:#d7c8af;margin-top:13px}.ending-copy{font-size:12px;line-height:1.8;color:#a9b69f;margin-top:24px}blockquote{border-left:2px solid var(--gold);margin:17px 0 0;padding:3px 0 3px 16px;font-family:Tracker,sans-serif;font-size:25px;line-height:1.2}.next-file{padding:17px 18px;background:#dfd4b9;color:#1e2a22;border-radius:3px}.ticket-top,.ticket-bottom{display:flex;justify-content:space-between;font-size:8px;letter-spacing:1.5px}.next-file h2{font-size:40px;margin:9px 0}.next-file p{font-size:10px;line-height:1.6}.ticket-bottom{margin-top:18px;padding-top:10px;border-top:1px dashed #8d9174}.ending-bottom{padding-bottom:12px}.result-score{display:flex;justify-content:space-between;align-items:center;font-size:9px;letter-spacing:1.5px;color:#9fad95}.result-score strong{font-size:32px;color:var(--gold)}.collectible{display:flex;gap:14px;align-items:center;border-block:1px solid var(--line);padding:14px 0;margin:9px 0 18px}.collectible>span{font-size:28px;color:var(--gold)}.collectible strong{font-size:11px}.collectible p{font-size:10px;color:#97a58d;margin-top:5px}
.modal{position:fixed;inset:0;background:#060d0be8;display:flex;align-items:center;justify-content:center;padding:22px;z-index:10;backdrop-filter:blur(7px)}.modal-card{width:100%;max-width:390px;border:1px solid #65754e;border-radius:6px;background:#19251d;padding:27px;max-height:90dvh;overflow-y:auto;box-shadow:0 20px 100px #0007}.modal h2{font-size:37px;line-height:1.05;margin:8px 0 20px}.modal-body,.modal #modal-body{font-size:12px;line-height:1.85;color:#c0cab5}.modal #modal-body p+p{margin-top:13px}.modal .rule{display:flex;gap:12px;margin-bottom:16px}.modal .rule strong{color:var(--gold);font-family:Tracker,sans-serif;font-size:24px;line-height:1.2}.modal .rule b{color:#e8dfc9}.modal-actions{display:flex;flex-direction:column;gap:7px;margin-top:23px}.modal .evidence{padding:17px;background:#0e1812;border-left:2px solid var(--gold);margin-block:16px;font-family:Tracker,sans-serif;color:#e5d4b0;font-size:23px;line-height:1.3}
@media(min-width:700px){body:before{content:'KAYIP KAYIT';position:fixed;left:calc(50% - 430px);top:50%;font-family:Tracker,sans-serif;writing-mode:vertical-rl;transform:rotate(180deg);font-size:25px;letter-spacing:6px;color:#53674b}.app-shell{box-shadow:0 0 100px #0008}}@media(max-height:720px){.topbar{height:67px}.mission-heading{padding-top:10px}.mission-heading h2{font-size:23px}.case-steps{margin-bottom:8px}.game-controls{padding-top:7px}.control-hint{margin-bottom:5px}.hud strong{font-size:25px}.area-progress{margin-bottom:7px}.cover{min-height:260px}.cover h1{font-size:49px}.case-preview{margin-block:5px 10px;padding-block:10px}.home-bottom{padding-bottom:12px}.shell-footer{padding-block:7px}.dpad{grid-template-rows:31px 31px;gap:4px;margin-top:6px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
/* The playing screen owns the viewport; the arena has no letterbox space. */
body.is-playing{overflow:hidden;background:#081310}body.is-playing:before{display:none}
.is-playing .app-shell{width:min(100%,600px);height:100dvh;min-height:0;border:0}
.is-playing .topbar,.is-playing .shell-footer{display:none}
.is-playing .game{padding:0;position:relative;min-height:0;overflow:hidden}
.is-playing .mission-heading{position:absolute;z-index:3;top:calc(9px + env(safe-area-inset-top));left:16px;right:16px;padding:0;align-items:center}
.is-playing .mission-heading .eyebrow{font-size:8px;letter-spacing:1.4px}
.is-playing .mission-heading h2{font-size:26px;margin-top:1px}
.game-actions{display:flex;gap:6px}.game-actions .icon-button{width:31px;height:31px;font-size:17px}
.is-playing .case-steps{display:none}
.is-playing .hud{position:absolute;top:calc(57px + env(safe-area-inset-top));left:16px;right:16px;z-index:2;padding:0;align-items:center}
.is-playing .hud>div:first-child{display:flex;align-items:center;gap:9px}
.is-playing .hud-label{font-size:8px;margin:0;max-width:45px;line-height:1.4}
.is-playing .hud strong{font-size:27px}.is-playing .hud-right{flex-direction:row;gap:12px}
.is-playing .area-progress{position:absolute;z-index:2;top:calc(99px + env(safe-area-inset-top));left:16px;right:16px;margin:0;height:3px}
.is-playing .arena-space{position:absolute;inset:calc(110px + env(safe-area-inset-top)) 0 calc(84px + env(safe-area-inset-bottom));display:block;min-height:0}
.is-playing #arena{width:100%;height:100%;border:0;border-radius:0;box-shadow:none}
.is-playing .game-controls{position:absolute;z-index:3;bottom:calc(7px + env(safe-area-inset-bottom));left:16px;right:16px;padding:0}
.is-playing .control-hint{font-size:10px;line-height:1.3;min-height:13px;margin:0 0 5px}
.is-playing .mode-toggle{max-width:310px;margin:auto}.is-playing .mode-toggle button{height:29px}
.is-playing .arena-foot{margin-top:5px;font-size:8px}.is-playing #score-label{font-size:9px}
.is-playing .dpad{position:absolute;bottom:82px;left:0;grid-template-columns:42px 42px 42px;grid-template-rows:36px 36px;gap:4px;margin:0;padding:5px;background:#0b1713d9;border-radius:8px;border:1px solid #5e7049}
.attack-label{position:absolute;top:12px;right:14px;max-width:215px;border:1px solid #ad7460;background:#251b19ed;color:#f0bba0;font-size:9px;font-weight:700;letter-spacing:1px;padding:8px 10px;pointer-events:none}
.is-playing .boost-label{left:15px;top:12px;font-size:8px;padding:7px}
.is-playing .toast{left:14px;right:14px;top:49px;bottom:auto;padding:9px 11px;font-size:11px;pointer-events:none}
.evidence-image{display:block;width:100%;max-height:180px;object-fit:cover;border:1px solid #625a3c;margin:12px 0}
@media(max-width:350px){.is-playing .mission-heading{left:11px;right:11px}.is-playing .mission-heading h2{font-size:22px}.game-actions{gap:4px}.game-actions .icon-button{width:28px;height:28px}.is-playing .hud{left:11px;right:11px}.is-playing .hud-right{gap:7px}.is-playing .hud small{font-size:9px}.is-playing .game-controls{left:11px;right:11px}}
/* Lettering stays selectable and separate from the approved first illustration. */
.story{padding:14px 12px 12px;gap:12px;overflow:hidden;justify-content:initial}
.story .section-heading{padding:0 4px;flex-shrink:0}
.story .story-stage{flex:1;min-height:0;margin:0;overflow-y:auto;overscroll-behavior:contain;scroll-padding-top:4px;scrollbar-width:thin;scrollbar-color:#756c4e #111a18}
.comic-page{display:flex;flex-direction:column;gap:9px;padding:4px;background:#c8bea4;border:1px solid #85795b}
.comic-panel{position:relative;flex-shrink:0;height:clamp(190px,50vw,240px);isolation:isolate;overflow:hidden;background:#0b1210;border:2px solid #17201b}
.comic-panel:last-child{height:clamp(220px,60vw,280px)}
.comic-panel>svg{position:absolute;inset:0;width:100%;height:100%;display:block}
.comic-panel p{position:absolute;z-index:1;margin:0;color:#17201b}
.comic-locator{position:absolute;top:10px;left:10px;background:#15221fe8;color:#eee3c8;border:1px solid #c9b17c;padding:6px 8px;font-size:9px;letter-spacing:1px;z-index:1}
.narration-box{max-width:48%;background:#e4d5aff7;border:1.5px solid #282b20;box-shadow:2px 2px 0 #080e0ca8;padding:8px 9px;font-family:Arial,sans-serif;font-size:12px;font-weight:600;line-height:1.4}
.city-night{top:10px;right:10px;width:43%}.city-rain{bottom:12px;left:10px;width:46%}
.office-arrival{top:9px;left:9px;width:28%}.office-envelope{bottom:9px;left:9px;width:31%}
.speech-balloon{background:#fff8e7;border:2px solid #17201b;border-radius:47%;padding:12px 14px;text-align:center;font-family:Tracker,Arial,sans-serif;font-size:18px;line-height:1.08;letter-spacing:.2px;box-shadow:1px 2px 0 #080e0c75}
.speech-balloon span{display:block;font-family:Arial,sans-serif;font-size:8px;font-weight:700;letter-spacing:1px;margin-bottom:5px;color:#5b594b}
.speech-balloon::before,.speech-balloon::after{content:'';position:absolute;display:block;pointer-events:none;clip-path:polygon(100% 0,100% 100%,0 100%)}
.speech-balloon::before{width:28px;height:23px;left:-12px;bottom:-12px;background:#17201b}
.speech-balloon::after{width:23px;height:19px;left:-7px;bottom:-8px;background:#fff8e7}
.deniz-speech{top:11%;right:5%;width:39%}
.deniz-speech::before{left:-25px;top:27px;bottom:auto;width:28px;height:23px;clip-path:polygon(100% 0,100% 100%,0 65%)}
.deniz-speech::after{left:-20px;top:30px;bottom:auto;width:23px;height:18px;clip-path:polygon(100% 0,100% 100%,0 65%)}
.radio-balloon{font-style:italic;border-radius:13px;border-style:double;border-width:3px}
.radio-balloon::before{clip-path:polygon(0 0,100% 40%,50% 55%,95% 100%,0 68%)}
.radio-balloon::after{clip-path:polygon(0 0,100% 40%,50% 55%,95% 100%,0 68%)}
.recorder-speech{left:4%;bottom:8%;width:44%}
.recorder-speech::before{left:auto;right:-28px;top:11px;bottom:auto;width:30px;height:23px}
.recorder-speech::after{left:auto;right:-22px;top:13px;bottom:auto;width:25px;height:19px}
.evidence-box{top:8px;left:8px;width:34%}
.final-speech{top:10px;left:8px;width:35%;font-size:17px;padding:11px 12px}
.final-speech::before{left:53%;bottom:-21px;transform:rotate(70deg)}
.final-speech::after{left:54%;bottom:-16px;transform:rotate(70deg)}
.recognition-box{top:10px;right:9px;width:34%}.ece-box{bottom:10px;right:9px;width:44%}
.panel-number{position:absolute;right:5px;bottom:3px;font-family:Tracker,sans-serif;font-size:10px;color:#e4d5af;background:#0a1311b8;padding:2px 4px}
.story .story-bottom{padding:0 3px}.story .story-dots{margin-bottom:9px}.story .story-bottom .button{min-height:45px;padding:12px 16px}
.current-panel .speech-balloon{animation:balloon-appear .24s ease-out both}
@keyframes balloon-appear{from{opacity:0;transform:translateY(5px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}
.gear-status{position:absolute;top:12px;left:15px;display:flex;flex-direction:column;gap:6px;pointer-events:none}
.gear-status .boost-label,.is-playing .gear-status .boost-label{position:static;padding:7px;font-size:8px}
.shield-label{border:1px solid #77b5c0;background:#102729ed;color:#b6e4e9;font-size:8px;font-weight:700;letter-spacing:.6px;padding:7px}
.fire-button{position:absolute;right:15px;bottom:18px;width:60px;height:60px;border-radius:50%;border:1px solid #9baecb;background:#142533ed;color:#c6dfff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;touch-action:manipulation}
.fire-button svg{width:24px;height:24px;stroke:currentColor;stroke-width:1.5;fill:none}.fire-button span{font-size:8px;font-weight:700;letter-spacing:.4px}.fire-button:disabled{opacity:.55;cursor:default}
@media(prefers-reduced-motion:reduce){.current-panel .speech-balloon{animation:none}}
.comic-panel[data-panel="3"]{height:clamp(220px,60vw,280px)}
.comic-panel.flashback-panel,.comic-panel.watcher-panel{height:clamp(240px,64vw,340px)}
.comic-panel>.scene-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
.past-call{top:50px;left:10px;width:43%}.past-regret{bottom:12px;right:10px;width:45%}
.watcher-wait{bottom:12px;right:10px;width:42%}.first-address{bottom:12px;left:10px;width:47%}
.evidence-modal .modal-card{max-width:460px;padding:22px}
.evidence-photo{margin:0 0 15px;background:#0a1512;border:1px solid #657056}
.evidence-photo img{display:block;width:100%;height:min(44dvh,350px);object-fit:contain;background:#081310}
.evidence-photo figcaption{padding:10px 12px;color:#e1c89c;border-top:1px solid #46533b;font-size:10px;letter-spacing:.8px;line-height:1.5}
.evidence-readout{background:#0d1914;border-left:2px solid #d7ad73;padding:11px 12px;color:#ecdcba;font-family:Tracker,sans-serif;font-size:22px;line-height:1.3;letter-spacing:.4px}
.evidence-report h3{font-family:Tracker,sans-serif;color:#eee1c6;font-size:25px;font-weight:700;margin:16px 0 6px}
.next-lead{margin-top:17px;padding-top:14px;border-top:1px solid #46583e}.next-lead>span{display:block;font-size:9px;letter-spacing:1.8px;color:#c5a975}.next-lead>strong{display:block;font-family:Tracker,sans-serif;color:#eee1c6;font-size:27px;line-height:1.2;margin:6px 0}
.rescue-panel{position:relative;margin:20px -4px 26px;border:2px solid #887756;background:#0b1513;overflow:hidden;isolation:isolate;aspect-ratio:1.5}
.rescue-panel>img{display:block;width:100%;height:100%;object-fit:cover}
.rescue-panel .comic-locator{top:9px;left:auto;right:9px;font-size:8px}
.rescue-dialogue{position:absolute;left:10px;bottom:12px;width:43%;margin:0;padding:10px 12px;font-size:18px;color:#17201b}
.rescue-dialogue::before{left:66%;top:-24px;bottom:auto;width:24px;height:27px;clip-path:polygon(0 100%,100% 100%,55% 0)}
.rescue-dialogue::after{left:67%;top:-19px;bottom:auto;width:19px;height:23px;clip-path:polygon(0 100%,100% 100%,55% 0)}
/* Each click opens one illustration; unread dialogue is never exposed. */
.comic-panel[hidden]{display:none!important}
.shell-footer a{color:inherit;text-decoration:none;padding:2px 0}
.story .story-stage{display:flex;align-items:center}
.comic-page{width:100%}
.comic-panel,.comic-panel:last-child,.comic-panel[data-panel="3"],.comic-panel.flashback-panel,.comic-panel.watcher-panel{height:clamp(245px,65vw,340px)}
.current-panel>svg,.current-panel>.scene-art{animation:scene-appear .2s ease-out both}
.current-panel .narration-box,.current-panel .comic-locator{animation:balloon-appear .24s .2s ease-out both}
.current-panel .speech-balloon{animation:balloon-appear .28s .35s ease-out both}
@keyframes scene-appear{from{opacity:.25}to{opacity:1}}
@media(prefers-reduced-motion:reduce){.current-panel>*{animation:none!important}}
.case-switcher{display:flex;gap:7px;margin:0 0 12px}.case-switcher button{flex:1;min-height:34px;padding:8px;background:#10201a;border:1px solid #41543e;border-radius:3px;color:#a8b69f;font-size:11px}.case-switcher button.selected{background:#d7ad73;color:#18231b;border-color:#d7ad73;font-weight:700}
.portrait.leyla-portrait{background-image:url('assets/venice/leyla-rescue-v2.png');background-size:320% auto;background-position:22% 32%}
body[data-case=venice]{--bg:#101b23;--line:#354550;--muted:#a2b2ba}body[data-case=venice] .ambient{background:radial-gradient(ellipse at 50% 20%,#28445966,transparent 60%)}
body[data-case=venice] .cover-shade{background:linear-gradient(180deg,#101b2300 8%,#101b2320 35%,#101b23 100%)}
#play-next-case{margin-bottom:9px}
@media(max-height:740px){.home .cover{min-height:190px}.home .cover h1{font-size:43px}.home .cover-description{font-size:11px}.home .case-preview{padding-block:8px;margin-block:4px 9px}.case-switcher{margin-bottom:8px}.case-switcher button{min-height:30px;padding:6px}}
