/* ASDA 2 REMAKE public site, look "Night" (owner, 2026-10-25), raised to the remade game (2026-11-11): every picture
   is a frame the game draws, full bleed under a navy fade; the game's zone caption (a cream name between gold
   hairlines that end in diamonds) is the one ornament; gold buttons; headings in the trailer's display faces.
   Arabic RTL is the default; offsets are logical and the side fade flips with [dir]. One dark look, by choice. */
@font-face { font-family: 'IBM Plex Sans Arabic'; src: url('/assets/fonts/ibm-plex-sans-arabic-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'IBM Plex Sans Arabic'; src: url('/assets/fonts/ibm-plex-sans-arabic-600.woff2') format('woff2'); font-weight: 500 600; font-display: swap; }
@font-face { font-family: 'IBM Plex Sans Arabic'; src: url('/assets/fonts/ibm-plex-sans-arabic-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
/* Russian body text in the same family (IBM Plex Sans), so a Latin word beside it keeps its weight; fetched only by a page with Cyrillic. */
@font-face { font-family: 'IBM Plex Sans Arabic'; src: url('/assets/fonts/ibm-plex-sans-cyrillic-400.woff2') format('woff2'); font-weight: 400; font-display: swap; unicode-range: U+0400-045F; }
@font-face { font-family: 'IBM Plex Sans Arabic'; src: url('/assets/fonts/ibm-plex-sans-cyrillic-600.woff2') format('woff2'); font-weight: 500 600; font-display: swap; unicode-range: U+0400-045F; }
@font-face { font-family: 'IBM Plex Sans Arabic'; src: url('/assets/fonts/ibm-plex-sans-cyrillic-700.woff2') format('woff2'); font-weight: 700; font-display: swap; unicode-range: U+0400-045F; }
/* Headings: the trailer's faces, each kept to its script so Latin and Cyrillic never fall into the Arabic face. */
@font-face { font-family: 'ASDA Display'; src: url('/assets/fonts/reem-kufi-700.woff2') format('woff2'); font-weight: 700; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: 'ASDA Display'; src: url('/assets/fonts/unbounded-700.woff2') format('woff2'); font-weight: 700; font-display: swap; unicode-range: U+0020-024F, U+2010-2027; }
@font-face { font-family: 'ASDA Display'; src: url('/assets/fonts/ibm-plex-sans-cyrillic-700.woff2') format('woff2'); font-weight: 700; font-display: swap; unicode-range: U+0400-045F; }

:root {
  color-scheme: dark;
  --font: 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, system-ui, sans-serif;
  --display: 'ASDA Display', var(--font);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --g: 20px;
  --bg: #050c24; --bg-2: #0a1534; --card: #0c1a40;
  --line: rgba(150, 180, 255, .14); --line-2: rgba(150, 180, 255, .26);
  --text: #eef3ff; --text-2: #b0bddd; --text-3: #8393bb;
  --primary: #f6c445; --primary-hi: #ffd35c; --on-primary: #221700;
  --primary-glow: 0 10px 30px -12px rgba(246, 196, 69, .6), inset 0 1px 0 rgba(255, 255, 255, .5);
  --ghost-bg: rgba(255, 255, 255, .07); --ghost-bg-hi: rgba(255, 255, 255, .13); --ghost-line: rgba(255, 255, 255, .3);
  --accent: #6cc0ff; --ok: #8fd84a; --bad: #ff9184;
  --cap: #f3e2b4; --cap-line: #d4b060; --cap-shadow: 0 2px 12px rgba(0, 0, 0, .55);
  --field: #071029; --field-line: rgba(150, 180, 255, .24);
  --header-bg: rgba(5, 12, 36, .84);
  --shot-ring: 0 0 0 1px rgba(150, 180, 255, .22), 0 24px 50px -24px rgba(0, 0, 0, .8);
  --backdrop: rgba(2, 6, 20, .66);
  --toast-bg: #0d1c4a; --toast-line: rgba(255, 255, 255, .2);
  --shade: 5, 12, 36;   /* --bg as r, g, b for the hero's fades */
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.7 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
h1, h2, h3 { margin: 0; line-height: 1.3; text-wrap: balance; }
p { text-wrap: pretty; }   /* no lone last word */
p { margin: 0; }
.wrap { max-width: 1200px; margin-inline: auto; padding-left: max(var(--g), env(safe-area-inset-left, 0px)); padding-right: max(var(--g), env(safe-area-inset-right, 0px)); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.phone { display: none !important; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 10px 22px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer; user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform 160ms var(--ease), background-color 160ms var(--ease), border-color 160ms var(--ease), opacity 160ms;
}
.btn:active { transform: scale(.97); }
.btn:disabled { cursor: progress; opacity: .72; transform: none; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--primary); color: var(--on-primary); box-shadow: var(--primary-glow); }
.btn-ghost { background: var(--ghost-bg); border-color: var(--ghost-line); color: var(--text); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-block { width: 100%; }
.link { background: none; border: 0; padding: 0; cursor: pointer; color: var(--text-2); font-weight: 500; text-decoration: none; }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:not(:disabled):hover { background: var(--primary-hi); }
  .btn-ghost:hover { background: var(--ghost-bg-hi); }
  .link:not(:disabled):hover, .nav a:hover, .foot nav a:hover { color: var(--text); }
}

/* Header: part of the picture over the hero, glass once the page scrolls. */
.top { position: fixed; inset: 0 0 auto; z-index: 20; padding-top: env(safe-area-inset-top, 0px); transition: background-color 200ms var(--ease), box-shadow 200ms var(--ease); }
.top.solid { background: var(--header-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.top-in { display: flex; align-items: center; gap: 32px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 44px; min-height: 44px; text-decoration: none; font-weight: 700; font-size: 13px; letter-spacing: .08em; direction: ltr; white-space: nowrap; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav { display: flex; align-items: center; gap: clamp(14px, 1.5vw, 24px); }
.menu-toggle { display: none; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--text-2); font-weight: 500; font-size: 15px; transition: color 160ms; }
.top-end { margin-inline-start: auto; display: flex; align-items: center; gap: 20px; }
.top-end .link { min-height: 44px; }
.top:not(.solid) .nav a, .top:not(.solid) .link, .top:not(.solid) .lang-pick { color: rgba(255, 255, 255, .86); text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }
/* The language list: a globe and the system's own select, each language named in itself. */
.lang-pick { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--text-2); font-weight: 500; font-size: 15px; }
.lang-pick svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; }
.lang-pick select { appearance: none; -webkit-appearance: none; field-sizing: content; min-width: 44px; height: 44px; background: none; border: 0; padding: 0; margin: 0; font: inherit; color: inherit; cursor: pointer; text-shadow: inherit; }
.lang-pick select:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; border-radius: 4px; }
.lang-pick option { background: var(--card); color: var(--text); text-shadow: none; }

/* Zone caption: the game's zone title. */
.zc { display: flex; align-items: center; gap: 14px; direction: ltr; margin: 0; color: var(--cap); font-weight: 600; }
.zc span { white-space: nowrap; text-shadow: var(--cap-shadow); }
.zc i { flex: 1; min-width: 20px; height: 1px; position: relative; }
.zc i:first-child { background: linear-gradient(to right, transparent, var(--cap-line)); }
.zc i:last-child { background: linear-gradient(to left, transparent, var(--cap-line)); }
.zc i::after { content: ""; position: absolute; top: 50%; width: 6px; height: 6px; background: var(--cap-line); transform: translateY(-50%) rotate(45deg); }
.zc i:first-child::after { right: -3px; }
.zc i:last-child::after { left: -3px; }

/* Hero: a frame of the game full bleed, and on a wide screen the silent film over it (site.js). */
.hero { position: relative; isolation: isolate; min-height: clamp(660px, 100svh, 980px); display: flex; align-items: flex-end; overflow: hidden; }
.hero-art { position: absolute; inset: 0; z-index: -2; background: var(--bg-2); }
.hero-art img, .hero-art video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-art video { opacity: 0; transition: opacity 1200ms ease; }
.hero-art video.on { opacity: 1; }
.hero-motion { position: absolute; inset-inline-end: max(var(--g), calc((100% - 1160px) / 2)); bottom: 28px; min-height: 44px; padding: 8px 14px; border-radius: 12px; color: var(--text); background: var(--bg); border: 1px solid var(--ghost-line); font: 600 14px/1.3 var(--font); cursor: pointer; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(to bottom, rgba(var(--shade), .7) 0, rgba(var(--shade), 0) 20%),
  linear-gradient(to top, var(--bg) 0, rgba(var(--shade), .9) 18%, rgba(var(--shade), .35) 50%, rgba(var(--shade), 0) 74%); }
.hero-shade::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to left, rgba(var(--shade), .78), rgba(var(--shade), 0) 60%); }
[dir="ltr"] .hero-shade::after { background: linear-gradient(to right, rgba(var(--shade), .78), rgba(var(--shade), 0) 60%); }
.hero-in { width: 100%; padding-block: 132px 72px; }
.hero-copy { display: grid; gap: 16px; justify-items: start; max-width: 640px; }
.logo { width: clamp(220px, 26vw, 380px); height: auto; filter: drop-shadow(0 14px 30px rgba(0, 0, 0, .4)); }
.soon { display: inline-flex; align-items: center; gap: 10px; color: var(--cap); font-weight: 600; font-size: 15px; text-shadow: var(--cap-shadow); }
.soon i { width: 7px; height: 7px; background: var(--cap-line); transform: rotate(45deg); }
h1, h2, .tile h3, .tongues h3 { font-family: var(--display); font-weight: 700; }
.hero h1 { font-size: clamp(32px, 3.9vw, 54px); line-height: 1.25; text-shadow: 0 2px 24px rgba(0, 0, 0, .45); }
html:not([lang="ar"]) .hero h1 { font-size: clamp(26px, 2.9vw, 40px); line-height: 1.3; letter-spacing: -.01em; }
.lead { font-size: clamp(16px, 1.3vw, 19px); color: #d3dcf3; max-width: 32em; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.watch { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 0; border: 0; background: none; cursor: pointer; font-weight: 600; font-size: 16px; color: var(--text); text-shadow: 0 1px 10px rgba(0, 0, 0, .6); }
.watch .ring { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .7); background: rgba(var(--shade), .35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background-color 160ms var(--ease), border-color 160ms var(--ease), transform 160ms var(--ease); }
.watch svg { width: 20px; height: 20px; fill: currentColor; }
.watch:active .ring { transform: scale(.94); }
.req { font-size: 14px; color: var(--text-3); }

/* Sections share one head: a display title and one quiet line. */
.sec-head { display: grid; gap: 10px; margin-bottom: 36px; max-width: 760px; }
.sec-head h2 { font-size: clamp(26px, 2.8vw, 40px); }
html:not([lang="ar"]) .sec-head h2 { font-size: clamp(21px, 2.1vw, 30px); letter-spacing: -.01em; }
.sec-head p { color: var(--text-2); font-size: 17px; }

/* Releases and the current daily event share a single, crawlable noticeboard. */
.news { padding-block: clamp(44px, 6vw, 82px); border-block-end: 1px solid var(--line); background: var(--bg-2); }
.news .sec-head { margin-bottom: clamp(18px, 3vw, 32px); }
.news-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); column-gap: clamp(28px, 6vw, 82px); align-items: start; }
.news-story { grid-column: 1; padding-block: 18px; border-block-start: 1px solid var(--line-2); }
.news-story:first-child { border-color: var(--cap-line); }
.news-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; font-size: 14px; color: var(--text-2); }
.news-meta span, .news-event-kind { color: var(--cap); font-weight: 600; }
.news-story h3 { font: 700 clamp(19px, 1.65vw, 24px)/1.32 var(--font); margin-block: 2px 1px; }
.news-story h3 a { min-height: 44px; display: inline-flex; align-items: center; gap: 9px; text-decoration-color: var(--line-2); text-decoration-thickness: 1px; text-underline-offset: .2em; }
.news-story h3 a svg { width: .72em; height: .72em; flex: none; fill: none; stroke: var(--cap-line); stroke-width: 1.8; }
[dir="rtl"] .news-story h3 a svg { transform: scaleX(-1); }
.news-story h3 a:hover, .news-actions a:hover { color: var(--cap); text-decoration-color: currentColor; }
.news-story > p, .news-event-copy > p { line-height: 1.55; }
.news-story > p, .news-event-copy > p:not([class]) { color: var(--text-2); }
.news-event { grid-column: 2; grid-row: 1 / span 3; overflow: hidden; border: 1px solid var(--line-2); border-radius: 14px; background: var(--card); }
.news-event > img { width: 100%; height: auto; aspect-ratio: 2.85; object-fit: cover; object-position: center 45%; }
.news-event-copy { padding: clamp(16px, 2.2vw, 26px); }
.news-event-copy bdi { white-space: nowrap; }
.news-event-kind, .war-zone { font-size: 14px; }
.news-event-copy h3 { font-size: clamp(21px, 2.2vw, 30px); margin-block: 2px 12px; }
.war-zone { color: var(--text-2); }
.news-event-copy .war-hours { font: 600 clamp(20px, 2.1vw, 26px)/1.4 var(--font); text-align: start; margin-block: 0 12px; font-variant-numeric: tabular-nums; }
[dir="rtl"] .war-hours { text-align: right; }
.news-actions { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 18px; margin-block-start: 7px; }
.news-actions a { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent); text-underline-offset: .2em; }
@media (max-width: 760px) {
  .news-grid { grid-template-columns: minmax(0, 1fr); }
  .news-event { grid-area: auto; margin-block: 4px 20px; }
  .news-event > img { max-height: 180px; }
  .news-story { padding-block: 15px; }
}

