/* Room-first interface. Conversations reuse the figures standing on this canvas. */
:root{--dialogue-text:#f8eddf;--dialogue-accent:#e5bc8b}
.page-shell{max-width:1720px;padding:12px 18px}.masthead{height:52px;margin-bottom:12px}.tagline{font-size:12px}.brand{font-size:27px}.page-footer{padding:10px 0;min-height:24px}.page-footer button{font-size:10px}
#game{position:relative;height:calc(100svh - 118px);min-height:610px;max-height:1150px;overflow:hidden;border:1px solid #66535d;border-radius:6px;background:#121722}
#game .game-layout,#game .stage-column,#game .room-side{display:block;width:100%;height:100%;margin:0;padding:0;min-width:0}
#game .scene{position:relative;inset:auto;width:100%;height:100%;max-height:none;min-height:0;margin:0;aspect-ratio:auto;border:0;border-radius:0;overflow:hidden;isolation:isolate}
#game .room-art{width:100%;height:100%;object-fit:cover;object-position:center;filter:brightness(.78) saturate(.82);transform:none!important}
#game .scene-vignette{position:absolute;inset:0;background:linear-gradient(180deg,#080d17a8 0,transparent 22%,transparent 65%,#080d17d9 100%);z-index:1;pointer-events:none}
#game .occupants{display:block;position:absolute;inset:0;bottom:0;left:0;right:0;width:100%;height:100%;z-index:3;pointer-events:none}
#game .roaming-guest{position:absolute;display:block;width:auto;min-width:0;max-width:none;padding:0;margin:0;transform:translateX(-50%);pointer-events:auto;transition:opacity .25s,filter .25s;}
#game .roaming-guest:nth-child(even),#game .roaming-guest:hover{transform:translateX(-50%)}
#game .roaming-guest .sprite{width:100%;height:100%;max-height:none;aspect-ratio:auto;filter:brightness(var(--sprite-light,.68)) saturate(var(--sprite-saturation,.7)) sepia(.12) drop-shadow(2px 5px 2px #06091199)}
#game .roaming-name{font-size:11px;padding:4px 9px;border:0;background:#121722c9;bottom:0}
#game.in-conversation .roaming-guest:not(.active-guest){opacity:.2;pointer-events:none}
#game.in-conversation .active-guest .roaming-name{display:none}
#game .scene.focused .room-art{filter:brightness(.7) saturate(.75)}
#game.in-conversation .scene-vignette{background:linear-gradient(180deg,#080d1770,transparent 24%,#080d1760)}
#game.in-conversation .scene:after{content:'';position:absolute;inset:0;z-index:4;pointer-events:none;background:linear-gradient(270deg,#090e19e0 0,#090e19bd 22%,#090e1955 49%,transparent 72%)}
#game[data-dialogue-side=left].in-conversation .scene:after{background:linear-gradient(90deg,#090e19e0 0,#090e19bd 22%,#090e1955 49%,transparent 72%)}
.room-toolbar{position:absolute;top:18px;left:20px;right:20px;z-index:110;display:flex;align-items:center;gap:18px;pointer-events:none;color:#f5e7d6;text-shadow:0 2px 6px #000}
.room-toolbar>*{pointer-events:auto}.map-toggle{display:inline-flex;align-items:center;gap:8px;background:#111722b5;border:1px solid #a78b7255;border-radius:3px;color:#edcfaa;padding:10px 13px;min-height:44px;font-size:12px}.map-toggle>span{font-size:21px;line-height:1}
.toolbar-location{font:20px Georgia,serif}.toolbar-clock{font:10px var(--mono);color:#d1bdc9;margin-left:auto}#night-label{font:10px var(--mono);color:#dbc3cc}
#game .room-actions{position:absolute;left:22px;bottom:76px;z-index:106;display:flex;gap:18px;align-items:center}
#game .room-actions button{background:#111722a3;border:1px solid #a78b7240;border-radius:3px;color:#eddbc9;min-height:40px;padding:8px 13px;font-size:12px}
#game.in-conversation .room-actions{display:none}
#game .game-footer{position:absolute;bottom:0;left:0;right:0;z-index:120;margin:0;padding:12px 22px;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:nowrap;background:linear-gradient(transparent,#10141bd9);border:0;color:#d7c6d4}
#game .footer-tools{display:flex;gap:18px;align-items:center;flex-wrap:wrap}#game .footer-tools button{font-size:11px;background:transparent;padding:6px 0;min-height:30px;color:#d7c6d4}#game .footer-tools b{font-size:9px;opacity:.65;margin-left:5px}#game .time-left{font:10px var(--mono);color:#baa8b7}#game #end-night{font-size:11px;background:transparent;border:0;padding:7px;color:#e6bd94;min-height:36px}
#game .room-idle{position:absolute;right:24px;bottom:78px;max-width:300px;z-index:4;color:#e1ccbc;text-shadow:0 2px 6px #000;font:italic 16px/1.6 Georgia,serif;pointer-events:none}#game .room-idle p{margin:0}
/* The dialogue is typography over the room, without cards or option labels. */
#game .dialogue{position:absolute;inset:auto 5% 74px auto;width:43%;max-width:620px;max-height:calc(100% - 160px);display:block;padding:12px 8px 8px 0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#a88a6a66 transparent;z-index:108;color:var(--dialogue-text);text-shadow:0 2px 5px #000,0 1px 12px #0009}
#game[data-dialogue-side=left] .dialogue{left:5%;right:auto}
.conversation-status{display:flex;align-items:center;gap:18px;min-height:30px;margin-bottom:18px}.conversation-status .hearts{gap:5px}.conversation-status .heart{width:9px;height:9px}.conversation-energy{display:inline-flex;gap:3px}.conversation-energy .energy{font-size:22px}.heart-change{font:12px var(--mono);color:#e6a1bd}.heart-change.negative{color:#ca9091}.about-guest{background:transparent;border:1px solid #c7af9166;border-radius:50%;width:22px;height:22px;font:12px Georgia;color:#d1b994;line-height:20px;padding:0;margin-left:auto}
.npc-speech{margin-bottom:18px}.npc-line,.npc-gift{font:clamp(22px,2.1vw,32px)/1.42 Georgia,serif;margin:0 0 14px;letter-spacing:-.25px;color:#fbefdf}.npc-line strong,.npc-gift strong{font:700 .7em var(--body);letter-spacing:1px;color:var(--dialogue-accent)}.npc-revelation{font:19px/1.55 Georgia,serif;margin:12px 0;color:#eddbc7}.npc-gift{font-size:21px}.conversation-note{font-size:10px;color:#cfb794;display:block;margin:8px 0}.conversation-caution{font:11px/1.6 var(--body);color:#e2b2ab;margin:12px 0 16px;max-width:430px}
.conversation-options{display:flex;flex-direction:column;gap:4px}.dialogue-option{position:relative;display:flex;width:100%;align-items:baseline;gap:12px;text-align:left;padding:10px 4px;min-height:44px;background:transparent!important;border:0!important;border-radius:0;box-shadow:none;font:17px/1.5 var(--body);color:#e7d4c7;transition:color .15s,text-shadow .15s}
.dialogue-option .option-arrow{flex:0 0 12px;font:24px Georgia;color:#d7b486;opacity:.55;transition:transform .15s,opacity .15s}.dialogue-option:hover:not(:disabled),.dialogue-option:focus-visible{color:#fff4e2;text-shadow:0 0 12px #edb55b55;filter:none}.dialogue-option:hover:not(:disabled) .option-arrow,.dialogue-option:focus-visible .option-arrow{opacity:1;transform:translateX(3px)}.dialogue-option:focus-visible{outline:2px solid #cba16d;outline-offset:2px}.dialogue-option:disabled{opacity:.35}.item-odds{display:block;font:10px/1.4 var(--body);color:#c1abb9;margin-top:3px}
/* Spatial exits are available independently of the map drawer. */
.room-exits{position:absolute;inset:0;z-index:105;pointer-events:none}.room-exit{position:absolute;pointer-events:auto;display:flex;align-items:center;justify-content:center;width:44px;height:44px;background:#10172299;border:1px solid #c1a27d50;border-radius:50%;color:#f1cf9b;text-shadow:0 2px 3px #000;overflow:visible;padding:0}.exit-glyph{display:block;font:30px Georgia;transition:transform .2s}.exit-west{left:16px;top:46%}.exit-east{right:16px;top:46%}.exit-north{top:78px;left:calc(50% - 22px)}.exit-south{bottom:74px;left:calc(50% - 22px)}.exit-lock{position:absolute;right:-3px;bottom:-3px;background:#20202a;border-radius:50%;font:16px Georgia;padding:1px 3px;color:#e7b889}.exit-label{position:absolute;display:block;width:max-content;max-width:195px;padding:7px 10px;background:#131a25d9;border:1px solid #a78b7240;border-radius:3px;opacity:0;pointer-events:none;font:12px/1.4 var(--body);color:#f1d2ae;transition:opacity .2s}.exit-label small{display:block;font-size:9px;color:#c4afc1}.exit-west .exit-label{left:54px;text-align:left}.exit-east .exit-label{right:54px;text-align:right}.exit-north .exit-label{top:54px;text-align:center}.exit-south .exit-label{bottom:54px;text-align:center}.room-exit:hover .exit-label,.room-exit:focus-visible .exit-label{opacity:1}.exit-west:hover .exit-glyph,.exit-west:focus-visible .exit-glyph{transform:translateX(-4px)}.exit-east:hover .exit-glyph,.exit-east:focus-visible .exit-glyph{transform:translateX(4px)}.exit-north:hover .exit-glyph,.exit-north:focus-visible .exit-glyph{transform:translateY(-4px)}.exit-south:hover .exit-glyph,.exit-south:focus-visible .exit-glyph{transform:translateY(4px)}
/* Native modal semantics provide focus trapping and Escape for the side map. */
#house-drawer{position:fixed;inset:0 auto 0 0;margin:0;padding:20px 16px 24px;width:min(390px,calc(100vw - 20px));max-width:390px;height:100dvh;max-height:100dvh;overflow-y:auto;overscroll-behavior:contain;background:#1a202b;color:#ddc8bc;border:0;border-right:1px solid #806a61;border-radius:0;box-shadow:20px 0 80px #0008;animation:drawer-in .23s ease-out}
#house-drawer::backdrop{background:#050a14a8;backdrop-filter:blur(2px)}.drawer-heading{display:flex;align-items:center;justify-content:space-between;margin:0 2px 18px}.drawer-heading small{font:8px var(--mono);color:#b99c84;letter-spacing:2px}.drawer-heading h2{font:30px Georgia;margin:7px 0 0}.drawer-heading>button{font:28px Georgia;background:transparent;color:#d8bdab;min-width:44px;min-height:44px}.drawer-tip{font-size:11px;line-height:1.6;color:#b8a9b8}.house-drawer .inline-map{height:500px;width:100%;max-width:none;margin:0;background:#141a24}.house-drawer #rooms{display:block;margin:0}.house-drawer .plan-room{width:31.3%;height:16%;padding:6px 4px;gap:5px}.house-drawer .plan-room strong{font-size:11px}.house-drawer .plan-people>.guest-icon{width:23px;height:23px}.house-drawer .map-key{font-size:9px;margin:12px 0}.house-drawer .parcel-button{display:flex;gap:10px;font-size:11px;background:#262630;border:1px solid #806b5c80;padding:13px 10px}.house-drawer .parcel-button>:last-child{margin-left:auto}.house-drawer #key-count{font-size:11px;color:#d6ba8f;line-height:1.6}@keyframes drawer-in{from{transform:translateX(-100%)}to{transform:translateX(0)}}
/* Individual cast reveals, with the same portrait sheets and distinct motifs. */
.prologue.character-intro{overflow:hidden;min-height:640px;height:calc(100svh - 118px);max-height:1100px;border-color:var(--intro-accent)}.character-intro .prologue-bg{filter:brightness(.32) saturate(.55);opacity:.9}.intro-burst{position:absolute;inset:-30%;background:repeating-conic-gradient(from 13deg at 68% 52%,transparent 0 13deg,var(--intro-accent) 13deg 14deg,transparent 14deg 23deg);opacity:.17;mask-image:radial-gradient(ellipse at 68% 52%,#000,transparent 65%);animation:reveal-burst 8s ease-out both;pointer-events:none}.intro-burst:after{content:'';position:absolute;inset:0;background:repeating-linear-gradient(140deg,transparent 0 50px,var(--intro-accent) 50px 52px,transparent 52px 104px);opacity:.3}.motif-petals{background:repeating-conic-gradient(from 22deg at 68% 52%,transparent 0 20deg,var(--intro-accent) 20deg 23deg,transparent 23deg 45deg);border-radius:50%}.motif-stars:after{background-image:radial-gradient(circle,var(--intro-accent) 1px,transparent 2px);background-size:31px 31px}.motif-cards:after{background:repeating-linear-gradient(45deg,transparent 0 68px,var(--intro-accent) 68px 70px,transparent 70px 138px),repeating-linear-gradient(-45deg,transparent 0 68px,var(--intro-accent) 68px 70px,transparent 70px 138px)}.motif-pulse:after{background:repeating-linear-gradient(0deg,transparent 0 32px,var(--intro-accent) 32px 33px,transparent 33px 64px)}.motif-gears{background:repeating-conic-gradient(at 68% 52%,transparent 0 5deg,var(--intro-accent) 5deg 10deg,transparent 10deg 20deg)}.motif-keys:after{background:repeating-linear-gradient(90deg,transparent 0 60px,var(--intro-accent) 60px 62px,transparent 62px 120px)}
.spotlight-figure{position:absolute;right:12%;bottom:-2%;height:95%;aspect-ratio:1/2;z-index:2;animation:reveal-figure .6s cubic-bezier(.15,.8,.15,1) both}.spotlight-figure .sprite{height:100%;width:100%;filter:brightness(.78) saturate(.8) drop-shadow(7px 5px 0 var(--intro-accent)) drop-shadow(-5px -3px 0 #101521)}.intro-identity{position:absolute;left:7%;bottom:11%;width:52%;z-index:3;animation:reveal-copy .5s .15s both;color:#faebd5;text-shadow:0 3px 12px #000}.spotlight-count{font:9px var(--mono);letter-spacing:2px;color:var(--intro-accent)}.intro-identity h1{font:900 clamp(70px,10vw,155px)/.9 var(--body);letter-spacing:-7px;text-transform:uppercase;transform:rotate(-4deg);margin:32px 0 20px;color:var(--intro-accent);text-shadow:5px 5px 0 #0e1420;overflow-wrap:normal}.spotlight-tagline{font:italic 19px/1.5 Georgia;color:#edcfb7;margin:15px 0 25px}.spotlight-line{max-width:560px;font:20px/1.55 Georgia;margin:0}.spotlight-line strong{font:700 12px var(--body);letter-spacing:1px;color:var(--intro-accent)}.character-intro .cutscene-progress{width:180px}.character-intro .cutscene-progress i{background:var(--intro-accent)}@keyframes reveal-figure{from{opacity:0;transform:translateX(60px) scale(.94)}to{opacity:1;transform:none}}@keyframes reveal-copy{from{opacity:0;transform:translateY(25px)}to{opacity:1;transform:none}}@keyframes reveal-burst{from{transform:scale(.8) rotate(-7deg)}to{transform:scale(1.07) rotate(3deg)}}
@media(max-width:800px){.page-shell{padding:9px}.masthead{height:46px;margin-bottom:9px}.brand{font-size:23px}.brand small{font-size:6px}.moon{font-size:38px}.tagline,#save-state{display:none}.header-actions{margin:0;gap:7px}#game{height:calc(100svh - 92px);min-height:620px;max-height:none}.room-toolbar{top:10px;left:10px;right:10px;gap:10px;flex-wrap:wrap}.map-toggle{padding:8px 10px;font-size:11px;min-height:40px}.toolbar-location{font-size:16px}.toolbar-clock{font-size:9px}#night-label{position:absolute;top:47px;right:2px;font-size:8px;pointer-events:none}#game .game-footer{padding:9px 12px;gap:10px;flex-wrap:wrap}#game .footer-tools{gap:12px}#game .footer-tools button{font-size:10px}#game .time-left{font-size:8px;margin-left:auto}#game #end-night{font-size:10px;padding:0;min-height:26px}.footer-tools b{display:none}#game .room-actions{left:12px;bottom:78px;gap:8px}#game .room-actions button{font-size:10px;padding:7px 9px;min-height:36px}#game .room-idle{left:14px;right:14px;bottom:124px;max-width:260px;font-size:14px}#game.in-conversation .scene:after,#game[data-dialogue-side=left].in-conversation .scene:after{background:linear-gradient(180deg,transparent 0,#090e190d 12%,#090e19b8 40%,#090e19ed 72%,#090e19e8 100%)}#game .dialogue,#game[data-dialogue-side=left] .dialogue{left:17px;right:17px;bottom:72px;width:auto;max-width:none;max-height:calc(100% - 210px);padding:5px 4px 4px 0}.npc-line{font-size:24px;line-height:1.4}.npc-revelation{font-size:17px}.npc-gift{font-size:19px}.npc-speech{margin-bottom:12px}.conversation-status{gap:16px;margin-bottom:12px}.conversation-status .heart{width:8px;height:8px}.conversation-status .hearts{gap:4px}.dialogue-option{font-size:16px;line-height:1.45;padding:10px 2px;gap:9px;min-height:44px}.conversation-options{gap:2px}.conversation-caution{font-size:10px;margin:8px 0}.about-guest{margin-left:auto}.exit-west{left:10px;top:22%}.exit-east{right:10px;top:22%}.exit-north{top:64px}.exit-south{bottom:79px}.room-exit{width:38px;height:38px}.exit-glyph{font-size:25px}.exit-label{font-size:10px;max-width:125px;padding:5px 7px}.exit-label small{font-size:8px}.exit-west .exit-label{left:43px}.exit-east .exit-label{right:43px}.exit-north .exit-label{top:43px}.exit-south .exit-label{bottom:43px}#game.in-conversation .exit-south{bottom:auto;top:31%;left:auto;right:10px}.character-intro .intro-identity{left:6%;bottom:8%;width:88%}.prologue.character-intro{height:calc(100svh - 92px);min-height:720px}.spotlight-figure{height:63%;right:8%;top:-1%;bottom:auto;opacity:.85}.intro-identity h1{font-size:80px;letter-spacing:-4px;margin:20px 0 14px}.spotlight-count{font-size:7px;letter-spacing:1px}.spotlight-tagline{font-size:15px;margin:10px 0 14px}.spotlight-line{font-size:17px;line-height:1.5;max-width:none}.intro-identity{background:linear-gradient(transparent,#101622aa 35%);padding:10px 0}.character-intro .cutscene-progress{margin-top:15px}.character-intro .cutscene-controls{margin-top:12px}}
@media(hover:none){.exit-label{opacity:1}.room-exit{background:#101722c9}}
@media(prefers-reduced-motion:reduce){.intro-burst,.spotlight-figure,.intro-identity,#house-drawer{animation:none!important}.room-exit .exit-glyph,.option-arrow{transition:none!important}.dialogue-option:hover .option-arrow,.room-exit:hover .exit-glyph{transform:none!important}}
#game #map{display:inline-flex}#game #inventory{display:inline-block}
/* Keep the modal drawer visible even when a background tab suspends animations. */
#house-drawer{animation:none;transform:none!important;left:0;top:0;right:auto;bottom:0}
#game .npc-line:focus{outline:none}
/* Names and crime scenes belong to the rooms, even after their guests are gone. */
#game .roaming-name{top:-25px;bottom:auto;left:50%;transform:translateX(-50%);color:#f1d5b3;letter-spacing:.4px;pointer-events:none}
#game.in-conversation .active-guest .roaming-name{display:block}
.room-body{position:absolute;width:clamp(110px,18%,260px);z-index:2;transform:translateX(-50%);pointer-events:none;filter:brightness(.72) saturate(.7)}
.room-body img{display:block;width:100%;height:auto;image-rendering:pixelated;filter:drop-shadow(3px 5px 4px #0009)}
.body-name{display:block;text-align:center;color:#f3cbab;background:#151821b8;padding:5px;font:13px Georgia;text-shadow:0 2px 4px #000}.body-name small{font:8px var(--mono);display:block;margin-top:3px}
.map-skull{color:#e9b9a0;font-size:20px;line-height:1}.unknown-guest{color:#b7a4b2;font-size:15px;padding:3px 5px}.house-drawer .map-key{display:flex;flex-wrap:wrap;gap:10px}.night-record{padding:14px 0;border-bottom:1px solid #ab8b6a44}.night-record h3{font:24px Georgia;color:#eccb9e}.night-record p{font:15px/1.6 Georgia;color:#e1ccbd}.night-record small{color:#bca6b9}
.prologue.council-scene{min-height:650px;height:auto}.council-scene .prologue-bg{filter:brightness(.3) saturate(.6)}.council-content{position:relative;z-index:4;max-width:800px;margin:0 auto;padding:55px 35px;color:#ead7c4}.council-content h1{font:48px/1.1 Georgia;margin:20px 0}.council-content>p{font:17px/1.6 Georgia}.council-content .small-note{font:12px/1.6 var(--body);color:#bda7b7}.vote-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:25px 0}.vote-choices button{display:flex;align-items:center;gap:12px;text-align:left;background:#1e2530dd;border:1px solid #9f826255;padding:13px;color:#ecd7bd;min-height:52px}.vote-choices small{display:block;font-size:10px;color:#c39ba4;margin-top:4px}.vote-choices button:hover{border-color:#d6ad7d}.ballot-results{margin:20px 0 30px;border-top:1px solid #ba9b6d44}.ballot-results p{display:flex;gap:18px;justify-content:space-between;padding:10px;border-bottom:1px solid #ba9b6d33;margin:0}.ballot-results strong{font-size:12px;color:#d9b68e}.ballot-results span{font:16px Georgia}.morning-comments strong{color:#dfb482;font:700 12px var(--body)}.morning-comments p{font:23px/1.5 Georgia}
@media(max-width:600px){.council-content{padding:30px 20px}.council-content h1{font-size:34px}.vote-choices{grid-template-columns:1fr}.council-content>p{font-size:16px}.room-body{width:32%}.body-name{font-size:11px}.morning-comments p{font-size:20px}}
#game .room-figure{display:block;position:absolute;inset:0;overflow:hidden;width:100%;height:100%;filter:brightness(var(--sprite-light,.68)) saturate(var(--sprite-saturation,.7)) sepia(.12) drop-shadow(2px 5px 2px #06091199)}
#game .room-figure img{display:block;position:absolute;top:0;height:100%;max-width:none;object-fit:fill;image-rendering:pixelated;pointer-events:none}
/* A verdict first feels like relief. A mistaken one gets the same celebration. */
.prologue.celebration-scene,.prologue.verdict-scene{height:calc(100svh - 118px);min-height:720px;overflow:hidden;isolation:isolate}
.celebration-scene .prologue-bg{filter:brightness(.42) saturate(.8)}
.celebration-rays{position:absolute;inset:-25%;background:repeating-conic-gradient(from 0deg at 50% 40%,transparent 0 16deg,#e6b77244 16deg 18deg,transparent 18deg 30deg);animation:celebration-glow 6s ease-in-out infinite alternate;pointer-events:none}
.celebration-cast{position:absolute;inset:9% 8% 36%;display:flex;align-items:flex-end;justify-content:center;gap:2%;z-index:2}
.celebrating-guest{height:100%;width:19%;max-width:230px;display:flex;flex-direction:column;align-items:center;animation:celebrant-rise .6s ease-out both}
.celebrating-guest:nth-child(even){height:90%;animation-delay:.12s}.celebrating-guest .sprite{flex:1;min-height:0;width:100%;filter:brightness(.85) saturate(.85) drop-shadow(0 0 14px #efc48266)}
.celebrating-guest strong{font:12px var(--body);color:#f1d3a9;text-shadow:0 2px 4px #000;margin-top:6px}
.celebration-sparks{position:absolute;top:6%;left:10%;right:10%;font:45px Georgia;letter-spacing:5vw;text-align:center;color:#f6d694;text-shadow:0 0 18px #f6d694;z-index:3;animation:celebration-glow 1.5s infinite alternate}
.verdict-copy{position:absolute;bottom:5%;left:10%;right:10%;z-index:4;text-align:center;color:#f3dfc5;text-shadow:0 2px 5px #000;background:linear-gradient(transparent,#0c111be8 40%);padding:35px 20px 15px}
.verdict-copy h1{font:clamp(32px,4vw,58px)/1.15 Georgia;margin:18px 0}.verdict-copy p{font:18px/1.5 Georgia;max-width:700px;margin:15px auto}.verdict-copy .primary-button,.verdict-copy .secondary-button{margin:12px auto}.verdict-copy .cutscene-controls{justify-content:center}
.verdict-scene.scream .verdict-copy{bottom:30%}.verdict-scene.scream h1{font:700 clamp(65px,10vw,140px) var(--body);color:#e5acaa;animation:scream-jolt .14s 8}
.false-verdict-ending .prologue-bg{filter:brightness(.22) saturate(.3)}.false-verdict-ending .killer-silhouette .sprite{filter:brightness(0) drop-shadow(0 0 20px #9d779344)!important}.false-verdict-ending .ending-portrait{opacity:1}
@keyframes celebration-glow{from{opacity:.5}to{opacity:1}}@keyframes celebrant-rise{from{opacity:0;transform:translateY(25px)}to{opacity:1;transform:none}}
@media(max-width:650px){.prologue.celebration-scene,.prologue.verdict-scene{min-height:760px;height:calc(100svh - 92px)}.celebration-cast{inset:8% 3% 47%;gap:0}.celebrating-guest{width:23%}.celebrating-guest strong{font-size:10px}.verdict-copy{left:4%;right:4%;bottom:5%;padding:25px 12px 12px}.verdict-copy p{font-size:16px}.celebration-sparks{font-size:25px;letter-spacing:4vw}.false-verdict-ending .ending-copy h1{font-size:38px}}
@media(prefers-reduced-motion:reduce){.celebration-rays,.celebration-sparks,.celebrating-guest,.verdict-scene.scream h1{animation:none!important}}
.ending-portrait>span{display:block;width:100%;height:100%}.celebrating-guest .sprite{clip-path:inset(0 4%)}
.house-drawer .plan-people .map-skull{font-size:20px;line-height:1;color:#e9b9a0}.house-drawer .plan-people .unknown-guest{font-size:15px;color:#b7a4b2}
/* Survivors remain visible when a browser suspends entrance animations. */
.celebrating-guest,.celebrating-guest:nth-child(even){animation:none;opacity:1;transform:none}
.celebration-cast{bottom:46%}.celebrating-guest{width:auto;aspect-ratio:1/2;max-width:23%;flex:0 1 auto}
@media(max-width:650px){.celebration-cast{bottom:49%}.celebrating-guest,.celebrating-guest:nth-child(even){height:auto;width:23%;aspect-ratio:1/2}.celebrating-guest .sprite{aspect-ratio:1/2;height:auto;flex:none}}

/* Front-page creator and game links. */
.creator-links{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:2px 18px;margin:10px 0 0;font-family:inherit;font-size:12px;font-weight:400;line-height:1.5;letter-spacing:.01em}.creator-links a{display:inline-flex;align-items:center;min-height:32px;color:#d6bfca;text-decoration:none;text-underline-offset:4px}.creator-links a:hover,.creator-links a:focus-visible{color:#f2d29d;text-decoration:underline}.creator-links a:focus-visible{outline:2px solid currentColor;outline-offset:3px;border-radius:2px}
.page-shell>.creator-links{margin-top:8px;font-family:var(--body)}
