/* FM Radio: HiFi Radio AM FM — Obsidian Gold Studio & Studio Alabaster Design System (v13) */

/* ==================== 1. DESIGN TOKENS ==================== */
:root,
[data-theme="sapphire"] {
  color-scheme: only dark;
  forced-color-adjust: none;

  --bg: #08090C;
  --bg-elev: #0E1016;
  --bg-tinted: #0B0D12;
  --surface: #13161E;
  --surface-2: #1A1E29;
  --surface-oled: #07080B;

  --line: rgba(255, 255, 255, 0.085);
  --line-strong: rgba(255, 255, 255, 0.16);
  --line-gold: rgba(230, 195, 120, 0.30);
  --line-gold-hi: rgba(246, 223, 159, 0.56);

  --fg: #F6F7F9;
  --fg-2: #D4D8E1;
  --fg-3: #959CA9;
  --fg-4: #68707F;

  --gold: #E6C378;
  --gold-hi: #F6DFA1;
  --gold-brand: #FFF3D1;
  --gold-soft: rgba(230, 195, 120, 0.12);

  --live: #2ED193;
  --live-soft: rgba(46, 209, 147, 0.14);

  --btn-primary-bg: linear-gradient(180deg, #F5DF9F 0%, #DFB75E 100%);
  --btn-primary-bg-hover: linear-gradient(180deg, #FAE9B6 0%, #E7C26E 100%);
  --btn-primary-fg: #090A0D;
  --btn-primary-border: rgba(255, 245, 214, 0.55);
  --btn-primary-shadow: 0 10px 26px rgba(223, 183, 94, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.48);

  --btn-sec-bg: rgba(255, 255, 255, 0.04);
  --btn-sec-bg-hover: rgba(255, 255, 255, 0.085);
  --btn-sec-fg: #EAECEF;

  --badge-bg: rgba(230, 195, 120, 0.10);
  --badge-fg: #F3D998;
  --badge-line: rgba(230, 195, 120, 0.26);

  --topbar-bg: rgba(8, 9, 12, 0.86);
  --dock-bg: rgba(15, 18, 26, 0.94);

  --hero-aura: radial-gradient(ellipse 72% 48% at 68% -8%, rgba(230, 195, 120, 0.13) 0%, rgba(230, 195, 120, 0.03) 44%, transparent 72%);
  --card-specular: linear-gradient(90deg, transparent 10%, rgba(246, 223, 159, 0.36) 50%, transparent 90%);
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.32);
  --shadow-md: 0 14px 36px rgba(0, 0, 0, 0.48);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.66);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --maxw: 1180px;
  --topbar-h: 58px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Noto Sans SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Roboto Mono", monospace;
}

