/* TS Online Zero — v3.1 design system
   tokens · base · layout · header · buttons · cards · page parts · utilities */

:root {
  --bg: #101116;
  --bg-2: #1D2029;
  --bg-3: #262A36;
  --bg-deep: #0A0B0F;
  --crimson: #8F2430;
  --crimson-hi: #A92E3C;
  --gold: #C49A50;
  --gold-hi: #DDBB7A;
  --gold-soft: rgba(196, 154, 80, .1);
  --text: #E9E2D6;
  --text-2: #D3CBBE;
  --muted: #A0A5B0;
  --line: rgba(196, 154, 80, .18);
  --line-2: rgba(255, 255, 255, .07);
  --line-strong: rgba(196, 154, 80, .45);
  --ok: #7FC58C;
  --down: #E8837A;
  --warn: #E2B862;
  --earth: #C99A62; --water: #79AEE0; --fire: #E5735F; --wind: #86C883;

  --font-display: "Cinzel", "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 18px 40px -18px rgba(0, 0, 0, .7);
  --shadow-lg: 0 30px 70px -30px rgba(0, 0, 0, .85);
  --max: 1200px;
  --gutter: 16px;
  --header-h: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, picture, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--gold-hi); text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color .2s; }
a:hover { color: #F2D9A2; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; letter-spacing: .015em; color: #F3ECE0; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 7.2vw, 5rem); letter-spacing: .03em; }
h2 { font-size: clamp(1.75rem, 4.2vw, 2.7rem); }
h3 { font-size: 1.18rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li + li { margin-top: .4em; }
strong { color: #F6F0E6; font-weight: 600; }
code { font-size: .9em; background: var(--bg-3); color: var(--gold-hi); padding: 1px 6px; border-radius: 4px; overflow-wrap: anywhere; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--gold); color: #1a1208; padding: 10px 14px; border-radius: var(--radius-sm); font-weight: 600; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* one language at a time: .t-en / .t-id siblings; everything else shows in both */
html:not([data-lang="id"]) .t-id { display: none !important; }
html[data-lang="id"] .t-en { display: none !important; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 800px; }
.section { padding: 64px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, var(--bg-2), #191B23); }
.section + .section-alt, .section-alt + .section { border-top: 1px solid var(--line-2); }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.split { display: grid; gap: 40px; align-items: center; grid-template-columns: 1fr; }
.grid > *, .split > *, .guide-layout > *, .spotlight > *, .showcase > * { min-width: 0; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; } }

/* section heading */
.head { margin-bottom: 32px; max-width: 760px; }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 .76rem/1 var(--font-body); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--gold); }
.head.center .eyebrow::after { content: ""; width: 22px; height: 1px; background: var(--gold); }
.head p { color: var(--muted); font-size: 1.06rem; margin: 0; }
.head h2 { margin-bottom: .35em; }
.head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 32px; }
.head-row .head { margin-bottom: 0; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(13, 14, 19, .82); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line-2);
}
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong), transparent); opacity: .6; }
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; flex-shrink: 0; }
.brand img { width: 38px; height: 38px; border-radius: 9px; }
.brand span { font: 700 1.02rem/1 var(--font-display); letter-spacing: .08em; }
.nav { display: none; }
.nav a { position: relative; color: var(--text-2); text-decoration: none; font-weight: 500; font-size: .94rem; padding: 10px 12px; white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--gold); transform: scaleX(0); transition: transform .25s var(--ease); }
.nav a:hover { color: #fff; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--gold-hi); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.lang { display: inline-flex; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); border-radius: 999px; padding: 3px; }
.lang button { font: 600 .74rem/1 var(--font-body); letter-spacing: .08em; color: var(--muted); background: none; border: 0; padding: 8px 10px; border-radius: 999px; cursor: pointer; min-width: 38px; min-height: 34px; transition: background .2s, color .2s; }
.lang button[aria-pressed="true"] { background: var(--gold); color: #1a1208; }
.menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--radius-sm); border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); color: var(--text); cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; }
.menu-btn[aria-expanded="true"] { border-color: var(--line-strong); color: var(--gold-hi); }
.header-actions .btn { min-height: 40px; padding: 0 16px; font-size: .76rem; }
.header-actions .hide-sm { display: none; }
@media (min-width: 640px) { .header-actions .hide-sm { display: inline-flex; } }
@media (max-width: 639px) { .hide-xs { display: none; } .header-actions .btn-primary { padding: 0 12px; } }
@media (min-width: 1080px) { .nav { display: flex; gap: 2px; margin-left: 24px; } .menu-btn { display: none; } }

