@font-face{font-family:Testament;src:url('./fonts/cinzel-decorative-bold.ttf') format('truetype');font-display:swap;font-weight:700}
:root{--acid:#d4c38b;--pink:#c46168;--ink:#0e0d0b;--paper:#dfd8c5;--line:#41372a;--muted:#b0a38b;color-scheme:dark}
body{background:radial-gradient(ellipse at 50% 20%,#29201666,transparent 65%),#0e0d0b}body:after{opacity:.055}header{background:#0a0908ed;border-bottom:1px solid #76604488;position:relative;z-index:3}.brand{color:#d8c88e;text-shadow:0 0 25px #d4ae5425}.eyebrow{color:#c9af76}.edition b{color:#96856c}.quiet{color:#b9a886}button{transition:background .2s,border-color .2s,color .2s}button:hover:not(:disabled){background:#332619;color:#f6e1b3;border-color:#b79458}.primary{background:linear-gradient(#b5a16c,#89723e);border:1px solid #d2ba7c;color:#100e0a;box-shadow:inset 0 0 0 3px #1b160722,0 3px 12px #0008}.primary:hover:not(:disabled){background:linear-gradient(#d8c494,#a68a4e);color:#100e0a}h1,h2,.setup h2,.scene h2,.sheet-panel h3,.bestiary h3{font-family:Testament,Georgia,serif;font-weight:700;letter-spacing:0;transform:none}.hero{position:relative;display:block;min-height:800px;overflow:hidden;border-bottom:1px solid #867044}.hero-art{position:absolute;inset:0;margin:0;clip-path:none;background:#111;z-index:0}.hero-art:before{display:none}.hero-art .hero-painting{position:absolute;width:100%;height:100%;object-fit:cover;object-position:65% 50%;z-index:0}.hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#080807f2 0%,#080807c7 25%,#08080740 57%,#08080708 85%),linear-gradient(0deg,#080807e6,transparent 30%);z-index:1;pointer-events:none}.hero-copy{position:relative;z-index:2;padding:90px 0 70px 5%;width:56%;max-width:780px}.hero h1{font:700 clamp(72px,7.2vw,116px)/.95 Testament,Georgia,serif;letter-spacing:-3px;color:#ead9aa;text-shadow:0 3px 1px #000,0 0 50px #b9975530;margin:36px 0 26px}.hero h1 span{color:#d5c9b0}.hero .intro{font:20px/1.8 Georgia,serif;color:#d5cbb7;text-shadow:0 2px 10px #000;max-width:420px}.hero .tag{background:#441b1beb;border:1px solid #966259;color:#e3b7a2;transform:rotate(-2deg);font-size:10px;letter-spacing:2px}.hero .eyebrow{letter-spacing:3px}.hero .muted{color:#ad9b7d}.hero-art .art-label{color:#b9a47a;background:#0a090887;padding:12px;right:18px;z-index:2}.hero-art .art-caption{left:auto;right:35px;bottom:45px;transform:none;color:#c2aa79;font-size:9px;z-index:2;writing-mode:vertical-rl;letter-spacing:4px}.hero-mist{position:absolute;inset:0;background:radial-gradient(ellipse at 70% 80%,#c9b68514,transparent 50%);animation:mist-breathe 18s ease-in-out infinite}.edition-stamp{color:#ae8e59;font-family:Testament,serif;font-size:36px;transform:none;margin:30px 0}.ribbon{background:#21170f;color:#baa478;border-block:1px solid #5d492f;padding:19px;font-size:10px;letter-spacing:4px}.expanded-setup{background:radial-gradient(ellipse at 50% 0,#3b2b1933,transparent 55%);padding:60px 5% 80px}.setup h2{font-size:36px;line-height:1.35;color:#dccaa4;text-transform:none}.setup-heading{margin-bottom:40px}.class-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;align-items:stretch}.class-grid legend{color:#a8936d;margin-bottom:24px;letter-spacing:3px}.class-choice{padding:0 0 24px;background:#17130f;min-height:420px;border:1px solid #675333;overflow:hidden;color:#d5c6a8;box-shadow:0 8px 25px #0006;isolation:isolate}.class-choice:after{content:"";position:absolute;inset:7px;border:1px solid #a084453b;pointer-events:none;z-index:2}.class-choice:before{content:"✦";position:absolute;left:16px;top:14px;font-size:16px;color:#dac48c;z-index:2;text-shadow:0 1px 8px #000}.class-painting{width:100%;height:300px;object-fit:cover;object-position:50% 26%;display:block;transition:transform .8s ease,filter .8s ease;filter:saturate(.82)}.class-choice:hover .class-painting{transform:scale(1.035);filter:saturate(1)}.class-choice strong{font:700 16px/1.4 Testament,Georgia,serif;text-transform:none;letter-spacing:.1px;padding:20px 20px 0;z-index:1}.class-choice small{padding:0 20px;font-size:10px;color:#b4a082}.class-choice .class-symbol{display:none}.class-choice input{right:18px;top:18px;width:17px;height:17px;z-index:3;accent-color:#dac18b}.class-choice:has(input:checked){background:#2c2317;border-color:#ddc38a;color:#f1dba9;transform:none;box-shadow:0 0 0 1px #b89b5b,0 8px 40px #a1843520}.class-choice:has(input:checked) .class-painting{filter:saturate(1)}.class-choice:hover{border-color:#ac8754;transform:translateY(-4px)}.class-detail{background:#211a11;border-color:#a27c42;color:#c9b995}.field input,.field select{background:#17130f;border-color:#5c4b32;color:#d9c6a6}.expanded-setup .primary{padding:22px;margin-top:8px;font-size:12px}
.table-top{background:linear-gradient(110deg,#282014,#11100d);padding:30px 4%;border-bottom:1px solid #6e5735}.table-top h1{font-size:34px;color:#d8c69d;line-height:1.4}.table-top .eyebrow{font-size:9px}.game-grid{grid-template-columns:250px minmax(0,1fr) 290px}.party{background:linear-gradient(90deg,#19140f,#100e0b);border-color:#5a462e;max-height:1450px;padding:25px 18px}.character{padding:20px 0;border-color:#51402a}.character-top{gap:14px;align-items:flex-end}.portrait{width:88px;height:116px;border:1px solid #9c7e48;padding:3px;background:#0d0b08;overflow:hidden;box-shadow:0 2px 16px #000;flex-shrink:0}.portrait img{height:100%;width:100%;object-fit:cover;object-position:50% 22%;transition:transform .6s}.portrait:hover img{transform:scale(1.1)}.character h3{font:19px/1.1 Georgia,serif;color:#e1cfaa;overflow-wrap:anywhere}.character .badge{font-size:8px;line-height:1.8;color:#b78d65;display:block;margin-bottom:6px}.character .calling{font-size:9px;line-height:1.6;letter-spacing:1px;margin:14px 0;color:#c4aa79}.character.current{border-top-color:#ccb274;box-shadow:0 -8px 20px #cba84508}.character.dead .portrait{filter:grayscale(1);transform:rotate(-3deg)}.hp{color:#e3d0a6}.inventory{color:#ae9b7c}.bar meter::-webkit-meter-optimum-value{background:linear-gradient(90deg,#716638,#b8ac6c)}.doom{border-top:1px solid #53412b;padding-top:20px}.seals{color:#aa4c4e}.scene{padding:28px}.room-number{color:#4e422c;-webkit-text-stroke:.5px #a48a56;font-family:Testament,serif;font-size:42px}.scene-heading .section-label{color:#ac9670;font-size:9px}.scene-art{height:390px;border:1px solid #9b7a45;box-shadow:inset 0 0 0 5px #110d09,0 10px 35px #0006;position:relative;overflow:hidden}.scene-art:after{box-shadow:inset 0 0 0 6px #130f09bb,inset 0 0 0 7px #b290512f,inset 0 0 70px #0005;z-index:2}.encounter-painting{width:100%;height:100%;object-fit:cover;object-position:center 18%;display:block;animation:paint-drift 34s ease-in-out infinite alternate}.scene-art.room-0 .encounter-painting{object-position:70% 50%}.scene-art>span{font-size:8px;letter-spacing:2px;bottom:16px;left:16px;color:#d9bb7e;background:#100c08d9;max-width:60%;line-height:1.6}.inspect-scene{position:absolute;right:16px;bottom:16px;z-index:4;background:#110d09e6;border-color:#92713f;color:#dfc48c;font-size:8px;padding:11px 12px;letter-spacing:1px}.painted-haze{position:absolute;inset:0;background:radial-gradient(ellipse at 50% 90%,#e0c38c14,transparent 50%);animation:mist-breathe 15s ease-in-out infinite;pointer-events:none}.living-light{position:absolute;left:40%;top:35%;width:25%;height:50%;background:radial-gradient(ellipse,#ffb32116,transparent 65%);mix-blend-mode:screen;pointer-events:none;transform-origin:center}.embers i{background:#cda265;box-shadow:0 0 8px #eca73d}.dungeon-map{margin:30px 0 20px}.map-node>span{background:#1c160e;border-color:#6f5a35;color:#b69b68}.map-node.here>span{background:#a18750;border-color:#e1c793;color:#0b0906}.map-node.cleared>span{color:#b47a70;border-color:#765247}.map-node small{color:#a68d65;font-size:8px}.clue-strip{border-color:#483722;color:#80745d}.clue-strip .found{color:#d0a66d}.sheet-tabs button{font-size:8px;letter-spacing:1px;padding:16px 5px;color:#a99570}.sheet-tabs button[aria-pressed=true]{color:#dfca9a;background:#2b2115;border-bottom-color:#b89755}.scene h2{font-size:32px;line-height:1.35;color:#dccba8;text-transform:none;margin:28px 0 20px}.scene-text{font:19px/1.9 Georgia,serif;color:#ccbea4;max-width:none}.choices .eyebrow{color:#aa8350}.story-choice{border-color:#4e3b25;background:linear-gradient(90deg,#22190f,#15110d);padding:20px 15px;gap:20px}.story-choice:hover:not(:disabled){background:linear-gradient(90deg,#392919,#21190f);border-color:#9f7b44}.choice-index{font:25px Testament,Georgia,serif;color:#9d7750}.story-choice strong{color:#dbcaab;font-size:19px;line-height:1.4}.story-choice small{color:#ae9772;font-size:10px}.enemy{border:1px solid #9a5247;background:linear-gradient(90deg,#481b1644,#1c0f0b);padding:22px;color:#c68b78}.actions{gap:9px}.actions button{background:#19130e;border-color:#59452b;color:#d5bf93}.actions .primary{background:linear-gradient(#b5a16c,#89723e);color:#100e0a}.omen-options{background:#21180f;border-color:#6e5030}.omen-options summary{color:#c5a473}.turn-label{border-color:#895f3b;color:#c3ac7c}.journal{background:linear-gradient(90deg,#17120d,#100e0b);border-color:#564029;padding:25px 20px}.journal-list{max-height:1080px}.entry{font-size:13px;line-height:1.85;border-color:#453420;color:#bfb094;padding-block:18px}.entry.roll{font-size:10px;color:#8e8068}.entry.danger{color:#ce8980}.entry.companion{color:#c2b074}.entry.choice{color:#bb8e74}.entry.revelation,.entry.magic{color:#d5c38b}.entry-mark{color:#94703f}.die-face{background:#b5a06c;color:#0f0d08}.dice-result.failure .die-face{background:#ab655c}.dice-result.idle .die-face{background:#55482d}.dice-result small{color:#a08a63}.dice-result strong{color:#d5c299}.shop-grid article,.spell-grid article{background:#1b150f;border-color:#534029}.spell-grid article{border-top-color:#906a43}.sheet-panel h3{font-size:23px;line-height:1.5;color:#d3bc8f}.condition{color:#c98e7b;border-color:#7a4436;background:#36191266}.ending-card{border-color:#a3854a;background:radial-gradient(ellipse at 50% 0,#87622625,transparent 70%),#17120d;box-shadow:inset 0 0 0 5px #0b0908,inset 0 0 0 6px #9d7c3e33}.ending-card .ending{font:700 28px/1.5 Testament,Georgia,serif;color:#d8bd88}.ending-sigil{color:#a9864b}.bestiary{padding-top:24px}.bestiary h3{font-size:26px;color:#d3bc8f;line-height:1.4}.bestiary-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:24px}.bestiary-entry{display:flex;flex-direction:column;padding:0 0 18px;text-align:left;background:#1e170f;border:1px solid #786039;overflow:hidden;text-transform:none;letter-spacing:0}.bestiary-entry img{width:100%;height:170px;object-fit:cover;object-position:center 30%;transition:transform .7s}.bestiary-entry:hover img{transform:scale(1.04)}.bestiary-entry>span{font:18px/1.4 Georgia,serif;padding:16px 14px 5px;color:#e0cda7}.bestiary-entry>small{font:9px/1.6 'Courier New',monospace;padding:0 14px;color:#a18b65}.bestiary-entry.unknown{min-height:230px;align-items:center;justify-content:center;background:repeating-linear-gradient(45deg,#16120d,#16120d 10px,#19140e 10px,#19140e 11px)}.bestiary-entry.unknown>span{font:55px Testament,serif;color:#5b492d}.bestiary-entry.unknown>small{font-size:8px;letter-spacing:1px}#art-viewer{padding:0;width:min(1250px,94vw);max-width:1250px;max-height:92vh;background:#100c08;border:1px solid #b18d4d;box-shadow:0 0 100px #000}#art-viewer::backdrop{background:#050403ed;backdrop-filter:blur(8px)}#art-viewer>.close{position:absolute;right:14px;top:14px;z-index:5;background:#100b07e8;border:1px solid #8e6f3d;color:#dbc190;width:40px;height:40px}#art-content{display:grid;grid-template-columns:1.2fr 1fr;min-height:600px}#art-content figure{margin:0;min-height:600px;background:#080705;display:flex;align-items:center}#art-content .inspection-painting{display:block;width:100%;height:100%;max-height:85vh;object-fit:contain}#art-content .inspection-copy{padding:70px 40px 45px;background:radial-gradient(ellipse at top,#49341b44,transparent 60%)}.inspection-copy h2{font:700 32px/1.5 Testament,serif;color:#e0c69a;margin:20px 0}.inspection-copy p{font:18px/1.85 Georgia,serif;color:#c8b598}.inspection-copy .muted{font:12px/1.8 'Courier New',monospace;color:#a58d64}.inspection-copy h3{font:10px 'Courier New',monospace;letter-spacing:2px;color:#b88464;margin-top:30px}.inspection-copy .scar-note{font-size:15px;font-style:italic;color:#bd967c}.inspection-stats{border-block:1px solid #604623;display:flex;gap:20px;padding:18px 0;margin:25px 0;font:11px 'Courier New',monospace;color:#d2b578;text-transform:uppercase;flex-wrap:wrap}.art-caption-note{display:block;margin-top:40px;font:8px 'Courier New',monospace;letter-spacing:2px;color:#7b684b}footer{background:#0b0907;border-color:#554023;color:#847456}footer span{color:#b2945e}#toast{background:#b39a65;color:#100c07;border:1px solid #e4ca93;box-shadow:0 6px 40px #000}
@keyframes paint-drift{from{transform:scale(1)}to{transform:scale(1.035) translateY(-2px)}}@keyframes mist-breathe{50%{opacity:.35;transform:translateX(8px)}}
@media(min-width:1650px){main{max-width:1800px}.game-grid{grid-template-columns:270px minmax(0,1fr) 320px}.scene-art{height:460px}.class-painting{height:350px}.class-choice{min-height:460px}}
@media(max-width:1100px){.game-grid{grid-template-columns:220px minmax(0,1fr)}.journal{grid-column:1/-1}.journal-list{max-height:340px}.class-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.hero-copy{width:65%;padding-left:5%}.hero h1{font-size:83px}.hero{min-height:750px}.class-painting{height:280px}.scene-art{height:330px}.scene h2{font-size:27px}.portrait{width:70px;height:100px}.character h3{font-size:17px}.party{padding-inline:15px;max-height:none}.table-top h1{font-size:27px}#art-content .inspection-copy{padding:65px 25px 30px}#art-content{grid-template-columns:1fr 1fr}}
@media(max-width:700px){header{gap:9px}.hero{min-height:770px}.hero-copy{width:100%;padding:280px 6% 45px}.hero-art{height:100%;margin:0}.hero-art .hero-painting{object-position:66% 0;height:470px}.hero:after{background:linear-gradient(0deg,#080807 0%,#080807 25%,#080807dc 50%,#0808070f 88%)}.hero h1{font-size:68px;letter-spacing:-2px;margin:24px 0}.hero .intro{font-size:17px;line-height:1.8}.hero .eyebrow{font-size:8px;letter-spacing:2px}.hero .tag{font-size:7px;letter-spacing:1px}.hero-art .art-label{top:14px;right:10px;font-size:8px}.hero-art .art-caption{display:none}.edition-stamp{font-size:25px;margin:20px 0}.ribbon{font-size:8px;line-height:1.8;letter-spacing:2px}.expanded-setup{padding:40px 5% 50px}.setup h2{font-size:27px;line-height:1.5}.class-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.class-choice,.class-choice:last-child{min-height:300px;grid-column:auto;padding-bottom:20px}.class-painting{height:205px}.class-choice strong{font-size:12px;line-height:1.55;padding:14px 12px 0;overflow-wrap:anywhere}.class-choice small{padding:0 12px;font-size:8px}.class-choice:after{inset:5px}.class-choice input{right:12px;top:12px;width:15px;height:15px}.class-choice:before{left:12px;top:10px;font-size:13px}.class-detail{font-size:14px;line-height:1.8}.game-grid{grid-template-columns:minmax(0,1fr)}.scene{padding:24px 5%}.scene-art{height:285px}.scene-art>span{font-size:7px;left:12px;bottom:55px;max-width:85%}.inspect-scene{right:12px;bottom:12px;font-size:8px;padding:10px}.scene h2{font-size:25px}.scene-text{font-size:17px;line-height:1.85}.table-top h1{font-size:21px;line-height:1.55}.table-top .eyebrow{font-size:7px;line-height:1.6;letter-spacing:1px}.table-top{padding:24px 5%}.room-number{font-size:34px}.scene-heading .section-label{font-size:7px;letter-spacing:1px}.sheet-tabs{gap:0}.sheet-tabs button{font-size:7px;letter-spacing:.5px;padding:15px 3px}.story-choice{gap:12px;padding:18px 12px}.story-choice strong{font-size:17px}.story-choice small{font-size:9px}.choice-index{font-size:20px}.party{grid-row:2;max-height:none;gap:24px;padding:22px 5%;background:#15110c}.character{min-width:220px}.portrait{width:83px;height:113px}.character h3{font-size:19px}.journal{grid-row:3}.bestiary-grid{gap:12px}.bestiary-entry img{height:125px}.bestiary-entry>span{font-size:15px;padding:12px 10px 5px}.bestiary-entry>small{font-size:8px;padding:0 10px}.bestiary-entry.unknown{min-height:200px}.bestiary h3{font-size:24px}#art-viewer{width:94vw;max-height:94vh}#art-content{grid-template-columns:1fr;min-height:0}#art-content figure{min-height:0;height:60vh}#art-content .inspection-painting{height:100%;object-fit:contain}#art-content .inspection-copy{padding:30px 24px}.inspection-copy h2{font-size:26px}.inspection-copy p{font-size:16px}.inspection-stats{gap:15px;font-size:10px}.ending-card .ending{font-size:25px}.art-caption-note{line-height:1.8}.actions button{font-size:8px;padding:12px}.enemy{font-size:13px}.enemy small{font-size:8px}}
html[data-motion=off] *,html[data-motion=off] *:before,html[data-motion=off] *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* IV. The Ashen Testament: cold iron, bone, and dried crimson. */
@font-face{font-family:MetalMania;src:url('./fonts/metal-mania.ttf') format('truetype');font-display:swap;font-weight:400}
.hero h1,.hero h1 span{font-family:MetalMania,Testament,serif;font-weight:400;letter-spacing:-2px;line-height:.88}
.table-top h1,.adventure-copy strong,.scene h2,.ending-card .ending{font-family:MetalMania,Testament,serif;font-weight:400;letter-spacing:1px}
.hero h1{filter:drop-shadow(2px 4px 0 #4c0b17)}
.adventure-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;border:0;padding:0;margin:0 0 42px;min-width:0}
.adventure-grid legend{font:12px 'Courier New',monospace;letter-spacing:4px;padding-bottom:24px;color:#d1acb7}
.adventure-choice{position:relative;display:block;cursor:pointer;border:1px solid #633847;background:#0f0b10;overflow:hidden;transition:border-color .2s,transform .2s}
.adventure-choice img{width:100%;height:240px;object-fit:cover;display:block;mask-image:linear-gradient(#000 60%,transparent)}
.adventure-choice input{position:absolute;top:16px;right:16px;width:20px;height:20px;accent-color:#b33c5b;z-index:2}
.adventure-choice:has(input:checked){border-color:#dc7690;box-shadow:0 0 0 1px #dc7690,0 8px 30px #6b12372b}
.adventure-choice:focus-within{outline:2px solid #eee;outline-offset:4px}
.adventure-choice:hover{transform:translateY(-3px)}
.adventure-copy{display:flex;flex-direction:column;gap:12px;padding:0 24px 26px;margin-top:-15px;position:relative}
.adventure-copy strong{font-size:34px;line-height:1.15;color:#e7dedf}.adventure-copy em{font:11px 'Courier New',monospace;text-transform:uppercase;letter-spacing:1px;color:#cf94a5}
.adventure-copy>span{font:16px/1.7 Georgia,serif;color:#cabfc3}.adventure-copy small{font:10px/1.6 'Courier New',monospace;color:#b49aa3}
.dungeon-map{overflow-x:auto;gap:12px}.map-node{min-width:75px;flex:1}.map-node small{white-space:normal}
@media(max-width:700px){.adventure-grid{grid-template-columns:1fr;gap:20px}.adventure-choice img{height:200px}.adventure-copy strong{font-size:30px}.hero h1{font-size:86px}.table-top h1{font-size:29px}.scene h2{font-size:32px}}
:root{--acid:#d8d5cc;--pink:#dc7779;--ink:#090a0b;--paper:#dedbd4;--line:#403638;--muted:#aaa5a5}
body{background:radial-gradient(ellipse at 70% 0,#42121933,transparent 60%),#090a0b}
header,.table-top{background:#0b0c0eee;border-color:#573034}
.brand,.hero h1,.hero h1 span{color:#dedbd4;text-shadow:2px 3px 0 #30070c,0 0 40px #000}
.hero h1{letter-spacing:-5px}.hero h1 span{color:#bdb8b3;text-shadow:2px 3px 0 #450d14,0 0 35px #9b182c33}
.hero{border-color:#5d232c}.hero-art{background:#070809}
.hero:after{background:linear-gradient(90deg,#08090bf5,#08090bc7 25%,#08090b26 60%,transparent 85%),linear-gradient(0deg,#090a0b,transparent 32%)}
.hero .intro,.scene-text{color:#d2cfc9}.hero .tag{background:#310c14eb;border-color:#78313e;color:#e5bcc0}
.eyebrow,.hero .muted,.hero-art .art-label,.hero-art .art-caption,.edition-stamp,.edition b{color:#b7a3a5}
.hero-mist,.painted-haze{background:radial-gradient(ellipse at 70% 80%,#9c233524,transparent 55%)}
.ribbon{background:#190c10;color:#c8a4aa;border-color:#56242d}
.expanded-setup{background:radial-gradient(ellipse at 50% 0,#51121c26,transparent 65%)}
.setup h2,.table-top h1,.scene h2,.sheet-panel h3,.bestiary h3{color:#dbd7d0}
.class-choice,.bestiary-entry{background:#101113;border-color:#4c3d40;color:#ded9d2}
.class-choice:after{border-color:#937a7e35}.class-choice:before{color:#c6b4b6}
.class-choice small,.class-grid legend,.bestiary-entry>small{color:#b0a3a5}
.class-choice:has(input:checked){background:#251216;border-color:#bb5565;color:#f0dbdf;box-shadow:0 0 0 1px #863142,0 8px 40px #6d0f212b}
.class-choice:hover{border-color:#ac5263}.class-choice input{accent-color:#b95063}
.class-painting{filter:none}.class-choice:hover .class-painting,.class-choice:has(input:checked) .class-painting{filter:none}
.class-detail,.field input,.field select{background:#141115;border-color:#62434a;color:#d2c5c8}
.primary,.actions .primary{background:linear-gradient(#913346,#67202e);border-color:#bd6071;color:#fff0f0;box-shadow:inset 0 0 0 3px #22060b33,0 3px 16px #0008}
.primary:hover:not(:disabled),.actions .primary:hover:not(:disabled){background:linear-gradient(#ae455a,#833044);color:#fff}
button:hover:not(:disabled){background:#312027;border-color:#aa6170;color:#f3dfe3}
.party,.journal{background:linear-gradient(90deg,#111014,#0b0c0e);border-color:#493338}
.character,.entry,.doom{border-color:#413035}.character h3,.hp{color:#dcd6d2}
.portrait{border-color:#786168;background:#090a0b}.character .badge,.character .calling,.inventory{color:#b7a4a9}
.character.current{border-top-color:#c27181;box-shadow:0 -8px 20px #a02b4015}
.bar meter::-webkit-meter-optimum-value{background:linear-gradient(90deg,#733040,#bc5c6c)}
.scene-art{border-color:#745159;box-shadow:0 10px 40px #0009}.scene-art:after{box-shadow:inset 0 0 0 6px #08090baa,inset 0 0 0 7px #b6a3a32b,inset 0 0 60px #0004}
.scene-art>span,.inspect-scene{color:#d6c5ca;background:#0b0b0ee8;border-color:#79535d}
.room-number{color:#33252b;-webkit-text-stroke:.5px #9f727d}.scene-heading .section-label{color:#bc9ca4}
.living-light{background:radial-gradient(ellipse,#ff395525,transparent 65%)}.embers i{background:#ad4559;box-shadow:0 0 8px #c33d57}
.map-node>span{background:#171015;border-color:#65454e;color:#c09ca6}.map-node.here>span{background:#772d40;border-color:#c56d81;color:#fff0f0}
.map-node small,.clue-strip{color:#ad919a}.clue-strip .found{color:#ddbec7}
.sheet-tabs button{color:#b4a0a6}.sheet-tabs button[aria-pressed=true]{color:#f0d4dd;background:#29141d;border-bottom-color:#b8536e}
.story-choice{background:linear-gradient(90deg,#1e1319,#111014);border-color:#4d333d}.story-choice:hover:not(:disabled){background:linear-gradient(90deg,#36202a,#1b1319);border-color:#9d5368}
.choice-index,.choices .eyebrow{color:#bc8091}.story-choice strong{color:#ddd3d7}.story-choice small{color:#bba5ae}
.enemy{background:linear-gradient(90deg,#56122466,#160c12);border-color:#9d3b55;color:#e0a5b5}
.actions button,.omen-options{background:#171217;border-color:#5c3a47;color:#d3bbc5}.turn-label,.omen-options summary{color:#c5a1af;border-color:#865062}
.entry{color:#c4b8bd}.entry.roll{color:#a39199}.entry.danger{color:#e58d9f}.entry.choice,.entry.companion{color:#caa5b2}.entry.revelation,.entry.magic{color:#ded0d7}
.die-face{background:#c3b4bd;color:#100d10}.dice-result.idle .die-face{background:#58434e}.dice-result strong{color:#d9c3cf}
.shop-grid article,.spell-grid article,.ending-card{background:#151015;border-color:#63404e}
.ending-card .ending,.ending-sigil{color:#d8bccb}.bestiary-entry>span{color:#d9cdd3}
.bestiary-entry.unknown{background:repeating-linear-gradient(45deg,#111014,#111014 10px,#171217 10px,#171217 11px)}
#art-viewer{background:#0c0b0f;border-color:#906473}#art-viewer::backdrop{background:#050508ee}
#art-content figure{background:#07070a}#art-content .inspection-copy{background:radial-gradient(ellipse at top,#651c3430,transparent 65%)}
.inspection-copy h2{color:#e3d3da}.inspection-copy p{color:#cbbdc4}.inspection-copy .muted{color:#af98a5}
.inspection-copy h3,.inspection-copy .scar-note{color:#ce9eb2}.inspection-stats{color:#d4afc2;border-color:#633348}.art-caption-note{color:#ab8b9c}
footer{background:#09090c;border-color:#402a35;color:#a18f99}footer span{color:#c69aae}#toast{background:#d1b6c3;color:#160a10;border-color:#f0dbe5}
@media(max-width:700px){.hero:after{background:linear-gradient(0deg,#090a0b 0%,#090a0b 25%,#090a0bdc 50%,#090a0b0f 88%)}.party{background:#111014}}