/* Studio Alabaster Porcelain Light Theme */
[data-theme="riviera"] {
  color-scheme: light;
  forced-color-adjust: auto;

  --bg: #F8F7F4;
  --bg-elev: #FFFFFF;
  --bg-tinted: #F1EFE9;
  --surface: #FFFFFF;
  --surface-2: #F4F2EC;
  --surface-oled: #111319;

  --line: rgba(15, 20, 30, 0.09);
  --line-strong: rgba(15, 20, 30, 0.17);
  --line-gold: rgba(158, 118, 36, 0.28);
  --line-gold-hi: rgba(158, 118, 36, 0.52);

  --fg: #101218;
  --fg-2: #2C313D;
  --fg-3: #596170;
  --fg-4: #7F8796;

  --gold: #9A7322;
  --gold-hi: #B88B2E;
  --gold-brand: #101218;
  --gold-soft: rgba(154, 115, 34, 0.10);

  --live: #159966;
  --live-soft: rgba(21, 153, 102, 0.12);

  --btn-primary-bg: linear-gradient(180deg, #1E212B 0%, #0E1016 100%);
  --btn-primary-bg-hover: linear-gradient(180deg, #282C38 0%, #141720 100%);
  --btn-primary-fg: #FAF8F2;
  --btn-primary-border: rgba(230, 195, 120, 0.42);
  --btn-primary-shadow: 0 10px 26px rgba(15, 20, 30, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.14);

  --btn-sec-bg: rgba(255, 255, 255, 0.92);
  --btn-sec-bg-hover: #F4F2EC;
  --btn-sec-fg: #141720;

  --badge-bg: rgba(154, 115, 34, 0.09);
  --badge-fg: #7C5B16;
  --badge-line: rgba(154, 115, 34, 0.24);

  --topbar-bg: rgba(248, 247, 244, 0.88);
  --dock-bg: rgba(255, 255, 255, 0.95);

  --hero-aura: radial-gradient(ellipse 75% 48% at 68% -10%, rgba(196, 155, 69, 0.11) 0%, transparent 68%);
  --card-specular: linear-gradient(90deg, transparent 10%, rgba(158, 118, 36, 0.24) 50%, transparent 90%);
  --shadow-sm: 0 2px 10px rgba(16, 18, 24, 0.05);
  --shadow-md: 0 10px 30px rgba(16, 18, 24, 0.08);
  --shadow-lg: 0 20px 54px rgba(16, 18, 24, 0.13);
}

/* Samsung Internet Auto-Dark Safe Burnished Obsidian-Gold Controls */
html.is-sbrowser[data-theme="sapphire"] {
  --btn-primary-bg: linear-gradient(180deg, #2D2310 0%, #171208 100%);
  --btn-primary-bg-hover: linear-gradient(180deg, #382C14 0%, #1F180B 100%);
  --btn-primary-fg: #FFF3D1;
  --btn-primary-border: #E6C378;
  --btn-primary-shadow: 0 8px 24px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(246, 223, 159, 0.32);
}

/* ==================== 2. RESET & BASE ==================== */
*, *::before, *::after { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--topbar-h) + 16px);
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.62;
  color: var(--fg);
  background-color: var(--bg);
  background-image: var(--hero-aura);
  background-repeat: no-repeat;
  background-size: 100% 760px;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4, p, ul, ol, dl, dt, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 18px;
}

@media (min-width: 768px) {
  .container { padding-inline: 28px; }
}

.mono { font-family: var(--font-mono); }
.icon-sm { width: 15px; height: 15px; flex: none; }
.gp-prism { width: 16px; height: 16px; flex: none; }

/* ==================== 3. MINIMALIST TOPBAR ==================== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--topbar-h);
  background: var(--topbar-bg);
  backdrop-filter: saturate(170%) blur(18px);
  -webkit-backdrop-filter: saturate(170%) blur(18px);
  border-bottom: 1px solid var(--line);
}

.topbar__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  flex-shrink: 1;
}

@media (min-width: 1040px) {
  .brand { flex-shrink: 0; }
}

.brand__icon {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line-gold);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
}

.brand__icon svg { width: 100%; height: 100%; }

.brand__name {
  font-size: 0.99rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--fg);
  white-space: nowrap;
}

.brand__tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 6px;
  border-radius: 6px;
  border: 1px solid var(--line-strong);
  background: var(--btn-sec-bg);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--fg-3);
  line-height: 1.25;
  flex: none;
}

.brand__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.15;
}

.brand__sub {
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 2px;
}

.nav {
  display: none;
  align-items: center;
  gap: 2px;
}

@media (min-width: 1040px) { .nav { display: flex; } }

.nav a {
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 0.81rem;
  font-weight: 600;
  color: var(--fg-3);
  white-space: nowrap;
  transition: color 0.18s var(--ease), background 0.18s var(--ease);
}

.nav a:hover,
.nav a.is-current {
  color: var(--fg);
  background: var(--btn-sec-bg-hover);
}

.nav a.is-current { color: var(--gold-hi); }

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: none;
}

.btn-theme {
  height: 36px;
  min-width: 36px;
  padding-inline: 9px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--btn-sec-bg);
  color: var(--fg-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease), color 0.18s var(--ease);
}

.btn-theme:hover {
  border-color: var(--line-gold);
  background: var(--btn-sec-bg-hover);
  color: var(--gold-hi);
}

.btn-theme__icon { width: 16px; height: 16px; flex: none; }
.btn-theme__icon--moon { display: none; }
[data-theme="riviera"] .btn-theme__icon--sun { display: none; }
[data-theme="riviera"] .btn-theme__icon--moon { display: block; }
.btn-theme__label { display: none; font-size: 0.75rem; font-weight: 600; white-space: nowrap; }

@media (min-width: 1240px) {
  .btn-theme { padding-inline: 11px; }
  .btn-theme__label { display: inline; }
}

.btn-lang {
  height: 36px;
  padding-inline: 11px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--btn-sec-bg);
  color: var(--fg-2);
  font-size: 0.78rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease);
}

.btn-lang:hover {
  border-color: var(--line-gold);
  background: var(--btn-sec-bg-hover);
  color: var(--fg);
}

.btn-lang svg { width: 14px; height: 14px; color: var(--fg-3); flex: none; }

.menu-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--btn-sec-bg);
  color: var(--fg);
  display: grid;
  place-items: center;
  transition: border-color 0.18s var(--ease), background 0.18s var(--ease);
}

.menu-btn:hover { border-color: var(--line-gold); background: var(--btn-sec-bg-hover); }
.menu-btn svg { width: 18px; height: 18px; }
.menu-btn .i-close { display: none; }
.menu-btn[aria-expanded="true"] .i-menu { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }

.theme-toast {
  position: fixed;
  top: calc(var(--topbar-h) + 10px);
  inset-inline-end: 18px;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line-gold);
  box-shadow: var(--shadow-md);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--fg);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
}

.theme-toast.is-shown { opacity: 1; transform: translateY(0); }
.theme-toast__dot { width: 9px; height: 9px; border-radius: 999px; background: var(--gold); }
.swatch-dot { width: 11px; height: 11px; border-radius: 999px; flex: none; border: 1px solid rgba(255, 255, 255, 0.35); }
.swatch-dot--sapphire { background: linear-gradient(135deg, #161820 20%, #E6C378 100%); }
.swatch-dot--riviera { background: linear-gradient(135deg, #FAF8F3 25%, #B88B2E 100%); }

/* ==================== 4. BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 13px;
  font-size: 0.90rem;
  font-weight: 750;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform 0.16s var(--ease), background 0.18s var(--ease), border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.btn:active { transform: scale(0.98); }
.btn--sm { min-height: 36px; padding: 0 14px; border-radius: 10px; font-size: 0.79rem; }

.btn--primary,
.btn--cta-main {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-fg);
  border: 1px solid var(--btn-primary-border);
  box-shadow: var(--btn-primary-shadow);
}

.btn--primary:hover,
.btn--cta-main:hover {
  background: var(--btn-primary-bg-hover);
  transform: translateY(-1px);
}

.btn--glass,
.btn--cta-sub {
  background: var(--btn-sec-bg);
  color: var(--btn-sec-fg);
  border: 1px solid var(--line-strong);
}

.btn--glass:hover,
.btn--cta-sub:hover {
  background: var(--btn-sec-bg-hover);
  border-color: var(--line-gold);
}

.btn.topbar__play { display: none; }
@media (min-width: 860px) { .btn.topbar__play { display: inline-flex; } }

/* ==================== 5. SITEMAP DRAWER ==================== */
.drawer {
  position: fixed;
  top: var(--topbar-h);
  inset-inline: 0;
  bottom: 0;
  z-index: 48;
  background: var(--bg-elev);
  overflow-y: auto;
  padding: 20px 0 64px;
  border-top: 1px solid var(--line);
}

.drawer[hidden] { display: none; }

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.drawer__title { font-size: 1.05rem; font-weight: 800; letter-spacing: -0.02em; }

.drawer__badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--badge-bg);
  border: 1px solid var(--badge-line);
  color: var(--badge-fg);
  font-size: 0.72rem;
  font-weight: 700;
}

.drawer-themes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 18px; }

.drawer-theme-opt {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--fg-2);
  text-align: start;
}

.drawer-theme-opt.is-active {
  border-color: var(--line-gold-hi);
  background: var(--gold-soft);
  color: var(--fg);
}

.drawer__grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 720px) { .drawer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .drawer__grid { grid-template-columns: repeat(3, 1fr); } }

.drawer__group { padding: 14px 16px; border-radius: var(--radius-md); background: var(--surface); border: 1px solid var(--line); }

.drawer__group-title {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.drawer__links { display: flex; flex-direction: column; gap: 3px; }

.drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 9px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fg-2);
}

.drawer__link svg { width: 14px; height: 14px; opacity: 0.45; flex: none; }
.drawer__link:hover,
.drawer__link.is-current { background: var(--gold-soft); color: var(--fg); }
.drawer__link.is-current svg { opacity: 1; color: var(--gold); }

/* ==================== 6. BREADCRUMB ==================== */
.crumb-bar { padding-top: 10px; }
.crumb-list {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  gap: 6px;
  font-size: 0.74rem;
  color: var(--fg-4);
  white-space: nowrap;
}
.crumb-list::-webkit-scrollbar { display: none; }
.crumb-list a { color: var(--fg-3); }
.crumb-list a:hover { color: var(--gold); }
.crumb-sep { opacity: 0.45; }
.crumb-current { color: var(--gold); font-weight: 600; }

/* ==================== 7. 32-LANGUAGE VIEWPORT-LOCKED FIRST-SCREEN HERO (v12) ==================== */
.hero {
  padding: 0 0 40px;
}

.hero__fold {
  display: flex;
  flex-direction: column;
}

