/* Phá Trời — Editorial & Lore Articles Stylesheet */
:root {
      /* Typography Tokens */
      --font-reading: 'Lora', 'Georgia', serif;
      --font-ui: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
      --font-family: var(--font-ui);
      --font-size: 19px;
      --reader-line-height: 1.85;
      --reader-max-width: 740px;

      /* Spacing Scale (8pt System) */
      --space-1: 4px;
      --space-2: 8px;
      --space-3: 12px;
      --space-4: 16px;
      --space-5: 24px;
      --space-6: 32px;
      --space-7: 48px;
      --space-8: 64px;

      /* Radii (Clean, non-pill) */
      --radius-sm: 4px;
      --radius-md: 6px;
      --radius-lg: 8px;

      /* Motion */
      --motion-fast: 150ms cubic-bezier(0.16, 1, 0.3, 1);
      --motion-base: 220ms cubic-bezier(0.16, 1, 0.3, 1);
    }

    /* Theme 1: Saigon Night (Mặc định - Deep Blue-Black & Rain Blue) */
    :root, html.theme-peaceful-dark, body.theme-peaceful-dark, html.theme-saigon-night, body.theme-saigon-night {
      --bg-color: #0b0f17;
      --bg-gradient: radial-gradient(ellipse at 50% 0%, #111827 0%, #0b0f17 75%);
      --text-color: #e2e8f0;
      --text-muted: #8492a6;
      --header-bg: #0b0f17;
      --card-bg: #111722;
      --card-bg-hover: #182232;
      --border-color: rgba(255, 255, 255, 0.08);
      --border-subtle: rgba(255, 255, 255, 0.04);
      --accent-primary: #517a8f;
      --accent-hover: #638fa6;
      --gold-primary: #e5c07b;
      --gold-hover: #f3d498;
      --cyan-subtle: #41677d;
    }

    /* Theme 2: Warm Dark (Trầm Ấm - Warm Charcoal & Warm Ivory) */
    html.theme-warm-dark, body.theme-warm-dark, html.theme-oled, body.theme-oled {
      --bg-color: #121110;
      --bg-gradient: radial-gradient(ellipse at 50% 0%, #1a1816 0%, #121110 75%);
      --text-color: #e6dfd5;
      --text-muted: #91887e;
      --header-bg: #121110;
      --card-bg: #181715;
      --card-bg-hover: #211f1c;
      --border-color: rgba(255, 255, 255, 0.08);
      --border-subtle: rgba(255, 255, 255, 0.04);
      --accent-primary: #8a7a60;
      --accent-hover: #a19074;
      --gold-primary: #e5c07b;
      --gold-hover: #f3d498;
      --cyan-subtle: #635847;
    }

    /* Theme 3: Sepia (Thư Tịch Cổ - Warm Paper & Dark Brown) */
    html.theme-sepia, body.theme-sepia {
      --bg-color: #f1e8d0;
      --bg-gradient: radial-gradient(circle at 50% 0%, #f8f1de 0%, #f1e8d0 85%);
      --text-color: #3b2d1d;
      --text-muted: #7d6a55;
      --header-bg: #f1e8d0;
      --card-bg: #e6dcbe;
      --card-bg-hover: #ded2b2;
      --border-color: rgba(100, 75, 50, 0.14);
      --border-subtle: rgba(100, 75, 50, 0.07);
      --accent-primary: #4d6d63;
      --accent-hover: #3b574e;
      --gold-primary: #8c5b1e;
      --gold-hover: #734814;
      --cyan-subtle: #415e55;
    }

    /* Theme 4: Paper (Giấy Sáng / Editorial Light - Soft Off-White & Dark Neutral) */
    html.theme-gentle-light, body.theme-gentle-light, html.theme-paper, body.theme-paper {
      --bg-color: #f7f5f0;
      --bg-gradient: radial-gradient(circle at 50% 0%, #ffffff 0%, #f7f5f0 85%);
      --text-color: #24221f;
      --text-muted: #6b665f;
      --header-bg: #f7f5f0;
      --card-bg: #ede9df;
      --card-bg-hover: #e4dfd3;
      --border-color: rgba(0, 0, 0, 0.09);
      --border-subtle: rgba(0, 0, 0, 0.05);
      --accent-primary: #3d6070;
      --accent-hover: #2e4b58;
      --gold-primary: #8f6b28;
      --gold-hover: #73541c;
      --cyan-subtle: #355363;
    }

    * { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
    html { scroll-behavior: smooth; background-color: var(--bg-color); }
    body {
      font-family: var(--font-family); background: var(--bg-gradient); background-color: var(--bg-color);
      color: var(--text-color); min-height: 100vh; overflow-x: hidden; line-height: var(--reader-line-height);
      transition: background 0.3s ease, color 0.3s ease;
      position: relative;
    }
    body::before {
      content: "";
      position: fixed;
      inset: 0;
      width: 100vw;
      height: 100vh;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.02'/%3E%3C/svg%3E");
      pointer-events: none;
      z-index: 9999;
    }
    a { color: inherit; text-decoration: none; }

    /* Editorial Typography Principles */
    h1, h2, h3, h4, h5, h6 { text-wrap: balance; }
    p { text-wrap: pretty; }

    /* Accessibility focus and motion */
    :focus-visible { outline: 2px solid var(--accent-primary); outline-offset: 2px; }
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
      }
    }

    ::-webkit-scrollbar { width: 6px; height: 6px; }
    ::-webkit-scrollbar-track { background: var(--bg-color); }
    ::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 3px; }
    ::-webkit-scrollbar-thumb:hover { background: var(--accent-primary); }

    #progressBarContainer {
      position: fixed; top: 0; left: 0; width: 100%; height: 2px; background: transparent; z-index: 1050; pointer-events: none;
    }
    #progressBar {
      height: 100%; width: 0%; background: var(--gold-primary);
      transition: width 0.1s ease-out;
    }

    header#topHeader {
      position: sticky; top: 0; left: 0; right: 0; width: 100%; max-width: 100vw; box-sizing: border-box;
      height: calc(56px + env(safe-area-inset-top, 0px));
      padding: env(safe-area-inset-top, 0px) 20px 0 20px;
      background: var(--header-bg);
      border-bottom: 1px solid var(--border-color);
      display: flex; align-items: center; justify-content: space-between; z-index: 999;
      transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease;
    }
    header#topHeader.header-unpinned { transform: translateY(-100%) !important; }
    header#topHeader.header-pinned { transform: translateY(0) !important; }
    .header-left { display: flex; align-items: center; gap: 8px; flex-shrink: 0; z-index: 2; }
    .header-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; z-index: 2; margin-left: auto; }
    .btn-brand {
      display: inline-flex; align-items: center; gap: 10px; background: none; border: none;
      cursor: pointer; padding: 4px 6px; border-radius: 6px; transition: opacity 0.2s ease;
    }
    .btn-brand:hover { opacity: 0.85; }
    .nav-logo {
      width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--gold-primary);
      object-fit: cover;
    }
    .nav-brand-text {
      font-family: 'Lora', 'Georgia', serif; font-size: 15px; font-weight: 700; letter-spacing: 1.5px; color: var(--gold-primary);
    }
    .nav-live-badge {
      display: none; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 4px;
      background: transparent; border: 1px solid var(--border-color);
      font-size: 11px; font-weight: 500; color: var(--text-muted);
    }
    @media (min-width: 900px) { .nav-live-badge { display: inline-flex; } }

    .header-center {
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
      text-align: center;
      padding: 0 8px;
      max-width: min(560px, calc(100% - 480px));
      min-width: 0;
      overflow: hidden;
      pointer-events: none;
      z-index: 1;
    }
    .header-title {
      display: block; width: 100%;
      font-size: 13.5px; font-weight: 600; color: var(--text-color); white-space: nowrap;
      overflow: hidden; text-overflow: ellipsis; margin: 0; letter-spacing: 0.3px;
    }
    .header-sub {
      display: block; width: 100%;
      font-size: 11px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 0; opacity: 0.85;
    }
    .reader-progress-badge {
      font-size: 10.5px; font-weight: 600; color: var(--gold-primary);
      background: transparent; border: 1px solid var(--border-color);
      padding: 1px 6px; border-radius: 4px; display: inline-flex; align-items: center;
      margin-left: 6px; vertical-align: middle;
    }

    .btn-icon {
      background: none; border: 1px solid transparent; color: var(--text-muted); width: 36px; height: 36px;
      cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
      border-radius: 6px; transition: color 0.2s, border-color 0.2s; position: relative; flex-shrink: 0;
    }
    .btn-icon:hover { color: var(--gold-primary); border-color: var(--border-color); }
    .btn-icon:active { transform: scale(0.96); }

    .btn-nav-home-pill {
      display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: var(--radius-md);
      background: var(--card-bg); border: 1px solid var(--border-color);
      color: var(--text-muted); font-size: 12px; font-weight: 600; cursor: pointer; transition: all var(--motion-fast);
      white-space: nowrap;
    }
    .btn-nav-home-pill:hover { border-color: var(--gold-primary); color: var(--gold-primary); }

    @media (max-width: 768px) {
      .btn-nav-home-pill { display: none !important; }
      .header-desktop-only { display: none !important; }
      header#topHeader { padding: env(safe-area-inset-top, 0px) 10px 0 10px; }
      .header-left, .header-right { gap: 4px; }
      .header-center { max-width: calc(100% - 220px); }
      .btn-icon { width: 35px; height: 35px; }
      .nav-brand-text { font-size: 14px; letter-spacing: 0.8px; }
      .nav-logo { width: 30px; height: 30px; }
      body.is-home .header-center { display: none; }
    }

    .dot-live {
      width: 6px; height: 6px; border-radius: 50%; background: var(--gold-primary);
      opacity: 0.85;
    }

    /* Chapter Meta Badges */
    .chapter-meta-pills {
      display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; font-size: 12px;
    }
    .meta-pill {
      display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px; border-radius: 20px;
      background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border-color); color: var(--text-muted);
      font-size: 11.5px; font-weight: 500;
    }

    /* Modals, Drawers & Bottom Sheet */
    .modal-overlay {
      position: fixed; inset: 0; background: rgba(0, 0, 0, 0.72); backdrop-filter: blur(4px);
      z-index: 1000; opacity: 0; pointer-events: none; transition: opacity 0.25s ease;
    }
    .modal-overlay.open { opacity: 1; pointer-events: auto; }

    .drawer {
      position: fixed; top: 0; bottom: 0; width: 88%; max-width: 400px; background: var(--card-bg);
      border-left: 1px solid var(--border-color); z-index: 1001; display: flex; flex-direction: column;
      transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); box-shadow: -8px 0 24px rgba(0, 0, 0, 0.4);
      box-sizing: border-box;
    }
    .drawer-left { left: 0; border-left: none; border-right: 1px solid var(--border-color); transform: translateX(-100%); box-shadow: 8px 0 24px rgba(0, 0, 0, 0.4); }
    .drawer-left.open { transform: translateX(0); }
    .drawer-right { right: 0; transform: translateX(100%); }
    .drawer-right.open { transform: translateX(0); }

    .drawer-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--border-color); }
    .drawer-title { font-size: 15px; font-weight: 800; color: var(--gold-primary); margin: 0; letter-spacing: 0.5px; }
    .drawer-tabs { display: flex; padding: 10px 14px; gap: 6px; border-bottom: 1px solid var(--border-color); background: rgba(0,0,0,0.15); }
    .drawer-tab-btn {
      flex: 1; padding: 7px 4px; border-radius: 8px; background: transparent; border: 1px solid transparent;
      color: var(--text-muted); font-size: 12px; font-weight: 600; cursor: pointer; transition: all 0.2s; text-align: center;
    }
    .drawer-tab-btn.active { background: var(--card-bg); border-color: var(--border-color); color: var(--gold-primary); }
    .drawer-search { padding: 10px 16px; border-bottom: 1px solid var(--border-color); }
    .search-input {
      width: 100%; padding: 8px 12px; border-radius: 8px; background: rgba(0,0,0,0.2); border: 1px solid var(--border-color);
      color: var(--text-color); font-size: 13px; outline: none;
    }
    .search-input:focus { border-color: var(--accent-primary); }
    .drawer-body { flex: 1; overflow-y: auto; padding: 10px 14px; }

    /* TOC Progress Summary */
    .toc-progress-summary {
      padding: 12px 16px; border-bottom: 1px solid var(--border-color); background: rgba(0, 0, 0, 0.12);
    }
    .toc-progress-text {
      display: flex; justify-content: space-between; font-size: 12px; font-weight: 600;
      color: var(--text-muted); margin-bottom: 6px;
    }
    .toc-progress-text strong { color: var(--gold-primary); }
    .toc-progress-track {
      width: 100%; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.08); overflow: hidden;
    }
    .toc-progress-fill {
      height: 100%; background: linear-gradient(90deg, var(--gold-primary), var(--accent-primary));
      border-radius: 3px; transition: width 0.3s ease;
    }

    /* TOC items */
    .toc-item {
      padding: 10px 12px; border-radius: 8px; margin-bottom: 4px; cursor: pointer;
      display: flex; align-items: center; justify-content: space-between; border: 1px solid transparent;
      border-left: 2px solid transparent;
      transition: all 0.18s ease; text-decoration: none; color: inherit; box-sizing: border-box;
    }
    .toc-item:hover { background: var(--card-bg-hover); border-color: var(--border-color); border-left-color: var(--gold-primary); }
    .toc-item.active { background: rgba(229, 192, 123, 0.08); border-color: var(--gold-primary); border-left-color: var(--gold-primary); }
    .toc-item.active .toc-name { color: var(--gold-primary); font-weight: 700; }
    .toc-info { min-width: 0; flex: 1; margin-right: 10px; overflow: hidden; }
    .toc-num {
      font-size: 11px; color: var(--gold-primary); font-weight: 700; text-transform: uppercase;
      margin-bottom: 2px; display: flex; align-items: center; gap: 6px;
    }
    .toc-num::before {
      content: "❖";
      font-size: 8px;
      opacity: 0.85;
    }
    .toc-name { font-size: 13px; color: var(--text-color); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .toc-meta { font-size: 11px; color: var(--text-muted); flex-shrink: 0; }

    /* Chapter Status Indicators - Editorial */
    .ch-status-tag {
      font-size: 10px; font-weight: 600; padding: 1px 6px; border-radius: 3px;
      display: inline-flex; align-items: center; gap: 3px;
    }
    .ch-status-tag.read {
      background: transparent; color: var(--text-muted); border: 1px solid var(--border-subtle);
    }
    .ch-status-tag.current {
      background: rgba(229, 192, 123, 0.12); color: var(--gold-primary); border: 1px solid var(--gold-primary);
    }
    .ch-status-tag.unread {
      display: none;
    }

    /* Codex Drawer Styles */
    .codex-progress-pill {
      font-size: 11px; font-weight: 600; color: var(--gold-primary);
      background: transparent; border: 1px solid var(--border-color);
      padding: 2px 8px; border-radius: 4px; display: inline-flex; align-items: center; gap: 5px;
    }
    .codex-card {
      background: rgba(0,0,0,0.2); border: 1px solid var(--border-color); border-radius: 12px; padding: 14px; margin-bottom: 14px;
    }
    .codex-card.locked { border-style: dashed; opacity: 0.8; }
    .codex-badge {
      display: inline-block; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 4px;
      background: rgba(245, 158, 11, 0.15); color: var(--gold-primary); margin-bottom: 6px;
    }
    .codex-badge.locked-badge { background: rgba(255, 255, 255, 0.08); color: var(--text-muted); }
    .codex-title { font-size: 15px; font-weight: 700; color: var(--gold-primary); margin: 0 0 6px 0; }
    .codex-desc { font-size: 13px; color: var(--text-color); opacity: 0.9; line-height: 1.6; margin: 0; }
    .codex-stat {
      display: flex; justify-content: space-between; font-size: 12px; padding: 6px 0;
      border-top: 1px dashed var(--border-color); margin-top: 8px; color: var(--text-muted);
    }
    .codex-stat-val { color: var(--accent-primary); font-weight: 600; }
    .codex-unlock-hint { margin-top: 8px; font-size: 11.5px; font-weight: 600; color: var(--accent-primary); }

    /* Settings Bottom Sheet */
    .sheet-bottom {
      position: fixed; bottom: 0; left: 0; right: 0; background: var(--card-bg); z-index: 1002;
      border-top: 1px solid var(--border-color); border-radius: 20px 20px 0 0; max-width: 580px; width: 100%;
      box-sizing: border-box; margin: 0 auto;
      padding: 20px 20px calc(36px + env(safe-area-inset-bottom, 0px)) 20px; transform: translateY(100%);
      transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); max-height: 85vh; overflow-y: auto;
    }
    .sheet-bottom.open { transform: translateY(0); }
    .sheet-handle { width: 36px; height: 4px; border-radius: 2px; background: var(--border-color); margin: 0 auto 16px auto; }
    .setting-group { margin-bottom: 18px; }
    .setting-label { font-size: 12px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
    .theme-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
    .theme-opt {
      padding: 10px 6px; border-radius: 10px; border: 2px solid var(--border-color); background: rgba(0,0,0,0.1);
      cursor: pointer; text-align: center; font-size: 12px; font-weight: 600; color: var(--text-color); transition: all 0.2s;
    }
    .theme-opt.active { border-color: var(--gold-primary); outline: 2px solid var(--gold-primary); outline-offset: 1px; }

    .stepper-ctrl {
      display: flex; align-items: center; justify-content: space-between; background: rgba(0,0,0,0.15);
      border-radius: 10px; padding: 4px; border: 1px solid var(--border-color);
    }
    .btn-step {
      width: 44px; height: 38px; background: var(--card-bg); border: 1px solid var(--border-color);
      color: var(--text-color); border-radius: 8px; font-size: 16px; font-weight: bold; cursor: pointer;
    }
    .stepper-val { font-size: 15px; font-weight: 700; color: var(--gold-primary); }

    .btn-opt-group { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .btn-opt-step {
      padding: 9px 4px; border-radius: 8px; border: 1px solid var(--border-color); background: rgba(0,0,0,0.15);
      color: var(--text-color); font-size: 12px; font-weight: 600; cursor: pointer; transition: all 0.2s; text-align: center;
    }
    .btn-opt-step:hover { border-color: var(--gold-primary); color: var(--gold-primary); }
    .btn-opt-step.active { background: rgba(229, 192, 123, 0.12); border-color: var(--gold-primary); color: var(--gold-primary); }

    .ambient-widget {
      display: flex; align-items: center; justify-content: space-between; padding: 10px 14px;
      border-radius: 10px; background: rgba(0,0,0,0.15); border: 1px solid var(--border-color); margin-top: 10px;
    }

    #liveToast {
      position: fixed; bottom: 74px; left: 50%; transform: translateX(-50%) translateY(30px);
      background: var(--card-bg); border: 1px solid var(--border-color); color: var(--text-color);
      font-size: 13px; font-weight: 600; padding: 9px 18px; border-radius: var(--radius-lg);
      box-shadow: 0 4px 16px rgba(0,0,0,0.3); opacity: 0; pointer-events: none;
      transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1); z-index: 2000; white-space: nowrap; display: flex; align-items: center; gap: 8px;
    }
    #liveToast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* Editorial Article Layout */