/* mobile drawer */
.drawer { position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; background: rgba(10, 11, 15, .98); padding: 12px var(--gutter) 40px; overflow-y: auto; display: none; }
.drawer.open { display: block; animation: drawer .25s var(--ease); }
.drawer a.dlink { display: flex; align-items: center; justify-content: space-between; color: var(--text); text-decoration: none; font: 600 1.2rem/1.2 var(--font-display); padding: 18px 4px; border-bottom: 1px solid var(--line-2); }
.drawer a.dlink[aria-current="page"] { color: var(--gold-hi); }
.drawer a.dlink span[aria-hidden] { color: var(--gold); }
.drawer .drawer-cta { display: grid; gap: 12px; margin-top: 24px; }
.drawer .lang { margin-top: 24px; }
body.no-scroll { overflow: hidden; }
@keyframes drawer { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: var(--radius-sm);
  font: 600 .84rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; transition: background .2s, border-color .2s, color .2s, transform .15s, box-shadow .2s;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(180deg, #A42C3A, var(--crimson)); color: #FFF7EC; border-color: #BE4252; box-shadow: 0 10px 24px -12px rgba(169, 46, 60, .9), inset 0 1px 0 rgba(255, 255, 255, .15); }
.btn-primary:hover { background: linear-gradient(180deg, #B6334A, var(--crimson-hi)); color: #fff; box-shadow: 0 14px 30px -12px rgba(169, 46, 60, 1), inset 0 1px 0 rgba(255, 255, 255, .2); }
.btn-outline { background: rgba(196, 154, 80, .04); color: var(--gold-hi); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--gold); color: #F2D9A2; background: var(--gold-soft); }
.btn-ghost { background: rgba(255, 255, 255, .04); color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.btn-lg { min-height: 58px; padding: 0 32px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn[aria-busy="true"] { opacity: .65; cursor: progress; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow::after { content: "→"; transition: transform .2s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- cards ---------- */
.card {
  position: relative; background: linear-gradient(180deg, rgba(255, 255, 255, .025), rgba(255, 255, 255, 0)), var(--bg-2);
  border: 1px solid var(--line-2); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
  transition: border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.section-alt .card { background: linear-gradient(180deg, rgba(255, 255, 255, .025), rgba(255, 255, 255, 0)), var(--bg); }
a.card { display: block; color: inherit; text-decoration: none; }
a.card:hover, .card.hover:hover { border-color: var(--line-strong); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card h3 { margin-bottom: .45em; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.muted { color: var(--muted); }
.icon-badge { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: radial-gradient(circle at 30% 20%, rgba(196, 154, 80, .25), rgba(143, 36, 48, .25)); color: var(--gold-hi); border: 1px solid rgba(196, 154, 80, .3); margin-bottom: 16px; }
.icon-badge svg { width: 22px; height: 22px; }
.tag { display: inline-flex; align-items: center; gap: 6px; font: 600 .68rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--gold-hi); background: var(--gold-soft); }
.tag.patch { color: #C9D3E6; border-color: rgba(160, 175, 200, .35); background: rgba(160, 175, 200, .08); }
.tag.announcement { color: #F4BDB5; border-color: rgba(190, 66, 82, .55); background: rgba(143, 36, 48, .2); }
.tag.feature { color: var(--gold-hi); }
.tag.event { color: #A9D9B1; border-color: rgba(127, 197, 140, .4); background: rgba(127, 197, 140, .08); }
.ver-chip { font: 700 .8rem/1 var(--font-display); letter-spacing: .04em; color: #F3ECE0; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-2); padding: 6px 9px; border-radius: 6px; }

/* notices */
.notice { display: flex; gap: 14px; align-items: flex-start; border: 1px solid rgba(190, 66, 82, .45); background: linear-gradient(90deg, rgba(143, 36, 48, .22), rgba(143, 36, 48, .08)); border-radius: var(--radius-sm); padding: 14px 16px; }
.notice svg { width: 22px; height: 22px; flex-shrink: 0; color: #F4BDB5; margin-top: 2px; }
.notice p { margin: 0; }
.notice.gold { border-color: var(--line-strong); background: linear-gradient(90deg, rgba(196, 154, 80, .12), rgba(196, 154, 80, .04)); }
.notice.gold svg { color: var(--gold-hi); }
.ea-strip { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 14px 10px 10px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(16, 17, 22, .6); backdrop-filter: blur(6px); font-size: .9rem; color: var(--text-2); }
.ea-strip b { font: 600 .68rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: #1a1208; background: var(--gold); padding: 6px 10px; border-radius: 999px; }
.ea-strip a { font-weight: 600; }
@media (max-width: 559px) { .ea-strip { border-radius: var(--radius-sm); padding: 12px; } }

/* status */
.status { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; font-weight: 600; font-size: .9rem; color: var(--muted); }
.status .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); box-shadow: 0 0 0 3px rgba(160, 165, 176, .15); flex-shrink: 0; }
.status.checking .dot { background: transparent; border: 2px solid var(--line-strong); border-top-color: var(--gold); box-shadow: none; width: 12px; height: 12px; animation: spin .8s linear infinite; }
.status.ok { color: var(--ok); } .status.ok .dot { background: var(--ok); box-shadow: 0 0 0 3px rgba(127, 197, 140, .18); animation: pulse 2.4s ease-in-out infinite; }
.status.down { color: var(--down); } .status.down .dot { background: var(--down); box-shadow: 0 0 0 3px rgba(232, 131, 122, .18); }
.status.unknown { color: var(--warn); } .status.unknown .dot { background: var(--warn); }
.status .when { font-weight: 400; color: var(--muted); font-size: .85em; }
.status button { font: inherit; font-size: .82em; color: var(--gold-hi); background: none; border: 0; text-decoration: underline; cursor: pointer; padding: 8px 6px; min-height: 36px; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(127, 197, 140, .05); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- home hero ---------- */
.hero { position: relative; background: var(--bg-deep); overflow: hidden; isolation: isolate; }
.hero-media { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 60% 35%; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 11, 15, 0) 45%, var(--bg-deep) 100%); }
.hero-body { position: relative; z-index: 2; margin-top: -56px; padding-bottom: 48px; }
.hero h1 { margin-bottom: .2em; text-shadow: 0 6px 30px rgba(0, 0, 0, .6); }
.hero h1 .accent { display: block; color: var(--gold-hi); }
.hero .lead { font-size: clamp(1.05rem, 2.3vw, 1.22rem); color: var(--text-2); max-width: 580px; }
.hero .actions { margin: 26px 0 20px; }
.platforms { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: .9rem; margin-bottom: 20px; }
.platforms > span { display: inline-flex; align-items: center; gap: 7px; }
.platforms svg { width: 17px; height: 17px; color: var(--gold); }
.hero-crest { display: none; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; margin-top: 18px; }
@media (min-width: 900px) {
  .hero { min-height: min(94vh, 900px); display: flex; align-items: center; }
  .hero-media { position: absolute; top: 0; bottom: 0; right: 0; left: max(34%, calc(50% - min(var(--max), 100vw) / 2 + var(--gutter) + 480px)); overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%, #000 100%); mask-image: linear-gradient(90deg, transparent 0, #000 30%, #000 100%); }
  .hero-media img { height: 100%; aspect-ratio: auto; object-position: 40% 35%; animation: drift 26s ease-in-out infinite alternate; transform-origin: 60% 40%; }
  .hero-media::after { background: linear-gradient(0deg, var(--bg-deep) 0%, rgba(10, 11, 15, 0) 26%), radial-gradient(120% 90% at 70% 40%, transparent 60%, rgba(10, 11, 15, .45) 100%); }
  .hero::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(760px 520px at 14% 46%, rgba(143, 36, 48, .22), transparent 70%); }
  .hero-body { margin-top: 0; padding: 64px 0 80px; width: 100%; }
  .hero-body .wrap > div { max-width: 620px; }
  .hero-crest { display: block; margin-bottom: 10px; }
  .hero-crest img { width: 156px; height: 156px; filter: drop-shadow(0 12px 26px rgba(0, 0, 0, .6)); }
}
@keyframes drift { from { transform: scale(1.02) translate(0, 0); } to { transform: scale(1.08) translate(-1.2%, -1%); } }
.scroll-cue { position: absolute; left: 50%; bottom: 18px; z-index: 2; transform: translateX(-50%); color: var(--muted); display: none; }
.scroll-cue svg { width: 22px; height: 22px; animation: bob 2s ease-in-out infinite; }
@media (min-width: 900px) { .scroll-cue { display: block; } }
@keyframes bob { 50% { transform: translateY(5px); } }

/* page hero (inner pages) */
.page-hero { position: relative; padding: 72px 0 44px; overflow: hidden; background: var(--bg-deep); isolation: isolate; }
.page-hero picture { position: absolute; inset: 0; z-index: -1; opacity: .35; }
.page-hero picture img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, var(--bg) 0%, rgba(16, 17, 22, .6) 60%, rgba(16, 17, 22, .35) 100%); }
.page-hero h1 { font-size: clamp(2.1rem, 5.6vw, 3.4rem); margin-bottom: .3em; }
.page-hero p { color: var(--text-2); max-width: 680px; font-size: 1.08rem; margin: 0; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 16px; display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--gold-hi); }
.crumbs span[aria-hidden] { margin: 0 6px; opacity: .5; }

/* ---------- showcase gallery (featured + thumbs) ---------- */
.showcase { display: grid; gap: 14px; }
.showcase-main { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #000; box-shadow: var(--shadow-lg); }
.showcase-main button { all: unset; display: block; cursor: zoom-in; width: 100%; }
.showcase-main img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: opacity .35s; }
.showcase-main figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 16px; background: linear-gradient(0deg, rgba(10, 11, 15, .92), transparent); font-weight: 600; color: #F3ECE0; pointer-events: none; }
.showcase-main .zoom { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(10, 11, 15, .6); border: 1px solid var(--line-strong); color: var(--gold-hi); pointer-events: none; }
.showcase-main .zoom svg { width: 18px; height: 18px; }
.thumbs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(120px, 1fr); gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; }
.thumbs button { all: unset; cursor: pointer; scroll-snap-align: start; border-radius: var(--radius-sm); overflow: hidden; border: 2px solid transparent; opacity: .62; transition: opacity .2s, border-color .2s; }
.thumbs button img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.thumbs button:hover { opacity: .9; }
.thumbs button[aria-current="true"] { opacity: 1; border-color: var(--gold); }
.thumbs button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* simple gallery (inner pages) */
.gallery { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.shot { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); background: var(--bg-3); box-shadow: var(--shadow); }
.shot button { all: unset; display: block; width: 100%; cursor: zoom-in; }
.shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .6s var(--ease); }
.shot:hover img { transform: scale(1.04); }
.shot figcaption { padding: 12px 14px; font-size: .9rem; color: var(--text-2); border-top: 1px solid var(--line-2); }
.shot button:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }

/* lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(5, 6, 9, .94); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure { margin: 0; padding: 60px 12px 16px; max-width: 1400px; width: 100%; }
.lightbox img { width: 100%; max-height: 80vh; object-fit: contain; border-radius: var(--radius-sm); }
.lightbox figcaption { color: var(--text); text-align: center; padding-top: 12px; font-size: .95rem; }
.lb-count { position: fixed; top: 22px; left: 50%; transform: translateX(-50%); color: var(--muted); font-size: .85rem; }
.lb-btn { position: fixed; z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(16, 17, 22, .8); color: var(--text); display: grid; place-items: center; cursor: pointer; }
.lb-btn:hover { color: var(--gold-hi); border-color: var(--gold); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* ---------- day / night scene ---------- */
.scene { position: relative; background: #000; isolation: isolate; }
.scene-frames { position: relative; aspect-ratio: 16 / 9; max-height: 80vh; width: 100%; overflow: hidden; }
.scene-frames picture { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; }
.scene-frames picture.on { opacity: 1; }
.scene-frames img { width: 100%; height: 100%; object-fit: cover; }
.scene::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, var(--bg) 0%, rgba(16, 17, 22, 0) 14%, rgba(16, 17, 22, 0) 68%, rgba(16, 17, 22, .92) 100%); }
.scene-ui { position: absolute; left: 0; right: 0; bottom: 18px; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 0 var(--gutter); }
.scene-label { font: 600 .74rem/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--text-2); text-shadow: 0 2px 8px #000; }
.segmented { display: inline-flex; padding: 4px; gap: 2px; border-radius: 999px; background: rgba(10, 11, 15, .72); border: 1px solid var(--line-strong); backdrop-filter: blur(8px); }
.segmented button { display: inline-flex; align-items: center; gap: 6px; font: 600 .78rem/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); background: none; border: 0; border-radius: 999px; padding: 10px 14px; min-height: 40px; cursor: pointer; transition: background .2s, color .2s; }
.segmented button svg { width: 15px; height: 15px; }
.segmented button[aria-selected="true"] { background: var(--gold); color: #1a1208; }
@media (max-width: 479px) { .segmented button { padding: 10px 10px; font-size: .7rem; } .segmented button svg { display: none; } }

/* ---------- warlord spotlight ---------- */
.spotlight { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .spotlight { grid-template-columns: 1fr 1.25fr; gap: 48px; } }
.spot-card { position: relative; display: grid; place-items: center; padding: 20px; border-radius: 20px; background: radial-gradient(60% 60% at 50% 45%, var(--glow, rgba(196, 154, 80, .3)), transparent 70%); transition: background .5s; }
.spot-card img { width: min(100%, 340px); aspect-ratio: 328 / 410; object-fit: contain; filter: drop-shadow(0 24px 34px rgba(0, 0, 0, .65)); transition: opacity .3s, transform .4s var(--ease); }
.spot-card.swap img { opacity: 0; transform: translateY(8px) scale(.98); }
.spot-info h3 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: .15em; }
.spot-info .el { margin-bottom: 18px; }
.wl-pick { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 22px; }
.wl-pick button { all: unset; cursor: pointer; border-radius: 10px; padding: 4px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .02); transition: border-color .2s, transform .2s var(--ease), background .2s; }
.wl-pick button img { width: 100%; aspect-ratio: 328 / 410; object-fit: contain; }
.wl-pick button:hover { transform: translateY(-2px); border-color: var(--line-strong); }
.wl-pick button[aria-pressed="true"] { border-color: var(--gold); background: var(--gold-soft); }
.wl-pick button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.el { display: inline-flex; align-items: center; gap: 6px; font: 600 .72rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; }
.el::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.el-earth { color: var(--earth); } .el-water { color: var(--water); } .el-fire { color: var(--fire); } .el-wind { color: var(--wind); }
.wl-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
.wl { scroll-snap-align: start; text-align: center; margin: 0; }
.wl img { width: 100%; aspect-ratio: 328 / 410; object-fit: contain; filter: drop-shadow(0 12px 20px rgba(0, 0, 0, .5)); }
.wl figcaption { margin-top: 8px; font: 700 1rem/1.3 var(--font-display); }
@media (min-width: 1080px) { .wl-row { grid-auto-columns: calc((100% - 64px) / 5); } }

/* elements */
.elements { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.element { border: 1px solid var(--line-2); border-radius: var(--radius); padding: 18px; background: var(--bg); display: flex; align-items: center; gap: 12px; }
.element i { width: 30px; height: 30px; border-radius: 50%; background: currentColor; opacity: .9; box-shadow: 0 0 22px currentColor; flex-shrink: 0; }
.element b { font: 700 1.1rem/1 var(--font-display); color: #F3ECE0; }

/* ---------- news ---------- */
.news-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.news-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.news-card .nc-top { height: 4px; background: linear-gradient(90deg, var(--accent, var(--gold)), transparent 80%); }
.news-card[data-cat="patch"] { --accent: #8FA3C8; }
.news-card[data-cat="announcement"] { --accent: var(--crimson-hi); }
.news-card[data-cat="event"] { --accent: var(--ok); }
.news-card .nc-body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; flex: 1; }
.news-card .meta { display: flex; align-items: center; gap: 8px 10px; flex-wrap: wrap; font-size: .84rem; color: var(--muted); }
.news-card h3 { font-size: 1.14rem; line-height: 1.32; margin: 0; }
.news-card p { color: var(--muted); margin: 0; font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-card .link-arrow { margin-top: auto; padding-top: 4px; }
@media (min-width: 900px) {
  .news-card.featured { grid-column: 1 / -1; }
  .news-card.featured .nc-body { padding: 30px 34px 32px; }
  .news-card.featured h3 { font-size: 1.7rem; }
  .news-card.featured p { -webkit-line-clamp: 2; font-size: 1.04rem; max-width: 80ch; }
}
.filters { display: flex; gap: 8px; margin-bottom: 26px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.chip { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font: 600 .84rem/1 var(--font-body); color: var(--text-2); background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 999px; padding: 10px 16px; cursor: pointer; min-height: 42px; transition: background .2s, border-color .2s, color .2s; }
.chip:hover { border-color: var(--line-strong); }
.chip .n { font-size: .74rem; color: var(--muted); background: rgba(255, 255, 255, .06); border-radius: 999px; padding: 3px 7px; }
.chip[aria-pressed="true"] { color: #1a1208; background: var(--gold); border-color: var(--gold); }
.chip[aria-pressed="true"] .n { color: #1a1208; background: rgba(0, 0, 0, .12); }
.empty { text-align: center; color: var(--muted); padding: 40px 16px; border: 1px dashed var(--line); border-radius: var(--radius); }

/* article */
.article { padding: 40px 0 72px; }
.article-head { padding-bottom: 24px; margin-bottom: 28px; border-bottom: 1px solid var(--line-2); }
.article .meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; color: var(--muted); font-size: .9rem; margin-bottom: 16px; }
.article h1 { font-size: clamp(1.9rem, 5vw, 2.8rem); margin-bottom: 0; }
.prose { font-size: 1.06rem; line-height: 1.78; max-width: 70ch; }
.prose h2 { font-size: 1.45rem; margin-top: 1.6em; }
.prose p, .prose li { color: var(--text-2); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li::marker { color: var(--gold); }
.prose img { border-radius: var(--radius); border: 1px solid var(--line); margin: 1.2em 0; }
.article-nav { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; margin-top: 40px; }
.article-nav a { display: flex; flex-direction: column; gap: 4px; padding: 16px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); text-decoration: none; color: var(--text); background: var(--bg-2); transition: border-color .2s; }
.article-nav a:hover { border-color: var(--line-strong); }
.article-nav small { color: var(--muted); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; }
.article-nav .next { text-align: right; grid-column: 2; }
.related { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line-2); }

/* patch notes */
.patch { border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--bg); }
.patch + .patch { margin-top: 12px; }
.patch summary { list-style: none; cursor: pointer; padding: 16px 20px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; min-height: 60px; }
.patch summary::-webkit-details-marker { display: none; }
.patch summary .ver { font: 700 1.05rem/1.2 var(--font-display); color: #F3ECE0; }
.patch summary .date { color: var(--muted); font-size: .88rem; }
.patch summary::after { content: "+"; margin-left: auto; font-size: 1.4rem; line-height: 1; color: var(--gold); transition: transform .2s; }
.patch[open] summary::after { transform: rotate(45deg); }
.patch[open] { border-color: var(--line); }
.patch .patch-body { padding: 16px 20px 20px; border-top: 1px solid var(--line-2); }
.patch .patch-body li { color: var(--text-2); }
.patch .patch-body li::marker { color: var(--gold); }

/* ---------- guide ---------- */
.search { position: relative; max-width: 620px; }
.search input { width: 100%; font: inherit; font-size: 1.02rem; color: var(--text); background: rgba(16, 17, 22, .85); border: 1px solid var(--line-strong); border-radius: 999px; padding: 16px 92px 16px 52px; min-height: 56px; box-shadow: var(--shadow-lg); }
.search input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(196, 154, 80, .18); }
.search input::placeholder { color: #808693; }
.search > svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--gold); }
.search .count { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: .82rem; color: var(--muted); }
.guide-layout { display: grid; gap: 28px; }
@media (min-width: 960px) { .guide-layout { grid-template-columns: 250px 1fr; gap: 40px; } .guide-nav { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; } }
.guide-nav ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.guide-nav ul::-webkit-scrollbar { display: none; }
@media (min-width: 960px) { .guide-nav ul { flex-direction: column; overflow: visible; gap: 4px; } }
.guide-nav li + li { margin: 0; }
.guide-nav a { display: flex; align-items: center; gap: 10px; white-space: nowrap; padding: 10px 14px; border-radius: var(--radius-sm); color: var(--text-2); text-decoration: none; border: 1px solid var(--line-2); background: var(--bg-2); font-weight: 500; font-size: .92rem; transition: background .2s, color .2s, border-color .2s; }
.guide-nav a svg { width: 17px; height: 17px; color: var(--gold); flex-shrink: 0; }
.guide-nav a:hover, .guide-nav a.on { color: #fff; border-color: var(--line-strong); background: var(--gold-soft); }
@media (min-width: 960px) { .guide-nav a { border-color: transparent; background: none; } }
.guide-cat { margin-bottom: 48px; scroll-margin-top: calc(var(--header-h) + 20px); }
.guide-cat > header { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.guide-cat > header .icon-badge { margin: 0; }
.guide-cat > header h2 { font-size: 1.55rem; margin: 0; }
.guide-cat .cat-shot { margin: 0 0 14px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); }
.guide-cat .cat-shot img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; }
.faq details, .acc { border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--bg-2); transition: border-color .2s; }
.faq details + details, .acc + .acc { margin-top: 10px; }
.faq details[open], .acc[open] { border-color: var(--line); }
.faq summary, .acc summary { cursor: pointer; padding: 16px 20px; font-weight: 600; list-style: none; display: flex; gap: 12px; align-items: center; min-height: 58px; }
.faq summary::-webkit-details-marker, .acc summary::-webkit-details-marker { display: none; }
.faq summary::after, .acc summary::after { content: "+"; margin-left: auto; color: var(--gold); font-size: 1.35rem; transition: transform .2s; }
.faq details[open] summary::after, .acc[open] summary::after { transform: rotate(45deg); }
.faq details > :not(summary), .acc > :not(summary) { padding: 0 20px; }
.faq details > :last-child, .acc > :last-child { padding-bottom: 18px; }
.faq details p, .faq details li, .acc p, .acc li { color: var(--text-2); }

/* schedule table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); }
.sched { width: 100%; border-collapse: collapse; font-size: .95rem; }
.sched th, .sched td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.sched th { font: 600 .72rem/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); background: rgba(196, 154, 80, .06); }
.sched td:first-child { font-weight: 600; color: #F3ECE0; }
.sched td.time { font-variant-numeric: tabular-nums; color: var(--gold-hi); white-space: nowrap; }
.sched tr:last-child td { border-bottom: 0; }
@media (max-width: 599px) {
  .sched thead { display: none; }
  .sched tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 14px; border-bottom: 1px solid var(--line-2); }
  .sched tr:last-child { border-bottom: 0; }
  .sched td { padding: 0; border: 0; }
  .sched td:last-child { grid-column: 1 / -1; color: var(--muted); font-size: .88rem; }
}

/* ---------- download ---------- */
.platform { display: flex; flex-direction: column; gap: 16px; }
.platform .pf-head { display: flex; align-items: center; gap: 14px; }
.platform .pf-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2); flex-shrink: 0; }
.platform .pf-icon svg { width: 28px; height: 28px; color: var(--gold-hi); }
.platform .pf-head h3 { margin: 0; font-size: 1.32rem; }
.platform .pf-head small { display: block; color: var(--muted); font-size: .84rem; margin-top: 3px; }
.specs { display: grid; grid-template-columns: auto 1fr; margin: 0; font-size: .92rem; border-top: 1px solid var(--line-2); }
.specs dt, .specs dd { padding: 9px 0; border-bottom: 1px solid var(--line-2); margin: 0; }
.specs dt { color: var(--muted); padding-right: 14px; }
.specs dd { color: #ECE5D9; text-align: right; }
.before { font-size: .9rem; background: rgba(226, 184, 98, .07); border: 1px solid rgba(226, 184, 98, .3); border-radius: var(--radius-sm); padding: 12px 14px; }
.before b { display: block; color: var(--warn); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 6px; }
.before ul { margin: 0; padding-left: 1.1em; color: var(--text-2); }
.platform .btn { margin-top: auto; }
.platform .sub { font-size: .82rem; color: var(--muted); text-align: center; margin: -6px 0 0; }
.platform.main { border-color: var(--line-strong); background: linear-gradient(180deg, rgba(143, 36, 48, .2), rgba(143, 36, 48, 0) 40%), var(--bg-2); }
.platform .rec { position: absolute; top: 18px; right: 18px; }
.pf-mini { display: flex; flex-direction: column; gap: 12px; }
.pf-mini .pf-head { display: flex; align-items: center; gap: 12px; }
.pf-mini .pf-head svg { width: 26px; height: 26px; color: var(--gold-hi); }
.pf-mini h3 { margin: 0; }
.pf-mini p { margin: 0; color: var(--muted); font-size: .92rem; }
.steps { list-style: none; padding: 0; counter-reset: s; display: grid; gap: 12px; }
.steps > li { counter-increment: s; position: relative; padding: 18px 18px 18px 66px; background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--radius); margin: 0; color: var(--text-2); }
.steps > li::before { content: counter(s); position: absolute; left: 18px; top: 16px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font: 700 .95rem/1 var(--font-display); color: #1a1208; background: var(--gold); }

/* ---------- account ---------- */
.acc-shell { max-width: 600px; margin: 0 auto; }
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 7px; font-weight: 600; font-size: .94rem; color: #ECE5D9; }
.form input[type="text"], .form input[type="password"], .form input[type="email"], .form input:not([type]) {
  font: inherit; color: var(--text); background: var(--bg); border: 1px solid rgba(160, 165, 176, .3); border-radius: var(--radius-sm); padding: 12px 14px; min-height: 50px; width: 100%; transition: border-color .2s, box-shadow .2s;
}
.form input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(196, 154, 80, .16); }
.form input:user-invalid { border-color: var(--down); }
.pw { position: relative; display: block; }
.pw input { padding-right: 52px !important; }
.pw button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; background: none; color: var(--muted); cursor: pointer; border-radius: 6px; display: grid; place-items: center; }
.pw button:hover, .pw button[aria-pressed="true"] { color: var(--gold-hi); }
.pw button svg { width: 20px; height: 20px; }
.form .hint { font-weight: 400; color: var(--muted); font-size: .85rem; margin: -8px 0 0; }
.form .check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: .92rem; color: var(--text-2); }
.form .check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--crimson-hi); flex-shrink: 0; }
.form .btn { width: 100%; }
.msg { margin: 0; min-height: 1.4em; font-weight: 600; font-size: .95rem; }
.msg.ok { color: var(--ok); } .msg.down { color: var(--down); }
.tabs { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--bg-2); margin-bottom: 18px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: 1; white-space: nowrap; font: 600 .86rem/1 var(--font-body); color: var(--text-2); background: none; border: 0; border-radius: 999px; padding: 12px 14px; cursor: pointer; min-height: 46px; transition: background .2s, color .2s; }
.tabs button[aria-selected="true"] { color: #1a1208; background: var(--gold); }
.acc-user { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.acc-user .avatar { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 30% 20%, rgba(196, 154, 80, .35), rgba(143, 36, 48, .35)); border: 1px solid var(--line-strong); color: var(--gold-hi); }
.acc-user .avatar svg { width: 26px; height: 26px; }
.acc-user b { font: 700 1.25rem/1.2 var(--font-display); display: block; color: #F3ECE0; }
.acc-user .btn { margin-left: auto; min-height: 42px; }
.banner { padding: 14px 16px; border-radius: var(--radius-sm); font-weight: 600; margin-bottom: 18px; border: 1px solid; }
.banner.ok { color: var(--ok); border-color: rgba(127, 197, 140, .4); background: rgba(127, 197, 140, .08); }
.banner.down { color: var(--down); border-color: rgba(232, 131, 122, .4); background: rgba(232, 131, 122, .08); }
.loading { color: var(--muted); display: flex; align-items: center; gap: 10px; }
.loading::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line-strong); border-top-color: var(--gold); animation: spin .8s linear infinite; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; }
.cta-band picture { position: absolute; inset: 0; z-index: -2; }
.cta-band picture img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 90% at 50% 50%, rgba(16, 17, 22, .62), rgba(16, 17, 22, .93)); }
.cta-band .wrap { padding-top: 96px; padding-bottom: 96px; text-align: center; }
.cta-band .actions { justify-content: center; }
.cta-band p { max-width: 560px; margin: 0 auto 26px; color: var(--text-2); }