/* Before and after: two frames from one camera; the gold line is the zone caption's hairline stood upright. */
.remake { padding-block: 88px 40px; }
.cmp-tabs { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 18px; border-radius: 12px; background: var(--ghost-bg); border: 1px solid var(--line); }
.cmp-tabs button { min-height: 44px; padding: 0 18px; border: 0; border-radius: 9px; background: none; color: var(--text-2); font-weight: 600; font-size: 15px; cursor: pointer; transition: background-color 160ms var(--ease), color 160ms var(--ease); }
.cmp-tabs button.on { background: var(--cap); color: var(--on-primary); }
.cmp { margin: 0; display: grid; gap: 14px; }
.cmp-frame { --cut: 50%; position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: var(--bg-2); box-shadow: var(--shot-ring); user-select: none; }
.cmp-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cmp-before { clip-path: inset(0 calc(100% - var(--cut)) 0 0); }
.cmp-tag { position: absolute; bottom: 16px; padding: 6px 14px; border-radius: 999px; background: rgba(var(--shade), .78); border: 1px solid var(--line-2); color: var(--cap); font-weight: 600; font-size: 14px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); pointer-events: none; }
.cmp-tag-before { left: 16px; }
.cmp-tag-after { right: 16px; }
.cmp-line { position: absolute; top: 0; bottom: 0; left: var(--cut); width: 2px; margin-left: -1px; background: var(--cap-line); box-shadow: 0 0 14px rgba(0, 0, 0, .55); pointer-events: none; }
.cmp-line i { position: absolute; top: 50%; left: 50%; width: 30px; height: 30px; margin: -15px; background: var(--bg); border: 2px solid var(--cap-line); transform: rotate(45deg); box-shadow: 0 6px 18px rgba(0, 0, 0, .5); }
.cmp-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.cmp-frame:has(.cmp-range:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.cmp figcaption { color: var(--text-2); font-size: 15px; }

/* What you play: pictures of the game carry it; one title and one line on each. */
.play { padding-block: 72px 24px; }
.play-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.tile { position: relative; isolation: isolate; overflow: hidden; border-radius: 16px; background: var(--bg-2); box-shadow: var(--shot-ring); min-height: 340px; display: flex; align-items: flex-end; }
.tile > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(var(--shade), .94) 0, rgba(var(--shade), .5) 34%, rgba(var(--shade), 0) 62%); }
.tile-copy { padding: 24px 26px; display: grid; gap: 6px; }
.tile h3 { font-size: clamp(22px, 2vw, 28px); color: var(--cap); text-shadow: var(--cap-shadow); }
html:not([lang="ar"]) .tile h3, html:not([lang="ar"]) .tongues h3 { font-size: clamp(17px, 1.5vw, 21px); }
.tile p { color: #d3dcf3; max-width: 30em; }
/* A tile's title is a link to its guide page and the whole tile is its target. */
.tile-link { color: inherit; text-decoration: none; }
.tile-link::before { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.tile-link::after { content: "›"; display: inline-block; margin-inline-start: .4em; opacity: .75; transition: transform 200ms var(--ease); }
[dir="rtl"] .tile-link::after { content: "‹"; }
.tile-link:focus-visible { outline: none; }
.tile-link:focus-visible::before { outline: 2px solid var(--accent); outline-offset: -4px; }
@media (hover: hover) and (pointer: fine) { .tile:hover .tile-link::after { transform: translateX(3px); } [dir="rtl"] .tile:hover .tile-link::after { transform: translateX(-3px); } }
.tile-war, .tile-night { grid-column: span 7; }
.tile-tower, .tile-paths { grid-column: span 5; }
.tile-paths { display: grid; grid-template-rows: auto 1fr; align-items: stretch; gap: 18px; padding: 24px 22px 22px; }
.tile-paths::after { display: none; }
.tile-paths ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tile-paths li { position: relative; border-radius: 12px; overflow: hidden; min-height: 190px; background: var(--bg); }
.tile-paths li img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.tile-paths li span { position: absolute; inset: auto 0 0; padding: 26px 8px 10px; text-align: center; font-weight: 600; font-size: 15px; color: var(--cap); background: linear-gradient(to top, rgba(var(--shade), .92), rgba(var(--shade), 0)); }
@media (hover: hover) and (pointer: fine) { .tile:hover > img { transform: scale(1.04); } .watch:hover .ring { background: rgba(255, 255, 255, .16); border-color: #fff; } .cmp-tabs button:not(.on):hover { color: var(--text); } }
/* The four languages: each button switches the page to its language. */
.tongues { margin-top: 20px; padding: 26px 28px; border-radius: 16px; border: 1px solid var(--line); background: var(--ghost-bg); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
.tongues > div:first-child { display: grid; gap: 4px; }
.tongues h3 { font-size: 22px; }
.tongues p { color: var(--text-2); }
.tongue-list { display: flex; flex-wrap: wrap; gap: 10px; }
.tongue-list a { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--ghost-line); background: none; color: var(--text); font-weight: 600; font-size: 15px; cursor: pointer; transition: background-color 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease); }
.tongue-list a[aria-current="page"] { border-color: var(--cap-line); color: var(--cap); background: rgba(212, 176, 96, .12); }
@media (hover: hover) and (pointer: fine) { .tongue-list a:hover { background: var(--ghost-bg-hi); } }

/* The trailer: the film alone on the dark. */
.film { width: min(1120px, calc(100vw - 32px)); padding: 0; border: 0; background: none; overflow: visible; }
.film::backdrop { background: rgba(2, 6, 20, .9); }
.film video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 14px; background: #000; box-shadow: 0 40px 100px -30px #000; }
.film .x { top: -50px; inset-inline-end: 0; color: #fff; }

.guide-langs { margin-block: 36px; }

/* World */
.world { padding-block: 88px 32px; }
.maps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 22px; }
.maps figure { margin: 0; display: grid; gap: 14px; }
.shot { aspect-ratio: 16 / 9; max-width: 100%; border-radius: 12px; overflow: hidden; background: var(--bg-2); box-shadow: var(--shot-ring); }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.maps .zc { font-size: 15px; }
@media (hover: hover) and (pointer: fine) { .maps li:hover .shot img { transform: scale(1.045); } }

/* Start: three steps on a gold hairline with diamond stops, the zone caption's ornament laid out as a path. */
.start { padding-block: 88px 104px; }
.journey { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; position: relative; }
.journey::before { content: ""; position: absolute; top: 9px; inset-inline: 0; height: 1px; background: linear-gradient(to right, transparent, var(--cap-line) 8%, var(--cap-line) 92%, transparent); }
.journey li { position: relative; display: grid; gap: 10px; align-content: start; justify-items: start; padding-top: 40px; min-width: 0; }
.journey li::before { content: ""; position: absolute; top: 4px; inset-inline-start: 0; width: 11px; height: 11px; background: var(--bg); border: 1.5px solid var(--cap-line); transform: rotate(45deg); }
.journey li:first-child::before { background: var(--cap-line); }
.journey .n { font-size: 13px; font-weight: 600; color: var(--text-3); letter-spacing: .04em; }
.journey h3 { font-size: 22px; font-weight: 700; }
.journey p { color: var(--text-2); max-width: 30em; }
.journey .btn { margin-top: 8px; }
.handoff-url { width: 100%; max-width: 32ch; height: 44px; padding-inline: 8px; font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 6px; }
.handoff-url::selection { background: var(--accent); color: var(--bg); }
.step-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.step-actions .btn { margin-top: 0; }
.journey .step-note { color: var(--cap); font-size: 14px; font-weight: 500; }
.nb { white-space: nowrap; }   /* a Latin name inside Arabic must not break at its hyphen */
.journey small { color: var(--text-3); font-size: 13px; }
.faq { padding-block: clamp(52px, 6vw, 84px); border-block-start: 1px solid var(--line); background: linear-gradient(135deg, var(--bg-2), var(--bg)); }
.faq-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.6fr); align-items: start; gap: clamp(32px, 6vw, 88px); }
.faq .sec-head { justify-items: start; margin: 0; gap: 14px; }
.faq-guide { display: inline-flex; align-items: center; min-height: 44px; color: var(--cap); text-underline-offset: .24em; font-weight: 600; }
.helps { min-width: 0; }
.help { border-top: 1px solid var(--line); padding-block: 0; }
.help:last-child { border-bottom: 1px solid var(--line); }
.link.strong { color: var(--accent); font-weight: 600; white-space: nowrap; }
.help summary { cursor: pointer; color: var(--text); font-weight: 600; list-style: none; display: flex; align-items: center; gap: 20px; justify-content: space-between; min-height: 58px; padding-block: 12px; }
.help summary::-webkit-details-marker { display: none; }
.help summary::after { content: ""; margin-inline-end: 4px; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform 180ms var(--ease); flex: none; }
.help[open] summary { color: var(--cap); }
.help[open] summary::after { transform: rotate(225deg); }
.help p { margin: 0 0 20px; max-width: 60ch; color: var(--text-2); }

/* Footer */
.foot { border-top: 1px solid var(--line); padding-block: 28px max(28px, env(safe-area-inset-bottom, 0px)); }
.foot-in { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 28px; }
.foot .brand img { width: 28px; height: 28px; border-radius: 7px; }
.foot nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin-inline-start: auto; }
.foot nav a, .foot nav .link, .foot nav .lang-pick { color: var(--text-2); text-decoration: none; font-weight: 500; min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.foot-about { flex-basis: 100%; max-width: 68ch; margin: 0; margin-inline-end: auto; color: var(--text-3); font-size: 13px; }
.foot small { color: var(--text-3); font-size: 13px; }
.foot .foot-guide { flex-basis: 100%; margin-inline-start: 0; }

/* The guide pages (hosting/build-pages.mjs GUIDES): a frame of the game behind the heading, then a document column. */
.nav a[aria-current] { color: var(--text); }
.guide-head { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; min-height: clamp(360px, 50svh, 500px); padding-block: 116px 40px; margin-bottom: 56px; }
.guide-art { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.guide-head::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, var(--bg) 0, rgba(var(--shade), .8) 30%, rgba(var(--shade), .15) 70%, rgba(var(--shade), .5) 100%); }
/* The heading stands on the document column below it. */
.guide-head .wrap { width: 100%; max-width: calc(680px + 2 * var(--g)); display: grid; gap: 10px; justify-items: start; }
.guide-head h1 { max-width: 22em; font-size: clamp(30px, 3.6vw, 48px); text-shadow: 0 2px 24px rgba(0, 0, 0, .45); }
html:not([lang="ar"]) .guide-head h1 { font-size: clamp(24px, 2.7vw, 36px); letter-spacing: -.01em; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; color: var(--cap); font-size: 14px; font-weight: 500; text-shadow: var(--cap-shadow); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; text-decoration: none; }
.crumbs a::after { content: "/"; margin-inline: 10px; color: var(--cap-line); }
.doc-class { display: grid; grid-template-columns: 168px minmax(0, 1fr); gap: 26px; align-items: start; }
.doc-class > img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; box-shadow: var(--shot-ring); }
.jobs { display: grid; gap: 16px; margin: 18px 0 0; }
.jobs dt { color: var(--cap); font-weight: 600; }
.jobs dd { margin: 2px 0 0; }
.guide-cta { display: grid; gap: 12px; justify-items: start; padding: 28px; border-radius: 16px; border: 1px solid var(--line); background: var(--bg-2); }
.guide-cta h2, .guide-more h2 { margin: 0; font-size: clamp(20px, 2vw, 26px); }
.guide-cta .btn { margin-top: 6px; }
.doc.guide-more ul { list-style: none; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 18px 0 0; padding: 0; }
.guide-more a { display: grid; gap: 8px; color: var(--text); font-weight: 600; text-decoration: none; }
.guide-more img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; box-shadow: var(--shot-ring); }
/* A guide's clip: full width of the text column, 16:9 before it loads, its caption under it. */
.clip { margin: 22px 0 0; }
.clip video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 14px; background: #000; box-shadow: var(--shot-ring); }
.clip figcaption { margin-top: 10px; font-size: 14px; line-height: 1.6; color: var(--text-3); }

