:root {
  --content-max-width: 100%;
  --color-red-900: #7b1113;
  --color-red-800: #9f1519;
  --color-red-700: #c31a20;
  --color-gold-700: #b97812;
  --color-gold-500: #e1a52d;
  --color-gold-200: #ffe4a3;
  --color-ink: #2a1710;
  --color-muted: #765337;
  --color-paper: #fffaf0;
  --color-panel: #fff6e4;
  --color-line: #e9c37b;
  --shadow-soft: 0 10px 28px rgba(123, 17, 19, 0.14);
  --radius-small: 6px;
  --mobile-safe-area: env(safe-area-inset-bottom);
  --theme-html-background: #fff5df;
  --theme-body-background:
    linear-gradient(90deg, rgba(255, 238, 190, 0.7), rgba(255, 250, 240, 0.94) 16%, rgba(255, 250, 240, 0.94) 84%, rgba(255, 238, 190, 0.7)),
    repeating-linear-gradient(135deg, rgba(185, 120, 18, 0.08), rgba(185, 120, 18, 0.08) 1px, transparent 1px, transparent 12px);
  --theme-header-background: linear-gradient(180deg, #fffaf0, #ffe7ad);
  --theme-header-image: none;
  --theme-header-image-size: cover;
  --theme-header-image-position: center;
  --theme-header-border: var(--color-red-800);
  --theme-header-shadow: none;
  --theme-header-height: 72px;
  --theme-mobile-header-height: 56px;
  --theme-nav-background: transparent;
  --theme-nav-color: var(--color-ink);
  --theme-nav-active-background: var(--color-red-800);
  --theme-nav-active-color: #fff7d1;
  --theme-nav-border: transparent;
  --theme-brand-mark-background: linear-gradient(145deg, var(--color-red-700), var(--color-gold-500));
  --theme-brand-mark-color: #fff8d7;
  --theme-brand-text-shadow: none;
  --theme-brand-surface: transparent;
  --theme-brand-surface-border: transparent;
  --theme-brand-surface-shadow: none;
  --theme-brand-surface-padding: 0;
  --theme-brand-copy-justify: start;
  --theme-brand-copy-text-align: left;
  --theme-home-frame-border: #14a066;
  --theme-home-frame-background: rgba(255, 255, 255, 0.96);
  --theme-section-border: #d6b15a;
  --theme-category-tabs-background: #fff7df;
  --theme-category-tab-border: #ecd090;
  --theme-category-tab-color: #8b0008;
  --theme-category-tab-active-background: #ffe7a9;
  --theme-category-tab-active-color: #c00000;
  --theme-category-tab-active-line: #c81018;
  --theme-category-icon-display: none;
  --theme-category-icon-background: transparent;
  --theme-category-icon-color: currentColor;
  --theme-category-panel-background: #fff;
  --theme-category-head-background: #fff8e6;
  --theme-category-head-muted: #9a6b18;
  --theme-category-card-background: linear-gradient(180deg, #fffdf8, #fff0cf);
  --theme-category-card-shadow: 0 4px 12px rgba(96, 43, 0, 0.08);
  --theme-category-card-active-shadow: 0 8px 18px rgba(111, 0, 5, 0.18);
  --theme-category-all-background: linear-gradient(180deg, #fff1b6, #e7bd5a);
  --theme-category-all-border: #d7a236;
  --theme-recommend-heading-background: linear-gradient(90deg, #fff7e2, #fffdfa 50%, #fff1cc);
  --theme-recommend-heading-color: #9e0008;
  --theme-card-grid-background: #fff;
  --theme-card-background: linear-gradient(180deg, #fffdf5, #fff3cf);
  --theme-card-border: #e2bd6b;
  --theme-card-hover-border: #c40e15;
  --theme-card-shadow: 0 1px 3px rgba(93, 31, 0, 0.1);
  --theme-card-hover-shadow: 0 3px 8px rgba(123, 17, 19, 0.15);
  --theme-card-badge-display: none;
  --theme-card-badge-text: "";
  --theme-card-badge-space: 0px;
  --theme-card-corner-display: none;
  --theme-post-period-color: #004b9b;
  --theme-post-author-color: #8a5a15;
  --theme-post-title-color: var(--post-title-color, #b40000);
  --theme-post-key-color: #c00000;
  --theme-post-unlock-background: #fff0b8;
  --theme-post-unlock-border: #d49b29;
  --theme-post-meta-color: #666;
  --theme-post-meta-label-color: #8a5a15;
  --theme-modal-head-background: linear-gradient(90deg, #c81018, #d76800);
  --theme-modal-title-color: #fff;
  --theme-modal-period-color: #ffed91;
  --theme-modal-ad-color: #fff;
  --theme-ad-section-background: rgba(255, 250, 240, 0.9);
  --theme-ad-background: linear-gradient(180deg, #fffdf7, #fff0cc);
  --theme-ad-hover-background: linear-gradient(180deg, #fff7e3, #ffe5ac);
  --theme-ad-border: #e7bd69;
  --theme-ad-shadow: 0 8px 20px rgba(93, 0, 4, 0.16);
  --theme-ad-hover-shadow: 0 12px 28px rgba(111, 0, 5, 0.25);
  --theme-ad-overlay: linear-gradient(90deg, rgba(89, 0, 4, 0.9), rgba(157, 0, 12, 0.58), rgba(67, 0, 2, 0.88));
  --theme-trust-section-background: linear-gradient(180deg, #fffaf0, #f8e8c4);
  --theme-trust-card-background: rgba(255, 255, 255, 0.88);
  --theme-trust-card-border: #e2bc6c;
  --theme-trust-card-shadow: 0 5px 14px rgba(90, 29, 0, 0.08);
  --theme-trust-title-color: #850007;
  --theme-trust-muted-color: #7b5a36;
  --theme-register-background: linear-gradient(110deg, #850007, #b60010 62%, #7b0005);
  --theme-register-border: #e3b348;
  --theme-footer-background: #3a180e;
  --theme-footer-color: #fff1c1;
}
