/* Presentation framing only: native game windows retain their own artwork and metrics. */
body[data-layout=chronicle] .poster-cover{min-height:660px;grid-template-rows:minmax(500px,1fr) auto;background:radial-gradient(ellipse at 77% 38%,#66452555,transparent 53%),linear-gradient(110deg,#100e0b 12%,#251910 72%,#17130e);isolation:isolate}
body[data-layout=chronicle] .poster-cover:before{background:linear-gradient(110deg,transparent 50%,#b28b3620 50.1%,transparent 50.3%),url(assets/presentation/client-theme/background_pattern.webp) repeat;opacity:.22;z-index:0}
body[data-layout=chronicle] .cover-intro{width:56%;padding:56px 0 48px 5%;position:relative;z-index:4}
body[data-layout=chronicle] .cover-logo{width:175px;margin-bottom:28px}
body[data-layout=chronicle] .cover-intro h1{font-size:clamp(46px,4.9vw,76px);line-height:1.08;letter-spacing:-.035em;max-width:620px;color:#f0dab0;text-wrap:balance;margin-block:20px 26px}
body[data-layout=chronicle] .cover-intro .cover-lead{font-size:17px;line-height:1.8;max-width:440px;color:#d5c5a9;margin:0 0 30px}
body[data-layout=chronicle] .cover-intro .eyebrow{font-size:12px;letter-spacing:.12em}
body[data-layout=chronicle] .cover-intro .button{min-height:48px;font-size:14px;padding:13px 27px}
body[data-layout=chronicle] .cover-cinema{inset:0 -5% 130px 43%;filter:drop-shadow(0 18px 22px #0008)}
[dir=rtl] body[data-layout=chronicle] .cover-cinema{inset:0 43% 130px -5%}
body[data-layout=chronicle] .cover-differences{position:relative;z-index:5;background:#15120ee8;padding-inline:4%;border-top:1px solid #a48855}
body[data-layout=chronicle] .cover-differences>a{min-height:136px;padding-inline:20px}
body[data-layout=chronicle] .cover-differences strong{font-size:18px}
body[data-layout=chronicle] .cover-differences a>span:not([class]){font-size:13px}
body[data-layout=chronicle] .poster-chapter>.chapter-banner,body[data-layout=chronicle] .chapter-intro>.chapter-banner{font-family:Georgia,serif;font-size:36px;line-height:1.18;border-bottom:0;padding-bottom:5px;color:#e4c994}
body[data-layout=chronicle] .chapter-banner .poster-number{margin-top:6px}
body[data-layout=chronicle] .poster-copy>p{font-size:16px;line-height:1.85;max-width:760px}
body[data-layout=chronicle] .presentation-part{background:#201a12;border-top:1px solid #a28a59;border-bottom:0;padding:34px 5%;gap:24px}
body[data-layout=chronicle] .presentation-part-number{font-size:38px;color:#9b7a42;border:0;padding:0}
body[data-layout=chronicle] .presentation-part h2{font:400 30px/1.25 Georgia,serif;color:#d3bd94}
body[data-layout=chronicle] #fragments{background:linear-gradient(125deg,#3e291b44,transparent 65%)!important;padding-block:80px}
body[data-layout=chronicle] #bosses{background:linear-gradient(135deg,#17232b88,#101410 70%)!important;padding-block:80px}
body[data-layout=chronicle] #pre-registration{background:linear-gradient(120deg,#3d2d1840,transparent 75%)!important;padding-block:80px}
body[data-layout=chronicle] #tournaments{background:linear-gradient(#2b1b1244,transparent 60%)!important;padding-block:80px}
body[data-layout=chronicle] :is(#platforms,#global){background:#1c1b1544!important}
body[data-layout=chronicle] #streams{background:#11130f!important}
body[data-layout=chronicle] .chapter-explorer{grid-column:1/-1;width:100%;min-width:0;border-top:1px solid #80704b66}
body[data-layout=chronicle] .chapter-explorer>summary{display:flex;align-items:center;justify-content:space-between;gap:20px;list-style:none;cursor:pointer;padding:20px 0;color:#d8c18d;font:14px/1.5 Tahoma,Arial,sans-serif}
body[data-layout=chronicle] .chapter-explorer>summary::-webkit-details-marker{display:none}
body[data-layout=chronicle] .chapter-explorer>summary:after{content:'+';font:26px/1 Georgia,serif;color:#ae8c50}
body[data-layout=chronicle] .chapter-explorer[open]>summary:after{content:'−'}
body[data-layout=chronicle] .chapter-explorer>summary:hover{color:#ffdda0}
body[data-layout=chronicle] .chapter-explorer>summary:focus-visible{outline:1px solid #bba16a;outline-offset:4px}
body[data-layout=chronicle] .chapter-explorer-content{display:grid;gap:28px;padding:12px 0 30px;min-width:0}
body[data-layout=chronicle] .chapter-explorer-content>*{min-width:0;max-width:100%}
body[data-layout=chronicle] [data-editorial=disclosure]{padding-block:42px!important;gap:18px!important}
body[data-layout=chronicle] [data-editorial=disclosure][data-composition=split]{grid-template-columns:1fr!important}
body[data-layout=chronicle] [data-editorial=disclosure]>.chapter-intro{grid-column:1!important;grid-row:auto!important;max-width:none}
body[data-layout=chronicle] [data-editorial=disclosure]>.chapter-explorer{grid-column:1!important;grid-row:auto!important}
@media(min-width:1440px){
 body[data-layout=chronicle] #pre-registration{grid-template-columns:1.35fr 1fr;column-gap:6%}
 body[data-layout=chronicle] #pre-registration>.preregistration-art{grid-column:1;grid-row:2/5;width:100%;margin:0;align-self:center}
 body[data-layout=chronicle] #pre-registration>.poster-copy,body[data-layout=chronicle] #pre-registration>.preregistration-rewards,body[data-layout=chronicle] #pre-registration>.poster-details{grid-column:2;grid-row:auto}
 body[data-layout=chronicle] [data-editorial=disclosure]>.chapter-intro{display:grid;grid-template-columns:1fr 1.5fr;gap:50px;align-items:start}
}
@media(max-width:760px){
 body[data-layout=chronicle] .poster-cover{min-height:0;background:radial-gradient(ellipse at 65% 55%,#67412144,transparent 65%),#17120e}
 body[data-layout=chronicle] .cover-intro{width:100%;padding:32px 24px 16px}
 body[data-layout=chronicle] .cover-logo{width:150px;margin-bottom:22px}
 body[data-layout=chronicle] .cover-intro h1{font-size:clamp(38px,10.5vw,52px);line-height:1.08;margin-block:18px 22px;max-width:100%}
 body[data-layout=chronicle] .cover-intro .cover-lead{font-size:16px;line-height:1.75;margin-bottom:24px}
 body[data-layout=chronicle] .cover-intro .button{font-size:13px;padding-inline:20px;min-height:46px}
 body[data-layout=chronicle] .cover-cinema,[dir=rtl] body[data-layout=chronicle] .cover-cinema{inset:auto;position:relative;width:100%;height:300px;margin:-8px 0 0;filter:drop-shadow(0 12px 16px #0008)}
 body[data-layout=chronicle] .cover-differences{padding-inline:24px;background:#15120e}
 body[data-layout=chronicle] .cover-differences>a,body[data-layout=chronicle] .cover-differences>a+a{min-height:108px;padding:20px 0}
 body[data-layout=chronicle] .poster-chapter>.chapter-banner,body[data-layout=chronicle] .chapter-intro>.chapter-banner{font-size:30px;line-height:1.2}
 body[data-layout=chronicle] .poster-copy>p{font-size:16px;line-height:1.8}
 body[data-layout=chronicle] .presentation-part{padding:28px 24px;gap:18px}
 body[data-layout=chronicle] .presentation-part h2{font-size:25px}
 body[data-layout=chronicle] .presentation-part-number{font-size:30px}
 body[data-layout=chronicle] :is(#fragments,#bosses,#pre-registration,#tournaments){padding-block:48px}
 body[data-layout=chronicle] [data-editorial=disclosure]{padding-block:32px!important}
}
body[data-layout=chronicle] .poster-cover:before{background:none;opacity:1}
@media(min-width:761px){
 body[data-layout=chronicle] .cover-cinema{inset:0 0 130px 43%}
 [dir=rtl] body[data-layout=chronicle] .cover-cinema{inset:0 43% 130px 0}
}
@media(min-width:761px) and (max-width:1000px){
 body[data-layout=chronicle] .poster-cover{display:flex;min-height:0}
 body[data-layout=chronicle] .cover-intro{width:100%;padding:40px 6% 16px;order:0}
 body[data-layout=chronicle] .cover-intro h1{max-width:620px;font-size:54px}
 body[data-layout=chronicle] .cover-cinema,[dir=rtl] body[data-layout=chronicle] .cover-cinema{position:relative;inset:auto;width:100%;height:370px;order:1;margin:0}
 body[data-layout=chronicle] .cover-differences{order:2;grid-template-columns:repeat(3,minmax(0,1fr))}
}
body[data-layout=chronicle] .poster-cover:before{inset:0;width:auto;height:auto}
body[data-layout=chronicle] .cover-cinema:before{transform:none;inset-inline:5%;width:auto}
@media(max-width:760px){body[data-layout=chronicle] #pre-registration>.preregistration-art{grid-row:3!important}body[data-layout=chronicle] #pre-registration>.poster-details{grid-row:4!important}}
@media(max-width:760px){body[data-layout=chronicle] #pre-registration>.preregistration-art{order:0!important}}
/* Disclosure sections always use one explicit column, including wide desktop. */
body[data-layout=chronicle] main .poster-chapter:is(#horse,#hairstyles,#premium,#election,#verified-guild,#issue-report,#events,#achievements,#patchnotes)[data-editorial=disclosure]{grid-template-columns:minmax(0,1fr)!important}
body[data-layout=chronicle] main .poster-chapter:is(#horse,#hairstyles,#premium,#election,#verified-guild,#issue-report,#events,#achievements,#patchnotes)[data-editorial=disclosure]>.chapter-intro{grid-column:1!important;grid-row:1!important}
body[data-layout=chronicle] main .poster-chapter:is(#horse,#hairstyles,#premium,#election,#verified-guild,#issue-report,#events,#achievements,#patchnotes)[data-editorial=disclosure]>.chapter-explorer{grid-column:1!important;grid-row:2!important}
.horse-demo-settings{grid-column:1/-1;justify-self:stretch;min-width:0;border-top:1px solid #71634566;margin-top:16px}
.horse-demo-settings>summary{cursor:pointer;padding:16px 0;color:#c3b28c;font:14px/1.5 Tahoma,Arial,sans-serif}
.horse-demo-settings .horse-demo-supplies{margin-top:8px;width:100%;box-sizing:border-box}
.offline-shop-first-step{display:flex;align-items:center;flex-wrap:wrap;justify-content:center;gap:12px;width:min(100%,502px);min-height:64px;margin:0 0 16px;padding:12px 16px;border:1px solid #8b7446;background:#262016;color:#dfcca3;font:14px/1.5 Tahoma,Arial,sans-serif;text-align:start;cursor:pointer;box-sizing:border-box}
.offline-shop-first-step img{width:32px;height:32px;object-fit:contain}
.offline-shop-first-step strong{margin-inline-start:auto;font-weight:400;color:#f0d08c}
.offline-shop-first-step:hover{background:#34291b;border-color:#c4a065}
.offline-shop-first-step:disabled{opacity:.5;cursor:default}
@media(max-width:760px){
 body[data-layout=chronicle] .cover-intro{padding-top:24px;padding-bottom:8px}
 body[data-layout=chronicle] .cover-logo{width:132px;margin-bottom:15px}
 body[data-layout=chronicle] .cover-intro h1{margin-block:14px 17px}
 body[data-layout=chronicle] .cover-intro .cover-lead{margin-bottom:18px}
 body[data-layout=chronicle] .cover-cinema,[dir=rtl] body[data-layout=chronicle] .cover-cinema{height:230px;margin:0}
 .offline-shop-first-step{font-size:13px;gap:8px;padding:10px}
}
body[data-layout=chronicle] main .poster-chapter:is(#horse,#hairstyles,#premium,#election,#verified-guild,#issue-report,#events,#achievements,#patchnotes)[data-editorial=disclosure]>.chapter-intro{display:block!important}body[data-layout=chronicle] [data-editorial=disclosure] .chapter-intro>.chapter-banner{margin-bottom:18px}
body[data-layout=chronicle] .cover-tournament-link{display:flex;align-items:center;gap:20px;padding:20px 5%;background:#211b12;border-block:1px solid #8c754744;color:#cbb58d;font:14px/1.5 Tahoma,Arial,sans-serif;text-decoration:none}
body[data-layout=chronicle] .cover-tournament-link strong{margin-inline-start:auto;font:400 24px/1.3 Georgia,serif;color:#efcf91}
body[data-layout=chronicle] .cover-tournament-arrow{font-size:22px;color:#c7a25a}
body[data-layout=chronicle] .cover-tournament-link:hover{background:#302517}
body[data-layout=chronicle] .cover-tournament-link:focus-visible{outline:2px solid #c7a25a;outline-offset:-3px}
body[data-layout=chronicle] .cover-differences a[href='#pre-registration']>span:not([class]){line-height:1.7}
@media(max-width:760px){body[data-layout=chronicle] .cover-tournament-link{padding:18px 24px;gap:12px;flex-wrap:wrap}body[data-layout=chronicle] .cover-tournament-link strong{font-size:22px;margin-inline-start:0}body[data-layout=chronicle] .cover-tournament-arrow{margin-inline-start:auto}}
body[data-layout=chronicle] .cover-differences a>strong,body[data-layout=chronicle] .cover-differences a>span:not([class]){min-width:0;overflow-wrap:anywhere}
/* The whole native-styled invitation is a control, rather than a quiet divider. */
body[data-layout=chronicle] .chapter-explorer{border-top:0}
body[data-layout=chronicle] .chapter-explorer>summary{display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:22px;min-height:104px;padding:20px 24px;box-sizing:border-box;border:1px solid #90754b;border-inline-start:3px solid #b49155;background:linear-gradient(110deg,#43301c99,#211d15ee 65%),url(assets/presentation/system-demos/board_base.webp) repeat;box-shadow:inset 0 1px #d5b36918,0 4px 14px #0003;color:#f0d39b}
body[data-layout=chronicle] .chapter-explorer>summary:after{display:none}
.explorer-emblem{display:grid;place-items:center;width:64px;height:64px;border:1px solid #9d82543d;background:#13131088;box-shadow:inset 0 0 12px #0006}
.explorer-emblem img{object-fit:contain;max-width:48px;max-height:48px;filter:drop-shadow(0 3px 4px #0009)}
.explorer-invitation{display:grid;gap:7px;min-width:0;text-align:start}
.explorer-invitation strong{font:400 21px/1.35 Tahoma,Arial,sans-serif;color:#f0d39b;overflow-wrap:anywhere}
.explorer-invitation small{font:12px/1.5 Tahoma,Arial,sans-serif;color:#c0b196}
.explorer-action{display:flex;align-items:center;justify-content:center;gap:15px;max-width:240px;min-height:44px;padding:10px 19px;background:url(assets/presentation/system-demos/patchnotes/button-1.webp) center/100% 100% no-repeat;color:#ead4a7;font:13px/1.4 Tahoma,Arial,sans-serif;text-shadow:1px 1px #000;text-align:center;box-sizing:border-box}
.explorer-action>span:last-child{font-size:20px}
body[data-layout=chronicle] .chapter-explorer>summary:hover{border-color:#d2ae68;background-color:#4a321b;box-shadow:inset 0 1px #e6c07633,0 5px 18px #0005}
body[data-layout=chronicle] .chapter-explorer>summary:hover .explorer-action{background-image:url(assets/presentation/system-demos/patchnotes/button-2.webp)}
body[data-layout=chronicle] .chapter-explorer>summary:focus-visible{outline:2px solid #ecc774;outline-offset:3px}
body[data-layout=chronicle] .chapter-explorer[open]>summary{border-color:#796345;background:linear-gradient(110deg,#34271877,#1a1813),url(assets/presentation/system-demos/board_base.webp) repeat}
@media(max-width:600px){
 body[data-layout=chronicle] .chapter-explorer>summary{grid-template-columns:48px minmax(0,1fr);gap:13px 16px;padding:18px 15px;min-height:126px}
 .explorer-emblem{grid-column:1;grid-row:1/3;width:48px;height:58px;align-self:start}
 .explorer-emblem img{max-width:42px;max-height:48px}
 .explorer-invitation{grid-column:2;gap:5px}
 .explorer-invitation strong{font-size:18px}
 .explorer-action{grid-column:2;justify-self:start;max-width:100%;min-height:42px;font-size:12px;padding:9px 16px;gap:12px}
}
body[data-layout=chronicle] main .poster-chapter:is(#horse,#hairstyles,#premium,#election,#verified-guild,#issue-report,#events,#achievements,#patchnotes)[data-editorial=disclosure]:not([data-composition=split])>.poster-copy{grid-column:1!important;grid-row:2!important}
body[data-layout=chronicle] main .poster-chapter:is(#horse,#hairstyles,#premium,#election,#verified-guild,#issue-report,#events,#achievements,#patchnotes)[data-editorial=disclosure]:not([data-composition=split])>.chapter-explorer{grid-row:3!important}
/* Narrow-screen market: native artwork in two complete views, without lateral hunting. */
@media(max-width:760px){
 body[data-layout=chronicle] #item-shop{padding-inline:12px!important}
 #item-shop .item-shop-demo{max-width:100%;width:100%}
 #item-shop .item-shop-viewport{overflow:hidden}
 #item-shop .item-shop-preview{width:318px;max-width:none;zoom:var(--market-mobile-scale,1)}
 #item-shop .item-shop-banner{left:10px;right:auto;width:298px}
 #item-shop .item-shop-banner-title,#item-shop .item-shop-wallet{display:none}
 #item-shop .item-shop-banner>img{left:10px;right:auto}
 #item-shop .item-shop-count{left:12px;right:auto;top:84px}
 #item-shop .item-shop-products{left:12px;right:auto;top:104px;grid-template-columns:294px;gap:4px}
 #item-shop .item-shop-pages{left:10px;right:10px;bottom:6px;width:auto}
 #item-shop .item-shop-sidebar{left:54px;right:auto}
 #item-shop [data-mobile-view=products] .item-shop-sidebar{display:none}
 #item-shop [data-mobile-view=categories] :is(.item-shop-products,.item-shop-count,.item-shop-pages){display:none}
 #item-shop .item-shop-jump{display:grid;grid-template-columns:1fr 1fr auto;gap:7px;margin-bottom:10px;align-items:center}
 #item-shop .item-shop-jump button{width:100%;min-width:0;min-height:42px;font-size:13px}
 #item-shop .item-shop-jump button[aria-pressed=true]{outline:1px solid #d9b66b;outline-offset:-2px;color:#ffe0a0;filter:brightness(1.18)}
 #item-shop .item-shop-scroll{display:none}
 :root[dir=rtl] #item-shop .item-shop-sidebar{left:54px;right:auto}
 :root[dir=rtl] #item-shop .item-shop-products{left:12px;right:auto}
 :root[dir=rtl] #item-shop .item-shop-count{left:auto;right:12px}
}
/* Clean paired captures use the same visual weight, with an explicit full-size view. */
body[data-layout=chronicle] .platform-example-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
.platform-example-enlarge{display:block;width:100%;padding:0;border:0;background:#0e100d;color:#d9c28d;text-align:start;cursor:zoom-in;font:13px/1.5 Tahoma,Arial,sans-serif}
.platform-example-enlarge img{width:100%;height:auto;aspect-ratio:16/10;object-fit:contain;border:1px solid #87714866;box-sizing:border-box}
.platform-example-enlarge>span{display:block;padding:12px 0;background:#14140f}
.platform-example-enlarge:hover img{border-color:#dbb675}
.platform-example-enlarge:focus-visible{outline:2px solid #dbb675;outline-offset:5px}
body[data-layout=chronicle] .cover-logo{width:128px;margin-bottom:18px}
/* Chapters keep distinct rhythms while the game windows retain their native skin. */
body[data-layout=chronicle] #events{background:linear-gradient(145deg,#26302644,transparent 65%)!important}
body[data-layout=chronicle] #patchnotes{background:#151713!important}
body[data-layout=chronicle] :is(#events,#patchnotes) .chapter-explorer>summary{min-height:68px;grid-template-columns:minmax(0,1fr) auto;padding:12px 18px;border-inline-start-width:1px;background:#24261c66;box-shadow:none}
body[data-layout=chronicle] :is(#events,#patchnotes) .explorer-emblem{display:none}
body[data-layout=chronicle] :is(#events,#patchnotes) .explorer-invitation strong{font-size:18px}
body[data-layout=chronicle] :is(#events,#patchnotes) .explorer-invitation small{display:none}
@media(min-width:1100px){
 body[data-layout=chronicle] main #horse.poster-chapter[data-editorial=disclosure]{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)!important;column-gap:48px!important;padding-block:64px!important;align-items:start}
 body[data-layout=chronicle] main #horse.poster-chapter[data-editorial=disclosure]>.chapter-intro{grid-column:1!important;grid-row:1!important}
 body[data-layout=chronicle] main #horse.poster-chapter[data-editorial=disclosure]>.chapter-explorer{grid-column:2!important;grid-row:1!important}
 body[data-layout=chronicle] #horse .chapter-explorer>summary{grid-template-columns:48px minmax(0,1fr);gap:14px}
 body[data-layout=chronicle] #horse .explorer-emblem{width:48px;height:48px;grid-row:1/3}
 body[data-layout=chronicle] #horse .explorer-action{grid-column:2;justify-self:start}
}
@media(max-width:760px){
 body[data-layout=chronicle] .cover-logo{width:106px;margin-bottom:12px}
 body[data-layout=chronicle] .platform-example-grid{grid-template-columns:minmax(0,1fr);gap:28px}
 body[data-layout=chronicle] :is(#events,#patchnotes) .explorer-invitation{grid-column:1}
 body[data-layout=chronicle] :is(#events,#patchnotes) .explorer-action{grid-column:2}
}
@media(max-width:760px){
 body[data-layout=chronicle] main #item-shop .item-shop-demo{margin-inline:0!important;width:100%;max-width:100%}
 body[data-layout=chronicle] main #item-shop .item-shop-preview{margin-inline:auto}
}
/* Mobile notes keep the native frame and controls, with dates above readable text. */
@media(max-width:760px){
 #patchnotes .patchnotes-native-viewport{overflow-x:hidden}
 #patchnotes .patchnotes-board{width:100%;min-width:0;height:568px}
 #patchnotes .patchnotes-window-title{left:8px;width:calc(100% - 16px)}
 #patchnotes .patchnotes-pane:first-child{left:12px;top:42px;width:calc(100% - 24px);height:66px}
 #patchnotes .patchnotes-timeline{display:flex;gap:3px;left:6px;top:5px;width:calc(100% - 12px);height:54px;scroll-snap-type:x mandatory;overflow-y:hidden;scrollbar-width:thin}
 #patchnotes .patchnotes-date{flex:1 0 68px;width:auto;min-width:0;height:50px;margin:0}
 #patchnotes .patchnotes-date[aria-pressed=true]::before{width:calc(100% - 2px)}
 #patchnotes .patchnotes-date span{left:5px;max-width:calc(100% - 10px);overflow:hidden;text-overflow:ellipsis}
 #patchnotes .patchnotes-pane:first-child .game-scroll-rail{display:none}
 #patchnotes .patchnotes-release-heading{left:24px;top:120px;width:calc(100% - 48px)}
 #patchnotes .patchnotes-search{left:20px;top:165px;width:calc(100% - 40px);grid-template-columns:minmax(0,1fr) 88px;column-gap:8px}
 #patchnotes .patchnotes-pane:last-child{left:12px;top:222px;width:calc(100% - 36px);height:324px}
 #patchnotes .patchnotes-content{left:12px;top:11px;width:calc(100% - 23px);height:302px;overflow-x:hidden}
 #patchnotes .patchnotes-pane:last-child .game-scroll-rail{left:auto;right:-15px;height:316px}
 #patchnotes .patchnotes-entries li{padding-inline-start:10px;line-height:21px;overflow-wrap:anywhere}
 #patchnotes .patchnotes-native-line{display:inline;height:auto;white-space:normal;overflow:visible}
 #patchnotes .patchnotes-native-line:after{content:' '}
 #patchnotes .patchnotes-empty{white-space:normal;padding-inline-start:0}
 #patchnotes .patchnotes-board[data-native-rtl=true] .patchnotes-content{text-align:right}
 /* Keep the original day tiles at full touch size, arranged in four columns. */
 #events .event-calendar-canvas-viewport{overflow-x:hidden}
 #events .event-calendar-window{width:100%;height:552px;aspect-ratio:auto}
 #events .event-calendar-window>.event-calendar-title{left:8px;right:8px;max-width:calc(100% - 16px);overflow:hidden;white-space:nowrap}
 #events .event-calendar-title>span{display:block;margin-inline:18px;overflow:hidden;text-overflow:ellipsis}
 #events .event-calendar-window>.event-calendar-board{left:8px;top:32px;width:calc(100% - 16px);height:508px;padding:8px 0;grid-template-columns:repeat(4,57px);grid-auto-rows:57px;gap:5px 6px;justify-content:center}
 #events .event-calendar-title button{width:17px!important;height:17px!important;top:3px}
 #events .event-calendar-title button img{width:15px}
 #events .event-calendar-controls button{min-width:44px;min-height:40px}
}
/* Guild introduction and preview share the full chapter width. */
body[data-layout=chronicle] main #verified-guild.poster-chapter[data-editorial=disclosure]{grid-template-columns:minmax(0,1fr)!important;row-gap:20px!important}
body[data-layout=chronicle] main #verified-guild.poster-chapter[data-editorial=disclosure]>.chapter-banner{grid-column:1!important;grid-row:1!important}
body[data-layout=chronicle] main #verified-guild.poster-chapter[data-editorial=disclosure]>.poster-copy{grid-column:1!important;grid-row:2!important;max-width:760px}
body[data-layout=chronicle] main #verified-guild.poster-chapter[data-editorial=disclosure]>.chapter-explorer{grid-column:1!important;grid-row:3!important}
.tournament-participation{margin-top:32px;padding:24px 28px;border-inline-start:2px solid #aa8850;background:#1c1a13;text-align:start;color:#d4c7ae}
.tournament-participation h3{margin:0 0 18px;color:#ecd09a;font:400 24px/1.35 Georgia,serif}
.tournament-participation ol{margin:0;padding-inline-start:24px;display:grid;gap:14px;font:15px/1.8 Tahoma,Arial,sans-serif}
.tournament-participation li{padding-inline-start:6px;overflow-wrap:anywhere}
.tournament-participation li::marker{color:#d3ad65;font-weight:bold}
@media(max-width:760px){.tournament-participation{padding:20px 16px;margin-top:24px}.tournament-participation h3{font-size:23px}.tournament-participation ol{font-size:14px;gap:16px;padding-inline-start:22px}}
.item-shop-intro-details{margin:8px 0 0;color:#b9ad94;font:13px/1.7 Tahoma,Arial,sans-serif;max-width:760px}
/* Reserve a separate column for each guild fact marker, including RTL locales. */
body[data-layout=chronicle] #verified-guild .verified-guild-facts .poster-bullets>li{display:grid;grid-template-columns:8px minmax(0,1fr);column-gap:12px;align-items:start;padding-inline-start:0}
body[data-layout=chronicle] #verified-guild .verified-guild-facts .poster-bullets>li::before{position:static;inset:auto;line-height:2.45}
.item-shop-intro-details>summary{cursor:pointer;color:#cfb77e;padding:6px 0;list-style-position:inside}
.item-shop-intro-details>p{margin:8px 0 0;font:inherit;line-height:1.8}
.item-shop-intro-details>summary:focus-visible{outline:1px solid #cfb77e;outline-offset:3px}
@media(max-width:760px){
 body[data-layout=chronicle] #item-shop .chapter-intro{gap:14px}
 #item-shop .item-shop-demo>.item-shop-search-form{position:relative;inset:auto;display:flex;gap:8px;align-items:center;margin:0 0 10px;width:100%;height:auto;font:var(--market-font);pointer-events:auto}
 #item-shop .item-shop-demo>.item-shop-search-form[hidden]{display:none!important}
 #item-shop .item-shop-demo>.item-shop-search-form .item-shop-search{position:static;inset:auto;flex:1;min-width:0;width:auto;height:40px;padding:6px 8px;box-sizing:border-box;font:inherit}
 #item-shop .item-shop-demo>.item-shop-search-form button{position:static;inset:auto;flex:0 0 88px;width:88px;height:40px;font:inherit}
 #item-shop .item-shop-categories{top:10px;height:calc(100% - 26px)}
}

#streams .streamer-important-note{margin:18px 0 26px;padding:18px 22px;border-inline-start:3px solid #b58b48;background:#c2944110;color:#e4d3b0;font-size:16px;line-height:1.75;text-align:start}
#streams .streamer-important-note strong{display:block;margin-bottom:7px;color:#f1cf8f;font-size:18px}
#streams .streamer-important-note p{margin:0;max-width:80ch}
@media(max-width:600px){#streams .streamer-important-note{padding:14px 16px;font-size:15px}}

#streams .partner-streamer-portrait{position:relative;width:70px;height:70px;margin:0 auto;overflow:visible}
#streams .partner-streamer-portrait .partner-streamer-avatar{display:block;width:100%;height:100%;max-width:100%;margin:0;object-fit:cover}
#streams .partner-country-flag{position:absolute;right:-4px;bottom:0;width:24px;height:16px;max-width:none;object-fit:cover;border:1px solid #c4a568;border-radius:2px;box-shadow:0 2px 5px #000b;z-index:1}
@media(max-width:760px){#streams .partner-streamer-portrait{width:52px;height:52px}#streams .partner-country-flag{width:20px;height:14px;right:-3px}}

#streams .streamer-country-filters{display:flex;gap:8px;overflow-x:auto;max-width:100%;padding:4px 1px 12px;margin:0 0 18px;scrollbar-width:thin}
#streams .streamer-country-filter{flex:0 0 auto;min-height:42px;padding:9px 17px;border:1px solid #75603d;background:#181811;color:#d9c69b;font:inherit;cursor:pointer;white-space:nowrap}
#streams .streamer-country-filter:hover{border-color:#c7a258;color:#fff0cd}
#streams .streamer-country-filter[aria-pressed=true]{border-color:#c7a258;background:#46351c;color:#ffe1a3;box-shadow:inset 0 -2px #c7a258}
#streams .streamer-country-filter:focus-visible{outline:2px solid #edd19a;outline-offset:2px}
#streams .partner-streamer[hidden]{display:none!important}
@media(max-width:760px){#streams .streamer-country-filter{padding:9px 13px;font-size:14px}}

/* Presentation controls outside the game windows. */
#character-package .package-demo-entry{display:flex;align-items:center;flex-wrap:wrap;gap:10px 16px;margin-top:16px}
#character-package .package-demo-entry [hidden]{display:none!important}
#character-package .package-demo-entry button{min-height:44px;padding:8px 14px;text-align:start}
#character-package .package-wiki-link{color:#ccb689;font-size:.88rem;padding-block:8px}
#character-package .package-wiki-link:hover{text-decoration:underline}
#character-package>.poster-details:has(.package-demo-frame[hidden]){display:none}
#tournaments>.tournament-lead{display:grid;grid-column:1/-1;grid-template-columns:minmax(0,1fr) minmax(0,1.42fr);align-items:center;gap:24px}
#tournaments .tournament-heading .chapter-banner{margin:0;padding:0}
#tournaments .tournament-art{margin:0}
#tournaments>.poster-details{grid-row:auto}
#tournaments .tournament-participation-link{display:inline-block;margin-top:12px;color:#e9c882;text-decoration:underline;text-underline-offset:4px}
#streams .streamer-important-note{margin:10px 0 8px;padding:12px 16px;line-height:1.55}
#streams .streamer-country-filters{flex-wrap:wrap;overflow:visible;padding:0;margin:0 0 12px}
#streams .streamer-country-filter{white-space:normal}
.stone-detector-merge-controls{display:grid;gap:4px}
.contents-close{display:none}
@media(max-width:760px){
 body[data-layout=chronicle] .poster-contents>nav{background:linear-gradient(#161611f2,#161611f2),url(assets/presentation/system-demos/board_base.webp);padding-block-start:10px}
 .poster-contents[open] .contents-close{display:inline-flex;margin-inline-start:auto;color:#f3d69b;border:1px solid #75603d;padding:3px 8px}
 body[data-layout=chronicle] .poster-contents .presentation-nav-links>a[aria-current=location]{background:#41321f;border-inline-start:2px solid #e9bb72;color:#fff0c6}
 #tournaments>.tournament-lead{grid-template-columns:1fr;gap:14px}
 #streams .streamer-important-note{padding:10px 12px}
 #streams .streamer-country-filters{gap:6px}
 #streams .streamer-country-filter{padding:7px 10px;min-height:40px}
 #bonus-details .bonus-character-pair>.bonus-details-board{order:-1}
 #stone-detector .stone-detector-keyboard{display:none}
 #stone-detector .stone-detector-merge-controls{order:-1}
 #stone-detector .stone-detector-demo .stone-detector-atlas-column .auto-sell-action{min-height:44px}
}
#character-package .package-demo-entry button{margin:0;background-color:#45321b;border-color:#ac8650;color:#ffdfaa}
#character-package .package-demo-entry button:hover{background-color:#604525}
#tournaments .tournament-lead .tournament-art{grid-column:auto;grid-row:auto;width:100%;min-width:0}
#tournaments .tournament-heading .chapter-banner{border:0;font-family:Georgia,serif}
#tournaments .tournament-heading .tournament-total{font-size:clamp(21px,2.3vw,34px)}
@media(min-width:1001px){body[data-layout=chronicle] #tournaments .tournament-rewards{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Shared site chrome. Native game windows retain their own fonts and textures. */
body>header:not(.site-header),body>.site-header{background:#151310f5;border-bottom:1px solid #80704b88;box-shadow:none;backdrop-filter:blur(12px);z-index:80}
/* A viewport-fixed presentation header keeps focus/scroll-into-view operations
   on its controls from moving the chapter currently being read. */
body[data-layout=chronicle]{padding-block-start:70px}
body[data-layout=chronicle]>header{position:fixed;inset-block-start:0;inset-inline:0;width:100%}
body>header:not(.site-header){height:70px;min-height:70px;padding:8px max(24px,calc((100vw - 1230px)/2));gap:24px}
body>header .brand{width:132px;min-width:0;flex:0 0 132px}
body>header .brand img{width:132px;height:48px;object-fit:contain}
body>header nav a,body>header .site-primary-nav a,body>header .language,body>header #language-toggle{font:14px/1.4 Tahoma,Arial,sans-serif;letter-spacing:0;text-transform:none;color:#dbc9a5}
body>header nav{gap:22px}
body>header .nav-register{padding:9px 15px;border:1px solid #a98b53;border-radius:0;background:#52301f;color:#f1d49a!important}
body>header .language summary,body>header #language-toggle{border:1px solid #76623f;border-radius:0;padding:9px;min-height:38px;background:transparent;color:#dbc9a5}
body>header .language img{width:21px;height:15px;object-fit:contain}
body>.site-header .topbar{height:70px;min-height:70px;width:min(100%,1278px);padding:8px 24px;flex-wrap:nowrap;gap:24px}
.site-header .site-brand img{width:132px;height:48px}
.site-primary-nav{display:flex;align-items:center;gap:22px;margin-inline-start:auto}
#wiki-site-menu{display:none}
body>.site-header .nav-account{margin-inline-start:0;flex-wrap:nowrap}
body>header .language-options,body>header #language-list{background:#1c1914;border:1px solid #80704b;box-shadow:0 10px 24px #0008}
.presentation-site-links{display:flex;flex-wrap:wrap;gap:8px;border-bottom:1px solid #80704b88;padding:0 0 14px;margin-bottom:14px}
.presentation-site-links a{padding:10px 13px!important;border:1px solid #80704b88!important;flex:1;text-align:center;font:14px Tahoma,Arial,sans-serif!important}
.discord-claim{display:inline-flex;align-items:center;min-height:40px;margin-top:12px;padding:8px 14px;border:1px solid #a98b53;color:#f2d594;font:14px/1.5 Tahoma,Arial,sans-serif;text-decoration:none}
.discord-claim:hover{background:#654328;color:#fff1cf}
.discord-claim:focus-visible{outline:2px solid #e3c17d;outline-offset:3px}
#search-toggle{display:none}
.site-legal{background:#151310;color:#ece5d5;font:16px/1.75 Tahoma,Arial,sans-serif}
.site-legal main{max-width:900px;width:100%;margin-inline:auto;padding:32px 24px 60px}
.site-legal main h1{font:normal clamp(30px,4vw,42px)/1.2 Georgia,serif;color:#ebce96;margin-top:12px}
.site-legal main h2{font:normal 25px/1.35 Georgia,serif;color:#ebce96;margin-top:34px}
.site-legal .legal-section-nav{display:flex;flex-wrap:wrap;gap:10px 22px;padding:0 0 24px;margin-bottom:28px;border-bottom:1px solid #5e5139}
.site-legal .legal-section-nav a{font-size:14px;color:#dbc9a5;text-decoration:none}
.site-legal .legal-section-nav a[aria-current=page]{color:#ffe1a3;text-decoration:underline;text-underline-offset:6px}
.site-legal footer{display:block;max-width:852px;margin:0 auto 30px;padding:24px 0;border-top:1px solid #5e5139;font:12px/1.8 Tahoma,Arial,sans-serif;color:#c9bfa8;overflow-wrap:anywhere}
.site-legal .card{border-radius:0;background:#211e17;border:1px solid #5e5139;padding:22px;margin-block:24px}
.site-legal p,.site-legal li{overflow-wrap:anywhere}
.site-legal a[href^="tel:"],.site-legal a[href^="mailto:"]{display:inline-block;direction:ltr;unicode-bidi:isolate}
@media(max-width:900px){
 body[data-layout=chronicle]{padding-block-start:64px}
 body>header:not(.site-header){padding-inline:16px;gap:16px}
 body>header nav{gap:14px}
 .site-primary-nav{gap:14px}
 body>.site-header .topbar{padding-inline:16px;gap:16px}
}
@media(max-width:900px){
 body>header:not(.site-header){height:64px;min-height:64px;gap:12px;padding:6px 16px;justify-content:flex-start}
 body>header .brand{width:112px;flex-basis:112px}
 body>header .brand img{width:112px;height:44px}
 body>header .menu-toggle{display:inline-flex!important;align-items:center;justify-content:center;min-height:40px;max-width:110px;margin-inline-start:auto;padding:7px 10px;border:1px solid #76623f;background:#211b13;color:#dfc992;font:13px/1.3 Tahoma,Arial,sans-serif}
 body>header:not(.site-header)>nav,body>.site-header .site-primary-nav{display:none!important;position:absolute;top:100%;inset-inline:0;margin:0;padding:12px 16px;background:#191610;border-bottom:1px solid #80704b;max-height:70svh;overflow:auto}
 body>header.menu-open:not(.site-header)>nav,body>.site-header.menu-open .site-primary-nav{display:flex!important;flex-direction:column;align-items:stretch;gap:2px}
 body>header.menu-open nav a,body>.site-header.menu-open .site-primary-nav a{display:block!important;min-height:44px;padding:12px;font-size:14px}
 body>header .language{margin:0;font-size:13px}
 body>header .language summary{padding:8px;min-width:44px;min-height:40px}
 body>header .language summary>span:not(:last-child){display:none}
 body>.site-header .topbar{height:64px;min-height:64px;padding:6px 16px;gap:12px}
 .site-header .site-brand img{width:112px;height:44px}
 #language-toggle{min-height:40px}
 .site-legal #legal-language{margin:0}
 .site-legal #legal-language select{width:92px;min-height:40px;max-width:28vw;color:#dbc9a5;background:#211b13;border:1px solid #76623f;font:12px Tahoma,Arial,sans-serif}
 body[data-layout=chronicle] .poster-contents{top:64px!important}
}
@media(max-width:760px){
 .wiki-detail .wiki-rail{padding:8px 10px}
 .wiki-detail .rail-heading{padding:0;gap:8px;min-height:40px;flex-wrap:wrap}
 .wiki-detail #wiki-home{font-size:13px;white-space:nowrap;margin-inline-end:auto}
 .wiki-detail #search-toggle{display:inline-flex;min-height:36px;padding:6px 9px;font-size:13px;white-space:nowrap}
 .wiki-detail .wiki-rail:not(:has(#search-toggle[aria-expanded=true])) .wiki-search{display:none}
 .wiki-detail #menu-toggle{min-height:36px;padding:6px 9px;font-size:13px}
 .wiki-detail .wiki-search{margin-top:10px}
 .wiki-detail .layout{gap:10px;padding-top:12px}
 .site-legal main{padding:24px 18px 40px}
 .site-legal footer{margin-inline:18px}
 .portal-beta-reward .discord-claim{font-size:13px;padding:8px 10px}
}