.hero__grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero__copy,
.hero__media {
  min-width: 0;
}

.hero__below {
  padding-top: 28px;
}

@media (max-width: 959px) {
  /* Viewport-locked first screen: Video Card ends right above Android system nav bar; ZERO below-the-fold bleed! */
  .hero__fold {
    min-height: calc(100vh - var(--topbar-h));
    min-height: calc(100svh - var(--topbar-h));
    padding-top: clamp(16px, 3.6svh, 36px);
    padding-bottom: clamp(14px, 2.3svh, 22px);
  }

  body:not([data-page="index"]) .hero__fold {
    min-height: calc(100vh - var(--topbar-h) - 30px);
    min-height: calc(100svh - var(--topbar-h) - 30px);
    padding-top: clamp(14px, 3.0svh, 28px);
  }

  .hero__grid {
    flex: 1 1 auto;
    justify-content: space-between;
    gap: clamp(14px, 2.6svh, 26px);
  }

  .hero__copy {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    justify-content: space-evenly;
    gap: clamp(10px, 1.8svh, 16px);
  }

  .hero__copy > .eyebrow-pill { align-self: flex-start; margin-bottom: 0; }
  .hero__copy > .hero-lead { margin-top: 0; }
  .hero__copy > .fm-hero-marquee { margin-top: 0; }

  .hero__media {
    flex: none;
    margin-top: 0;
  }
}

@media (min-width: 960px) {
  .hero { padding: 48px 0 56px; }
  .hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
    gap: 44px;
    align-items: center;
  }
  .hero__below { padding-top: 38px; }
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 100%;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  color: var(--fg-2);
  font-size: clamp(0.66rem, 2.85vw, 0.74rem);
  font-weight: 650;
  letter-spacing: 0.025em;
  margin-bottom: clamp(10px, 2.1svh, 18px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--live);
  box-shadow: 0 0 8px var(--live);
  flex: none;
}

.eyebrow-pill__badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--badge-bg);
  border: 1px solid var(--badge-line);
  color: var(--gold-hi);
  font-family: var(--font-mono);
  font-size: 0.69rem;
  font-weight: 800;
}

/* Commanding 2-Tier Editorial Brand H1 on Homepage */
.hero-h1 {
  font-size: clamp(1.52rem, 5.5vw, 2.85rem);
  font-weight: 850;
  line-height: 1.16;
  letter-spacing: -0.026em;
  color: var(--fg);
  text-wrap: balance;
}

.hero-h1--home {
  line-height: 1.06;
}

.hero-h1__brand {
  display: block;
  font-size: clamp(2.38rem, 9.6vw, 4.15rem);
  font-weight: 850;
  letter-spacing: -0.036em;
  line-height: 1.04;
  color: var(--gold-brand);
}

.hero-h1__sub {
  display: block;
  margin-top: clamp(6px, 1.2svh, 10px);
  font-size: clamp(0.95rem, 3.85vw, 1.76rem);
  font-weight: 750;
  letter-spacing: -0.016em;
  line-height: 1.25;
  color: var(--fg);
  text-wrap: balance;
}

html[lang^="zh"] .hero-h1__sub,
html[lang="ja"] .hero-h1__sub,
html[lang="ko"] .hero-h1__sub {
  font-size: clamp(1.02rem, 4.25vw, 1.84rem);
  letter-spacing: -0.012em;
  line-height: 1.28;
}

html[lang="ko"] .hero-h1__sub,
html[lang="ko"] .hero-lead {
  word-break: keep-all;
}

.hero-lead {
  margin-top: clamp(10px, 2.0svh, 16px);
  font-size: clamp(0.84rem, 3.55vw, 1.02rem);
  line-height: 1.56;
  color: var(--fg-2);
  max-width: 56ch;
}

/* Tall-script & verbose-script micro-calibration so all 32 languages fit 1 mobile fold cleanly */
@media (max-width: 959px) {
  html[lang="ta"] .hero-h1__sub,
  html[lang="te"] .hero-h1__sub,
  html[lang="kn"] .hero-h1__sub,
  html[lang="bn"] .hero-h1__sub,
  html[lang="gu"] .hero-h1__sub,
  html[lang="pa"] .hero-h1__sub,
  html[lang="mr"] .hero-h1__sub,
  html[lang="hi"] .hero-h1__sub,
  html[lang="th"] .hero-h1__sub,
  html[lang="ur"] .hero-h1__sub {
    font-size: clamp(0.90rem, 3.65vw, 1.12rem);
    line-height: 1.32;
  }

  html[lang="ta"] .hero-lead,
  html[lang="te"] .hero-lead,
  html[lang="kn"] .hero-lead,
  html[lang="bn"] .hero-lead,
  html[lang="gu"] .hero-lead,
  html[lang="pa"] .hero-lead,
  html[lang="mr"] .hero-lead,
  html[lang="hi"] .hero-lead,
  html[lang="th"] .hero-lead,
  html[lang="ar"] .hero-lead,
  html[lang="fa"] .hero-lead,
  html[lang="ur"] .hero-lead {
    font-size: clamp(0.80rem, 3.35vw, 0.92rem);
    line-height: 1.58;
  }

  html[lang="sw"] .hero-h1__sub,
  html[lang="pl"] .hero-h1__sub,
  html[lang="de"] .hero-h1__sub,
  html[lang="fr"] .hero-h1__sub,
  html[lang="nl"] .hero-h1__sub,
  html[lang="fil"] .hero-h1__sub,
  html[lang="id"] .hero-h1__sub,
  html[lang="ms"] .hero-h1__sub,
  html[lang="tr"] .hero-h1__sub,
  html[lang="ru"] .hero-h1__sub,
  html[lang="uk"] .hero-h1__sub,
  html[lang="vi"] .hero-h1__sub {
    font-size: clamp(0.92rem, 3.7vw, 1.14rem);
    line-height: 1.24;
  }
}

/* Seamless Single-Row Infinite Capability Ticker */
@keyframes fmMarquee {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

@keyframes fmMarqueeRtl {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(50%, 0, 0); }
}

.fm-hero-marquee {
  position: relative;
  margin-top: clamp(12px, 2.4svh, 22px);
  width: 100%;
  overflow: hidden;
  padding: 7px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%);
}

.fm-hero-marquee__track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: fmMarquee 22s linear infinite;
}

.fm-hero-marquee:hover .fm-hero-marquee__track { animation-play-state: paused; }
html[dir="rtl"] .fm-hero-marquee__track { animation-name: fmMarqueeRtl; }

.fm-hero-marquee__group {
  display: inline-flex;
  align-items: center;
  flex: none;
  gap: 9px;
  padding-inline-end: 9px;
}

