/* Account layout uses the approved shared material components and an isolated,
   screen-bounded library plate. The opaque paper owns the live form. */
.account-page{font-size:19px;background:#21160d}
.account-shell{max-width:1536px;border-inline:0}
.account-page .back-home{min-height:44px;font-size:17px;gap:12px;padding:8px 24px;white-space:nowrap}
.account-stage{position:relative;display:grid;grid-template-columns:56.7% 43.3%;
 min-height:calc(100vh - var(--site-header-height));
 min-height:calc(100dvh - var(--site-header-height));isolation:isolate;
 background:#25160f url('/art/accounts-v1/library-scene-v1.png') center/cover no-repeat}
.account-story{position:relative;min-width:0;padding:175px 0 0 10.5%;color:#f8e7c8}
.account-story p{font:700 42px/1.05 'Times New Roman',Georgia,serif;margin:0;max-width:245px;text-shadow:0 2px 5px #080302}
.account-story>span{display:block;color:#cda157;margin:15px 0 0 30px}
.account-panel{position:relative;min-width:0;margin:22px 28px 40px 6px;padding:42px 66px 24px;
 display:flex;flex-direction:column;justify-content:center;
 background:#f4eee1 url('/art/creator-ivory-stained-parchment-v1.png') center/cover no-repeat;
 box-shadow:0 10px 25px #05020199,inset 0 0 30px #c4a66d36;border:1px solid #a17d49;border-radius:7px}
.account-panel:before{content:'';position:absolute;inset:-12px;pointer-events:none;
 border:26px solid transparent;border-image:url('/art/creator-brass-pipe-frame-v1.png') 125 round;z-index:2}
.account-panel>*{position:relative;z-index:3}
.account-ornament{display:flex;align-items:center;gap:13px;justify-content:center;margin-bottom:28px;color:#93602e}
.account-ornament svg{width:27px;height:27px;flex:none}
.account-ornament>span{width:44%;height:1px;background:linear-gradient(90deg,transparent,#b18a50)}
.account-ornament>span:last-child{transform:rotate(180deg)}
.account-eyebrow{text-align:center;font-size:13px;letter-spacing:.24em;margin:0 0 21px;color:#74162b}
.account-step{position:absolute;right:-12px;letter-spacing:0;font-size:15px;font-weight:normal;color:#59452c}
.account-panel h1{font:700 clamp(43px,4.25vw,66px)/1.03 Georgia,serif;letter-spacing:-.045em;color:#1d0a0b;text-align:center;margin:0 0 12px;text-wrap:balance}
.account-intro{font-size:22px;line-height:1.35;color:#2c2017;margin:0 0 30px;text-align:center}
.account-form{margin:0;width:100%}
.account-field{margin:0 0 21px}
.account-field>label{display:block;font-size:19px;font-weight:bold;margin:0 0 6px}
.account-panel input:not([type=checkbox]):not([type=hidden]),.account-panel select{
 display:block;width:100%;min-width:0;height:55px;padding:11px 17px;font:20px Georgia,serif;color:#302317;
 border:1px solid #9b8d73;border-radius:4px;background:#fbf8f0;box-shadow:inset 0 1px 3px #4f321916}
.account-panel input::placeholder{color:#807b70;opacity:1}
.input-wrap{position:relative}
.account-panel input[type=password],.account-panel input[data-password-visible]{padding-right:58px}
.password-toggle{position:absolute;right:2px;top:2px;height:51px;width:54px;background:transparent;border:0;border-left:1px solid #b3a38244;cursor:pointer;color:#352318;display:grid;place-items:center;box-shadow:none}
.password-toggle svg{width:25px;height:25px}
.password-toggle:hover{background:#dbc9a950}
.account-panel :focus-visible{outline:3px solid #89612e;outline-offset:4px}
.account-panel input:focus-visible{outline-offset:2px}
.field-help{margin:5px 0 0;color:#66553f;font-size:15px;line-height:1.35}
.forgot-row{text-align:right;margin:-8px 0 29px;font-size:17px}
.account-panel a:not(.button){color:#72152b;text-underline-offset:3px}
.account-submit{width:100%;min-height:65px;font:26px Georgia,serif;gap:20px;cursor:pointer;letter-spacing:0}
.account-submit:disabled{cursor:wait}
.account-switch{margin:21px 0 0;text-align:center;font-size:18px}
.account-switch a{font-weight:600}
.account-divider{height:1px;display:flex;align-items:center;gap:14px;background:transparent;margin:34px 0 30px;text-align:center}
.account-divider::before,.account-divider::after{content:'';height:1px;flex:1;background:#b69b6c80}
.account-divider span{display:block;padding:0;background:transparent;color:#976832;font-size:20px;line-height:1}
.guest-lore{width:100%;font-size:18px;min-height:55px;padding:10px 13px;text-align:center}
.account-footnotes{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;column-gap:17px;row-gap:6px;margin-top:28px;font-size:13px;color:#6b5844}
.account-footnotes a{color:#5b4630!important}
.preview-label{flex-basis:100%;font-size:11px;letter-spacing:.06em;text-align:center;color:#7d6b54}
.account-field>.consent-label{display:flex;gap:13px;align-items:flex-start;font-size:17px;line-height:1.4;font-weight:normal;margin:0}
.consent-label a{display:inline-block}
.consent-label input{width:23px;height:23px;flex:none;margin:0;accent-color:#72152b}
.checkbox-field{margin-top:26px;margin-bottom:24px}
.form-errors,.field-errors{color:#74182a;font-size:16px;line-height:1.4}
.form-errors{padding:12px 14px;border-left:3px solid #8a2035;background:#f1d9d1;margin:0 0 18px}
.form-errors ul,.field-errors ul{padding:0;margin:0;list-style:none}
.form-errors p{margin:0}
.form-errors[hidden]{display:none}
.login-progress{min-height:0;margin:8px 0 0;color:#4c5f38;font-size:16px;text-align:center}
.login-progress:empty{display:none}
.field-errors{margin-top:5px}
.account-messages p,.account-notice{background:#e8ebdb;color:#354e36;padding:12px 15px;border:1px solid #a6ad83;border-radius:3px;font-size:15px;line-height:1.45;margin:0 0 18px}
.account-notice{background:#f2e3c8;color:#665036;border-color:#bea57b}
.skip-account{position:absolute;z-index:20;top:-100px;left:20px;background:#fff1d2;color:#421727;padding:12px}
.skip-account:focus{top:12px}
.account-page .signup-form .account-field{margin-bottom:16px}
.account-panel:has(.signup-form) .account-intro{margin-bottom:24px;font-size:21px}
.account-panel:has(.signup-form) h1{font-family:'Times New Roman',Georgia,serif;font-size:clamp(38px,3.8vw,58px)}
.account-panel:has(.signup-form) .account-divider{margin-top:24px;margin-bottom:25px}
.account-panel:has(.signup-form) .account-ornament{margin-bottom:22px}
.signup-form .account-field>label{font-size:18px;line-height:1.2}
.account-page .signup-form .account-field{margin-bottom:14px}
.account-page .signup-form input:not([type=checkbox]):not([type=hidden]){height:51px}
.signup-form .password-toggle{height:47px}
.account-panel:has(.signup-form) .account-footnotes{margin-top:19px}
.account-panel:has(.signup-form) .preview-label{flex-basis:auto}
.account-panel:has(.signup-form){padding-bottom:22px}
@media(min-width:1101px) and (max-height:850px){
 .account-panel{padding:25px 50px 18px;margin-block:18px 26px}
 .account-ornament{margin-bottom:18px}.account-eyebrow{margin-bottom:14px}
 .account-panel h1{font-size:49px}.account-intro{font-size:19px;margin-bottom:20px}
 .account-field{margin-bottom:16px}.account-panel input:not([type=checkbox]):not([type=hidden]){height:48px;font-size:18px}
 .password-toggle{height:44px}.account-submit{min-height:52px;font-size:22px}
 .account-divider{margin:24px 0}.account-footnotes{margin-top:18px}
 .guest-lore{min-height:47px;font-size:16px}.account-story{padding-top:125px}
 .account-panel:has(.signup-form) h1{font-size:43px}.account-panel:has(.signup-form) .account-intro{font-size:18px;margin-bottom:18px}
 .account-panel:has(.signup-form) .account-eyebrow{margin-bottom:12px}
 .account-panel:has(.signup-form) .account-field{margin-bottom:12px}.checkbox-field{margin-top:15px}
}
@media(max-width:1200px){
 .account-stage{grid-template-columns:47% 53%}.account-panel{padding-inline:43px}
 .account-story{padding-left:9%;padding-top:180px}.account-story p{font-size:33px;max-width:180px}
}
@media(max-width:950px){
 .account-stage{grid-template-columns:35% 65%;min-height:calc(100vh - 112px);min-height:calc(100dvh - 112px);background-position:39% center}
 .account-story p{font-size:29px}.account-panel{padding-inline:34px}
 .account-panel h1{font-size:46px}.account-panel:has(.signup-form) h1{font-size:42px}
 .account-intro{font-size:20px}
}
@media(max-width:640px){
 .account-stage{display:block;padding:145px 18px 27px;background-position:25% -100px;background-size:auto 680px;background-color:#25160f;min-height:calc(100vh - 110px);min-height:calc(100dvh - 110px)}
 .account-story{display:none}
 .account-panel{margin:0;padding:26px 23px 23px;min-height:0}
 .account-ornament{margin-bottom:22px}
 .account-panel h1{font-size:43px}.account-panel:has(.signup-form) h1{font-size:38px}
 .account-eyebrow{font-size:11px;margin-bottom:18px}
 .account-step{right:0;font-size:12px}.account-intro{font-size:19px;margin-bottom:24px}
 .account-field>label{font-size:17px}.account-panel input:not([type=checkbox]):not([type=hidden]){font-size:18px;height:51px}
 .password-toggle{height:47px}.account-submit{font-size:23px;min-height:55px}
 .account-switch{font-size:16px}.guest-lore{font-size:16px;line-height:1.3}
 .consent-label{font-size:15px}.account-divider{margin:27px 0}
 .account-footnotes{margin-top:23px}.forgot-row{font-size:16px}
}
.verification-seal{margin:0 auto 18px;width:62px;height:62px;border:2px solid #98703b;border-radius:50%;display:grid;place-items:center;font-size:34px;color:#785021;box-shadow:inset 0 0 0 3px #bba16d70,0 2px 6px #3d250d30}
.verification-address{text-align:center;font-size:22px;overflow-wrap:anywhere;margin:0 0 20px}
.verification-status{background:#e9eddb;border:1px solid #7b885d;color:#354521;padding:13px;text-align:center;margin-bottom:20px}
.verification-seal svg{width:32px;height:24px;fill:none;stroke:currentColor;stroke-width:1.5}
.account-panel:has(.verification-seal){padding-top:32px}
.account-panel:has(.verification-seal) h1{font-size:clamp(38px,3.65vw,56px)}
.account-panel:has(.verification-seal) .account-eyebrow{margin-bottom:12px}
.account-panel:has(.verification-seal) .account-ornament{margin-bottom:20px}
.account-panel:has(.verification-seal) .account-intro{font-size:20px;margin-bottom:16px}
.account-panel:has(.verification-seal) .verification-address{margin-bottom:12px}
.account-panel:has(.verification-seal) .account-switch{margin-top:14px;font-size:17px}
.local-mail-note{font-size:14px;line-height:1.4;margin:0 0 16px;color:#62513b;text-align:center}
.account-panel h1.recovery-title{font-size:clamp(32px,2.85vw,44px)}
.recovery-success{text-align:center}.recovery-success>span{display:grid;place-items:center;margin:0 auto 22px;width:55px;height:55px;border-radius:50%;background:#365c27;color:#fff7dc;font-size:34px}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
.account-page .account-identity{max-width:260px;gap:10px;padding:6px 16px;font-size:18px;min-height:48px}
.account-identity>span:nth-child(2){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.account-avatar{display:grid;place-items:center;flex:none;width:30px;height:30px;border:1px solid #b99456;border-radius:50%;background:#342318;color:#f5e8c8;font:18px Georgia,serif}
.welcome-page .account-stage{grid-template-columns:23% 67% 10%}
.welcome-page .account-story{visibility:hidden;padding:0}
.welcome-page .account-panel{grid-column:2;margin:30px 0 60px;padding:30px 28px 24px;justify-content:flex-start}
.welcome-page .account-panel h1{font-size:clamp(38px,3.6vw,55px);overflow-wrap:anywhere}
.welcome-page .account-intro{font-size:27px;margin-bottom:12px}
.welcome-verified{text-align:center;color:#3d622c;margin:0 0 24px}
.welcome-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.welcome-card{min-width:0;display:flex;flex-direction:column;text-align:center;border:1px solid #b69a6d;border-radius:5px;padding:0 13px 16px;box-shadow:inset 0 0 12px #bf9c5330}
.welcome-card>img{width:calc(100% + 26px);margin:0 -13px 10px;height:170px;object-fit:cover;object-position:top;border-radius:4px 4px 0 0;border-bottom:2px solid #a78750}
.welcome-card h2{font:700 29px/1.08 Georgia,serif;letter-spacing:-.04em;margin:0 0 12px;color:#29150d}
.welcome-card p{font-size:17px;line-height:1.35;margin:0 0 17px}
.welcome-card>.button{margin-top:auto}
.welcome-card .button{min-height:49px;width:100%;font-size:19px;padding:9px 8px;gap:8px;cursor:pointer}
.welcome-card small{font-size:12px;line-height:1.35;color:#66553e;margin-top:10px}
.welcome-card label{display:block;text-align:left;font-size:16px;margin-bottom:5px}
.welcome-card input{font-size:16px!important;height:42px!important;margin-bottom:12px}
.welcome-memberships{margin-top:24px;border-top:1px solid #b69a6d80;padding-top:15px}
.welcome-memberships h2{font:700 23px Georgia,serif;margin:0 0 10px}.welcome-memberships p{font-size:17px;margin:8px 0}
.welcome-page .guest-lore{display:none}
.welcome-page .account-divider{display:none}
.welcome-page .account-footnotes{margin-top:14px}
.welcome-empty{font-size:16px;text-align:center;margin:18px 0 0;padding-top:12px;border-top:1px solid #b69a6d80}
@media(min-width:641px){.account-panel:has(.signup-form){margin-bottom:24px}}
.campaign-documents{padding-left:22px}.campaign-documents li{margin:12px 0}
.campaign-section{font-size:19px;line-height:1.5;overflow-wrap:anywhere}
@media(max-width:1100px){.welcome-page .account-stage{grid-template-columns:12% 83% 5%}.welcome-page .account-panel{padding:28px 20px}.welcome-card>img{height:130px}.welcome-card h2{font-size:25px}.welcome-card p{font-size:16px}}
@media(max-width:760px){.welcome-page .account-stage{display:block;padding:145px 18px 27px}.welcome-page .account-panel{margin:0;padding:28px 23px}.welcome-choices{grid-template-columns:1fr;gap:20px}.welcome-card>img{height:180px}.welcome-card h2{font-size:30px}.welcome-page .account-intro{font-size:22px}.account-page .account-identity{max-width:190px;font-size:16px;padding:6px 10px}}


/* Signed-in Home: the account's characters and campaigns as parchment cards, drawn with the site's icon sprite. */
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.home-page .account-intro{font-size:22px;overflow-wrap:anywhere}
.home-start{font-size:18px;line-height:1.4;text-align:center;margin:4px 0 8px}
.home-block{margin-top:24px;min-width:0}
.home-section-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 16px;border-bottom:1px solid #b69a6d80;padding-bottom:10px}
.home-section-heading h2{display:flex;align-items:center;gap:10px;font:700 28px/1.15 Georgia,serif;letter-spacing:-.03em;color:#29150d;margin:0}
.home-section-heading h2 svg{width:28px;height:28px;flex:none;color:#93602e;fill:none;stroke:currentColor}
.heading-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px}
.heading-actions>a:not(.button){font-size:16px}
.home-page .button{gap:9px;min-width:0;white-space:normal;text-align:center}
.home-page .button svg,.home-explore svg{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;vertical-align:-4px}
.heading-actions .button{min-height:44px;font-size:17px;padding:8px 16px}
.home-cards{list-style:none;padding:0;margin:16px 0 0;display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:16px}
.home-card{min-width:0;display:grid;grid-template-columns:72px minmax(0,1fr);gap:4px 16px;align-items:start;padding:16px;border:1px solid #b69a6d;border-radius:5px;background:#fbf6ea99;box-shadow:inset 0 0 12px #bf9c5330,0 2px 4px #34201014}
.card-portrait{grid-row:1/3;width:72px;height:80px;border:2px solid #a78750;border-radius:4px;background:#e9dcc0;display:grid;place-items:center;overflow:hidden;color:#93602e}
.card-portrait img{width:100%;height:100%;object-fit:cover;display:block}
.card-portrait svg{width:38px;height:38px;fill:none;stroke:currentColor}
.card-emblem{background:#342318;border-color:#b99456;color:#e2bf78}
.card-body{min-width:0}
.home-card h3{font:700 22px/1.2 Georgia,serif;margin:0;color:#29150d;overflow-wrap:anywhere}
.card-line{margin:4px 0 0;font-size:17px;line-height:1.35;color:#3b2c1c;overflow-wrap:anywhere}
.card-tags{margin:8px 0 0;display:flex;flex-wrap:wrap;gap:6px}
.badge{display:inline-block;font-size:13px;line-height:1;padding:5px 10px;border:1px solid #a78750;border-radius:12px;background:#efe3c8;color:#4b3820}
.badge-draft{border-color:#bea57b;background:#f2e3c8;color:#665036;font-style:italic}
.badge-gm{border-color:#72152b;background:#74162b;color:#fff3da}
.card-actions{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:10px;margin-top:10px}
.card-actions .button{flex:1 1 140px;white-space:nowrap;min-height:44px;font-size:16px;padding:8px 12px}
.home-empty-card{margin-top:16px;display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center;padding:22px 18px;border:1px dashed #a78750;border-radius:5px;background:#fbf6ea66;color:#4b3820}
.home-empty-card>svg{width:42px;height:42px;color:#93602e;fill:none;stroke:currentColor}
.home-empty-card p{margin:0;max-width:44ch;font-size:18px;line-height:1.4}
.home-explore{margin:26px 0 8px;text-align:center;font-size:19px}
.home-explore a{display:inline-flex;align-items:center;gap:8px;padding:10px;min-height:44px}
.home-help{border-top:1px solid #b69a6d80;padding-top:12px;font-size:17px;line-height:1.45}
.home-help summary{cursor:pointer;min-height:44px;padding:10px 0;font-weight:bold}
.home-help p{margin:8px 0 14px;max-width:65ch}
@media(max-width:760px){.home-section-heading h2{font-size:25px}.home-cards{grid-template-columns:1fr}.heading-actions{width:100%}.heading-actions .button{flex:1 1 auto}.card-actions .button{flex-basis:100%}}
.home-actions-row{display:flex;justify-content:center;margin:0 0 6px}
.doc-card{grid-template-columns:72px minmax(0,1fr);align-items:center}.doc-card .card-portrait{grid-row:auto;height:64px}
.doc-card h3 a{color:#29150d;text-decoration-color:#a78750}
.campaign-documents{padding-left:0}
.home-section-foot{margin-top:16px;display:flex;flex-wrap:wrap;gap:10px}
.home-section-foot .button{min-height:48px;font-size:18px}
@media(max-width:760px){.home-section-foot .button{flex:1 1 100%}}

/* ===== Signed-in Home v2: the approved one-sheet composition (docs/design-reference/account-home-2026-10-28/TARGET.md).
   Ivy, left lantern bar, frame and parchment are the shared site layers (site-header.css .screen-top-ivy / .screen-sidebar,
   pipe-frame.js, creator parchment); only the candle-books corner repeats public-home.css `.closing:before`. ===== */
.home-v2{background:#191514 url('/art/dark-oak-texture-v1.png') center/650px auto;font-size:17px}
.home-v2 .account-shell{border-inline:0;max-width:1536px;margin-inline:auto;background:#191514}
.hv-edge{z-index:5;right:auto;width:80px}
/* The bar is one screen tall, so it stays in view while the page scrolls, and fades into the page instead of a hard cut. */
@media(min-width:1151px){.site-header-edge.hv-edge{position:fixed;left:max(0px,calc(50vw - 768px));top:0;bottom:auto;height:100vh;height:100dvh;-webkit-mask-image:linear-gradient(90deg,#000 72%,transparent);mask-image:linear-gradient(90deg,#000 72%,transparent)}}
@media(min-width:1181px){.hv-panel{padding-left:84px}.hv-hero{padding-left:100px}}
.hv-main{display:block;padding:0 clamp(14px,2.1vw,32px) 28px;position:relative}
.hv-sheet{position:relative;z-index:1;max-width:1480px;margin:6px auto 0;border-radius:4px;background:#f4e4c9 url('/art/creator-ivory-stained-parchment-v1.png') center/cover;box-shadow:0 12px 30px #000a,inset 0 0 40px #c4a66d40}
.hv-candle{position:absolute;bottom:-4px;width:130px;height:86px;background:url('/art/candle-books-corner-v1.png') left bottom/130px 86px no-repeat;pointer-events:none;z-index:6}
.hv-candle-left{left:-6px}.hv-candle-right{right:-6px;transform:scaleX(-1)}
.home-v2 .account-messages,.home-v2 .account-notice{margin:14px 32px 0}
/* hero: 283 px at 1536 */
.hv-hero{position:relative;min-height:clamp(230px,18.4vw,283px);padding:clamp(18px,2vw,28px) clamp(20px,4.4vw,70px);background:linear-gradient(90deg,#f4e4c9 0,#f4e4c9 30%,#f4e4c900 58%),url('/art/home-v1/hero-landscape.png') right center/cover no-repeat;overflow:visible}
.hv-hero-copy{max-width:min(520px,54%)}
.hv-headline{font:800 clamp(36px,4.45vw,68px)/.94 Georgia,'Times New Roman',serif;letter-spacing:-.045em;color:#0e0100;margin:0 0 10px;text-wrap:balance}
.hv-sub{font:clamp(17px,1.7vw,26px)/1.2 Georgia,serif;color:#150300;margin:0 0 14px}
.hv-buttons{display:flex;flex-wrap:wrap;gap:12px}
.hv-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:6px 20px;font:clamp(16px,1.3vw,20px) Georgia,serif;color:#150300;text-decoration:none;white-space:nowrap;
 background:#f1e7d4;border:2px solid #c8974f;border-radius:3px;box-shadow:inset 0 0 0 1px #7a5420,inset 0 0 0 3px #f7e4c799,0 2px 4px #3a210f40;cursor:pointer}
.hv-btn:hover{filter:brightness(1.06)}
.hv-btn:focus-visible,.hv-tile a:focus-visible,.hv-pencil:focus-visible,.hv-current-row:focus-visible,.hv-campaign h3 a:focus-visible{outline:3px solid #704614;outline-offset:3px}
.hv-btn-primary{background:linear-gradient(#6a0a1b,#590b1c),#590b1c;color:#ffeff4;border-color:#c8974f;box-shadow:inset 0 0 0 1px #3d010c,inset 0 0 0 3px #c8974f55,0 2px 4px #3a210f60}
.account-page .hv-btn-primary{color:#ffeff4}
.hv-btn svg{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6}
.hv-btn-small{min-height:36px;padding:4px 14px;font-size:15px}
/* current session card, overlapping the hero's right edge */
.hv-current{position:absolute;right:clamp(14px,2.6vw,40px);top:6px;width:min(29%,430px);padding:18px 20px 14px;background:#f1e8d7 url('/art/creator-ivory-stained-parchment-v1.png') center/cover;border-radius:4px;box-shadow:0 8px 20px #000a;transform:rotate(1.2deg);z-index:6}
.hv-current-label{display:flex;align-items:center;gap:8px;margin:0 0 6px;font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:#72152b}
.hv-current-label svg{width:16px;height:16px;fill:none;stroke:currentColor}
.hv-current-row{display:grid;grid-template-columns:64px minmax(0,1fr) auto;align-items:center;gap:10px;padding:6px 0;color:#0e0100;text-decoration:none;border-top:1px solid #b0793a66}
.hv-current-row:first-of-type{border-top:0}
.hv-current-art{--session-art:url('/art/dark-oak-texture-v1.png');height:56px;display:grid;place-items:center;border:2px solid #b0793a;border-radius:3px;background:#1b1410 var(--session-art) center/200px auto;color:#e2bf78}
.hv-current-art svg{width:28px;height:28px;fill:none;stroke:currentColor}
.hv-current-text{display:flex;flex-direction:column;min-width:0}.hv-current-text strong{font:700 clamp(17px,1.5vw,22px)/1.15 Georgia,serif;letter-spacing:-.02em;overflow-wrap:anywhere}.hv-current-text small{font-size:14px;color:#3c3327}
.hv-panel{position:relative;padding:8px clamp(18px,2.1vw,32px) 84px}
.hv-heading{display:flex;align-items:center;justify-content:center;gap:16px;margin:6px 0 4px;min-height:42px}
.hv-heading::before,.hv-heading::after{content:'';flex:1;height:1px;background:linear-gradient(90deg,transparent,#b0793a);max-width:300px}
.hv-heading::after{background:linear-gradient(270deg,transparent,#b0793a)}
.hv-heading h2{font:800 clamp(28px,2.6vw,40px)/1.1 Georgia,serif;letter-spacing:-.04em;color:#0e0100;margin:0}
.hv-heading-actions{margin-top:8px;display:grid;grid-template-columns:1fr auto 1fr;gap:16px}
.hv-heading-actions::before{max-width:none;align-self:center}.hv-heading-actions::after{display:none}
.hv-heading-buttons{display:flex;flex-wrap:wrap;gap:10px;justify-self:end}
/* brass frame with studs on all four corners */
/* Repeating cards get a simple brass border; only main sections keep the pipes (pipe-frame.js [data-pipe-card]). */
.hv-frame{position:relative;list-style:none;min-width:0;background:#f1e8d7;border:2px solid #aa8650;border-radius:4px;padding:10px;box-shadow:0 3px 6px #3a210f50}
.hv-campaigns,.hv-characters,.hv-tiles{list-style:none;padding:0;margin:0;display:grid;gap:14px}
.hv-campaigns{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:6px}
.hv-campaigns:has(>li:only-child){grid-template-columns:1fr}
.hv-characters{grid-template-columns:repeat(4,minmax(0,1fr));margin-top:6px}
.hv-tiles{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));margin-top:14px}
.hv-campaign{overflow:hidden;display:flex;flex-direction:column;height:clamp(200px,16.2vw,249px);padding:10px}
.hv-banner{position:relative;flex:1 1 auto;min-height:80px;background:#241a12 url('/art/accounts-v1/library-scene-v1.png') center 40%/cover no-repeat;border-bottom:2px solid #7a5420}
.hv-campaign:nth-child(even) .hv-banner{background-position:center 75%}
.hv-banner .badge{position:absolute;top:8px;right:10px}
.hv-campaign-body{flex:none;padding:6px 8px 4px;background:#f1e8d7}
.hv-campaign h3{font:800 clamp(20px,1.75vw,27px)/1.15 Georgia,serif;letter-spacing:-.035em;margin:0 0 6px;overflow-wrap:anywhere}
.hv-campaign h3 a{color:#0e0100;text-decoration:none}.hv-campaign h3 a:hover{text-decoration:underline}
.hv-card-buttons{flex-wrap:nowrap}
.hv-card-buttons .hv-btn{flex:1 1 0;min-width:0;min-height:38px;font-size:clamp(14px,1.1vw,17px);padding:4px 8px;white-space:nowrap}
.hv-character{display:grid;grid-template-columns:minmax(72px,38%) minmax(0,1fr);gap:12px;padding:14px;height:clamp(124px,9.1vw,140px)}
.hv-portrait{position:relative;height:100%;aspect-ratio:1/1;max-width:100%;border:2px solid #b0793a;border-radius:3px;background:#e4d3b0;display:grid;place-items:center;overflow:hidden;color:#93602e;box-shadow:0 0 0 1px #f7e4c7}
.hv-portrait img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center top;display:block}
.hv-portrait-fallback{width:44%;height:44%;fill:none;stroke:currentColor}
.hv-chip{position:absolute;left:4px;bottom:4px;z-index:1;font-size:10.5px;line-height:1;padding:3px 7px;border-radius:9px;background:#f1e8d7ee;border:1px solid #a78750;color:#3c3327;max-width:calc(100% - 8px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hv-character-body{min-width:0;display:flex;flex-direction:column;justify-content:center;gap:1px}
.hv-character h3{display:flex;align-items:center;gap:4px;font:700 clamp(17px,1.4vw,21px)/1.2 Georgia,serif;letter-spacing:-.025em;color:#0e0100;margin:0}
.hv-name-text{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hv-pencil{flex:none;display:inline-grid;place-items:center;width:28px;height:28px;color:#3c3327;border-radius:3px}
.hv-pencil:hover{background:#e4d3b0;color:#72152b}.hv-pencil svg{width:17px;height:17px;fill:none;stroke:currentColor}
.hv-meta{margin:0;font-size:clamp(14px,1.05vw,16px);line-height:1.3;color:#3c3327;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hv-btn-open{margin-top:6px;width:100%;min-height:34px;padding:3px 8px;font-size:clamp(14px,1.05vw,16px);white-space:nowrap}
/* tiles: art is one variable per tile (--tile-art, --tile-art-pos) so new art drops in later */
.hv-tile-lore{--tile-art:url('/art/candle-books-corner-v1.png');--tile-art-pos:left bottom;--tile-art-size:cover}
.hv-tile-notes{--tile-art:url('/art/dark-oak-texture-v1.png');--tile-art-pos:30% 20%;--tile-art-size:420px auto}
.hv-tile-sounddesk{--tile-art:url('/art/dark-oak-texture-v1.png');--tile-art-pos:70% 60%;--tile-art-size:420px auto}
.hv-tile-browse{--tile-art:url('/art/candle-books-corner-v1.png');--tile-art-pos:right bottom;--tile-art-size:cover}
.hv-tile{overflow:hidden;min-height:clamp(100px,8.3vw,128px);padding:8px}
.hv-tile a{display:grid;grid-template-columns:minmax(80px,38%) minmax(0,1fr) auto;align-items:center;gap:10px;min-height:calc(clamp(100px,8.3vw,128px) - 16px);color:#150300;text-decoration:none}
.hv-tile-art{position:relative;align-self:stretch;display:grid;place-items:center;background:#1b1410 var(--tile-art) var(--tile-art-pos)/var(--tile-art-size) no-repeat;color:#e2bf78;-webkit-mask-image:linear-gradient(90deg,#000 62%,transparent);mask-image:linear-gradient(90deg,#000 62%,transparent)}
.hv-tile-art svg{width:40px;height:40px;fill:none;stroke:currentColor;stroke-width:1.4;filter:drop-shadow(0 1px 3px #000)}
.hv-tile-text{display:flex;flex-direction:column;gap:2px;min-width:0}
.hv-tile-text strong{font:700 clamp(17px,1.4vw,21px)/1.2 Georgia,serif;letter-spacing:-.02em;color:#0c0000}
.hv-tile-text small{font-size:13.5px;line-height:1.3;color:#584b3a}
.hv-chevron{font-size:30px;padding-right:12px;color:#3c3327}
.hv-tile a:hover{background:#f7eedc}
.hv-empty{display:flex;align-items:center;justify-content:center;gap:14px;padding:16px;border:1px dashed #b0793a;border-radius:4px;background:#fbf3e266;color:#3c3327;text-align:left;margin-top:6px}
.hv-empty svg{width:36px;height:36px;fill:none;stroke:#93602e;flex:none}.hv-empty p{margin:0;font-size:18px;max-width:50ch}
.home-v2 .home-help{margin-top:10px}.home-v2 .account-footnotes{margin:8px 0 0}.home-v2 .account-footnotes a{color:#5b4630}
/* header avatar: round brass medallion */
.home-v2 .account-avatar{width:34px;height:34px;border:2px solid #c8974f;box-shadow:0 0 0 1px #5a3a14,inset 0 0 0 2px #1f130a,0 1px 3px #000a;background:radial-gradient(circle at 35% 30%,#5a3c22,#241810);color:#f7e4c7}
@media(max-width:1180px){.hv-characters{grid-template-columns:repeat(2,minmax(0,1fr))}.hv-character{height:auto;min-height:130px}.hv-hero-copy{max-width:60%}.hv-current{display:none}}
@media(max-width:820px){.hv-hero{height:auto;min-height:230px}.hv-campaigns{grid-template-columns:1fr}.hv-campaign{height:auto}.hv-banner{min-height:110px}.hv-hero{background:linear-gradient(180deg,#f4e4c9 0,#f4e4c9ee 55%,#f4e4c966 100%),url('/art/home-v1/hero-landscape.png') 78% center/cover no-repeat}.hv-hero-copy{max-width:100%}.hv-current{display:block;position:relative;right:auto;top:auto;width:auto;transform:none;margin-top:14px}.hv-card-buttons{flex-wrap:wrap}}
@media(max-width:900px){.hv-heading-actions{display:flex;flex-direction:column;align-items:center;gap:10px}.hv-heading-actions::before{display:none}.hv-heading-buttons{justify-self:auto;justify-content:center}}
@media(max-width:600px){.hv-characters{grid-template-columns:1fr}.hv-heading-buttons{width:100%}.hv-heading-buttons .hv-btn{flex:1 1 100%}.hv-buttons .hv-btn{flex:1 1 100%}.hv-btn{white-space:normal}.hv-tiles{grid-template-columns:1fr}.hv-card-buttons .hv-btn{flex:1 1 100%}.hv-tile{height:auto;min-height:100px}}
/* Uploaded campaign image on a Home campaign card (the dark wood and library scene stay as the fallback). */
.hv-banner-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center}
.hv-banner .badge{z-index:1}

/* Sign in with Fatecasters Offline (/device) */
.device-approve .device-code-line{font-size:16px;line-height:1.6;margin:0 0 18px}
.device-approve .device-code{display:inline-block;font:700 26px/1.2 ui-monospace,Menlo,Consolas,monospace;letter-spacing:.14em;padding:6px 12px;margin-left:6px;border:1px solid #bea57b;border-radius:3px;background:#f2e3c8;color:#3b2f1f;user-select:all}
.device-approve .device-h2{font-size:18px;margin:18px 0 8px}
.device-approve .device-reach{margin:0 0 16px;padding-left:20px;line-height:1.5}
.device-approve .device-reach li{margin:0 0 6px}
.device-approve .device-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.device-approve .device-actions .account-form{width:auto}.device-approve .device-actions .button{min-height:44px}
@media (max-width:480px){.device-approve .device-actions{flex-direction:column;align-items:stretch}.device-approve .device-actions .account-form{width:100%}.device-approve .device-actions .button{width:100%}.device-approve .device-code{font-size:22px}}