/* Rules, terms and privacy (/legal): one language shown at a time. */
.doc-page { padding-block: 124px 72px; }
.doc-page .updated { max-width: 680px; margin: 0 auto 36px; font-size: 14px; color: var(--text-3); }
.doc { max-width: 680px; margin: 0 auto 64px; line-height: 1.85; color: var(--text-2); }
.doc h2 { margin-bottom: 18px; font-size: clamp(24px, 2.4vw, 32px); font-weight: 700; color: var(--text); }
.doc ol, .doc ul { display: grid; gap: 10px; margin: 0 0 18px; padding-inline-start: 24px; }
.doc li::marker { color: var(--cap-line); }
.doc p + p, .doc ul + p, .doc ol + p { margin-top: 10px; }
.doc b { color: var(--text); font-weight: 600; }
.doc bdi { white-space: nowrap; }
html[lang="ar"] .doc-page [lang="en"], html[lang="en"] .doc-page [lang="ar"] { display: none; }
.doc-note { max-width: 680px; margin: 0 auto 28px; padding: 12px 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--ghost-bg); color: var(--text-2); font-size: 15px; }
/* The pay guide (/pay): its title, questions that open in place, and the safety note. */
.lost { min-height: 46svh; display: grid; align-content: center; justify-items: start; gap: 6px; }
.lost .btn { margin-top: 18px; }
.doc h1 { margin-bottom: 14px; font-size: clamp(30px, 3.4vw, 42px); font-weight: 700; color: var(--text); }
.doc details { border-top: 1px solid var(--line); }
.doc details:last-of-type { border-bottom: 1px solid var(--line); }
.doc summary { cursor: pointer; list-style: none; position: relative; min-height: 52px; padding-block: 13px; padding-inline-start: 19px; color: var(--text); font-weight: 500; }
.doc summary::-webkit-details-marker { display: none; }
.doc summary::before { content: ""; position: absolute; top: calc(50% - 4px); inset-inline-start: 0; width: 7px; height: 7px; border-right: 1.5px solid var(--cap-line); border-bottom: 1.5px solid var(--cap-line); transform: rotate(45deg); transition: transform 180ms var(--ease); }
.doc [dir="rtl"] summary::before { transform: rotate(135deg); }
.doc details[open] summary::before { transform: rotate(45deg); }
.doc details p { padding: 0 0 16px; padding-inline-start: 19px; }
.doc .note { margin-top: 18px; padding: 14px 18px; border-inline-start: 2px solid var(--cap-line); border-start-end-radius: 10px; border-end-end-radius: 10px; background: var(--ghost-bg); }