.fm-hero-marquee__group span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  white-space: nowrap;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--fg-2);
  background: var(--btn-sec-bg);
  border: 1px solid var(--line-strong);
}

.fm-hero-marquee__group span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 6px var(--live);
  flex: none;
}

/* 16:9 Flagship Official Video Player Card (Lazy-Load HD MP4 / YouTube Facade + Zero Black End) */
.fm-hero-video {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line-gold);
  background: #090B10;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  text-align: start;
  transition: transform 0.24s var(--ease), border-color 0.24s var(--ease), box-shadow 0.24s var(--ease);
}

.fm-hero-video:hover,
.fm-hero-video:focus-visible {
  transform: translateY(-2px);
  border-color: var(--line-gold-hi);
  outline: none;
}

.fm-hero-video.is-playing {
  transform: none;
  cursor: default;
}

.fm-hero-video__poster {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.95) contrast(1.02);
  transition: transform 0.45s var(--ease), filter 0.28s var(--ease);
}

.fm-hero-video:hover .fm-hero-video__poster {
  transform: scale(1.025);
  filter: brightness(1.0) contrast(1.03);
}

.fm-hero-video__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 9, 14, 0.02) 0%, rgba(7, 9, 14, 0.10) 56%, rgba(7, 9, 14, 0.84) 100%);
  pointer-events: none;
}

.fm-hero-video__play {
  position: absolute;
  top: 56%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F5DF9F 0%, #DCA847 100%);
  color: #090A0D;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.60), 0 0 0 6px rgba(230, 195, 120, 0.22);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
  pointer-events: none;
}

.fm-hero-video__play svg { margin-left: 2px; }

html.is-sbrowser .fm-hero-video__play {
  background: linear-gradient(180deg, #2D2310 0%, #171208 100%);
  color: #F6DFA1;
  border: 2px solid #E6C378;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.65), 0 0 0 5px rgba(230, 195, 120, 0.22);
}

.fm-hero-video:hover .fm-hero-video__play {
  transform: translate(-50%, -50%) scale(1.07);
}

.fm-hero-video__bar {
  position: absolute;
  inset-inline: 12px;
  bottom: 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  pointer-events: none;
}

.fm-hero-video__label {
  font-size: 0.77rem;
  font-weight: 650;
  color: #F8FAFC;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.75);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fm-hero-video__badge {
  flex: none;
  padding: 2px 9px;
  border-radius: 999px;
  background: rgba(12, 15, 24, 0.86);
  border: 1px solid rgba(230, 195, 120, 0.34);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: #F3D998;
  white-space: nowrap;
}

.fm-hero-video__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000000;
  object-fit: contain;
}

/* Architectural Telemetry Spec Strip */
.spec-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
}

@media (min-width: 540px) {
  .spec-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.spec-card {
  background: var(--surface);
  padding: 12px 13px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.spec-card dt {
  font-size: 1.02rem;
  font-weight: 850;
  letter-spacing: -0.02em;
  color: var(--gold-hi);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.spec-card dd {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--fg-3);
  line-height: 1.32;
}

/* ==================== 8. PRECISION INTERACTIVE HIFI CONSOLE ==================== */
.console-wrap {
  margin-top: 28px;
}

@media (min-width: 960px) {
  .console-wrap { margin-top: 42px; }
}

.studio-console {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

[data-theme="sapphire"] .studio-console {
  background: linear-gradient(180deg, #161A24 0%, #0F1219 100%);
  border-color: var(--line-gold);
}

.studio-console::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 1px;
  background: var(--card-specular);
  pointer-events: none;
}

.console-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 13px; }
.console-brand { display: inline-flex; align-items: center; gap: 9px; min-width: 0; font-size: 0.86rem; font-weight: 800; color: var(--fg); }
.console-brand__icon { width: 24px; height: 24px; border-radius: 7px; overflow: hidden; border: 1px solid var(--line-gold); flex: none; }
.console-brand__icon svg { width: 100%; height: 100%; }

.console-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--badge-bg);
  border: 1px solid var(--badge-line);
  color: var(--badge-fg);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  flex: none;
}

.console-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  border-radius: 13px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  margin-bottom: 14px;
}

.console-tab {
  min-height: 36px;
  padding: 6px 8px;
  border-radius: 9px;
  font-size: 0.77rem;
  font-weight: 700;
  color: var(--fg-3);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background 0.16s var(--ease), color 0.16s var(--ease), box-shadow 0.16s var(--ease);
}

.console-tab.is-active {
  background: var(--surface-2);
  color: var(--gold-hi);
  box-shadow: inset 0 0 0 1px var(--line-gold);
}

[data-theme="riviera"] .console-tab.is-active {
  background: #FFFFFF;
  color: var(--fg);
  box-shadow: 0 2px 8px rgba(16, 18, 24, 0.08), inset 0 0 0 1px var(--line-gold);
}

.console-panel { display: none; }
.console-panel.is-active { display: block; }

.tuner-readout {
  padding: 15px 16px;
  border-radius: 15px;
  background: var(--surface-oled);
  border: 1px solid rgba(230, 195, 120, 0.24);
  margin-bottom: 14px;
  color: #F6F7F9;
}

.tuner-readout__top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.tuner-freq-group { display: inline-flex; align-items: baseline; gap: 6px; min-width: 0; }

