:root{color-scheme:dark;--bg:#211421;--panel:#352238;--ink:#fff1df;--muted:#e1c5d2;--gold:#f8d49b;--pink:#ff9ba8;--line:#98728b;--dark:#382036}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 80% 4%,#702b4f 0,transparent 55%),radial-gradient(#efbca326 .6px,transparent .8px),var(--bg);background-size:auto,6px 6px,auto;color:var(--ink);font:1rem/1.44 system-ui,sans-serif;min-height:100vh}
.shell{width:min(53rem,calc(100% - 1.35rem));margin:auto}header{padding:.85rem 0;display:flex;justify-content:space-between;align-items:center;gap:.4rem;border-bottom:1px solid #ba8c9f82}header a{font-weight:900;letter-spacing:.11em;font-size:.78rem;color:var(--ink);text-decoration:none}main{margin:.75rem 0;padding:clamp(.85rem,4vw,1.6rem);background:linear-gradient(146deg,#482a457a,#251826 64%),var(--panel);border:1px solid var(--line);border-radius:1rem;box-shadow:0 14px 50px #160b1688;min-height:24rem;overflow:hidden}footer{font-size:.85rem;color:var(--muted);padding:.35rem 0 1.5rem}
h1,h2,h3,p{margin:0}h1,h2{line-height:1.03;letter-spacing:-.052em;font-weight:950;overflow-wrap:anywhere}h1{font-size:clamp(2.65rem,9vw,5rem)}h2{font-size:clamp(1.85rem,6.5vw,3.15rem);margin:.25rem 0 .55rem}h3{line-height:1.16}h1 em{display:block;color:var(--pink);font-style:normal}p+p{margin-top:.55rem}.muted{color:var(--muted)}.eyebrow{font-size:.82rem;font-weight:900;color:var(--gold);text-transform:uppercase;letter-spacing:.13em}.chip{display:inline-block;color:#352336;background:var(--gold);border-radius:99px;padding:.22rem .65rem;font-size:.79rem;font-weight:900;white-space:nowrap}.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
button,select,input,textarea{font:inherit}button,summary{cursor:pointer}button{font-weight:830;color:var(--dark);background:var(--gold);border:1px solid #e7b982;min-height:46px;padding:.53rem .78rem;border-radius:.54rem}button:disabled{opacity:.52;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #fff4be;outline-offset:3px}button.alt,select{color:var(--ink);background:#51364e;border:1px solid #ad85a1}.primary{background:var(--pink);border-color:#ffc4c8}.row{display:flex;flex-wrap:wrap;gap:.55rem;align-items:center;margin:.8rem 0 .15rem}.row>*{max-width:100%}
.hero{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);align-items:center;gap:.4rem}.hero .eyebrow{margin-bottom:.3rem}.hero p{margin-top:.6rem;max-width:33ch}.hero .art{min-height:170px;background:radial-gradient(ellipse,#df829455 1%,transparent 65%);display:grid;place-items:center}.hero img,.fold img{width:100%;max-width:25rem;filter:drop-shadow(0 12px 12px #160a18)}.hero img{transform:rotate(-9deg);max-width:21rem}.fold{position:relative;width:min(100%,30rem);aspect-ratio:440/305;margin:.25rem auto 0;isolation:isolate}.fold img{position:absolute;inset:0;width:100%;max-width:none;animation:open .55s ease-out both}.fold button{position:absolute;transform:translate(-50%,-50%);width:40%;background:#fff4e8ef;color:#42253b;border-color:#9d6e81;box-shadow:0 4px 13px #3a173478;font-size:clamp(.8rem,2.8vw,1rem);padding:.25rem;line-height:1.13;overflow-wrap:anywhere}.fold button:nth-of-type(1){top:29%;left:27%}.fold button:nth-of-type(2){top:29%;left:73%}.fold button:nth-of-type(3){top:71%;left:27%}.fold button:nth-of-type(4){top:71%;left:73%}@keyframes open{from{transform:scale(.64,.32) rotate(-7deg);opacity:.45}to{transform:none;opacity:1}}
.die{display:inline-flex;align-items:center;justify-content:center;font-size:2.15rem;line-height:1;color:#442439;background:var(--gold);min-width:3rem;border-radius:.52rem;padding:.15rem}.rue{display:flex;gap:.46rem;align-items:center;margin:.9rem 0 .6rem}.rue img{flex:none;width:3.25rem;height:3.25rem}.rue .bubble{background:#492c46;border:1px solid #a87891;border-radius:.16rem .75rem .75rem .75rem;padding:.53rem .65rem;max-width:35rem;font-size:.94rem}.rue strong{color:var(--gold);display:block;font-size:.78rem;text-transform:uppercase;letter-spacing:.1em}.rue select{min-height:42px;border-radius:.45rem;padding:.25rem}.rue button{min-height:42px;padding:.25rem .5rem;font-size:.9rem}.rue .row{margin:.35rem 0 0}.rue details{margin-top:.45rem}
.scene{color:var(--ink);font-size:1.08rem;max-width:58ch}.rules-note{font-size:.88rem;color:var(--muted);margin-top:.65rem}.cardset{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.48rem;margin:.6rem 0}.choice{background:#4a3148;color:#fff3e6;border:1px solid #b086a1;text-align:left;display:flex;align-items:center;gap:.5rem;min-height:57px;font-weight:720;line-height:1.23}.choice[aria-pressed=true]{background:#6e425f;border:2px solid #ffd7a9}.choice .mark{width:1.1rem;height:1.1rem;flex:none;border:1.5px solid #e6bcce;border-radius:50%;display:grid;place-items:center;color:#382036}.choice[aria-pressed=true] .mark{background:#ffd7a9;border-color:#ffd7a9}.wrench{border-left:4px solid #ff859a;border-radius:.35rem;background:#ffd1c6;color:#42263a;padding:.65rem .8rem;margin:.7rem 0}.wrench strong{text-transform:uppercase;letter-spacing:.08em;font-size:.84rem;display:block}.plan{border:1px dashed #bd8ba8;border-radius:.55rem;padding:.67rem;margin:.65rem 0;color:#fff2e7}.plan p{margin:.12rem 0}.plan strong{color:var(--gold)}textarea{width:100%;max-width:42rem;min-height:4.5rem;display:block;padding:.5rem;margin:.32rem 0;border:1px solid #b48fa6;border-radius:.5rem;color:var(--ink);background:#281a2a;resize:vertical}label{display:block;margin:.45rem 0}.cards{display:grid;gap:.48rem;margin:.65rem 0}.note{padding:.65rem .8rem;border:1px solid #a4768f;border-radius:.6rem;background:#4a3046;overflow-wrap:anywhere}.note small{color:var(--muted)}.careergrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.55rem;margin:.8rem 0}.career{padding:.8rem;background:linear-gradient(140deg,#503447,#3c263c);border:1px solid #ac7d91;border-radius:.65rem;overflow-wrap:anywhere}.career h3{font-size:1.16rem;margin:.15rem 0 .38rem}.career p{font-size:.94rem;margin:.35rem 0}.career b{color:#f8d49b}.career .type{color:#ffd0cc;letter-spacing:.07em;font-size:.78rem;font-weight:850;text-transform:uppercase}
.foil{background:repeating-linear-gradient(0deg,#ffffff40 0 1px,transparent 1px 3px),linear-gradient(135deg,#fff6e5,#e1a99c 23%,#ffead2 47%,#f5d6e3 67%,#bf8ba4);border:1px solid #fce2d2;border-radius:.8rem;padding:clamp(.65rem,3vw,1rem);color:#3b263a;margin:.7rem 0 1rem;box-shadow:0 9px 26px #170d1a77}.foil .eyebrow{color:#60364e}.foil .muted{color:#574052}.ranks{display:grid;gap:.35rem;margin:.55rem 0;padding:0;list-style:none}.rank{display:grid;grid-template-columns:2rem minmax(0,1fr) auto;align-items:center;gap:.45rem;text-align:left;width:100%;border-color:#a16f83;background:#fff7ec;color:#44283d}.rank[aria-current=true]{border:2px solid #7c3c60}.rank .score{font-size:.82rem;white-space:nowrap}.meter{display:block;background:#7d49652b;border-radius:20px;height:.34rem;overflow:hidden;margin:.22rem 0 .05rem}.meter i{display:block;height:100%;background:linear-gradient(90deg,#904263,#d87e91,#be8658);width:var(--score);transform-origin:left;animation:bars .65s ease-out both}@keyframes bars{from{transform:scaleX(0)}to{transform:none}}.slides{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;background:#3a263a;color:#fff3ea;border-radius:.55rem}.slide{flex:0 0 100%;min-width:0;scroll-snap-align:start;padding:.65rem .75rem;overflow-wrap:anywhere}.slide p{font-size:.92rem}.slide ul{padding-left:1.1rem;margin:.3rem 0}.slide li+li{margin-top:.22rem}.slide small{color:#ffcfca}
@media(max-width:600px){.hero{display:flex;flex-direction:column;align-items:stretch}.hero .art{order:-1;min-height:0}.hero img{width:clamp(10rem,53vw,15rem);margin-top:-.3rem}.cardset,.careergrid{grid-template-columns:1fr}.row>.primary,.row>.alt{flex:1 1 auto}.rue img{width:2.6rem;height:2.6rem}.fold button{min-height:44px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;scroll-behavior:auto!important}}

.mode-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;margin:.82rem 0 .12rem}
.mode-card{display:flex;align-items:stretch;justify-content:flex-start;flex-direction:column;gap:.35rem;text-align:left;padding:.62rem .7rem;min-height:94px}
.mode-card.solo{background:#f8d49b;color:#382036}.mode-card.group{background:#5b3a55;color:#fff1df;border-color:#c797b6}
.mode-top{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.15rem .4rem}
.mode-top strong{font-size:1.16rem;line-height:1.05}.mode-count{font-size:.83rem;font-weight:850;white-space:nowrap}
.mode-description{font-size:.88rem;line-height:1.28;font-weight:570}
@media(max-width:375px){.mode-card{padding:.57rem;min-height:108px}}

.studio-draft{list-style:none;padding:0;display:grid;gap:.35rem}.studio-draft li{display:grid;grid-template-columns:3.1rem minmax(0,1fr);gap:.25rem .55rem;padding:.38rem .56rem;background:#432d43;border:1px solid #8b6481;border-radius:.45rem}.studio-draft li strong{color:#ffd297}.studio-extra{margin:.7rem 0;background:#432d43;border:1px solid #9c728d;border-radius:.5rem;padding:.55rem .67rem}.studio-extra summary{font-weight:780}.studio-extra article{margin-top:.45rem}.studio-result:empty{display:none}.studio-result,.studio-proof{margin:.8rem 0;padding:.7rem .85rem;border-radius:.65rem;border:1px solid #c69baf;background:#4a2c46}.studio-result p,.studio-proof p{margin:.33rem 0}.studio-pass strong{color:#ffe1a7}.studio-gap strong{color:#ffb9c4}.studio-explain{color:#f0d2e1}.studio-proof ol{margin:.45rem 0;padding-left:1.25rem}.studio-proof blockquote{margin:.55rem 0;padding:.45rem .62rem;border-left:3px solid #ffd3a8;color:#fff2e5;background:#362437;overflow-wrap:anywhere}.shout{margin-top:.38rem;min-height:42px}.shout[aria-pressed=true]{background:#f8d49b;color:#3a2638;border-color:#f8d49b}.shout[aria-pressed=true]::after{content:" ✓"}
