/* v12.1: scorched wood, crimson actions and the Reaping's ultraviolet edges. */
.haunt-page{
 --haunt-ink:#0c0706;--haunt-wood:#20110d;--haunt-bone:#f4e9d8;
 --haunt-muted:#c8b7ab;--haunt-rust:#754338;--haunt-red:#e83348;
 --haunt-red-light:#ff929b;--haunt-violet:#d0b3ff;
 color:var(--haunt-bone);background:#0c0706;
 background-image:radial-gradient(ellipse at 100% 0,#50111b38,transparent 55%),linear-gradient(#100907df,#0c0706fa 680px),url('/game-media/menu-134b61e00e27.webp');
 background-position:center top;background-size:auto,auto,auto 820px;background-repeat:no-repeat;background-attachment:scroll;
}
.haunt-page main{max-width:900px;padding-top:calc(18px + env(safe-area-inset-top));padding-bottom:calc(24px + env(safe-area-inset-bottom))}
.haunt-page .topbar{margin-bottom:22px}.haunt-page .station{color:#d0b7aa;line-height:1.6;letter-spacing:.12em}
.haunt-page .support-panel{padding:0;overflow:hidden;isolation:isolate;border:1px solid #784437;border-radius:10px;background:linear-gradient(115deg,#24150f,#120b09 65%);box-shadow:inset 0 0 0 4px #070403b8,0 24px 65px #0009,0 0 38px #970e1610}
.haunt-page p,.haunt-page li{color:var(--haunt-muted)}.haunt-page .lead{color:var(--haunt-bone)}
.haunt-page h1,.haunt-page h2,.haunt-page h3{color:var(--haunt-bone)}
.haunt-page .eyebrow{color:var(--haunt-red-light);font-weight:650;letter-spacing:.15em}
.haunt-page .small,.haunt-page footer{color:#bda99d}.haunt-page a{color:#ffaaa9}
.haunt-page a:focus-visible,.haunt-page button:focus-visible,.haunt-page summary:focus-visible{outline:3px solid #e2c6ff;outline-offset:4px}
.haunt-page .back,.haunt-page .button,.haunt-page .haunt-nav a{
 position:relative;min-height:48px;border:1px solid #86564a;border-radius:4px;color:var(--haunt-bone);
 background:repeating-linear-gradient(2deg,#0000 0 5px,#0b06042e 6px 7px,#0000 8px 17px),linear-gradient(#35221a,#20120e);
 box-shadow:inset 0 1px #f4ddc523,inset 0 -2px #090504b3,0 3px 0 #060302;
 transition:background-color .16s,border-color .16s,box-shadow .16s,transform .16s;
}
.haunt-page .back{font-weight:650}.haunt-page .button{font-size:1rem;max-width:100%;text-align:center;line-height:1.5;gap:10px}
.haunt-page .haunt-primary{background:linear-gradient(#a51c31,#720f20);border-color:#e95765;color:#fff2e5;box-shadow:inset 0 1px #ffb2aa60,inset 0 -2px #35040cc9,0 3px 0 #080303,0 0 20px #b51d2926;font-weight:750}
.haunt-page :is(.button,.back,.haunt-nav a):active{transform:translateY(1px);box-shadow:inset 0 1px 7px #0008,0 0 20px #a31d2929}
@media(hover:hover){.haunt-page :is(.button,.back,.haunt-nav a):hover{border-color:#d7817c;box-shadow:inset 0 1px #fff0db24,0 0 18px #8b1c263a}.haunt-page .haunt-primary:hover{background:linear-gradient(#b32239,#811225);box-shadow:inset 0 1px #ffd8ce70,0 0 25px #c2223b55}}
.haunt-hero{position:relative;isolation:isolate;overflow:hidden;padding:clamp(30px,7vw,64px) clamp(24px,6vw,48px) 36px;background:linear-gradient(90deg,#100704ee 3%,#100704b3 51%,#10070426),linear-gradient(0deg,#1a0e0a 0%,#1708050d 72%),url('/game-media/menu-134b61e00e27.webp') 75% 40%/cover}
.haunt-hero:before{content:'';position:absolute;z-index:0;inset:45% -12% -20%;pointer-events:none;background:radial-gradient(ellipse at 18% 80%,#bc24153c,transparent 65%),radial-gradient(ellipse at 85% 98%,#a2182624,transparent 55%);opacity:.5;animation:haunt-embers 12s ease-in-out infinite}
.haunt-hero>*{position:relative;z-index:1}.haunt-hero .eyebrow{color:#ead2c2;text-shadow:0 2px 8px #000}
.season-plaque{display:inline-block;margin:4px 0 24px;padding:8px 12px;border:1px solid #a3494b8a;border-left:3px solid #d32b43;border-radius:2px;background:#160907dc;color:#ffb0ac!important;font:600 .75rem/1.5 system-ui;letter-spacing:.04em}
.haunt-hero .haunt-wordmark{font:bold clamp(2.5rem,13vw,6.5rem)/.95 Georgia,serif;letter-spacing:-.06em;text-transform:uppercase;margin:0 0 22px;text-shadow:2px 4px 0 #100805,0 8px 26px #000b;max-width:100%}
.haunt-wordmark .wordmark-the{display:block;font:700 .24em/1.6 system-ui;letter-spacing:.35em;margin:0 0 .4em .16em;color:#ead8c4}
.wordmark-row{display:flex;align-items:baseline;gap:.13em;white-space:nowrap}
.wordmark-number{position:relative;font-size:1.36em;color:#ed304b;letter-spacing:-.1em;line-height:.88;text-shadow:2px 4px 0 #380609,0 0 24px #cf122631}
.wordmark-number sup{font:700 .26em/1 Georgia,serif;letter-spacing:-.04em;vertical-align:super;margin-left:.19em;position:relative;top:-.12em}
.wordmark-name{color:#f2e4cf}
@supports(background-clip:text){.wordmark-name{background-image:repeating-linear-gradient(174deg,#f2e4cf 0 13px,#ddcdb7 14px 15px,#f2e4cf 16px 29px);background-clip:text;-webkit-background-clip:text;color:transparent;text-shadow:none;filter:drop-shadow(2px 4px 0 #100805)}}
.haunt-subtitle{font:italic 1.2rem/1.5 Georgia,serif;color:#e4ccc0!important;margin:0 0 20px;text-shadow:0 2px 8px #000}.haunt-hero .lead{max-width:28em;font-size:1rem;text-shadow:0 2px 7px #000}.haunt-hero .haunt-primary{margin-top:14px}.haunt-hero .small{margin-bottom:0;color:#ceb7a9}
.haunt-page .haunt-nav{margin:0;padding:18px clamp(22px,6vw,48px);background:#100907ed;border-block:1px solid #84473761;gap:10px}.haunt-nav a{flex:1 1 120px;text-align:center;display:grid;place-items:center;font-weight:600}
.haunt-chapter{padding:32px clamp(24px,6vw,48px);border-bottom:1px solid #7f493b61;scroll-margin-top:20px}.haunt-chapter:last-child{border-bottom:0}.haunt-chapter h2{font-size:clamp(1.9rem,6vw,2.75rem);margin:10px 0 22px;line-height:1.15}.haunt-chapter p{max-width:39em}.haunt-chapter .threshold-line{font:italic 1.25rem/1.5 Georgia,serif;color:#efb4ac;margin:22px 0}
#survival{background:linear-gradient(#12090742,#0904037a)}
.gate-warnings{position:relative;isolation:isolate;padding:27px 24px;border:1px solid #885544;border-radius:3px;margin:26px 0 24px;background:repeating-linear-gradient(2deg,#0000 0 7px,#09040150 8px 9px,#0000 10px 18px,#a27d4920 19px 20px),linear-gradient(105deg,#362117,#25140e 65%,#1c0e0a);box-shadow:inset 0 0 30px 6px #090401,0 7px 18px #0006}
.gate-warnings:before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(circle at 11px 11px,#b5947a 1px,#49423a 2px,#0d0907 4px,transparent 5px),radial-gradient(circle at calc(100% - 11px) 11px,#b5947a 1px,#49423a 2px,#0d0907 4px,transparent 5px),radial-gradient(circle at 11px calc(100% - 11px),#b5947a 1px,#49423a 2px,#0d0907 4px,transparent 5px),radial-gradient(circle at calc(100% - 11px) calc(100% - 11px),#b5947a 1px,#49423a 2px,#0d0907 4px,transparent 5px)}
.gate-warnings>.eyebrow{padding-bottom:15px;margin-bottom:20px;border-bottom:2px solid #a6333e8c;color:#ffc0b9}
.gate-warnings ol{list-style:none;counter-reset:warning;padding:0;margin:0;display:grid;grid-template-columns:1fr 1fr;gap:24px 20px}
.gate-warnings li{counter-increment:warning;position:relative;padding-left:32px;line-height:1.5}.gate-warnings li:before{content:counter(warning,decimal-leading-zero);position:absolute;left:0;top:0;color:#ff7b88;font:700 .875rem/1.6 system-ui}
.gate-warnings strong{display:block;color:#f4e7d6;font:700 1.12rem/1.35 Georgia,serif}.gate-warnings span{font-size:.9375rem;color:#d4bfb0;display:block;margin-top:5px}
.visitor-rules{padding:21px;border:1px solid #7950467d;border-left:3px solid #ad5b52;border-radius:3px;background:#160d09}.visitor-rules h3{font-size:1.125rem;margin-top:0}.visitor-rules p,.visitor-rules li{color:#dfcfc1}.visitor-rules li{margin:11px 0}.visitor-rules li::marker{color:#ef9993}.visitor-rules .button{margin-top:12px}
.haunt-page details{background:#140b09;border-color:#77493a90}.haunt-page summary{color:#efdbcb}.haunt-page summary:after{color:#ff8d98}
.haunt-poster{margin:26px 0 22px}.haunt-poster img{width:100%;height:auto;border-radius:3px;display:block}.haunt-poster a{display:block}
.unknown-file{text-align:center;position:relative;overflow:hidden;isolation:isolate;background:radial-gradient(ellipse at 50% 42%,#67307826,transparent 65%),linear-gradient(#150b16,#0b0710);border-color:#74507170}
.unknown-file:before{content:'';position:absolute;z-index:-1;inset:10% -20% -12%;pointer-events:none;background:radial-gradient(ellipse at 28% 70%,#963bad33,transparent 48%),radial-gradient(ellipse at 74% 40%,#6832ba26,transparent 44%);opacity:.45;animation:haunt-fog 16s ease-in-out infinite}
.unknown-file p,.unknown-file h2{position:relative;z-index:1;margin-left:auto;margin-right:auto}.unknown-file .eyebrow{color:#d3a4e6}.unknown-file h2{color:#f3e8f5;text-shadow:0 0 25px #9b3ebe24}
.unknown-file .unknown-status{font:.875rem/1.95 system-ui;letter-spacing:.065em;color:#d1bad6}.unknown-file .threshold-line{color:#e4c8eb}.unknown-file .small{font-size:.8125rem;color:#b9a1bd}
.unknown-seal{position:relative;z-index:1;width:90px;height:90px;display:grid;place-items:center;margin:26px auto;border:1px solid #b070d28c;border-radius:50%;box-shadow:0 0 25px #9433c327,inset 0 0 22px #ae44ca12;background:#190c22b8;font:3.2rem Georgia,serif;color:#d9b3ff}
.unknown-seal:after{content:'';position:absolute;inset:6px;border:1px dashed #ce8cf240;border-radius:50%;pointer-events:none}
.haunt-corn{position:absolute;z-index:0;bottom:0;pointer-events:none;width:clamp(140px,30vw,240px);aspect-ratio:1;background:url('/game-media/corn-0ef2f0155ab5.webp') 100% 100%/300% 200% no-repeat;opacity:.32;filter:saturate(.72);mix-blend-mode:screen;mask-image:linear-gradient(0deg,#000 60%,transparent);-webkit-mask-image:linear-gradient(0deg,#000 60%,transparent)}
.haunt-corn-left{left:-8%;transform:scaleX(-1)}.haunt-corn-right{right:-8%}
.visit-actions{display:grid;gap:12px;margin:24px 0}.review-box,.queue-invite,.haunt-social{padding:22px;border:1px solid #75443885;border-radius:4px;background:#130b09;margin:26px 0 0}.review-box h3,.queue-invite h3,.haunt-social h3{margin-top:0;font:1.5rem/1.25 Georgia,serif}
.haunt-page .review-pending:disabled{opacity:1;color:#bdaba0;background:#291c16;border-color:#6d51474d;cursor:not-allowed;box-shadow:none;transform:none}.review-box .small{margin-bottom:0}.haunt-social nav{display:flex;gap:12px;flex-wrap:wrap}.queue-invite{background:radial-gradient(ellipse at 100% 100%,#74132120,transparent 80%),linear-gradient(125deg,#2c1911,#180d09)}
.haunt-page footer a{color:#e2b1a8}
@keyframes haunt-embers{0%,100%{opacity:.32;transform:translate3d(0,0,0)}50%{opacity:.6;transform:translate3d(0,-6px,0)}}
@keyframes haunt-fog{0%,100%{opacity:.38;transform:translate3d(-8px,0,0)}50%{opacity:.6;transform:translate3d(8px,-4px,0)}}
@media(max-width:480px){.gate-warnings{padding:24px 20px}.gate-warnings ol{grid-template-columns:1fr}.haunt-hero .haunt-primary,.visit-actions .button{width:100%}.haunt-chapter{padding-block:28px}.haunt-page .topbar{gap:10px}.haunt-page .station{font-size:.65rem}.haunt-hero .lead br{display:none}.visitor-rules{padding:17px}.haunt-corn{opacity:.22}}
@media(prefers-reduced-motion:reduce){.haunt-hero:before,.unknown-file:before{animation:none;transform:none}.haunt-page *{scroll-behavior:auto;transition:none}}
@media(forced-colors:active){.wordmark-name{background:none;color:CanvasText;filter:none}.haunt-hero:before,.unknown-file:before,.haunt-corn{display:none}.haunt-page :is(.button,.back,.haunt-nav a){border-color:ButtonText}.gate-warnings:before{display:none}}
:root{background:#0c0706}
html[data-haunt-motion=off] .haunt-hero:before,html[data-haunt-motion=off] .unknown-file:before{animation:none;transform:none}