.tuner-freq {
  font-family: var(--font-mono);
  font-size: clamp(2.05rem, 7vw, 2.65rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #F7E1A6;
  font-variant-numeric: tabular-nums;
}

.tuner-unit { font-family: var(--font-mono); font-size: 0.82rem; font-weight: 700; color: #8E96A6; }

.tuner-kbps-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(46, 209, 147, 0.12);
  border: 1px solid rgba(46, 209, 147, 0.26);
  color: #6CE5B6;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 750;
  white-space: nowrap;
  flex: none;
}

.tuner-kbps-dot { width: 6px; height: 6px; border-radius: 999px; background: #2ED193; box-shadow: 0 0 8px #2ED193; }

.tuner-readout__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.tuner-station { font-size: 0.88rem; font-weight: 750; color: #F4F6FA; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tuner-live { font-size: 0.69rem; font-weight: 700; letter-spacing: 0.04em; color: #959CA9; white-space: nowrap; flex: none; }

.tuner-band-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.band-pills { display: inline-flex; gap: 6px; }

.band-pill {
  min-width: 48px;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--bg-elev);
  color: var(--fg-3);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
}

.band-pill.is-active { background: var(--btn-primary-bg); color: var(--btn-primary-fg); border-color: var(--btn-primary-border); }
.tuner-hint { font-size: 0.72rem; color: var(--fg-4); font-weight: 600; text-align: end; }
.tuner-dial-wrap { position: relative; padding: 8px 0 6px; }

.tuner-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 34px;
  border-radius: 10px;
  background-color: var(--surface-oled);
  background-image:
    repeating-linear-gradient(to right, rgba(230, 195, 120, 0.72) 0 1.5px, transparent 1.5px 20%),
    repeating-linear-gradient(to right, rgba(255, 255, 255, 0.32) 0 1px, transparent 1px 4%);
  background-size: 100% 20px, 100% 11px;
  background-position: left bottom, left bottom;
  background-repeat: no-repeat;
  border: 1px solid rgba(230, 195, 120, 0.34);
  cursor: ew-resize;
  margin: 0;
}

.tuner-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 5px;
  height: 32px;
  border-radius: 3px;
  background: linear-gradient(180deg, #FFF3CC 0%, #E6B954 100%);
  box-shadow: 0 0 14px rgba(246, 223, 159, 0.85), 0 0 0 1px rgba(9, 10, 13, 0.6);
  cursor: ew-resize;
}

html.is-sbrowser .tuner-slider::-webkit-slider-thumb {
  width: 6px;
  background: #2C210C;
  border: 1.5px solid #F6DFA1;
  box-shadow: 0 0 12px rgba(246, 223, 159, 0.9);
}

.tuner-slider::-moz-range-thumb {
  width: 5px;
  height: 32px;
  border: 0;
  border-radius: 3px;
  background: linear-gradient(180deg, #FFF3CC 0%, #E6B954 100%);
  box-shadow: 0 0 14px rgba(246, 223, 159, 0.85);
}

.tuner-scale { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 0.70rem; font-weight: 700; color: var(--fg-4); margin: 6px 2px 13px; }
.tuner-presets { display: grid; gap: 7px; }
.tuner-presets--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tuner-presets--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (min-width: 440px) { .tuner-presets--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.chip-btn {
  min-height: 34px;
  padding: 6px 8px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  color: var(--fg-3);
  font-size: 0.73rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chip-btn:hover { border-color: var(--line-gold); color: var(--fg); }
.chip-btn.is-active { background: var(--gold-soft); border-color: var(--line-gold-hi); color: var(--gold-hi); }
[data-theme="riviera"] .chip-btn.is-active { background: #141720; border-color: #141720; color: #F6DFA1; }

.eq-stage {
  height: 122px;
  padding: 14px 10px 10px;
  border-radius: 14px;
  background-color: var(--surface-oled);
  background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 100% 30px;
  border: 1px solid rgba(230, 195, 120, 0.22);
  display: flex;
  align-items: flex-end;
  gap: 2.5px;
  margin-bottom: 12px;
}

.eq-bar { flex: 1; min-width: 2px; border-radius: 3px 3px 1px 1px; background: linear-gradient(180deg, #FAE9B6 0%, #DFB55B 58%, rgba(223, 181, 91, 0.24) 100%); transition: height 0.34s var(--ease); }
.eq-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; margin-bottom: 12px; }
.eq-metric { padding: 9px 10px; border-radius: 11px; background: var(--bg-elev); border: 1px solid var(--line); text-align: center; }
.eq-metric b { display: block; font-family: var(--font-mono); font-size: 0.88rem; font-weight: 800; color: var(--gold-hi); }
.eq-metric span { display: block; font-size: 0.68rem; font-weight: 600; color: var(--fg-4); margin-top: 2px; }

.cc-box { padding: 15px 16px; border-radius: 14px; background: var(--surface-oled); border: 1px solid rgba(230, 195, 120, 0.34); margin-bottom: 12px; }
.cc-en-line { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 11px; }
.cc-word { padding: 3px 7px; border-radius: 7px; font-size: 0.90rem; font-weight: 700; color: #F4F6FA; background: rgba(255, 255, 255, 0.05); border: 1px solid transparent; }
.cc-word:hover, .cc-word.is-picked { background: rgba(230, 195, 120, 0.18); border-color: rgba(246, 223, 159, 0.56); color: #FAE8B5; }
.cc-native-line { padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 0.84rem; line-height: 1.5; color: #E6C378; font-weight: 600; }
.cc-tip-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 0.77rem; color: var(--fg-3); font-weight: 600; }

/* ==================== 9. FULL-FIT SCREENSHOT GALLERY (IMAGE-2 PROPORTIONS) ==================== */
.section {
  padding: 44px 0;
  scroll-margin-top: calc(var(--topbar-h) + 14px);
}

.site-footer { scroll-margin-top: calc(var(--topbar-h) + 14px); }

@media (min-width: 768px) { .section { padding: 66px 0; } }

.section--tinted {
  background: var(--bg-tinted);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.sec-head { margin-bottom: 22px; max-width: 66ch; }
.sec-eyebrow { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.11em; text-transform: uppercase; color: var(--gold); margin-bottom: 7px; }
.sec-title { font-size: clamp(1.36rem, 4.4vw, 2.04rem); font-weight: 850; line-height: 1.22; letter-spacing: -0.028em; color: var(--fg); text-wrap: balance; margin-bottom: 8px; }
.sec-lead { font-size: 0.92rem; line-height: 1.6; color: var(--fg-3); }

/* Gallery Header + Sleek Store Identity Bar (Image 2, zero clutter) */
.gp-section {
  --gp-h: clamp(148px, 41vw, 170px);
  padding: 34px 0 38px;
}

.gp-section .sec-title { font-size: clamp(1.24rem, 4.1vw, 1.88rem); margin-bottom: 6px; }
.gp-section .sec-lead { font-size: 0.84rem; line-height: 1.52; }

@media (min-width: 641px) { .gp-section { --gp-h: 244px; padding: 52px 0; } .gp-section .sec-lead { font-size: 0.92rem; } }
@media (min-width: 1024px) { .gp-section { --gp-h: 304px; padding: 64px 0; } }

.gp-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 14px;
}

@media (min-width: 820px) {
  .gp-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
  }
}

.gp-head__left { max-width: 62ch; min-width: 0; }

.gp-eyebrow-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 7px;
}

.gp-eyebrow-live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 8px var(--live);
  flex: none;
}

.gp-store-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-sm);
  flex: none;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.gp-store-bar:hover {
  border-color: var(--line-gold);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.gp-store-bar__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line-gold);
  flex: none;
}

.gp-store-bar__icon svg { width: 100%; height: 100%; }

.gp-store-bar__meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.24;
}

.gp-store-bar__name {
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--fg);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gp-store-bar__dev {
  font-size: 0.71rem;
  font-weight: 600;
  color: var(--fg-3);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gp-store-bar__cta {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-inline-start: 11px;
  border-inline-start: 1px solid var(--line);
  font-size: 0.73rem;
  font-weight: 700;
  color: var(--fg-2);
  white-space: nowrap;
  transition: color 0.18s var(--ease);
}

.gp-store-bar:hover .gp-store-bar__cta { color: var(--gold-hi); }
.gp-store-bar__gico { width: 15px; height: 15px; flex: none; }

@media (max-width: 420px) {
  .gp-store-bar { padding: 9px 10px; gap: 8px; }
  .gp-store-bar__icon { width: 32px; height: 32px; border-radius: 9px; }
  .gp-store-bar__name { font-size: 0.74rem; letter-spacing: -0.025em; }
  .gp-store-bar__dev { font-size: 0.67rem; }
  .gp-store-bar__cta { padding-inline-start: 8px; gap: 4.5px; font-size: 0.69rem; }
  .gp-store-bar__gico { width: 13px; height: 13px; }
}

.gp-stage { position: relative; }

.gp-rail {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  padding: 4px 2px 12px;
  scrollbar-width: none;
  cursor: grab;
  direction: ltr;
}

.gp-rail.is-dragging { cursor: grabbing; scroll-behavior: auto; scroll-snap-type: none; }
.gp-rail::-webkit-scrollbar { display: none; }

.gp-item {
  position: relative;
  flex: 0 0 auto;
  height: var(--gp-h);
  scroll-snap-align: start;
  border-radius: 13px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #0B0D12;
  box-shadow: var(--shadow-md);
  cursor: zoom-in;
  transition: transform 0.22s var(--ease), border-color 0.22s var(--ease);
}

.gp-item--feature {
  aspect-ratio: 1024 / 500;
  border-color: var(--line-gold);
}

.gp-item--shot {
  aspect-ratio: 9 / 16;
}

.gp-item:hover {
  transform: translateY(-2px);
  border-color: var(--line-gold-hi);
}

.gp-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gp-zoom-cue {
  position: absolute;
  right: 7px;
  bottom: 7px;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: rgba(8, 10, 16, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #F6DFA1;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.gp-zoom-cue svg { width: 12px; height: 12px; }

.gp-nav { display: none; }
@media (min-width: 820px) {
  .gp-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--line-gold);
    box-shadow: var(--shadow-md);
    color: var(--gold-hi);
    font-size: 1.5rem;
    display: grid;
    place-items: center;
    transition: opacity 0.18s var(--ease), transform 0.18s var(--ease);
  }
  .gp-nav:hover { transform: translateY(-50%) scale(1.06); }
  .gp-nav--prev { left: -14px; }
  .gp-nav--next { right: -14px; }
  .gp-nav.is-hidden { opacity: 0; pointer-events: none; }
}

/* Lightbox Modal */
.lb-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(6, 7, 10, 0.94);
  backdrop-filter: blur(14px);
  display: none;
  flex-direction: column;
}

.lb-modal.is-open { display: flex; }

.lb-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: #F6F7F9;
}

.lb-meta { display: flex; align-items: center; gap: 12px; min-width: 0; }
.lb-counter { font-family: var(--font-mono); font-size: 0.78rem; color: #E6C378; font-weight: 800; flex: none; }
.lb-title { font-size: 0.85rem; color: #D4D8E1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.lb-close {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #FFFFFF;
  font-size: 1.4rem;
  display: grid;
  place-items: center;
  flex: none;
}

.lb-stage {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 18px;
}

.lb-img {
  max-height: 82vh;
  max-width: 92vw;
  border-radius: 16px;
  border: 1px solid rgba(230, 195, 120, 0.30);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.75);
}

.lb-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(10, 12, 18, 0.76);
  border: 1px solid rgba(230, 195, 120, 0.34);
  color: #F6DFA1;
  font-size: 1.45rem;
  display: grid;
  place-items: center;
}

