:root{color-scheme:dark}body{background:#09090b}.hero{border:0;background:linear-gradient(110deg,#0b090d 5%,#211323 75%,#0e0b12);min-height:240px;box-shadow:0 14px 40px #0005}.hero img{max-height:310px;filter:drop-shadow(0 0 18px #c587a650)}.card,.portrait{border:1px solid #3c303a;background:linear-gradient(150deg,#17131a,#0d0c10)}.portrait{background:radial-gradient(ellipse at 50% 38%,#3b2837,#141018 55%,#080809 90%)}.portrait svg{max-height:620px}.scene-title{padding:12px 0;color:#caaabf;text-transform:uppercase;letter-spacing:.16em;font-size:.72rem;border-bottom:1px solid #3a2e38;margin-bottom:18px}.dm-thread .message{border-radius:17px;line-height:1.55;max-width:88%;padding:13px 16px;background:#222024;border:0}.dm-thread .message.user{background:#ebc9d7;color:#20151c}.dm-thread .message b{font-size:.72rem;letter-spacing:.04em}.dm-thread .choices button{border:1px solid #594350;background:#151117;text-align:left;padding:15px;border-radius:12px}.dm-thread .choices button:hover{background:#332333;border-color:#d6a9c3}.inbox-contact .contact-copy small{color:#a98b9b;font-size:.68rem}.stage{border:1px solid #61505e;background:#09070d}.studio{background:#101014;border-color:#49333f}.toolcard{background:#19141d}.initial{display:inline-grid;place-items:center;background:#31212f;color:#f0cede;border-radius:50%;width:38px;height:38px;flex-shrink:0}.story-head h2{letter-spacing:-.03em}@media(max-width:600px){.dm-thread .message{max-width:95%}.hero{min-height:210px}.hero img{max-height:200px}.inbox-contact .contact-copy small{display:block}}
.portrait svg{width:min(100%,390px);height:auto;max-height:650px}.portrait{min-height:530px;display:grid;place-items:center}.hero img{min-width:0}@media(max-width:600px){.portrait{min-height:440px}.portrait svg{max-height:510px}}
.hero{isolation:isolate;background:#1b101c;overflow:hidden;border:1px solid #775669;border-radius:10px;padding:clamp(18px,4vw,50px)}.hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:1;z-index:-2}.hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#110c16ed 12%,#25152579 58%,transparent);z-index:-1}.hero>div{position:relative}.hero a{color:#ffe2ee}.main{background:linear-gradient(142deg,#2a1e2b,#110f15 63%)}.card,.story{background:linear-gradient(140deg,#30242e,#161319 75%)}.studio .toolcard{border-left:3px solid #aa798e}.message.user{background:#ecc9d7;color:#281925}.portrait{background:radial-gradient(ellipse at 50% 30%,#635564,#17131b 78%)}.outfit{border-top:2px solid #a57e91}.age{background:linear-gradient(#120c18cf,#160d1be8),url(assets/court-cover.webp) center/cover}
.studio-frame .portrait:has(.cast-face){height:auto;min-height:0;aspect-ratio:1;padding:0;overflow:hidden}.studio-frame .cast-face{width:100%;height:auto;display:block}.cast-grid img{width:100%;object-fit:cover;aspect-ratio:1}.joystick{cursor:grab}.joystick:active{cursor:grabbing}
.home-shell .main,.age{background:#111013}.quiet-home{max-width:36rem;margin:clamp(24px,6vh,72px) auto;padding:0 8px}.quiet-home header{margin-bottom:32px}.quiet-home header small,.quiet-home header p{color:#bfb3bc}.quiet-home h1{font:normal clamp(38px,7vw,58px)/1.08 Georgia,serif;margin:8px 0;color:#f7e6ec}.quiet-home header p{margin:0;font-size:14px}.campaign-menu,.quiet-tools{margin-top:24px;padding:19px 0 0;border-top:1px solid #3d343c}.campaign-menu summary,.quiet-tools h2{font:600 16px/1.5 system-ui;color:#f4e8ee;margin:0}.campaign-menu summary{cursor:pointer;padding:5px 0}.simple-links{display:grid;gap:0;margin-top:7px}.simple-links a,.simple-links button{display:block;text-align:left;color:#e6c7d5;padding:12px 0;background:none;border:none;box-shadow:none;text-decoration:underline;text-underline-offset:4px;font:normal 16px/1.4 system-ui}.age .card{background:#19171a;box-shadow:none}.age .card>img{display:none}.age .simple-links a{padding:8px 0}.quiet-home :focus-visible,.age :focus-visible{outline:2px solid #efb8d0;outline-offset:3px}
.book-games{display:grid;grid-template-columns:1fr 1fr;gap:18px}.book-games article{min-width:0}.book-games img{display:block;width:min(100%,126px);aspect-ratio:963/1536;object-fit:contain;border-radius:3px}.book-games h2{font:normal clamp(17px,3vw,24px) Georgia,serif;margin:12px 0 8px}.book-games button{min-height:44px}.castle-vignette{float:right;width:min(28%,125px);height:90px;object-fit:contain}.quiet-home header{min-height:90px}
