/* MipZero website - built from the approved Claude Design canvas v17.
   Company zone = night blue + Level Zero yellow. Game zone (/games/hajwala/) = warm dark + sun.
   Logical properties everywhere, so Arabic (RTL) and English (LTR) share one stylesheet.
   Only transform/opacity animate; everything stops under prefers-reduced-motion. */

/* ---------- Fonts: self-hosted files are added by build.mjs (fonts.css) when present; otherwise the
   closest system faces are used (see LICENCES.md). */
:root {
  --bg: #0D1219; --s1: #141B24; --s2: #1B2430; --ln: #2A3442; --ink: #F4F2EC; --mut: #A9B2BE;
  --y: #F3C954; --y-hi: #F7D97F; --yi: #0D1219; --foot: #090D13; --card-ink: #D7DCE3;
  --g0: #0E0A08; --g1: #18110D; --gl: #3A2A1F; --gm: #C9B8A8; --sun: #FFB13B; --sun-ink: #1A0E05; --g-ink: #F6EEE6;
  --ph: #FF6FD8;
  --f-ar: "IBM Plex Sans Arabic", "Segoe UI", "SF Arabic", "Noto Sans Arabic", Tahoma, system-ui, sans-serif;
  --f-d: "Readex Pro", "IBM Plex Sans Arabic", "Segoe UI", "SF Arabic", "Noto Sans Arabic", Tahoma, system-ui, sans-serif;
  --f-m: "IBM Plex Mono", "Cascadia Mono", Consolas, "SF Mono", ui-monospace, monospace;
  --out: cubic-bezier(.2, .8, .2, 1); --back: cubic-bezier(.34, 1.56, .64, 1);
  --pad: 64px; --wrap: 1312px;
  color-scheme: dark;
}
@media (max-width: 1200px) { :root { --pad: 40px; } }
@media (max-width: 860px) { :root { --pad: 20px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-ar); line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, p, ul, ol, figure, dl, dd, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
.d { font-family: var(--f-d); }
.m { font-family: var(--f-m); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.ltr { direction: ltr; unicode-bidi: isolate; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--pad)); margin-inline: auto; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; inset-inline-start: 12px; top: -80px; z-index: 50; padding: 10px 16px; border-radius: 0; background: var(--y); color: var(--yi); font-weight: 700; }
.skip:focus { top: 12px; }
.ph-mark { display: inline-block; padding: 0 6px; border: 1px dashed var(--ph); border-radius: 0; color: var(--ph); font-family: var(--f-m); font-size: 12px; }

/* Focus: 2 px ring, 3 px offset (Components board). Game zone uses sun. */
:focus-visible { outline: 2px solid var(--y); outline-offset: 3px; }
.zg :focus-visible { outline-color: var(--sun); }

/* Status-driven visibility (html[data-status] is baked by the build and updated by site.js). */
html:not([data-status="soon"]) .only-soon,
html:not([data-status="prereg"]) .only-prereg,
html:not([data-status="out"]) .only-out,
html[data-status="prereg"] .not-prereg { display: none !important; }
html:not(.js) .js-only { display: none !important; }

/* ---------- Pulse dot / square */
.sq { flex: none; width: 10px; height: 10px; background: currentColor; }
.pulse { animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* ---------- Announcement bar */
.ann { position: relative; z-index: 6; display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; padding: 6px 56px; background: var(--y); color: var(--yi); font-size: 15px; font-weight: 600; text-align: center; line-height: 1.5; }
.ann[hidden] { display: none; }
.ann-x { all: unset; position: absolute; inset-inline-end: 8px; top: 50%; transform: translateY(-50%); display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; cursor: pointer; border-radius: 0; }
.ann-x:focus-visible { outline: 2px solid var(--yi); outline-offset: -4px; }
.zg .ann { background: var(--y); }
.preview-badge { position: fixed; z-index: 90; inset-block-end: 16px; inset-inline-start: 16px; padding: 8px 14px; border: 1.5px dashed var(--ph); border-radius: 0; background: rgba(7, 9, 12, .9); color: var(--ph); font-size: 13px; font-weight: 600; }

/* ---------- Language toggle (two segments: current filled, other is a link) */
.lang { position: relative; flex: none; z-index: 8; }
.lang summary { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; border: 1px solid var(--ln); font-size: 14px; font-weight: 600; cursor: pointer; list-style: none; -webkit-user-select: none; user-select: none; transition: border-color .25s, color .25s; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary { border-color: var(--y); color: var(--y); }
.lang summary svg:last-child { transition: transform .25s var(--out); }
.lang[open] summary svg:last-child { transform: rotate(180deg); }
.lang-menu { position: absolute; inset-inline-end: 0; top: calc(100% + 6px); min-width: 160px; display: flex; flex-direction: column; padding: 4px; background: var(--s1); border: 1px solid var(--ln); box-shadow: 0 16px 40px rgba(0, 0, 0, .45); }
.lang-menu a, .lang-menu span { display: flex; align-items: center; min-height: 44px; padding: 0 14px; font-size: 15px; font-weight: 600; }
.lang-menu a:hover { background: var(--s2); color: var(--y); }
.lang-menu [aria-current] { color: var(--y); box-shadow: inset 3px 0 0 var(--y); }
[dir="rtl"] .lang-menu [aria-current] { box-shadow: inset -3px 0 0 var(--y); }
.ft .lang-menu, .gft .lang-menu { top: auto; bottom: calc(100% + 6px); }

/* ---------- Nav underline (sweeps from the start side) */
.nav { display: flex; gap: 40px; font-size: 16px; font-weight: 600; }
.nav a { position: relative; display: inline-block; padding: 10px 0; }
.nav a::after { content: ""; position: absolute; inset-inline-start: 0; bottom: 2px; height: 2px; width: 100%; background: var(--y); transform: scaleX(0); transform-origin: var(--start-side, right); transition: transform .3s var(--out); }
[dir="ltr"] .nav a::after { --start-side: left; }
.nav a:hover::after, .nav a:focus-visible::after { transform: scaleX(1); }
.zg .nav { gap: 36px; }
.zg .nav a::after { background: var(--sun); }
.pnav { display: none; border-top: 1px solid var(--ln); border-bottom: 1px solid var(--ln); }
.pnav ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); font-size: 15px; font-weight: 600; text-align: center; }
.pnav li + li { border-inline-start: 1px solid var(--ln); }
.pnav a { display: block; line-height: 48px; }