/* The account sheet: sign-up and password reset */
.sheet {
  width: min(460px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto; overscroll-behavior: contain;
  padding: 34px 30px 28px; border: 1px solid var(--line-2); border-radius: 20px;
  background: var(--card); color: var(--text); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .7);
  transition: opacity 200ms var(--ease), transform 200ms var(--ease), overlay 200ms allow-discrete, display 200ms allow-discrete;
}
.sheet:not([open]) { opacity: 0; transform: scale(.96) translateY(8px); }
@starting-style { .sheet[open] { opacity: 0; transform: scale(.96) translateY(8px); } }
.sheet::backdrop { background: var(--backdrop); transition: opacity 200ms, overlay 200ms allow-discrete, display 200ms allow-discrete; }
.sheet:not([open])::backdrop { opacity: 0; }
@starting-style { .sheet[open]::backdrop { opacity: 0; } }
.sheet h2 { font-size: 26px; font-weight: 700; padding-inline-end: 36px; }
.sheet section { display: grid; gap: 10px; }
.sheet form { display: grid; gap: 16px; margin-top: 14px; }
.muted { color: var(--text-2); }
.muted b, .muted bdi { color: var(--text); font-weight: 600; overflow-wrap: anywhere; }
.x { position: absolute; top: 12px; inset-inline-end: 12px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 10px; background: transparent; color: var(--text-2); cursor: pointer; }
.x svg { width: 20px; height: 20px; }
.x:hover { background: var(--ghost-bg-hi); color: var(--text); }
.dots { display: flex; gap: 6px; margin-bottom: 18px; }
.dots i { width: 22px; height: 4px; border-radius: 2px; background: var(--line-2); transition: background-color 200ms; }
.dots i.on { background: var(--primary); }
.field { display: grid; gap: 6px; }
.field > span:first-child { font-weight: 600; font-size: 15px; }
.field input { width: 100%; height: 50px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--field-line); background: var(--field); color: var(--text); font: 500 16px/1 var(--font); transition: border-color 160ms, box-shadow 160ms; }
.field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 28%, transparent); }
.field small { font-size: 13.5px; line-height: 1.5; color: var(--text-3); min-height: 1em; }
.field.bad input { border-color: var(--bad); }
.field.bad small { color: var(--bad); }
.pw { position: relative; display: block; direction: ltr; }
.pw input { padding-right: 84px; }
.pw-toggle { position: absolute; top: 3px; right: 3px; height: 44px; min-width: 44px; padding: 0 12px; border: 0; border-radius: 9px; background: transparent; color: var(--text-2); font-size: 14px; font-weight: 600; cursor: pointer; }
.pw-toggle:hover { background: var(--ghost-bg-hi); }
.code { height: 66px !important; text-align: center; font-size: 30px !important; font-weight: 600 !important; letter-spacing: .45em; padding-left: .45em !important; font-variant-numeric: tabular-nums; }
.code::placeholder { color: var(--text-3); opacity: .5; }
.form-error { padding: 10px 14px; border-radius: 10px; background: color-mix(in srgb, var(--bad) 12%, transparent); color: var(--bad); font-size: 14.5px; line-height: 1.55; }
.row-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 16px; margin-top: 4px; }
.row-links .link { min-height: 44px; white-space: nowrap; }
.row-links .link:disabled { color: var(--text-3); cursor: default; font-variant-numeric: tabular-nums; }
.fine { margin-top: 6px; text-align: center; }
.fine .link { min-height: 44px; font-size: 15px; }
.done { justify-items: center; text-align: center; }
.done .btn { margin-top: 10px; }
.ok { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; color: var(--ok); background: color-mix(in srgb, var(--ok) 16%, transparent); margin-bottom: 6px; }
.ok svg { width: 32px; height: 32px; }
/* Turnstile draws here only when it needs the player to tick it. */
.captcha { display: flex; justify-content: center; }
.captcha.ask { margin-top: 16px; }