/* ---------- footer ---------- */
.site-footer { background: var(--bg-deep); border-top: 1px solid var(--line-2); padding: 56px 0 28px; color: var(--muted); font-size: .93rem; }
.footer-grid { display: grid; gap: 28px 20px; grid-template-columns: 1fr 1fr; }
.footer-grid .foot-brand { grid-column: 1 / -1; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } .footer-grid .foot-brand { grid-column: auto; } }
.site-footer h4 { font: 600 .74rem/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li + li { margin-top: 2px; }
.site-footer a { color: var(--muted); text-decoration: none; display: inline-block; padding: 6px 0; }
.site-footer a:hover { color: var(--text); }
.foot-brand img { width: 76px; height: 76px; margin-bottom: 12px; }
.foot-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line-2); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .85rem; }

/* ---------- motion ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- phones ---------- */
@media (max-width: 599px) {
  .card { padding: 20px; }
  .card.feature { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; padding: 18px; }
  .card.feature .icon-badge { width: 44px; height: 44px; margin: 0; grid-row: span 2; }
  .card.feature h3 { font-size: 1.04rem; margin: 2px 0 4px; }
  .card.feature p { font-size: .93rem; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .gallery .shot figcaption { display: none; }
  .gallery .shot img { aspect-ratio: 4 / 3; }
  .hero .actions .btn { width: 100%; }
  .article-nav { grid-template-columns: 1fr; }
  .article-nav .next { grid-column: auto; }
  .wl-pick { grid-template-columns: repeat(5, 1fr); gap: 6px; }
  .snap-sm { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); }
  .snap-sm > * { scroll-snap-align: start; }
  .snap-sm .card.feature { display: block; }
  .snap-sm .card.feature .icon-badge { margin-bottom: 12px; }
  .spot-card { padding: 8px; }
  .spot-card img { width: min(58vw, 230px); }
  .hide-mobile { display: none; }
  .section { padding: 48px 0; }
}

