/* Black and gold premium theme. Visual variables only. */
:root[data-theme='black-gold'] {
  --color-red-900: #17140e;
  --color-red-800: #2a2418;
  --color-red-700: #8b691f;
  --color-gold-700: #a77a22;
  --color-gold-500: #d7ac45;
  --color-gold-200: #f3df9c;
  --color-ink: #211b10;
  --color-muted: #74633e;
  --color-paper: #fbf8ef;
  --color-panel: #f3ecdc;
  --color-line: #b89a55;
  --shadow-soft: 0 12px 30px rgba(22, 17, 8, 0.24);
  --radius-small: 5px;
  --site-header-sticky-height: 75px;
  --theme-html-background: #14110c;
  --theme-body-background: linear-gradient(90deg, #18140d, #f5eedc 11%, #fbf8ef 50%, #f5eedc 89%, #18140d);
  --theme-header-background: linear-gradient(180deg, #221d13, #0f0d09);
  --theme-header-image: none;
  --theme-header-image-size: cover;
  --theme-header-image-position: center;
  --theme-header-border: #d7ac45;
  --theme-header-shadow: 0 7px 22px rgba(0, 0, 0, 0.36);
  --theme-header-height: 72px;
  --theme-mobile-header-height: 56px;
  --theme-logo-image: linear-gradient(145deg, #d7ac45, #6b4b12 62%, #17140e);
  --theme-brand-mark-background: linear-gradient(145deg, #d7ac45, #6b4b12 62%, #17140e);
  --theme-brand-mark-color: #fff1b4;
  --theme-brand-text-shadow: none;
  --theme-brand-surface: linear-gradient(145deg, #fff9e8, #e8d29a);
  --theme-brand-surface-border: #d7ac45;
  --theme-brand-surface-shadow: 0 6px 16px rgba(0, 0, 0, 0.34);
  --theme-brand-surface-padding: 5px 10px;
  --theme-nav-background: transparent;
  --theme-nav-color: #f5df9d;
  --theme-nav-active-background: linear-gradient(180deg, #e2bd58, #9a6f18);
  --theme-nav-active-color: #171109;
  --theme-nav-border: transparent;
  --theme-home-frame-border: #7d642d;
  --theme-home-frame-background: rgba(251, 248, 239, 0.98);
  --theme-section-border: #b89a55;
  --theme-category-tabs-background: linear-gradient(180deg, #272116, #15120d);
  --theme-category-tab-border: #7d642d;
  --theme-category-tab-color: #f1d886;
  --theme-category-tab-active-background: linear-gradient(180deg, #e2bd58, #9a6f18);
  --theme-category-tab-active-color: #171109;
  --theme-category-tab-active-line: #f3df9c;
  --theme-category-icon-display: inline-grid;
  --theme-category-icon-background: #2b2417;
  --theme-category-icon-color: #f3df9c;
  --theme-category-panel-background: #fbf8ef;
  --theme-category-head-background: linear-gradient(90deg, #eee1bd, #fbf8ef 62%);
  --theme-category-head-muted: #7b6734;
  --theme-category-card-background: linear-gradient(180deg, #332b1c, #17140e);
  --theme-category-card-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
  --theme-category-card-active-shadow: 0 7px 18px rgba(0, 0, 0, 0.38);
  --theme-category-all-background: linear-gradient(180deg, #f0d77f, #aa7b1d);
  --theme-category-all-border: #d7ac45;
  --theme-card-grid-background: #ede4d0;
  --theme-card-background: linear-gradient(180deg, #fffdf6, #eadbb7);
  --theme-card-border: #ae8a3c;
  --theme-card-hover-border: #6e5015;
  --theme-card-shadow: 0 3px 9px rgba(29, 22, 9, 0.18);
  --theme-card-hover-shadow: 0 8px 18px rgba(29, 22, 9, 0.3);
  --theme-card-badge-display: none;
  --theme-card-badge-text: '';
  --theme-card-badge-space: 0px;
  --theme-card-corner-display: grid;
  --theme-post-period-color: #c40000;
  --theme-post-author-color: #c40000;
  --theme-post-title-color: var(--post-title-color, #c40000);
  --theme-post-key-color: #c40000;
  --theme-post-unlock-background: #fff4df;
  --theme-post-unlock-border: #d8a53a;
  --theme-post-meta-color: #4b423a;
  --theme-post-meta-label-color: #6b4f2a;
  --theme-modal-head-background: linear-gradient(135deg, #17140e, #795b1a);
  --theme-modal-title-color: #ffe89b;
  --theme-modal-period-color: #f7d974;
  --theme-modal-ad-color: #fff5ce;
  --theme-ad-section-background: linear-gradient(180deg, #231e14, #0f0d09);
  --theme-ad-background: linear-gradient(135deg, #18140d, #5a4519 58%, #0d0b08);
  --theme-ad-hover-background: linear-gradient(135deg, #2b2417, #7b5d1c 58%, #17130d);
  --theme-ad-border: #a77a22;
  --theme-ad-shadow: 0 8px 22px rgba(0, 0, 0, 0.34);
  --theme-ad-hover-shadow: 0 13px 28px rgba(0, 0, 0, 0.44);
  --theme-ad-overlay: linear-gradient(90deg, rgba(8, 7, 5, 0.94), rgba(80, 60, 19, 0.62), rgba(8, 7, 5, 0.94));
  --theme-trust-section-background: linear-gradient(180deg, #eee3c7, #d7c18d);
  --theme-trust-card-background: rgba(255, 252, 242, 0.94);
  --theme-trust-card-border: #ae8a3c;
  --theme-trust-card-shadow: 0 5px 14px rgba(29, 22, 9, 0.14);
  --theme-trust-title-color: #4e390e;
  --theme-trust-muted-color: #74633e;
  --theme-register-background: linear-gradient(105deg, #15120d, #4f3b12 60%, #0f0d09);
  --theme-register-border: #d7ac45;
  --theme-footer-background: linear-gradient(180deg, #1b1710, #090806);
  --theme-footer-color: #f3df9c;
}

@media (max-width: 900px) {
  :root[data-theme='black-gold'] { --site-header-sticky-height: 56px; }
}