/* Toast: the game's navy notice pill */
.toast { position: fixed; left: 50%; bottom: max(28px, env(safe-area-inset-bottom, 0px)); z-index: 50; transform: translate(-50%, 14px); opacity: 0; pointer-events: none;
  padding: 12px 20px; border-radius: 999px; background: var(--toast-bg); border: 1px solid var(--toast-line); color: #fff; font-weight: 500; font-size: 15px; white-space: nowrap;
  box-shadow: 0 16px 40px -16px rgba(0, 0, 0, .6); transition: opacity 220ms var(--ease), transform 220ms var(--ease); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1000px) {
  .maps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1120px) {
  .menu-toggle { display: inline-flex; align-items: center; gap: 8px; margin-inline-start: auto; min-height: 44px; padding: 0 12px; border: 1px solid var(--ghost-line); border-radius: 12px; background: var(--header-bg); color: var(--text); font: 600 15px/1.2 var(--font); cursor: pointer; }
  .menu-toggle::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"]::after { transform: translateY(2px) rotate(225deg); }
  .top:has(.menu-toggle) .top-end { margin-inline-start: 0; }
  .nav { position: absolute; top: 100%; inset-inline: 0; padding: 6px var(--g); display: flex; gap: 16px; overflow-x: auto; background: var(--bg-2); box-shadow: 0 1px 0 var(--line); }
  .nav a { flex: none; min-width: 44px; }
  .menu-toggle[aria-expanded="false"] + .nav { display: none; }
  .menu-toggle[aria-expanded="true"] + .nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; padding-block: 8px 14px; max-height: 70dvh; overflow-y: auto; }
  .menu-toggle + .nav a { border-bottom: 1px solid var(--line); color: var(--text); }
  .top:has(.menu-toggle[aria-expanded="true"]) { background: var(--bg-2); }
}
@media (max-width: 720px), (hover: none) {
  .desk, .desk-inline, .desk-block { display: none !important; }
  .phone:not([hidden]) { display: revert !important; }
  .ctas.phone { display: grid !important; width: 100%; justify-content: stretch; }
  .journey .btn.phone:not([hidden]) { display: inline-flex !important; }
  .step-actions { display: grid; width: 100%; gap: 10px; }
  .step-actions .btn { width: 100%; }
  .step-actions:has([data-action="copy"]:not([hidden])) .step-dl { background: var(--ghost-bg); border-color: var(--ghost-line); color: var(--text); box-shadow: none; }
}
@media (min-width: 721px) and (hover: none) {
  .ctas.phone { width: auto; display: flex !important; }
}
@media (max-width: 720px) {
  .top-in { height: 60px; gap: 16px; }
  .top-end { gap: 14px; }
  .top .brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .top-end .btn { display: none; }   /* the hero carries the one call to create an account */
  html { scroll-padding-top: 68px; }
  .hero { min-height: min(100svh, 850px); }
  .hero-motion { display: none; }
  .hero-in { padding-block: clamp(90px, 20svh, 180px) 32px; }
  .hero-shade { background:
    linear-gradient(to bottom, rgba(var(--shade), .6) 0, rgba(var(--shade), 0) 16%),
    linear-gradient(to top, var(--bg) 0, rgba(var(--shade), .92) 38%, rgba(var(--shade), .3) 62%, rgba(var(--shade), 0) 80%); }
  .hero-shade::after { display: none; }
  .hero-copy { gap: 12px; }
  .logo { width: clamp(168px, 49vw, 235px); }
  .ctas { width: 100%; margin-top: 6px; }
  .remake { padding-block: 64px 24px; }
  .cmp-frame { aspect-ratio: 4 / 3; border-radius: 12px; }
  .cmp-tag { bottom: 10px; font-size: 13px; padding: 4px 11px; }
  .cmp-tag-before { left: 10px; } .cmp-tag-after { right: 10px; }
  .play { padding-block: 56px 8px; }
  .play-grid { gap: 14px; }
  .tile-war, .tile-night, .tile-tower, .tile-paths { grid-column: 1 / -1; }
  .tile { min-height: 0; aspect-ratio: 4 / 3; border-radius: 12px; }
  .tile-paths { aspect-ratio: auto; padding: 20px 14px 14px; }
  .tile-copy { padding: 18px; }
  .tongues { padding: 20px 18px; border-radius: 12px; }
  .tongue-list a { flex: 1 1 40%; padding: 0 8px; font-size: 14px; white-space: nowrap; }
  .world { padding-block: 64px 16px; }
  .maps { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 80%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: calc(var(--g) * -1); padding: 6px var(--g) 12px; scrollbar-width: none; }
  .maps::-webkit-scrollbar { display: none; }
  .maps li { scroll-snap-align: center; }
  .start { padding-block: 64px 72px; }
  .faq-layout { grid-template-columns: 1fr; gap: 18px; }
  .faq .sec-head { gap: 4px; }
  .film { width: 100vw; max-width: 100vw; } .film video { border-radius: 0; } .film .x { inset-inline-end: 8px; }
  .journey { grid-template-columns: 1fr; gap: 30px; }
  .journey::before { top: 6px; bottom: 6px; inset-inline-start: 5px; inset-inline-end: auto; width: 1px; height: auto; background: linear-gradient(to bottom, var(--cap-line), var(--cap-line) 85%, transparent); }
  .journey li { padding-top: 0; padding-inline-start: 34px; }
  .foot nav { margin-inline-start: 0; width: 100%; }
  .doc-page { padding-block: 100px 48px; }
  .guide-head { min-height: 320px; padding-block: 96px 28px; margin-bottom: 40px; }
  .doc-class { grid-template-columns: 1fr; gap: 18px; }
  .doc-class > img { max-width: 200px; }
  .guide-cta { padding: 22px 18px; border-radius: 12px; }
  .guide-cta .btn { width: 100%; }
  .doc.guide-more ul { grid-template-columns: 1fr; }
  .guide-more a { grid-template-columns: 132px minmax(0, 1fr); align-items: center; gap: 14px; min-height: 44px; }
  .sheet { width: 100vw; max-width: 100vw; max-height: 94dvh; margin: auto 0 0; border-radius: 22px 22px 0 0; padding: 28px max(var(--g), env(safe-area-inset-right, 0px)) max(24px, env(safe-area-inset-bottom, 0px)) max(var(--g), env(safe-area-inset-left, 0px)); }
  .sheet:not([open]) { transform: translateY(24px); }
  @starting-style { .sheet[open] { transform: translateY(24px); } }
  .toast { white-space: normal; width: max-content; max-width: calc(100vw - 32px); text-align: center; border-radius: 16px; }
}
@media (max-width: 380px) {
  .top-in { gap: 8px; padding-inline: max(12px, env(safe-area-inset-left), env(safe-area-inset-right)); }
  .top .lang-pick svg { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

@media (scripting: none) {
  .top { background: var(--bg-2); }
  .lang-pick:has(select:empty) { display: none !important; }
}
@media (scripting: none) and (max-width: 1120px) {
  html { scroll-padding-top: 132px; }
}
