/* GM Home preview: shared shell navigation, scoped home content. */
:root{--ink:#10191b;--panel:#182427;--line:#304044;--text:#f2eee5;--muted:#a6b5b6;--orange:#dfac69;--cyan:#acd2c7}
.desktop-shell{grid-template-columns:216px minmax(0,1fr)}.rail{background:#0c1417;border-color:#263237;padding:30px 18px;overflow-y:auto}.brand{gap:14px;font-size:15px}.brand span{width:30px;height:30px;font-size:11px}.rail nav{margin-top:40px;gap:8px}.rail .nav-group{display:grid;gap:4px;margin-top:18px}.nav-label,.nav-tools summary{font-size:10px;font-weight:700;letter-spacing:.16em;color:#91a5aa;padding:0 12px 9px}.rail nav button,.rail nav a{display:flex;align-items:center;gap:12px;width:100%;font-size:13px;border:0;border-radius:7px;padding:11px 12px;text-decoration:none;background:transparent;color:#acbabe;text-align:left;cursor:pointer}.rail nav button span,.rail nav a span{width:18px;text-align:center;font-size:19px;color:#91acae}.rail nav button:hover,.rail nav a:hover{background:#1b2b2d;color:#fff}.rail nav button.active{background:#26322f;color:#f0c68c;border:0}.rail nav button.active span{color:#f0c68c}.rail .nav-tools{display:block}.nav-tools summary{display:flex;justify-content:space-between;cursor:pointer;list-style:none}.rail footer{padding-top:35px;line-height:1.7;font-size:11px}.rail-status{color:#b1c4bf}.topbar{height:86px;border-bottom:1px solid #263438;padding:20px 38px;background:#10191b}.topbar small{font-size:9px;letter-spacing:.2em;color:#94a9aa}.topbar h1{font-size:23px;font-weight:600;letter-spacing:-.04em}.player-site-link{font-size:12px;font-weight:500;border-radius:7px;color:#c5d1ce;padding:10px 14px;background:#192629}
#home{padding:30px 38px 42px;max-width:1500px;margin:auto}.home-intro{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:22px}.eyebrow{font-size:10px;letter-spacing:.2em;color:#d9b781;font-weight:700}.home-intro .eyebrow{color:#a5b9b9}.home-intro p{color:var(--muted);font-size:13px;margin:7px 0 0}.home-save{font-size:11px;color:#a8c4b9;display:flex;align-items:center;gap:7px;flex-shrink:0}.home-save i{background:#7cb19b;width:5px;height:5px;border-radius:50%}.campaign-banner{position:relative;isolation:isolate;overflow:hidden;border-radius:12px;border:1px solid #3a4b4d;min-height:325px;background:#182f32 url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201400%20600%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22sky%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20stop-color%3D%22%23203c40%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%230b2023%22%2F%3E%3C%2FlinearGradient%3E%3CradialGradient%20id%3D%22mist%22%3E%3Cstop%20stop-color%3D%22%2394b9a2%22%20stop-opacity%3D%22.45%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%232f6662%22%20stop-opacity%3D%220%22%2F%3E%3C%2FradialGradient%3E%3ClinearGradient%20id%3D%22beam%22%3E%3Cstop%20stop-color%3D%22%23ecc286%22%20stop-opacity%3D%220%22%2F%3E%3Cstop%20offset%3D%22.5%22%20stop-color%3D%22%23e4b574%22%20stop-opacity%3D%22.7%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23e4b574%22%20stop-opacity%3D%220%22%2F%3E%3C%2FlinearGradient%3E%3Cpattern%20id%3D%22windows%22%20width%3D%2225%22%20height%3D%2233%22%20patternUnits%3D%22userSpaceOnUse%22%3E%3Crect%20x%3D%228%22%20y%3D%2212%22%20width%3D%223%22%20height%3D%229%22%20fill%3D%22%23d5b786%22%20opacity%3D%22.3%22%2F%3E%3C%2Fpattern%3E%3C%2Fdefs%3E%3Crect%20width%3D%221400%22%20height%3D%22600%22%20fill%3D%22url%28%23sky%29%22%2F%3E%3Cellipse%20cx%3D%22970%22%20cy%3D%22255%22%20rx%3D%22520%22%20ry%3D%22350%22%20fill%3D%22url%28%23mist%29%22%2F%3E%3Ccircle%20cx%3D%221100%22%20cy%3D%22130%22%20r%3D%2266%22%20fill%3D%22%23c2cbbb%22%20opacity%3D%22.2%22%2F%3E%3Ccircle%20cx%3D%221118%22%20cy%3D%22119%22%20r%3D%2264%22%20fill%3D%22%232c4848%22%2F%3E%3Cpath%20d%3D%22M410%20540V305h40v-65h55v-25h30v90h55v-130h75v65h35v-70h60v-45h28v-90h5v90h20v45h36v230h40v-120h90v-70h50v60h45v-185h63v-58h5v58h48v238h40v-149h80v60h55v270Z%22%20fill%3D%22%23203d3e%22%2F%3E%3Cpath%20d%3D%22M590%20600V360h75v-75h64v120h50v-150h52v-44h42v44h55v-88h86v183h37v-69h83v116h60v-172h78v-84h6v84h73v375Z%22%20fill%3D%22%23112b30%22%2F%3E%3Cpath%20d%3D%22M590%20600V360h75v-75h64v120h50v-150h52v-44h42v44h55v-88h86v183h37v-69h83v116h60v-172h78v-84h6v84h73v375Z%22%20fill%3D%22url%28%23windows%29%22%2F%3E%3Cellipse%20cx%3D%22960%22%20cy%3D%22490%22%20rx%3D%22530%22%20ry%3D%22145%22%20fill%3D%22url%28%23mist%29%22%2F%3E%3Cpath%20d%3D%22M940%2070L1130%20545%22%20stroke%3D%22url%28%23beam%29%22%20stroke-width%3D%223%22%2F%3E%3Cpath%20d%3D%22M975%2070L1165%20545%22%20stroke%3D%22url%28%23beam%29%22%20opacity%3D%22.25%22%2F%3E%3Cpath%20d%3D%22M0%20575L640%20515l60%2020%20135-20%2060%2045%20180-33%2090%2022%20235-90v141H0Z%22%20fill%3D%22%23091b20%22%2F%3E%3Cpath%20d%3D%22M1040%20529l30-30%2019%201%2018%2028-7%2050h-12l-7-34-7%2034h-13l-5-46Z%22%20fill%3D%22%2308171b%22%2F%3E%3Ccircle%20cx%3D%221079%22%20cy%3D%22487%22%20r%3D%2212%22%20fill%3D%22%2308171b%22%2F%3E%3C%2Fsvg%3E') center right/cover no-repeat;display:flex;align-items:center}.campaign-banner:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(11,26,28,.98),rgba(11,26,28,.87) 35%,rgba(11,26,28,.2) 80%)}.banner-copy{padding:42px;max-width:650px;width:72%}.campaign-banner h2{font-size:clamp(30px,3.4vw,49px);line-height:1.12;letter-spacing:-.04em;font-weight:600;margin:17px 0}.campaign-banner .editable-campaign-title{text-decoration:none;color:#faf5e9}.campaign-banner .editable-campaign-title:hover{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:7px}.banner-copy p{color:#becac8;line-height:1.65;font-size:14px;max-width:390px;margin:0 0 25px}.banner-actions{display:flex;align-items:center;gap:22px;flex-wrap:wrap}.banner-actions .primary{display:inline-flex;gap:22px;align-items:center;border-radius:6px;font-size:13px;font-weight:650;padding:13px 18px;text-decoration:none;box-shadow:0 3px 18px #0002}.banner-actions .primary:hover{background:#f1c185}.banner-secondary{font-size:12px;color:#d8dfd9;text-decoration:none}.banner-secondary:hover{text-decoration:underline}.banner-caption{position:absolute;bottom:23px;right:24px;font-size:9px;letter-spacing:.25em;color:#cad4c6aa}.home-launch-section{margin-top:30px}.home-section-title{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:16px}.home-section-title h2{font-size:17px;font-weight:550;letter-spacing:-.02em;margin:0}.home-section-title>span,.home-section-title>a{font-size:11px;color:var(--muted);text-decoration:none}.home-launch-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.home-launch{display:flex;flex-direction:column;align-items:flex-start;border:1px solid #2b3d40;border-radius:9px;background:linear-gradient(130deg,#1b2a2d,#172225);padding:22px;text-decoration:none;color:var(--text);text-align:left;cursor:pointer;transition:background .15s,border-color .15s,transform .15s}.home-launch:hover{border-color:#78968e;background:#223437;transform:translateY(-2px)}.launch-symbol{display:grid;place-items:center;font-size:25px;height:36px;width:36px;background:#273a39;color:#e0bd89;border-radius:8px;margin-bottom:17px}.home-launch h3{font-size:16px;font-weight:600;margin:0 0 9px}.home-launch p{font-size:12px;line-height:1.65;color:#adbdbe;margin:0 0 21px}.launch-link{font-size:11px;color:#d1c7ad;display:flex;justify-content:space-between;align-items:center;width:100%;margin-top:auto}.launch-link b{font-size:17px;font-weight:400}.home-bottom{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:28px;margin-top:30px}.home-pinned{padding:22px 0;border-top:1px solid #2c3c40}.home-pinned p{font-size:12px;color:var(--muted);line-height:1.7}.notebook-link{font-size:12px;color:#d5be98;text-decoration:none}.notebook-link span{margin-left:15px}.home-tools{border-top:1px solid #2c3c40;padding-top:22px;align-self:start}.home-tools summary{display:flex;justify-content:space-between;cursor:pointer;font-size:13px;color:#c3cecb;list-style:none}.home-tools p{font-size:12px;color:var(--muted)}.home-tools .home-section{margin:0}.home-tools .home-section>div:first-child{display:none}.home-tools .quick-actions{display:grid;gap:6px}.home-tools .quick-actions>*{font-size:12px;padding:10px;text-align:left;border-radius:5px}.home-tools>a{display:block;font-size:12px;color:var(--cyan);margin-top:12px}.home-attention{display:block;margin-top:15px;padding:15px 18px;border:1px solid #675439;border-radius:7px;background:#2b2922;color:#e1c192;font-size:13px}.home-attention summary{cursor:pointer}.home-attention summary span{float:right}.home-attention a{color:#e6ceab}.home-records{grid-template-columns:repeat(2,minmax(0,1fr))}.home-records>article{border-radius:7px;padding:15px}.home-records h3{font-size:14px;overflow-wrap:anywhere}.home-empty{position:relative;border-radius:12px;background:linear-gradient(90deg,#102023f5,#10202380),url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201400%20600%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%22sky%22%20x2%3D%220%22%20y2%3D%221%22%3E%3Cstop%20stop-color%3D%22%23203c40%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%230b2023%22%2F%3E%3C%2FlinearGradient%3E%3CradialGradient%20id%3D%22mist%22%3E%3Cstop%20stop-color%3D%22%2394b9a2%22%20stop-opacity%3D%22.45%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%232f6662%22%20stop-opacity%3D%220%22%2F%3E%3C%2FradialGradient%3E%3ClinearGradient%20id%3D%22beam%22%3E%3Cstop%20stop-color%3D%22%23ecc286%22%20stop-opacity%3D%220%22%2F%3E%3Cstop%20offset%3D%22.5%22%20stop-color%3D%22%23e4b574%22%20stop-opacity%3D%22.7%22%2F%3E%3Cstop%20offset%3D%221%22%20stop-color%3D%22%23e4b574%22%20stop-opacity%3D%220%22%2F%3E%3C%2FlinearGradient%3E%3Cpattern%20id%3D%22windows%22%20width%3D%2225%22%20height%3D%2233%22%20patternUnits%3D%22userSpaceOnUse%22%3E%3Crect%20x%3D%228%22%20y%3D%2212%22%20width%3D%223%22%20height%3D%229%22%20fill%3D%22%23d5b786%22%20opacity%3D%22.3%22%2F%3E%3C%2Fpattern%3E%3C%2Fdefs%3E%3Crect%20width%3D%221400%22%20height%3D%22600%22%20fill%3D%22url%28%23sky%29%22%2F%3E%3Cellipse%20cx%3D%22970%22%20cy%3D%22255%22%20rx%3D%22520%22%20ry%3D%22350%22%20fill%3D%22url%28%23mist%29%22%2F%3E%3Ccircle%20cx%3D%221100%22%20cy%3D%22130%22%20r%3D%2266%22%20fill%3D%22%23c2cbbb%22%20opacity%3D%22.2%22%2F%3E%3Ccircle%20cx%3D%221118%22%20cy%3D%22119%22%20r%3D%2264%22%20fill%3D%22%232c4848%22%2F%3E%3Cpath%20d%3D%22M410%20540V305h40v-65h55v-25h30v90h55v-130h75v65h35v-70h60v-45h28v-90h5v90h20v45h36v230h40v-120h90v-70h50v60h45v-185h63v-58h5v58h48v238h40v-149h80v60h55v270Z%22%20fill%3D%22%23203d3e%22%2F%3E%3Cpath%20d%3D%22M590%20600V360h75v-75h64v120h50v-150h52v-44h42v44h55v-88h86v183h37v-69h83v116h60v-172h78v-84h6v84h73v375Z%22%20fill%3D%22%23112b30%22%2F%3E%3Cpath%20d%3D%22M590%20600V360h75v-75h64v120h50v-150h52v-44h42v44h55v-88h86v183h37v-69h83v116h60v-172h78v-84h6v84h73v375Z%22%20fill%3D%22url%28%23windows%29%22%2F%3E%3Cellipse%20cx%3D%22960%22%20cy%3D%22490%22%20rx%3D%22530%22%20ry%3D%22145%22%20fill%3D%22url%28%23mist%29%22%2F%3E%3Cpath%20d%3D%22M940%2070L1130%20545%22%20stroke%3D%22url%28%23beam%29%22%20stroke-width%3D%223%22%2F%3E%3Cpath%20d%3D%22M975%2070L1165%20545%22%20stroke%3D%22url%28%23beam%29%22%20opacity%3D%22.25%22%2F%3E%3Cpath%20d%3D%22M0%20575L640%20515l60%2020%20135-20%2060%2045%20180-33%2090%2022%20235-90v141H0Z%22%20fill%3D%22%23091b20%22%2F%3E%3Cpath%20d%3D%22M1040%20529l30-30%2019%201%2018%2028-7%2050h-12l-7-34-7%2034h-13l-5-46Z%22%20fill%3D%22%2308171b%22%2F%3E%3Ccircle%20cx%3D%221079%22%20cy%3D%22487%22%20r%3D%2212%22%20fill%3D%22%2308171b%22%2F%3E%3C%2Fsvg%3E') center/cover;min-height:340px;display:flex;flex-direction:column;justify-content:center}.home-empty p{max-width:480px}.home-empty .home-action{align-self:flex-start;border-radius:6px;font-size:14px}.home-empty small{color:var(--orange);letter-spacing:.18em}.rail a:focus-visible,.rail button:focus-visible,#home a:focus-visible,#home button:focus-visible,summary:focus-visible{outline:2px solid #edc58d;outline-offset:4px}.campaign-banner h2{overflow-wrap:anywhere}
@media(max-width:1100px){.desktop-shell{grid-template-columns:190px minmax(0,1fr)}.rail{padding:26px 12px}.brand strong{font-size:14px}.rail nav button::first-letter,.rail nav a::first-letter{font-size:inherit}#home{padding:25px}.topbar{padding:18px 25px}.banner-copy{padding:30px}.home-launch{padding:19px}.home-launch h3{font-size:15px}.home-bottom{grid-template-columns:minmax(0,1fr) 185px}}
@media(max-width:760px){.desktop-shell{display:block}.rail{height:auto;position:static;padding:16px}.brand{justify-content:flex-start}.rail nav{display:flex;flex-wrap:wrap;overflow:visible;margin-top:18px;gap:8px}.rail nav>.active{width:auto}.rail .nav-group{display:flex;flex-wrap:wrap;margin:0;gap:4px;width:100%}.nav-label{width:100%;padding:8px 10px 3px}.rail nav button,.rail nav a{width:auto;padding:8px 10px;font-size:12px}.rail .nav-tools{display:block;width:100%}.nav-tools summary{padding:10px}.rail footer{display:none}.topbar{height:auto;padding:18px 22px}#home{padding:22px}.home-intro{align-items:flex-start}.home-save{font-size:10px}.banner-copy{width:90%;padding:28px}.campaign-banner{min-height:300px}.banner-caption{display:none}.home-launch-grid{grid-template-columns:1fr}.home-launch{padding:22px}.home-launch h3{font-size:18px}.home-launch p{font-size:14px}.home-bottom{grid-template-columns:1fr;gap:0}.home-section-title>span{display:none}.home-intro p{max-width:220px}.home-save{max-width:100px;white-space:normal;line-height:1.5}.home-empty{padding:28px}.home-empty h2{font-size:30px}.banner-actions{gap:16px}.home-records{grid-template-columns:1fr}.player-site-link{font-size:11px}.home-section-title>a{max-width:110px}.workspace{height:80vh}}
@media(prefers-reduced-motion:reduce){.home-launch{transition:none}.home-launch:hover{transform:none}}

.nav-toggle{display:none}@media(max-width:760px){.rail{position:relative}.nav-toggle{display:block;position:absolute;right:18px;top:16px;background:#1b2b2d;color:var(--text);border:1px solid var(--line);border-radius:6px;padding:8px 12px;cursor:pointer}.rail nav{display:none}.rail.nav-open nav{display:flex}.home-save{max-width:110px}.banner-copy{width:100%}.campaign-banner:before{background:linear-gradient(90deg,#0b1a1cf5,#0b1a1c99)}}

/* Director-selected campaign artwork, 2026-09-06. Original PNG preserved. */
.campaign-banner{background-image:url('/assets/home/veilfall-campaign-banner.png');background-position:right center;background-size:cover}
.campaign-banner:before{background:linear-gradient(90deg,rgba(7,17,20,.35),rgba(7,17,20,.12) 52%,transparent 78%)}
@media(max-width:760px){.campaign-banner{background-position:65% center}.campaign-banner:before{background:linear-gradient(90deg,rgba(7,17,20,.9),rgba(7,17,20,.65))}}

/* User-supplied Adventures and Characters artwork. */
.home-launch:has(.launch-art){overflow:hidden;padding:0 22px 22px}
.launch-art{display:block;width:calc(100% + 44px);max-width:none;height:145px;margin:0 -22px 22px;object-fit:cover;object-position:72% center;border-bottom:1px solid #344447}
@media(max-width:1100px){.home-launch:has(.launch-art){padding:0 19px 19px}.launch-art{width:calc(100% + 38px);margin:0 -19px 19px;height:135px}}
@media(max-width:760px){.home-launch:has(.launch-art){padding:0 22px 22px}.launch-art{width:calc(100% + 44px);height:auto;aspect-ratio:16/9;margin:0 -22px 22px}}

/* Director reference: wide illustrated cards, live text over the dark left side. */
.home-launch-grid{grid-template-columns:1fr;gap:18px}
.home-launch:has(.launch-art){position:relative;isolation:isolate;min-height:260px;padding:28px 32px;background:#0a171a;overflow:hidden}
.home-launch .launch-art{position:absolute;inset:0;z-index:-2;width:100%;height:100%;margin:0;border:0;object-fit:cover;object-position:right center}
.home-launch:has(.launch-art):before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(7,18,21,.8),rgba(7,18,21,.68) 40%,rgba(7,18,21,.08) 78%);pointer-events:none}
.home-launch .launch-symbol{margin-bottom:18px;background:#203638d9}
.home-launch h3{font-size:22px;margin-bottom:12px;max-width:60%;line-height:1.25}
.home-launch p{font-size:14px;max-width:58%;margin-bottom:24px;text-shadow:0 1px 6px #000;line-height:1.65}
.home-launch .launch-link{font-size:13px;max-width:58%;padding-top:12px}
.home-launch:hover{background:#0a171a}
@media(min-width:1400px){.home-launch:has(.launch-art){min-height:290px;padding:34px 38px}}
@media(max-width:760px){.home-launch:has(.launch-art){min-height:270px;padding:24px}.home-launch .launch-art{width:100%;height:100%;margin:0;aspect-ratio:auto;object-position:65% center}.home-launch:has(.launch-art):before{background:linear-gradient(90deg,#071215e8,#071215ae 65%,#07121555)}.home-launch h3{max-width:100%;font-size:21px}.home-launch p{max-width:95%;font-size:14px}.home-launch .launch-link{max-width:100%}}

/* VM Reference: always-visible tools over Director-supplied artwork. */
.vm-reference{position:relative;isolation:isolate;overflow:hidden;margin-top:24px;border:1px solid #34474a;border-radius:9px;background:#0a171a;min-height:350px}
.reference-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:right center;z-index:-2}
.vm-reference:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#071215ed,#071215c9 45%,#07121522 85%);pointer-events:none}
.reference-content{padding:30px 32px;max-width:760px;width:78%}.reference-content h2{font-size:22px;margin:0 0 12px}.reference-content>p{font-size:14px;color:var(--muted);line-height:1.65;margin:0 0 22px}
.reference-tools{display:flex;flex-wrap:wrap;gap:10px}.reference-tools a,.reference-tools button{display:inline-flex;align-items:center;min-height:44px;padding:11px 14px;border:1px solid #60716c;border-radius:6px;background:#132327e8;color:#f1d2a0;font-size:12px;text-align:left;text-decoration:none;cursor:pointer;line-height:1.4}.reference-tools a:hover,.reference-tools button:hover{background:#2c4141;border-color:#e2b57b}.reference-content .home-records{margin-top:22px}
@media(max-width:760px){.reference-content{width:100%;padding:24px}.vm-reference:before{background:linear-gradient(90deg,#071215ef,#071215bb)}.reference-tools{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.reference-tools a,.reference-tools button{font-size:12px;padding:10px;overflow-wrap:anywhere}.reference-art{object-position:65% center}}

/* VM Reference actions: text only, with accessible focus retained. */
.reference-tools a,.reference-tools button{background:transparent;border:0;border-radius:0;box-shadow:none;color:#f1d2a0;text-shadow:0 1px 5px #000}
.reference-tools a:hover,.reference-tools button:hover{background:transparent;border:0;color:#fff0d4;text-decoration:underline;text-underline-offset:4px}
.reference-tools a:focus-visible,.reference-tools button:focus-visible{outline:2px solid #edc58d;outline-offset:2px}