/* ---------- utilities ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; } .mb-0 { margin-bottom: 0; }
.small { font-size: .88rem; color: var(--muted); }
@media (min-width: 760px) { .section { padding: 88px 0; } :root { --gutter: 24px; } }
@media (max-width: 359px) { .brand span { font-size: .84rem; letter-spacing: .03em; } .site-header .wrap { gap: 8px; } .header-actions { gap: 6px; } .menu-btn { width: 42px; } }
@media (max-width: 339px) { .brand span { display: none; } }

/* ---------- hero backdrop: a blurred, darkened copy of the art fills the whole width, so no empty band on any screen ---------- */
.hero-backdrop { display: none; }
@media (min-width: 900px) {
  .hero-backdrop { display: block; position: absolute; inset: -40px; z-index: 0; overflow: hidden; }
  .hero-backdrop img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 40%; filter: blur(34px) saturate(1.15) brightness(.42); transform: scaleX(-1); }
  .hero-backdrop::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 11, 15, .55) 0%, rgba(10, 11, 15, .25) 60%, rgba(10, 11, 15, 0) 100%), linear-gradient(0deg, var(--bg-deep) 0%, rgba(10, 11, 15, 0) 30%); }
  .hero-media { z-index: 0; }
  .hero-body { padding-top: 88px; }
}

