body:has(.setup-active){background:#101f1c}.player-shell.setup-active{color:#f2e5cc;max-width:1240px;padding-bottom:max(40px,env(safe-area-inset-bottom))}.setup-active nav{border-color:#b69b6555}.setup-active .brand i,.setup-active .connection{color:#d6b57a}.setup-layout{align-items:start;gap:30px;margin:24px 0 40px;display:grid}.setup-identity{max-width:560px}.setup-identity h1{overflow-wrap:anywhere;font-size:clamp(2rem,3.2vw,3.4rem);line-height:1.14}.setup-identity>p{max-width:44ch}.setup-art{border-radius:18px;width:100%;display:block}.setup-metadata{color:#d6b57a;font-size:14px}.setup-content{gap:22px;width:100%;min-width:0;max-width:560px;display:grid}.setup-content h2{font-size:clamp(1.8rem,3vw,2.5rem)}.setup-paper{color:#172e27;background:#f2e5cc;border:1px solid #b69b65;border-radius:20px;padding:clamp(20px,3vw,32px);box-shadow:0 18px 40px #0002}.setup-paper .eyebrow{color:#6e5129}.setup-paper input{background:#fffbf2;border:1px solid #8a795d;scroll-margin:80px;font-size:16px}.setup-active button{border-radius:30px;min-height:52px}.setup-active button.gold{color:#142b24;background:linear-gradient(#f2e5cc,#d6b57a);border:1px solid #b89a64}.setup-active button:disabled{opacity:1;color:#3e4c42;background:#c7c6b4;border:1px dashed #65776c}.setup-active .secondary{color:#f2e5cc;border-color:#b69b65}.setup-active .setup-paper button.secondary{color:#17372d}.setup-active .setup-link{color:#315441;background:0 0;border:0;padding:10px 4px;text-decoration:underline}.invitation-code{justify-items:start;gap:8px;display:grid}.invitation-code strong{letter-spacing:5px;font:700 28px monospace}.setup-demo button{width:100%;margin-top:14px;display:block}.setup-seats{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.setup-seat{background:#203b32;border:1px solid #b69b6566;border-radius:16px;min-width:0;padding:18px}.setup-seat h3{overflow-wrap:anywhere;margin:10px 0;font-size:23px}.setup-seat p{margin:6px 0;font-size:13px}.setup-seat.seat-ready{border:2px solid #d6b57a}.seat-symbol{color:#d6b57a;font-size:30px}.hero-editor,.hero-editor fieldset{border:0;min-width:0;margin:0;padding:0}.hero-editor{gap:18px;display:grid}.hero-editor>legend{margin-bottom:18px;font-size:14px}.hero-editor fieldset legend{margin-bottom:8px;font-size:14px;font-weight:700}.hero-editor button[aria-pressed=true]{border-color:#876329;box-shadow:inset 0 0 0 2px #876329}.setup-ready{gap:14px;display:grid}.setup-ready p{margin:0;font-size:14px}.saved-hero{gap:8px;display:grid}.setup-announcement:empty{display:none}.setup-active .session-menu{color:#f2e5cc}.setup-active .session-menu .panel{color:#17372d}.setup-active .session-menu .fine{opacity:1}.setup-content form{margin-bottom:0}.setup-paper .fine{opacity:1}.setup-active .demo-banner{color:#16392f}.setup-active .error{margin:16px 0}.setup-content header p{line-height:1.6}@media (min-width:950px){.setup-layout{grid-template-columns:minmax(0,1fr) minmax(0,560px);gap:48px}.setup-identity{position:sticky;top:24px}.setup-identity .door-art{object-fit:cover;min-height:270px}}@media (max-width:949px){.setup-layout{max-width:600px;margin-inline:auto}.setup-identity .door-art,.setup-art{object-fit:cover;max-height:230px}.setup-identity h1{font-size:2rem}.setup-identity p{margin-block:10px}}@media (max-width:380px){.setup-seats{grid-template-columns:1fr}}@media (prefers-reduced-motion:no-preference){.setup-paper{animation:.25s ease-out scene-arrive}.setup-active button:active{transform:translateY(1px)}}.captcha-block{gap:8px;max-width:100%;display:grid;overflow:hidden}.captcha-block>div{min-height:65px}.captcha-block .fine{margin:0}.captcha-error{color:#862e3d;font-weight:700}.adventure-table{isolation:isolate;background:linear-gradient(150deg,#1c3337,#101e25);border:1px solid #caa46766;border-radius:22px;padding:24px 14px 14px;position:relative;overflow:hidden}.adventure-table .setup-seats{gap:20px}.adventure-table .setup-seat{text-align:center;background:#102725c9;border:1px solid #ab926255;padding:16px 8px;box-shadow:0 10px 24px #0003}.seat-portrait{color:#f7e4c0;background:radial-gradient(at 40% 20%,#52665c,#182c2f);border:2px solid #bb9861;border-radius:48% 48% 42% 42%;place-items:center;width:64px;height:76px;margin:0 auto 12px;font:32px Georgia,serif;display:grid;box-shadow:0 0 0 4px #bf9e5920}.adventure-table .seat-empty{background:#10272566;border-style:dashed}.seat-empty .seat-portrait{opacity:.65}.adventure-table .seat-ready{border-color:#e4bc79;box-shadow:0 0 24px #e0ac4825}.seat-ready .seat-portrait{border-color:#f5d9a2}.setup-seat .seat-status{color:#efdab5;font-size:12px}.table-caption{text-align:center;color:#d6b57a;border-top:1px solid #d6b57a59;justify-content:center;align-items:baseline;gap:9px;margin:18px 4px 0;padding-top:14px;font:15px/1.5 Georgia,serif;display:flex;position:relative}.table-caption>span{font-size:12px}.adventure-table .setup-seat h3{font-size:20px}.setup-active .setup-layout{row-gap:24px}@media (min-width:950px){.setup-content{max-width:600px}.setup-layout{grid-template-columns:minmax(260px,.8fr) minmax(0,1.2fr);gap:36px}.setup-identity{padding-top:20px}.adventure-table{padding:28px 24px 16px}}@media (max-width:380px){.adventure-table .setup-seats{grid-template-columns:1fr;gap:14px}}@media (prefers-reduced-motion:no-preference){.adventure-table .setup-seat{transition:box-shadow .35s,border-color .35s}.seat-occupied .seat-portrait{animation:.35s ease-out seat-arrive}@keyframes seat-arrive{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}}.setup-door-painting{object-fit:cover;object-position:center 45%;height:350px}@media (max-width:949px){.setup-door-painting{height:210px}}.hero-summary{grid-template-columns:56px minmax(0,1fr);align-items:center;gap:12px;display:grid}.hero-summary h2{overflow-wrap:anywhere;margin:4px 0;font-size:26px}.hero-summary p{margin:5px 0}.hero-summary-portrait{background:#ded0b2;border:1px solid #947446;border-radius:40%;place-items:center;width:54px;height:64px;font-size:32px;display:grid}.hero-summary .setup-link{grid-column:2;justify-self:start}.hero-summary-note{grid-column:1/-1}.restoration-card{text-align:center;color:#f3e6ce;background:linear-gradient(135deg,#203b36,#10251f);border:1px solid #c7ab6d66;border-radius:20px;max-width:620px;margin:60px auto;padding:36px 24px}.restoration-card>span{color:#dec28c;font-size:40px}.restoration-card h1{font:30px/1.3 Georgia,serif}.restoration-card p{line-height:1.7}.restoration-card button{margin-top:18px}.seat-portrait,.hero-summary-portrait{overflow:hidden}.seat-portrait.seat-cameo{width:auto;height:auto;box-shadow:none;background:0 0;border:0;border-radius:0;overflow:visible}.seat-portrait img,.hero-summary-portrait img{object-fit:cover;width:100%;height:100%;display:block}.portrait-picker{margin:18px 0}.portrait-options{flex-wrap:wrap;gap:12px;display:flex}.portrait-options button{color:#17382f;background:#fff9ea;border:2px solid #aa997d;border-radius:10px;flex:1;min-width:90px;max-width:150px;padding:5px}.portrait-options button[aria-pressed=true]{border-color:#145f50;box-shadow:0 0 0 2px #145f50}.portrait-options img{border-radius:6px;width:100%;height:auto;display:block}.portrait-options span{padding:8px 2px;font-size:14px;display:block}.portrait-options button:focus-visible{outline-offset:4px;outline:3px solid #145f50}.keepsake-heroes{flex-wrap:wrap;justify-content:center;gap:24px;margin:20px 0;display:flex}.keepsake-heroes figure{text-align:center;overflow-wrap:anywhere;max-width:140px;margin:0}.keepsake-heroes img{object-fit:cover;border:2px solid #aa884f;border-radius:50%;width:88px;height:88px}.keepsake-heroes figcaption{margin-top:8px}.class-preview>img{object-fit:contain;background:#f3e6cb;height:min(340px,80vw)}@media (min-width:760px){.class-preview[open]{grid-template-columns:minmax(0,.85fr) minmax(0,1fr);align-items:start;width:min(980px,100% - 40px);display:grid}.class-preview>img{height:auto;max-height:none;position:sticky;top:0}.class-preview>div{min-width:0}}.hero-editor>details{background:#fff8e8;border:1px solid #b69b65;border-radius:12px;padding:14px}.hero-editor>details>summary{cursor:pointer;font-weight:750}.hero-editor>details[open]>summary{margin-bottom:12px}.hero-editor textarea,.hero-editor select{box-sizing:border-box;color:#172e27;width:100%;font:inherit;background:#fffbf2;border:1px solid #8a795d;border-radius:8px;margin-top:6px;padding:12px}.hero-editor textarea{resize:vertical;min-height:96px}.hero-editor label small{text-align:right;color:#58665d;font-size:.75rem;display:block}.hero-story-editor>p{line-height:1.5}.hero-summary-actions{flex-wrap:wrap;grid-column:1/-1;align-items:center;gap:8px 14px;display:flex}.hero-summary-actions .setup-link{grid-column:auto}.setup-paper .edit-hero-button{color:#f2e5cc;background:#17372d;border:2px solid #b69b65;padding:12px 22px;font-weight:800;box-shadow:0 4px #a78954}.setup-paper .edit-hero-button:focus-visible{outline-offset:3px;outline:3px solid #315441}.setup-seat .seat-class{color:#f2e5cc;font-weight:750}.hero-creation-paths>p{line-height:1.55}.hero-creation-paths>div{gap:10px;margin:20px 0;display:grid}.hero-creation-paths>div>button{text-align:left;color:#17372d;background:#fff8e7;border:1px solid #9c8255;align-content:center;gap:5px;padding:15px 18px;display:grid}.hero-creation-paths>div>button strong{font:700 1.05rem Georgia,serif}.hero-creation-paths>div>button span{font-size:.83rem;line-height:1.4}.choose-class-path>.setup-link{margin-top:16px}.hero-review{gap:24px;display:grid}.review-controls{background:#17372d;border:1px solid #b69b65;border-radius:16px;padding:20px}.review-controls>div{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.review-controls label{align-items:center;gap:8px;display:flex}.review-controls input{width:44px;min-width:44px;min-height:44px}.review-locked-generator{max-width:760px}.invitation-fallback{min-height:100dvh;padding-bottom:max(40px,env(safe-area-inset-bottom));color:#f2e5cc}.invitation-fallback .setup-paper{gap:18px;display:grid}.invitation-browser-button{border-radius:30px;width:100%}.invitation-fallback .invitation-code{background:#fff8e9;border:1px solid #b69b65;border-radius:12px;padding:16px}.invitation-fallback .setup-content>.fine{color:#f2e5cc}.setup-brand{width:min(300px,76vw);height:auto;margin:0 0 18px}.restoration-brand{width:112px;height:auto;margin:0 auto 18px}.hero-summary-portrait,.hero-summary-portrait .hero-full-portrait{box-shadow:none!important;border:0!important}.hero-prepared-gear p{font-size:.85rem}.hero-summary-equipment{grid-column:1/-1}.hero-summary-equipment>summary{cursor:pointer;min-height:44px;padding:10px 0}.hero-summary-actions{gap:10px}.hero-summary-equipment .hero-equipment{margin:0;padding:12px}.room-conflict{color:#17372d;background:#fff8e9;border:1px solid #b69b65;border-radius:12px;gap:12px;margin-top:20px;padding:18px;display:grid}.room-conflict:focus-visible{outline-offset:3px;outline:3px solid #315441}.room-conflict h3{margin:0;font:700 1.15rem Georgia,serif}.room-conflict p{margin:0;line-height:1.5}.room-conflict button{width:100%;min-height:44px}.hero-creation{gap:16px;display:grid}.creation-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.creation-heading .eyebrow{margin:0}.hero-creation .creation-cancel,.hero-generator-preview .creation-cancel,.class-step .class-more{min-height:44px;padding:8px 4px}.hero-creation h2{margin:0;font-size:clamp(1.7rem,3vw,2.2rem)}.creation-copy{margin:0;line-height:1.5}.class-step{border:0;gap:14px;min-width:0;margin:0;padding:0;display:grid}.class-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.hero-creation .class-card{text-align:left;color:#f3e8cf;background:#143e34;border:2px solid #24473d;border-radius:14px;align-content:start;gap:0;min-height:0;padding:0;display:grid;overflow:hidden}.hero-creation .class-card[aria-pressed=true]{border-color:#e8c47f;box-shadow:0 0 0 2px #e8c47f59}.class-card>.portrait-art{aspect-ratio:3/4;border-radius:0;width:100%}.class-card .portrait-art.prepared .portrait-person{object-fit:cover;object-position:top center}.class-card-copy{gap:3px;padding:8px 9px 10px;display:grid}.class-card-copy strong{font:1rem Georgia,serif}.class-card-copy>span{color:#d6ddd0;font-size:.72rem;line-height:1.3}.class-strip{color:#15382f;background:#fff8e7;border:1px solid #d9c59a;border-radius:14px;gap:8px;padding:14px 16px;display:grid}.class-strip-heading{justify-content:space-between;align-items:baseline;gap:10px;display:flex}.class-strip-heading strong{font:1.25rem Georgia,serif}.class-strip .ability-badge{color:#6b4f1a;background:#ecd2a3;border-radius:6px;padding:4px 8px;font-weight:700}.class-strip-stats{flex-wrap:wrap;gap:6px 14px;margin:0;font-size:.85rem;display:flex}.class-strip-stats strong{font-size:1rem}.class-strip-vitals{color:#4e5e55;margin-left:auto}.class-strip .fine{margin:0;line-height:1.5}.creation-actions{align-items:center;gap:10px;margin-top:6px;display:flex}.creation-actions button{flex:1;min-width:0}.creation-actions .gold{flex:1.2}.creation-note{text-align:center;margin:0}.creation-look{justify-items:stretch;gap:12px;display:grid}.creation-mirror{justify-items:center;gap:6px;display:grid}.creation-mirror .appearance-caption{margin:0!important}.creation-look>.fine{margin:0}.creation-name{gap:16px;display:grid}.creation-summary{color:#f3e8cf;background:#143e34;border:1px solid #2a5244;border-radius:14px;align-items:center;gap:14px;padding:10px 12px;display:flex}.creation-summary>.portrait-art{border:1.5px solid #e8c47f;flex:0 0 60px;width:60px}.creation-summary>div{gap:3px;min-width:0;display:grid}.creation-summary strong{overflow-wrap:anywhere;font:1.25rem Georgia,serif}.creation-summary span{color:#c9d4c6;font-size:.82rem}.creation-summary small{color:#a9b8ad;font-size:.75rem}.creation-field{letter-spacing:.14em;text-transform:uppercase;color:#4e5e55;gap:6px;font-size:.72rem;font-weight:700;display:grid}.creation-name-row{gap:8px;display:flex}.creation-name-row input{letter-spacing:0;text-transform:none;border-radius:10px;flex:1;min-width:0;min-height:48px;padding:0 14px;font-size:17px;font-weight:400}.creation-name-row button{color:#17372d;letter-spacing:0;text-transform:none;background:0 0;border:1.5px solid #5a7a6c;border-radius:10px;min-height:48px;padding:0 14px;font-size:.9rem}.creation-nature{border:0;gap:8px;min-width:0;margin:0;padding:0;display:grid}.creation-nature legend{justify-content:space-between;align-items:baseline;gap:8px;width:100%;margin-bottom:8px;display:flex}.creation-nature legend span{letter-spacing:.14em;text-transform:uppercase;color:#4e5e55;font-size:.72rem;font-weight:700}.creation-nature legend small{color:#6b7a70;font-size:.75rem}.creation-nature .fine{margin:0;line-height:1.45}.hero-name-editor{gap:12px;display:grid}.hero-name-editor h2{margin:0}.hero-name-editor label{gap:6px;font-weight:700;display:grid}.hero-name-editor input{width:100%;min-height:48px;font:inherit;border-radius:10px;padding:0 14px;font-size:17px}.hero-name-editor .fine{margin:0}.table-talk{color:#102f29;background:#eee8d6;border:1px solid #ddd0ae;border-radius:0 14px 14px;gap:8px;padding:14px 16px;display:grid}.table-talk .eyebrow{color:#816132;margin:0}.table-talk-prompt{margin:0;font:17px/1.45 Georgia,serif}.table-talk>div{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.table-talk .fine{color:#3e4f47;margin:0}.setup-active .table-talk-another{color:#5d4420;background:0 0;border-color:#816132;min-height:36px;padding:0 14px;font-size:.85rem}.hero-generator-preview .creation-heading{margin-bottom:-8px}.generator-portrait{border:2px solid #e8c47f;border-radius:14px;width:min(150px,40vw);margin:0 auto;overflow:hidden;box-shadow:0 12px 30px #0006}.generator-portrait>.portrait-art{border-radius:12px}@media (max-width:380px){.class-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.creation-actions{flex-wrap:wrap}}.setup-ready .setup-ready-quiet{color:#d6b57a;text-underline-offset:4px;background:0 0;border:0;border-radius:10px;justify-self:center;min-height:44px;padding:10px 18px;font-weight:700;text-decoration:underline}.setup-active .setup-ready .setup-ready-quiet:disabled{color:#d6b57a;opacity:.75;cursor:not-allowed;background:0 0;border:0}.setup-ready .setup-ready-caption{text-align:center}.setup-ready-waiting{background:#102725c9;border:1px solid #caa46766;border-radius:16px;gap:6px;padding:14px 16px;display:grid}.setup-ready .setup-ready-waiting-title{color:#f2e5cc;margin:0;font:400 1.4rem/1.25 Georgia,Times New Roman,serif}.setup-ready .setup-ready-waiting-line{color:#efdab5;align-items:center;gap:9px;display:flex}.setup-ready-dot{background:#d6b57a;border-radius:50%;flex:0 0 8px;width:8px;height:8px;box-shadow:0 0 8px #d6b57a88}.opening-film-row{align-items:center;gap:12px;min-width:0;display:flex}.opening-film-text{flex:1;gap:2px;min-width:0;display:grid}.setup-ready .opening-film-row p{margin:0}.setup-ready .opening-film-title{color:#f2e5cc;font-size:15px;font-weight:700}.setup-ready .opening-film-sub{color:#d9ccb0;font-size:13px}.opening-film-quiet{padding:2px 0}.opening-film-notice{background:#1c3330;border:1px solid #d6b57a;border-radius:14px;align-items:flex-start;padding:12px 14px}.opening-film-poster{object-fit:cover;border:1px solid #d6b57a66;border-radius:6px;flex:0 0 64px;width:64px;height:40px}.opening-film-progress{background:#f2e5cc26;border-radius:3px;height:6px;margin-top:8px;overflow:hidden}.opening-film-progress>span{background:linear-gradient(90deg,#f2e5cc,#d6b57a);border-radius:3px;height:100%;display:block}.setup-active .opening-film-retry{color:#d6b57a;text-underline-offset:4px;background:0 0;border:0;border-radius:10px;justify-self:start;min-height:44px;padding:10px 4px;font-weight:700;text-decoration:underline}.setup-active .opening-film-switch{background:0 0;border:0;border-radius:22px;flex:none;place-items:center;min-width:59px;min-height:44px;padding:6px 4px;display:grid}.opening-film-track{background:#4d5d57;border-radius:16px;width:51px;height:31px;display:block;position:relative;box-shadow:inset 0 0 0 1px #f2e5cc33}.opening-film-knob{background:#fbf6ea;border-radius:50%;width:27px;height:27px;position:absolute;top:2px;left:2px;box-shadow:0 2px 4px #0006}.opening-film-switch[aria-checked=true] .opening-film-track{background:#d6b57a}.opening-film-switch[aria-checked=true] .opening-film-knob{transform:translate(20px)}@media (prefers-reduced-motion:no-preference){.opening-film-track{transition:background .2s}.opening-film-knob{transition:transform .2s}}@media (min-width:950px){.setup-band,.setup-band-text{display:contents}.setup-band-text>p{max-width:44ch}}@media (max-width:949px){.player-shell.setup-active{overflow-x:clip}.setup-active .setup-layout{margin-top:0}.setup-identity{width:100vw;max-width:none;margin-inline:calc(50% - 50vw)}.setup-identity>:not(.setup-band){display:none}.setup-band{isolation:isolate;background:#101f1c;flex-direction:column;justify-content:flex-end;min-height:clamp(196px,42vw,320px);display:flex;position:relative;overflow:hidden}.setup-band .setup-art,.setup-band .setup-art.setup-door-painting{z-index:-2;object-fit:cover;object-position:50% 62%;border-radius:0;width:100%;max-height:none;position:absolute;inset:0;height:100%!important}.setup-band .setup-art.setup-door-painting{object-position:50% 45%}.setup-band:after{content:"";z-index:-1;background:linear-gradient(#101f1c00 15%,#101f1c9e 50%,#101f1ceb 80%,#101f1c 100%);position:absolute;inset:0}.setup-band-text{box-sizing:border-box;width:100%;max-width:632px;margin-inline:auto;padding:84px 16px 12px}.setup-identity .setup-band-text .eyebrow{color:#d6b57a;text-shadow:0 1px 6px #000c;margin:0 0 6px}.setup-identity .setup-band-text h1{color:#f2e5cc;text-shadow:0 1px 12px #000c;margin:0;font-size:2rem;line-height:1.14}}.setup-paper .join-missing{color:#862e3d;margin:0;font-weight:700}
