@import url('https://fonts.googleapis.com/css2?family=BIZ+UDPGothic&family=Barlow+Condensed:wght@500;600;700;800;900&display=swap');
:root{--paper:#e9e9df;--ink:#243332;--line:#a6b1a7;--accent:#a6bab5;--display:'Barlow Condensed',Impact,sans-serif;--body:'BIZ UDPGothic',sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:70px}body{margin:0;background:var(--paper);color:var(--ink);font:13px/1.9 var(--body)}button,input{font:inherit}a{color:inherit}button{cursor:pointer}a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible{outline:2px solid #ae705b;outline-offset:5px}button:disabled{cursor:default}::selection{background:#96b5b2;color:#142c2b}.site-nav{position:relative;z-index:12;height:60px;background:var(--paper);color:var(--ink);display:flex;align-items:center;justify-content:space-between;padding:0 3%;border-bottom:1px solid var(--line)}.site-logo{font:800 25px var(--display);letter-spacing:.08em;text-decoration:none}.site-nav nav{display:flex;gap:25px;font:600 15px var(--display);letter-spacing:.07em}.site-nav a{text-decoration:none}.site-nav a:hover{opacity:.6}.masthead{display:flex;justify-content:space-between;align-items:flex-end;padding:5px 3% 12px;border-bottom:1px solid var(--line);background-color:var(--paper);background-image:linear-gradient(#9aa9a422 1px,transparent 1px),linear-gradient(90deg,#9aa9a422 1px,transparent 1px);background-size:45px 45px}.masthead-title{font:900 clamp(78px,11vw,180px)/.85 var(--display);letter-spacing:-.025em}.masthead h1{font-size:clamp(17px,2.4vw,30px);font-weight:400;letter-spacing:.12em;margin:0 0 4px}.masthead-note{font:600 12px var(--display);letter-spacing:.13em;margin-top:12px}.masthead-side{text-align:right}.masthead-number{font:600 35px/1 var(--display)}
.character-stage{--stage:#263b3c;--text:#eef1e7;--soft:#b8c7c3;--edge:#9ab2ac5c;--spot:#b2c8c4;position:relative;isolation:isolate;background:var(--stage);color:var(--text);overflow:hidden;min-height:760px;min-height:max(760px,calc(100svh - 210px));display:grid;grid-template-rows:auto 1fr auto;transition:background-color .4s,color .4s}.character-stage[data-side=kingdom]{--stage:#dfdfd0;--text:#2f3a36;--soft:#667364;--edge:#71816b5c;--spot:#9c8861}.character-stage[data-side=neutral]{--stage:#b8cbd0;--text:#233b45;--soft:#486571;--edge:#496b795c;--spot:#597b90}.character-stage[data-era=past]{--spot:#b6a47b}.scene-back{position:absolute;inset:0;z-index:-4;background:url('../images/se_2_back.png') center/cover;opacity:.11;filter:grayscale(.5)}[data-era=past] .scene-back{background-image:url('../images/se1_back.png')}.stage-grid{position:absolute;inset:0;z-index:-2;background-image:linear-gradient(var(--edge) 1px,transparent 1px),linear-gradient(90deg,var(--edge) 1px,transparent 1px);background-size:100px 100px;opacity:.17;pointer-events:none}.stage-controls{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:18px 3%;position:relative;z-index:6;border-bottom:1px solid var(--edge)}.era-switch,.faction-switch{display:flex;gap:5px;align-items:center;flex-wrap:wrap}.era-switch button,.faction-switch button{background:none;border:1px solid transparent;color:var(--soft);padding:7px 13px;font-size:11px;letter-spacing:.08em}.era-switch button[aria-pressed=true],.faction-switch button[aria-pressed=true]{border-color:var(--edge);background:var(--text);color:var(--stage)}.era-switch button span{font:600 14px var(--display);margin-right:6px}.poster{position:relative;min-height:560px;display:grid;grid-template-columns:39% 61%;padding:6% 5% 5%;align-items:center}.faction-word{position:absolute;top:-12px;left:2%;font:900 clamp(100px,22vw,345px)/.9 var(--display);letter-spacing:-.035em;color:var(--text);opacity:.07;white-space:nowrap;z-index:-1;pointer-events:none}.face-backdrop{position:absolute;left:-5%;bottom:-22%;height:135%;width:68%;object-fit:contain;object-position:left bottom;opacity:.14;filter:grayscale(1);z-index:-2;pointer-events:none;mask-image:linear-gradient(90deg,#000,transparent 95%)}.poster-cross{position:absolute;font:400 24px var(--display);color:var(--soft)}.cross-one{left:3%;top:20%}.cross-two{right:3%;bottom:15%}.poster-stamp{position:absolute;right:3%;top:20%;width:80px;height:80px;border-radius:50%;border:1px solid var(--edge);display:grid;place-items:center;transform:rotate(12deg);font:600 12px var(--display);letter-spacing:.08em;line-height:1.3;text-align:center}.character-copy{position:relative;z-index:4;max-width:440px;align-self:center}.entry-no{font:500 11px var(--body);letter-spacing:.17em;color:var(--soft);display:flex;gap:12px;align-items:center;margin-bottom:20px}.entry-no:before{content:'';width:35px;height:1px;background:var(--soft)}.selected-roman{font:800 clamp(58px,8vw,116px)/.9 var(--display);letter-spacing:-.02em;margin:0 0 18px;overflow-wrap:anywhere}.selected-name{font-size:clamp(20px,2.2vw,33px);font-weight:400;line-height:1.6;margin:0 0 12px}.selected-role{font-size:11px;color:var(--soft);margin:0 0 22px}.selected-facts{display:flex;gap:22px;flex-wrap:wrap;font:600 16px var(--display);border-block:1px solid var(--edge);padding:12px 0;letter-spacing:.05em}.selected-facts small{font:9px var(--body);color:var(--soft);margin-left:5px}.selected-quote{font-size:clamp(14px,1.4vw,18px);line-height:2;letter-spacing:.04em;margin:25px 0 17px;max-width:360px}.selected-description{font-size:11px;line-height:2.1;color:var(--soft);max-width:360px}.record-button{display:inline-flex;align-items:center;justify-content:space-between;gap:40px;background:none;border:0;border-bottom:1px solid var(--text);color:var(--text);padding:12px 0;font-size:11px;margin-top:8px;min-width:180px}.record-button span{font-size:20px}.character-full{position:absolute;right:4%;top:0;bottom:-70px;width:58%;height:calc(100% + 70px);object-fit:contain;object-position:center top;z-index:2;pointer-events:none;filter:drop-shadow(15px 20px 15px #0b1c2322)}.character-full.face-mode{object-fit:contain;object-position:center}.vertical-code{position:absolute;right:10px;top:45%;font:600 11px var(--display);writing-mode:vertical-rl;letter-spacing:.25em;color:var(--soft)}.view-switch{display:flex;gap:7px;position:absolute;right:3%;bottom:15px;z-index:5}.view-switch button{font:600 12px var(--display);padding:7px 12px;background:var(--stage);color:var(--soft);border:1px solid var(--edge);letter-spacing:.12em}.view-switch button[aria-pressed=true]{color:var(--text);border-color:var(--text)}.stage-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;background:var(--stage);border-top:1px solid var(--edge);padding:18px 3%;position:relative;z-index:6}.character-rail{display:flex;gap:10px;overflow-x:auto;scrollbar-width:thin;padding:4px;max-width:80%}.portrait-choice{padding:0;background:none;border:1px solid var(--edge);color:var(--soft);flex:0 0 72px;width:72px;position:relative}.portrait-choice img{width:100%;height:68px;object-fit:cover;object-position:center top;display:block;opacity:.5;filter:grayscale(.8);transition:filter .2s,opacity .2s}.portrait-choice span{display:block;font-size:9px;padding:5px 2px;white-space:nowrap}.portrait-choice:hover img,.portrait-choice[aria-pressed=true] img{filter:none;opacity:1}.portrait-choice[aria-pressed=true]{border-color:var(--text);color:var(--text)}.portrait-choice[aria-pressed=true]:after{content:'';height:3px;background:var(--text);position:absolute;left:0;right:0;bottom:-1px}.pager{display:flex;align-items:center;gap:20px}.pager button{border:1px solid var(--edge);border-radius:50%;background:none;color:var(--text);width:40px;height:40px;font-size:18px}.pager-count{font:600 17px var(--display);letter-spacing:.1em;white-space:nowrap}.switching .character-full{animation:slide-character .5s cubic-bezier(.2,.8,.2,1) both}.switching .character-copy{animation:appear-copy .4s both}.switching .face-backdrop{animation:appear-copy .6s both}@keyframes slide-character{from{opacity:0;transform:translateX(35px)}to{opacity:1;transform:none}}@keyframes appear-copy{from{opacity:0}to{opacity:1}}
.page-section{max-width:1200px;margin:auto;padding:90px 5%}.section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);padding-bottom:24px;margin-bottom:40px}.section-heading h2{font:800 clamp(45px,7vw,80px)/1 var(--display);margin:0;letter-spacing:-.02em}.section-heading span{font-size:12px}.world-eras{display:grid;grid-template-columns:1fr 1fr;gap:35px}.world-chapter{min-width:0}.world-chapter>h3{font-size:19px;font-weight:400;margin:20px 0}.world-scene{width:100%;aspect-ratio:16/9;object-fit:cover;display:block}.world-chapter p{font-size:12px;line-height:2.1}.nation-grid{display:grid;grid-template-columns:1fr;gap:18px;margin:25px 0}.nation{padding:20px;border:1px solid var(--line)}.nation>span{font:600 12px var(--display);letter-spacing:.1em}.nation h3{font-size:17px;font-weight:400;margin:8px 0}.nation.empire{background:#d6dcda}.nation.kingdom{background:#f2f0e4}.world-detail,details.archive-character{border-block-start:1px solid var(--line);padding:18px 0}summary{cursor:pointer;font-size:12px}details p,details dd,details li{font-size:12px}details ul{padding-left:20px}.archive{background:#dbe1db}.archive .page-section{padding-block:60px}.archive-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 45px}.archive-character summary{font-size:15px;display:flex;justify-content:space-between;gap:15px}.archive-character summary span{font-size:10px;color:#61706a}.archive-character blockquote{margin:15px 0;padding-left:15px;border-left:2px solid var(--line)}.archive-character h4{font-size:12px;margin:20px 0 7px}.world-notice{font-size:10px;color:#61706a;margin-top:35px}.chat-section{border-top:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr;gap:45px}.chat-section h2{font:800 55px/1 var(--display);margin:0 0 22px}.chat-section p{font-size:12px}.chat-actions{display:flex;flex-direction:column;gap:12px;justify-content:center}.chat-actions a{padding:17px 22px;border:1px solid #6c7c75;text-decoration:none;display:flex;justify-content:space-between;align-items:center;font-size:12px}.chat-actions a:first-child{background:#344c4a;color:#f3f3e9}.chat-actions a:hover{opacity:.7}.soundtrack-section{background:#293d3d;color:#e9ede4}.soundtrack-section .section-heading{border-color:#93aaa35c}.soundtrack-name{font-size:21px;font-weight:400}.soundtrack-section audio{width:min(100%,600px)}.soundtrack-section p{font-size:11px;color:#bbcbc4}.page-footer{display:flex;justify-content:space-between;padding:28px 5%;font-size:10px;gap:20px}.page-footer a{text-decoration:none}.music-toggle{font:600 12px var(--display);letter-spacing:.1em;border:0;background:none;color:inherit;padding:0}.music-toggle[aria-pressed=true]{text-decoration:underline;text-underline-offset:5px}.dialog{width:min(850px,calc(100% - 28px));max-height:85svh;overflow:auto;padding:40px;background:#e9e9df;color:#243332;border:1px solid #97a69e}.dialog::backdrop{background:#102b2ae0;backdrop-filter:blur(8px)}.dialog-head{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:20px;gap:20px}.dialog-head h2{font-size:23px;font-weight:400;margin:0}.dialog-close{background:none;border:1px solid var(--line);width:38px;height:38px;font-size:23px;color:inherit}.dialog-body{font-size:13px;line-height:2}.dialog-body h3{font-size:12px;margin:25px 0 7px}.dialog-body p{margin:8px 0}.dialog-body ul{padding-left:20px}.dialog-body .record-facts{font-size:11px;color:#65776d}.dialog-links{display:flex;gap:15px;flex-wrap:wrap}.no-js{padding:30px 5%;font-size:12px}.js-only[hidden]{display:none}img{-webkit-user-drag:none;-webkit-touch-callout:none}
/* World selection */
.world-index{min-height:100svh}.index-head{padding:65px 4% 35px}.index-head h1{font:900 clamp(90px,20vw,280px)/.85 var(--display);margin:0;letter-spacing:-.025em}.index-head p{font-size:12px;letter-spacing:.15em;margin:20px 0 0}.world-link{position:relative;display:block;margin:0 4% 60px;min-height:540px;overflow:hidden;text-decoration:none;background:#35494a;color:#f0eee5}.world-link .index-scene{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform 1.2s;opacity:.5}.world-link:hover .index-scene{transform:scale(1.04)}.world-link:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#213c3b9c,transparent)}.world-link .index-standing{position:absolute;height:95%;width:50%;object-fit:contain;object-position:center bottom;right:2%;bottom:-5%;z-index:2;filter:drop-shadow(0 0 20px #122a2966)}.index-title{position:relative;z-index:3;padding:45px;width:65%}.index-title>span{font:600 14px var(--display);letter-spacing:.1em}.index-title h2{font:900 clamp(90px,14vw,205px)/1 var(--display);margin:65px 0 10px;letter-spacing:-.025em}.index-title p{font-size:18px;letter-spacing:.15em}.index-tags{display:flex;gap:10px;font:600 12px var(--display);margin-top:30px}.index-tags span{padding:4px 12px;border:1px solid #e6ede177}.index-arrow{position:absolute;right:35px;bottom:30px;z-index:4;font-size:40px}
@media(min-width:1600px){.poster{min-height:660px;padding-block:8%}.character-full{width:65%;right:0}}
@media(max-width:900px){.character-stage{min-height:760px}.stage-controls{align-items:flex-start;gap:10px;flex-direction:column}.poster{grid-template-columns:44% 56%;padding:70px 5% 40px;min-height:570px}.character-copy{max-width:340px}.selected-description{max-width:290px;font-size:10px}.character-full{right:-5%;width:67%;top:25px;height:calc(100% + 20px)}.selected-roman{font-size:70px}.poster-stamp{display:none}.pager{gap:10px}.world-eras{gap:25px}}
@media(max-width:600px){.site-nav{height:50px;padding-inline:5%}.site-logo{font-size:21px}.site-nav nav{gap:17px;font-size:12px}.masthead{padding:12px 5%}.masthead-title{font-size:24vw}.masthead-side h1{font-size:14px}.masthead-number{font-size:22px}.masthead-note{font-size:9px;letter-spacing:0}.character-stage{min-height:0}.stage-controls{padding:15px 4%}.era-switch button,.faction-switch button{padding:6px 9px;font-size:10px}.era-switch{border-bottom:1px solid var(--edge);width:100%;padding-bottom:9px}.faction-switch{gap:0}.poster{display:block;padding:340px 6% 28px;min-height:0}.faction-word{top:10px;font-size:34vw}.character-full{top:0;bottom:auto;right:0;width:90%;height:410px;object-position:center top;mask-image:linear-gradient(#000 0%,#000 74%,transparent 100%)}.face-backdrop{top:15px;bottom:auto;left:-18%;width:95%;height:400px;opacity:.15}.character-copy{max-width:100%;padding-top:0}.entry-no{position:absolute;top:-300px;left:0;writing-mode:vertical-rl;font-size:9px}.entry-no:before{width:1px;height:25px}.selected-roman{font-size:65px;position:relative;max-width:85%;margin-bottom:9px}.selected-name{font-size:22px}.selected-role{font-size:10px;margin-bottom:12px}.selected-facts{gap:25px;padding:9px 0}.selected-quote{font-size:14px;max-width:100%;margin:18px 0 12px}.selected-description{font-size:11px;max-width:100%;line-height:2}.record-button{padding:8px 0;min-width:160px;margin-top:0}.view-switch{top:240px;bottom:auto;right:4%}.vertical-code{top:130px;right:5px;font-size:9px}.stage-bottom{padding:13px 4%;gap:8px;align-items:flex-end}.character-rail{gap:7px;max-width:76%;padding:2px}.portrait-choice{flex-basis:61px;width:61px}.portrait-choice img{height:55px}.portrait-choice span{font-size:8px}.pager{display:grid;grid-template-columns:26px 26px;gap:7px}.pager-count{grid-column:1/-1;grid-row:1;text-align:center;font-size:13px}.pager button{width:26px;height:26px;font-size:13px}.cross-one{top:60px}.cross-two{display:none}.page-section{padding:55px 6%}.section-heading{padding-bottom:18px;margin-bottom:25px}.section-heading h2{font-size:48px}.section-heading span{font-size:10px}.world-eras,.archive-grid,.chat-section{grid-template-columns:1fr}.world-eras{gap:45px}.archive .page-section{padding-block:45px}.chat-section{gap:18px}.chat-section h2{font-size:45px}.dialog{padding:23px}.dialog-head h2{font-size:20px}.page-footer{font-size:9px;flex-wrap:wrap}.index-head{padding:50px 5% 30px}.index-head h1{font-size:24vw}.world-link{margin:0 5% 40px;min-height:510px}.index-title{padding:25px;width:90%}.index-title h2{font-size:105px;margin-top:75px}.index-title p{font-size:16px}.world-link .index-standing{width:70%;right:-16%;opacity:.8;height:80%}.index-tags{margin-top:60px}.index-arrow{font-size:27px;right:20px;bottom:15px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}

/* World scenes share the character screen's tabs, grid and large lettering. */
.world-stage{--world-paper:#dfe5df;--world-ink:#263b3c;background:var(--world-paper);color:var(--world-ink);position:relative;border-bottom:1px solid var(--line)}
.world-stage[data-world-era=past]{--world-paper:#e8e3d4;--world-ink:#453e32}
.world-stage>.section-heading{margin:0;padding:45px 5% 25px;border-bottom:1px solid #7c908755}
.world-era-controls{display:flex;gap:5px;padding:17px 5%;border-bottom:1px solid #7c908755;background-image:linear-gradient(90deg,#81938915 1px,transparent 1px);background-size:100px 100px}
.world-era-controls button{border:1px solid transparent;color:inherit;background:none;padding:8px 18px;font-size:11px;letter-spacing:.08em}
.world-era-controls button span{font:600 14px var(--display);margin-right:6px}
.world-era-controls button[aria-pressed=true]{background:var(--world-ink);color:var(--world-paper);border-color:var(--world-ink)}
.world-stage .world-eras{display:block}
.world-stage .world-chapter{position:relative;isolation:isolate;display:grid;grid-template-columns:1fr 1fr;gap:0 6%;padding:65px 6% 55px;overflow:hidden;min-height:650px}
.world-stage .world-chapter[hidden],.record-panel[hidden]{display:none}
.world-stage .world-chapter:before{content:'PRESENT';position:absolute;right:1%;top:0;z-index:-1;font:900 clamp(110px,19vw,290px)/1 var(--display);letter-spacing:-.025em;opacity:.07}
.world-stage #past:before{content:'PAST'}
.world-stage .world-scene{position:absolute;inset:0;height:100%;width:100%;aspect-ratio:auto;object-fit:cover;opacity:.1;filter:grayscale(.3);z-index:-2}
.world-stage .world-chapter>h3{grid-column:1/-1;font-size:30px;letter-spacing:.12em;margin:0 0 35px}
.world-stage .intro-grid{grid-column:1;max-width:510px}
.world-stage .intro-grid p{font-size:13px;line-height:2.3;margin:0 0 20px}
.world-stage .nation-grid{grid-column:2;grid-row:2/4;margin:0;align-self:start}
.world-stage .nation{background:#f1f3e9c9;border:1px solid #7c908755;padding:25px;backdrop-filter:blur(10px)}
.world-stage .nation.empire{background:#283e3edb;color:#edf1e9}
.world-stage .nation>span{font-size:11px;opacity:.7}
.world-stage .nation h3{font-size:21px;margin:10px 0 15px}
.world-stage .world-detail{grid-column:1;align-self:start;border-color:#7c908755;margin-top:12px}
.world-stage .world-notice{padding:0 6% 30px;margin:0;font-size:10px}
.record-panel h4{font-size:12px;margin-bottom:5px}.record-panel blockquote{margin:25px 0;padding-left:20px;border-left:2px solid var(--line)}
@media(max-width:700px){.world-stage>.section-heading{padding:35px 6% 22px}.world-stage .world-chapter{display:block;padding:35px 6%;min-height:0}.world-stage .world-chapter>h3{font-size:25px;margin-bottom:25px}.world-stage .nation-grid{margin:30px 0}.world-stage .world-scene{opacity:.07}.world-stage .intro-grid p{font-size:12px}.world-stage .world-chapter:before{top:12px;font-size:24vw}.world-era-controls{padding:15px 5%}}

.poster-stamp{white-space:nowrap}

/* Full-screen chapters and a shared audio dock. */
.screen-site{--player-height:74px;padding-bottom:var(--player-height)}
.screen-site .masthead{height:80px;padding-block:10px}.screen-site .masthead-title{font-size:65px}.screen-site .masthead-note{font-size:9px;margin-top:5px}.screen-site .masthead h1{font-size:20px}.screen-site .masthead-number{font-size:22px}
.screen-site .world-stage{min-height:calc(100svh - 140px - var(--player-height));display:flex;flex-direction:column}
.screen-site .world-stage>.section-heading{padding:18px 5% 12px}.screen-site .world-stage .section-heading h2{font-size:45px}
.screen-site .world-era-controls{padding:9px 5%}.screen-site .world-eras{flex:1;display:flex}
.screen-site .world-chapter{flex:1;min-height:0;padding:24px 5% 15px;grid-template-columns:1.25fr 1fr;gap:10px 6%;align-content:center}
.screen-site .world-chapter>h3{font-size:23px;margin:0 0 12px}.screen-site .world-chapter .intro-grid p{font-size:12px;line-height:2;margin:0 0 12px}
.screen-site .world-chapter .nation-grid{grid-row:2;gap:12px}.screen-site .world-chapter .nation{padding:16px 20px}.screen-site .world-chapter .nation h3{font-size:18px;margin:6px 0 0}.screen-site .world-notice{padding-bottom:16px}
.world-read-more{grid-column:1/-1;justify-self:start;border:0;border-bottom:1px solid currentColor;color:inherit;background:none;padding:10px 0;font-size:11px}
.world-dialog .intro-grid{display:block}.world-dialog .nation-grid{margin:25px 0}.world-dialog .world-detail{margin-top:20px}
.screen-site .character-stage{height:calc(100svh - var(--player-height));min-height:560px;grid-template-rows:auto minmax(0,1fr) auto}
.screen-site .stage-controls{padding-block:10px}.screen-site .poster{min-height:0;padding:20px 5%;grid-template-columns:42% 58%}.screen-site .character-full{top:0;bottom:0;height:100%;width:55%;object-position:center}
.screen-site .selected-roman{font-size:clamp(50px,6vw,85px);margin-bottom:10px}.screen-site .selected-name{font-size:24px;margin-bottom:7px}.screen-site .selected-role{margin-bottom:12px}.screen-site .selected-facts{padding:9px 0}.screen-site .selected-quote{font-size:15px;margin:15px 0 10px}.screen-site .selected-description{display:none}.screen-site .entry-no{margin-bottom:12px}.screen-site .stage-bottom{padding-block:10px}.screen-site .portrait-choice img{height:48px}.screen-site .record-button{padding-block:8px}
.screen-site .chat-section,.screen-site .soundtrack-section{min-height:calc(100svh - var(--player-height));align-content:center}.screen-site .soundtrack-section{display:grid}.screen-site .soundtrack-section .page-section{width:100%}
.world-mini{position:fixed;bottom:0;inset-inline:0;z-index:70;display:flex;align-items:center;gap:18px;padding:12px 5% calc(12px + env(safe-area-inset-bottom,0px));min-height:74px;background:#e9eceaf5;border-top:1px solid #a6b1a7;backdrop-filter:blur(16px);color:#243332}.world-mini[hidden]{display:none}.world-mini-title{min-width:0;text-decoration:none;display:flex;flex-direction:column;font-size:12px;line-height:1.7}.world-mini-title small{font:10px var(--display);letter-spacing:.12em}.world-mini button{flex-shrink:0;border:0;background:none;color:inherit;font:600 12px var(--display);padding:10px;letter-spacing:.05em}.world-mini #mini-play{width:38px;height:38px;border-radius:50%;background:#2e4644;color:#eef0e8;font-size:16px}.world-mini #mini-time{white-space:nowrap;font-size:10px;font-variant-numeric:tabular-nums}.world-mini input{min-width:0;accent-color:#718b86;cursor:pointer}.world-mini #mini-seek{flex:1}.world-mini-volume{display:flex;align-items:center;gap:5px}.world-mini #mini-volume{width:80px}.world-mini #mini-loop{opacity:.5}.world-mini #mini-loop[aria-pressed=true]{opacity:1;text-decoration:underline;text-underline-offset:5px}
@media(max-width:700px){.screen-site{--player-height:106px}.screen-site .masthead{height:65px}.screen-site .masthead-title{font-size:50px}.screen-site .masthead h1{font-size:14px}.screen-site .masthead-note{font-size:8px}.screen-site .world-stage{min-height:calc(100svh - 115px - var(--player-height))}.screen-site .world-stage>.section-heading{padding:12px 6% 8px}.screen-site .world-stage .section-heading h2{font-size:34px}.screen-site .world-era-controls{padding:7px 5%}.screen-site .world-chapter{display:block;padding:15px 6%}.screen-site .world-chapter>h3{font-size:19px;margin:0 0 10px}.screen-site .world-chapter .intro-grid p{font-size:11px;line-height:1.9;margin-bottom:10px}.screen-site .world-chapter .nation-grid{display:grid;grid-template-columns:1fr 1fr;margin:12px 0;gap:8px}.screen-site .world-chapter .nation{padding:12px}.screen-site .world-chapter .nation>span{font-size:8px;display:block;line-height:1.6}.screen-site .world-chapter .nation h3{font-size:13px}.world-read-more{font-size:10px;padding:7px 0}.screen-site .world-notice{font-size:8px;padding-bottom:12px}.screen-site .character-stage{min-height:570px}.screen-site .stage-controls{padding-block:9px;gap:6px}.screen-site .era-switch{padding-bottom:5px}.screen-site .poster{display:block;padding:230px 6% 14px}.screen-site .character-full{height:270px;width:85%;right:0;top:0;object-position:center top}.screen-site .face-backdrop{height:260px}.screen-site .selected-roman{font-size:46px;margin-bottom:5px}.screen-site .selected-name{font-size:18px;margin:0 0 5px}.screen-site .selected-role{font-size:9px;margin-bottom:7px}.screen-site .selected-facts{font-size:14px;padding:6px 0}.screen-site .selected-quote{font-size:12px;margin:9px 0;line-height:1.7}.screen-site .entry-no{top:-200px}.screen-site .view-switch{top:170px}.screen-site .stage-bottom{padding-block:7px}.screen-site .portrait-choice img{height:36px}.screen-site .portrait-choice span{padding:3px 1px}.screen-site .record-button{font-size:10px;padding-block:4px}.world-mini{gap:8px;padding:8px 4% calc(8px + env(safe-area-inset-bottom,0px));flex-wrap:wrap}.world-mini-title{flex:1;font-size:11px}.world-mini-title small{font-size:9px}.world-mini #mini-play{width:32px;height:32px}.world-mini-volume{gap:0}.world-mini #mini-volume{width:54px}.world-mini button{font-size:10px;padding:7px}.world-mini #mini-time{order:4;font-size:9px}.world-mini #mini-seek{order:5;flex:1 1 120px}.world-mini #mini-loop{order:6}.screen-site .chat-section h2{font-size:36px}}
@media(max-height:760px) and (min-width:701px){.screen-site .selected-roman{font-size:55px}.screen-site .selected-name{font-size:20px}.screen-site .selected-quote{font-size:13px;margin:10px 0}.screen-site .entry-no{font-size:9px;margin-bottom:8px}.screen-site .character-stage{min-height:500px}.screen-site .world-chapter .intro-grid p{font-size:11px}.screen-site .world-stage>.section-heading{padding-top:12px}.screen-site .world-chapter{padding-block:15px}}

@media(max-width:700px){.world-mini-title{flex:1 1 145px;min-width:135px}.world-mini-title span{white-space:nowrap}.world-mini #mini-seek{flex:1 1 100px}.world-mini-volume{flex:0 0 auto}}

/* Reserve a visible touch target, independent of overflowing poster copy. */
@media(max-width:700px){.screen-site .stage-bottom{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px 12px;padding:10px 4%}.screen-site .stage-bottom>.record-button{grid-column:1/-1;min-width:0;min-height:44px;width:100%;margin:0;padding:9px 14px;border:1px solid var(--edge);background:var(--stage);font-size:12px;text-align:left;gap:15px}.screen-site .stage-bottom>.record-button span{font-size:20px}.screen-site .stage-bottom>.record-button:hover,.screen-site .stage-bottom>.record-button:focus-visible{background:var(--text);color:var(--stage)}.screen-site .stage-bottom>.character-rail{max-width:100%;min-width:0}.screen-site .stage-bottom>.pager{align-self:center}}

/* Keep decorative portraits faint after character switching; protect the text plane. */
.switching .face-backdrop{animation:none}
.character-copy::before{content:none}
.character-copy{isolation:isolate}

/* Preserve the portrait without a panel; define only the letter edges. */
.character-copy{text-shadow:0 1px 2px var(--stage)}
.character-copy .selected-name{font-weight:500}
.character-copy .selected-role,.character-copy .selected-facts small{color:var(--text)}
