@font-face{font-family:Baskervville;src:url(art/fonts/baskervville-latin-400-normal.woff2) format("woff2");font-display:swap}
@font-face{font-family:Baskervville;font-style:italic;src:url(art/fonts/baskervville-latin-400-italic.woff2) format("woff2");font-display:swap}
@font-face{font-family:"DM Sans";font-weight:100 1000;src:url(art/fonts/dm-sans-latin-wght-normal.woff2) format("woff2");font-display:swap}
:root{color-scheme:dark;--pine:#101f19;--paper:#f2ebd7;--gold:#dcc18a;--muted:#b5b7a6;--rule:#455145;--display:Baskervville,Georgia,serif;font:16px/1.5 "DM Sans",Arial,sans-serif;color:var(--paper);background:var(--pine)}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 90% 0,#22392b 0,transparent 45rem),var(--pine);min-height:100vh}button,a,input,select{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default}button:focus-visible,a:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #f4d595;outline-offset:3px}button{color:inherit}a{color:var(--gold)}img{display:block;max-width:100%}button svg{flex-shrink:0}h1,h2,h3,h4,p,figure,blockquote{margin:0}button{border:0;background:none}button,select{font-family:inherit}button:disabled{opacity:.53}
.mast{min-height:72px;display:flex;align-items:center;gap:26px;padding:10px max(5vw,calc((100vw - 1350px)/2));border-bottom:1px solid #66725766;background:#11221cf5;color:#ede6cf}.wordmark{display:inline-flex;align-items:center;gap:11px;white-space:nowrap;text-decoration:none;color:var(--paper);font:1.28rem var(--display);letter-spacing:-.035em}.wordmark img{width:33px;height:39px}.mast nav{display:flex;margin-left:auto;gap:20px}.mast nav button,.studio-link{color:#d6d8c9;font-size:.91rem;font-weight:500;padding:8px 4px}.mast nav button:hover,.studio-link:hover{color:#f3d997}.mast-end{display:flex;gap:16px;align-items:center}.studio-link{text-decoration:none;border-left:1px solid #536052;padding-left:22px;white-space:nowrap}.studio-link span{color:var(--gold)}.icon-btn{display:grid;place-items:center;border:1px solid var(--rule);border-radius:50%;width:38px;height:38px;color:var(--gold)}
.hero{position:relative;isolation:isolate;overflow:hidden;background:#19251b}.cover-img{position:absolute;z-index:-2;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 40%}.hero:after{content:"";position:absolute;z-index:-1;inset:0;background:linear-gradient(90deg,rgba(8,19,14,.83) 0%,rgba(10,22,16,.74) 27%,rgba(12,24,17,.34) 53%,rgba(10,20,14,.04) 73%),linear-gradient(0deg,rgba(8,19,14,.59),transparent 25%)}
.hero-content{max-width:1500px;margin:auto;padding:clamp(64px,7.6vw,120px) 6% clamp(72px,7.5vw,113px);min-height:min(590px,46vw);display:flex;flex-direction:column;justify-content:center;align-items:flex-start}.kicker,.eyebrow{font-size:.77rem;line-height:1.4;letter-spacing:.16em;text-transform:uppercase;font-weight:700;color:var(--gold)}.hero .kicker{display:flex;align-items:center;gap:12px}.hero .kicker:before{content:"";height:1px;width:35px;background:#ccb276}.hero h1{font:normal clamp(4.35rem,7.8vw,8rem)/.94 var(--display);letter-spacing:-.064em;margin:19px 0 20px;color:#fff4d7;text-shadow:0 2px 16px #10180d70;max-width:8ch}.hero h1 em{font-weight:400}.hero-copy{max-width:37ch;font-size:clamp(1rem,1.25vw,1.19rem);color:#eceadd;line-height:1.55}.actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:26px}.action{border:1px solid #8a8f73;display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:46px;font-weight:640;font-size:.94rem;text-decoration:none;border-radius:4px;padding:10px 19px;background:#182a21e6;color:var(--paper)}.action:hover{background:#334335;border-color:var(--gold)}.action.primary{background:#e9cd8b;color:#18261d;border-color:#efd79b}.action.primary:hover{background:#f8dca0}.action svg{width:19px;height:19px}.plain-link{font-weight:600;text-decoration:underline;text-underline-offset:5px;color:var(--gold);padding:5px 0;font-size:.9rem}
.home-lower,.page-wrap{width:min(88%,1290px);margin:auto}.home-lower{padding:33px 0 52px}.section-line,.section-head,.tools-line{display:flex;align-items:center;justify-content:space-between;gap:15px}.section-head{margin-bottom:18px}.section-head h2,.page-wrap h1,.dialog-title,.scene-body h2,.chapter-name,.mini-heading{font:400 2.5rem/1.1 var(--display);letter-spacing:-.043em}.section-head h2{font-size:clamp(1.8rem,3vw,2.6rem)}.home-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.home-tile{display:grid;grid-template-columns:minmax(110px,36%) 1fr;align-items:stretch;overflow:hidden;text-align:left;border:1px solid #53604b;border-radius:4px;padding:0;background:#1b2c22;color:var(--paper)}.home-tile:hover{border-color:#a48f62;background:#23382a}.home-tile img{width:100%;height:100%;min-height:144px;object-fit:cover}.tile-words{align-self:center;padding:15px clamp(15px,2.1vw,30px)}.tile-words strong{font:1.65rem/1.12 var(--display);display:block;margin:4px 0 6px}.tile-desc{display:block;color:#cad0bd;font-size:.92rem}.home-foot{display:flex;justify-content:space-between;gap:12px;margin-top:21px;color:var(--muted);font-size:.83rem}.home-foot button{color:#d6c397;text-decoration:underline;text-underline-offset:3px}
.page-wrap{padding:35px 0 65px}.page-wrap h1{font-size:clamp(2.7rem,6vw,4.8rem);margin:.16em 0}.lede{max-width:66ch;color:#cbd2bf;line-height:1.6}.back{display:inline-flex;gap:8px;align-items:center;color:#ddcca5;font-size:.91rem;padding:5px 0;margin-bottom:18px}.back:hover{text-decoration:underline}.chapter-list{margin-top:30px;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,275px),1fr));gap:18px}.chapter-card{overflow:hidden;background:#1a2d22;border:1px solid var(--rule);border-radius:4px;text-align:left;padding:0;color:var(--paper);display:flex;flex-direction:column}.chapter-card:hover{border-color:#baad85}.chapter-card img{width:100%;aspect-ratio:2.45;object-fit:cover}.chapter-card>div{padding:17px 20px 20px}.chapter-card .chapter-name{display:block;font-size:1.55rem;margin:4px 0}.chapter-card small{font-size:.87rem;color:#c1c8b5}.chapter-card .state-tag{color:#e0c68b}.chapter-card[data-locked=true]{background:#17271e}.chapter-card[data-locked=true] img{filter:saturate(.58) brightness(.77)}.state-tag{display:inline-flex;gap:5px;align-items:center}.state-tag svg{width:14px;height:14px}
.scene{max-width:1080px;margin:auto;overflow:hidden;border:1px solid var(--rule);background:#1a2b21;border-radius:4px}.scene-image{width:100%;height:clamp(160px,26vw,300px);object-fit:cover;object-position:center 48%}.scene-body{padding:clamp(22px,4.5vw,58px)}.scene-body h1,.scene-body h2{font-size:clamp(2.2rem,4.6vw,4rem)}.scene-grid{display:grid;grid-template-columns:1.3fr .83fr;gap:clamp(24px,4vw,66px);margin-top:25px}.story-copy{border-left:2px solid #a88a51;padding-left:18px}.story-copy blockquote{font:italic 1.45rem/1.3 var(--display);color:#f3e7c8;white-space:pre-line}.story-copy .translation{font-size:.98rem;margin-top:9px;color:#c6cbbb;white-space:pre-line}.story-copy cite{display:block;margin-top:8px;font-size:.8rem;font-style:normal;color:#b9bcaa}.scene-text{color:#e4e6d8;max-width:70ch;line-height:1.65}.scene-text .eyebrow,.story-note .eyebrow{margin-bottom:6px;display:block;font-size:.7rem}.scene-text p+p{margin-top:7px;color:#c3cbb8}.story-note{margin-top:22px;border-top:1px solid var(--rule);padding-top:16px}.story-note p{line-height:1.55}.story-controls{margin:14px 0 0;display:flex;align-items:center;gap:9px;flex-wrap:wrap}.story-controls label,.setting-label{font-size:.88rem;color:#d4d8c7}.story-controls select,.settings-row select{background:#15251c;border:1px solid #61705a;border-radius:4px;color:var(--paper);padding:7px 10px}.source-details{margin-top:20px;color:#c1c9b5;font-size:.88rem}.source-details summary{color:var(--gold);cursor:pointer}.source-details p{margin:8px 0}.cast-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:23px 0 0}.cast-tabs button{padding:8px 14px;border-radius:20px;border:1px solid #5f6b55;font-size:.88rem}.cast-tabs [aria-pressed=true]{background:#e8cc8e;color:#17261c;border-color:transparent}.cast{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,265px),1fr));gap:14px;margin-top:22px}.cast-card{background:#1c3024;border:1px solid var(--rule);border-radius:4px;padding:20px;text-align:left}.cast-card .portrait{width:74px;height:74px;float:right;margin:0 0 6px 4px;background:radial-gradient(ellipse,#52634b,transparent 71%)}.cast-card h2{font:1.52rem/1.1 var(--display);margin:7px 0}.cast-card p{color:#cbd1bf;font-size:.9rem;line-height:1.5}.stats{display:flex;gap:5px;flex-wrap:wrap;clear:both;padding-top:13px}.stats span{font-size:.78rem;border:1px solid #4b604c;color:#dedfc9;border-radius:3px;padding:2px 6px}.archive-list{margin-top:25px;display:grid;gap:16px}.archive-item{background:#1a2c21;border:1px solid var(--rule);padding:16px 20px;border-radius:4px}.archive-item summary{cursor:pointer;font:1.35rem var(--display)}.archive-item .story-copy{margin:16px 0}.archive-item p{color:#c3cbb8;max-width:78ch}.archive-item a{display:inline-block;margin-top:10px}.locked-blurb{color:#bdc4b2}
#panel{width:min(92vw,570px);max-height:86dvh;padding:0;background:#1a2c22;color:var(--paper);border:1px solid #818b69;border-radius:6px;box-shadow:0 24px 80px #0009}#panel::backdrop{background:#07110ddd}.panel-inner{padding:clamp(19px,4vw,34px)}.dialog-title{font-size:2rem}.panel-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.settings-row{display:flex;flex-direction:column;gap:7px;margin:15px 0}.settings-row small,.guide-copy p{color:#c6ceba}.guide-copy dt{color:var(--gold);font-weight:650;margin:14px 0 3px}.guide-copy dd{margin:0;color:#d2d8c7}.guide-copy{font-size:.95rem}#notice:not(:empty){position:fixed;z-index:100;bottom:18px;left:50%;transform:translateX(-50%);padding:10px 18px;border:1px solid #d7c390;background:#283a2c;color:#fff4d9;max-width:92vw;border-radius:4px;box-shadow:0 4px 24px #0006}.no-script{padding:8vw}.battle-mode .mast{min-height:54px;padding-top:4px;padding-bottom:4px}.battle-mode .mast nav{visibility:hidden}.battle-mode .mast .wordmark img{height:32px}.duel-frame{width:min(94%,1290px);margin:0 auto;padding:25px 0 55px}.battle-board{width:100%;margin:auto}
@media(min-width:1600px){.hero-content{padding-left:calc((100vw - 1320px)/2);max-width:none}}
@media(max-width:760px){.mast{gap:10px;padding:10px 4%;min-height:59px}.mast nav{display:none}.mast-end{margin-left:auto;gap:9px}.studio-link{padding-left:12px}.hero-content{padding:58px 6% 53px;min-height:440px}.hero:after{background:linear-gradient(90deg,rgba(7,19,13,.84),rgba(9,19,12,.58) 53%,rgba(8,16,10,.13)),linear-gradient(0deg,rgba(7,18,12,.7),transparent 75%)}.cover-img{object-position:62% center}.hero h1{font-size:clamp(4rem,11vw,5.2rem)}.hero-copy{max-width:32ch}.home-grid,.scene-grid{grid-template-columns:1fr}.home-lower,.page-wrap{width:92%}.home-lower{padding-top:25px}.home-tile img{min-height:115px}.home-foot{flex-wrap:wrap}.scene-grid{gap:18px}.chapter-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.chapter-card>div{padding:12px}.chapter-card .chapter-name{font-size:1.25rem}.page-wrap{padding-top:20px}}
@media(max-width:450px){.hero-content{min-height:450px;padding-top:58px;padding-bottom:40px}.hero h1{font-size:4.7rem;line-height:.9}.hero .actions{gap:8px}.hero .action{padding:9px 12px;font-size:.86rem}.hero .kicker{font-size:.7rem}.hero-copy{max-width:26ch;font-size:1rem}.wordmark{font-size:1.08rem;gap:7px}.wordmark img{height:30px;width:26px}.studio-link{font-size:.8rem}.icon-btn{width:34px;height:34px}.home-tile{grid-template-columns:30% 1fr}.home-foot{font-size:.79rem}.chapter-card .eyebrow{letter-spacing:.06em}.hero:after{background:linear-gradient(90deg,#0b1911dc,#0d1a138c 58%,#101b1120),linear-gradient(0deg,#0c1811d6,transparent 72%)}.cover-img{object-position:85% center}.section-head{gap:7px}.section-head h2{font-size:1.85rem}.cast-card .portrait{width:63px;height:63px}}
@media(prefers-reduced-motion:reduce){*,*::after,*::before{scroll-behavior:auto!important}}
h1[tabindex="-1"]:focus{outline:none}.hero h1{max-width:none}.hero h1 span{display:block;white-space:nowrap}
@media(max-width:520px){.hero h1{font-size:clamp(3.4rem,14.2vw,4.6rem)}}

.studio-link { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; }
.studio-link img { display: block; width: 58px; height: 29px; }
.studio-link span { font: 0.75rem/1.15 var(--sans); white-space: nowrap; }
