/* Approved 1998–2004 low-poly RPG direction. Keep overrides local and reversible. */
:root{--cream:#293532;--line:#786d55}body{background:#2b3739;color:#d7d0b5}h1,h2,h3,.brand,.quest-board b{font-family:'Songti SC','STSong','Noto Serif CJK SC',Georgia,serif;letter-spacing:1px;text-shadow:none}.brand{font-weight:800}header{background:#303b37;box-shadow:none}.intro h1{color:#ded6b9;text-shadow:none}.dungeon-hero{border:9px ridge #736d59;border-radius:1px;box-shadow:0 4px 0 #182120;background:#6a7555}.hero-backdrop{background-image:url('./assets/lofi-world.png');image-rendering:auto}.dungeon-hero::after,.sober-mode .dungeon-hero::after{background:linear-gradient(transparent 70%,#26312b66)}.sparkles{opacity:.35}.quest-board{top:40%;left:42%;right:auto;width:54%;display:grid;grid-template-columns:repeat(4,1fr);gap:10px;padding:0;background:none;border:0;box-shadow:none}.quest-board>h2,.quest-board>.eyebrow{display:none}.quest-board button{min-height:145px;text-align:center;background:linear-gradient(90deg,#636e6344,#77796a44,#4b5c5144);border:8px ridge #8a8a74;border-bottom-width:3px;box-shadow:none;color:#e5d2a7}.quest-board button b{background:#8c7754;color:#201f17;padding:7px 0;border:3px ridge #a18d67;font-size:19px}.quest-board button small{color:#e3d5b1;text-shadow:1px 1px #252a20;display:block;padding-top:15px}.quest-board button:last-child{min-height:70px;align-self:center;background:#786340;border:5px ridge #8a7858}.hero-controls button,.hero-dialogue,.adventure-hud{background:#303a32;border-color:#81745b;box-shadow:none}.hero-dialogue{max-width:560px;font-size:13px}.hero-dialogue a{color:#c7d49a}.gold{background:#52643e;border-color:#8e805d;box-shadow:none;text-shadow:none}.paper,.panel,.history{border-radius:1px;border-color:#817253;box-shadow:none}.paper{background:#d4c39f}.panel{background:#313b32}.character-name{background:#343b2c}.face-ratings .sprite{background-image:url('./assets/rating-heads-lofi.png');background-color:transparent;filter:none}.face-ratings button{background:transparent!important;box-shadow:none!important;border-color:transparent!important}.face-ratings button[aria-pressed=true]{outline:2px solid #6b7447;background:#8d9d6230!important}.health-notice{font-size:13px;line-height:1.8;padding:14px;border:2px ridge #827455;color:inherit}.health-notice a{color:inherit;text-decoration:underline}.age-confirm{display:block;font-size:14px;padding:12px 0}.age-confirm input{width:auto}button:disabled{cursor:not-allowed;opacity:.5}#musicToggle{font-size:0;width:48px;height:43px;background:#46533d url('./assets/speaker.svg') center/32px no-repeat;position:relative}#musicToggle[aria-pressed=false]::after{content:'×';position:absolute;right:0;top:-5px;color:#dbb69e;font-size:24px}#languageToggle{font-family:Georgia,serif}.companion:hover{filter:drop-shadow(0 7px 4px #242c2088)}
@media(max-width:720px){.quest-board{left:35%;top:30%;width:61%;grid-template-columns:repeat(2,1fr);gap:9px}.quest-board button{min-height:100px;border-width:5px}.quest-board button b{font-size:14px}.quest-board button small{font-size:9px;padding-top:5px}.hero-dialogue{font-size:10px}.adventure-hud{top:12px}.hero-companions{bottom:85px}.hero-controls{top:85px}.hero-backdrop{background-size:auto 100%;background-position:35% center}}
.panel h2,.panel h3,.panel strong{color:#e4d5ac;text-shadow:none}.panel p,.panel .note{color:#c1c5a9}.paper .face-ratings button>span:last-child{color:#504127;font-weight:700}.paper .face-ratings button:hover .sprite{animation:headNod .55s ease-in-out}.panel .streak{color:#c7d69d}.hero-dialogue{bottom:10px}.inventory button{background:radial-gradient(#626e5d,#384339)!important}.health-notice{max-width:100%;overflow-wrap:anywhere}@keyframes headNod{0%,100%{transform:rotate(0)}40%{transform:rotate(-7deg) translateY(-4px)}70%{transform:rotate(5deg)}}@media(prefers-reduced-motion:reduce){.paper .face-ratings button:hover .sprite{animation:none}}
.quest-board button,.quest-board button:last-child{position:relative;aspect-ratio:3/4;min-height:0;background:url('./assets/portal-items-lofi.png') 0 0/400% 100% no-repeat;border:0;padding:0;align-self:end;filter:drop-shadow(0 5px 3px #28332188)}.quest-board button:nth-of-type(2){background-position:33.333% 0}.quest-board button:nth-of-type(3){background-position:66.667% 0}.quest-board button:nth-of-type(4){background-position:100% 0}.quest-board button b{position:absolute;inset:15% 10% auto;padding:0;background:none;border:0;font-size:17px;color:#302619}.quest-board button small{position:absolute;inset:50% 12% auto;padding:0;font-size:10px;color:#e5d9b5;text-shadow:1px 1px #252a20}.quest-board button:nth-of-type(4) b{top:46%;font-size:16px}.quest-board button:nth-of-type(4) small{top:61%;color:#382e1f;text-shadow:none}.quest-board button:hover{filter:drop-shadow(0 5px 4px #24332088) brightness(1.1)}
@media(max-width:720px){.quest-board{top:22%;left:38%;width:58%;gap:0}.quest-board button b{font-size:12px}.quest-board button small{font-size:8px}.quest-board button:nth-of-type(4) b{font-size:12px}.hero-companions .sprite{width:135px}.dog-companion .sprite{width:120px}}
/* Full-body NPCs match the approved faceted, matte low-resolution RPG art. */
.hero-companions [data-character-sprite]{background-image:url('./assets/companions-fullbody-lofi.png');background-size:200% 200%;background-repeat:no-repeat;image-rendering:auto}.portrait{background-image:url('./assets/rating-heads-lofi.png');background-color:#384133}.companion .sprite{filter:none}.companion{filter:drop-shadow(0 5px 3px #28302166)}.hero-companions{gap:3px}.dog-companion{margin-left:-8px}
