/* Presentation art direction. Native game-window styles stay in chronicle.css. */
body[data-layout=chronicle]{--gold:#ccb282;--text:#ece6da;--muted:#ada99e;background:#090909;color:var(--text)}
[data-layout=chronicle] header{height:72px;padding-inline:max(28px,calc((100vw - 1320px)/2));background:#0e0e0df5;border-bottom:1px solid #ffffff12;box-shadow:none}
[data-layout=chronicle] header nav a{font-family:'Outfit',Arial,sans-serif;font-size:12px;letter-spacing:.02em;color:#c7c1b5}
[data-layout=chronicle] .brand{width:112px}
[data-layout=chronicle] main{margin:0 auto;padding:0;max-width:1320px;background:#121210;box-shadow:none}
[data-layout=chronicle] .poster-rail{display:none}
[data-layout=chronicle] .poster-contents{display:block;position:sticky;top:72px;z-index:45;margin:0;padding:0 48px;background:#161613f5;border:0;border-block:1px solid #ffffff12;backdrop-filter:blur(12px)}
.poster-contents>summary{display:flex;align-items:center;gap:20px;list-style:none;min-height:46px;padding:0;color:#e5dccb;font:500 12px/1.4 'Outfit',Arial,sans-serif;cursor:pointer}
.poster-contents>summary::-webkit-details-marker{display:none}
.contents-label{display:flex;align-items:center;gap:9px;color:#bca477}
.contents-label::before{content:'☰';font-size:13px}
.contents-current{border-inline-start:1px solid #ffffff24;padding-inline-start:20px;color:#b9b6ac;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.poster-contents[open]>summary{border-bottom:1px solid #ffffff12}
[data-layout=chronicle] .poster-contents>nav{position:absolute;inset-inline:0;top:100%;padding:24px 48px;max-height:calc(100dvh - 125px);overflow:auto;background:#181815;border-bottom:1px solid #8b78504d;box-shadow:0 24px 40px #0008}
.poster-contents .presentation-navigation{max-height:none;overflow:visible}
.poster-contents .presentation-nav-search{margin-bottom:22px;max-width:420px}
.poster-contents .presentation-nav-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px 32px;overflow:visible;max-height:none}
.poster-contents .presentation-nav-group{border:0;margin:0}
.poster-contents .presentation-nav-group>summary{padding:0 0 8px;color:#c7ae7f;font-size:12px}
.poster-contents .presentation-nav-links>a{padding:7px 0;border:0;font-size:12px;color:#b4b1a8;line-height:1.5}
.poster-contents .presentation-nav-links>a:hover,.poster-contents .presentation-nav-links>a[aria-current=location]{color:#f0e5cf;background:none}
.poster-contents .presentation-nav-number{font-size:9px;color:#716c60;min-width:23px}
[data-layout=chronicle] .poster-cover{min-height:640px;grid-template-rows:1fr auto;border:0;background:#11110f}
.poster-cover::after{display:none}
.poster-cover::before{background:linear-gradient(90deg,#0e0e0ff2 2%,#11100d99 38%,#11100d0d 75%),linear-gradient(0deg,#11110f,transparent 40%)}
.cover-landscape{object-position:center 38%;filter:saturate(.72) brightness(.82)}
[data-layout=chronicle] .cover-intro{width:52%;max-width:650px;padding:64px 0 46px 48px;text-align:start;animation:none}
.cover-logo{width:190px;margin-bottom:24px}
.cover-intro .eyebrow{font:500 10px/1.5 'Outfit',Arial,sans-serif;letter-spacing:.19em;color:#bda779;margin-bottom:18px}
.cover-intro h1{font:400 clamp(36px,4.2vw,56px)/1.12 Georgia,serif;letter-spacing:-.025em;text-transform:none;max-width:550px;color:#f1e7d2;text-shadow:none;margin-bottom:30px}
[data-layout=chronicle] .button{min-height:44px;padding:11px 23px;clip-path:none;border-radius:2px;box-shadow:none;background:#c7ac77;border:1px solid #d4bf94;color:#191713;text-shadow:none;font:600 12px/1.5 'Outfit',Arial,sans-serif;letter-spacing:.035em}
[data-layout=chronicle] .button.secondary{background:#311d19;border-color:#785143;color:#e6d6bc;box-shadow:none}
[data-layout=chronicle] .button:hover{filter:brightness(1.08);transform:none}
.cover-cinema,[dir=rtl] .cover-cinema{position:absolute;grid-column:auto;grid-row:auto;margin:0;width:auto;height:auto;inset:0 -2% 96px 46%;z-index:3}
.cover-differences{gap:28px;padding:22px 48px 25px;background:#11110fd9;border-top:1px solid #ffffff14}
.cover-differences>a,.cover-differences>a+a{min-height:0;padding:0;border:0;background:none;box-shadow:none;grid-template-columns:32px 1fr;gap:3px 12px}
.cover-differences strong{font:500 15px/1.4 'Outfit',Arial,sans-serif;color:#e5ddcd;margin-bottom:4px}
.cover-differences a>span:not([class]){font-size:11px;line-height:1.6;color:#969286}
.cover-differences .difference-arrow{top:0;font-size:13px;color:#a18a61}
[data-layout=chronicle] .poster-chapter{padding:64px 48px;gap:25px 40px;background:#131310!important;border:0;border-top:1px solid #ffffff0d;overflow:hidden}
[data-layout=chronicle] :is(#world,#pre-registration,#fragments,#bosses,#platforms,#classes,#events,#streams){background:#131310!important}
[data-layout=chronicle] .poster-chapter:before{display:none}
[data-layout=chronicle] .poster-chapter[data-pace]{padding-block:64px}
[data-layout=chronicle] .poster-chapter .chapter-banner{width:auto;min-height:0;margin:0;padding:0;border:0;background:none;justify-content:flex-start;gap:12px;text-align:start;font:500 clamp(25px,2.6vw,34px)/1.2 'Outfit',Arial,sans-serif;letter-spacing:-.025em;color:#eee8da;text-shadow:none}
[data-layout=chronicle] .chapter-banner:after{display:none}
[data-layout=chronicle] .chapter-banner .poster-number{width:auto;min-width:23px;height:auto;flex:0 0 auto;padding:0;border:0;background:none;font:400 10px/1 'Outfit',Arial,sans-serif;letter-spacing:0;color:#8b7858;align-self:flex-start;margin-top:7px}
.poster-copy,.chapter-intro .poster-copy{max-width:680px;width:100%;margin:0;text-align:start;padding:0;background:none!important;border:0!important;box-shadow:none!important}
.poster-copy::before,.poster-copy::after{display:none!important}
.poster-copy>p,.poster-chapter[data-pace=brief]>.poster-copy>p{font:400 15px/1.75 'Outfit',Arial,sans-serif;color:#aaa79c;margin:0 0 14px}
[data-layout=chronicle] .poster-copy>h3{font:500 20px/1.4 'Outfit',Arial,sans-serif;color:#ddd4c2}
.poster-bullets li,.poster-chapter[data-pace=brief] .poster-bullets li{background:none;border:0;border-bottom:1px solid #ffffff10;padding:12px 0;padding-inline-start:24px;font-size:13px;color:#b6b0a2}
.poster-bullets li::before{inset-inline-start:0}
[data-layout=chronicle] .poster-chapter[data-composition=split]{grid-template-columns:280px minmax(0,1fr);gap:40px;align-items:center}
.poster-chapter[data-composition=split]>.chapter-intro{grid-column:1;grid-row:1;align-self:center;display:flex;flex-direction:column;gap:22px}
[data-layout=chronicle] .chapter-intro .chapter-banner{font-size:29px}
.chapter-intro .poster-copy{max-width:none}
[data-layout=chronicle] .poster-chapter[data-composition=split]>:not(.chapter-intro){grid-column:2;grid-row:1;margin-inline:auto;width:100%;max-width:100%;align-self:center}
.chapter-intro .poster-bullets{display:block!important;margin-top:14px}
.chapter-intro .poster-bullets li{padding-block:10px;font-size:12px}
.chapter-intro .auto-sell-rules{padding:0;background:none;border:0}
.chapter-intro .auto-sell-payout{border-bottom:1px solid #ffffff14;padding-bottom:14px;margin-bottom:14px}
.poster-chapter figcaption{opacity:.65}
#world .poster-details{gap:0}
.poster-fact strong{font-family:Georgia,serif;font-weight:400;font-size:46px;color:#d6c6a6}
.poster-fact span{font-size:11px;letter-spacing:0;color:#8e8a7f}
#world>.poster-copy{align-self:start}
.starting-items h3{font:500 21px 'Outfit',Arial,sans-serif!important}
.starting-items :is(article,.starting-item){background:transparent!important;box-shadow:none!important}
.preregistration-rewards{gap:24px}
[data-layout=chronicle] #pre-registration .preregistration-reward{background:none;border:0;border-inline-start:1px solid #766346;padding:8px 0 8px 22px}
.preregistration-reward>strong{font:500 17px/1.4 'Outfit',Arial,sans-serif}
.poster-items article,.research-example,.hunt-example,.relic-comparison>article{background:none!important;box-shadow:none!important;border-color:#ffffff15!important}
.poster-items h3,.poster-roster h3,.boss-prize h3{font-family:'Outfit',Arial,sans-serif!important;letter-spacing:0}
.poster-roster>article{background:none!important;border-color:#ffffff18}
.partner-streamer-avatar{box-shadow:none;border-color:#7a6a4c}
.poster-ending{min-height:420px;padding:70px 48px;background:#10100f}
.ending-copy h2{font:400 clamp(32px,4vw,48px)/1.15 Georgia,serif}
[data-layout=chronicle] footer{background:#0b0b0a;border-color:#ffffff12;color:#88867c}
[dir=rtl] .cover-intro{padding:64px 48px 46px 0}
[dir=rtl] .cover-cinema{inset:0 46% 96px -2%}
@media(max-width:1200px){
 [data-layout=chronicle] main{max-width:calc(100% - 40px)}
 [data-layout=chronicle] .poster-chapter{padding-inline:36px}
 [data-layout=chronicle] .poster-chapter[data-composition=split]{grid-template-columns:1fr;gap:28px}
 .poster-chapter[data-composition=split]>.chapter-intro{grid-column:1;grid-row:auto;max-width:680px;gap:14px}
 [data-layout=chronicle] .poster-chapter[data-composition=split]>:not(.chapter-intro){grid-column:1;grid-row:auto}
}
@media(max-width:760px){
 [data-layout=chronicle] header{height:64px;padding-inline:18px}
 [data-layout=chronicle] main{max-width:none;width:100%}
 [data-layout=chronicle] .poster-contents{top:64px;padding-inline:22px}
 .poster-contents>summary{min-height:44px;gap:12px}
 .contents-current{padding-inline-start:12px;font-size:11px}
 [data-layout=chronicle] .poster-contents>nav{padding:22px;max-height:calc(100dvh - 108px)}
 .poster-contents .presentation-nav-groups{grid-template-columns:1fr;gap:18px}
 [data-layout=chronicle] .poster-cover{display:flex;min-height:0;padding-top:0}
 [data-layout=chronicle] .cover-intro,[dir=rtl] .cover-intro{width:100%;padding:38px 24px 20px;text-align:start;max-width:none;order:0}
 .cover-logo{width:150px;margin:0 0 16px}
 .cover-intro h1{font-size:38px;max-width:340px;margin-bottom:23px}
 .cover-intro .eyebrow{font-size:9px;margin-bottom:14px}
 .cover-intro .actions{justify-content:flex-start;gap:10px}
 .cover-cinema,[dir=rtl] .cover-cinema{position:relative;inset:auto;width:100%;height:290px;order:1;margin:-10px 0 -10px}
 .cover-differences{order:2;display:flex;flex-direction:column;padding:20px 24px;gap:16px;background:#11110f}
 .cover-differences>a,.cover-differences>a+a{grid-template-columns:28px 1fr;gap:0 12px;padding:0;min-height:0}
 .cover-differences a>img:not(.difference-scene){width:24px;height:28px;grid-row:1;margin:0}
 .cover-differences strong{font-size:14px;margin:0;align-self:center}
 .cover-differences a>span:not([class]){display:none}
 .cover-differences .difference-arrow{top:3px}
 [data-layout=chronicle] .poster-chapter,[data-layout=chronicle] .poster-chapter[data-pace]{padding:40px 24px;gap:22px}
 [data-layout=chronicle] .poster-chapter .chapter-banner,[data-layout=chronicle] .chapter-intro .chapter-banner{font-size:27px;gap:10px}
 [data-layout=chronicle] .chapter-banner .poster-number{margin-top:6px;min-width:18px;font-size:9px}
 .poster-copy>p,.poster-chapter[data-pace=brief]>.poster-copy>p{font-size:14px;line-height:1.7}
 #world{gap:20px!important}
 .poster-fact strong{font-size:36px}
 .preregistration-rewards{gap:22px}
 .poster-ending{padding:50px 24px;min-height:360px}
}
@media(prefers-reduced-motion:reduce){.cover-differences>a{transition:none}}
/* Trading demonstrations share the page canvas rather than a second card. */
[data-layout=chronicle] #market .market-demos{width:100%;gap:48px}
[data-layout=chronicle] #market .market-demo{padding:24px 0 0;border:0;border-top:1px solid #ffffff12;background:none;gap:40px}
[data-layout=chronicle] #market .offline-market-sale{grid-template-columns:280px minmax(0,1fr)}
[data-layout=chronicle] #market .market-demo-intro h3{font:500 24px/1.25 'Outfit',Arial,sans-serif;color:#e5ddcd}
[data-layout=chronicle] #market .market-demo-intro p{font-size:14px;color:#aaa79c}
[data-layout=chronicle] #market .market-demo-intro small{font-size:11px;color:#858278}
@media(max-width:760px){
 [data-layout=chronicle] #market .offline-market-sale{grid-template-columns:1fr;gap:24px}
 [data-layout=chronicle] #market .market-demos{gap:32px}
}[data-layout=chronicle] #classes .model-stage{background:radial-gradient(ellipse at 24% 65%,#65715b1a,transparent 65%),#10110f!important;border:0;box-shadow:none;padding:28px}
[data-layout=chronicle] #classes .model-choice{background:#161713!important;border:1px solid #ffffff18!important;color:#b9b5a9!important;font:500 15px/1.4 'Outfit',Arial,sans-serif;min-height:48px;box-shadow:none}
[data-layout=chronicle] #classes .model-choice[aria-pressed=true]{background:#c2aa7c!important;border-color:#c2aa7c!important;color:#181813!important}
[data-layout=chronicle] #classes .model-hint{font-size:12px;color:#89877d}
@media(max-width:760px){[data-layout=chronicle] #classes .model-stage{padding:16px 0}}/* Legacy section-specific grid coordinates must not split the new composition. */
[data-layout=chronicle] .poster-chapter[data-composition=split]>:not(.chapter-intro){grid-column:2!important;grid-row:1!important}
@media(max-width:1200px){
 [data-layout=chronicle] .poster-chapter[data-composition=split]>.chapter-intro{grid-column:1!important;grid-row:1!important}
 [data-layout=chronicle] .poster-chapter[data-composition=split]>:not(.chapter-intro){grid-column:1!important;grid-row:2!important}
}[data-layout=chronicle] .hair-cosmetic{background:none;border-inline-start:2px solid #8d7955;padding:6px 14px;color:#a9a497;font-size:13px}
[data-layout=chronicle] .hair-filters{gap:0;border-bottom:1px solid #ffffff18}
[data-layout=chronicle] .hair-filters button{background:none;border:0;border-bottom:2px solid transparent;color:#99968b;font-size:13px}
[data-layout=chronicle] .hair-filters button[aria-pressed=true]{background:none;color:#e4d3b1;border-bottom-color:#c2aa7c}
[data-layout=chronicle] .hair-portraits{gap:20px}
[data-layout=chronicle] .hair-portraits li{border:0;border-bottom:1px solid #ffffff15;background:#10110f}
[data-layout=chronicle] .hair-portrait-pair{gap:0;background:#151613}
[data-layout=chronicle] .hair-portrait-pair span{background-color:#151613}
[data-layout=chronicle] .hair-name{font-size:12px;font-weight:400;color:#bab5a8;min-height:48px}[data-layout=chronicle] #horse>.chapter-intro{align-self:start;padding-top:12px}
[data-layout=chronicle] .horse-demo-supplies{background:none;border:1px solid #ffffff16;color:#aaa79c}
[data-layout=chronicle] .horse-demo-supplies legend{color:#8d887b;font-size:11px}
[data-layout=chronicle] .horse-demo-supplies :is(input,button){background:#11120f;border-color:#ffffff20;color:#c7c1b2;box-shadow:none}[data-layout=chronicle] #streams>.chapter-banner{padding:0;margin:0;border:0;color:#eee8da;font-size:34px;gap:12px}
[data-layout=chronicle] #streams .partner-streamers{gap:20px 12px}
[data-layout=chronicle] #streams .partner-streamer{background:none;border:0;border-bottom:1px solid #ffffff10;padding:16px 10px 20px;box-shadow:none}
[data-layout=chronicle] #streams .partner-streamer-avatar{border:0;box-shadow:none}
[data-layout=chronicle] #streams .partner-streamer h3{color:#b8b3a7;font-size:13px;font-weight:400}
[data-layout=chronicle] #streams .partner-streamer-initial{background:#23251d;color:#c7b58e}
@media(max-width:760px){[data-layout=chronicle] #streams>.chapter-banner{font-size:27px}}/* Keep the entire native ranking window visible on narrow screens. */
@media(max-width:760px){
 [data-layout=chronicle] .ranking-native-viewport{overflow:visible}
 [data-layout=chronicle] .ranking-board{zoom:min(1,calc(100cqw / 541px))}
}.ranking-size-toggle{display:none}
@media(max-width:760px){
 .ranking-demo>.ranking-size-toggle{display:inline-block;margin:10px 0 0;padding:7px 13px;border:1px solid #ffffff25;background:#171812;color:#c2b18e;font:12px Tahoma,Arial,sans-serif}
 .ranking-demo>.ranking-size-toggle[aria-pressed=true]{border-color:#c2aa7c}
 .ranking-demo:has(.ranking-board[hidden])>.ranking-size-toggle{display:none}
 [data-layout=chronicle] .ranking-native-viewport[data-actual-size=true]{overflow:auto}
 [data-layout=chronicle] .ranking-native-viewport[data-actual-size=true] .ranking-board{zoom:1}
}

/* Materials from m2classic_files/ui/pattern and ui/public.
   Layout belongs to presentation-design.css; game windows keep their own skin. */
body[data-layout=chronicle]{--gold:#c6ad7c;--text:#ded8c8;--muted:#aaa28e;background:#10100e url(assets/presentation/system-demos/board_base.webp) repeat;font-family:Tahoma,Arial,sans-serif}
body[data-layout=chronicle] main{background:linear-gradient(#161512e8,#161512e8),url(assets/presentation/system-demos/board_base.webp) repeat;border-inline:8px solid transparent;border-image:url(assets/presentation/system-demos/ranking/board.webp) 32 repeat;box-sizing:border-box}
body[data-layout=chronicle] header{background:#171612 url(assets/presentation/system-demos/board_base.webp) repeat;border-bottom:3px ridge #5d5848;box-shadow:0 3px 10px #0009}
body[data-layout=chronicle] header nav a{font-family:Tahoma,Arial,sans-serif;color:#c7bda4;font-size:12px;letter-spacing:0;text-shadow:1px 1px #000}
body[data-layout=chronicle] header nav a:hover{color:#ffe29b}
body[data-layout=chronicle] header nav a[href*="Register"]{background:url(assets/presentation/client-theme/titlebar-center.webp) center top/auto 180% repeat-x;border:2px ridge #6f6248;color:#e9d19b;padding:9px 22px}
body[data-layout=chronicle] .poster-cover{background:linear-gradient(90deg,#12120ff5,#17140fe3),url(assets/presentation/client-theme/background_pattern.webp) repeat}
body[data-layout=chronicle] .cover-landscape,body[data-layout=chronicle] .ending-landscape{display:none}
body[data-layout=chronicle] .poster-cover::before{background:radial-gradient(ellipse at 76% 60%,#ac874222,transparent 60%)}
body[data-layout=chronicle] .poster-contents{background:linear-gradient(#1b1b18e8,#1b1b18e8),url(assets/presentation/system-demos/board_base.webp) repeat;border-block:1px solid #69614b;backdrop-filter:none}
.poster-contents>summary{font-family:Tahoma,Arial,sans-serif;text-shadow:1px 1px #000}
.contents-label{color:#d0b77e}.contents-current{color:#bdb5a0}
body[data-layout=chronicle] .poster-contents>nav{background:#141411 url(assets/presentation/system-demos/board_base.webp) repeat;border-bottom:3px ridge #68604a}
.poster-contents .presentation-nav-links>a{font:12px/1.6 Tahoma,Arial,sans-serif;color:#c3baa4}
.poster-contents .presentation-nav-group>summary{font-family:Tahoma,Arial,sans-serif;color:#e0c88d}
body[data-layout=chronicle] .poster-chapter,
body[data-layout=chronicle] :is(#world,#pre-registration,#fragments,#bosses,#platforms,#classes,#events,#streams){background:transparent!important;border-top:1px solid #655b3d66;box-shadow:inset 0 1px #0009}
body[data-layout=chronicle] .poster-chapter .chapter-banner,
body[data-layout=chronicle] #streams>.chapter-banner{font:400 28px/1.3 Tahoma,Arial,sans-serif;letter-spacing:0;color:#e0c895;text-shadow:1px 2px #000;padding:0 0 17px;border-bottom:1px solid #75684a55;gap:14px}
body[data-layout=chronicle] .chapter-intro .chapter-banner{font-size:25px}
body[data-layout=chronicle] .chapter-banner .poster-number{display:grid;place-items:center;align-self:flex-start;margin-top:2px;min-width:25px;height:25px;border:1px solid #776b4e;border-right-color:#29271f;border-bottom-color:#29271f;background:#25241e url(assets/presentation/system-demos/board_base.webp) repeat;color:#cbb37a;font:11px Tahoma,Arial,sans-serif;box-shadow:inset 1px 1px #ffffff0b}
.poster-copy>p,.poster-chapter[data-pace=brief]>.poster-copy>p{font:13px/1.9 Tahoma,Arial,sans-serif;color:#b9b19d}
body[data-layout=chronicle] .poster-copy>h3{font:400 19px/1.5 Tahoma,Arial,sans-serif;color:#dfc995}
body[data-layout=chronicle] .poster-bullets li{font:12px/1.75 Tahoma,Arial,sans-serif;color:#b9b09a;border-bottom-color:#786a4833}
body[data-layout=chronicle] .button,
body[data-layout=chronicle] .button.secondary{position:relative;min-height:37px;padding:10px 26px;border:0;border-radius:0;background:url(assets/presentation/system-demos/patchnotes/button-1.webp) center/100% 100% no-repeat;color:#ddd3b8;font:12px/1.4 Tahoma,Arial,sans-serif;text-shadow:1px 1px #000;box-shadow:none;letter-spacing:0}
body[data-layout=chronicle] .button:hover{background-image:url(assets/presentation/system-demos/patchnotes/button-2.webp);filter:none;color:#ffe39b}
body[data-layout=chronicle] .button:active{background-image:url(assets/presentation/system-demos/patchnotes/button-3.webp)}
body[data-layout=chronicle] .cover-intro h1{font:400 clamp(34px,3.8vw,50px)/1.2 Georgia,serif;color:#ead4a4;text-shadow:2px 3px 4px #000;letter-spacing:-.015em}
body[data-layout=chronicle] .cover-intro .eyebrow{font:11px Tahoma,Arial,sans-serif;color:#c4ad78;letter-spacing:.08em}
.cover-differences{background:#151511 url(assets/presentation/system-demos/board_base.webp) repeat;border-top:3px ridge #62583e;border-bottom:1px solid #000}
.cover-differences strong{font:400 14px/1.5 Tahoma,Arial,sans-serif;color:#dbc799}
.cover-differences a>span:not([class]){font:11px/1.7 Tahoma,Arial,sans-serif;color:#a99f86}
.poster-fact strong{color:#d5ba7c;text-shadow:1px 2px #000}
.poster-fact span{font-family:Tahoma,Arial,sans-serif;color:#a69d86}
body[data-layout=chronicle] .starting-items h3{font:400 19px Tahoma,Arial,sans-serif!important;color:#dfc995}
body[data-layout=chronicle] .preregistration-reward>strong{font:400 15px/1.5 Tahoma,Arial,sans-serif;color:#dfc995}
body[data-layout=chronicle] .preregistration-reward p{font:12px/1.8 Tahoma,Arial,sans-serif;color:#b2a993}
body[data-layout=chronicle] #pre-registration .preregistration-reward{border-inline-start-color:#75664a}
body[data-layout=chronicle] #classes .model-stage{background:radial-gradient(ellipse at 25% 65%,#b29d6812,transparent 65%),#141410!important;border-block:1px solid #61573f55}
body[data-layout=chronicle] #classes .model-choice{background:#25251f url(assets/presentation/system-demos/board_base.webp) repeat!important;border:1px solid #6b634d!important;color:#c9bea2!important;font:13px Tahoma,Arial,sans-serif}
body[data-layout=chronicle] #classes .model-choice[aria-pressed=true]{background:#4e3a21!important;border-color:#b1955b!important;color:#f0d897!important}
body[data-layout=chronicle] .poster-roster h3{font:400 19px Tahoma,Arial,sans-serif!important;color:#d7c08b}
body[data-layout=chronicle] .market-demo-intro h3{font-family:Tahoma,Arial,sans-serif!important;font-size:21px!important;color:#dbc18b!important}
body[data-layout=chronicle] .market-demo-intro p{font:13px/1.8 Tahoma,Arial,sans-serif!important}
body[data-layout=chronicle] .hair-name{font:11px/1.6 Tahoma,Arial,sans-serif;color:#c4b89b}
body[data-layout=chronicle] .hair-portraits li,body[data-layout=chronicle] .hair-portrait-pair,body[data-layout=chronicle] .hair-portrait-pair span{background-color:#181814}
body[data-layout=chronicle] .hair-filters button{font:12px Tahoma,Arial,sans-serif}
body[data-layout=chronicle] #streams .partner-streamer h3{font:12px Tahoma,Arial,sans-serif;color:#c6baa0}
body[data-layout=chronicle] .tournament-rewards{gap:28px;align-items:start}
body[data-layout=chronicle] .chapter-banner .tournament-total{font:400 34px/1.35 Tahoma,Arial,sans-serif;color:#e4c17e}
body[data-layout=chronicle] .tournament-rewards .poster-table{width:100%;height:auto;table-layout:fixed;border-collapse:collapse;background:#191915;font:14px/1.5 Tahoma,Arial,sans-serif;border:1px solid #655d48;border-top:0;box-shadow:0 8px 20px #0003}
body[data-layout=chronicle] .tournament-rewards caption{box-sizing:border-box;height:84px;padding:18px 24px 14px;text-align:start;background:linear-gradient(#28231c,#1b1a15);border:1px solid #655d48;border-top:3px ridge #9d865b;border-bottom:0;color:#e4c994;font:400 21px/1.35 Tahoma,Arial,sans-serif}
body[data-layout=chronicle] .tournament-rewards caption small{display:block;margin-top:8px;font-size:12px;color:#a99f89}
body[data-layout=chronicle] .tournament-rewards :is(td,th){box-sizing:border-box;width:50%;border:0;padding:16px 24px;text-align:start}
body[data-layout=chronicle] .tournament-rewards thead th{background:#12130f;color:#aaa38f;font-size:12px;font-weight:400;border-block:1px solid #5b543b66}
body[data-layout=chronicle] .tournament-rewards tbody :is(th,td){background:transparent;border-bottom:1px solid #655d483d}
body[data-layout=chronicle] .tournament-rewards tbody tr:nth-child(even){background:#ffffff03}
body[data-layout=chronicle] .tournament-rewards tbody th{color:#d0c7b2;font-size:17px;font-weight:400}
body[data-layout=chronicle] .tournament-rewards tbody td{color:#efd498;font-size:21px;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}
body[data-layout=chronicle] .tournament-rewards :is(td,th):last-child{text-align:end}
@media(max-width:760px){
 body[data-layout=chronicle] .tournament-rewards{gap:24px}
 body[data-layout=chronicle] .tournament-rewards .poster-table{height:auto}
 body[data-layout=chronicle] .tournament-rewards caption{height:auto;min-height:90px;padding:19px 18px 14px;font-size:20px}
 body[data-layout=chronicle] .tournament-rewards :is(td,th){padding:17px 18px}
 body[data-layout=chronicle] .tournament-rewards tbody td{font-size:20px}
}
body[data-layout=chronicle] .poster-ending{border-top:3px ridge #62583e;background:linear-gradient(#15120fe8,#15120fe8),url(assets/presentation/client-theme/background_pattern.webp) repeat}
body[data-layout=chronicle] .ending-copy p{font:13px/1.8 Tahoma,Arial,sans-serif;color:#c4b79c}
body[data-layout=chronicle] footer{background:#151511 url(assets/presentation/system-demos/board_base.webp) repeat;border-top:2px ridge #514b39;font-family:Tahoma,Arial,sans-serif}
@media(min-width:1101px){
 body[data-layout=chronicle]{--rail:232px;--presentation-rail:232px}
 body[data-layout=chronicle] main{width:calc(100% - var(--presentation-rail));max-width:1320px;margin-inline-start:max(var(--presentation-rail),calc((100% + var(--presentation-rail) - 1320px)/2));margin-inline-end:0}
 body[data-layout=chronicle] .poster-contents{display:none}
 body[data-layout=chronicle] .poster-rail{display:flex;position:fixed;inset-inline-start:0;inset-inline-end:auto;top:72px;bottom:0;width:var(--presentation-rail);box-sizing:border-box;padding:20px 12px 12px;background:linear-gradient(#171612c9,#171612c9),url(assets/presentation/system-demos/board_base.webp) repeat;border-inline-end:2px ridge #6a6049;overflow:hidden}
 body[data-layout=chronicle] .poster-rail>.rail-brand{display:none}
 body[data-layout=chronicle] .poster-rail>.rail-title{margin:0 0 14px;padding:0 5px;font:13px/1.4 Tahoma,Arial,sans-serif;letter-spacing:0;text-transform:none;color:#d9c18d}
 body[data-layout=chronicle] .poster-rail .presentation-navigation{gap:12px}
 body[data-layout=chronicle] .poster-rail .presentation-nav-search input{font-family:Tahoma,Arial,sans-serif;background:#11110e;border-color:#6c6045;color:#ddd1b4}
 body[data-layout=chronicle] .poster-rail .presentation-nav-group>summary{font:600 12px/1.5 Tahoma,Arial,sans-serif;color:#d0b77f}
 body[data-layout=chronicle] .poster-rail .presentation-nav-links>a{padding:7px 5px;font:12px/1.5 Tahoma,Arial,sans-serif;color:#b9af97}
 body[data-layout=chronicle] .poster-rail .presentation-nav-links>a[aria-current=location]{color:#ffe0a0;border-inline-start-color:#cfaa62;background:linear-gradient(90deg,#71432b80,transparent)}
 body[data-layout=chronicle] .poster-rail .presentation-nav-number{color:#928063}
}
@media(min-width:1101px) and (max-width:1439px){
 body[data-layout=chronicle] .tournament-rewards{grid-template-columns:1fr}
 body[data-layout=chronicle] main .poster-chapter[data-composition=split]{grid-template-columns:1fr;gap:28px}
 body[data-layout=chronicle] main .poster-chapter[data-composition=split]>.chapter-intro{grid-column:1!important;grid-row:1!important;max-width:760px;gap:16px}
 body[data-layout=chronicle] main .poster-chapter[data-composition=split]>:not(.chapter-intro){grid-column:1!important;grid-row:2!important}
}
/* Reading rhythm: a compact opening, broad showcases and alternating tools. */
body[data-layout=chronicle]{background:linear-gradient(#10100ee8,#10100ee8),url(assets/presentation/system-demos/board_base.webp) repeat}
body[data-layout=chronicle] header{background:linear-gradient(#17161299,#17161299),url(assets/presentation/system-demos/board_base.webp) repeat}
body[data-layout=chronicle] .poster-cover{min-height:570px;grid-template-rows:minmax(475px,1fr) auto;background:linear-gradient(90deg,#12120ff5,#17140fed),url(assets/presentation/client-theme/background_pattern.webp) repeat}
body[data-layout=chronicle] .cover-intro{padding-top:48px;padding-bottom:36px;width:55%}
body[data-layout=chronicle] .cover-intro h1{font-size:clamp(40px,4.2vw,58px);line-height:1.15;max-width:570px}
body[data-layout=chronicle] .cover-logo{width:170px;margin-bottom:21px}
body[data-layout=chronicle] .cover-cinema{inset:0 -1% 82px 44%}
body[data-layout=chronicle] .cover-cinema::before{inset:auto 0 -2% 0;height:29%;background:linear-gradient(#15140f99,#15140fb8),url(assets/presentation/figures/cover-ground.webp) center/cover;border:0;border-radius:0;mask-image:radial-gradient(ellipse at 55% 60%,#000 10%,#0009 40%,transparent 73%);transform:perspective(500px) rotateX(45deg);filter:grayscale(.85) brightness(.6);z-index:0}
[dir=rtl] body[data-layout=chronicle] .cover-cinema{inset:0 44% 82px -1%}
body[data-layout=chronicle] .cover-cinema::after{display:none}
body[data-layout=chronicle] .cover-cinema .cinema-ensemble{z-index:1}
.poster-copy>p,.poster-chapter[data-pace=brief]>.poster-copy>p{font-size:15px;line-height:1.85;color:#c7bfad}
body[data-layout=chronicle] .poster-chapter .chapter-banner{font-size:31px}
body[data-layout=chronicle] .chapter-intro .chapter-banner{font-size:28px}
body[data-layout=chronicle] .poster-bullets li{font-size:14px}
body[data-layout=chronicle] .preregistration-reward p{font-size:14px}
body[data-layout=chronicle] .preregistration-reward>strong{font-size:17px}
body[data-layout=chronicle] .market-demo-intro p{font-size:15px!important}
body[data-layout=chronicle] .cover-differences strong{font-size:16px}
body[data-layout=chronicle] .cover-differences a>span:not([class]){font-size:12px}
body[data-layout=chronicle] .ending-copy p{font-size:15px}
@media(min-width:1440px){
 body[data-layout=chronicle] :is(#auto-potion,#bonus-details,#boss-atlas,#issue-report,#horse)[data-composition=split]{grid-template-columns:minmax(0,1fr) 300px;background:linear-gradient(90deg,#0002,transparent)!important}
 body[data-layout=chronicle] :is(#auto-potion,#bonus-details,#boss-atlas,#issue-report,#horse)[data-composition=split]>.chapter-intro{grid-column:2!important}
 body[data-layout=chronicle] :is(#auto-potion,#bonus-details,#boss-atlas,#issue-report,#horse)[data-composition=split]>:not(.chapter-intro){grid-column:1!important}
 body[data-layout=chronicle] :is(#item-shop,#guide)[data-composition=split]{grid-template-columns:1fr;gap:36px;padding-block:74px;background:linear-gradient(#0004,transparent)!important}
 body[data-layout=chronicle] :is(#item-shop,#guide)[data-composition=split]>.chapter-intro{grid-column:1!important;grid-row:1!important;display:grid;grid-template-columns:1fr 1.4fr;gap:48px;align-items:start;width:100%;max-width:none}
 body[data-layout=chronicle] :is(#item-shop,#guide) .chapter-intro .chapter-banner{font-size:34px;max-width:390px}
 body[data-layout=chronicle] :is(#item-shop,#guide) .chapter-intro>.chapter-banner{grid-column:1!important;grid-row:1!important}
 body[data-layout=chronicle] :is(#item-shop,#guide) .chapter-intro>.poster-copy{grid-column:2!important;grid-row:1!important;max-width:none}
 body[data-layout=chronicle] :is(#item-shop,#guide)[data-composition=split]>:not(.chapter-intro){grid-column:1!important;grid-row:2!important;max-width:1000px}
 body[data-layout=chronicle] #pre-registration{padding-block:74px}
}
@media(max-width:760px){
 body[data-layout=chronicle] main{border-inline-width:3px}
 body[data-layout=chronicle] .poster-chapter .chapter-banner,body[data-layout=chronicle] #streams>.chapter-banner,body[data-layout=chronicle] .chapter-intro .chapter-banner{font-size:23px;gap:11px;padding-bottom:14px}
 body[data-layout=chronicle] .chapter-banner .poster-number{min-width:23px;height:23px;margin-top:1px;font-size:10px}
 body[data-layout=chronicle] .cover-intro{width:100%;padding-top:32px;padding-bottom:14px}
 body[data-layout=chronicle] .cover-intro h1{font-size:39px;line-height:1.14}
 body[data-layout=chronicle] .poster-cover{min-height:0}
 body[data-layout=chronicle] .cover-cinema{inset:auto;height:270px;margin:0}
 [dir=rtl] body[data-layout=chronicle] .cover-cinema{inset:auto}
 body[data-layout=chronicle] .cover-cinema::before{bottom:0;left:8%;right:8%;height:24%}
 body[data-layout=chronicle] .cover-logo{width:145px;margin-bottom:18px}
 body[data-layout=chronicle] .cover-intro .actions{gap:8px}
 body[data-layout=chronicle] .cover-intro .button{padding-inline:14px;min-height:42px}
 body[data-layout=chronicle] .chapter-banner .tournament-total{font-size:27px}
 .poster-copy>p,.poster-chapter[data-pace=brief]>.poster-copy>p{font-size:15px;line-height:1.8}
 body[data-layout=chronicle] .poster-chapter .chapter-banner,body[data-layout=chronicle] .chapter-intro .chapter-banner{font-size:26px}
 .cover-differences strong{font-size:14px}
}
/* Opening shortcuts: readable game items, quiet navigation, highlighted reward. */
body[data-layout=chronicle] .cover-differences{gap:0;padding:0 34px;background:linear-gradient(180deg,#211c14,#171611);border-top:1px solid #806b45;border-bottom:1px solid #4c4432}
body[data-layout=chronicle] .cover-differences>a,body[data-layout=chronicle] .cover-differences>a+a{display:grid;grid-template-columns:58px minmax(0,1fr);align-content:center;column-gap:16px;row-gap:7px;min-height:148px;padding:24px 24px;border:0;border-inline-end:1px solid #74613f40;background:none;transform:none;transition:background .18s}
body[data-layout=chronicle] .cover-differences>a:last-child{border-inline-end:0;background:radial-gradient(ellipse at 20% 50%,#9d6d2224,transparent 75%)}
body[data-layout=chronicle] .cover-differences>a:hover,body[data-layout=chronicle] .cover-differences>a:focus-visible{background-color:#b58d3912;transform:none;filter:none}
body[data-layout=chronicle] .cover-differences a>img:not(.difference-scene){grid-row:1/3;align-self:center;width:54px;height:58px;object-fit:contain;margin:0;filter:drop-shadow(0 4px 5px #0009)}
body[data-layout=chronicle] .cover-differences strong{font:400 18px/1.35 Tahoma,Arial,sans-serif;margin:0;padding:0;color:#f0d49b}
body[data-layout=chronicle] .cover-differences a>span:not([class]){display:block;clear:none;font:13px/1.6 Tahoma,Arial,sans-serif;color:#c0b6a0}
body[data-layout=chronicle] .cover-differences .difference-arrow{display:none}
@media(max-width:1439px) and (min-width:761px){body[data-layout=chronicle] .cover-differences{padding-inline:18px}body[data-layout=chronicle] .cover-differences>a{grid-template-columns:42px minmax(0,1fr);padding-inline:16px;column-gap:12px}body[data-layout=chronicle] .cover-differences a>img:not(.difference-scene){width:40px;height:48px}body[data-layout=chronicle] .cover-differences strong{font-size:16px}}
@media(max-width:760px){body[data-layout=chronicle] .cover-differences{padding:6px 22px;gap:0}body[data-layout=chronicle] .cover-differences>a,body[data-layout=chronicle] .cover-differences>a+a{grid-template-columns:48px minmax(0,1fr);min-height:112px;padding:20px 0;border:0;border-bottom:1px solid #74613f40;gap:5px 16px}body[data-layout=chronicle] .cover-differences>a:last-child{border:0;background:none}body[data-layout=chronicle] .cover-differences a>img:not(.difference-scene){width:44px;height:50px}body[data-layout=chronicle] .cover-differences strong{font-size:18px}body[data-layout=chronicle] .cover-differences a>span:not([class]){font-size:13px}}

/* A readable opening and stable space while the native panels are fetched. */
body[data-layout=chronicle] .cover-intro .cover-lead{display:block;margin:20px 0 24px;max-width:390px;font:15px/1.75 Tahoma,Arial,sans-serif;color:#cbbfa5;text-align:start}
body[data-layout=chronicle] .cover-intro{padding-top:38px;padding-bottom:32px}
body[data-layout=chronicle] .cover-logo{width:150px;margin-bottom:18px}
body[data-layout=chronicle] .cover-intro h1{font-size:clamp(38px,3.8vw,54px)}
body[data-layout=chronicle] .cover-cinema{bottom:148px}
body[data-layout=chronicle] .poster-chapter :has(>.native-start:not([hidden])),
body[data-layout=chronicle] :is(.auto-sell-demo,.auto-potion-demo):has(>.native-dialog-close:only-child){position:relative;display:grid;place-content:center;min-height:360px;width:100%;max-width:760px;margin-inline:auto;background:linear-gradient(#171612ee,#171612ee),url(assets/presentation/system-demos/board_base.webp) repeat;border:1px solid #62573e66;box-sizing:border-box}
body[data-layout=chronicle] .poster-chapter :has(>.native-start:not([hidden]))>.native-start,
body[data-layout=chronicle] :is(.auto-sell-demo,.auto-potion-demo):has(>.native-dialog-close:only-child)>.native-dialog-close{position:static;transform:none;max-width:100%;margin:auto}
body[data-layout=chronicle] .poster-chapter :has(>.native-start:not([hidden]))>figcaption{position:absolute;bottom:16px;inset-inline:18px}
body[data-layout=chronicle] .affect-group-demo{border:0;background:transparent;padding:0;width:min(100%,490px)}
@media(max-width:760px){
 body[data-layout=chronicle] .cover-intro{padding-top:30px;padding-bottom:12px}
 body[data-layout=chronicle] .cover-intro .cover-lead{margin:16px 0 22px;max-width:340px;text-align:start;font-size:15px;line-height:1.7}
 body[data-layout=chronicle] .cover-intro h1{font-size:39px}
 body[data-layout=chronicle] .cover-cinema{bottom:auto}
 body[data-layout=chronicle] .poster-chapter :has(>.native-start:not([hidden])),body[data-layout=chronicle] :is(.auto-sell-demo,.auto-potion-demo):has(>.native-dialog-close:only-child){min-height:340px}
}

/* Main parts follow the same six groups as the persistent contents menu. */
body[data-layout=chronicle] .presentation-part{display:flex;align-items:center;gap:20px;padding:25px 4%;border-top:2px ridge #81704d;border-bottom:1px solid #665c4266;background:linear-gradient(90deg,#342b1ee8,#181713e8),url(assets/presentation/system-demos/board_base.webp) repeat}
body[data-layout=chronicle] .presentation-part-number{font:27px/1 Georgia,serif;color:#bda271;min-width:44px;border-inline-end:1px solid #a58a5355;padding-inline-end:20px}
body[data-layout=chronicle] .presentation-part h2{margin:0;font:400 21px/1.4 Tahoma,Arial,sans-serif;color:#e2c998;letter-spacing:0}
body[data-layout=chronicle] .king-election-steps>li,body[data-layout=chronicle] .verified-guild-facts>article{background:transparent;border:0;border-top:1px solid #8b74484d;padding:20px 0;box-shadow:none}
body[data-layout=chronicle] .king-election-steps{gap:28px}
body[data-layout=chronicle] .king-election-steps h3{font-family:Tahoma,Arial,sans-serif;font-weight:400}
body[data-layout=chronicle] .king-election-steps p{font-family:Tahoma,Arial,sans-serif;color:#c7bfad}
@media(max-width:760px){body[data-layout=chronicle] .presentation-part{padding:22px 24px;gap:16px}body[data-layout=chronicle] .presentation-part h2{font-size:19px}body[data-layout=chronicle] .presentation-part-number{font-size:24px;min-width:36px;padding-inline-end:16px}body[data-layout=chronicle] .king-election-steps{gap:0}}

.ingame-wiki-jump{display:flex;gap:10px;margin-bottom:10px}
.ingame-wiki-jump[hidden]{display:none}
.ingame-wiki-jump>.native-dialog-close{flex:1;min-width:0;margin:0;white-space:normal;line-height:1.4!important}
.ingame-wiki-presentation-shell{width:100%;min-width:0}

.ingame-wiki-jump>.native-dialog-close{border:0!important;background:url(assets/presentation/system-demos/patchnotes/button-1.webp) center/100% 100% no-repeat!important;text-shadow:1px 1px #000}
.ingame-wiki-jump>.native-dialog-close:hover{background-image:url(assets/presentation/system-demos/patchnotes/button-2.webp)!important}
.ingame-wiki-jump>.ingame-wiki-jump-close{flex:0 0 34px;padding:4px!important;font-size:20px!important}

.chapter-usage{border-block:1px solid #77664455;margin-top:18px;padding:10px 0}
.chapter-usage>summary{font:14px/1.6 Tahoma,Arial,sans-serif;color:#d9c18f;cursor:pointer;list-style-position:inside}
.chapter-usage>p{font:14px/1.8 Tahoma,Arial,sans-serif;color:#c7bfad;margin:14px 0 0}

.ingame-wiki-jump>.native-dialog-close{font-family:var(--wiki-font-family),Tahoma,sans-serif!important;font-size:var(--wiki-font-size)!important}
.ingame-wiki-jump>.ingame-wiki-jump-close{font-size:20px!important}

/* Retain readable native ranking text rather than shrinking the whole window. */
body[data-layout=chronicle] .ranking-native-viewport{overflow:auto}
body[data-layout=chronicle] .ranking-board{zoom:1}
.ranking-presentation-shell{width:100%;min-width:0}
.ranking-jump{display:flex;gap:8px;margin-bottom:10px}
.ranking-jump[hidden]{display:none}
.ranking-jump>.native-dialog-close{flex:1;min-width:0;margin:0;padding:7px!important;font:inherit!important;white-space:normal;border:0!important;background:url(assets/presentation/system-demos/patchnotes/button-1.webp) center/100% 100% no-repeat!important;text-shadow:1px 1px #000}
.ranking-jump>.native-dialog-close:hover{background-image:url(assets/presentation/system-demos/patchnotes/button-2.webp)!important}
.ranking-jump>.ranking-jump-close{flex:0 0 34px;font-size:20px!important;padding:4px!important}

.ranking-scroll-hint{margin:8px 0 0;color:#b7ab90;text-align:center;font:12px/1.4 Tahoma,Arial,sans-serif}
.ranking-scroll-hint[hidden]{display:none}