.lb-arrow--prev { inset-inline-start: 8px; }
.lb-arrow--next { inset-inline-end: 8px; }

@media (min-width: 640px) {
  .lb-arrow { width: 44px; height: 44px; font-size: 1.6rem; }
  .lb-arrow--prev { inset-inline-start: 16px; }
  .lb-arrow--next { inset-inline-end: 16px; }
}

/* ==================== 10. POSITION #0 SUMMARY & CARDS ==================== */
.snippet-definition {
  padding: 16px 18px;
  margin-bottom: 24px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
  border-inline-start: 3px solid var(--gold);
  font-size: 0.92rem;
  line-height: 1.68;
  color: var(--fg-2);
  box-shadow: var(--shadow-sm);
}

.card-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 680px) { .card-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 980px) { .card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 1px;
  background: var(--card-specular);
  opacity: 0.55;
  pointer-events: none;
}

a.card:hover { transform: translateY(-2px); border-color: var(--line-gold); box-shadow: var(--shadow-md); }

.card__tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--badge-bg);
  border: 1px solid var(--badge-line);
  color: var(--badge-fg);
  font-size: 0.70rem;
  font-weight: 750;
  letter-spacing: 0.04em;
}

.card h3 { font-size: 1.03rem; font-weight: 800; line-height: 1.32; color: var(--fg); }
.card p { font-size: 0.88rem; line-height: 1.62; color: var(--fg-3); }
.card__foot { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--line); font-size: 0.80rem; font-weight: 750; color: var(--gold-hi); }

