/* Bellweather Fantasy Edition — non-destructive atmosphere layered over verified game/records. */
:root {--bg:#07130f;--panel:#10251d;--line:#51614c;--ink:#faf2dd;--muted:#c9d2c4;--gold:#e6ba75;--green:#ddf27c;--paper:#f7eed9;--shadow:0 28px 90px #010803b0;color-scheme:dark}
body {background:radial-gradient(ellipse at 78% 0%,#5c492625,transparent 38%),radial-gradient(ellipse at 10% 50%,#29402c22,transparent 45%),#07130f; color:var(--ink)}
.sitebar {background:#0a1510f2;border-bottom:1px solid #bca27942;box-shadow:0 5px 25px #0005;min-height:67px}
.sitebar .brand {font-family:Georgia,serif;font-size:18px;letter-spacing:.15em;font-weight:600}.sitebar .beta{font:700 9px/1.1 system-ui;letter-spacing:.17em;color:var(--gold)}
.sitebar .tools button {border-color:#75826280;background:#0a1911}
#main {max-width:1440px}
.setup-image {background-image:linear-gradient(0deg,#081511e8 5%,#06100a22 80%),url('/assets/game-fantasy/house-fantasy-v52-6cae6ce9.webp');background-position:center; min-height:590px;box-shadow:0 25px 85px #000a}
.setup-image:before,.lobby:before{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,#02060259,transparent 62%);border-radius:18px}
.setup-image>div{position:relative;z-index:1}
.setup-image h1{color:#fff3db;font-size:clamp(48px,5vw,80px);text-shadow:0 2px 20px #000e}
.setup-card,.card{background:linear-gradient(145deg,#1a3023,#11221b);border:1px solid #9a885c70;box-shadow:0 20px 55px #0006}
.setup-card{border-radius:18px;padding:28px}.setup-card h2{color:#f4dfb3}
.primary{background:#ddf27c;color:#142314;box-shadow:0 6px 25px #93af2540}.primary:hover{background:#effcaf}
.room-code{color:var(--gold);text-shadow:0 0 24px #c2a25f70;letter-spacing:.17em}
.lobby{position:relative;background:linear-gradient(120deg,#081510ea,#081511dd),url('/assets/game-fantasy/house-fantasy-v52-6cae6ce9.webp') center/cover; padding:30px;border-radius:18px;border:1px solid #d5b77c55;min-height:500px}
.lobby>div,.lobby>section{position:relative;z-index:1}.lobby>div>h1{color:#faebcb}
.eyebrow,.f-kicker{color:var(--gold);font:750 12px/1.45 ui-sans-serif,system-ui;letter-spacing:.18em;text-transform:uppercase}
.fantasy-workspace{max-width:1300px}.fantasy-workspace>.case-heading{padding:12px 0 8px}.fantasy-workspace>.case-heading h1{font-size:clamp(27px,2.9vw,44px);color:#f6e6cc}
.chapter-step{height:6px;background:#284131}.chapter-step.complete{background:linear-gradient(90deg,#c4a373,#e8cf93)}
.tabs{border:1px solid #b6a16a60; background:#0c1b14; border-radius:12px; padding:6px;margin-bottom:28px;gap:1px;scrollbar-color:#8f8b5f #0b1a11}
.tabs button{border-radius:8px;min-width:max-content;min-height:47px;color:#cfd5c5;font-size:14px;padding:10px 15px}
.tabs button.active{background:#2e4330;color:#e7f4c8;border:1px solid #acba7a80}
.fantasy-explore{animation:f-page-in .3s ease both}.f-intro-line{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:8px 0 16px}.f-collection{font-size:12px;color:#dee7c9;text-align:right}
.f-display-title{color:#f7ead4;font-size:clamp(39px,4.4vw,67px);letter-spacing:-.045em;margin:0 0 10px}.f-display-title em{color:var(--gold);font-weight:400}.f-subline{font-size:16px;color:#cbd3c7;max-width:790px;margin-bottom:22px}
.f-room-switch{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:10px 0 18px}
.f-room-choice{background:#12251b;min-height:88px;text-align:left;border-radius:13px;border:1px solid #5b6f58;padding:7px;display:flex;align-items:center;gap:12px;justify-content:flex-start;overflow:hidden;box-shadow:0 8px 25px #0002}
.f-room-choice.selected{background:linear-gradient(115deg,#365034,#17281c);border-color:#e5ca8d;box-shadow:0 0 0 1px #e3bc7960,0 10px 35px #0006}
.f-room-choice img{width:78px;height:73px;flex:0 0 78px;object-fit:cover;border-radius:9px;border:1px solid #ceb98650}
.f-room-choice>span:not(.f-choice-arrow){display:flex;flex-direction:column;gap:2px;min-width:0}
.f-room-choice b{font:400 20px/1.2 Georgia,serif;white-space:normal;color:#f5ecdc}
.f-room-choice small{font-size:12px;color:#bdc6b8}
.f-choice-arrow{margin-left:auto;color:#decb8c;font-size:23px;padding-right:10px}
.f-scene-shell{background:#091410;border-radius:18px;overflow:hidden;border:1px solid #d7bc8059;box-shadow:0 24px 80px #0009}
.f-scene-art{min-height:520px;height:clamp(430px,48vw,690px);position:relative;isolation:isolate;background:var(--f-scene) center/cover no-repeat;overflow:hidden}
.f-scene-shade{position:absolute;inset:0;background:linear-gradient(180deg,#05100993 0%,transparent 32%,#08110a13 50%,#020703bd 100%);pointer-events:none}
.f-scene-heading{position:absolute;left:clamp(18px,3vw,45px);top:clamp(18px,3vw,38px);z-index:1;text-shadow:0 2px 17px #000}
.f-scene-heading>span{font:750 11px/1.4 ui-sans-serif;letter-spacing:.25em;color:#e3c88e}
.f-scene-heading h3{font:400 clamp(34px,4vw,65px)/1.04 Georgia,serif;color:#fff1d6;margin:10px 0 8px}.f-scene-heading p{font-size:15px;color:#f2e3c6;margin:0}
.f-hotspot{position:absolute;left:var(--x);top:var(--y);transform:translate(-50%,-50%);display:flex;flex-direction:column;gap:5px;align-items:center;min-height:0;padding:0;background:transparent;border:0;border-radius:14px;z-index:2;box-shadow:none}
.f-hotspot:hover{background:transparent;transform:translate(-50%,-50%) scale(1.045)}
.f-hotspot>span{width:55px;height:55px;display:grid;place-items:center;border-radius:50%;border:2px solid #f5d59b;background:#13281bcf;color:#ffe6ad;font:700 16px ui-monospace;box-shadow:0 0 0 8px #c4a56d3a,0 0 35px #e7bf6e9a;animation:f-pulse 3.6s infinite}
.f-hotspot.inspected>span{background:#335232;border-color:#b6d48a;color:#d8f5be;box-shadow:0 0 0 6px #76a46433}
.f-hotspot small{max-width:180px;min-width:110px;font-size:12px;line-height:1.2;padding:6px 9px;border:1px solid #e2c18880;border-radius:7px;background:#081911df;color:#fcf1d8;text-align:center;text-shadow:0 1px #000;white-space:normal}
.f-scene-caption{display:flex;align-items:center;gap:18px;background:linear-gradient(120deg,#1c2d21,#101e19);padding:18px 25px}
.f-scene-caption p{color:#e3e9d9;margin:0;font-size:15px;line-height:1.45}
.f-chapter-number{font:700 13px ui-monospace,monospace;letter-spacing:.15em;color:#e8c183;white-space:nowrap}
.f-lead-list{max-width:1050px;margin:29px auto 0;border:1px solid #9b865754;border-radius:15px;padding:16px 21px 10px;background:linear-gradient(135deg,#12261b,#0e1d16)}
.f-list-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin:0 0 16px}.f-list-head h3{font:400 clamp(24px,2.2vw,32px)/1.2 Georgia,serif;color:#f5e6c8;margin:0}.f-list-head span{font:12px ui-sans-serif;color:#d4bf88;text-transform:uppercase;letter-spacing:.11em}
.f-lead{background:transparent;width:100%;border:0;border-top:1px solid #59705561;border-radius:0;display:flex;text-align:left;justify-content:flex-start;align-items:center;gap:16px;padding:17px 8px;min-height:70px}
.f-lead:hover{background:#29403190}.f-lead-glyph{font:27px Georgia,serif;color:#eac784;min-width:34px}.f-lead strong{font:400 21px/1.2 Georgia,serif;color:#f3ead8}.f-lead small{font-size:12px;color:#bfceb9;display:block;margin-top:4px}.f-lead-arrow{margin-left:auto;color:#e3c17e;font-size:23px}
.f-empty{font-size:16px;color:#d4d9c9;padding:16px}.f-next-actions{display:flex;gap:12px;flex-wrap:wrap;margin:23px 0 8px}
.f-outline{background:transparent;border:1px solid #bd9b6f;color:#edddb2;border-radius:9px;min-height:48px;flex:1;font-weight:650}
.f-outline:hover{background:#233b2b}.f-real-evidence-note{font-size:12px;line-height:1.55;color:#b7c9b9;margin-top:14px}
.f-cast-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.f-person{display:block;text-align:left;border:1px solid #ad926380;border-radius:14px;padding:0;background:#13241b;min-height:0;overflow:hidden}
.f-person img{display:block;width:100%;height:215px;object-fit:cover;object-position:50% 18%;filter:none}
.f-person-info{display:block;padding:15px 16px 4px}.f-person strong{display:block;color:#f7e6c5;font:400 26px/1.1 Georgia,serif}.f-person small{display:block;margin:6px 0;color:#c7c9bd;font-size:13px}.f-person-action{display:block;margin:8px 16px 16px;color:#ddefa0;font-size:14px;font-weight:700}
.f-interview{display:grid;grid-template-columns:minmax(160px,.75fr) 1.3fr;gap:22px}
.f-interview-picture{display:block;width:100%;min-height:370px;max-height:600px;border:1px solid #a98f6b;border-radius:12px;object-fit:cover;object-position:50% 20%}
.f-interview-content h2{font:400 clamp(32px,4vw,52px)/1.1 Georgia,serif;color:#f5e3be;margin:8px 0}.f-interview-role{color:#dbb988;font-size:14px;letter-spacing:.07em}
.f-interview-bubble{background:#eddfbb;color:#302f26;border:1px solid #dfc89b;border-radius:5px 15px 15px 15px;padding:23px;font:19px/1.6 Georgia,serif;white-space:pre-wrap;min-height:155px;margin:22px 0}
.f-interview-label{font-size:13px;color:#d2b77c;text-transform:uppercase;letter-spacing:.15em}
.f-questions{display:grid;gap:8px}.f-question{width:100%;background:#203a2b;justify-content:space-between;text-align:left;border:1px solid #70906d;border-radius:9px;font-size:15px}.f-question[aria-pressed=true]{border-color:#efcb80;background:#345132}
.f-interview-links{grid-column:1 / -1;display:flex;gap:12px;flex-wrap:wrap}
.f-interview-links button{min-width:180px}
.f-tv{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.68fr);gap:16px;min-height:calc(100dvh - 165px)}
.f-tv-art{position:relative;border:1px solid #b6945c90;border-radius:20px;overflow:hidden;background:var(--f-tv-scene) center/cover;min-height:490px;box-shadow:0 30px 80px #0009}
.f-tv-smoke{position:absolute;inset:0;background:linear-gradient(180deg,#04090620,transparent 18%,#020602b9 100%)}
.f-tv-text{position:absolute;inset:auto 24px 33px 34px;text-shadow:0 3px 22px #000}.f-tv-text h1{font:400 clamp(44px,6vw,95px)/.97 Georgia,serif;color:#ffeed1;margin:12px 0 18px;max-width:760px}.f-tv-text p{font-size:clamp(17px,1.9vw,29px);color:#f6e7d1;line-height:1.3}
.f-tv-pill{display:inline-block;padding:8px 13px;font-size:13px;color:#f7efce;border:1px solid #dab881ab;background:#123323c7;border-radius:80px}
.f-tv-side{border:1px solid #9e855b65;border-radius:20px;background:linear-gradient(145deg,#1c3024,#101f18);padding:30px;display:flex;flex-direction:column}
.f-tv-side h2{font-size:clamp(26px,2.5vw,42px);color:#f5e4c4;margin:12px 0}.f-tv-side>p{font-size:15px;color:#cbd7c9}.f-tv-missions{margin-top:20px}.f-tv-missions h3{font:17px Georgia,serif;color:#dabb83}.f-tv-mission{display:flex;align-items:center;gap:12px;border-bottom:1px solid #55715a68;padding:13px 0;font-size:14px}.f-tv-mission span{color:#e7be79;font-size:23px}.f-tv-mission strong{font-weight:550;color:#f4ecd8}.f-tv-mission.solved strong{color:#c0dab2}.f-tv-team{margin-top:auto;padding-top:24px}.f-tv-team>small{font-size:13px}.f-tv-team div{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap}.f-tv-team span{width:38px;height:38px;border-radius:100%;background:#3d5a37;border:1px solid #b8a170;display:grid;place-items:center;color:#e9f0d6}.f-tv-tip{margin-top:24px;padding:14px;border:1px solid #778a5488;border-radius:12px;background:#2b3f2d;color:#e3eddd!important}
.f-briefing-hero{height:clamp(240px,33vw,380px);border:1px solid #cfad718a;box-shadow:0 15px 60px #0008}
.fantasy-workspace .finding{border:1px solid #9f815c88;border-radius:13px;overflow:hidden;background:linear-gradient(150deg,#192c20,#112319);padding:25px}
.fantasy-workspace .finding h3{font:400 27px/1.2 Georgia,serif;color:#ffe6bf}
.fantasy-workspace .finding .primary{font-size:15px}
.fantasy-workspace .notebook-grid>section:first-child{border:1px solid #a18d69;border-radius:13px;padding:22px;background:linear-gradient(130deg,#223527,#13251d)}
.fantasy-workspace .notebook-grid textarea{background:#efe5cb;color:#2d3426;font:18px/1.75 Georgia,serif;border:1px solid #d4c29d}
.fantasy-workspace .notebook-grid textarea::placeholder{color:#5c614f}
.fantasy-workspace .doc-card{border-color:#aa966a73;background:linear-gradient(145deg,#1c3225,#16261d)}
.fantasy-workspace .doc-card h3{color:#fae7ca}
.fantasy-workspace .doc-card:hover,.f-person:hover{border-color:#eaca86;box-shadow:0 9px 28px #0008}
.fantasy-workspace .archive-card{border-left:3px solid #d5a763}
.fantasy-workspace .board-note{background:#f5ebd3;color:#283122}
.fantasy-workspace .board-note small{color:#4d5546}
#help:not(.paper){background:#11221a;border:1px solid #ae925e;}
#help .f-interview .f-outline{background:#15291f}
.controller .tabs{top:63px}
.controller .f-scene-art{height:430px;min-height:400px}
.controller .f-room-choice img{width:66px;flex-basis:66px;height:64px}
.controller .f-cast-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.controller .f-person img{height:210px}
@keyframes f-page-in{from{opacity:.7;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@keyframes f-pulse{0%,100%{box-shadow:0 0 0 8px #c4a56d40,0 0 35px #e7bf6e9a}50%{box-shadow:0 0 0 13px #c4a56d12,0 0 28px #e7bf6e60}}
@media(max-width:900px){.f-room-choice img{width:56px;height:56px;flex-basis:56px}.f-room-choice b{font-size:17px}.f-room-choice small{font-size:11px}.f-tv{grid-template-columns:1fr;min-height:0}.f-tv-art{min-height:360px}.f-tv-side{padding:21px}.f-tv-side h2{margin:8px 0}.f-tv-team{margin-top:12px}.f-cast-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){body{font-size:16px}.sitebar{padding:8px 12px;min-height:58px}.sitebar .brand{font-size:13px;letter-spacing:.1em}.sitebar .brand img{width:27px;height:27px}.sitebar .tools button{font-size:11px;padding:7px;min-height:37px}.controller #main,#main{padding:17px 14px 60px}.setup-image{min-height:340px}.setup-image h1{font-size:44px}.lobby{padding:20px;gap:12px}.room-code{font-size:clamp(40px,10vw,68px)}.fantasy-workspace>.case-heading h1{font-size:28px}.fantasy-workspace>.case-heading{margin:0}.tabs{margin:8px -3px 21px;gap:2px;padding:3px}.tabs button{font-size:13px;padding:10px 13px;min-width:max-content;min-height:44px}.controller .tabs{top:58px}.f-intro-line{align-items:flex-start}.f-kicker{font-size:10px}.f-collection{font-size:11px}.f-display-title{font-size:39px;letter-spacing:-.035em;line-height:1.1}.f-subline{font-size:14px;line-height:1.5}.f-room-switch{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;margin-right:-14px;padding-right:14px;gap:10px;scrollbar-width:thin}.f-room-choice{flex:0 0 188px;min-height:70px;scroll-snap-align:start;padding:6px;gap:7px}.f-room-choice img,.controller .f-room-choice img{width:51px;height:55px;flex-basis:51px}.f-room-choice b{font-size:17px}.f-choice-arrow{font-size:18px;padding:0 4px}.f-scene-art,.controller .f-scene-art{height:440px;min-height:0;background-position:center;background-size:cover}.f-scene-heading{left:16px;top:19px;right:12px}.f-scene-heading h3{font-size:36px}.f-scene-heading p{font-size:13px}.f-hotspot>span{width:49px;height:49px;font-size:14px}.f-hotspot small{display:none}.f-scene-caption{padding:14px;gap:10px}.f-scene-caption p{font-size:13px}.f-lead-list{padding:14px 14px 7px;margin-top:19px}.f-list-head{display:block}.f-list-head h3{font-size:25px}.f-list-head span{font-size:11px}.f-lead{padding:12px 4px;min-height:64px;gap:10px}.f-lead strong{font-size:18px}.f-lead small{font-size:11px}.f-lead-glyph{font-size:24px;min-width:25px}.f-next-actions button{font-size:13px}.f-cast-grid,.controller .f-cast-grid{gap:10px}.f-person img,.controller .f-person img{height:168px}.f-person-info{padding:11px 11px 3px}.f-person strong{font-size:21px}.f-person small{font-size:12px}.f-person-action{font-size:12px;margin:6px 11px 12px}.f-interview{grid-template-columns:1fr;gap:10px}.f-interview-picture{width:130px;height:142px;min-height:0;max-height:none;object-position:50% 12%;margin:0 auto}.f-interview-content h2{font-size:36px}.f-interview-bubble{min-height:0;font-size:17px;padding:17px;margin:12px 0}.f-interview-links{grid-column:auto}.f-interview-links button{flex:1;font-size:12px}.f-tv-art{min-height:410px}.f-tv-text{left:19px;bottom:25px;right:14px}.f-tv-text h1{font-size:44px}.f-tv-text p{font-size:18px}.f-tv-side{padding:20px}.f-tv-mission strong{font-size:13px}.f-display-title{margin:0 0 7px}.fantasy-workspace .doc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fantasy-workspace .doc-card h3{font-size:19px}dialog{max-height:90dvh}}
@media(max-width:360px){.brand span:not(.beta){font-size:11px}.f-room-choice{flex-basis:167px}.f-scene-art,.controller .f-scene-art{height:385px}.f-hotspot>span{width:42px;height:42px}.f-display-title{font-size:35px}}
@media(prefers-reduced-motion:reduce){.f-hotspot>span,.fantasy-explore{animation:none!important}}
/* Stronger mobile entry and chapter theatrics. */
.f-join-copy{min-height:440px;padding:32px 28px;display:flex;flex-direction:column;justify-content:end;position:relative;isolation:isolate;background:linear-gradient(0deg,#061009f7,#06100912 72%),url('/assets/game-fantasy/house-fantasy-v52-6cae6ce9.webp') center/cover;border:1px solid #a98c5c92;border-radius:16px;box-shadow:0 15px 55px #0008}
.f-join-copy> *{position:relative;z-index:1}.f-join-copy h1{font-size:clamp(42px,4vw,68px);color:#f5e2c2;margin:10px 0 14px}.f-join-copy p{font-size:17px;color:#f4e9d5;text-shadow:0 2px #000;margin:0 0 12px}.f-join-copy .join-url-callout{margin:13px 0 0}
.f-chapter-curtain{position:fixed;inset:0;z-index:90;background:#07130ff5 url('/assets/game-fantasy/house-fantasy-v52-6cae6ce9.webp') center/cover;display:grid;place-items:center;isolation:isolate;animation:f-page-in .4s both;padding:24px}
.f-chapter-curtain:before{content:'';inset:0;position:absolute;background:#06110ad9;z-index:-1}
.f-curtain-inner{text-align:center;max-width:780px}.f-curtain-inner .eyebrow{font-size:13px;color:#edc98d}
.f-curtain-seal{font-size:90px;line-height:1.2;color:#e1b97c;text-shadow:0 0 35px #e3b87588}
.f-curtain-inner h2{font:400 clamp(41px,6vw,90px)/1.04 Georgia,serif;color:#fff0d8;margin:12px 0 26px}
.f-curtain-inner p{font-size:18px;color:#e7e7d6;margin-bottom:30px}
@media(max-width:650px){.f-join .f-join-copy{min-height:225px;padding:18px 20px;margin-bottom:-7px}.f-join .f-join-copy h1{font-size:36px;line-height:1.05;margin:8px 0}.f-join .f-join-copy p{font-size:14px;line-height:1.4;margin-bottom:0}.f-join .join-url-callout{display:none}.f-join .setup-card{padding:21px}.f-join .setup-card h2{font-size:29px}.controller .f-display-title,.controller .f-subline{display:none}.controller .f-intro-line{margin:7px 0 11px}.controller .f-room-switch{margin:7px 0 12px}.controller .case-heading h1{font-size:24px}.controller .case-heading .eyebrow{margin-bottom:7px}.controller .chapter-steps{margin:9px 0 16px}.f-curtain-seal{font-size:60px}.f-curtain-inner h2{font-size:45px}}
