/* RC10: game-only presentation; the approved Studio and Timer styles stay intact. */
.page-game .mm-hero{display:block;max-width:1600px;padding:42px 5% 20px;background:radial-gradient(ellipse at 80% 20%,#44215b40,transparent 65%),#0b0813}
.mm-opening{display:grid;grid-template-columns:1.1fr 1fr;gap:48px;align-items:end;margin-bottom:30px}
.page-game .mm-hero h1{font-size:clamp(44px,4.7vw,72px);line-height:1.04;margin:0;letter-spacing:-.04em}
.mm-opening .eyebrow{font-size:10px;line-height:1.6;letter-spacing:.13em;color:#d6b4ee;margin:0 0 18px}
.page-game .mm-hero .game-lead{font-size:25px;margin:0 0 10px}
.mm-opening-copy>p:not(.game-lead){font-size:17px;color:#dacee3;max-width:490px;line-height:1.7;margin:0}
.mm-opening .chapter-nav{margin-top:22px}
.mm-opening .chapter-nav a{font-size:14px;padding:10px 18px}
.page-game .mm-hero>figure{margin:0}
.page-game .mm-hero>figure img{width:100%;height:auto;border-radius:14px;box-shadow:0 15px 50px #0005}
.mm-hero figcaption{font-size:12px;padding:10px 2px;color:#baa9c9}
.page-game .mm-content{max-width:1600px}
.mm-gallery{padding:34px 0 42px;border-bottom:1px solid #b581db30}
.mm-section-heading{display:flex;justify-content:space-between;align-items:end;gap:24px}
.mm-section-heading h2{margin-bottom:10px}
.mm-section-heading p:not(.eyebrow){margin:0;font-size:16px}
.mm-gallery-controls{display:none;align-items:center;gap:12px;flex-shrink:0}
.js-enabled .mm-gallery-controls{display:flex}
.mm-gallery-controls button{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;flex:0 0 48px;width:48px;height:48px;min-width:48px;min-height:48px;padding:0;line-height:0;appearance:none;border:1px solid #b87ce1;border-radius:50%;background:#251333;color:#f1d9ff;font-size:23px;cursor:pointer}
.mm-gallery-controls button:hover{background:#49265f;border-color:#e5b7ff}
.mm-gallery-controls button:active{background:#62327c}
.mm-gallery-controls button:disabled{opacity:1;cursor:default;background:#1a1024;color:#a18bad;border-color:#766184}
.page-game .mm-gallery-position{font-size:13px!important;white-space:nowrap;text-align:center;color:#d5c3df;min-width:78px}
.mm-gallery-position output{display:block;font-size:16px;color:#f4eaff}
.page-game .mm-gallery-track{position:relative;display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:100%;gap:20px;margin:24px 0 0;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-color:#9b63bc #160e20;scrollbar-width:thin;padding-bottom:12px}
.mm-gallery-track:focus-visible{outline:3px solid #e9ff9b;outline-offset:5px}
.mm-slide{scroll-snap-align:start;scroll-snap-stop:always;min-width:0}
.page-game .mm-slide img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;background:#100d18;border:1px solid #a16ac14a;border-radius:12px}
.mm-slide figcaption{display:flex;justify-content:space-between;gap:16px;align-items:baseline;padding:13px 3px;color:#eee1fa;font-size:16px}
.mm-slide figcaption small{color:#bfa9cf;font-size:12px;white-space:nowrap}
.page-game .mm-feature{display:grid;grid-template-columns:1.65fr 1fr;gap:42px;align-items:center;padding:42px 0;border-bottom:1px solid #b581db30}
.mm-feature>div{min-width:0}
.mm-feature h2{font-size:clamp(30px,3vw,45px);line-height:1.15;margin-bottom:18px}
.mm-feature p{font-size:17px;line-height:1.75;max-width:440px;margin:0}
.mm-feature .eyebrow{font-size:10px;margin-bottom:16px}
.mm-feature .mm-short-note{font-size:13px;line-height:1.6;color:#bda8cc;margin-top:16px}
.mm-feature-reverse{grid-template-columns:1fr 1.65fr!important}
.mm-feature-reverse>figure{order:1}
.mm-feature-reverse>div{order:0}
.mm-feature figcaption{padding:10px 2px;color:#bda8cc;font-size:12px}
.mm-availability{padding:42px 0 50px;max-width:800px}
.mm-availability h2{font-size:clamp(30px,3vw,42px);margin-bottom:16px}
.mm-availability>p:not(.eyebrow){font-size:16px;line-height:1.75;margin:0}
@media(max-width:1000px){.mm-opening{gap:28px}.page-game .mm-feature{gap:26px;grid-template-columns:1.3fr 1fr}.mm-feature-reverse{grid-template-columns:1fr 1.3fr!important}.mm-feature h2{font-size:32px}.mm-feature p{font-size:16px}}
@media(max-width:760px){
 .page-game .mm-hero{padding:32px 5% 10px}.mm-opening{grid-template-columns:1fr;gap:20px;margin-bottom:24px}
 .page-game .mm-hero h1{font-size:clamp(37px,9.8vw,64px)}.page-game .mm-hero .game-lead{font-size:22px}
 .mm-opening-copy>p:not(.game-lead){font-size:16px}.mm-opening .chapter-nav{margin-top:18px;gap:10px}
 .page-game .mm-opening .chapter-nav a{font-size:13px;padding:10px 15px}
 .mm-hero figcaption{font-size:11px}.mm-section-heading{display:block}.mm-gallery-controls{margin-top:18px;justify-content:flex-end}
 .mm-section-heading h2{font-size:32px}.mm-gallery{padding:28px 0}
 .page-game .mm-gallery-track{margin-top:18px;gap:14px}
 .mm-slide figcaption{font-size:14px}.mm-slide figcaption small{font-size:11px}
 .page-game .mm-feature,.page-game .mm-feature-reverse{grid-template-columns:1fr!important;gap:18px;padding:30px 0}
 .mm-feature-reverse>figure,.mm-feature-reverse>div{order:initial}
 .mm-feature h2{font-size:32px;margin-bottom:12px}.mm-feature p{font-size:16px;max-width:none}.mm-feature .eyebrow{margin-bottom:12px}
 .mm-availability{padding-block:30px 40px}
}
@media(prefers-reduced-motion:reduce){.mm-gallery-track{scroll-behavior:auto!important}}
/* Without JavaScript, show every screenshot in the normal reading order. */
html:not(.js-enabled) .page-game .mm-gallery-track{grid-auto-flow:row;grid-template-columns:1fr;overflow:visible;gap:28px;scroll-snap-type:none}

/* Matching vector arrows avoid different left/right text-glyph metrics. */
.mm-nav-icon{display:block;flex:none;width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transform-origin:center}
.mm-gallery-prev .mm-nav-icon{transform:rotate(180deg)}
/* Fit the whole gallery on landscape screens, including short laptop/tablet viewports. */
@media(min-width:761px) and (orientation:landscape){
 html:has(body.page-game #gallery:target){scroll-padding-top:16px}
 .page-game .mm-gallery{padding-block:22px 24px;scroll-margin-top:0}
 .mm-gallery .mm-section-heading .eyebrow{margin-bottom:10px}
 .mm-gallery .mm-section-heading h2{font-size:clamp(28px,3vw,40px);margin-bottom:8px}
 .page-game .mm-gallery-track{max-width:min(100%,calc(var(--mm-gallery-image-height,calc(100svh - 270px)) * 16 / 9));margin:18px auto 0}
}

/* One shared ultrawide frame for header, hero, content and footer. */
@media(min-width:2000px){
 .page-game{--mm-page-width:max(960px,min(clamp(1600px,72vw,2400px),calc((100svh - 400px) * 1672 / 941 + 192px)))}
 .page-game .studio-header,.page-game .mm-hero,.page-game .mm-content,.page-game footer{max-width:var(--mm-page-width);padding-inline:96px}
 .page-game .mm-hero>figure{max-width:none;margin-inline:0}
}