/* ---------- Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; padding: 0 28px; border-radius: 0; font-weight: 700; font-size: 17px; transition: transform .25s var(--out), background-color .25s, border-color .25s, color .25s; }
.btn svg { flex: none; }
.btn-y { background: var(--y); color: var(--yi); }
.btn-y:hover { transform: translateY(-2px); background: var(--y-hi); }
.btn-y:active { transform: scale(.98); }
.btn-o { border: 1.5px solid var(--ln); }
.btn-o:hover { border-color: var(--y); color: var(--y); }
[dir="ltr"] .flip { transform: scaleX(-1); }

/* ---------- Logo (owner symbol + wordmark, geometry verbatim) */
.logo svg { direction: ltr; overflow: visible; }
.wipe { transform-box: fill-box; transform-origin: 50% 100%; animation: mzWipe .6s steps(8, end) .45s both; }
.drop { transform-box: fill-box; animation: mzDrop .5s var(--back) .2s both; }
.spark { transform-box: fill-box; transform-origin: center; animation: mzSpark .35s ease-out both; }
.settle { transform-box: fill-box; transform-origin: center; animation: mzSettle .4s var(--out) 1.05s both; }
.lt { animation: rise .45s var(--out) both; }
.hop { transform-box: fill-box; }
.logo:hover .hop, .logo:focus-visible .hop { animation: hop .3s var(--back); }
html.booted .boot .wipe, html.booted .boot .drop, html.booted .boot .spark, html.booted .boot .settle, html.booted .boot .lt { animation: none; }
@keyframes mzWipe { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes mzDrop { 0% { transform: translateY(-150px); opacity: 0; } 100% { transform: translateY(0); opacity: 1; } }
@keyframes mzSpark { 0% { transform: scale(0); opacity: 0; } 60% { transform: scale(1.35); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
@keyframes mzSettle { 0% { transform: scale(1.04); } 100% { transform: scale(1); } }
@keyframes hop { 0% { transform: translateY(0); } 50% { transform: translateY(-14px); } 100% { transform: translateY(0); } }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

/* ---------- Scroll reveal (15% in view, once) */
html.js .rv-s { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--out), transform .7s var(--out); }
html.js .rv-s.in { opacity: 1; transform: none; }
.rv { animation: rise .7s var(--out) both; }

/* =========================================================== HOME (company zone) */
.top { position: relative; }
.hd { position: absolute; inset: 0 0 auto 0; z-index: 5; }
.hd-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 88px; padding: 0 var(--pad); }
.hd .logo svg { width: 137px; height: 48px; margin-inline: -7px; }

.hero { position: relative; overflow: hidden; padding: 150px var(--pad) 72px; background: radial-gradient(900px 600px at 18% 40%, rgba(243, 201, 84, .10), transparent 70%), var(--bg); }
[dir="ltr"] .hero { background: radial-gradient(900px 600px at 82% 40%, rgba(243, 201, 84, .10), transparent 70%), var(--bg); }
.hero-grid { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: center; }
.hero-txt { display: flex; flex-direction: column; gap: 30px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; color: var(--y); }
.hero h1 { font-size: clamp(50px, 7.25vw, 104px); line-height: 1.12; font-weight: 700; letter-spacing: -.01em; }
.hero h1 span { display: block; }
.hero h1 span:last-child { color: var(--y); }
.hero-sub { font-size: 22px; line-height: 1.75; color: var(--mut); max-width: 28em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-mark { display: flex; justify-content: center; align-items: center; height: 560px; }
.hero-mark svg { width: 460px; height: 465px; direction: ltr; overflow: visible; }
.tape { margin: 88px -104px 0; transform: rotate(-2deg); background: var(--y); color: var(--yi); height: 68px; display: flex; align-items: center; overflow: hidden; }
.tick { display: flex; gap: 48px; width: max-content; font-size: 26px; font-weight: 700; white-space: nowrap; animation: marqR 30s linear infinite; }
[dir="ltr"] .tick { animation-name: marqL; }
.tick > span { display: inline-flex; gap: 48px; }
@keyframes marqR { from { transform: translateX(0); } to { transform: translateX(50%); } }
@keyframes marqL { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.studio { background: var(--y); color: var(--yi); padding: 128px var(--pad) 112px; }
.studio .in-wrap { max-width: var(--wrap); margin: 0 auto; display: flex; flex-direction: column; gap: 48px; }
.label { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; color: var(--y); }
.studio .label { color: var(--yi); font-weight: 700; }
.studio h2 { font-size: clamp(36px, 4.75vw, 68px); line-height: 1.3; font-weight: 700; max-width: 19em; }
.studio h2 .w { transition: opacity .2s linear; }
.studio-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: end; border-top: 2px solid var(--yi); padding-top: 36px; }
.studio-row > p { font-size: 22px; line-height: 1.85; font-weight: 500; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.facts dt { font-size: 14px; font-weight: 600; opacity: .75; }
.facts dd { font-size: 24px; font-weight: 700; line-height: 1.4; }

.games { padding: 128px 0 120px; }
.games-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 48px; }
.games-head h2 { font-size: clamp(56px, 6.7vw, 96px); line-height: 1.1; font-weight: 700; }
.games-head .m { color: var(--mut); font-size: 14px; }
.card { position: relative; border-radius: 0; overflow: hidden; background: #07090C; }
.card-art { display: block; overflow: hidden; }
.card-art img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 1s var(--out); }
.card:hover .card-art img { transform: scale(1.04); }
.card-body { position: absolute; inset: auto 0 0 0; padding: 120px 48px 40px; background: linear-gradient(180deg, rgba(7, 9, 12, 0), rgba(7, 9, 12, .88) 45%, #07090C); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 32px; align-items: end; }
.app-icon { flex: none; width: 112px; height: 112px; border-radius: 26px; overflow: hidden; background: var(--s1); }
.app-icon img { width: 100%; height: 100%; object-fit: cover; }
.card-mid { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.card h3 { font-size: 52px; line-height: 1.15; font-weight: 700; }
.h-ar { font-size: 28px; color: var(--card-ink); letter-spacing: 0; }
.card-mid p { font-size: 18px; line-height: 1.85; color: var(--card-ink); max-width: 34em; }
.card-end { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.card-end .btn { min-height: 52px; }
.hrow, .hcol { display: contents; }
.ico-p { display: none; }

.chip { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 14px; border-radius: 0; background: var(--y); color: var(--yi); font-size: 14px; font-weight: 700; white-space: nowrap; }
.chip .dot { width: 8px; height: 8px; border-radius: 0; background: currentColor; }
.zg .chip { background: var(--sun); color: var(--sun-ink); }

/* Store badges: official artwork untouched; labels sit below, outside the clear space. */
.stores { display: flex; flex-direction: row; align-items: flex-start; gap: 14px; }
.sb { display: flex; flex-direction: column; align-items: center; gap: 2px; border-radius: 0; }
.sb-l { font-size: 13px; font-weight: 700; color: var(--y); line-height: 1.3; }
.zg .sb-l { color: var(--sun); }
.sb-gp img { height: var(--gp-h, 76px); width: auto; }
.sb-as .as-img { height: var(--as-h, 52px); width: auto; margin: var(--as-m, 12px) 0; }
.as-drawn { display: inline-flex; align-items: center; gap: 10px; height: var(--as-h, 52px); margin: var(--as-m, 12px) 0; padding: 0 16px 0 14px; border: 1.5px solid var(--ln); border-radius: 0; background: rgba(7, 9, 12, .7); color: #fff; }
.zg .as-drawn { border-color: var(--gl); background: rgba(14, 10, 8, .7); }
.as-drawn .t { display: flex; flex-direction: column; line-height: 1.1; }
.as-drawn small { font-size: 11px; opacity: .85; }
.as-drawn b { white-space: nowrap; font-size: 19px; letter-spacing: -.01em; direction: ltr; unicode-bidi: isolate; }
html:not([data-apple="official"]) .sb-as .as-img { display: none; }
html[data-apple="official"] .sb-as .as-drawn { display: none; }
html[data-apple="official"] .sb-as { order: -1; }
a.sb[href]:hover img, a.sb[href]:hover .as-drawn { filter: brightness(1.08); }

/* Countdown: solid tabular digits (no outline). */
.cd { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.cd-t { font-size: 14px; font-weight: 700; color: var(--y); }
.zg .cd-t { color: var(--sun); }
.cd-boxes { display: flex; gap: 10px; direction: var(--cd-dir, rtl); }
[dir="ltr"] .cd-boxes { --cd-dir: ltr; }
.cd-b { min-width: 88px; padding: 10px 6px 8px; border-radius: 0; background: #0D1219; border: 1px solid var(--ln); display: flex; flex-direction: column; align-items: center; gap: 2px; direction: inherit; }
.zg .cd-b { background: rgba(14, 10, 8, .65); border-color: var(--gl); }
.cd-n { font-family: var(--f-d); font-size: 44px; font-weight: 700; line-height: 1.05; color: var(--ink); font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; direction: ltr; }
.zg .cd-n { color: var(--g-ink); }
.cd-u { font-size: 12px; font-weight: 600; color: var(--mut); }
.zg .cd-u { color: var(--gm); }
.cd-date { font-size: 13px; color: var(--mut); line-height: 1.6; }
.zg .cd-date { color: var(--gm); }
.date-chip { display: inline-block; padding: 0 6px; border: 1px solid var(--ln); border-radius: 0; color: var(--ink); font-family: var(--f-m); font-size: 12px; direction: ltr; unicode-bidi: isolate; }
.zg .date-chip { border-color: var(--gl); color: var(--g-ink); }

.strip { margin-top: 20px; padding: 28px 36px; border: 1px solid var(--ln); background: var(--s1); border-radius: 0; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.strip-start { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.strip-start p { font-size: 34px; line-height: 1.2; font-weight: 700; }

/* Video facade (click-to-load youtube-nocookie) */
.teaser { margin-top: 64px; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; align-items: center; }
.teaser[hidden], .vsec[hidden] { display: none; }
.teaser-txt { display: flex; flex-direction: column; gap: 18px; }
.teaser h3 { font-size: 52px; line-height: 1.15; font-weight: 700; }
.teaser-txt p:last-child { font-size: 18px; line-height: 1.8; color: var(--mut); }
.vwrap { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #07090C; border-radius: 0; --acc2: var(--y); --pcs: 112px; --vls: 18px; }
.zg .vwrap { --acc2: var(--sun); border-radius: 0; }
.vposter { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--out); }
.vwrap:hover .vposter { transform: scale(1.03); }
.vshade { position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(7, 9, 12, .15), rgba(7, 9, 12, .72)); }
.vbtn { all: unset; box-sizing: border-box; position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; cursor: pointer; color: #fff; }
.vbtn .pc { position: relative; display: flex; align-items: center; justify-content: center; width: var(--pcs); height: var(--pcs); border-radius: 0; background: var(--acc2); color: #0D1219; transition: transform .3s var(--back); box-shadow: 0 12px 40px rgba(0, 0, 0, .45); }
.vbtn .pc svg { width: calc(var(--pcs) * .375); height: calc(var(--pcs) * .375); margin-inline-start: 5px; }
[dir="rtl"] .vbtn .pc svg { margin-inline-start: 0; margin-inline-end: 5px; }
.vbtn .pc::before { content: ""; position: absolute; inset: 0; border-radius: 0; border: 2px solid var(--acc2); animation: vring 2.4s var(--out) infinite; }
.vbtn:hover .pc { transform: scale(1.08); }
.vbtn:focus-visible { outline: none; }
.vbtn:focus-visible .pc { outline: 3px solid #fff; outline-offset: 6px; }
.vbtn .vl { font-weight: 700; font-size: var(--vls); text-shadow: 0 2px 14px rgba(0, 0, 0, .7); }
.vwrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@keyframes vring { 0% { transform: scale(1); opacity: .85; } 100% { transform: scale(1.7); opacity: 0; } }

.inside-head { margin-top: 56px; margin-bottom: 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.inside-head p:first-child { font-size: 18px; font-weight: 600; }
.inside-head p:last-child { font-size: 14px; color: var(--mut); }
.rails { overflow: hidden; display: flex; flex-direction: column; gap: 16px; }
.track { display: flex; gap: 16px; width: max-content; animation: marqR 60s linear infinite; }
.track.rev { animation: marqL 70s linear infinite; margin-inline-start: -220px; }
[dir="ltr"] .track { animation-name: marqL; }
[dir="ltr"] .track.rev { animation-name: marqR; }
.rails:hover .track, .rails.off .track { animation-play-state: paused; }
.shot { flex: none; width: 400px; aspect-ratio: 20 / 9; border-radius: 0; overflow: hidden; background: var(--s1); transition: transform .4s var(--out); }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot:hover { transform: scale(1.04); }

.contact { border-top: 1px solid var(--ln); padding: 128px var(--pad); }
.contact .in-wrap { max-width: var(--wrap); margin: 0 auto; display: flex; flex-direction: column; gap: 28px; }
.contact h2 { font-size: clamp(72px, 8.3vw, 120px); line-height: 1.1; font-weight: 700; }
.contact p { font-size: 22px; line-height: 1.8; color: var(--mut); max-width: 30em; }
.mail { align-self: flex-start; display: inline-flex; align-items: center; gap: 16px; padding-bottom: 10px; border-bottom: 3px solid var(--y); color: var(--y); font-family: var(--f-m); font-size: 34px; direction: ltr; transition: gap .25s var(--out); }
.mail:hover { gap: 22px; }

.ft { background: var(--foot); border-top: 1px solid var(--ln); padding: 72px var(--pad) 40px; }
.ft-grid { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 3fr) auto; gap: 48px; align-items: start; }
.ft-logo { height: 150px; width: auto; margin: -24px -20px 0; }
.ft-col { display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.ft-col p { font-size: 13px; color: var(--mut); font-weight: 600; }
.ft-col a:hover { color: var(--y); }
.ft-bot { max-width: var(--wrap); margin: 48px auto 0; padding-top: 24px; border-top: 1px solid var(--ln); display: flex; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--mut); }
.ft-lang-ph { display: none; }

/* Page transition panel (between site pages only) */
.pt { position: fixed; inset: 0; z-index: 100; pointer-events: none; background: var(--y); transform: translateX(var(--pt-from, 100%)); display: flex; align-items: center; justify-content: center; }
[dir="ltr"] .pt { --pt-from: -100%; }
.pt svg { width: 88px; height: 88px; opacity: 0; }
.pt.go { transform: none; transition: transform .28s var(--out); }
html.pt-in::after { content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; background: var(--y) url("../img/pt-mark.svg") center / 88px no-repeat; animation: ptOut .3s var(--out) .32s both; }
[dir="ltr"].pt-in::after { animation-name: ptOutL; }
@keyframes ptOut { to { transform: translateX(-100%); } }
@keyframes ptOutL { to { transform: translateX(100%); } }

/* =========================================================== GAME PAGE (game zone) */
body.zg { background: var(--g0); color: var(--g-ink); }
.zg .hd { background: linear-gradient(180deg, rgba(13, 18, 25, .85), rgba(13, 18, 25, 0)); }
.crumb { display: flex; align-items: center; gap: 16px; }
.zg .hd .logo svg { width: 125px; height: 44px; }
.logo .mk { display: none; }
.crumb-sep { width: 1px; height: 28px; background: rgba(246, 238, 230, .3); }
.crumb-game img { height: 44px; width: auto; }
.g-hero-img { position: relative; height: 780px; overflow: hidden; }
.g-hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; animation: kb 24s ease-in-out infinite alternate; }
.g-hero-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 10, 8, 0) 50%, rgba(14, 10, 8, .9) 88%, #0E0A08); }
@keyframes kb { from { transform: scale(1); } to { transform: scale(1.08) translateY(-1.5%); } }
.g-panel { width: min(var(--wrap), 100% - 2 * var(--pad)); margin: -170px auto 0; position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 40px; align-items: end; padding: 36px 40px; border-radius: 0; background: rgba(24, 17, 13, .78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--gl); }
.g-panel .app-icon { width: 128px; height: 128px; border-radius: 30px; }
.g-mid { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.g-mid h1 { font-size: 60px; line-height: 1.1; font-weight: 700; }
.g-mid h1 .h-ar { font-size: 32px; color: var(--gm); }
.g-mid > p { font-size: 18px; line-height: 1.85; color: var(--gm); max-width: 40em; }
.g-panel .stores { --gp-h: 80px; --as-h: 54px; --as-m: 13px; }

.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 28px; }
.sec-head h2 { font-size: clamp(36px, 5vw, 72px); line-height: 1.1; font-weight: 700; }
.sec-head p { font-size: 15px; color: var(--gm); }
.vsec { padding-top: 120px; }
.shots-sec { padding: 120px 0 104px; }
.shots-sec .sec-head h2 { line-height: 1.15; }
.stage { position: relative; border-radius: 0; overflow: hidden; aspect-ratio: 20 / 9; background: var(--g1); }
.sl { position: absolute; inset: 0; opacity: 0; transition: opacity .6s linear; }
.sl.on { opacity: 1; }
.sl img { width: 100%; height: 100%; object-fit: cover; }
.stage-open { all: unset; position: absolute; inset: 0; cursor: zoom-in; }
.stage-open:focus-visible { outline: 2px solid var(--sun); outline-offset: -4px; border-radius: 0; }
.stage-shade { position: absolute; inset: auto 0 0 0; height: 180px; background: linear-gradient(180deg, rgba(14, 10, 8, 0), rgba(14, 10, 8, .85)); pointer-events: none; }
.stage-cap { position: absolute; inset-inline-start: 36px; bottom: 32px; pointer-events: none; }
.stage-cap .m { color: var(--sun); font-size: 14px; direction: ltr; unicode-bidi: isolate; }
.stage-cap .d { display: block; font-size: 34px; font-weight: 700; line-height: 1.3; }
.stage-ctl { position: absolute; inset-inline-end: 32px; bottom: 36px; display: flex; gap: 12px; }
.ib { all: unset; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 0; background: rgba(14, 10, 8, .55); border: 1px solid rgba(246, 238, 230, .25); color: var(--g-ink); cursor: pointer; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background-color .25s, border-color .25s, color .25s; }
.ib:hover { background: var(--sun); color: var(--sun-ink); border-color: var(--sun); }
.ib:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; }
.ib .i-play { display: none; }
.ib[aria-pressed="true"] .i-pause { display: none; }
.ib[aria-pressed="true"] .i-play { display: block; }
.bar-t { position: absolute; inset: 0 0 auto 0; height: 4px; background: rgba(246, 238, 230, .15); }
.bar { height: 100%; background: var(--sun); transform: scaleX(0); transform-origin: var(--start-side, right); }
[dir="ltr"] .bar { --start-side: left; }
.bar.run { animation: fill 4s linear both; }
.stage.paused .bar { animation-play-state: paused; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.thumbs { display: flex; gap: 12px; margin-top: 16px; }
.thumbs li { flex: 1; display: flex; min-width: 0; }
.th { all: unset; box-sizing: border-box; flex: 1; aspect-ratio: 20 / 9; border-radius: 0; overflow: hidden; cursor: pointer; opacity: .55; transition: opacity .25s, transform .25s; position: relative; }
.th img { width: 100%; height: 100%; object-fit: cover; }
.th:hover { opacity: 1; transform: translateY(-3px); }
.th[aria-current="true"] { opacity: 1; outline: 2px solid var(--sun); outline-offset: 3px; }
.stage-below { display: none; }

.feat { background: var(--g1); border-top: 1px solid var(--gl); border-bottom: 1px solid var(--gl); }
.feat .wrap { padding: 112px 0; }
.feat h2 { font-size: clamp(36px, 5vw, 72px); line-height: 1.2; font-weight: 700; margin-bottom: 48px; max-width: 20em; }
.fgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.fc { background: var(--g0); border: 1px solid var(--gl); border-radius: 0; padding: 32px; display: flex; flex-direction: column; gap: 14px; transition: transform .35s var(--out), border-color .35s; }
.fc:hover { transform: translateY(-6px); border-color: var(--sun); }
.fc h3 { font-size: 24px; font-weight: 700; line-height: 1.4; }
.fc p { font-size: 16px; line-height: 1.85; color: var(--gm); }
/* Outlined numbers: doubled stroke painted under the fill, so no inner contour lines. */
.num { font-family: var(--f-d); font-size: 64px; font-weight: 700; line-height: 1; color: var(--numbg, var(--g0)); -webkit-text-stroke: 3px var(--sun); paint-order: stroke fill; direction: ltr; align-self: flex-start; }

.support { padding: 112px 0; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; }
.sup-card { border-radius: 0; background: var(--sun); color: var(--sun-ink); padding: 44px; display: flex; flex-direction: column; gap: 18px; }
.sup-card h2 { font-size: 48px; line-height: 1.2; font-weight: 700; }
.sup-card p { font-size: 19px; line-height: 1.85; font-weight: 500; }
.sup-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.sup-chips li { padding: 6px 14px; border-radius: 0; border: 1.5px solid var(--sun-ink); font-weight: 700; font-size: 15px; }
.sup-mail { align-self: flex-start; display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 22px; margin-top: 8px; border-radius: 0; background: var(--sun-ink); color: var(--sun); font-family: var(--f-m); font-size: 15px; border: 1.5px solid var(--sun-ink); direction: ltr; }
.sup-mail:focus-visible { outline-color: var(--sun-ink); }
.sup-links { display: flex; flex-direction: column; gap: 16px; }
.sup-links h2 { font-size: 26px; font-weight: 700; padding-top: 8px; }
.doc-link { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 28px; border-radius: 0; border: 1px solid var(--gl); background: var(--g1); min-height: 84px; transition: border-color .25s, transform .25s var(--out); }
.doc-link:hover { border-color: var(--sun); transform: translateY(-2px); }
.doc-link span span:first-child { font-size: 19px; font-weight: 700; }
.doc-link span span:last-child { font-size: 13px; color: var(--gm); }
.doc-link > span { display: flex; flex-direction: column; gap: 2px; }

.gft { background: var(--foot); border-top: 1px solid var(--ln); color: var(--ink); padding: 56px var(--pad) 36px; }
.gft-row { max-width: var(--wrap); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.back-mz { display: flex; align-items: center; gap: 14px; min-height: 44px; }
.back-mz img { height: 52px; width: auto; margin-inline: -8px; }
.back-mz span { font-size: 15px; color: var(--mut); }
.gft nav { display: flex; gap: 28px; font-size: 15px; }
.gft nav a:hover { color: var(--y); }
.gft-rights { max-width: var(--wrap); margin: 28px auto 0; padding-top: 20px; border-top: 1px solid var(--ln); font-size: 14px; color: var(--mut); }

/* Lightbox */
.lb { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #070504; color: var(--g-ink); }
.lb::backdrop { background: #070504; }
.lb[open] { display: flex; flex-direction: column; }
.lb-grid { position: absolute; inset: 0; opacity: .18; pointer-events: none; background-image: linear-gradient(rgba(255, 177, 59, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 177, 59, .08) 1px, transparent 1px); background-size: 32px 32px; }
.lb-top { position: relative; display: flex; align-items: center; justify-content: space-between; height: 88px; padding: 0 48px; }
.lb-top > div { display: flex; align-items: baseline; gap: 16px; }
.lb-top h2 { font-size: 22px; font-weight: 600; }
.lb-top p { font-size: 15px; color: var(--gm); }
.lb .ib { background: rgba(246, 238, 230, .08); border-color: rgba(246, 238, 230, .18); }
.lb .ib:hover { background: rgba(255, 177, 59, .18); border-color: var(--sun); color: var(--g-ink); }
.lb-mid { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; gap: 32px; padding: 0 48px; min-height: 0; }
.lb-fig { margin: 0; width: min(1120px, 100%); aspect-ratio: 20 / 9; border-radius: 0; overflow: hidden; }
.lb-fig img { width: 100%; height: 100%; object-fit: cover; animation: lbIn .25s var(--out) both; }
@keyframes lbIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
.lb-bot { position: relative; height: 120px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.lb-th { display: flex; gap: 8px; }
.lb-th button { all: unset; box-sizing: border-box; position: relative; width: 96px; height: 43px; border-radius: 0; overflow: hidden; cursor: pointer; border: 1px solid transparent; }
.lb-th button img { width: 100%; height: 100%; object-fit: cover; }
.lb-th button[aria-current="true"] { border: 2px solid var(--sun); }
.lb-th button:focus-visible { outline: 2px solid var(--sun); outline-offset: 2px; }
.lb-bot > p { font-size: 13px; color: var(--gm); }
.lb-dots, .lb-cap { display: none; }

/* =========================================================== LEGAL */
body.legal { --ink: #EEF0F3; --body: #D5DAE1; }
.lg-hd { border-bottom: 1px solid var(--ln); }
.lg-hd .hd-row { height: 72px; }
.lg-crumb { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.lg-crumb img { height: 37px; width: auto; margin-inline: -6px; }
.lg-crumb .sep { color: #5A6470; }
.lg-crumb a:not(:first-child) { color: var(--mut); }
.lg-crumb a:hover { color: var(--y); }
.legal .lang-menu [aria-current] { color: var(--ink); }
.draft { background: #2A1F0B; border-bottom: 1px solid #6B4E14; color: #FFD08A; }
.draft .wrap { display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: 14px; font-weight: 600; padding: 8px 0; }
.draft svg { flex: none; }
.lg-head { padding-top: 48px; }
.back { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--mut); min-height: 44px; }
.back:hover { color: var(--y); }
.lg-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; padding: 20px 0 36px; border-bottom: 1px solid var(--ln); }
.lg-title > div { display: flex; flex-direction: column; gap: 12px; }
.lg-title h1 { font-size: 52px; line-height: 1.2; font-weight: 600; }
.lg-meta { font-size: 17px; color: var(--mut); }
.docs { display: inline-flex; flex: none; border: 1px solid var(--ln); border-radius: 0; overflow: hidden; font-size: 15px; font-weight: 600; }
.docs a, .docs span { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 18px; color: var(--mut); }
.docs [aria-current] { background: var(--s2); color: var(--ink); }
.docs a:hover { color: var(--ink); }
.ph { font-family: var(--f-m); font-size: 14px; color: var(--ph); border: 1px dashed var(--ph); padding: 1px 6px; border-radius: 0; white-space: nowrap; direction: ltr; unicode-bidi: isolate; }
.lg-body { padding: 48px 0 96px; display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 72px; align-items: start; }
.toc { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 2px; max-height: calc(100vh - 48px); overflow-y: auto; }
.toc > p { color: var(--mut); font-size: 13px; font-weight: 600; padding: 0 12px 10px; }
.toc a { display: flex; gap: 10px; padding: 7px 12px; font-size: 15px; line-height: 1.6; color: var(--mut); border-inline-start: 2px solid transparent; }
.toc a:hover { color: var(--ink); }
.toc a[aria-current="true"] { color: var(--ink); border-inline-start-color: var(--y); background: var(--s1); }
.toc .n { font-family: var(--f-m); font-size: 13px; min-width: 22px; color: #8A939F; }
.toc-ph { display: none; }
.prose { max-width: 760px; display: flex; flex-direction: column; gap: 56px; min-width: 0; }
.prose section { display: flex; flex-direction: column; gap: 18px; scroll-margin-top: 24px; }
.prose h2 { font-size: 28px; line-height: 1.4; font-weight: 600; display: flex; gap: 14px; }
.prose h2 .m { font-size: 16px; color: var(--y); padding-top: 7px; letter-spacing: 0; }
.prose p, .prose li { font-size: 18px; line-height: 2; color: var(--body); }
.prose ul.list { display: flex; flex-direction: column; gap: 6px; padding-inline-start: 22px; list-style: disc; }
.prose ul.list li::marker { color: var(--y); }
.prose a { color: var(--y); text-decoration: underline; text-underline-offset: 4px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose code { font-family: var(--f-m); font-size: .85em; padding: 1px 6px; border-radius: 0; background: var(--s1); border: 1px solid var(--ln); direction: ltr; unicode-bidi: isolate; }
.tbl { overflow-x: auto; border: 1px solid var(--ln); }
.prose table { border-collapse: collapse; width: 100%; font-size: 15px; line-height: 1.8; }
.prose th, .prose td { text-align: start; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--ln); }
.prose th { font-weight: 600; color: var(--ink); background: var(--s1); font-size: 14px; }
.prose td { color: var(--body); }
.prose tr:last-child td { border-bottom: 0; }
.sum { background: var(--s1); border: 1px solid var(--ln); border-top: 3px solid var(--y); padding: 36px 40px; display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 24px; }
.sum-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.sum-h h2 { font-size: 26px; font-weight: 600; display: flex; align-items: center; gap: 12px; }
.sum-h > span { font-size: 13px; color: var(--mut); }
.px3 { display: flex; align-items: flex-end; gap: 3px; }
.px3 i { background: var(--y); }
.px3 i:nth-child(1) { width: 12px; height: 12px; } .px3 i:nth-child(2) { width: 6px; height: 6px; } .px3 i:nth-child(3) { width: 3px; height: 3px; }
.sum ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
.sum li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; padding: 14px 0; border-top: 1px solid var(--ln); }
.sum li .m { color: var(--y); font-size: 13px; padding-top: 3px; letter-spacing: 0; }
.sum li span:last-child { font-size: 16px; line-height: 1.8; color: var(--body); }
.to-top { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; min-height: 44px; font-size: 15px; color: var(--y); }
.lg-ft { border-top: 1px solid var(--ln); }
.lg-ft .wrap { padding: 36px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--mut); }
.lg-ft nav { display: flex; gap: 24px; }
.lg-ft nav a { display: inline-flex; align-items: center; min-height: 44px; }
.lg-ft [aria-current] { color: var(--ink); }
.lg-ft a:hover { color: var(--y); }

/* =========================================================== 404 */
.nf { min-height: calc(100vh - 88px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 48px; padding: 0 var(--pad) 64px; max-width: calc(var(--wrap) + 2 * var(--pad)); margin: 0 auto; }
.nf-art { display: flex; align-items: flex-end; gap: 16px; direction: ltr; }
.nf-art i { background: var(--ink); }
.nf-art i:nth-child(1) { width: 256px; height: 256px; } .nf-art i:nth-child(2) { width: 128px; height: 128px; } .nf-art i:nth-child(3) { width: 64px; height: 64px; } .nf-art i:nth-child(4) { width: 32px; height: 32px; background: none; border: 2px solid var(--ln); }
.nf-txt { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.nf-txt .m { color: var(--y); font-size: 16px; }
.nf-txt h1 { font-size: 56px; line-height: 1.2; font-weight: 700; }
.nf-txt p { font-size: 18px; color: var(--mut); }
.nf-txt div { display: flex; gap: 12px; flex-wrap: wrap; }
.nf-hd { position: static; }

/* =========================================================== Tablet */
@media (max-width: 1100px) {
  .card-body { position: static; padding: 24px 28px 28px; background: var(--s1); grid-template-columns: auto minmax(0, 1fr); }
  .card { background: var(--s1); border: 1px solid var(--ln); }
  .card-end { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; flex-wrap: wrap; }
  .g-panel { grid-template-columns: auto minmax(0, 1fr); }
  .g-panel > .stores { grid-column: 1 / -1; }
  .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-mark svg { width: 320px; height: 324px; }
  .hero-mark { height: 420px; }
  .teaser { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .lg-body { grid-template-columns: 260px minmax(0, 1fr); gap: 40px; }
  .ft-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); }
  .ft-grid .lang { grid-column: 1 / -1; justify-self: start; }
}

/* =========================================================== Phone (390 boards) */
@media (max-width: 860px) {
  .hd { position: static; }
  .hd-row { height: 68px; }
  .hd .nav { display: none; }
  .pnav { display: block; }
  .hd .logo svg { width: 114px; height: 40px; margin-inline: -6px; }
  .hero { padding: 44px var(--pad) 40px; background: radial-gradient(420px 360px at 70% 30%, rgba(243, 201, 84, .12), transparent 70%), var(--bg); }
  [dir="ltr"] .hero { background: radial-gradient(420px 360px at 30% 30%, rgba(243, 201, 84, .12), transparent 70%), var(--bg); }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hero-txt { gap: 22px; }
  .eyebrow { font-size: 15px; }
  .eyebrow .sq { width: 9px; height: 9px; }
  .hero h1 { font-size: 50px; line-height: 1.2; }
  .hero-sub { font-size: 18px; }
  .hero-cta { flex-direction: column; gap: 12px; }
  .hero-cta .btn { padding: 0 24px; }
  .hero-mark { height: auto; padding: 42px 0 8px; }
  .hero-mark svg { width: 230px; height: 233px; }
  .tape { margin: 32px -60px 0; transform: rotate(-3deg); height: 50px; }
  .tick { font-size: 19px; gap: 32px; animation-duration: 24s; }
  .tick > span { gap: 32px; }

  .studio { padding: 64px var(--pad) 56px; }
  .studio .in-wrap { gap: 24px; }
  .studio .label { font-size: 15px; }
  .studio h2 { font-size: 36px; line-height: 1.35; }
  .studio-row { display: flex; flex-direction: column; gap: 24px; padding-top: 20px; }
  .studio-row > p { font-size: 18px; }
  .facts { display: flex; flex-direction: column; gap: 14px; width: 100%; }
  .facts > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-bottom: 1px solid rgba(13, 18, 25, .25); padding-bottom: 12px; }
  .facts > div:last-child { border-bottom: 0; padding-bottom: 0; }
  .facts dd { font-size: 19px; text-align: end; }

  .games { padding: 64px 0 56px; }
  .games-head { margin-bottom: 24px; }
  .games-head h2 { font-size: 56px; line-height: 1.15; }
  .games-head .m { display: none; }
  .card { border-radius: 0; }
  .card-body { padding: 22px 20px 24px; display: flex; flex-direction: column; gap: 16px; align-items: stretch; }
  .ico-d { display: none !important; }
  .ico-p { display: block; }
  .hrow { display: flex; align-items: center; gap: 14px; }
  .hcol { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
  .zg .hrow { gap: 16px; }
  .zg .hcol h1 { order: -1; }
  .app-icon { width: 72px; height: 72px; border-radius: 17px; }
  .card-mid { gap: 16px; }
  .card-mid .chip { height: 28px; padding: 0 12px; font-size: 13px; }
  .card h3 { font-size: 30px; line-height: 1.2; }
  .card .h-ar { display: block; font-size: 16px; }
  .card-mid p { font-size: 16px; }
  .card-end { flex-direction: column; align-items: stretch; gap: 16px; }
  .card-end .btn { width: 100%; }
  .stores { gap: 10px; --gp-h: 68px; --as-h: 46px; --as-m: 11px; }
  .card-end .stores { align-self: flex-start; }
  .as-drawn b { font-size: 17px; }
  .strip { margin-top: 16px; padding: 20px; border-radius: 0; flex-direction: column; align-items: flex-start; gap: 14px; }
  .strip-start p { display: none; }
  .strip-start .chip { height: 28px; padding: 0 12px; font-size: 13px; }
  .cd { gap: 8px; }
  .cd-t { font-size: 13px; }
  .cd-boxes { gap: 8px; }
  .cd-b { min-width: 64px; padding: 8px 6px 6px; border-radius: 0; }
  .cd-n { font-size: 30px; }
  .cd-u { font-size: 11px; }
  .cd-date { font-size: 12px; }
  .teaser { margin-top: 36px; gap: 14px; display: flex; flex-direction: column; }
  .teaser-txt { gap: 14px; }
  .teaser-txt .label { font-size: 15px; }
  .teaser h3 { font-size: 28px; line-height: 1.3; }
  .teaser-txt p:last-child { display: none; }
  .vwrap { border-radius: 0; --pcs: 76px; --vls: 16px; }
  .zg .vwrap { border-radius: 0; }
  .inside-head { margin: 36px 0 14px; }
  .inside-head p:first-child { font-size: 16px; }
  .inside-head p:last-child { display: none; }
  .rails { gap: 12px; }
  .track { gap: 12px; animation-duration: 45s; }
  .track.rev { animation-duration: 55s; margin-inline-start: -140px; }
  .shot { width: 280px; border-radius: 0; }
  .contact { padding: 64px var(--pad); }
  .contact .in-wrap { gap: 20px; }
  .contact .label { font-size: 15px; }
  .contact h2 { font-size: 72px; }
  .contact p { font-size: 17px; }
  .mail { font-size: 16px; gap: 10px; min-height: 44px; padding-bottom: 6px; border-bottom-width: 2px; }
  .mail svg { width: 20px; height: 20px; }
  .ft { padding: 40px var(--pad) 28px; }
  .ft-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .ft-grid > .lang { display: none; }
  .ft-top { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; }
  .ft-lang-ph { display: inline-flex; }
  .ft-logo { height: 104px; margin: -14px -14px -14px 0; }
  .ft-col { gap: 0; font-size: 15px; }
  .ft-col a { line-height: 44px; }
  .ft-bot { margin-top: 28px; padding-top: 18px; font-size: 13px; }
  .ft-bot p:last-child { display: none; }

  /* game */
  .zg .hd { position: static; background: var(--bg); }
  .zg .hd-row { height: 64px; }
  .crumb { gap: 12px; }
  .zg .hd .logo svg:not(.mk) { display: none; }
  .zg .hd .logo .mk { display: block; width: 28px; height: 28px; }
  .crumb-sep { height: 24px; }
  .crumb-game img { height: 36px; }
  .g-hero-img { height: auto; aspect-ratio: 4 / 3; }
  .g-hero-img img { object-position: 30% 40%; }
  .g-hero-img::after { inset: auto 0 0 0; height: 90px; background: linear-gradient(180deg, rgba(14, 10, 8, 0), #0E0A08); }
  .g-panel { width: auto; margin: 0; padding: 4px var(--pad) 40px; display: flex; flex-direction: column; gap: 16px; align-items: stretch; background: none; border: 0; border-radius: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .g-panel .app-icon { width: 84px; height: 84px; border-radius: 20px; }
  .g-mid { gap: 16px; }
  .g-mid h1 { font-size: 36px; line-height: 1.2; }
  .g-mid h1 .h-ar { display: block; font-size: 16px; font-weight: 600; margin-top: 4px; }
  .g-mid .chip { height: 28px; padding: 0 12px; font-size: 13px; }
  .g-mid > p { font-size: 16px; }
  .g-panel .stores { --gp-h: 68px; --as-h: 46px; --as-m: 11px; }
  .vsec { padding: 40px var(--pad) 8px; border-top: 1px solid var(--gl); width: auto; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
  .sec-head h2 { font-size: 36px; line-height: 1.25; }
  .sec-head p { line-height: 1.7; }
  .shots-sec { padding: 40px 0 48px; border-top: 1px solid var(--gl); width: auto; }
  .shots-sec .sec-head { padding: 0 var(--pad); margin-bottom: 16px; }
  .shots-sec .sec-head p { display: none; }
  .stage { margin: 0 var(--pad); border-radius: 0; }
  .stage-open:focus-visible { border-radius: 0; }
  .stage-shade, .stage-cap, .stage-ctl { display: none; }
  .bar-t { height: 3px; }
  .stage-below { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 12px var(--pad) 0; min-height: 56px; }
  .stage-below .m { color: var(--sun); direction: ltr; unicode-bidi: isolate; }
  .stage-below .d { display: block; font-size: 20px; font-weight: 700; }
  .stage-below .ctl { display: flex; gap: 8px; }
  .stage-below .ib { width: 44px; height: 44px; }
  .thumbs { overflow-x: auto; gap: 8px; margin: 0; padding: 12px var(--pad) 4px; scrollbar-width: none; }
  .thumbs::-webkit-scrollbar { display: none; }
  .thumbs li { flex: none; }
  .th { flex: none; width: 96px; border-radius: 0; }
  .th[aria-current="true"] { outline-offset: 2px; }
  .swipe { display: flex; align-items: center; gap: 8px; padding: 12px var(--pad) 0; font-size: 14px; color: var(--gm); }
  .feat .wrap { padding: 48px 0; width: auto; margin: 0 var(--pad); }
  .feat h2 { font-size: 36px; line-height: 1.3; margin-bottom: 20px; }
  .fgrid { display: flex; flex-direction: column; gap: 10px; }
  .fc { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 4px 14px; align-items: start; padding: 20px; border-radius: 0; }
  .fc:hover { transform: none; }
  .num { font-size: 40px; -webkit-text-stroke-width: 2.4px; }
  .fc h3 { font-size: 19px; }
  .fc p { font-size: 15px; line-height: 1.8; }
  .support { padding: 48px var(--pad); width: auto; display: flex; flex-direction: column; gap: 16px; }
  .sup-card { border-radius: 0; padding: 28px 22px; gap: 14px; }
  .sup-card h2 { font-size: 32px; line-height: 1.25; }
  .sup-card p { font-size: 16px; }
  .sup-chips { gap: 8px; }
  .sup-chips li { padding: 4px 12px; font-size: 14px; }
  .sup-mail { align-self: stretch; min-height: 52px; margin-top: 0; font-size: 13px; }
  .sup-links h2 { font-size: 22px; margin-top: 20px; padding-top: 0; }
  .doc-link { padding: 16px 20px; border-radius: 0; min-height: 68px; }
  .doc-link span span:first-child { font-size: 17px; }
  .gft { padding: 32px var(--pad) 24px; }
  .gft-row nav { display: none; }
  .back-mz { gap: 8px; }
  .back-mz img { height: 40px; margin-inline: -6px; }
  .back-mz span { font-size: 13px; }
  .gft-rights { margin-top: 20px; padding-top: 16px; font-size: 13px; }

  .lb-top { height: 72px; padding: 0 16px 0 20px; }
  .lb-top h2 { display: none; }
  .lb .ib { width: 52px; height: 52px; }
  .lb-mid { flex-direction: column; justify-content: center; gap: 16px; padding: 0; }
  .lb-mid > .ib { display: none; }
  .lb-fig { width: 100%; border-radius: 0; }
  .lb-cap { display: block; align-self: stretch; padding: 0 20px; font-size: 20px; font-weight: 600; }
  .lb-bot { height: auto; flex-direction: row; justify-content: space-between; padding: 0 20px 36px; }
  .lb-bot > p, .lb-th { display: none; }
  .lb-dots { display: flex; gap: 5px; }
  .lb-dots i { width: 4px; height: 4px; background: var(--gl); }
  .lb-dots i.on { width: 16px; background: var(--sun); }

  /* legal */
  .lg-hd .hd-row { height: 64px; }
  .lg-crumb > :not(:first-child) { display: none; }
  .lg-crumb img { height: 34px; margin-inline: -5px; }
  .draft .wrap { width: auto; margin: 0; padding: 10px var(--pad); align-items: flex-start; font-size: 13px; line-height: 1.7; gap: 10px; }
  .lg-head { padding: 20px var(--pad) 0; width: auto; display: flex; flex-direction: column; gap: 14px; }
  .back { font-size: 14px; }
  .lg-title { flex-direction: column; align-items: stretch; gap: 14px; padding: 0; border: 0; }
  .lg-title > div { gap: 14px; }
  .lg-title h1 { font-size: 36px; line-height: 1.25; }
  .lg-meta { font-size: 15px; line-height: 1.9; }
  .lg-meta .ph-wrap::before { content: ""; display: block; }
  .docs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); text-align: center; font-size: 14px; }
  .docs a, .docs span { padding: 0 8px; }
  .toc-ph { display: block; border: 1px solid var(--ln); background: var(--s1); margin-top: 6px; }
  .toc-ph summary { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 16px; font-weight: 600; font-size: 16px; cursor: pointer; list-style: none; }
  .toc-ph summary::-webkit-details-marker { display: none; }
  .toc-ph summary span { display: flex; align-items: center; gap: 8px; color: var(--mut); font-size: 14px; font-weight: 500; }
  .toc-ph[open] summary svg { transform: rotate(180deg); }
  .toc-ph .toc { position: static; max-height: none; padding: 0 4px 12px; }
  .lg-body { display: block; padding: 36px var(--pad) 48px; width: auto; }
  .lg-body > .toc { display: none; }
  .prose { gap: 40px; }
  .prose section { gap: 14px; }
  .prose h2 { font-size: 22px; line-height: 1.5; display: block; }
  .prose h2 .m { font-size: 14px; margin-inline-end: 8px; padding: 0; }
  .prose p, .prose li { font-size: 16px; line-height: 1.9; }
  .sum { padding: 24px 20px; }
  .sum ul { grid-template-columns: minmax(0, 1fr); }
  .sum li span:last-child { font-size: 15px; }
  .ph { white-space: normal; word-break: break-word; }
  .lg-ft .wrap { width: auto; margin: 0; padding: 24px var(--pad); flex-direction: column-reverse; align-items: flex-start; gap: 12px; }
  .lg-ft nav { gap: 20px; }

  .nf { grid-template-columns: minmax(0, 1fr); padding-top: 48px; min-height: 0; }
  .nf-art i:nth-child(1) { width: 96px; height: 96px; } .nf-art i:nth-child(2) { width: 48px; height: 48px; } .nf-art i:nth-child(3) { width: 24px; height: 24px; } .nf-art i:nth-child(4) { width: 12px; height: 12px; }
  .nf-art { gap: 8px; }
  .nf-txt h1 { font-size: 36px; }
  .nf-txt .btn { width: 100%; }
  .nf-txt div { width: 100%; flex-direction: column; }
}
@media (min-width: 861px) { .swipe { display: none; } }

/* =========================================================== Reduced motion: everything settles at its final frame. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  html.js .rv-s { opacity: 1; transform: none; }
  .tape { transform: none; }
  .bar { transform: scaleX(0); }
  html.pt-in::after { display: none; }
}
/* focus rings on elements reset with `all: unset` */
.th:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; opacity: 1; }