/* ==================== 11. 6-PILLAR COLLAPSIBLE DIRECTORY ==================== */
.hub-pillars { display: flex; flex-direction: column; gap: 12px; }
.hub-pillar { border-radius: var(--radius-md); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.hub-pillar[open] { border-color: var(--line-gold); }
.hub-pillar__sum { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 18px; cursor: pointer; list-style: none; user-select: none; }
.hub-pillar__sum::-webkit-details-marker { display: none; }
.hub-pillar__left { display: flex; align-items: center; gap: 10px; min-width: 0; }
.hub-pillar__idx { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 800; color: var(--gold); padding: 3px 8px; border-radius: 7px; background: var(--gold-soft); border: 1px solid var(--badge-line); flex: none; }
.hub-pillar__title { font-size: 0.96rem; font-weight: 800; color: var(--fg); line-height: 1.3; }
.hub-pillar__right { display: inline-flex; align-items: center; gap: 8px; flex: none; }
.hub-pillar__count { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 700; color: var(--fg-4); }
.hub-pillar__chev { width: 24px; height: 24px; border-radius: 999px; background: var(--bg-elev); border: 1px solid var(--line); color: var(--gold); display: grid; place-items: center; font-size: 1rem; transition: transform 0.2s var(--ease); }
.hub-pillar[open] .hub-pillar__chev { transform: rotate(45deg); border-color: var(--line-gold); }
.hub-pillar__grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
@media (min-width: 680px) { .hub-pillar__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1020px) { .hub-pillar__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.hub-item { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 14px 18px; background: var(--surface); }
.hub-item:hover { background: var(--surface-2); }
.hub-item__body { min-width: 0; }
.hub-item__title { font-size: 0.90rem; font-weight: 750; color: var(--fg); line-height: 1.32; margin-bottom: 4px; }
.hub-item:hover .hub-item__title { color: var(--gold-hi); }
.hub-item__desc { font-size: 0.80rem; line-height: 1.5; color: var(--fg-3); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hub-item__arrow { width: 15px; height: 15px; color: var(--gold); opacity: 0.72; flex: none; margin-top: 3px; }

/* ==================== 12. ZERO-CUTOFF RESPONSIVE COMPARISON ==================== */
.table-wrap { border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden; }
.cmp-table { width: 100%; border-collapse: collapse; }

@media (max-width: 719px) {
  .cmp-table thead { display: none; }
  .cmp-table, .cmp-table tbody, .cmp-table tr, .cmp-table td { display: block; width: 100%; }
  .cmp-table tr { padding: 16px; border-bottom: 1px solid var(--line); }
  .cmp-table tr:last-child { border-bottom: 0; }
  .cmp-table td:first-child { font-size: 0.96rem; font-weight: 800; color: var(--fg); margin-bottom: 10px; }
  .cmp-table td.cmp-muted, .cmp-table td.cmp-yes { padding: 10px 12px; border-radius: 11px; font-size: 0.84rem; line-height: 1.5; }
  .cmp-table td.cmp-muted { background: var(--bg-elev); border: 1px solid var(--line); color: var(--fg-3); margin-bottom: 8px; }
  .cmp-table td.cmp-yes { background: var(--gold-soft); border: 1px solid var(--line-gold); color: var(--fg); font-weight: 650; }
  .cmp-table td[data-label]::before { content: attr(data-label); display: block; font-size: 0.67rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 4px; color: var(--fg-4); }
  .cmp-table td.cmp-yes[data-label]::before { color: var(--gold-hi); }
}

@media (min-width: 720px) {
  .cmp-table th, .cmp-table td { padding: 15px 18px; text-align: start; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 0.89rem; line-height: 1.55; }
  .cmp-table thead th { background: var(--bg-elev); font-size: 0.77rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-3); }
  .cmp-table thead th:last-child { color: var(--gold-hi); background: var(--gold-soft); }
  .cmp-table tbody tr:last-child td { border-bottom: 0; }
  .cmp-table td.cmp-muted { color: var(--fg-4); }
  .cmp-table td.cmp-yes { color: var(--fg); font-weight: 650; background: rgba(230, 195, 120, 0.045); }
}

/* ==================== 13. HOW-TO STEPS & FAQ ==================== */
.steps-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 768px) { .steps-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
.step-card { padding: 22px 20px; border-radius: var(--radius-md); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.step-num { font-family: var(--font-mono); font-size: 1.55rem; font-weight: 850; line-height: 1; color: var(--gold); opacity: 0.88; margin-bottom: 12px; }
.step-card h3 { font-size: 1.01rem; font-weight: 800; color: var(--fg); margin-bottom: 8px; }
.step-card p { font-size: 0.88rem; line-height: 1.62; color: var(--fg-3); }

.faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 860px; }
.faq-item { border-radius: var(--radius-md); background: var(--surface); border: 1px solid var(--line); }
.faq-item[open] { border-color: var(--line-gold); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px; font-size: 0.94rem; font-weight: 750; color: var(--fg); cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { width: 26px; height: 26px; border-radius: 999px; background: var(--bg-elev); border: 1px solid var(--line); color: var(--gold); display: grid; place-items: center; font-size: 1.08rem; flex: none; transition: transform 0.2s var(--ease); }
.faq-item[open] .faq-plus { transform: rotate(45deg); border-color: var(--line-gold); }
.faq-answer { padding: 0 18px 18px; font-size: 0.89rem; line-height: 1.68; color: var(--fg-3); }

.callout-legal { padding: 16px 18px; border-radius: var(--radius-md); background: var(--surface); border: 1px solid var(--line); font-size: 0.81rem; line-height: 1.65; color: var(--fg-3); }
.callout-legal strong { color: var(--fg-2); }

/* ==================== 14. AIRY EDITORIAL FOOTER + IMAGE-1 SISTER PROMO CARD ==================== */
.site-footer {
  padding: 56px 0 calc(86px + env(safe-area-inset-bottom));
  background: var(--bg-elev);
  border-top: 1px solid var(--line);
}

@media (min-width: 640px) { .site-footer { padding: 68px 0 48px; } }

.footer-cta {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 26px 22px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line-gold);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  margin-bottom: 48px;
}

[data-theme="sapphire"] .footer-cta {
  background:
    radial-gradient(ellipse 65% 85% at 88% 0%, rgba(230, 195, 120, 0.14) 0%, transparent 65%),
    linear-gradient(160deg, #171B25 0%, #0E1016 100%);
}

.footer-cta::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 1px; background: var(--card-specular); pointer-events: none; }

@media (min-width: 820px) {
  .footer-cta { flex-direction: row; align-items: center; justify-content: space-between; padding: 32px 34px; }
}

.footer-cta h2 { font-size: clamp(1.24rem, 3.8vw, 1.72rem); font-weight: 850; line-height: 1.24; letter-spacing: -0.025em; color: var(--fg); text-wrap: balance; margin-bottom: 8px; }
.footer-cta p { font-size: 0.90rem; line-height: 1.6; color: var(--fg-3); max-width: 54ch; }
.footer-cta__btns { display: flex; flex-wrap: wrap; gap: 10px; flex: none; }
@media (max-width: 519px) { .footer-cta__btns { flex-direction: column; } .footer-cta__btns .btn { width: 100%; } }

/* Spacious, Calm Multi-Column Editorial Footer Links (Airy Vertical Rhythm + Zero Crowding Across 32 Langs) */
.footer-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 18px;
  margin-bottom: 42px;
}

.footer-brand { grid-column: 1 / -1; }
.footer-brand p { margin-top: 13px; font-size: 0.85rem; color: var(--fg-3); max-width: 40ch; line-height: 1.68; }

@media (max-width: 959px) {
  .footer-brand {
    padding-bottom: 26px;
    border-bottom: 1px solid var(--line);
  }
  .footer-cols > .footer-col:last-child {
    grid-column: 1 / -1;
    padding-top: 28px;
    border-top: 1px solid var(--line);
  }
  .footer-cols > .footer-col:last-child ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 16px;
  }
}

@media (min-width: 960px) {
  .footer-cols { grid-template-columns: 1.45fr 1fr 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: auto; }
}

.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.footer-col a {
  display: inline-block;
  font-size: 0.79rem;
  color: var(--fg-3);
  line-height: 1.48;
  overflow-wrap: break-word;
  transition: color 0.16s var(--ease);
}

@media (min-width: 640px) { .footer-col a { font-size: 0.86rem; } }
.footer-col a:hover { color: var(--fg); }

