/* ==========================================================================
       SUPERCODE V3.1 MASTER FUSION DESIGN SYSTEM (PHI = 1.618 · OBSIDIAN & GOLD)
       Samsung Internet Night-Mode Immune · Zero White-Alpha Inversion Architecture
       ========================================================================== */
    :root {
      color-scheme: only dark;
      forced-color-adjust: none;
      --phi: 1.618;
      --bg: #090A0F;
      --bg-alt: #0D1018;
      --surface: #141824;
      --card: #171C2A;
      --card-hover: #1E2436;
      --well: #0E111A;
      --elev: #1A2030;
      --elev-hover: #22293D;
      --line: #262D40;
      --line-strong: #37415C;

      --fg: #F5F7FA;
      --fg-2: #C2CAD9;
      --fg-3: #9BA5BA;
      --fg-4: #727D95;

      --gold: #F5C451;
      --gold-border: #8C6F26;
      --gold-border-hover: #C89E36;
      --gold-soft: #241F14;

      --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "PingFang TC", "Hiragino Sans GB", "Microsoft YaHei UI", "Noto Sans SC", "Noto Sans TC", "Noto Sans JP", "Noto Sans KR", "Noto Sans Arabic", "Noto Sans Hebrew", "Noto Sans Thai", "Noto Sans Devanagari", "Noto Sans Bengali", system-ui, sans-serif;
      --font-mono: "JetBrains Mono", "SF Mono", "Cascadia Code", ui-monospace, Menlo, Consolas, monospace;

      --text-xs: 0.75rem;
      --text-sm: 0.875rem;
      --text-base: 1rem;
      --text-lg: clamp(1.06rem, 1.00rem + 0.28vw, 1.24rem);
      --text-xl: clamp(1.30rem, 1.18rem + 0.45vw, 1.618rem);
      --text-2xl: clamp(1.58rem, 3.6vw, 2.55rem);
      --text-display: clamp(1.88rem, 4.8vw, 3.55rem);
      --text-code: clamp(0.78rem, 0.75rem + 0.14vw, 0.845rem);

      --s-1: 8px;
      --s-2: 16px;
      --s-3: 24px;
      --s-4: 40px;
      --s-5: 64px;
      --s-6: 100px;

      --r-sm: 8px;
      --r-md: 10px;
      --r-lg: 16px;

      --topbar-h: 56px;
      --gutter: clamp(16px, 4.2vw, 40px);
      --maxw: 1200px;
      --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
    }

    html.is-samsung {
      --surface: #171D2C;
      --card: #1C2336;
      --card-hover: #242D44;
      --elev: #20273B;
      --elev-hover: #2A334C;
      --line: #333D58;
      --line-strong: #485578;
      --fg-2: #D0D7E5;
      --fg-3: #B0BACE;
      --fg-4: #8893AB;
    }

    @media (min-width: 1024px) {
      :root { --topbar-h: 64px; }
    }

    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }

    html {
      scroll-behavior: smooth;
      scroll-padding-top: calc(var(--topbar-h) + 20px);
      background: var(--bg);
      color: var(--fg-3);
      font-family: var(--font-sans);
      font-size: 16px;
      line-height: 1.618;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      text-rendering: optimizeLegibility;
    }

    html[lang^="zh"] body, html[lang="ja"] body, html[lang="ko"] body { line-height: 1.72; }
    html[lang="ar"] body, html[lang="he"] body, html[lang="th"] body, html[lang="bn"] body, html[lang="hi"] body { line-height: 1.76; }

    body {
      min-width: 320px;
      background: var(--bg);
      color: var(--fg-3);
      overflow-x: hidden;
    }

    img, svg { display: block; }
    a { color: inherit; text-decoration: none; }
    button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
    h1, h2, h3, h4 { color: var(--fg); font-weight: 600; text-wrap: balance; }
    p { text-wrap: pretty; }

    .container {
      width: 100%;
      max-width: calc(var(--maxw) + var(--gutter) * 2);
      margin-inline: auto;
      padding-inline: var(--gutter);
    }
    .mono { font-family: var(--font-mono); }

    /* ==================== STYLE D: OBSIDIAN WARM-GOLD BUTTONS ==================== */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      height: 42px;
      padding: 0 18px;
      border-radius: var(--r-md);
      font-size: 0.875rem;
      font-weight: 600;
      letter-spacing: -0.008em;
      line-height: 1;
      white-space: nowrap;
      cursor: pointer;
      transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease), transform 0.18s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease);
    }
    .btn:active { transform: scale(0.975); }

    .btn--gold {
      background: linear-gradient(180deg, #1E2230 0%, #131620 100%);
      border: 1px solid var(--gold-border);
      box-shadow: 0 8px 24px -10px rgba(245, 196, 81, 0.24);
      color: var(--fg);
    }
    .btn--gold:hover {
      background: linear-gradient(180deg, #252A3B 0%, #171B27 100%);
      border-color: var(--gold-border-hover);
      box-shadow: 0 10px 28px -8px rgba(245, 196, 81, 0.34);
      transform: translateY(-1px);
    }

    .btn--ghost {
      background: var(--elev);
      border: 1px solid var(--line-strong);
      color: var(--fg-2);
      font-weight: 500;
    }
    .btn--ghost:hover {
      background: var(--elev-hover);
      border-color: #4D5B80;
      color: var(--fg);
    }

    .btn--sm { height: 34px; padding: 0 12px; border-radius: 8px; font-size: 0.8125rem; gap: 6px; }
    .gp-prism { width: 15px; height: 15px; flex: none; }
    .icon-ne { width: 13px; height: 13px; flex: none; opacity: 0.82; transition: transform 0.2s var(--ease); }
    .btn--ghost:hover .icon-ne { transform: translate(1.5px, -1.5px); opacity: 1; }

    .link-arrow {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      color: var(--fg-2);
      font-size: var(--text-sm);
      font-weight: 500;
      transition: color 0.2s var(--ease);
    }
    .link-arrow svg { width: 14px; height: 14px; transition: transform 0.22s var(--ease); }
    .link-arrow:hover { color: var(--fg); }
    .link-arrow:hover svg { transform: translateX(3px); }

    /* ==================== TOPBAR & UNIVERSAL 14-PAGE DRAWER ==================== */
    .topbar {
      position: sticky;
      top: 0;
      z-index: 70;
      height: var(--topbar-h);
      background: rgba(9, 10, 15, 0.90);
      backdrop-filter: saturate(1.6) blur(18px);
      -webkit-backdrop-filter: saturate(1.6) blur(18px);
      border-bottom: 1px solid var(--line);
    }
    .topbar__inner {
      display: flex;
      align-items: center;
      gap: 10px;
      height: 100%;
    }
    .brand {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      flex: none;
      color: var(--fg);
      font-size: 0.92rem;
      font-weight: 600;
      letter-spacing: -0.015em;
    }
    .brand__icon {
      display: grid;
      place-items: center;
      width: 29px;
      height: 29px;
      border-radius: 8px;
      background: linear-gradient(180deg, #1E2230 0%, #12151E 100%);
      border: 1px solid var(--gold-border);
    }
    .brand__icon svg { width: 18px; height: 18px; }
    .brand__tag {
      font-family: var(--font-mono);
      font-size: 9.5px;
      font-weight: 500;
      letter-spacing: 0.05em;
      color: var(--fg-2);
      padding: 1px 4px;
      border: 1px solid var(--line-strong);
      border-radius: 4px;
      line-height: 1.35;
    }
    @media (max-width: 374px) {
      .brand__tag { display: none; }
    }

    .nav {
      display: none;
      margin-inline: auto;
      align-items: center;
      gap: 1px;
      overflow-x: auto;
      scrollbar-width: none;
    }
    .nav::-webkit-scrollbar { display: none; }
    .nav a {
      padding: 5px 8px;
      border-radius: 7px;
      font-size: 0.79rem;
      color: var(--fg-2);
      white-space: nowrap;
      transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
    }
    .nav a:hover { color: var(--fg); background: var(--elev); }
    .nav a.is-current {
      color: var(--fg);
      background: var(--gold-soft);
      box-shadow: inset 0 0 0 1px var(--gold-border);
    }

    .topbar__actions {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      margin-left: auto;
      flex: none;
    }

    .btn-lang-trigger {
      height: 32px;
      padding: 0 9px;
      display: inline-flex;
      align-items: center;
      gap: 5px;
      border-radius: 8px;
      background: var(--elev);
      border: 1px solid var(--line-strong);
      color: var(--fg-2);
      font-size: 0.74rem;
      font-weight: 500;
      white-space: nowrap;
      transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background-color 0.2s var(--ease);
    }
    .btn-lang-trigger:hover { color: var(--fg); background: var(--elev-hover); border-color: #4D5B80; }
    .lang-globe-svg { width: 13px; height: 13px; color: var(--fg-2); flex: none; }
    .lang-chevron { font-size: 9px; color: var(--fg-4); }

    .topbar__play { display: none; }

    .btn-home-icon, .menu-btn {
      display: grid;
      place-items: center;
      width: 32px;
      height: 32px;
      border-radius: 8px;
      background: var(--elev);
      border: 1px solid var(--line-strong);
      color: var(--fg-2);
      flex: none;
      transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background-color 0.2s var(--ease), transform 0.18s var(--ease);
    }
    .btn-home-icon:hover, .menu-btn:hover {
      color: var(--gold);
      border-color: var(--gold-border);
      background: var(--gold-soft);
    }
    .btn-home-icon:active, .menu-btn:active { transform: scale(0.95); }
    .menu-btn svg { width: 16px; height: 16px; }
    .menu-btn .i-close { display: none; }
    .menu-btn[aria-expanded="true"] {
      color: var(--gold);
      border-color: var(--gold-border-hover);
      background: var(--gold-soft);
    }
    .menu-btn[aria-expanded="true"] .i-menu { display: none; }
    .menu-btn[aria-expanded="true"] .i-close { display: block; }

    @media (min-width: 640px) {
      .topbar__actions { gap: 8px; }
      .btn-lang-trigger { height: 34px; padding: 0 11px; font-size: var(--text-xs); }
      .btn-home-icon, .menu-btn { width: 34px; height: 34px; }
    }
    @media (min-width: 820px) {
      .topbar__play { display: inline-flex; }
    }
    /* Progressive zero-clipping desktop navigation across 1024px, 1280px, and 1480px+ */
    @media (min-width: 1024px) {
      .nav { display: flex; overflow: hidden; gap: 2px; }
      .topbar__actions { margin-left: 0; }
      .nav a { display: none; padding: 5px 9px; font-size: 0.80rem; }
      /* Core 6 flagship links (always fit 1024px-1279px with zero clipping in all 32 languages) */
      .nav a:nth-child(1),
      .nav a:nth-child(3),
      .nav a:nth-child(5),
      .nav a:nth-child(6),
      .nav a:nth-child(8),
      .nav a:nth-child(9) { display: inline-flex; align-items: center; }
    }
    @media (min-width: 1280px) {
      /* 8 flagship links at 1280px-1479px: adds C17 Compiler & Visual Git cleanly */
      .nav a:nth-child(4),
      .nav a:nth-child(10) { display: inline-flex; align-items: center; }
    }
    @media (min-width: 1480px) {
      /* Full 11 links on wide displays */
      .nav a { display: inline-flex; align-items: center; }
    }

    /* Universal 14-Page Categorized Slide-Down Mega-Drawer (Works on Mobile & Desktop!) */
    .menu-drawer {
      position: fixed;
      top: var(--topbar-h);
      left: 0;
      right: 0;
      z-index: 69;
      max-height: calc(100dvh - var(--topbar-h));
      overflow-y: auto;
      background: #0D1018;
      border-bottom: 1px solid var(--line-strong);
      box-shadow: 0 28px 64px rgba(0, 0, 0, 0.86);
    }
    .menu-drawer[hidden] { display: none; }
    .menu-drawer__inner {
      padding-block: 18px calc(36px + env(safe-area-inset-bottom, 0px));
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 20px;
    }
    .drawer-group__title {
      font-family: var(--font-mono);
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.07em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 8px;
      padding-bottom: 6px;
      border-bottom: 1px solid var(--line);
    }
    .drawer-group__list {
      display: grid;
      gap: 4px;
    }
    .menu-drawer__link {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 10px;
      padding: 9px 11px;
      border-radius: 8px;
      border: 1px solid transparent;
      color: var(--fg-2);
      font-size: 0.88rem;
      font-weight: 500;
      transition: all 0.18s var(--ease);
    }
    .menu-drawer__link:hover {
      color: var(--fg);
      background: var(--elev);
      border-color: var(--line);
    }
    .menu-drawer__link.is-current {
      color: var(--fg);
      background: var(--gold-soft);
      border-color: var(--gold-border);
    }
    .menu-drawer__link span.mono { font-size: 11px; color: var(--fg-4); flex: none; }
    .menu-drawer__link.is-current span.mono { color: var(--gold); }

    @media (min-width: 820px) {
      .menu-drawer__inner {
        grid-template-columns: 1fr 1.35fr 1.1fr;
        gap: 28px;
        padding-block: 24px 30px;
      }
    }

    /* ==================== SECTION 01: EDITORIAL HERO & UNIFIED IDE WORKBENCH ==================== */
    .hero {
      position: relative;
      isolation: isolate;
      padding-top: var(--s-4);
      padding-bottom: var(--s-5);
    }
    .hero::before {
      content: "";
      position: absolute;
      inset: calc(var(--topbar-h) * -1) 0 auto 0;
      height: 660px;
      z-index: -1;
      pointer-events: none;
      background:
        radial-gradient(48% 50% at 72% 0%, rgba(245, 196, 81, 0.055), transparent 72%);
    }

    .hero__grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: var(--s-4);
    }
    .hero__copy { min-width: 0; }

    .trust-pill {
      display: inline-flex;
      align-items: center;
      gap: 9px;
      max-width: 100%;
      padding: 4px 12px 4px 5px;
      border: 1px solid var(--line-strong);
      border-radius: 999px;
      background: var(--surface);
      color: var(--fg-2);
      font-size: var(--text-xs);
      letter-spacing: 0.015em;
    }
    .trust-pill__score {
      padding: 2px 8px;
      border-radius: 999px;
      background: var(--gold-soft);
      border: 1px solid var(--gold-border);
      color: var(--gold);
      font-weight: 600;
      flex: none;
      font-variant-numeric: tabular-nums;
    }
    .trust-pill span:last-child {
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .hero-h1 {
      margin-top: 20px;
      font-size: var(--text-display);
      font-weight: 600;
      letter-spacing: -0.03em;
      line-height: 1.13;
      color: var(--fg);
    }
    html[lang^="zh"] .hero-h1, html[lang="ja"] .hero-h1, html[lang="ko"] .hero-h1 {
      letter-spacing: -0.015em;
      line-height: 1.21;
    }
    /* Solid foreground glyph tint (100% immune to Samsung Browser background-clip dark inversion!) */
    .hero-h1 .text-gradient {
      color: #FFF4D2;
      background: none;
      -webkit-text-fill-color: currentColor;
    }

    .hero-lead {
      margin-top: 16px;
      max-width: 41em;
      font-size: var(--text-lg);
      line-height: 1.62;
      color: var(--fg-2);
    }
    .hero-lead strong { color: var(--fg); font-weight: 600; }

    .hero__cta {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 10px;
      margin-top: 26px;
    }

    .specs {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      min-width: 0;
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
      padding-block: 14px;
      gap: 8px;
    }
    .spec {
      min-width: 0;
      padding-left: 10px;
      border-left: 1px solid var(--line);
    }
    .spec:first-child { padding-left: 0; border-left: 0; }
    .spec dt {
      color: var(--fg);
      font-size: clamp(1.00rem, 2.4vw, 1.42rem);
      font-weight: 600;
      letter-spacing: -0.02em;
      line-height: 1.2;
      font-variant-numeric: tabular-nums;
      white-space: nowrap;
    }
    .spec dt small { font-size: 0.64em; font-weight: 500; color: var(--fg-2); margin-left: 2px; }
    .spec dd {
      margin-top: 3px;
      font-size: 11px;
      color: var(--fg-3);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    @media (min-width: 1024px) {
      .hero { padding-top: var(--s-5); padding-bottom: var(--s-6); }
      .hero__grid {
        grid-template-columns: 1.618fr 1fr;
        gap: var(--s-5);
        align-items: end;
      }
      .specs {
        grid-template-columns: 1fr 1fr;
        padding-block: 0;
        border-bottom: 0;
        gap: 0;
      }
      .spec {
        padding: 18px 0;
        border-left: 0;
        border-bottom: 1px solid var(--line);
      }
      .spec:nth-child(even) {
        padding-left: 24px;
        border-left: 1px solid var(--line);
      }
      .spec dd { font-size: var(--text-xs); margin-top: 4px; }
    }

    /* ==================== STUDIO IDE WORKBENCH (100% UNIFIED ACROSS ALL 14 PAGES) ==================== */
    .wb-caption {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      margin-top: var(--s-4);
    }
    .wb-caption__hint { display: none; font-size: var(--text-xs); color: var(--fg-3); }
    @media (min-width: 768px) { .wb-caption__hint { display: block; } }
    @media (min-width: 1024px) { .wb-caption { margin-top: var(--s-5); } }

    .ide-workbench {
      margin-top: 16px;
      border: 1px solid var(--line-strong);
      border-radius: 14px;
      background: var(--well);
      overflow: hidden;
      box-shadow:
        inset 0 1px 0 #262E44,
        0 32px 72px -24px rgba(0, 0, 0, 0.82);
    }
    .wb-titlebar {
      display: flex;
      align-items: center;
      gap: 12px;
      height: 44px;
      padding: 0 10px 0 16px;
      background: var(--surface);
      border-bottom: 1px solid var(--line);
    }
    .wb-dots { display: flex; gap: 6px; flex: none; }
    .wb-dots i { width: 10px; height: 10px; border-radius: 50%; background: #282C38; }
    .wb-title {
      flex: 1;
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      text-align: center;
      font-family: var(--font-mono);
      font-size: var(--text-xs);
      color: var(--fg-3);
    }
    .wb-run {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      flex: none;
      height: 30px;
      padding: 0 12px;
      border-radius: 7px;
      background: linear-gradient(180deg, #1E222E 0%, #131620 100%);
      border: 1px solid var(--gold-border);
      box-shadow: inset 0 1px 0 rgba(255, 241, 118, 0.12);
      color: var(--fg);
      font-size: 12.5px;
      font-weight: 600;
      white-space: nowrap;
      transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
    }
    .wb-run:hover { border-color: var(--gold-border-hover); background: #222634; }
    .wb-run.is-running { opacity: 0.78; }
    .wb-run__tri { color: var(--gold); font-size: 10px; }

    .wb-tabs {
      display: flex;
      overflow-x: auto;
      scrollbar-width: none;
      background: #0E1017;
      border-bottom: 1px solid var(--line);
    }
    .wb-tabs::-webkit-scrollbar { display: none; }
    .ide-tab {
      position: relative;
      display: inline-flex;
      align-items: center;
      gap: 7px;
      flex: none;
      height: 38px;
      padding: 0 15px;
      border-right: 1px solid var(--line);
      color: var(--fg-3);
      font-family: var(--font-mono);
      font-size: 12.5px;
      white-space: nowrap;
      transition: color 0.18s var(--ease), background-color 0.18s var(--ease);
    }
    .ide-tab:hover { color: var(--fg-2); }
    .ide-tab i { width: 6px; height: 6px; border-radius: 50%; background: var(--fg-4); }
    .ide-tab.active { background: var(--well); color: var(--fg); }
    .ide-tab.active i { background: var(--gold); }
    .ide-tab.active::before {
      content: "";
      position: absolute;
      inset: 0 0 auto 0;
      height: 1px;
      background: var(--gold);
    }

    .wb-body { display: grid; grid-template-columns: minmax(0, 1fr); }
    .wb-explorer {
      display: none;
      padding: 12px 8px;
      background: #0E1017;
      border-right: 1px solid var(--line);
    }
    .wb-explorer__head {
      padding: 4px 10px 10px;
      font-size: 10.5px;
      font-weight: 600;
      letter-spacing: 0.08em;
      color: var(--fg-4);
      text-transform: uppercase;
    }
    .wb-folder {
      display: flex;
      align-items: center;
      gap: 6px;
      padding: 4px 10px 6px;
      font-family: var(--font-mono);
      font-size: 12px;
      color: var(--fg-2);
    }
    .wb-file {
      display: flex;
      align-items: center;
      gap: 9px;
      width: 100%;
      padding: 5px 10px 5px 22px;
      border-radius: 6px;
      color: var(--fg-3);
      font-family: var(--font-mono);
      font-size: 12px;
      text-align: left;
      transition: color 0.18s var(--ease), background-color 0.18s var(--ease);
    }
    .wb-file:hover { color: var(--fg); background: var(--elev); }
    .wb-file.active { color: var(--fg); background: var(--elev-hover); }
    .wb-file b { width: 32px; font-size: 10px; font-weight: 500; color: var(--fg-4); flex: none; }
    .wb-file.active b { color: var(--gold); }
    .wb-file span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

    .ide-editor-body {
      padding: 16px 12px;
      background: var(--well);
      font-family: var(--font-mono);
      font-size: var(--text-code);
      line-height: 1.65;
      min-height: 215px;
      max-height: 320px;
      overflow: auto;
    }
    .code-line { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 1px 4px; border-radius: 4px; }
    .code-line.active-line { background: #151926; }
    .ln { color: var(--fg-4); text-align: right; user-select: none; font-size: 0.72rem; }
    .code-content { white-space: pre-wrap; word-break: break-word; color: #DCE1EA; }
    .tok-kw { color: #F472B6; font-weight: 500; }
    .tok-fn { color: #67E8F9; }
    .tok-str { color: #86EFAC; }
    .tok-num { color: #FDE047; }
    .tok-cmt { color: #7C88A1; font-style: italic; }

    .ide-terminal {
      background: #090B10;
      font-family: var(--font-mono);
      font-size: var(--text-code);
      line-height: 1.6;
      max-height: 0;
      opacity: 0;
      overflow: hidden;
      padding: 0 16px;
      transition: max-height 0.32s var(--ease), opacity 0.24s var(--ease), padding 0.24s var(--ease);
    }
    .ide-terminal.is-open {
      max-height: 240px;
      opacity: 1;
      padding: 12px 16px 14px;
      border-top: 1px solid var(--line);
      overflow-y: auto;
    }
    .term-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 8px;
      color: var(--fg-3);
      font-size: 11px;
      margin-bottom: 8px;
      padding-bottom: 6px;
      border-bottom: 1px solid var(--line);
    }
    .term-header-right { display: inline-flex; align-items: center; gap: 10px; }
    .term-exec-badge { color: var(--fg-2); }
    .term-exec-badge.done { color: var(--gold); }
    .btn-term-close {
      width: 22px; height: 22px; border-radius: 5px;
      background: var(--elev); border: 1px solid var(--line); color: var(--fg-2);
      font-size: 11px; display: grid; place-items: center;
    }
    .term-stream { white-space: pre-wrap; word-break: break-word; color: #C9D1DD; }
    .term-line-item { display: block; }
    .term-prompt { color: var(--gold); font-weight: 600; }
    .term-info { color: #93C5FD; }
    @keyframes blinkCursor { 50% { opacity: 0; } }
    .term-cursor { display: inline-block; color: var(--fg-2); margin-left: 4px; animation: blinkCursor 1s steps(1) infinite; }

    .wb-statusbar {
      display: flex;
      align-items: center;
      gap: 14px;
      height: 28px;
      padding: 0 16px;
      border-top: 1px solid var(--line);
      background: var(--surface);
      font-family: var(--font-mono);
      font-size: 11px;
      color: var(--fg-3);
    }
    .wb-statusbar__dot { display: inline-flex; align-items: center; gap: 6px; color: var(--fg-2); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .wb-statusbar__dot i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: none; }
    .wb-statusbar__right { margin-left: auto; display: flex; gap: 12px; flex: none; }

    @media (min-width: 1024px) {
      .wb-body { grid-template-columns: 220px minmax(0, 1fr); }
      .wb-explorer { display: block; }
      .ide-editor-body { min-height: 265px; max-height: 350px; padding: 18px 16px; }
    }

    /* ==================== SECTION HEADERS & RHYTHM ==================== */
    .section {
      padding-block: var(--s-5);
      border-top: 1px solid var(--line);
    }
    .section--alt { background: var(--bg-alt); }

    .sec-index {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: var(--s-3);
      font-family: var(--font-mono);
      font-size: var(--text-xs);
      letter-spacing: 0.05em;
      color: var(--fg-2);
      text-transform: uppercase;
    }
    .sec-index .num { color: var(--gold); font-weight: 500; }
    .sec-index .rule { width: 28px; height: 1px; background: var(--line-strong); flex: none; }

    .sec-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px var(--s-5); }
    .sec-grid h2, .h2 { font-size: var(--text-2xl); letter-spacing: -0.026em; line-height: 1.16; }
    html[lang^="zh"] .sec-grid h2, html[lang^="zh"] .h2 { letter-spacing: -0.01em; line-height: 1.26; }
    .sec-lead { max-width: 46ch; font-size: var(--text-base); color: var(--fg-2); }
    .sec-body { margin-top: var(--s-4); }
    .sec-foot {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 12px 24px;
      margin-top: var(--s-4);
      padding-top: var(--s-3);
      border-top: 1px solid var(--line);
      font-size: var(--text-sm);
      color: var(--fg-3);
    }

    @media (min-width: 1024px) {
      .section { padding-block: var(--s-6); }
      .sec-grid { grid-template-columns: 1.618fr 1fr; align-items: end; }
      .sec-body { margin-top: var(--s-5); }
      .sec-foot { margin-top: var(--s-5); }
    }

    /* ==================== BENTO CARDS (HOMEPAGE 13-COL + SUBPAGE 6-CARD) ==================== */
    .bento { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
    .card, .feature-card {
      position: relative;
      display: flex;
      flex-direction: column;
      gap: 14px;
      min-width: 0;
      padding: 24px;
      border: 1px solid var(--line);
      border-radius: var(--r-lg);
      background: var(--card);
      transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease), transform 0.25s var(--ease);
    }
    .card:hover, .feature-card:hover { border-color: var(--line-strong); background: var(--card-hover); transform: translateY(-2px); }
    .card__head { display: flex; flex-direction: column; gap: 12px; }
    .card__top, .f-top { display: flex; align-items: center; justify-content: space-between; }
    .card__icon, .f-icon {
      display: grid;
      place-items: center;
      width: 38px;
      height: 38px;
      border: 1px solid var(--line-strong);
      border-radius: 10px;
      background: var(--elev);
      color: var(--fg-2);
      transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
    }
    .card__icon svg, .f-icon svg { width: 19px; height: 19px; }
    .card:hover .card__icon, .feature-card:hover .f-icon { color: var(--gold); border-color: var(--gold-border); }
    .card__idx, .f-idx { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--fg-4); letter-spacing: 0.04em; }
    .card h3, .f-title { font-size: var(--text-lg); font-weight: 600; letter-spacing: -0.015em; line-height: 1.35; }
    .card p, .f-desc { font-size: 0.9375rem; color: var(--fg-3); line-height: 1.62; }
    .card__foot, .f-code {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-top: auto;
      padding-top: 14px;
      border-top: 1px solid var(--line);
      font-family: var(--font-mono);
      font-size: var(--text-xs);
      color: var(--fg-3);
    }
    .card__go {
      display: grid;
      place-items: center;
      flex: none;
      width: 28px;
      height: 28px;
      border-radius: 50%;
      border: 1px solid var(--line-strong);
      color: var(--fg-2);
      transition: all 0.25s var(--ease);
    }
    .card__go svg { width: 13px; height: 13px; }
    .card:hover .card__go { color: var(--fg); border-color: var(--gold-border-hover); background: var(--gold-soft); transform: translateX(2px); }

    .specimen {
      min-width: 0;
      border: 1px solid var(--line);
      border-radius: 11px;
      background: var(--well);
      font-family: var(--font-mono);
      font-size: 12px;
      line-height: 1.65;
      color: #C9D1DD;
      overflow: hidden;
    }
    .specimen__bar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 7px 14px;
      border-bottom: 1px solid var(--line);
      font-size: 11px;
      color: var(--fg-3);
      background: var(--surface);
    }
    .specimen__bar i { font-style: normal; color: var(--fg-4); }
    .specimen pre { margin: 0; padding: 12px 14px; overflow-x: auto; font: inherit; white-space: pre; }
    .specimen table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
    .specimen th, .specimen td { padding: 7px 14px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
    .specimen th { font-weight: 500; color: var(--fg-3); font-size: 11px; }
    .specimen td.r, .specimen th.r { text-align: right; }
    .specimen tr:last-child td { border-bottom: 0; }
    .sp-ok { color: var(--gold); }

    @media (max-width: 639px) { .specimen { display: none; } }
    @media (min-width: 768px) {
      .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .bento .card--full { grid-column: 1 / -1; }
    }
    @media (min-width: 1024px) {
      .bento--13 { grid-template-columns: repeat(13, minmax(0, 1fr)); gap: 20px; }
      .bento--13 .card { padding: 30px; }
      .bento--13 .card--lg {
        grid-column: span 8;
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
        grid-template-rows: 1fr auto;
        column-gap: 26px;
        row-gap: 18px;
      }
      .bento--13 .card--sm { grid-column: span 5; }
      .bento--13 .card--full { grid-column: 1 / -1; }
      .bento--13 .card--lg .card__head { grid-column: 1; grid-row: 1; }
      .bento--13 .card--lg .card__foot { grid-column: 1; grid-row: 2; }
      .bento--13 .card--lg .specimen { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
    }

    .feature-grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 16px;
    }
    @media (min-width: 768px) {
      .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
    }
    @media (min-width: 1080px) {
      .feature-grid--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
      .feature-card { padding: 26px; }
    }

    /* ==================== STEP-BY-STEP WORKFLOW TIMELINE ==================== */
    .workflow-grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 16px;
    }
    .wf-step {
      display: flex;
      flex-direction: column;
      gap: 12px;
      padding: 22px 24px;
      border: 1px solid var(--line);
      border-radius: var(--r-lg);
      background: var(--surface);
      position: relative;
    }
    .wf-step__head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
    }
    .wf-step__badge {
      display: inline-flex;
      align-items: center;
      padding: 3px 9px;
      border-radius: 6px;
      background: var(--gold-soft);
      border: 1px solid rgba(245, 196, 81, 0.25);
      font-family: var(--font-mono);
      font-size: 11px;
      font-weight: 600;
      color: var(--gold);
    }
    .wf-step__cmd {
      font-family: var(--font-mono);
      font-size: 11px;
      color: var(--fg-4);
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .wf-step h3 {
      font-size: 1.05rem;
      font-weight: 600;
      color: var(--fg);
      line-height: 1.38;
    }
    .wf-step p {
      font-size: 0.91rem;
      color: var(--fg-3);
      line-height: 1.62;
    }

    @media (min-width: 768px) {
      .workflow-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
      .workflow-grid--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    }

    /* ==================== KEYSTRIP & PILLARS (HOMEPAGE / CODE EDITOR) ==================== */
    .keystrip {
      padding: 16px 0 16px 20px;
      border: 1px solid var(--line);
      border-radius: var(--r-lg);
      background: var(--surface);
    }
    .keystrip__meta {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      padding-right: 20px;
      margin-bottom: 12px;
      font-family: var(--font-mono);
      font-size: var(--text-xs);
      color: var(--fg-3);
    }
    .keystrip__meta span:first-child { color: var(--fg-2); }
    .keys {
      display: flex;
      gap: 6px;
      padding-right: 20px;
      overflow-x: auto;
      scrollbar-width: none;
      -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent);
      mask-image: linear-gradient(90deg, #000 88%, transparent);
    }
    .keys::-webkit-scrollbar { display: none; }
    .keys span {
      display: grid;
      place-items: center;
      flex: none;
      min-width: 36px;
      height: 38px;
      padding: 0 8px;
      border: 1px solid var(--line);
      border-bottom-color: rgba(0, 0, 0, 0.55);
      border-radius: 7px;
      background: linear-gradient(180deg, #1E2332, #161A25);
      box-shadow: inset 0 1px 0 #2B334B;
      font-family: var(--font-mono);
      font-size: 12.5px;
      color: var(--fg-2);
    }
    .keys span.wide { min-width: 52px; font-size: 11.5px; }

    .pillars { display: grid; margin-top: var(--s-4); border-top: 1px solid var(--line); }
    .pillar { display: flex; flex-direction: column; padding: 32px 0; border-bottom: 1px solid var(--line); }
    .pillar:last-child { border-bottom: 0; padding-bottom: 0; }
    .pillar__stat { font-size: var(--text-2xl); font-weight: 600; letter-spacing: -0.03em; line-height: 1; color: var(--fg); font-variant-numeric: tabular-nums; }
    .pillar__sub { margin-top: 8px; font-family: var(--font-mono); font-size: var(--text-xs); color: var(--gold); }
    .pillar h3 { margin-top: 20px; font-size: var(--text-lg); letter-spacing: -0.015em; }
    .pillar p { margin-top: 10px; font-size: 0.9375rem; color: var(--fg-3); line-height: 1.62; }
    .pillar .link-arrow { margin-top: 20px; }

    @media (min-width: 1024px) {
      .keystrip { padding: 20px 28px; }
      .keystrip__meta, .keys { padding-right: 0; }
      .keys { -webkit-mask-image: none; mask-image: none; justify-content: space-between; }
      .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: var(--s-5); }
      .pillar { padding: 36px 32px 0; border-bottom: 0; border-left: 1px solid var(--line); }
      .pillar:first-child { padding-left: 0; border-left: 0; }
      .pillar:last-child { padding-right: 0; }
      .pillar .link-arrow { margin-top: auto; padding-top: 24px; }
    }

    /* ==================== COMPARISON TABLE & SNIPPET ==================== */
    .snippet-definition {
      font-size: 0.95rem;
      color: var(--fg-2);
      line-height: 1.65;
      max-width: 62ch;
    }
    .snippet-definition strong { color: var(--fg); font-weight: 600; }

    .table-wrap {
      overflow-x: auto;
      border: 1px solid var(--line);
      border-radius: var(--r-lg);
      background: var(--surface);
      scrollbar-width: thin;
      -webkit-overflow-scrolling: touch;
    }
    .obsidian-benchmark-table {
      width: 100%;
      min-width: 680px;
      border-collapse: separate;
      border-spacing: 0;
      font-size: var(--text-sm);
      line-height: 1.55;
    }
    .obsidian-benchmark-table caption {
      text-align: left;
      padding: 14px 20px 10px;
      font-family: var(--font-mono);
      font-size: var(--text-xs);
      color: var(--fg-4);
      border-bottom: 1px solid var(--line);
    }
    .obsidian-benchmark-table th, .obsidian-benchmark-table td {
      padding: 14px 18px;
      text-align: left;
      vertical-align: top;
      border-bottom: 1px solid var(--line);
    }
    .obsidian-benchmark-table thead th {
      background: #13151E;
      font-size: var(--text-xs);
      font-weight: 500;
      letter-spacing: 0.04em;
      color: var(--fg-2);
    }
    .obsidian-benchmark-table tbody th {
      font-weight: 500;
      color: var(--fg);
      position: sticky;
      left: 0;
      z-index: 2;
      background: var(--surface);
      box-shadow: 1px 0 0 var(--line);
    }
    .obsidian-benchmark-table thead th:first-child {
      position: sticky;
      left: 0;
      z-index: 3;
      background: #13151E;
      box-shadow: 1px 0 0 var(--line);
    }
    .obsidian-benchmark-table tbody tr:last-child > * { border-bottom: 0; }
    .obsidian-benchmark-table thead th:nth-child(2) {
      color: var(--fg);
      font-weight: 600;
      box-shadow: inset 0 2px 0 var(--gold);
      background: linear-gradient(180deg, rgba(245, 196, 81, 0.08), rgba(245, 196, 81, 0.02)), #13151E;
    }
    .obsidian-benchmark-table tbody td:nth-child(2) {
      background: rgba(245, 196, 81, 0.03);
      color: var(--fg);
    }
    .obsidian-benchmark-table tbody td strong { color: var(--fg); font-weight: 600; }

    /* ==================== EDITORIAL SPLIT-COLUMN FAQ ==================== */
    .faq-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-4); }
    .faq-head .sec-lead { margin-top: 12px; }
    .faq-list { border-top: 1px solid var(--line); }
    .faq-item { border-bottom: 1px solid var(--line); }
    .faq-item summary {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 20px;
      padding: 20px 0;
      list-style: none;
      cursor: pointer;
      color: var(--fg);
      font-size: var(--text-lg);
      font-weight: 500;
      line-height: 1.45;
      user-select: none;
    }
    .faq-item summary::-webkit-details-marker { display: none; }
    .faq-icon {
      flex: none;
      width: 26px;
      height: 26px;
      border: 1px solid var(--line-strong);
      border-radius: 50%;
      display: grid;
      place-items: center;
      font-size: 0.9rem;
      color: var(--fg-2);
      transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
    }
    .faq-item[open] .faq-icon {
      transform: rotate(45deg);
      border-color: var(--gold-border-hover);
      color: var(--gold);
    }
    .faq-answer {
      padding: 0 32px 22px 0;
      font-size: 0.9375rem;
      color: var(--fg-3);
      line-height: 1.68;
      max-width: 64ch;
    }

    @media (min-width: 1024px) {
      .faq-grid { grid-template-columns: 1fr 1.618fr; gap: var(--s-5); align-items: start; }
      .faq-head { position: sticky; top: calc(var(--topbar-h) + 36px); }
    }

    /* ==================== UNIVERSAL 14-PAGE MULTI-COLUMN FOOTER ==================== */
    .site-footer {
      border-top: 1px solid var(--line);
      background: var(--bg-alt);
      padding-top: var(--s-5);
    }
    .footer-cta {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 20px;
      padding-bottom: var(--s-5);
      border-bottom: 1px solid var(--line);
    }
    .footer-cta p { margin-top: 10px; color: var(--fg-2); font-size: 0.95rem; max-width: 56ch; }
    .footer-cta__btns { display: flex; flex-wrap: wrap; gap: 10px; }

    .footer-cols {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 32px 22px;
      padding-block: var(--s-5);
    }
    .footer-brand { grid-column: 1 / -1; }
    .footer-brand p { margin-top: 14px; max-width: 36ch; font-size: var(--text-sm); color: var(--fg-3); line-height: 1.65; }
    .footer-rating {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      margin-top: 14px;
      font-family: var(--font-mono);
      font-size: var(--text-xs);
      color: var(--gold);
    }
    .footer-col h4 {
      margin-bottom: 14px;
      font-size: var(--text-xs);
      font-weight: 600;
      letter-spacing: 0.06em;
      color: var(--gold);
      text-transform: uppercase;
    }
    .footer-col ul { display: grid; gap: 9px; list-style: none; }
    .footer-col a, .footer-col li { font-size: var(--text-sm); color: var(--fg-3); line-height: 1.48; transition: color 0.18s var(--ease); }
    .footer-col a:hover, .footer-col a.is-current { color: var(--fg); }
    .footer-col a.is-current { font-weight: 500; }

    .footer-legal {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      gap: 8px 24px;
      padding-top: 22px;
      padding-bottom: calc(36px + env(safe-area-inset-bottom, 0px));
      border-top: 1px solid var(--line);
      font-size: var(--text-xs);
      color: var(--fg-4);
    }

    @media (min-width: 768px) {
      .footer-cols { grid-template-columns: 1.35fr 1fr 1fr 1fr; }
      .footer-brand { grid-column: auto; }
    }
    @media (min-width: 920px) {
      .footer-legal { padding-bottom: 24px; }
    }
    @media (min-width: 1024px) {
      .site-footer { padding-top: var(--s-6); }
      .footer-cta { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: var(--s-5); }
    }

    /* ==================== PYTHON TOPICAL AUTHORITY SILO HUB ==================== */
    .py-hub-crumb {
      display: inline-flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 8px;
      margin-bottom: 14px;
      padding: 5px 12px;
      border-radius: 8px;
      background: var(--surface);
      border: 1px solid var(--line-strong);
      font-family: var(--font-mono);
      font-size: 11.5px;
      color: var(--fg-2);
    }
    .py-hub-crumb a { color: var(--gold); font-weight: 600; }
    .py-hub-crumb a:hover { text-decoration: underline; }
    .py-hub-crumb .sep { color: var(--fg-4); }

    .py-cluster-grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      gap: 16px;
    }
    .py-spoke-card {
      display: flex;
      flex-direction: column;
      gap: 12px;
      padding: 22px 24px;
      border: 1px solid var(--line);
      border-radius: var(--r-lg);
      background: var(--card);
      transition: border-color 0.22s var(--ease), background-color 0.22s var(--ease), transform 0.22s var(--ease);
    }
    .py-spoke-card:hover {
      border-color: var(--gold-border-hover);
      background: var(--card-hover);
      transform: translateY(-2px);
    }
    .py-spoke-card.is-active {
      border-color: var(--gold-border);
      background: var(--surface);
    }
    .py-spoke-card__top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
    }
    .py-spoke-card__code {
      padding: 2px 8px;
      border-radius: 6px;
      background: var(--gold-soft);
      border: 1px solid var(--gold-border);
      font-family: var(--font-mono);
      font-size: 11px;
      font-weight: 600;
      color: var(--gold);
      white-space: nowrap;
      flex: none;
    }
    .py-spoke-card__tag {
      font-family: var(--font-mono);
      font-size: 11px;
      color: var(--fg-4);
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .py-spoke-card h3 {
      font-size: 1.06rem;
      font-weight: 600;
      color: var(--fg);
      line-height: 1.35;
    }
    .py-spoke-card p {
      font-size: 0.90rem;
      color: var(--fg-3);
      line-height: 1.6;
    }
    .py-spoke-card__go {
      margin-top: auto;
      padding-top: 12px;
      border-top: 1px solid var(--line);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      font-family: var(--font-mono);
      font-size: 11.5px;
      color: var(--fg-2);
    }
    .py-spoke-card__go span:first-child {
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .py-spoke-card__go span:last-child {
      white-space: nowrap;
      flex: none;
    }
    .py-spoke-card:hover .py-spoke-card__go { color: var(--gold); }
    @media (min-width: 768px) {
      .py-cluster-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
    }
    @media (min-width: 1080px) {
      .py-cluster-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
    }

    /* ==================== SMART AUTO-HIDING MOBILE APP BAR ==================== */
    .mobile-bottom-bar {
      position: fixed;
      left: 12px;
      right: 12px;
      bottom: calc(12px + env(safe-area-inset-bottom, 0px));
      z-index: 55;
      display: flex;
      align-items: center;
      gap: 10px;
      max-width: 460px;
      margin-inline: auto;
      padding: 8px 9px 8px 10px;
      border: 1px solid var(--line-strong);
      border-radius: 14px;
      background: #121622;
      box-shadow: 0 18px 42px -10px rgba(0, 0, 0, 0.92);
      transform: translateY(calc(100% + 28px));
      opacity: 0;
      pointer-events: none;
      transition: transform 0.32s var(--ease), opacity 0.24s var(--ease);
    }
    .mobile-bottom-bar.is-visible { transform: translateY(0); opacity: 1; pointer-events: auto; }
    .dock-app-icon {
      display: grid; place-items: center; flex: none;
      width: 34px; height: 34px; border-radius: 8px;
      background: linear-gradient(180deg, #1E2230 0%, #12151E 100%);
      border: 1px solid var(--gold-border);
    }
    .dock-app-icon svg { width: 20px; height: 20px; }
    .bottom-bar-info { flex: 1; min-width: 0; line-height: 1.22; }
    .bottom-bar-title { font-size: 0.84rem; font-weight: 600; color: var(--fg); white-space: nowrap; }
    .bottom-bar-sub { font-size: 0.70rem; color: var(--gold); white-space: nowrap; margin-top: 2px; letter-spacing: 0.03em; }
    .bottom-bar-actions { display: inline-flex; align-items: center; gap: 6px; flex: none; }
    .btn-guide-mini {
      height: 32px; padding: 0 11px; border-radius: 8px;
      display: inline-flex; align-items: center; justify-content: center;
      background: var(--elev); border: 1px solid var(--line-strong);
      color: var(--fg); font-size: 0.76rem; font-weight: 500; white-space: nowrap;
    }
    .btn-play-mini {
      height: 32px; padding: 0 13px; border-radius: 8px;
      display: inline-flex; align-items: center; justify-content: center; gap: 5px;
      background: linear-gradient(180deg, #1E2230 0%, #131620 100%);
      border: 1px solid var(--gold-border);
      color: var(--fg); font-size: 0.76rem; font-weight: 600; white-space: nowrap;
    }
    @media (min-width: 920px) { .mobile-bottom-bar { display: none !important; } }

    /* ==================== 32-LANGUAGE MODAL SHEET ==================== */
    .modal-overlay {
      position: fixed; inset: 0; z-index: 9999;
      background: rgba(0, 0, 0, 0.76);
      backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
      display: flex; align-items: flex-end; justify-content: center;
      opacity: 0; visibility: hidden;
      transition: opacity 0.24s var(--ease), visibility 0.24s var(--ease);
    }
    .modal-overlay.show { opacity: 1; visibility: visible; }
    .lang-modal {
      width: 100%; max-width: 520px;
      background: var(--surface); border-top: 1px solid var(--line-strong);
      border-radius: 20px 20px 0 0;
      padding: 12px 18px calc(22px + env(safe-area-inset-bottom, 0px));
      transform: translateY(100%); transition: transform 0.28s var(--ease);
      box-shadow: 0 28px 72px rgba(0, 0, 0, 0.78);
    }
    .modal-overlay.show .lang-modal { transform: translateY(0); }
    .sheet-handle { width: 36px; height: 4px; border-radius: 999px; background: var(--line-strong); margin: 0 auto 12px; }
    .modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; gap: 12px; }
    .modal-header h3 { font-size: 0.96rem; font-weight: 600; color: var(--fg); display: inline-flex; align-items: center; gap: 8px; }
    .modal-lang-count {
      font-family: var(--font-mono); font-size: 0.70rem; font-weight: 600;
      padding: 2px 7px; border-radius: 999px;
      background: var(--gold-soft); border: 1px solid var(--gold-border); color: var(--gold);
    }
    .btn-close-modal { width: 30px; height: 30px; border-radius: 50%; background: var(--elev); border: 1px solid var(--line); color: var(--fg-2); display: grid; place-items: center; font-size: 0.82rem; flex: none; transition: border-color 0.18s ease, color 0.18s ease; }
    .btn-close-modal:hover { border-color: var(--gold-border-hover); color: var(--fg); }
    .lang-grid {
      display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 7px; max-height: 64dvh; overflow-y: auto;
      padding-inline-end: 2px;
      overscroll-behavior: contain;
    }
    .lang-option {
      display: flex; align-items: center; justify-content: space-between; gap: 6px;
      padding: 9px 11px; border-radius: 10px;
      background: var(--elev); border: 1px solid var(--line);
      color: var(--fg-2); font-size: 0.82rem; font-weight: 500; text-align: start;
      min-width: 0;
      transition: all 0.18s var(--ease);
    }
    .lang-option__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .lang-option__code {
      flex: none; font-family: var(--font-mono); font-size: 0.65rem; font-weight: 600;
      color: var(--fg-4); text-transform: uppercase; letter-spacing: 0.04em;
    }
    .lang-option:hover { color: var(--fg); border-color: var(--line-strong); background: var(--elev-hover); }
    .lang-option.active { color: var(--fg); border-color: var(--gold-border-hover); background: var(--gold-soft); }
    .lang-option.active .lang-option__code { color: var(--gold); }
    @media (min-width: 640px) {
      .modal-overlay { align-items: center; padding: 20px; }
      .sheet-handle { display: none; }
      .lang-modal { max-width: 720px; border: 1px solid var(--line-strong); border-radius: 18px; padding: 20px 22px 22px; transform: scale(0.95); }
      .modal-overlay.show .lang-modal { transform: scale(1); }
      .lang-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; max-height: 74dvh; }
    }
/* ==========================================================================
     GOOGLE PLAY GOLDEN-HEIGHT MEDIA CAROUSEL + 2-LINE STORE IDENTITY CARD
     + FULLSCREEN BACK-TO-PAGE LIGHTBOX + RTL POLISH
     ========================================================================== */
  .sc-real-gallery {
    --gp-h: 296px;
    background: linear-gradient(180deg, #090A0F 0%, #0D111C 52%, #090A0F 100%);
    border-top: 1px solid rgba(148,163,184,0.12);
    border-bottom: 1px solid rgba(148,163,184,0.12);
    padding: 48px 0 44px;
  }
  .sc-gp-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px 24px;
    flex-wrap: wrap;
    margin-bottom: 20px;
  }
  .sc-gp-head-left { flex: 1 1 440px; max-width: 640px; min-width: 0; }
  .sc-gp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #F5C451;
    margin-bottom: 8px;
  }
  .sc-gp-eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #34D399;
    box-shadow: 0 0 10px rgba(52,211,153,0.75);
  }
  .sc-gp-title {
    margin: 0 0 6px;
    font-size: clamp(1.32rem, 2.2vw, 1.78rem);
    font-weight: 750;
    line-height: 1.22;
    letter-spacing: -0.02em;
    color: #F5F7FA;
  }
  .sc-gp-short {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.5;
    color: #A6B2C9;
  }
  /* Strictly 2-line clickable Store Identity Card on BOTH desktop & mobile (zero [Google Play] pill) */
  .sc-gp-store-bar {
    flex: 0 0 auto;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 9px 12px 9px 10px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(24,31,49,0.94), rgba(13,17,28,0.96));
    border: 1px solid rgba(245,196,81,0.30);
    box-shadow: 0 10px 26px rgba(0,0,0,0.44), inset 0 1px 0 rgba(255,255,255,0.06);
    max-width: 100%;
    text-decoration: none;
    color: inherit;
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease, background .2s ease;
  }
  .sc-gp-store-bar:hover, .sc-gp-store-bar:focus-visible {
    border-color: rgba(245,196,81,0.70);
    background: linear-gradient(135deg, rgba(30,39,62,0.98), rgba(16,21,34,0.98));
    box-shadow: 0 14px 32px rgba(0,0,0,0.58), 0 0 0 1px rgba(245,196,81,0.16);
    transform: translateY(-1px);
    outline: none;
  }
  .sc-gp-app-icon {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: block;
    box-shadow: 0 4px 12px rgba(0,0,0,0.48);
  }
  .sc-gp-app-meta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    min-width: 0;
    flex: 1 1 auto;
  }
  .sc-gp-app-name {
    display: block;
    font-size: 0.90rem;
    font-weight: 700;
    letter-spacing: -0.014em;
    line-height: 1.22;
    color: #F5F7FA;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .sc-gp-app-dev {
    display: block;
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.005em;
    line-height: 1.22;
    color: #9AA7C1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .sc-gp-store-arrow {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-inline-start: 2px;
    background: rgba(245,196,81,0.10);
    border: 1px solid rgba(245,196,81,0.28);
    color: #F5C451;
    transition: background .2s ease, transform .2s ease, border-color .2s ease;
  }
  .sc-gp-store-bar:hover .sc-gp-store-arrow {
    background: rgba(245,196,81,0.22);
    border-color: rgba(245,196,81,0.65);
    transform: translate(1px, -1px);
  }
  .sc-gp-stage { position: relative; }
  .sc-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;
    scrollbar-width: none;
    padding: 4px 2px 10px;
    cursor: grab;
    direction: ltr;
  }
  .sc-gp-rail.is-dragging { cursor: grabbing; scroll-behavior: auto; scroll-snap-type: none; }
  .sc-gp-rail::-webkit-scrollbar { display: none; }
  .sc-gp-item {
    position: relative;
    flex: 0 0 auto;
    height: var(--gp-h);
    padding: 0;
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(148,163,184,0.22);
    background: #0D111C;
    box-shadow: 0 8px 24px rgba(0,0,0,0.44);
    cursor: zoom-in;
    scroll-snap-align: start;
    transition: transform .2s cubic-bezier(.22,1,.36,1), border-color .2s ease, box-shadow .2s ease;
    display: block;
    appearance: none;
    -webkit-appearance: none;
  }
  .sc-gp-item--feature { aspect-ratio: 1024 / 500; border-color: rgba(245,196,81,0.34); }
  .sc-gp-item--shot { aspect-ratio: 9 / 16; }
  .sc-gp-item--wide { aspect-ratio: 16 / 9; border-color: rgba(56,189,248,0.34); }
  .sc-gp-item.is-filtered-out { display: none; }
  .sc-gp-tabs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
  }
  .sc-gp-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 13px;
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,0.24);
    background: rgba(17,22,36,0.84);
    color: #B4C0D6;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    line-height: 1.2;
    cursor: pointer;
    transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
  }
  .sc-gp-tab:hover, .sc-gp-tab:focus-visible {
    border-color: rgba(245,196,81,0.55);
    color: #F5F7FA;
    background: rgba(26,34,54,0.95);
    outline: none;
  }
  .sc-gp-tab.is-active {
    background: linear-gradient(135deg, rgba(59,130,246,0.24), rgba(56,189,248,0.16));
    border-color: rgba(96,165,250,0.72);
    color: #F8FAFC;
    box-shadow: 0 4px 14px rgba(59,130,246,0.20);
  }
  .sc-gp-dev-badge {
    position: absolute;
    left: 10px;
    bottom: 10px;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(9,12,20,0.82);
    border: 1px solid rgba(148,163,184,0.36);
    color: #E2E8F0;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    backdrop-filter: blur(6px);
    pointer-events: none;
  }
  .sc-gp-item:hover, .sc-gp-item:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(245,196,81,0.68);
    box-shadow: 0 14px 32px rgba(0,0,0,0.62);
    outline: none;
  }
  .sc-gp-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
  }
  .sc-gp-zoom-cue {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: rgba(9,10,15,0.72);
    border: 1px solid rgba(255,255,255,0.22);
    color: #F5F7FA;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .18s ease;
    pointer-events: none;
  }
  .sc-gp-item:hover .sc-gp-zoom-cue, .sc-gp-item:focus-visible .sc-gp-zoom-cue { opacity: 1; }
  .sc-gp-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-54%);
    z-index: 6;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(245,196,81,0.36);
    background: rgba(13,17,28,0.92);
    color: #F5F7FA;
    box-shadow: 0 8px 26px rgba(0,0,0,0.62);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity .2s ease, transform .2s ease, border-color .2s ease, background .2s ease;
  }
  .sc-gp-nav:hover { background: rgba(24,31,48,0.98); border-color: #F5C451; color: #F5C451; }
  .sc-gp-nav--prev { left: -16px; }
  .sc-gp-nav--next { right: -16px; }
  .sc-gp-nav.is-hidden { opacity: 0; pointer-events: none; }
  /* Fullscreen Lightbox Viewer */
  .sc-lb-modal {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100dvh;
    z-index: 10000;
    background: rgba(5,7,13,0.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    display: none;
    flex-direction: column;
    overscroll-behavior: contain;
  }
  .sc-lb-modal.is-open { display: flex; }
  .sc-lb-topbar {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 18px;
    border-bottom: 1px solid rgba(148,163,184,0.14);
    background: rgba(9,10,15,0.72);
  }
  .sc-lb-back {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 38px;
    padding: 0 15px 0 11px;
    border-radius: 999px;
    border: 1px solid rgba(245,196,81,0.42);
    background: rgba(245,196,81,0.12);
    color: #F8FAFC;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .18s ease, border-color .18s ease;
    white-space: nowrap;
  }
  .sc-lb-back:hover { background: rgba(245,196,81,0.22); border-color: #F5C451; color: #F5C451; }
  .sc-lb-meta { display: flex; align-items: center; gap: 10px; min-width: 0; overflow: hidden; }
  .sc-lb-counter {
    flex: 0 0 auto;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(148,163,184,0.14);
    color: #F5C451;
    font-size: 0.78rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
  }
  .sc-lb-title {
    color: #DCE5F4;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .sc-lb-close {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,0.24);
    background: rgba(20,24,36,0.88);
    color: #F5F7FA;
    font-size: 1.25rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color .18s ease, color .18s ease;
  }
  .sc-lb-close:hover { border-color: #F5C451; color: #F5C451; }
  .sc-lb-stage {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 68px;
    user-select: none;
    direction: ltr;
  }
  .sc-lb-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 14px;
    border: 1px solid rgba(245,196,81,0.32);
    box-shadow: 0 28px 80px rgba(0,0,0,0.82);
    background: #090A0F;
  }
  .sc-lb-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,0.28);
    background: rgba(15,20,34,0.86);
    color: #F5F7FA;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color .18s ease, color .18s ease, background .18s ease;
  }
  .sc-lb-arrow:hover { border-color: #F5C451; color: #F5C451; background: rgba(24,31,48,0.96); }
  .sc-lb-arrow--prev { left: 14px; }
  .sc-lb-arrow--next { right: 14px; }
  .sc-lb-dots {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px max(14px, env(safe-area-inset-bottom));
    direction: ltr;
  }
  .sc-lb-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(148,163,184,0.36);
    cursor: pointer;
    transition: width .2s ease, background .2s ease;
  }
  .sc-lb-dot--wide { width: 16px; }
  .sc-lb-dot.is-active { width: 26px; background: #F5C451; }
  @media (max-width: 1023px) {
    .sc-real-gallery { --gp-h: 244px; padding: 40px 0 36px; }
    .sc-gp-nav--prev { left: 4px; }
    .sc-gp-nav--next { right: 4px; }
  }
  @media (max-width: 640px) {
    .sc-real-gallery { --gp-h: 164px; padding: 30px 0 26px; }
    .sc-gp-head { margin-bottom: 14px; gap: 12px; }
    .sc-gp-store-bar {
      width: 100%;
      flex-direction: row;
      align-items: center;
      padding: 9px 11px 9px 10px;
      gap: 10px;
      border-radius: 13px;
    }
    .sc-gp-app-icon { width: 36px; height: 36px; border-radius: 9px; }
    .sc-gp-app-name { font-size: 0.86rem; }
    .sc-gp-app-dev { font-size: 0.72rem; }
    .sc-gp-store-arrow { width: 26px; height: 26px; }
    .sc-gp-rail { margin-inline: -16px; padding: 4px 16px 8px; gap: 10px; }
    .sc-gp-nav { display: none; }
    .sc-lb-topbar { padding: 10px 12px; }
    .sc-lb-title { display: none; }
    .sc-lb-stage { padding: 12px 12px; }
    .sc-lb-arrow { width: 38px; height: 38px; background: rgba(15,20,34,0.62); }
    .sc-lb-arrow--prev { left: 8px; }
    .sc-lb-arrow--next { right: 8px; }
  }

  /* ==========================================================================
     FULL RTL POLISH (Arabic `ar` & Hebrew `he`)
     ========================================================================== */
  html[dir="rtl"] body { direction: rtl; text-align: right; }
  html[dir="rtl"] .ide-workbench,
  html[dir="rtl"] pre,
  html[dir="rtl"] code { direction: ltr; unicode-bidi: isolate; text-align: left; }
  html[dir="rtl"] .sc-gp-app-meta { text-align: right; }
  html[dir="rtl"] .sc-gp-app-name,
  html[dir="rtl"] .sc-gp-app-dev { direction: ltr; unicode-bidi: isolate; text-align: right; }
  html[dir="rtl"] .sc-gp-store-arrow svg { transform: scaleX(-1); }
  html[dir="rtl"] .sc-gp-store-bar:hover .sc-gp-store-arrow { transform: translate(-1px, -1px); }
  html[dir="rtl"] .faq-answer { padding: 0 0 22px 32px; }
  html[dir="rtl"] .comp-table th,
  html[dir="rtl"] .comp-table td { text-align: right; }
  html[dir="rtl"] .link-arrow:hover svg { transform: translateX(-3px); }
  html[dir="rtl"] .sc-lb-back { padding: 0 11px 0 15px; }
  html[dir="rtl"] .sc-lb-back svg { transform: scaleX(-1); }
  html[dir="rtl"] .btn--ghost:hover .icon-ne { transform: translate(-1.5px, -1.5px); }
  html[dir="rtl"] .sec-eyebrow,
  html[dir="rtl"] .sc-gp-eyebrow { letter-spacing: 0; }

  /* ==========================================================================
     FLAGSHIP 53-PAGE INTERACTIVE ACCORDION SITEMAP DRAWER (#siteDrawer)
     ========================================================================== */
  .menu-drawer {
    background: rgba(11, 14, 23, 0.985);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border-bottom: 1px solid rgba(245, 196, 81, 0.24);
    overscroll-behavior: contain;
  }
  .menu-drawer__inner {
    display: block;
    padding-block: 16px calc(28px + env(safe-area-inset-bottom, 0px));
  }
  .drawer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding-bottom: 14px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--line);
  }
  .drawer-top__left {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex-wrap: wrap;
  }
  .drawer-top__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 10px rgba(245, 196, 81, 0.72);
    flex: none;
  }
  .drawer-top__title {
    font-size: 0.94rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--fg);
  }
  .drawer-top__badge {
    font-family: var(--font-mono);
    font-size: 0.70rem;
    font-weight: 600;
    padding: 2px 9px;
    border-radius: 999px;
    background: var(--gold-soft);
    border: 1px solid var(--gold-border);
    color: var(--gold);
    white-space: nowrap;
  }
  .drawer-toggle-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    padding: 0 11px;
    border-radius: 999px;
    background: var(--elev);
    border: 1px solid var(--line-strong);
    color: var(--fg-2);
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    transition: border-color 0.18s var(--ease), color 0.18s var(--ease), background 0.18s var(--ease);
  }
  .drawer-toggle-all:hover {
    border-color: var(--gold-border-hover);
    color: var(--gold);
    background: var(--gold-soft);
  }
  .drawer-toggle-all svg { width: 12px; height: 12px; flex: none; }
  .drawer-cols {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  @media (min-width: 860px) {
    .menu-drawer__inner { padding-block: 20px 26px; }
    .drawer-cols {
      grid-template-columns: 1fr 1.28fr 1.12fr;
      gap: 26px;
      align-items: start;
    }
  }
  .drawer-group__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }
  .drawer-group__list {
    display: grid;
    gap: 5px;
  }
  .drawer-node {
    display: flex;
    flex-direction: column;
  }
  .drawer-node__row {
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .drawer-node__row .menu-drawer__link {
    flex: 1 1 auto;
    min-width: 0;
    padding: 9px 11px;
    border-radius: 9px;
  }
  .drawer-link__title {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .drawer-hub-count {
    flex: none;
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 600;
    padding: 1px 7px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.10);
    border: 1px solid rgba(148, 163, 184, 0.14);
    color: var(--fg-4);
    transition: all 0.18s var(--ease);
  }
  .drawer-node.is-open .drawer-hub-count,
  .menu-drawer__link.is-current .drawer-hub-count {
    background: rgba(245, 196, 81, 0.14);
    border-color: var(--gold-border);
    color: var(--gold);
  }
  .drawer-link__arrow {
    width: 14px;
    height: 14px;
    flex: none;
    color: var(--fg-4);
    opacity: 0.7;
    transition: transform 0.18s var(--ease), color 0.18s var(--ease), opacity 0.18s var(--ease);
  }
  .menu-drawer__link:hover .drawer-link__arrow,
  .menu-drawer__link.is-current .drawer-link__arrow {
    color: var(--gold);
    opacity: 1;
    transform: translateX(2px);
  }
  .drawer-expand-btn {
    flex: none;
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: var(--elev);
    border: 1px solid var(--line);
    color: var(--fg-2);
    display: grid;
    place-items: center;
    transition: border-color 0.18s var(--ease), background 0.18s var(--ease), color 0.18s var(--ease), transform 0.16s var(--ease);
  }
  .drawer-expand-btn:hover,
  .drawer-expand-btn:focus-visible {
    border-color: var(--gold-border-hover);
    background: var(--gold-soft);
    color: var(--gold);
    outline: none;
  }
  .drawer-expand-btn:active { transform: scale(0.93); }
  .drawer-plus-svg { width: 15px; height: 15px; display: block; }
  .drawer-plus-svg .plus-v {
    transform-origin: center;
    transition: transform 0.2s var(--ease), opacity 0.18s ease;
  }
  .drawer-node.is-open .drawer-expand-btn {
    border-color: var(--gold-border-hover);
    background: var(--gold-soft);
    color: var(--gold);
  }
  .drawer-node.is-open .drawer-plus-svg .plus-v {
    transform: scaleY(0);
    opacity: 0;
  }
  .drawer-sub {
    margin: 5px 0 9px;
    margin-inline-start: 13px;
    padding-inline-start: 11px;
    border-inline-start: 1.5px solid rgba(245, 196, 81, 0.28);
    display: grid;
    gap: 3px;
  }
  .drawer-sub[hidden] { display: none; }
  .drawer-sub__link {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 7px 10px;
    border-radius: 8px;
    border: 1px solid transparent;
    color: var(--fg-3);
    font-size: 0.815rem;
    font-weight: 500;
    line-height: 1.35;
    transition: all 0.16s var(--ease);
  }
  .drawer-sub__link:hover {
    color: var(--fg);
    background: var(--elev);
    border-color: var(--line);
  }
  .drawer-sub__link.is-current {
    color: var(--fg);
    background: var(--gold-soft);
    border-color: var(--gold-border);
  }
  .drawer-sub__code {
    flex: none;
    min-width: 44px;
    text-align: center;
    padding: 2px 6px;
    border-radius: 5px;
    background: rgba(245, 196, 81, 0.08);
    border: 1px solid rgba(245, 196, 81, 0.22);
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.02em;
  }
  .drawer-sub__title {
    flex: 1 1 auto;
    min-width: 0;
  }
  .drawer-studio-foot {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
  }
  .drawer-studio-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(22, 28, 44, 0.72), rgba(14, 18, 30, 0.86));
    border: 1px solid rgba(148, 163, 184, 0.18);
    transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
  }
  .drawer-studio-bar:hover,
  .drawer-studio-bar:focus-within {
    border-color: rgba(245, 196, 81, 0.48);
    background: linear-gradient(135deg, rgba(28, 35, 54, 0.90), rgba(16, 21, 34, 0.95));
  }
  .drawer-studio-main {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
  }
  .drawer-studio-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    flex: none;
    display: block;
  }
  .drawer-studio-meta {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
  }
  .drawer-studio-name {
    font-size: 0.82rem;
    font-weight: 650;
    color: var(--fg);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .drawer-studio-sub {
    font-size: 0.72rem;
    color: var(--fg-3);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .drawer-studio-actions {
    flex: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding-left: 11px;
    border-left: 1px solid rgba(148, 163, 184, 0.16);
  }
  .drawer-studio-web,
  .drawer-studio-go {
    flex: none;
    height: 20px;
    padding: 0 2px;
    border-radius: 4px;
    font-size: 10.2px;
    font-weight: 500;
    letter-spacing: 0.005em;
    line-height: 1;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
    color: #AEBBD0;
    background: transparent;
    border: none;
    text-decoration: none;
    transition: color 0.18s var(--ease), opacity 0.18s var(--ease);
  }
  .drawer-studio-web:hover,
  .drawer-studio-web:focus-visible,
  .drawer-studio-go:hover,
  .drawer-studio-go:focus-visible {
    color: #F8FAFC;
    outline: none;
  }
  .drawer-studio-web .sc-promo-mico,
  .drawer-studio-go .sc-promo-mico {
    width: 11px;
    height: 11px;
    flex: none;
    display: block;
    color: #8A97B0;
    transition: color 0.18s var(--ease);
  }
  .drawer-studio-web:hover .sc-promo-mico,
  .drawer-studio-go:hover .sc-promo-mico {
    color: #E2E8F0;
  }

  /* ==========================================================================
     PHOENIX GLOBAL STUDIOS — SISTER FLAGSHIP SHOWCASE (FM RADIO HIFI)
     F1-F Compact Monochrome Hairline Architectural Card (Wave-7B Final)
     ========================================================================== */
  .studio-ecosystem {
    padding: 0 0 24px;
  }
  .studio-promo-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(21, 26, 42, 0.90) 0%, rgba(13, 17, 27, 0.96) 100%);
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: border-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
  }
  .studio-promo-card:hover,
  .studio-promo-card:focus-within {
    border-color: rgba(148, 163, 184, 0.34);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.44), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }
  .studio-promo-main {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 13px;
    text-decoration: none;
    outline: none;
  }
  .studio-promo-icon {
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 11px;
    display: block;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.50);
  }
  .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: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #D8B464;
    line-height: 1.24;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .studio-promo-title {
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: -0.014em;
    color: #F5F7FA;
    line-height: 1.26;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .studio-promo-sub {
    font-size: 0.77rem;
    color: #94A0B8;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .studio-promo-actions {
    flex: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding-left: 14px;
    border-left: 1px solid rgba(148, 163, 184, 0.16);
  }
  .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: 10.6px;
    font-weight: 500;
    letter-spacing: 0.005em;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
    color: #AEBBD0;
    background: transparent;
    border: none;
    transition: color 0.18s var(--ease);
  }
  .studio-promo-web:hover,
  .studio-promo-web:focus-visible,
  .studio-promo-cta:hover,
  .studio-promo-cta:focus-visible {
    color: #F8FAFC;
    outline: none;
  }
  .studio-promo-web .sc-promo-mico,
  .studio-promo-cta .sc-promo-mico {
    width: 11.5px;
    height: 11.5px;
    flex: none;
    display: block;
    color: #8A97B0;
    transition: color 0.18s var(--ease);
  }
  .studio-promo-web:hover .sc-promo-mico,
  .studio-promo-cta:hover .sc-promo-mico {
    color: #E2E8F0;
  }
  .studio-lbl-short { display: none; }
  .studio-web-label {
    overflow: hidden;
    text-overflow: ellipsis;
  }
  @media (max-width: 640px) {
    .studio-promo-card {
      padding: 10px 11px;
      gap: 9px;
      border-radius: 13px;
    }
    .studio-promo-main { gap: 9px; }
    .studio-promo-icon { width: 40px; height: 40px; border-radius: 10px; }
    .studio-promo-eyebrow { font-size: 0.58rem; letter-spacing: 0.03em; }
    .studio-promo-title { font-size: 0.80rem; letter-spacing: -0.02em; }
    .studio-promo-sub { font-size: 0.69rem; }
    .studio-promo-actions {
      padding-left: 9px;
      gap: 2px;
    }
    .studio-promo-web,
    .studio-promo-cta {
      height: 20px;
      font-size: 9.8px;
      gap: 4.5px;
    }
    .studio-promo-web .sc-promo-mico,
    .studio-promo-cta .sc-promo-mico {
      width: 10.6px;
      height: 10.6px;
    }
    .studio-lbl-full { display: none; }
    .studio-lbl-short { display: inline; }
    .drawer-studio-bar { padding: 8px 10px; gap: 8px; }
    .drawer-studio-main { gap: 9px; }
    .drawer-studio-actions { padding-left: 8px; gap: 2px; }
    .drawer-studio-web,
    .drawer-studio-go { height: 19px; font-size: 9.6px; gap: 4px; }
    .drawer-studio-web .sc-promo-mico,
    .drawer-studio-go .sc-promo-mico { width: 10.2px; height: 10.2px; }
  }
  html[dir="rtl"] .studio-promo-actions,
  html[dir="rtl"] .drawer-studio-actions {
    padding-left: 0;
    border-left: none;
    padding-right: 14px;
    border-right: 1px solid rgba(148, 163, 184, 0.16);
  }
  @media (max-width: 640px) {
    html[dir="rtl"] .studio-promo-actions,
    html[dir="rtl"] .drawer-studio-actions {
      padding-right: 9px;
    }
  }

  /* RTL mirroring for Sitemap Drawer & Studio Promo Card */
  html[dir="rtl"] .drawer-link__arrow { transform: scaleX(-1); }
  html[dir="rtl"] .menu-drawer__link:hover .drawer-link__arrow,
  html[dir="rtl"] .menu-drawer__link.is-current .drawer-link__arrow { transform: scaleX(-1) translateX(2px); }
  html[dir="rtl"] .studio-promo-title,
  html[dir="rtl"] .drawer-studio-name { direction: ltr; unicode-bidi: isolate; text-align: right; }
  html[dir="rtl"] .studio-promo-eyebrow,
  html[dir="rtl"] .drawer-group__title,
  html[dir="rtl"] .footer-col h4,
  html[dir="rtl"] .sec-index,
  html[dir="rtl"] .py-spoke-card__tag,
  html[dir="rtl"] .py-spoke-card__go,
  html[dir="rtl"] .drawer-top__badge { letter-spacing: 0; font-family: var(--font-sans); }
  html[dir="rtl"] .studio-promo-web .icon-ne,
  html[dir="rtl"] .studio-promo-cta .icon-ne { transform: scaleX(-1); }
  html[dir="rtl"] .studio-promo-web:hover .icon-ne,
  html[dir="rtl"] .studio-promo-cta:hover .icon-ne { transform: scaleX(-1) translate(1.5px, -1.5px); }
  html[dir="rtl"] .sc-gp-dev-badge { left: auto; right: 10px; letter-spacing: 0; }

  /* ==================== INDUSTRIAL UI POLISH: GALLERY SHIMMER + CLS=0 + LANG PILL ==================== */
  @keyframes scShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
  }
  .sc-gp-item--feature { aspect-ratio: 1024 / 500; }
  .sc-gp-item--shot { aspect-ratio: 9 / 16; }
  .sc-gp-item--wide { aspect-ratio: 16 / 9; }
  .sc-gp-item:not(.is-loaded) {
    background: linear-gradient(110deg, #0D121F 8%, #18233C 22%, #0D121F 36%);
    background-size: 200% 100%;
    animation: scShimmer 1.6s ease-in-out infinite;
  }
  .sc-gp-item img {
    opacity: 0.96;
    transition: opacity 0.24s ease;
  }
  .sc-gp-item.is-loaded img { opacity: 1; }
  .sc-gp-all-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-left: auto;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gold);
    background: rgba(245, 196, 81, 0.08);
    border: 1px solid rgba(245, 196, 81, 0.30);
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.18s ease, border-color 0.18s ease;
  }
  .sc-gp-all-link:hover {
    background: rgba(245, 196, 81, 0.18);
    border-color: rgba(245, 196, 81, 0.65);
  }
  /* Google-Compliant Non-Intrusive Language Suggestion Pill (Zero Auto-Redirect, Zero CLS) */
  .sc-lang-suggest {
    position: fixed;
    right: 16px;
    bottom: 20px;
    z-index: 88;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px 9px 14px;
    border-radius: 999px;
    background: rgba(13, 17, 28, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(245, 196, 81, 0.36);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.62);
    color: #F1F5F9;
    font-size: 0.80rem;
    line-height: 1.25;
    max-width: calc(100vw - 32px);
    animation: scLangSlide 0.28s cubic-bezier(.22, 1, .36, 1);
  }
  html[dir="rtl"] .sc-lang-suggest { right: auto; left: 16px; }
  @keyframes scLangSlide {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .sc-lang-suggest__go {
    display: inline-flex;
    align-items: center;
    padding: 4px 11px;
    border-radius: 999px;
    background: var(--gold);
    color: #0B0F19;
    font-weight: 700;
    font-size: 0.76rem;
    text-decoration: none;
    white-space: nowrap;
  }
  .sc-lang-suggest__go:hover { filter: brightness(1.08); }
  .sc-lang-suggest__close {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: none;
    background: rgba(148, 163, 184, 0.14);
    color: #CBD5E1;
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
    padding: 0;
  }
  .sc-lang-suggest__close:hover { background: rgba(148, 163, 184, 0.28); color: #FFF; }
  @media (max-width: 760px) {
    .sc-lang-suggest { bottom: 14px; right: 12px; font-size: 0.75rem; padding: 7px 10px 7px 12px; }
    html[dir="rtl"] .sc-lang-suggest { left: 12px; }
  }

  /* ==================== WAVE-2 LUXURY VISUAL CRAFT & RESPONSIVE PERFECTION ==================== */
  /* 1. Ambient architectural mesh lighting + subtle studio grid fade in Hero */
  .hero::before {
    background:
      radial-gradient(52% 54% at 78% 4%, rgba(245, 196, 81, 0.095), transparent 68%),
      radial-gradient(44% 46% at 12% 18%, rgba(56, 189, 248, 0.065), transparent 72%);
  }

  /* 2. Hero Right-Column Balanced Composition (.hero__aside + Official 4K Demo Video Facade) */
  .hero__aside {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
  }
  .sc-hero-video {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    padding: 0;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(245, 196, 81, 0.30);
    background: #0A0E18;
    box-shadow:
      0 22px 54px rgba(0, 0, 0, 0.62),
      0 0 0 1px rgba(255, 255, 255, 0.05) inset,
      0 0 38px rgba(245, 196, 81, 0.08);
    cursor: pointer;
    text-align: left;
    transition: transform 0.24s cubic-bezier(.22, 1, .36, 1), border-color 0.24s ease, box-shadow 0.24s ease;
  }
  .sc-hero-video:hover,
  .sc-hero-video:focus-visible {
    transform: translateY(-3px);
    border-color: rgba(245, 196, 81, 0.72);
    box-shadow:
      0 28px 66px rgba(0, 0, 0, 0.74),
      0 0 0 1px rgba(245, 196, 81, 0.16) inset,
      0 0 48px rgba(245, 196, 81, 0.16);
    outline: none;
  }
  .sc-hero-video__poster {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.84) contrast(1.04);
    transition: transform 0.45s cubic-bezier(.22, 1, .36, 1), filter 0.3s ease;
  }
  .sc-hero-video:hover .sc-hero-video__poster {
    transform: scale(1.03);
    filter: brightness(0.95) contrast(1.06);
  }
  .sc-hero-video__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 10, 18, 0.14) 0%, rgba(7, 10, 18, 0.32) 55%, rgba(7, 10, 18, 0.86) 100%);
    pointer-events: none;
  }
  .sc-hero-video__play {
    position: absolute;
    top: 44%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(245, 196, 81, 0.96) 0%, rgba(234, 154, 42, 0.96) 100%);
    color: #090C14;
    display: grid;
    place-items: center;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.56), 0 0 0 6px rgba(245, 196, 81, 0.18);
    transition: transform 0.22s cubic-bezier(.22, 1, .36, 1), box-shadow 0.22s ease;
    pointer-events: none;
  }
  .sc-hero-video:hover .sc-hero-video__play {
    transform: translate(-50%, -50%) scale(1.08);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.65), 0 0 0 10px rgba(245, 196, 81, 0.24);
  }
  .sc-hero-video__bar {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 11px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    pointer-events: none;
  }
  .sc-hero-video__label {
    font-size: 0.77rem;
    font-weight: 600;
    color: #F8FAFC;
    letter-spacing: 0.01em;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .sc-hero-video__badge {
    flex: none;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.84);
    border: 1px solid rgba(148, 163, 184, 0.34);
    color: #E2E8F0;
    font-family: var(--font-mono);
    font-size: 10.5px;
    font-weight: 600;
  }
  .sc-hero-video__iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
  }
  .sc-hero-platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 16px;
  }
  .sc-hero-platforms span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--fg-3);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(148, 163, 184, 0.16);
  }
  .sc-hero-platforms span::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #34D399;
    box-shadow: 0 0 6px rgba(52, 211, 153, 0.7);
  }

  /* Desktop Hero Alignment & Glass Spec Frame (eliminates top-right black void on Home & Inner Hubs) */
  @media (min-width: 960px) {
    .hero__grid {
      align-items: center !important;
      gap: 44px;
    }
    .hero__grid > .specs,
    .hero__aside .specs {
      background: linear-gradient(180deg, rgba(255, 255, 255, 0.032) 0%, rgba(255, 255, 255, 0.012) 100%);
      border: 1px solid rgba(148, 163, 184, 0.18);
      border-radius: 14px;
      padding: 4px 20px;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 12px 32px rgba(0, 0, 0, 0.34);
    }
    .hero__grid > .specs .spec:nth-last-child(-n+2),
    .hero__aside .specs .spec:nth-last-child(-n+2) {
      border-bottom: 0;
    }
  }

  /* 3. Mobile <= 540px Spec Grid -> Clean 2x2 Architectural Grid (ZERO '...' Label Truncation!) */
  @media (max-width: 540px) {
    .specs {
      grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
      gap: 0 !important;
      padding-block: 0 !important;
      border: 1px solid var(--line) !important;
      border-radius: 12px;
      background: rgba(255, 255, 255, 0.02);
      overflow: hidden;
    }
    .spec {
      padding: 12px 14px !important;
      border-left: 0 !important;
      border-bottom: 1px solid var(--line);
    }
    .spec:nth-child(even) {
      border-left: 1px solid var(--line) !important;
    }
    .spec:nth-last-child(-n+2) {
      border-bottom: 0;
    }
    .spec dd {
      white-space: normal !important;
      overflow: visible !important;
      text-overflow: clip !important;
      font-size: 0.76rem;
      line-height: 1.3;
    }
    .sc-hero-video__play { width: 48px; height: 48px; }
  }

  /* 4. Tactile Luxury Glass Bevels on Cards, Buttons & Workbench */
  .btn--gold {
    box-shadow:
      inset 0 1px 0 rgba(255, 248, 220, 0.42),
      0 6px 20px rgba(245, 196, 81, 0.16);
  }
  .btn--gold:hover {
    box-shadow:
      inset 0 1px 0 rgba(255, 248, 220, 0.55),
      0 10px 28px rgba(245, 196, 81, 0.28);
  }
  .card, .feature-card {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055), 0 8px 26px rgba(0, 0, 0, 0.28);
  }
  .card:hover, .feature-card:hover {
    box-shadow: inset 0 1px 0 rgba(245, 196, 81, 0.22), 0 16px 40px rgba(0, 0, 0, 0.46);
  }
  .ide-workbench {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.08),
      0 24px 64px rgba(0, 0, 0, 0.58);
  }

  /* 5. Workspaces Bento Card Density Parity + Zero Ugly Scrollbar in Card 02.08 */
  @media (min-width: 768px) {
    .bento { align-items: start; }
  }
  .specimen pre {
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .specimen pre::-webkit-scrollbar { display: none; }

  /* 6. Mobile Comparison Table Caption Wrap (fixes 'COMPARI' clip) + Right Scroll Fade Cue */
  .table-wrap {
    position: relative;
  }
  .obsidian-benchmark-table caption {
    white-space: normal !important;
    word-break: break-word;
    line-height: 1.45;
  }
  @media (max-width: 760px) {
    .obsidian-benchmark-table caption {
      position: sticky;
      left: 0;
      max-width: calc(100vw - 44px);
    }
    .table-wrap {
      background-image: linear-gradient(90deg, transparent 88%, rgba(245, 196, 81, 0.07) 100%);
    }
  }

  /* Subtle language accent dots on Workbench tabs */
  .ide-tab[data-tab="py"] i { background: #38BDF8; }
  .ide-tab[data-tab="c"] i { background: #94A3B8; }
  .ide-tab[data-tab="cpp"] i { background: #818CF8; }
  .ide-tab[data-tab="java"] i { background: #FB923C; }
  .ide-tab[data-tab="js"] i { background: #FACC15; }
  .ide-tab[data-tab="lua"] i { background: #60A5FA; }
  .ide-tab[data-tab="html"] i { background: #F97316; }
  .ide-tab[data-tab="sql"] i { background: #34D399; }
  .ide-tab[data-tab="php"] i { background: #C084FC; }
  .ide-tab[data-tab="git"] i { background: #2DD4BF; }
  .ide-tab[data-tab="ast"] i { background: #38BDF8; }
  .ide-tab[data-tab="fmt"] i { background: #F5C451; }
  .ide-tab[data-tab="radar"] i { background: #F87171; }
  .ide-tab[data-tab="stats"] i { background: #34D399; }

  /* ==================== WAVE-5 & WAVE-6 HOMEPAGE HERO PRECISION POLISH (HOMEPAGE ONLY) ==================== */
  /* 1. SuperCode IDE dedicated commanding line (+2 steps larger) + crisp full-meaning subtitle */
  .hero-h1--home {
    margin-top: 18px;
    line-height: 1.08;
  }
  .hero-h1__brand {
    display: block;
    white-space: nowrap;
    font-size: clamp(2.45rem, 5.4vw, 4.20rem);
    font-weight: 800;
    letter-spacing: -0.036em;
    line-height: 1.05;
    color: #FFF4D2;
  }
  .hero-h1__sub {
    display: block;
    margin-top: 10px;
    font-size: clamp(1.04rem, 1.92vw, 1.72rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.24;
    color: #F8FAFC;
  }
  html[lang^="zh"] .hero-h1__sub,
  html[lang="ja"] .hero-h1__sub,
  html[lang="ko"] .hero-h1__sub {
    font-size: clamp(1.06rem, 2.35vw, 2.04rem);
    letter-spacing: -0.012em;
    line-height: 1.28;
  }

  /* 2. Homepage lead paragraph stepped down cleanly (no inner-page impact) */
  body[data-page="index"] .hero-lead {
    margin-top: 18px;
    font-size: clamp(0.95rem, 0.92rem + 0.22vw, 1.08rem);
    line-height: 1.66;
    color: var(--fg-2);
  }

  /* 3. Single-row seamless scrolling platform ticker (Android Phone · Tablet · Chromebook · Android XR) */
  @keyframes scMarquee {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
  }
  @keyframes scMarqueeRtl {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(50%, 0, 0); }
  }
  .sc-hero-marquee {
    position: relative;
    margin-top: 22px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    padding: 8px 0;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
    -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%);
  }
  .sc-hero-marquee__track {
    display: flex;
    width: max-content;
    will-change: transform;
    animation: scMarquee 18s linear infinite;
  }
  .sc-hero-marquee:hover .sc-hero-marquee__track {
    animation-play-state: paused;
  }
  html[dir="rtl"] .sc-hero-marquee__track {
    animation-name: scMarqueeRtl;
    animation-direction: normal;
  }
  .sc-hero-marquee__group {
    display: inline-flex;
    align-items: center;
    flex: none;
    gap: 10px;
    padding-right: 10px;
  }
  html[dir="rtl"] .sc-hero-marquee__group {
    padding-right: 0;
    padding-left: 10px;
  }
  .sc-hero-marquee__group span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: none;
    white-space: nowrap;
    padding: 4px 12px;
    border-radius: 999px;
    font-family: var(--font-mono);
    font-size: 11.5px;
    font-weight: 500;
    color: #CBD5E1;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(148, 163, 184, 0.20);
  }
  .sc-hero-marquee__group span::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #34D399;
    box-shadow: 0 0 6px rgba(52, 211, 153, 0.75);
  }
  @media (prefers-reduced-motion: reduce) {
    .sc-hero-marquee__track { animation: none; }
  }

  /* 4. WAVE-6B MOBILE FIRST-FOLD PERFECTION (32-Language Zero-Clip + Zero-Peek Framing on Phones) */
  html[lang="ko"] .hero-h1__sub,
  html[lang="ko"] .hero-lead {
    word-break: keep-all;
  }
  @media (max-width: 959px) {
    body[data-page="index"] .hero {
      padding-top: 28px;
    }
    body[data-page="index"] .hero__grid {
      gap: 24px;
    }
    body[data-page="index"] .hero__aside {
      gap: 76px;
    }
    body[data-page="index"] .trust-pill {
      padding: 4px 12px 4px 5px;
      gap: 8px;
      font-size: 11.5px;
    }
    body[data-page="index"] .hero-h1--home {
      margin-top: 18px;
    }
    body[data-page="index"] .hero-h1__brand {
      font-size: clamp(2.42rem, 10.2vw, 3.05rem);
      line-height: 1.04;
    }
    body[data-page="index"] .hero-h1__sub {
      margin-top: 8px;
      font-size: clamp(0.89rem, 3.85vw, 1.22rem);
      line-height: 1.24;
      text-wrap: balance;
    }
    html[lang^="zh"] body[data-page="index"] .hero-h1__sub {
      font-size: clamp(0.98rem, 4.35vw, 1.28rem);
      line-height: 1.26;
    }
    html[lang="ko"] body[data-page="index"] .hero-h1__sub {
      font-size: clamp(0.88rem, 3.85vw, 1.22rem);
      line-height: 1.26;
    }
    html[lang="ja"] body[data-page="index"] .hero-h1__sub {
      font-size: clamp(0.85rem, 3.7vw, 1.16rem);
      line-height: 1.26;
    }
    body[data-page="index"] .hero-lead {
      margin-top: 15px;
      font-size: clamp(0.88rem, 3.82vw, 0.98rem);
      line-height: 1.60;
    }
    html[lang="ar"] body[data-page="index"] .hero-lead,
    html[lang="he"] body[data-page="index"] .hero-lead,
    html[lang="th"] body[data-page="index"] .hero-lead,
    html[lang="hi"] body[data-page="index"] .hero-lead,
    html[lang="bn"] body[data-page="index"] .hero-lead {
      line-height: 1.66;
    }
    body[data-page="index"] .sc-hero-marquee {
      margin-top: 20px;
      padding: 8px 0;
    }
    body[data-page="index"] .sc-hero-marquee__group span {
      padding: 4px 11px;
      font-size: 11px;
    }
    body[data-page="index"] .sc-hero-video {
      border-radius: 15px;
    }
    body[data-page="index"] .sc-hero-video__bar {
      left: 11px;
      right: 11px;
      bottom: 10px;
    }
    body[data-page="index"] .sc-hero-video__label {
      font-size: 0.74rem;
    }
  }