/* Editorial Article Layout */
    .seo-page-container {
      max-width: 800px;
      margin: 0 auto;
      padding: 32px 20px 80px 20px;
      box-sizing: border-box;
      width: 100%;
    }
    .breadcrumb-nav {
      display: flex; align-items: center; gap: 8px; font-size: 12.5px;
      color: var(--text-muted); margin-bottom: 24px; font-family: var(--font-ui);
    }
    .breadcrumb-nav a { color: var(--text-muted); transition: color 0.2s; }
    .breadcrumb-nav a:hover { color: var(--gold-primary); }
    .breadcrumb-sep { opacity: 0.4; }

    .article-header {
      border-bottom: 1px solid var(--border-color);
      padding-bottom: 24px; margin-bottom: 32px;
    }
    .article-category {
      font-size: 11.5px; font-weight: 700; color: var(--gold-primary);
      letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 10px;
    }
    .article-h1 {
      font-family: var(--font-reading);
      font-size: clamp(26px, 4.5vw, 36px);
      font-weight: 700; line-height: 1.35;
      color: var(--gold-primary); margin: 0 0 14px 0;
    }
    .article-meta {
      display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
      font-size: 12.5px; color: var(--text-muted);
    }

    .article-body {
      font-family: var(--font-reading);
      font-size: 18.5px; line-height: 1.85; color: var(--text-color);
    }
    .article-body p { margin-bottom: 1.6em; text-align: left; text-wrap: pretty; }
    .article-body .lead-p,
    .article-body .lead {
      font-size: 20px; line-height: 1.75; color: var(--text-color);
      border-left: 3px solid var(--gold-primary); padding-left: 18px; margin-bottom: 1.8em;
    }
    .article-body h2 {
      font-family: var(--font-reading); font-size: 24px; font-weight: 700;
      color: var(--gold-primary); margin: 2em 0 0.8em 0; border-bottom: 1px solid var(--border-subtle); padding-bottom: 8px;
    }
    .article-body h3 {
      font-family: var(--font-reading); font-size: 19px; font-weight: 600;
      color: var(--text-color); margin: 1.5em 0 0.6em 0;
    }
    .article-body ul, .article-body ol { margin: 0 0 1.6em 24px; }
    .article-body li { margin-bottom: 8px; }
    .article-body blockquote {
      border-left: 2px solid var(--gold-primary); padding: 12px 20px; margin: 1.8em 0;
      background: rgba(229, 192, 123, 0.05); font-style: italic;
    }

    .info-table-box {
      margin: 1.8em 0; overflow-x: auto; border: 1px solid var(--border-color); border-radius: 8px; background: var(--card-bg);
    }
    .data-table { width: 100%; border-collapse: collapse; font-family: var(--font-ui); font-size: 14px; }
    .data-table th { padding: 12px 16px; background: rgba(0, 0, 0, 0.25); border-bottom: 1px solid var(--border-color); color: var(--gold-primary); text-align: left; font-size: 13px; font-weight: 700; }
    .data-table td { padding: 12px 16px; border-bottom: 1px solid var(--border-subtle); }
    .data-table tr:last-child td { border-bottom: none; }
    .data-table td:first-child { width: 200px; color: var(--text-muted); }

    .table-responsive { margin: 1.8em 0; overflow-x: auto; border: 1px solid var(--border-color); border-radius: 8px; background: var(--card-bg); }
    .table-responsive table { width: 100%; border-collapse: collapse; font-family: var(--font-ui); font-size: 13.5px; }
    .table-responsive th { padding: 12px 14px; background: rgba(0, 0, 0, 0.25); border-bottom: 1px solid var(--border-color); color: var(--gold-primary); text-align: left; font-size: 13px; font-weight: 700; white-space: nowrap; }
    .table-responsive td { padding: 12px 14px; border-bottom: 1px solid var(--border-subtle); }
    .table-responsive tr:last-child td { border-bottom: none; }
    .table-responsive td:first-child { font-weight: 700; color: var(--gold-primary); white-space: nowrap; }

    .cta-box {
      margin: 40px 0; padding: 28px 24px; border-radius: 8px;
      background: var(--card-bg); border: 1px solid var(--border-color);
      border-left: 4px solid var(--gold-primary); text-align: center;
    }
    .cta-box h3 { font-family: var(--font-reading); font-size: 20px; color: var(--gold-primary); margin: 0 0 8px 0; }
    .cta-box p { font-size: 14px; color: var(--text-muted); margin-bottom: 18px; font-family: var(--font-ui); }
    .cta-actions { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
    .btn-cta-primary {
      padding: 10px 22px; border-radius: 6px; background: var(--gold-primary);
      border: 1px solid var(--gold-primary); color: #0b0f17; font-size: 13.5px; font-weight: 700;
      text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
      transition: background 0.2s, transform 0.15s;
    }
    .btn-cta-primary:hover { background: var(--gold-hover); transform: translateY(-1px); }
    .btn-cta-secondary {
      padding: 10px 18px; border-radius: 6px; background: transparent;
      border: 1px solid var(--border-color); color: var(--text-color); font-size: 13.5px; font-weight: 500;
      text-decoration: none; transition: border-color 0.2s, color 0.2s;
    }
    .btn-cta-secondary:hover { border-color: var(--gold-primary); color: var(--gold-primary); }

    /* Footer Colophon */
    .site-footer {
      margin-top: 48px; padding: 36px 20px 60px 20px; border-top: 1px solid var(--border-color);
      text-align: center;
    }
    .footer-title { font-family: 'Lora', serif; font-size: 15px; font-weight: 700; color: var(--gold-primary); margin-bottom: 4px; }
    .footer-sub { font-size: 12px; color: var(--text-muted); margin-bottom: 12px; }
    .footer-copy { font-size: 11px; color: var(--text-muted); opacity: 0.75; }