/* Image-1 Exact Compact Single-Row Bottom Sister Promo Card */
.studio-ecosystem {
  padding: 0 0 32px;
}

.studio-promo-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 15px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

[data-theme="sapphire"] .studio-promo-card {
  background: linear-gradient(135deg, rgba(21, 25, 36, 0.94) 0%, rgba(13, 16, 24, 0.98) 100%);
  border-color: rgba(148, 163, 184, 0.18);
}

.studio-promo-card:hover,
.studio-promo-card:focus-within {
  border-color: var(--line-gold);
  box-shadow: var(--shadow-md);
}

.studio-promo-main {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.studio-promo-icon {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: block;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.42);
}

.studio-promo-meta {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.studio-promo-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.studio-promo-title {
  font-size: 0.91rem;
  font-weight: 800;
  color: var(--fg);
  line-height: 1.24;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.studio-promo-sub {
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--fg-3);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.studio-promo-actions {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding-inline-start: 13px;
  border-inline-start: 1px solid var(--line);
}

.studio-promo-web,
.studio-promo-cta {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 5.5px;
  height: 22px;
  padding: 0 2px;
  border-radius: 4px;
  font-size: 0.69rem;
  font-weight: 600;
  color: var(--fg-3);
  white-space: nowrap;
  transition: color 0.16s var(--ease);
}

.studio-promo-web:hover,
.studio-promo-cta:hover { color: var(--gold-hi); }

.promo-mico { width: 12px; height: 12px; flex: none; opacity: 0.82; }
.promo-lbl-short { display: none; }

@media (max-width: 640px) {
  .studio-promo-card { padding: 10px 11px; gap: 9px; }
  .studio-promo-main { gap: 10px; }
  .studio-promo-icon { width: 40px; height: 40px; border-radius: 10px; }
  .studio-promo-eyebrow { font-size: 0.59rem; letter-spacing: 0.025em; }
  .studio-promo-title { font-size: 0.79rem; letter-spacing: -0.02em; }
  .studio-promo-sub { font-size: 0.67rem; }
  .studio-promo-actions { padding-inline-start: 9px; gap: 2px; }
  .studio-promo-web, .studio-promo-cta { height: 20px; font-size: 0.66rem; gap: 4px; }
  .promo-mico { width: 11px; height: 11px; }
  .promo-lbl-full { display: none; }
  .promo-lbl-short { display: inline; }
}

.footer-legal {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.76rem;
  color: var(--fg-4);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-legal__row { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
.footer-legal a { color: var(--fg-3); }
.footer-legal a:hover { color: var(--gold); }

/* ==================== 15. SMART AUTO-HIDING MOBILE BAR (IMAGE-2 STYLE) ==================== */
.mobile-dock {
  position: fixed;
  bottom: calc(10px + env(safe-area-inset-bottom));
  inset-inline: 12px;
  z-index: 55;
  max-width: 460px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  padding: 7px 8px 7px 9px;
  border-radius: 14px;
  background: var(--dock-bg);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border: 1px solid var(--line-strong);
  box-shadow: 0 18px 42px -10px rgba(0, 0, 0, 0.86);
  opacity: 0;
  transform: translateY(calc(100% + 26px));
  pointer-events: none;
  transition: opacity 0.24s var(--ease), transform 0.3s var(--ease);
}

.mobile-dock.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
@media (min-width: 640px) { .mobile-dock { display: none; } }

.mobile-dock__left { display: flex; align-items: center; gap: 9px; min-width: 0; flex: 1; }
.mobile-dock__badge { position: relative; flex: none; }
.mobile-dock__icon { width: 34px; height: 34px; border-radius: 9px; overflow: hidden; border: 1px solid var(--line-gold); display: block; }
.mobile-dock__icon svg { width: 100%; height: 100%; }
.mobile-dock__live-dot { position: absolute; inset-inline-end: -2px; bottom: -2px; width: 8px; height: 8px; border-radius: 999px; background: var(--live); border: 2px solid var(--bg); }
.mobile-dock__info { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.mobile-dock__title { font-size: 0.82rem; font-weight: 800; color: var(--fg); line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mobile-dock__sub { display: none; font-size: 0.65rem; font-weight: 600; color: var(--gold); line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 400px) { .mobile-dock__sub { display: block; } }
html.is-sbrowser .mobile-dock__sub { display: none; }

.mobile-dock__actions { display: inline-flex; align-items: center; gap: 6px; flex: none; }

.mobile-dock__guide {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 33px;
  padding: 0 10px;
  border-radius: 9px;
  background: var(--btn-sec-bg);
  border: 1px solid var(--line-strong);
  color: var(--fg-2);
  font-size: 0.74rem;
  font-weight: 650;
  white-space: nowrap;
}

html.is-sbrowser .mobile-dock__guide { display: none; }

.mobile-dock__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 33px;
  padding: 0 12px;
  border-radius: 9px;
  background: var(--btn-primary-bg);
  color: var(--btn-primary-fg);
  border: 1px solid var(--btn-primary-border);
  box-shadow: var(--btn-primary-shadow);
  font-size: 0.75rem;
  font-weight: 800;
  white-space: nowrap;
}

.mobile-dock__cta .gp-prism { width: 13px; height: 13px; }

/* ==================== 16. 32-LANGUAGE MODAL ==================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(6, 7, 10, 0.72);
  backdrop-filter: blur(10px);
  display: none;
  align-items: flex-end;
  justify-content: center;
  padding: 12px;
}

@media (min-width: 680px) { .modal-overlay { align-items: center; } }
.modal-overlay.show { display: flex; }

.lang-modal {
  width: 100%;
  max-width: 720px;
  max-height: 84vh;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line-gold);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.lang-modal__head { display: flex; align-items: center; justify-content: space-between; padding: 15px 18px; border-bottom: 1px solid var(--line); }
.lang-modal__head h3 { font-size: 1rem; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.lang-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 14px 18px 20px; overflow-y: auto; }
@media (min-width: 600px) { .lang-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 820px) { .lang-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.lang-opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 11px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--fg-2);
  text-align: start;
}

.lang-opt:hover, .lang-opt.active { background: var(--gold-soft); border-color: var(--line-gold-hi); color: var(--fg); }
.lang-opt__code { font-size: 0.69rem; font-weight: 800; color: var(--gold); }

/* ==================== 17. RTL & REDUCED MOTION ==================== */
[dir="rtl"] .flip-rtl { transform: scaleX(-1); }
[dir="rtl"] .studio-promo-title,
[dir="rtl"] .gp-store-bar__name { direction: ltr; unicode-bidi: isolate; text-align: right; }
[dir="rtl"] .studio-promo-eyebrow { letter-spacing: 0; font-family: var(--font-sans); }

@media (prefers-reduced-motion: reduce) {
  .fm-hero-marquee__track { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