/* ---------- wide screens (1500+, ultrawide, 4K): sharp art fades softly into the blurred backdrop on both sides ---------- */
@media (min-width: 1500px) {
  .hero { min-height: min(88vh, 960px); }
  .hero-media { left: calc(50% - min(var(--max), 100vw) / 2 + var(--gutter) + 540px); right: 0;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 26%, #000 100%); mask-image: linear-gradient(90deg, transparent 0, #000 26%, #000 100%); }
  .hero-media img { object-position: 30% 35%; }
  .hero-media::after { background: linear-gradient(0deg, var(--bg-deep) 0%, rgba(10, 11, 15, 0) 26%); }
}
@media (min-width: 1920px) {
  :root { --max: 1480px; }
  body { font-size: 1.06rem; }
}
@media (min-width: 2400px) {
  :root { --max: 1640px; }
  .hero-media { left: calc(50% - min(var(--max), 100vw) / 2 + var(--gutter) + 540px); right: calc(50% - 1180px);
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24%, #000 80%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 24%, #000 80%, transparent 100%); }
}
@media (min-width: 1800px) {
  .scene { max-width: 1800px; margin: 0 auto; }
  .scene::after { background: linear-gradient(180deg, var(--bg) 0%, rgba(16, 17, 22, 0) 14%, rgba(16, 17, 22, 0) 68%, rgba(16, 17, 22, .92) 100%),
                              linear-gradient(90deg, var(--bg) 0%, rgba(16, 17, 22, 0) 8%, rgba(16, 17, 22, 0) 92%, var(--bg) 100%); }
  .section-alt .scene::after { background: linear-gradient(180deg, #1A1C24 0%, rgba(16, 17, 22, 0) 14%, rgba(16, 17, 22, 0) 68%, rgba(16, 17, 22, .92) 100%),
                              linear-gradient(90deg, #1A1C24 0%, rgba(16, 17, 22, 0) 8%, rgba(16, 17, 22, 0) 92%, #1A1C24 100%); }
}
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .news-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) and (max-width: 1099px) { .grid-3:not(.snap-sm) .card.platform { padding: 20px; } }
