/* Page composition. style.css retains the original interactive game windows. */
:root {
  --display: 'Cinzel', Georgia, serif;
  --ember: #c8642a;
  --nav-height: 70px;
}
html { scroll-padding-top: calc(var(--nav-height) + 20px); }
body.presentation-page {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  background: linear-gradient(#0e0c0ac9, #0e0c0ae8), var(--page-texture, none) center top / 640px;
  line-height: 1.65;
  overflow-x: clip;
}
[hidden] { display: none !important; }
.presentation-page main { overflow: clip; }
.presentation-page h1, .presentation-page h2, .presentation-page h3 { font-family: var(--display); }
.presentation-page :is(a, button, summary, input, select):focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.presentation-page .skip-link { z-index: 120; }
.presentation-nav {
  position: sticky; top: 0; z-index: 100; height: var(--nav-height);
  display: flex; align-items: center; justify-content: center; gap: clamp(18px, 3vw, 48px);
  padding: 0 28px; border-bottom: 1px solid #b496514a;
  background: linear-gradient(90deg, #100e0df7, #241a12f5, #100e0df7);
  box-shadow: 0 6px 30px #0005; backdrop-filter: blur(14px);
}
.nav-logo { width: 120px; flex-shrink: 0; }
.presentation-nav nav { display: flex; gap: 30px; margin-right: auto; margin-left: auto; }
.presentation-nav nav a { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #c8bca5; padding-block: 21px; }
.presentation-nav nav a:hover, .presentation-nav nav a[aria-current] { color: var(--gold); }
.presentation-nav .language-switch { position: relative; margin: 0; }
.presentation-nav .language-switch summary { border: 1px solid #a98a484d; background: #0e0c0a66; font-size: 11px; padding: 8px 12px; min-width: 135px; }
.presentation-nav .language-options { top: calc(100% + 12px); right: 0; background: #181410; }
.nav-discord { padding: 8px 16px; border: 1px solid #a98a4880; color: var(--gold); font-size: 11px; white-space: nowrap; }
.nav-discord:hover { background: #6b4b252e; }
.presentation-hero { position: relative; min-height: calc(100svh - var(--nav-height)); height: max(800px, calc(100svh - var(--nav-height))); isolation: isolate; background: #231c16; }
.hero-scenery { position: absolute; inset: 0; overflow: hidden; z-index: -2; background: radial-gradient(ellipse at 50% 10%, #66502a, #181410 80%); }
.hero-keyart { width: 100%; height: 100%; object-fit: cover; object-position: center 58%; }
.presentation-hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: -1; background: linear-gradient(#110b0650, transparent 35%, #0e0c0a22 65%, #0e0c0a 100%); }
.hero-scenery::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 8%, transparent 15%, #100c0825 75%); }
.hero-scenery .temple-leaves { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; }
.hero-scenery .temple-sunlight { opacity: .4; }
.presentation-hero-content { position: relative; text-align: center; width: min(900px, 94%); margin: auto; padding-top: clamp(24px, 4vh, 52px); color: #ffefc5; text-shadow: 0 2px 15px #211306; }
.eyebrow { font-size: 10px; font-weight: 500; letter-spacing: .3em; color: var(--gold); text-transform: uppercase; }
.presentation-logo { width: clamp(240px, 29vw, 430px); margin: -6px auto -12px; filter: drop-shadow(0 5px 20px #0009); }
.presentation-hero h1 { font-size: clamp(22px, 2.6vw, 38px); font-weight: 500; line-height: 1.25; margin: 10px 0 15px; color: #fff0cd; }
.presentation-hero .hero-platforms { margin: 14px 0 20px; color: #ffefc5; }
.presentation-button { display: inline-flex; align-items: center; justify-content: center; gap: 30px; padding: 13px 29px; border: 1px solid #e5bc6d; color: #f8e6b5; background: linear-gradient(110deg, #68421df0, #362211ed); font-size: 12px; font-weight: 500; box-shadow: inset 0 0 0 3px #1b130c88, 0 4px 22px #0004; transition: background .2s, box-shadow .2s; }
.presentation-button:hover { background: linear-gradient(110deg, #8b5b26, #503216); box-shadow: inset 0 0 0 3px #1b130c88, 0 4px 25px #b57f2525; }
.presentation-button.subtle { background: #211a12; padding: 12px 18px; gap: 16px; border-color: #8a7046; }
.development-note { font-size: 10px; color: #c4b69e; margin: 15px auto 0; max-width: 380px; }
.presentation-hero .development-note { color: #f0dcb9; text-shadow: 0 1px 4px #000; }
.hero-scroll { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: grid; gap: 6px; justify-items: center; font-size: 10px; letter-spacing: .14em; white-space: nowrap; color: var(--gold); }
.hero-scroll > span:last-child { font-size: 24px; }
.presentation-column { position: relative; width: min(1160px, calc(100% - 128px)); margin: 0 auto; background: linear-gradient(#181410e8, #181410e8), var(--chapter-background, none) top center / 100% auto; border-inline: 1px solid #8e6b373f; box-shadow: 0 0 0 5px #19140e, 0 0 0 6px #8063383b, 0 0 80px #0009; }
.presentation-column::before, .presentation-column::after { content: ''; position: absolute; top: 0; bottom: 0; width: 9px; pointer-events: none; background: repeating-linear-gradient(180deg, transparent 0 110px, #a5854333 110px 111px, transparent 111px 118px); }
.presentation-column::before { left: 5px; border-left: 1px solid #9b79492b; }
.presentation-column::after { right: 5px; border-right: 1px solid #9b79492b; }
.chapter { position: relative; padding: 82px 48px 65px; border-top: 1px solid #9d78402b; background: radial-gradient(ellipse at 50% 0, #9a61220e, transparent 65%); }
.chapter-heading { position: relative; max-width: 780px; text-align: center; margin: 0 auto 35px; z-index: 3; }
.chapter-number { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); font: 100px/1 var(--display); color: #c4a5680b; pointer-events: none; }
.chapter-heading .title-emblem { width: 49px; height: 49px; object-fit: contain; margin: 0 auto 20px; filter: drop-shadow(0 0 14px #b0732822); }
.chapter-heading h2 { font-size: clamp(25px, 2.6vw, 37px); line-height: 1.3; font-weight: 500; color: var(--gold); margin: 0; text-wrap: balance; }
.chapter-heading p { max-width: 620px; margin: 10px auto 0; color: #bdb19e; font-size: 12px; line-height: 1.9; text-wrap: pretty; }
.chapter-divider { position: relative; height: 42px; width: min(320px, 80%); margin: 4px auto 0; overflow: hidden; }
.chapter-divider img { width: 100%; height: 100%; object-fit: cover; }
.chapter-divider span { position: absolute; inset: 0; display: grid; place-items: center; color: #caa765; font-size: 14px; z-index: -1; }
.diamond-list { list-style: none; padding: 0; margin: 0 0 28px; font-size: 14px; }
.diamond-list li { padding: 9px 0; border-bottom: 1px solid #a98c4f22; }
.diamond-list li::before { content: '◇'; color: var(--gold); padding-right: 13px; }
.chapter-composition { position: relative; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: 25px; min-height: 550px; }
.chapter-render { width: calc(100% + 140px); margin-left: -145px; position: relative; pointer-events: none; z-index: 2; }
.chapter-render img { width: 100%; max-height: 720px; object-fit: contain; filter: drop-shadow(0 20px 20px #0005); }
.chapter-content { min-width: 0; position: relative; z-index: 3; }
.render-right .chapter-composition { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.render-right .chapter-render { grid-column: 2; grid-row: 1; margin: 0 -145px 0 5px; }
.render-right .chapter-content { grid-column: 1; grid-row: 1; }
.preview-label { font-size: 9px; color: #c0a575; letter-spacing: .06em; text-align: center; margin: 0 0 15px; }
.presentation-page .system-art { padding: 0; min-height: 0; background: none; border: 0; }
.presentation-page .web-game-ui { margin: 0 auto; max-width: 100%; }
.system-notes { padding: 16px 0 0; margin: 20px 0 0; border-top: 1px solid #8f724340; }
.system-notes > summary { display: flex; justify-content: space-between; cursor: pointer; font-size: 11px; color: var(--gold); list-style: none; }
.system-notes .system-copy { padding: 12px 0 0; }
.system-notes .system-copy p, .system-notes .mechanic-list { font-size: 11px; }
.system-notes .system-copy details { margin-top: 12px; }
.system-notes .system-copy details summary { font-size: 11px; }
.chapter-panorama { height: 290px; margin: 0 -48px -80px; opacity: .8; mask-image: linear-gradient(transparent, #000 20%, #000 55%, transparent); }
.chapter-panorama img { width: 100%; height: 100%; object-fit: cover; }
/* Wider systems keep usable controls; the art overlaps beside the heading. */
.chapter-wide .chapter-composition { display: block; min-height: 0; padding-top: 65px; }
.chapter-wide .chapter-render { position: absolute; width: 270px; top: -240px; left: -125px; margin: 0; opacity: .9; }
.chapter-wide.render-right .chapter-render { left: auto; right: -125px; }
.chapter-wide .chapter-render img { height: 310px; }
#builds.chapter-wide .chapter-render { width: 320px; right: -90px; top: -180px; margin: 0; }
#builds.chapter-wide .chapter-render img { height: 220px; }
#titles.chapter-wide .chapter-render { width: 230px; top: -220px; left: -135px; opacity: .65; }
#titles.chapter-wide .chapter-render img { height: 240px; }
.presentation-page #atlas { padding-top: 82px; }
.presentation-page #atlas .chapter-render { width: 310px; top: -250px; }
.passive-stage { max-width: 690px; margin: 45px auto 0; scroll-margin-top: 100px; }
.presentation-page .build-heading, .presentation-page .title-introduction { display: none; }
.presentation-page .native-section { grid-template-columns: minmax(0, 1fr); padding: 0; gap: 20px; }
.presentation-page .native-intro { display: block; text-align: center; }
.presentation-page .native-intro > h2, .presentation-page .native-intro > p { display: none; }
.presentation-page .native-preview-note { font-size: 9px; margin: 10px 0 0; width: 100%; text-align: center; }
.presentation-page .native-levels { justify-content: center; margin-top: 12px; }
.presentation-page .native-window { width: 440px; }
.presentation-page .native-window.native-army { width: min(100%, 780px); }
.presentation-page #expeditions .native-section { grid-template-columns: minmax(0, 1fr); gap: 15px; }
.presentation-page #expeditions .native-wide { width: min(100%, 780px); }
.presentation-page #expeditions .chapter-composition { padding-top: 0; }
.presentation-page #expeditions .chapter-render { position: relative; top: auto; right: auto; left: auto; width: min(750px, 100%); margin: -20px auto 20px; }
.presentation-page #expeditions .chapter-render img { height: 340px; }
.presentation-page .build-stage { margin-top: 18px; }
.presentation-page .build-specs { position: relative; }
.presentation-page .title-workshop { max-width: 960px; margin: auto; }
.presentation-page .prophecy-game-columns { grid-template-columns: minmax(0, 1fr); }
.presentation-page .prophecy-detail-copy { min-height: 200px; }
.presentation-page .system-art .prophecy-web-ui { max-width: 100%; }
.presentation-page .prestige-web-ui { width: 100%; }
.landscape-render .chapter-render { width: calc(100% + 180px); margin-left: -175px; }
.landscape-render.render-right .chapter-render { margin-left: -5px; margin-right: -175px; }
.dungeon-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 35px 22px; }
.dungeon-card { position: relative; margin: 0; min-width: 0; }
.dungeon-card:nth-child(7) { grid-column: 2; }
.dungeon-painting { position: relative; aspect-ratio: 2/3; isolation: isolate; background: radial-gradient(#573b2529, #14110e); }
.dungeon-painting .card-scenery { position: absolute; inset: 6% 7%; width: 86%; height: 88%; object-fit: cover; opacity: .7; }
.dungeon-painting::after { content: ''; position: absolute; inset: 6% 7%; background: linear-gradient(transparent 50%, #090806cc); z-index: 1; pointer-events: none; }
.dungeon-painting .card-boss { position: absolute; z-index: 2; bottom: 6%; left: -4%; width: 108%; height: 98%; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 8px 10px #0007); transition: transform .5s; }
.dungeon-beran .card-boss { width: 140%; left: -20%; height: 95%; }
.dungeon-painting .card-frame { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; }
.dungeon-card:hover .card-boss { transform: translateY(-7px); }
.dungeon-card figcaption { text-align: center; padding: 15px 2px 0; }
.dungeon-card h3 { font-size: 17px; font-weight: 500; color: var(--gold); margin: 4px 0; }
.dungeon-card figcaption p { font-size: 9px; margin: 0; color: var(--muted); }
.presentation-page .platform-showcase { padding: 0; border: 0; display: block; }
.presentation-page .platform-devices, .presentation-page .platform-copy > h2, .presentation-page .platform-copy > p { display: none; }
.presentation-page .platform-badges { justify-content: center; margin: 0; position: relative; }
.community-chapter { text-align: center; padding-block: 110px; isolation: isolate; }
.community-backdrop { position: absolute; inset: 0; z-index: -1; overflow: hidden; opacity: .22; mask-image: linear-gradient(transparent, #000 35%, #000 70%, transparent); }
.community-backdrop img { width: 100%; height: 100%; object-fit: cover; }
.community-chapter .chapter-heading p { color: var(--text); }
.presentation-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 25px 40px; border-top: 1px solid #8b70413b; font-size: 10px; color: var(--muted); }
.presentation-footer img { width: 100px; }
.art-image.art-missing { visibility: hidden; }
.chapter-render:has(.art-missing), .dungeon-painting:has(.art-missing) { background: radial-gradient(ellipse, #59432640, #18141000 70%); }
.reveal-ready { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal-ready.is-visible { opacity: 1; transform: none; }
.parallax { translate: 0 var(--parallax-y, 0); }
@media (min-width: 1600px) { .presentation-nav { padding-inline: calc((100% - 1440px) / 2); } }
@media (max-width: 1100px) {
  .presentation-column { width: calc(100% - 70px); }
  .chapter { padding-inline: 32px; }
   .chapter-panorama { margin-inline: -32px; }
  .presentation-nav nav { gap: 18px; }
  .chapter-wide .chapter-render { width: 200px; left: -70px; opacity: .55; }
  .chapter-wide.render-right .chapter-render { right: -70px; }
  .chapter-render { margin-left: -100px; width: calc(100% + 100px); }
  .render-right .chapter-render { margin-right: -100px; }
}
@media (max-width: 800px) {
  :root { --nav-height: 62px; }
  .presentation-nav { gap: 16px; padding-inline: 18px; }
  .nav-logo { width: 100px; margin-right: auto; }
  .presentation-nav nav { display: none; }
  .presentation-hero { height: max(740px, calc(100svh - var(--nav-height))); }
  .presentation-hero-content { padding-top: 42px; }
  .presentation-logo { width: 320px; }
  .hero-keyart { object-position: 52% center; }
  .presentation-column { width: calc(100% - 32px); }
  .chapter { padding: 65px 24px 45px; }
  .chapter-heading { margin-bottom: 30px; }
  .chapter-heading p { max-width: 520px; }
  .chapter-composition, .render-right .chapter-composition { grid-template-columns: minmax(0, 1fr); gap: 0; min-height: 0; }
  .chapter-render, .render-right .chapter-render, .landscape-render .chapter-render, .landscape-render.render-right .chapter-render { grid-column: 1; grid-row: 1; width: min(520px, 110%); margin: -20px auto -10px; }
  .chapter-render img { height: 420px; }
  .landscape-render .chapter-render img { height: 310px; }
  .render-right .chapter-content { grid-column: 1; grid-row: 2; }
  .chapter-content { width: 100%; max-width: 620px; margin: auto; }
  .chapter-wide .chapter-composition { padding: 0; }
  .chapter-wide .chapter-render, .chapter-wide.render-right .chapter-render, #builds.chapter-wide .chapter-render, #titles.chapter-wide .chapter-render, .presentation-page #atlas .chapter-render { position: relative; top: auto; left: auto; right: auto; width: min(440px, 100%); margin: -25px auto 5px; opacity: 1; }
  .chapter-wide .chapter-render img { height: 230px; }
  #titles.chapter-wide .chapter-render img { height: 160px; }
  .presentation-page #atlas .chapter-render img { height: 250px; }
  .presentation-page #expeditions .chapter-render img { height: 260px; }
  .chapter-panorama { margin: -15px -24px -110px; height: 280px; }
  .dungeon-grid { gap: 25px 14px; }
  .dungeon-card h3 { font-size: 14px; }
  .presentation-page #atlas { padding-top: 65px; }
}
@media (max-width: 560px) {
  .presentation-nav { gap: 10px; padding-inline: 12px; }
  .nav-logo { width: 86px; }
  .nav-discord { padding: 7px 10px; font-size: 10px; }
  .presentation-nav .language-switch summary { min-width: 76px; gap: 7px; padding: 7px 9px; }
  .language-current-name { display: none; }
  .presentation-hero { height: max(710px, calc(100svh - var(--nav-height))); }
  .presentation-hero-content { padding-top: 36px; }
  .presentation-logo { width: 265px; margin-block: 0; }
  .presentation-hero h1 { font-size: 23px; max-width: 340px; margin: 4px auto 17px; }
  .presentation-hero .eyebrow { font-size: 8px; letter-spacing: .2em; }
  .hero-keyart { object-position: 49% center; }
  .presentation-hero::after { background: linear-gradient(#100c0855, #100c0810 40%, transparent 70%, #0e0c0a); }
  .development-note { max-width: 280px; font-size: 9px; }
  .hero-scroll { bottom: 20px; }
  .presentation-column { width: calc(100% - 20px); }
  .chapter { padding: 50px 16px 40px; }
  .chapter-heading .title-emblem { width: 40px; height: 40px; margin-bottom: 16px; }
  .chapter-heading h2 { font-size: 25px; }
  .chapter-heading p { font-size: 11px; }
  .chapter-divider { height: 34px; }
  .diamond-list { display: flex; justify-content: center; flex-wrap: wrap; gap: 15px; margin-bottom: 20px; font-size: 12px; }
  .diamond-list li { border: 0; padding: 4px 0; }
  .diamond-list li::before { padding-right: 6px; }
  .chapter-render img { height: 360px; }
  .landscape-render .chapter-render img { height: 260px; }
  #builds.chapter-wide .chapter-render img { height: 180px; }
  .preview-label { font-size: 8px; }
  .presentation-page .build-stage { padding: 12px; }
  .presentation-page .build-specs button { flex-basis: 40%; }
  .presentation-page .build-rune-colors button { min-width: 0; }
  .presentation-page .title-window-body { padding: 8px; }
  .presentation-page .title-control-grid { gap: 8px; }
  .presentation-page .showcase-body { padding: 12px; }
  .presentation-page .native-window { min-width: 0; width: 100%; padding: 4px; }
  .presentation-page .web-game-ui { min-width: 0; width: 100%; }
  .presentation-page .atlas-game-layout { grid-template-columns: minmax(0, 1fr); }
  .presentation-page .atlas-branch-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .presentation-page .atlas-node-detail { padding: 10px; }
  .presentation-page .prophecy-header { flex-wrap: wrap; gap: 10px; }
  .presentation-page .prophecy-header > div { min-width: 0; }
  .presentation-page .rune-web-slots { gap: 3px; }
  .presentation-page .rune-slot { min-width: 0; }
  .presentation-page .rune-slot-name { overflow-wrap: anywhere; font-size: 6px; }
  .chapter-panorama { margin-inline: -16px; }
  .dungeon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px 10px; }
  .dungeon-card:nth-child(7) { grid-column: 1 / -1; width: calc(50% - 5px); justify-self: center; }
  .dungeon-card h3 { font-size: 12px; line-height: 1.4; }
  .dungeon-card figcaption p { font-size: 8px; }
  .dungeon-beran .card-boss { width: 120%; left: -10%; }
  .presentation-page .platform-badges { font-size: 10px; gap: 20px; }
  .presentation-footer { flex-wrap: wrap; justify-content: center; gap: 20px; padding: 25px 15px; font-size: 9px; }
  .presentation-footer img { width: 82px; }
  .community-chapter { padding-block: 70px; }
  .presentation-page #atlas { padding-top: 50px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .presentation-page *, .presentation-page *::before, .presentation-page *::after { animation: none !important; transition: none !important; }
  .reveal-ready { opacity: 1; transform: none; }
  .parallax { translate: none; }
  .dungeon-card:hover .card-boss { transform: none; }
}

/* Round 2: scenery, carved edges and a compact render/window composition. */
body.presentation-page { isolation: isolate; background: #0e0c0a var(--page-texture, none) center / 768px; }
.atmosphere { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.atmosphere-layer { position: absolute; inset: -35px; background: none; opacity: 0; filter: blur(9px) saturate(.85); transition: opacity 1.4s; }
.atmosphere-layer.is-active { opacity: .66; }
.atmosphere::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #09080660, #0e0c0acc 35%, #0e0c0acc 65%, #09080660), linear-gradient(#0e0c0a44, #0e0c0a70); }
.presentation-column {
  background: linear-gradient(90deg, #080706d9, #17130fb0 13%, #17130fb0 87%, #080706d9), var(--chapter-background, none) center top / 100% auto;
  border-inline: 5px ridge #a98543;
  box-shadow: inset 10px 0 24px #0009, inset -10px 0 24px #0009, 0 0 0 2px #181108, 0 0 0 3px #846130, 0 0 45px #0008;
}
.presentation-column::before, .presentation-column::after { width: 12px; z-index: 1; background: repeating-linear-gradient(180deg, #b18b4355 0 2px, transparent 2px 65px, #9e73354d 65px 67px, transparent 67px 75px), linear-gradient(90deg, #c49a4b33, transparent); }
.presentation-column::before { left: 6px; border-left: 1px solid #e4b96580; border-right: 1px solid #7c5b2c66; }
.presentation-column::after { right: 6px; border-right: 1px solid #e4b96580; border-left: 1px solid #7c5b2c66; transform: scaleX(-1); }
.chapter { --rim: #c99147; padding: 42px 40px 48px; background: radial-gradient(ellipse at 25% 55%, color-mix(in srgb, var(--rim) 11%, transparent), transparent 60%); }
.chapter-heading { margin-bottom: 18px; }
.chapter-heading .title-emblem { width: 38px; height: 38px; margin-bottom: 10px; }
.chapter-heading h2 { font-size: clamp(25px, 2.4vw, 35px); }
.chapter-heading p { margin-top: 3px; line-height: 1.7; color: #d2c4ac; }
.chapter-divider { height: 35px; width: 300px; margin-top: 0; }
.chapter-number { display: none; }
#pets { --rim: #e6ab62; }
#mounts, #expeditions { --rim: #d17c3b; }
#atlas, #prophecy { --rim: #77accc; }
#xetass { --rim: #f18a42; }
#prestige { --rim: #a08ad4; }
#blackhole { --rim: #8e83b5; }
.chapter-composition, .render-right .chapter-composition, .chapter-wide .chapter-composition {
  display: flex; align-items: flex-start; position: relative; padding-top: 0; min-height: clamp(630px, 80vh, 850px);
}
.chapter-content { width: 61%; margin: 0 0 0 auto; padding-block: 12px; }
.render-right .chapter-content { margin: 0 auto 0 0; }
.chapter-render, .render-right .chapter-render, .chapter-wide .chapter-render,
.chapter-wide.render-right .chapter-render, .landscape-render .chapter-render,
.landscape-render.render-right .chapter-render, #builds.chapter-wide .chapter-render,
#titles.chapter-wide .chapter-render, .presentation-page #atlas .chapter-render,
.presentation-page #expeditions .chapter-render {
  position: absolute; top: 0; left: -175px; right: auto; width: 610px;
  height: clamp(630px, 80vh, 850px); margin: 0; opacity: 1; transform: none;
}
.render-right .chapter-render, .chapter-wide.render-right .chapter-render,
.landscape-render.render-right .chapter-render, #builds.chapter-wide .chapter-render,
.presentation-page #expeditions .chapter-render { left: auto; right: -175px; }
.chapter-render::before { content: ''; position: absolute; bottom: 8%; left: 12%; right: 12%; height: 14%; border-radius: 50%; background: radial-gradient(ellipse, color-mix(in srgb, var(--rim) 28%, transparent), #0009 50%, transparent 72%); filter: blur(17px); }
.chapter-render img, .chapter-wide .chapter-render img, #builds.chapter-wide .chapter-render img,
#titles.chapter-wide .chapter-render img, .presentation-page #expeditions .chapter-render img {
  position: relative; width: 100%; height: 100%; max-height: none; object-fit: contain; object-position: center top;
  filter: drop-shadow(0 20px 18px #0008) drop-shadow(0 0 8px color-mix(in srgb, var(--rim) 22%, transparent));
}
.landscape-render .chapter-render { width: 700px; left: -150px; }
.landscape-render.render-right .chapter-render, #builds.chapter-wide .chapter-render,
.presentation-page #expeditions .chapter-render { width: 700px; right: -150px; left: auto; }
#titles.chapter-wide .chapter-render { width: 510px; left: -145px; }
.presentation-page #atlas { padding-top: 42px; }
.presentation-page #atlas .chapter-render { width: 600px; left: -210px; }
#builds .chapter-composition { align-items: flex-start; }
#builds.chapter-wide .chapter-render { top: 90px; width: 620px; right: -150px; }
.feature-list { padding: 0; margin: 0 auto 20px; list-style: none; color: #dfd0b3; font-size: 12px; line-height: 1.65; }
.feature-list > li, .feature-list > div { position: relative; padding: 8px 10px 8px 22px; border-bottom: 1px solid #bd99512b; }
.feature-list > li::before, .feature-list > div::before { content: '\25C6'; position: absolute; left: 1px; top: 10px; color: var(--gold); font-size: 8px; }
.feature-mechanics dt { color: var(--gold); font-size: 12px; margin-bottom: 2px; }
.feature-mechanics dd { color: #c2b39d; margin: 0; font-size: 11px; }
.preview-label { margin-bottom: 8px; color: #d2b77e; }
.system-notes { margin-top: 12px; padding-top: 10px; }
.passive-stage { margin-top: 22px; }
.presentation-page .native-section { gap: 8px; }
.presentation-page .native-window { width: 100%; }
.presentation-page .native-wide { width: 100%; }
.presentation-page .native-preview-note { margin-top: 0; }
.presentation-page .native-levels { margin-top: 0; }
.presentation-page .web-game-ui { width: 100%; margin: 0; }
.presentation-page .title-window-body { grid-template-columns: 210px minmax(0, 1fr); }
.presentation-page .title-frame-list { height: 430px; }
.presentation-page .title-workshop { width: 100%; }
.presentation-page .build-specs { grid-template-columns: repeat(3, minmax(0,1fr)); }
.presentation-page .build-stage { grid-template-columns: 140px minmax(0,1fr); padding: 16px; gap: 15px; }
.presentation-page .build-pair button { padding: 12px 8px; grid-template-columns: 36px minmax(0,1fr); gap: 4px 8px; }
.presentation-page .build-pair img { width: 36px; height: 36px; }
.presentation-page .build-pair span { font-size: 18px; overflow-wrap: anywhere; }
.presentation-page .build-pair small { font-size: 9px; }
.presentation-page .build-detail-heading { gap: 10px; }
.presentation-page .build-detail-heading h3 { font-size: 27px; }
.presentation-page .build-detail-heading em { font-size: 13px; }
.presentation-page .atlas-game-layout { grid-template-columns: minmax(0,1fr) 220px; }
.presentation-page .atlas-branch-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
/* Native layout zoom is crisp and participates in layout and pointer hit testing. */
@media (min-width: 1200px) {
  .presentation-page :is(.native-window,.web-game-ui,.title-workshop) { zoom: 1.18; width: calc(100% / 1.18); max-width: none; margin-inline: auto; }
  .presentation-page .native-window.native-wide { width: calc(100% / 1.18); }
  .presentation-page .atlas-game-layout { grid-template-columns: minmax(0,1fr) 175px; }
  .presentation-page .title-window-body { grid-template-columns: 160px minmax(0,1fr); }
  .presentation-page .native-bounty-tasks button { font-size: 10px; min-height: 35px; }
  .presentation-page .native-cells :is(span,strong), .presentation-page .native-bonus-rows > div { font-size: 11px; }
  .presentation-page .native-panel-title, .presentation-page .native-tabs button { font-size: 11px; }
}
.panorama-interlude {
  position: relative; width: 100vw; max-width: none; left: 50%; margin: 12px 0 0;
  margin-left: -50vw; height: 340px; isolation: isolate;
  mask-image: linear-gradient(transparent, #000 16%, #000 80%, transparent);
  background: #0e0c0a; overflow: hidden;
}
.panorama-interlude > img { position: absolute; width: 100%; height: 120%; top: -10%; object-fit: cover; object-position: center 55%; }
.panorama-interlude::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(transparent 25%, #08060544 50%, #0e0c0ac9), linear-gradient(90deg, #0e0c0a44, transparent, #0e0c0a44); pointer-events: none; }
.panorama-interlude .interlude-line { position: absolute; z-index: 2; top: 60%; left: 10%; right: 10%; margin: 0; text-align: center; font: 24px/1.6 var(--display); color: #ffebc2; text-shadow: 0 2px 12px #000, 0 1px 4px #000; }
.chapter-panorama.panorama-interlude { opacity: 1; height: 300px; margin-bottom: 18px; }
.dungeon-interlude { height: 300px; margin-top: 0; }
.montage-scenery { position: absolute; inset: -10% 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
.montage-scenery img { width: 100%; height: 100%; object-fit: cover; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.dungeons-chapter { background: linear-gradient(#0e0c0ac9,#0e0c0ad9), var(--chapter-background, none) center / cover; }
.dungeon-grid { grid-template-columns: repeat(8,minmax(0,1fr)); gap: 110px 16px; padding-top: 70px; }
.dungeon-card { grid-column: span 2; transition: filter .3s; outline-offset: 8px; }
.dungeon-card:nth-child(5) { grid-column: 2 / span 2; }
.dungeon-card:nth-child(7) { grid-column: 6 / span 2; }
.dungeon-painting { aspect-ratio: 2 / 2.65; }
.dungeon-painting .card-scenery { opacity: .32; transition: opacity .5s, filter .5s; filter: saturate(.65); }
.dungeon-painting .card-boss { height: 118%; bottom: 6%; max-width: none; }
.dungeon-beran .card-boss { height: 115%; }
.dungeon-card:is(:hover,:focus-visible) { filter: drop-shadow(0 0 10px #d7ad4c55); }
.dungeon-card:is(:hover,:focus-visible) .card-scenery { opacity: 1; filter: saturate(1.15); }
.dungeon-card:is(:hover,:focus-visible) .card-boss { transform: translateY(-7px); }
.dungeon-card h3 { font-size: 17px; }
.presentation-hero-content { isolation: isolate; }
.presentation-hero-content::before { content: ''; position: absolute; z-index: -1; inset: -55px -80px -55px; background: radial-gradient(ellipse, #0b0806d9 0, #0b0806aa 35%, #0b080655 58%, transparent 73%); pointer-events: none; }
.presentation-hero .hero-platforms { gap: 12px; margin: 20px 0; }
.platform-pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 17px; border: 1px solid #b69a5e; border-radius: 30px; background: #15110eeb; color: #f4e2bc; font-size: 12px; box-shadow: inset 0 1px #e8c77a1a, 0 4px 12px #0005; }
.platform-pill:hover { background: #49321be8; border-color: var(--gold); }
.platform-pill svg { width: 16px; height: 16px; }
@media (min-width: 900px) and (max-width: 1199px) {
  .chapter { padding-inline: 28px; }
  .chapter-content { width: 65%; }
  .chapter-render, .chapter-wide .chapter-render, .landscape-render .chapter-render, .presentation-page #atlas .chapter-render { left: -180px; width: 510px; }
  .render-right .chapter-render, .chapter-wide.render-right .chapter-render, .landscape-render.render-right .chapter-render, #builds.chapter-wide .chapter-render, .presentation-page #expeditions .chapter-render { right: -180px; left: auto; width: 510px; }
  .presentation-page .title-window-body { grid-template-columns: 155px minmax(0,1fr); }
  .presentation-page .atlas-game-layout { grid-template-columns: minmax(0,1fr) 180px; }
}
@media (max-width: 899px) {
  .presentation-column { width: calc(100% - 32px); }
  .chapter, .presentation-page #atlas { padding: 35px 22px 38px; }
  .chapter-heading { margin-bottom: 8px; }
  .chapter-composition, .chapter-wide .chapter-composition, .render-right .chapter-composition { display: flex; flex-direction: column; min-height: 0; }
  .chapter-render, .render-right .chapter-render, .chapter-wide .chapter-render, .chapter-wide.render-right .chapter-render,
  .landscape-render .chapter-render, .landscape-render.render-right .chapter-render, #builds.chapter-wide .chapter-render,
  #titles.chapter-wide .chapter-render, .presentation-page #atlas .chapter-render, .presentation-page #expeditions .chapter-render {
    position: relative; inset: auto; width: min(600px, 110%); height: 400px; margin: 0 auto -10px; transform: none;
  }
  .chapter-render img, .chapter-wide .chapter-render img, #builds.chapter-wide .chapter-render img,
  #titles.chapter-wide .chapter-render img, .presentation-page #expeditions .chapter-render img,
  .presentation-page #atlas .chapter-render img { height: 100%; }
  .landscape-render .chapter-render, #builds.chapter-wide .chapter-render { height: 310px; }
  #titles.chapter-wide .chapter-render, .presentation-page #atlas .chapter-render { height: 280px; }
  .chapter-content, .render-right .chapter-content { width: 100%; max-width: 680px; margin: 0 auto; padding-top: 8px; }
  .feature-list { margin-bottom: 16px; }
  .dungeon-grid { grid-template-columns: repeat(6,minmax(0,1fr)); gap: 90px 15px; }
  .dungeon-card:nth-child(5) { grid-column: span 2; }
  .dungeon-card:nth-child(7) { grid-column: 3 / span 2; }
  .panorama-interlude { height: 280px; }
  .chapter-panorama.panorama-interlude { height: 240px; }
  .presentation-page .native-window { width: min(540px,100%); }
  .presentation-page .native-window.native-wide { width: 100%; }
  .presentation-page .atlas-game-layout { grid-template-columns: minmax(0,1fr) 230px; }
}
@media (max-width: 560px) {
  .presentation-column { width: calc(100% - 16px); border-inline-width: 3px; }
  .presentation-column::before, .presentation-column::after { width: 5px; }
  .presentation-column::before { left: 3px; }
  .presentation-column::after { right: 3px; }
  .chapter, .presentation-page #atlas { padding: 30px 15px 32px; }
  .chapter-heading .title-emblem { width: 32px; height: 32px; margin-bottom: 8px; }
  .chapter-heading h2 { font-size: 24px; }
  .chapter-divider { height: 30px; width: 270px; }
  .chapter-heading p { font-size: 11px; }
  .chapter-render, .render-right .chapter-render, .chapter-wide .chapter-render, .chapter-wide.render-right .chapter-render { height: 330px; }
  .landscape-render .chapter-render, .landscape-render.render-right .chapter-render, #builds.chapter-wide .chapter-render, .presentation-page #expeditions .chapter-render { height: 265px; }
  #titles.chapter-wide .chapter-render, .presentation-page #atlas .chapter-render { height: 235px; }
  .feature-list { font-size: 11px; }
  .feature-list > li, .feature-list > div { padding-block: 7px; }
  .feature-mechanics dd { font-size: 10px; }
  .presentation-page .title-window-body { grid-template-columns: minmax(0,1fr); }
  .presentation-page .title-frame-list { height: 145px; }
  .presentation-page .build-stage { grid-template-columns: minmax(0,1fr); padding: 10px; }
  .presentation-page .build-specs { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .presentation-page .atlas-game-layout { grid-template-columns: minmax(0,1fr); }
  .dungeon-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 70px 12px; padding-top: 48px; }
  .dungeon-card:nth-child(7) { grid-column: 2 / span 2; width: 100%; }
  .dungeon-card h3 { font-size: 13px; }
  .panorama-interlude { height: 240px; }
  .panorama-interlude .interlude-line { top: 55%; font-size: 18px; }
  .dungeon-interlude .montage-scenery { width: 170%; left: -35%; }
  .chapter-panorama.panorama-interlude { height: 210px; }
  .presentation-hero .hero-platforms { gap: 7px; }
  .platform-pill { gap: 6px; padding: 9px 12px; font-size: 11px; }
  .platform-pill svg { width: 14px; height: 14px; }
  .presentation-hero-content::before { inset: -35px -25px -55px; }
}
@media (prefers-reduced-motion: reduce) {
  .atmosphere-layer{ transition: none; }
  .dungeon-card:is(:hover,:focus-visible) .card-boss { transform: none; }
}

/* Round 3: readable presentation copy; native game windows retain their typography. */
body.presentation-page { font-size: 18px; }
.chapter-heading h2 { font-size: clamp(40px, 3.2vw, 48px); line-height: 1.25; }
.chapter-heading p { font-size: 18px; line-height: 1.7; max-width: 720px; margin-top: 10px; }
.eyebrow { font-size: 12px; letter-spacing: .22em; }
.presentation-nav nav a, .presentation-nav .language-switch summary, .nav-discord { font-size: 12px; }
.presentation-nav .language-options { font-size: 14px; }
.presentation-button { font-size: 15px; }
.development-note, .presentation-footer { font-size: 13px; }
.hero-scroll, .preview-label { font-size: 12px; letter-spacing: .1em; }
.presentation-hero h1 { font-size: clamp(30px, 3vw, 44px); }
.platform-pill, .presentation-page .platform-badges { font-size: 14px; }
.feature-list { font-size: 16px; line-height: 1.65; }
.feature-list > li::before, .feature-list > div::before { font-size: 12px; }
.feature-mechanics dt { font-size: 16px; line-height: 1.5; }
.feature-mechanics dd { font-size: 15px; line-height: 1.65; }
.system-notes > summary, .system-notes .system-copy details summary { font-size: 13px; }
.system-notes .system-copy p, .system-notes .mechanic-list { font-size: 17px; line-height: 1.7; }
.system-notes :is(h3,h4) { font-size: 18px; }
.system-notes .mechanic-list dt { font-size: 16px; }
.system-notes .mechanic-list dd { font-size: 15px; }
.presentation-page .native-preview-note { font-size: 13px; line-height: 1.6; }
.chapter-heading, .feature-list, .system-notes{ overflow-wrap: anywhere; }

/* Rune stones have a dedicated heading cell, entirely above the explorer. */
#builds .chapter-heading { max-width: none; padding-right: 240px; min-height: 210px; display: flex; flex-direction: column; justify-content: center; }
#builds > .chapter-composition { min-height: 0; display: block; }
#builds > .chapter-composition > .chapter-content { width: 100%; padding-bottom: 0; }
.passive-composition { --rune-aura: #dfb84e; display: flex; align-items: flex-start; min-height: 90vh; position: relative; margin-top: 26px; }
.passive-stage { position: relative; z-index: 3; flex: 0 0 62%; max-width: none; min-width: 0; margin: 0; }
.passive-character { position: absolute; top: 0; right: -150px; width: 580px; height: 90vh; pointer-events: none; }
.passive-character::before { content: ''; position: absolute; inset: 2% 0; background: radial-gradient(ellipse, color-mix(in srgb,var(--rune-aura) 40%,transparent), transparent 67%); }
.passive-character img { position: relative; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 14px 20px #0009) drop-shadow(0 0 15px color-mix(in srgb,var(--rune-aura) 65%,transparent)); }

/* The character wears an exact mirror of the designer's live title. */
#titles.chapter-wide .chapter-render { height: 740px; width: 510px; left: -145px; }
#titles.chapter-wide .chapter-render .title-character { height: 630px; top: 110px; }
.character-title-preview { position: absolute; top: 0; left: 17%; width: 66%; height: 125px; display: flex; align-items: center; justify-content: center; z-index: 4; }
.character-title-preview .title-preview-frame { max-width: 100%; }
.dungeon-card h3 { font-size: 19px; line-height: 1.4; margin-bottom: 10px; }

/* A single phone/content band keeps the entire render and platforms together. */
.mobile-band { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 32px; align-items: center; }
.mobile-copy { min-width: 0; }
.mobile-copy .chapter-heading { text-align: left; margin-bottom: 20px; }
.mobile-copy .chapter-heading .title-emblem, .mobile-copy .chapter-divider { margin-left: 0; }
.mobile-copy .chapter-heading p { margin-inline: 0; }
.presentation-page #mobile .platform-badges { flex-wrap: wrap; justify-content: flex-start; gap: 10px; margin: 0 0 22px; }
#mobile .platform-badges > span { padding: 8px 12px; border: 1px solid #b69a5e99; border-radius: 30px; background: #15110eeb; color: #f4e2bc; }
.mobile-features { margin-bottom: 0; }

@media (min-width: 900px) and (max-width: 1199px) {
  .passive-stage { flex-basis: 65%; }
  .passive-character { width: 470px; right: -140px; }
  #titles.chapter-wide .chapter-render { width: 420px; left: -135px; }
}
@media (max-width: 899px) {
  .chapter-heading h2 { font-size: 36px; }
  .chapter-heading p { font-size: 17px; }
  #builds .chapter-heading { padding-right: 0; min-height: 0; }
  .passive-composition { flex-direction: column; min-height: 0; gap: 16px; }
  .passive-character { position: relative; inset: auto; width: min(100%,380px); height: 400px; order: -1; }
  .passive-stage { flex: auto; width: 100%; }
  #titles.chapter-wide .chapter-render { position: relative; inset: auto; height: 480px; width: min(380px,100%); margin: 0 auto; }
  #titles.chapter-wide .chapter-render .title-character { height: 390px; top: 90px; }
  .character-title-preview { height: 100px; left: 8%; width: 84%; }
  .mobile-band { gap: 20px; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); }
}
@media (max-width: 560px) {
  body.presentation-page { font-size: 16px; }
  .chapter-heading h2 { font-size: 30px; }
  .chapter-heading p { font-size: 16px; }
  .feature-list { font-size: 16px; }
  .feature-mechanics dt{ font-size: 16px; }
  .feature-mechanics dd{ font-size: 15px; }
  .system-notes .system-copy p, .system-notes .mechanic-list { font-size: 16px; }
  .presentation-nav { gap: 8px; padding-inline: 10px; }
  .presentation-nav .language-switch summary { min-width: 110px; padding-inline: 8px; }
  .nav-discord { padding-inline: 8px; }
  .platform-pill { font-size: 12px; }
  .dungeon-card h3 { font-size: 16px; }
  .mobile-band { grid-template-columns: minmax(0,1fr); gap: 10px; }
  .mobile-copy .chapter-heading { text-align: center; }
  .mobile-copy .chapter-heading .title-emblem, .mobile-copy .chapter-divider { margin-inline: auto; }
  .presentation-page #mobile .platform-badges { justify-content: center; font-size: 12px; gap: 7px; }
  #mobile .platform-badges > span { padding-inline: 10px; }
  .passive-character { height: 320px; }
}
.presentation-nav .language-check { font-size: 12px; }
.presentation-page .eyebrow { font-size: 12px; letter-spacing: .22em; }
.presentation-page .atlas-canvas.full-atlas { background-image: var(--atlas-background, none); }

/* An opaque centre protects every line, including the development note. */
@media (max-width: 899px) {
  .presentation-hero-content { width: calc(100% - 24px); padding: 24px 12px 20px; }
  .presentation-hero-content::before {
    inset: 0; border-radius: 8px;
    background: linear-gradient(#100c08f5, #100c08ed);
    box-shadow: 0 12px 35px #0006;
  }
  .hero-scroll { padding: 8px 18px; border-radius: 4px; background: #100c08ed; }
}

/* Round 5: real game UI pieces, bounded scenery and a shorter presentation. */
.presentation-column {
  background: linear-gradient(#14110fe8, #14110fe8), none repeat;
  border-inline: 0;
  box-shadow: 0 0 45px #0008;
}
.presentation-column::before, .presentation-column::after {
  width: 16px; top: 0; bottom: 0; border: 0; transform: none; z-index: 5;
  background: none left top / 16px 128px repeat-y;
}
.presentation-column::before { left: 0; }
.presentation-column::after { right: 0; background-image: none; }
.chapter-heading h2 { font-size: clamp(30px, 2.8vw, 40px); }
.chapter-heading p { line-height: 1.55; }
.chapter-divider { height: 1px; width: min(160px, 45%); margin: 15px auto; background: linear-gradient(90deg, transparent, #c4a46b, transparent); }
.chapter-divider::before, .chapter-divider::after { display: none; }
.chapter-divider span { display: none; }
.panorama-interlude {
  width: 100%; max-width: 100%; left: auto; margin: 18px 0 0;
  overflow: clip; translate: none; mask-image: none;
}
.chapter-panorama.panorama-interlude { margin: 18px 0; }
.dungeon-interlude { width: calc(100% - 32px); margin: 0 16px; height: 230px; }
#builds .chapter-heading { padding-right: 0; min-height: 0; }
.feature-mechanics dt { margin: 0; }

/* Presentation frames use clean surfaces; no board assets. */
.game-frame { position: relative; }
.game-frame::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 4;
  background-image: none, none, none, none, none, none, none, none;
  background-position: left top, right top, left bottom, right bottom, center top, center bottom, left center, right center;
  background-size: 16px 16px, 16px 16px, 16px 16px, 16px 16px, calc(100% - 32px) 16px, calc(100% - 32px) 16px, 16px calc(100% - 32px), 16px calc(100% - 32px);
  background-repeat: no-repeat;
}
.dungeon-painting.game-frame::after { display: block; border: 0; }

/* Logo above the characters; all supporting copy below their faces. */
.presentation-hero { height: max(800px, calc(100svh - var(--nav-height))); }
.presentation-hero > .presentation-logo { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); margin: 0; width: clamp(260px, 27vw, 410px); }
.presentation-hero-content { position: absolute; inset: 0; width: 100%; padding: 0; margin: 0; pointer-events: none; }
.presentation-hero-content::before { display: none; }
.hero-message { position: absolute; bottom: 88px; left: 50%; transform: translateX(-50%); width: min(900px, calc(100% - 32px)); text-align: center; pointer-events: auto; }
.presentation-hero h1 { font-size: clamp(24px, 2.2vw, 32px); margin: 0 0 12px; }
.presentation-hero .hero-platforms { margin: 0 0 12px; gap: 10px; }
.presentation-hero .platform-pill { padding: 6px 12px; font-size: 13px; }
.presentation-hero .presentation-button { padding: 9px 25px; }
.presentation-hero .development-note { margin-top: 10px; }
.presentation-hero::after { background: linear-gradient(#110b0644, transparent 30%, transparent 53%, #0e0c0ac9 72%, #0e0c0a 100%); }
.hero-scroll { bottom: 12px; gap: 0; padding: 0; background: none; }

/* Mobile is a compact selling point before the world and system index. */
.mobile-chapter { padding-block: 26px; }
.mobile-band { grid-template-columns: minmax(0, .65fr) minmax(0, 1.35fr); gap: 28px; }
.mobile-copy .chapter-heading { margin-bottom: 12px; }
.mobile-copy .chapter-divider { margin-left: 0; }
.presentation-page #mobile .platform-badges { margin-bottom: 0; }
.mobile-features { display: none; }
@media (max-width: 899px) {
  .mobile-band { grid-template-columns: minmax(0,.65fr) minmax(0,1.35fr); }
  .presentation-hero-content { width: 100%; padding: 0; }
}
@media (max-width: 560px) {
  .presentation-column { border: 0; }
  .chapter-heading h2 { font-size: 30px; }
  .presentation-hero { height: max(810px, calc(100svh - var(--nav-height))); }
  .presentation-hero > .presentation-logo { top: 20px; width: 270px; }
  .hero-message { bottom: 82px; width: calc(100% - 28px); }
  .presentation-hero h1 { font-size: 25px; }
  .presentation-hero .hero-platforms { gap: 6px; }
  .presentation-hero .platform-pill { font-size: 12px; padding: 6px 10px; }
  .mobile-chapter { padding: 24px 20px; }
  .mobile-band { grid-template-columns: minmax(0,1fr); gap: 10px; }
  .mobile-copy .chapter-heading { text-align: center; }
  .mobile-copy .chapter-divider { margin-inline: auto; }
}

/* Round 6: approved client-model renders, game board texture and CSS light. */
body.presentation-page {
  background: linear-gradient(#0e0c0af5, #0e0c0af5), none repeat;
}
.atmosphere-layer { inset: 0; filter: none; background: none; }
.atmosphere-layer.is-active { opacity: 1; }
.atmosphere::after { display: none; }
.presentation-column { background: linear-gradient(#14110ff5, #14110ff5), none repeat; }
.chapter { background: radial-gradient(ellipse at 25% 40%, color-mix(in srgb, var(--rim) 9%, transparent), transparent 65%); }
#builds { --rim: #89ad66; }
#mounts { --rim: #77accc; }
#dungeons { --rim: #c36d3f; }
.hero-keyart { object-position: center 38%; }
.hero-lineup {
  position: absolute; left: 50%; bottom: 28%; transform: translateX(-50%);
  width: min(1120px, 92%); height: 48%; display: flex; align-items: flex-end;
  justify-content: center; pointer-events: none; z-index: -1;
}
.hero-lineup::before {
  content: ''; position: absolute; bottom: -3%; width: 94%; height: 10%;
  background: radial-gradient(ellipse, #000c, transparent 70%); filter: blur(8px);
}
.hero-lineup .hero-class {
  position: relative; width: 24%; max-width: none; height: 100%; margin-inline: -2%;
  object-fit: contain; object-position: center bottom; filter: drop-shadow(0 8px 8px #000b);
}
.hero-lineup .hero-class[data-hero-character="ninja-f"], .hero-lineup .hero-class[data-hero-character="shaman-f"] { height: 93%; }
.hero-lineup .hero-class[data-hero-character="sura-m"] { height: 105%; z-index: 1; }
.presentation-hero::after { z-index: -1; background: linear-gradient(#110b0633, transparent 25%, transparent 55%, #0e0c0a9c 70%, #0e0c0a 95%); }
.presentation-hero > .presentation-logo, .presentation-hero-content, .hero-scroll { z-index: 2; }
#pets .chapter-render, #mounts .chapter-render { width: 640px; }
#pets .chapter-render img, #mounts .chapter-render img { position: absolute; object-position: center bottom; }
#pets .chapter-render .companion-main { width: 90%; height: 82%; left: 0; bottom: 5%; z-index: 2; }
#mounts .chapter-render .mount-main { width: 96%; height: 76%; left: 0; bottom: 0; z-index: 2; }
.presentation-page #expeditions .chapter-composition { display: block; min-height: 0; }
.presentation-page #expeditions .chapter-render {
  position: relative; inset: auto; width: min(780px,100%); height: 340px; margin: 0 auto 24px;
}
.mercenary-lineup { display: flex; align-items: flex-end; justify-content: center; height: 100%; }
.presentation-page #expeditions .mercenary-lineup img { width: 27%; margin-inline: -1%; height: 100%; object-position: center bottom; }
.presentation-page #expeditions .chapter-content { width: min(920px,100%); margin-inline: auto; }
.presentation-page #atlas .chapter-composition { display: block; min-height: 0; }
.presentation-page #atlas .chapter-content { width: 100%; padding-block: 0; margin: 0; }
#prestige .chapter-render img { position: absolute; inset: 0; width: 100%; height: 100%; }
#prestige .chapter-render .shadow-twin {
  transform: translate(-12%, -3%) scale(.96); opacity: .48;
  filter: brightness(.15) saturate(.35) drop-shadow(0 0 12px #9b78bb80);
}
#prestige .chapter-render .prestige-main { z-index: 1; }
.dungeon-painting { aspect-ratio: 2 / 2.65; background: radial-gradient(ellipse at 50% 70%, color-mix(in srgb,var(--boss-glow,#b28049) 14%,transparent),transparent 70%), #100f0d; }
.dungeon-painting .card-boss, .dungeon-beran .card-boss { left: 2%; bottom: 6%; width: 96%; height: 103%; object-position: center bottom; }
.dungeon-beran { --boss-glow: #6f9dab; }
.dungeon-razador { --boss-glow: #df7335; }
.dungeon-nemere { --boss-glow: #79bed7; }
.dungeon-jotun, .dungeon-nethis, .dungeon-echidna { --boss-glow: #83ae68; }
.dungeon-catacomb { --boss-glow: #9b7cbb; }
.dungeon-beran .card-boss { object-position: center; height: 96%; bottom: 2%; }
@media (min-width: 900px) {
}
@media (max-width: 1199px) and (min-width: 900px) {
  #pets .chapter-render, #mounts .chapter-render { width: 510px; }
}
@media (max-width: 899px) {
  #pets .chapter-render, #mounts .chapter-render { width: min(540px,100%); height: 400px; }
  .presentation-page #expeditions .chapter-render { height: 300px; }
  .hero-lineup { width: 98%; }
}
@media (max-width: 560px) {
  .hero-keyart { object-position: center 24%; }
  .hero-lineup { bottom: 34%; width: 90%; height: 36%; }
  .hero-lineup .hero-class { width: 29%; margin-inline: -4.5%; }
  .hero-lineup .hero-class[data-hero-character="ninja-f"], .hero-lineup .hero-class[data-hero-character="shaman-f"] { height: 87%; }
  #pets .chapter-render, #mounts .chapter-render { width: 100%; height: 300px; margin-bottom: 10px; }
  .presentation-page #expeditions .chapter-render { height: 210px; margin-bottom: 12px; }
}

/* Round 7: wide, clean dark surfaces and a character-led temple key visual. */
body.presentation-page { background: #0e0c0a; }
.presentation-nav { justify-content: flex-end; gap: 20px; padding-inline: max(3vw, calc((100vw - 1440px) / 2)); }
.nav-logo { margin-right: auto; }
.presentation-column { width: min(1440px, 94vw); border-inline: 1px solid #8f724355; background: linear-gradient(110deg, #171310, #100f0e 50%, #171310); box-shadow: inset 0 0 45px #d3a05606, 0 0 60px #0007; }
.presentation-column::before, .presentation-column::after { display: none; }
.game-frame { position: relative; border: 1px solid #9d7e465e; background-color: #14120f; box-shadow: inset 0 0 22px #cf9e3e09, 0 8px 28px #0003; }
.game-frame::after, .dungeon-painting.game-frame::after { content: none; background: none; }
.presentation-footer { flex-wrap: wrap; }
.presentation-page .footer-backlink { color: #c7b694; font: inherit; text-decoration: none; opacity: 1; visibility: visible; }
.presentation-page .footer-backlink:hover { color: var(--gold); text-decoration: underline; }
.presentation-hero { overflow: clip; height: max(830px, calc(100svh - var(--nav-height))); }
.hero-scenery { z-index: -3; }
.hero-keyart { filter: brightness(.7) saturate(.85); translate: calc(var(--mouse-x, 0px) * -.25) calc(var(--mouse-y, 0px) * -.25); scale: 1.025; }
.hero-scenery::after { background: radial-gradient(ellipse at 50% 40%, transparent 15%, #0d09064d 60%, #0d0906d9 100%); }
.hero-scenery .temple-leaves { z-index: 5; }
.hero-lineup { left: 50%; bottom: 7%; width: min(1440px, 98%); height: 80%; display: block; z-index: -1; }
.hero-lineup::before { left: 4%; bottom: 0; height: 14%; width: 92%; background: radial-gradient(ellipse, #000e 15%, #0008 40%, transparent 72%); filter: blur(16px); }
.hero-lineup::after { content: ''; position: absolute; inset: 55% -10% -4%; z-index: 5; background: radial-gradient(ellipse at 25% 60%, #d1b69a21, transparent 55%), radial-gradient(ellipse at 75% 75%, #c1aea01c, transparent 55%); filter: blur(18px); pointer-events: none; }
.hero-lineup .hero-class { position: absolute; bottom: 0; left: var(--hero-left); width: 39%; max-width: none; height: 100%; margin: 0; object-fit: contain; object-position: center bottom; transform: translateX(-50%); translate: calc(var(--mouse-x, 0px) * var(--depth, 1)) calc(var(--mouse-y, 0px) * var(--depth, 1)); transition: translate .45s ease-out; filter: brightness(.76) saturate(.9) drop-shadow(0 16px 14px #000b) drop-shadow(-3px -1px 2px #efb86659); }
.hero-lineup .hero-class[data-hero-character="lycan"] { --hero-left: 83%; --depth: .4; height: 79%; z-index: 1; }
.hero-lineup .hero-class[data-hero-character="ninja-f"] { --hero-left: 33%; --depth: .7; height: 89%; z-index: 2; }
.hero-lineup .hero-class[data-hero-character="sura-m"] { --hero-left: 50%; --depth: 1; height: 100%; z-index: 3; filter: brightness(1.08) saturate(1.04) drop-shadow(0 18px 20px #000c) drop-shadow(-3px -2px 2px #ffd08b99) drop-shadow(2px 0 10px #e9a34835); }
.hero-lineup .hero-class[data-hero-character="shaman-f"] { --hero-left: 67%; --depth: .7; height: 89%; z-index: 2; }
.hero-lineup .hero-class[data-hero-character="warrior-m"] { --hero-left: 17%; --depth: .4; height: 79%; z-index: 1; }
.presentation-hero::after { z-index: 0; background: linear-gradient(#100b0620, transparent 45%, #0e0c0a20 56%, #0e0c0abd 75%, #0e0c0a 98%), radial-gradient(ellipse at center, transparent 45%, #09070580); }
.presentation-hero > .presentation-logo { top: 5px; width: clamp(250px, 24vw, 355px); }
.hero-message { bottom: 75px; }
.presentation-hero-content { inset: 0; width: 100%; padding: 0; }
.presentation-hero-content::before { display: none; }
.hero-scroll { z-index: 3; }
.mobile-chapter { padding-block: 55px; }
.mobile-band { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 50px; }
.mobile-copy { grid-column: 1; grid-row: 1; }
.mobile-device-stage { grid-column: 2; grid-row: 1; min-width: 0; padding-right: 8px; }
.presentation-page .mobile-device-stage .platform-devices { display: block; width: 100%; max-width: 700px; margin: auto; padding: 10px 0 65px 0; }
.presentation-page .mobile-device-stage .platform-devices::before { inset: 0; }
.mobile-device-stage .platform-phone { right: 0; }
.mobile-device-stage .device-scene { background-image: linear-gradient(#09080512,#09080565),url('assets/background.jpg'); }
.mobile-copy .chapter-heading { text-align: left; }
/* Let the wider column carry the render and the live window side by side. */
@media (min-width: 900px) {
  .chapter-composition, .render-right .chapter-composition { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 30px; align-items: start; min-height: 620px; }
  .render-right .chapter-composition { grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); }
  .chapter .chapter-render, .chapter.render-right .chapter-render, .chapter.landscape-render .chapter-render { position: relative; inset: auto; width: 100%; height: 620px; margin: 0; grid-column: 1; grid-row: 1; }
  .chapter.render-right .chapter-render { grid-column: 2; }
  .chapter .chapter-content { width: 100%; max-width: none; margin: 0; grid-column: 2; grid-row: 1; }
  .chapter.render-right .chapter-content { grid-column: 1; }
  #builds > .chapter-composition, #titles > .chapter-composition, #atlas > .chapter-composition, #expeditions > .chapter-composition { display: block; min-height: 0; }
  #builds > .chapter-composition > .chapter-content, #atlas > .chapter-composition > .chapter-content { width: 100%; }
  #titles.chapter-wide .chapter-render { position: absolute; width: 31%; left: 0; height: 600px; }
  #titles.chapter-wide .chapter-content { width: 70%; margin-left: auto; }
  .presentation-page #expeditions .chapter-render { width: min(780px,100%); height: 340px; margin: auto auto 25px; }
  .presentation-page #expeditions .chapter-content { width: min(1100px,100%); margin: auto; }
}
.prestige-nameplate { position: absolute; top: 2%; left: 50%; transform: translateX(-50%); z-index: 3; white-space: pre; font: bold 15px/1.3 Tahoma, Arial, sans-serif; text-shadow: -1px -1px 0 #080808, 1px -1px 0 #080808, -1px 1px 0 #080808, 1px 1px 0 #080808, 0 2px 3px #000; }
.prestige-level { color: #8cc8ff; }
.prestige-player { color: #fff; }
#prestige .chapter-render img { padding-top: 24px; object-position: center top; }
#pets .chapter-render .companion-main { inset: 0; width: 100%; height: 100%; object-fit: contain; }
#mounts .chapter-render .mount-main { bottom: 1%; left: 0; width: 75%; height: 38%; object-fit: contain; z-index: 2; }
#mounts .chapter-render .mount-rider { position: absolute; top: 0; right: 0; width: 80%; height: 85%; object-fit: contain; z-index: 1; }
.dungeon-grid { padding-top: 10px; gap: 32px 20px; }
.dungeon-painting { overflow: hidden; aspect-ratio: 2/2.6; }
.dungeon-painting .card-boss, .dungeon-beran .card-boss { inset: 0; width: 100%; height: 100%; padding: 18px 14px; max-width: 100%; object-fit: contain; object-position: center bottom; transform: none; }
.dungeon-card:is(:hover,:focus-visible) .card-boss { transform: none; }
.dungeon-card figcaption { padding-top: 12px; }
#bounty .chapter-composition { align-items: start; }
#bounty .bounty-visual { height: auto; pointer-events: auto; }
.bounty-hunter { height: 400px; }
#bounty .bounty-hunter > img { height: 100%; width: 100%; object-fit: contain; }
.bounty-rewards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.bounty-reward { margin: 0; min-width: 0; padding: 12px; text-align: center; background: radial-gradient(ellipse at 50% 20%,#bc8d3c14,transparent 75%),#13110f; }
#bounty .bounty-reward .reward-chest { position: relative; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.bounty-reward figcaption { font: 15px/1.4 var(--display); color: var(--gold); margin: 6px 0 12px; }
#bounty .bounty-reward .bounty-map { width: min(100%, 140px); height: auto; aspect-ratio: 1; object-fit: contain; border: 1px solid #97774788; padding: 4px; background: #090908; margin: auto; filter: none; }
@media (max-width: 899px) {
  .presentation-column { width: 94vw; }
  .mobile-band { grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); gap: 25px; }
  .mobile-copy .chapter-heading h2 { font-size: 29px; }
  .prestige-nameplate { font-size: 14px; }
  #bounty .bounty-visual { width: min(540px,100%); margin: 0 auto 25px; }
  .bounty-hunter { height: 330px; }
}
@media (max-width: 560px) {
  .presentation-nav { padding-inline: 10px; gap: 10px; }
  .presentation-column { width: 96vw; }
  .presentation-hero { height: max(810px, calc(100svh - var(--nav-height))); }
  .presentation-hero > .presentation-logo { width: 235px; top: 5px; }
  .hero-lineup { width: 122%; height: 66%; bottom: 23%; }
  .hero-lineup .hero-class { width: 63%; }
  .hero-lineup .hero-class[data-hero-character="lycan"] { --hero-left: 82%; height: 70%; bottom: 26%; }
  .hero-lineup .hero-class[data-hero-character="ninja-f"] { --hero-left: 33%; height: 80%; }
  .hero-lineup .hero-class[data-hero-character="sura-m"] { height: 100%; }
  .hero-lineup .hero-class[data-hero-character="shaman-f"] { --hero-left: 67%; height: 80%; }
  .hero-lineup .hero-class[data-hero-character="warrior-m"] { --hero-left: 18%; height: 70%; bottom: 26%; }
  .hero-message { bottom: 77px; }
  .presentation-hero h1 { font-size: 25px; }
  .mobile-band { display: flex; flex-direction: column; gap: 26px; }
  .mobile-copy { order: 1; }
  .mobile-device-stage { order: 2; width: 100%; padding: 0; }
  .mobile-copy .chapter-heading { text-align: center; }
  .mobile-copy .chapter-divider { margin-inline: auto; }
  .mobile-chapter { padding: 32px 18px; }
  .presentation-page .mobile-device-stage .platform-devices { padding-bottom: 47px; }
  #mounts .chapter-render { height: 360px; }
  .dungeon-grid { gap: 25px 12px; }
  .dungeon-painting .card-boss { padding: 12px 8px; }
  .dungeon-card h3 { font-size: 15px; }
  .bounty-hunter { height: 300px; }
  .bounty-rewards { gap: 10px; }
  .bounty-reward { padding: 8px; }
  .bounty-reward figcaption { font-size: 14px; }
  .presentation-footer { padding: 25px 18px; justify-content: center; text-align: center; }
  .presentation-footer .footer-backlink { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce), (hover: none), (pointer: coarse) {
  .hero-lineup .hero-class, .hero-keyart { translate: none; transition: none; }
}
/* Round 8: each foreground visual owns layout space. */
.presentation-page main { overflow: visible; }
.presentation-page .chapter { overflow: visible; padding-inline: clamp(18px,3.3vw,48px); }
.presentation-page .chapter-composition,
.presentation-page .render-right .chapter-composition,
.presentation-page #titles > .chapter-composition {
  display: grid; grid-template-columns: minmax(420px, 1.2fr) minmax(280px,.8fr);
  gap: 32px; align-items: center; min-height: 0; padding-top: 0;
}
.presentation-page .chapter .chapter-content,
.presentation-page #titles.chapter-wide .chapter-content {
  grid-column: 1; grid-row: 1; width: 100%; min-width: 0; margin: 0; padding: 0;
}
.presentation-page .chapter .chapter-render,
.presentation-page #titles.chapter-wide .chapter-render,
.presentation-page #expeditions .chapter-render,
.presentation-page #pets .chapter-render,
.presentation-page #mounts .chapter-render {
  position: relative; inset: auto; grid-column: 2; grid-row: 1;
  width: 100%; max-width: 100%; height: auto; min-height: 0; margin: 0;
  display: grid; gap: 18px; align-items: center; justify-items: center;
  translate: none; opacity: 1;
}
.presentation-page .chapter .chapter-render img,
.presentation-page #prestige .chapter-render img,
.presentation-page #pets .chapter-render .companion-main,
.presentation-page #mounts .chapter-render :is(.mount-main,.mount-rider),
.presentation-page #titles.chapter-wide .chapter-render .title-character {
  position: relative; inset: auto; display: block; width: 100%; height: 510px;
  max-width: 100%; max-height: 60vh; margin: 0; padding: 0;
  object-fit: contain; object-position: center; transform: none;
}
.presentation-page #builds > .chapter-composition,
.presentation-page #atlas > .chapter-composition,
.presentation-page #expeditions > .chapter-composition { display: grid; grid-template-columns: minmax(0,1fr); }
.presentation-page #expeditions .chapter-render { grid-column: 1; grid-row: 2; max-width: 900px; margin-inline: auto; }
.presentation-page #expeditions .chapter-content { max-width: 1100px; margin: auto; }
.presentation-page .mercenary-lineup { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; height: auto; width: 100%; }
.presentation-page #expeditions .mercenary-lineup img { width: 100%; height: 310px; max-height: 40vh; margin: 0; }
.presentation-page .passive-composition { display: grid; grid-template-columns: minmax(560px,1.3fr) minmax(260px,.7fr); gap: 32px; align-items: center; min-height: 0; }
.presentation-page .passive-stage { width: 100%; min-width: 0; max-width: none; margin: 0; flex: auto; grid-column: 1; grid-row: 1; }
.presentation-page .passive-character { position: relative; inset: auto; width: 100%; height: 510px; max-height: 60vh; order: 0; grid-column: 2; grid-row: 1; }
.presentation-page .passive-character img { width: 100%; height: 100%; max-height: 60vh; object-fit: contain; }
.presentation-page #prestige .chapter-render { grid-template-columns: repeat(2,minmax(0,1fr)); }
.presentation-page .prestige-nameplate { position: relative; inset: auto; transform: none; grid-row: 1; white-space: normal; text-align: center; }
.presentation-page #prestige .chapter-render .shadow-twin { display: block; grid-column: 1; grid-row: 2; }
.presentation-page #prestige .chapter-render .prestige-main { grid-column: 2; grid-row: 2; }
.presentation-page #prestige .prestige-nameplate { grid-column: 1 / -1; }
.presentation-page .character-title-preview { position: relative; inset: auto; width: 100%; height: 125px; }
.presentation-page .mount-figure { display: grid; grid-template-rows: minmax(0,1fr) auto; gap: 14px; margin: 0; width: 100%; padding: 18px; text-align: center; }
.presentation-page #mounts .mount-figure :is(.mount-main,.mount-rider) { height: 270px; max-height: 34vh; }
.mount-figure figcaption { color: var(--gold); font: 14px/1.5 var(--display); }
.presentation-page #bounty .bounty-visual { align-self: center; }
.presentation-page .bounty-rewards { display: grid; grid-template-columns: minmax(0,1fr); gap: 18px; width: 100%; }
.presentation-page .bounty-reward { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: 12px; padding: 18px; }
.presentation-page #bounty .bounty-reward .reward-chest { grid-column: 1; grid-row: 1; height: 180px; max-height: 25vh; aspect-ratio: auto; }
.presentation-page .bounty-reward figcaption { grid-column: 1 / -1; grid-row: 2; margin: 0; }
.presentation-page #bounty .bounty-reward .bounty-map { grid-column: 2; grid-row: 1; height: auto; max-height: 180px; max-width: 100%; }
.presentation-page .web-game-ui,
.presentation-page .native-window,
.presentation-page .title-workshop { max-width: 100%; min-width: 0; box-sizing: border-box; }
.presentation-page .nav-logo { width: 175px; }
.presentation-page .language-switch summary { display: flex; align-items: center; line-height: 1; gap: 9px; }
.language-caret { width: 12px; height: 8px; display: block; flex: none; }
.discord-icon { width: 20px; height: 17px; flex: none; display: block; }
.presentation-page .nav-discord { display: inline-flex; align-items: center; gap: 8px; }
.presentation-page a.presentation-button[href*="discord"] { gap: 12px; }
/* The hero also uses separate rows: logo, five renders, message, scroll link. */
.presentation-page .presentation-hero { display: grid; grid-template-rows: auto minmax(280px,1fr) auto auto; justify-items: center; gap: 12px; height: auto; min-height: calc(100svh - var(--nav-height)); padding: 12px 3vw 18px; overflow: visible; }
.presentation-page .presentation-hero > .presentation-logo { position: relative; inset: auto; transform: none; width: clamp(340px,35vw,520px); max-width: 92vw; margin: 0; }
.presentation-page .hero-lineup { position: relative; inset: auto; transform: none; width: min(1440px,100%); height: 100%; min-height: 280px; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); align-items: end; gap: 10px; }
.presentation-page .hero-lineup .hero-class { position: relative; inset: auto; transform: none; translate: none; width: 100%; height: 360px; max-height: 42vh; margin: 0; object-fit: contain; object-position: center bottom; }
.presentation-page .hero-lineup .hero-class[data-hero-character="sura-m"] { height: 420px; max-height: 48vh; }
.presentation-page .hero-lineup .hero-class[data-hero-character="lycan"] { transform: scaleX(-1); }
.presentation-page .hero-lineup .hero-class[data-hero-character="warrior-m"] { transform: scaleX(-1); }
.presentation-page .presentation-hero-content { position: relative; inset: auto; width: 100%; }
.presentation-page .hero-message { position: relative; inset: auto; transform: none; width: min(900px,100%); margin: auto; }
.presentation-page .hero-scroll { position: relative; inset: auto; transform: none; margin-top: 4px; }
.presentation-page .hero-lineup::after { inset: 65% 0 0; }
@media (max-width:1199px) {
  .presentation-page .chapter-composition,.presentation-page .render-right .chapter-composition,.presentation-page #titles > .chapter-composition,.presentation-page .passive-composition { grid-template-columns: minmax(0,1fr); gap: 28px; }
  .presentation-page .chapter .chapter-content { grid-column: 1; grid-row: 1; }
  .presentation-page .chapter .chapter-render,.presentation-page #titles.chapter-wide .chapter-render,
  .presentation-page #pets .chapter-render,.presentation-page #mounts .chapter-render,
  .presentation-page #expeditions .chapter-render { grid-column: 1; grid-row: 2; width: min(600px,100%); margin-inline: auto; }
  .presentation-page #mounts .mount-gallery { max-width: 540px; }
  .presentation-page .passive-character { grid-column: 1; grid-row: 2; max-width: 540px; justify-self: center; }
  .presentation-page .passive-stage { grid-row: 1; }
}
@media (max-width:700px) {
  .presentation-page .presentation-nav { gap: 8px; padding-inline: 10px; }
  .presentation-page .nav-logo { width: 130px; }
  .presentation-page .presentation-nav .language-switch summary { min-width: 0; padding: 8px; font-size: 10px; gap: 6px; }
  .presentation-page .nav-discord { padding: 8px; font-size: 10px; gap: 6px; }
  .presentation-page .chapter .chapter-render img { height: 380px; max-height: 50vh; }
  .presentation-page #expeditions .mercenary-lineup img { height: 180px; }
  .presentation-page .prestige-nameplate { font-size: 13px; }
  .presentation-page .hero-lineup { min-height: 200px; gap: 3px; }
  .presentation-page .hero-lineup .hero-class { height: 220px; max-height: 30vh; }
  .presentation-page .hero-lineup .hero-class[data-hero-character="sura-m"] { height: 260px; max-height: 34vh; }
  .presentation-page .presentation-hero { grid-template-rows: auto minmax(230px,1fr) auto auto; min-height: calc(100svh - var(--nav-height)); padding-top: 22px; gap: 20px; }
  .presentation-page .presentation-hero h1 { font-size: 25px; }
  .presentation-page .presentation-hero > .presentation-logo { width: min(350px,94%); max-width: 100%; }
  .presentation-page .mount-figure { padding: 14px; }
  .presentation-page #mounts .mount-figure :is(.mount-main,.mount-rider) { height: 280px; max-height: 36vh; }
  .presentation-page .mobile-device-stage .platform-devices { padding-bottom: 0; display: grid; gap: 18px; }
  .presentation-page .mobile-device-stage .platform-phone { position: relative; inset: auto; margin: 0 auto; transform: none; width: 65%; }
}

