/* Theme variants + custom background */
body.sy-has-bg {
  background-color: #f2eee5;
  background-image:
    linear-gradient(rgba(242, 238, 229, calc(var(--sy-bg-overlay) / 100)), rgba(242, 238, 229, calc(var(--sy-bg-overlay) / 100))),
    var(--sy-bg-image) !important;
  background-size: cover !important;
  background-position: center center !important;
  background-attachment: var(--sy-bg-attachment, scroll) !important;
}
body.sy-theme-midnight.sy-has-bg {
  background-color: #0f1412;
  background-image:
    linear-gradient(rgba(15, 20, 18, calc(var(--sy-bg-overlay) / 100)), rgba(15, 20, 18, calc(var(--sy-bg-overlay) / 100))),
    var(--sy-bg-image) !important;
}
body.sy-theme-minimal.sy-has-bg {
  background-color: #f6f7f8;
  background-image:
    linear-gradient(rgba(246, 247, 248, calc(var(--sy-bg-overlay) / 100)), rgba(246, 247, 248, calc(var(--sy-bg-overlay) / 100))),
    var(--sy-bg-image) !important;
}
body.sy-theme-ocean.sy-has-bg {
  background-color: #eef2f7;
  background-image: linear-gradient(rgba(238,242,247,calc(var(--sy-bg-overlay) / 100)),rgba(238,242,247,calc(var(--sy-bg-overlay) / 100))), var(--sy-bg-image) !important;
}
body.sy-theme-sage.sy-has-bg {
  background-color: #eef1e8;
  background-image: linear-gradient(rgba(238,241,232,calc(var(--sy-bg-overlay) / 100)),rgba(238,241,232,calc(var(--sy-bg-overlay) / 100))), var(--sy-bg-image) !important;
}
body.sy-theme-sand.sy-has-bg {
  background-color: #f4ece1;
  background-image: linear-gradient(rgba(244,236,225,calc(var(--sy-bg-overlay) / 100)),rgba(244,236,225,calc(var(--sy-bg-overlay) / 100))), var(--sy-bg-image) !important;
}

/* Midnight */
body.sy-theme-midnight {
  --sy-bg: #0f1412;
  --sy-logo-bg: #d98a68;
  --sy-logo-fg: #17130f;
  --sy-card: #171e1a;
  --sy-ink: #ece6da;
  --sy-muted: #9aa59b;
  --sy-line: rgba(236, 230, 218, .14);
  --sy-blue: #d98a68;
  --sy-blue-soft: #2a241e;
  --sy-shadow: 0 1px 0 rgba(0, 0, 0, .2);
  --sy-shadow-lg: 0 24px 60px rgba(0, 0, 0, .35);
  background: #0f1412;
  color: var(--sy-ink);
}
body.sy-theme-midnight::before { background: radial-gradient(900px 500px at 85% -10%, rgba(217,138,104,.07), transparent 60%); }
body.sy-theme-midnight.sy-auth-body .sy-auth-card { background: #171e1a; border-color: rgba(236,230,218,.14); color: #ece6da; }
body.sy-theme-midnight.sy-auth-body .sy-auth-card h1 { color: #f5eee2; }
body.sy-theme-midnight.sy-auth-body .sy-auth-card p,
body.sy-theme-midnight.sy-auth-body .sy-form label,
body.sy-theme-midnight.sy-auth-body .sy-auth-switch { color: #a5ada3; }
body.sy-theme-midnight.sy-auth-body .sy-form input { background: #111714; border-color: rgba(236,230,218,.16); color: #ece6da; }
body.sy-theme-midnight.sy-auth-body .sy-auth-brand span { color: #f0eadf; }
body.sy-theme-midnight.sy-auth-body .sy-btn { background: #d98a68; color: #17130f; }
body.sy-theme-midnight .sy-nav { background: rgba(15,20,18,.94); border-color: rgba(236,230,218,.12); }
body.sy-theme-midnight .sy-nav-links a { color: #aab3a8; }
body.sy-theme-midnight .sy-nav-links a.is-active { background: #232c27; color: #f0eadf; }
body.sy-theme-midnight .sy-nav-cta { background: #d98a68; color: #17130f; }
body.sy-theme-midnight .sy-logo { color: #f0eadf; }
body.sy-theme-midnight .sy-points-chip { background: #2a241e; color: #e8b391; }
body.sy-theme-midnight .sy-hero { background: #0b100e; border-color: #252f29; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
body.sy-theme-midnight .sy-hero h1 { color: #f5eee2; }
body.sy-theme-midnight .sy-hero-sub { color: #a5ada3; }
body.sy-theme-midnight .sy-search { background: #171e1a; border-color: #2c3731; }
body.sy-theme-midnight .sy-search input { color: #f0eadf; }
body.sy-theme-midnight .sy-search button { background: #d98a68; color: #17130f; }
body.sy-theme-midnight .sy-hero-tags { color: #8d988d; }
body.sy-theme-midnight .sy-hero-ledger { border-color: rgba(236,230,218,.2); background: rgba(236,230,218,.035); }
body.sy-theme-midnight .sy-home-vip { background: #171e1a; border-color: rgba(236,230,218,.13); border-left-color: #d98a68; }
body.sy-theme-midnight .sy-home-vip-copy h2 { color: #f0eadf; }
body.sy-theme-midnight .sy-home-vip-copy p { color: #9aa59b; }
body.sy-theme-midnight .sy-home-vip-copy .sy-btn { background: #d98a68; color: #17130f; }
body.sy-theme-midnight .sy-home-vip-plans { border-color: rgba(236,230,218,.13); }
body.sy-theme-midnight .sy-home-vip-plan { color: #f0eadf; border-color: rgba(236,230,218,.13); }
body.sy-theme-midnight .sy-home-vip-plan em { color: #e8b391; }
body.sy-theme-midnight .sy-sidebar-card { border-color: rgba(236,230,218,.13); }
body.sy-theme-midnight .sy-sidebar-card h2 { color: #c7c0b3; }
body.sy-theme-midnight .sy-chips a { color: #9aa59b; }
body.sy-theme-midnight .sy-chips a.is-active { background: #d98a68; color: #17130f; }
body.sy-theme-midnight .sy-section-head { border-color: rgba(236,230,218,.13); }
body.sy-theme-midnight .sy-section-head h2 { color: #f0eadf; }
body.sy-theme-midnight .sy-card { background: #171e1a; border-color: rgba(236,230,218,.13); }
body.sy-theme-midnight .sy-card h3 { color: #f0eadf; }
body.sy-theme-midnight .sy-card p { color: #99a297; }
body.sy-theme-midnight .sy-panel { background: #171e1a; border-color: rgba(236,230,218,.13); }
body.sy-theme-midnight .sy-referral-banner { background: #1b231e; border-color: rgba(236,230,218,.12); }
body.sy-theme-midnight .sy-why-item { border-color: rgba(236,230,218,.13); }
body.sy-theme-midnight .sy-footer { background: #0c110f; border-color: #222b26; }
body.sy-theme-midnight .sy-footer-inner { border-color: #222b26; }
body.sy-theme-midnight .sy-footer-links a, body.sy-theme-midnight .sy-footer-meta { color: #8f998f; }
body.sy-theme-midnight .sy-tabbar { background: rgba(10,14,12,.97); border-color: #2a342e; }

/* Minimal */
body.sy-theme-minimal {
  --sy-bg: #f6f7f8;
  --sy-logo-bg: #151515;
  --sy-logo-fg: #ffffff;
  --sy-card: #ffffff;
  --sy-ink: #151515;
  --sy-muted: #6b7280;
  --sy-line: #e4e7eb;
  --sy-blue: #151515;
  --sy-blue-soft: #f0f1f2;
  --sy-serif: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --sy-shadow: 0 1px 2px rgba(0,0,0,.03);
  --sy-shadow-lg: 0 16px 40px rgba(0,0,0,.05);
  background: #f6f7f8;
  color: var(--sy-ink);
}
body.sy-theme-minimal::before { display: none; }
body.sy-theme-minimal .sy-nav { background: rgba(255,255,255,.94); border-color: #e4e7eb; }
body.sy-theme-minimal .sy-nav-links a.is-active { background: #eceef1; color: #151515; }
body.sy-theme-minimal .sy-nav-cta { background: #151515; color: #fff; }
body.sy-theme-minimal .sy-hero { background: #fff; border: 1px solid #e4e7eb; box-shadow: none; color: #151515; }
body.sy-theme-minimal .sy-hero h1 { color: #111; }
body.sy-theme-minimal .sy-hero .sy-kicker { color: #8b6a52; }
body.sy-theme-minimal .sy-hero-sub { color: #6b7280; }
body.sy-theme-minimal .sy-search { background: #f6f7f8; border-color: #e4e7eb; }
body.sy-theme-minimal .sy-search button { background: #151515; color: #fff; }
body.sy-theme-minimal .sy-hero-tags { color: #8b919a; }
body.sy-theme-minimal .sy-hero-ledger { border-color: #e4e7eb; background: #fafafa; }
body.sy-theme-minimal .sy-ledger-head, body.sy-theme-minimal .sy-ledger-rows span, body.sy-theme-minimal .sy-ledger-foot { color: #8b919a; }
body.sy-theme-minimal .sy-hero-ledger > p { color: #333; }
body.sy-theme-minimal .sy-ledger-rows strong { color: #151515; }
body.sy-theme-minimal .sy-home-vip { background: #fff; border-color: #e4e7eb; border-left-color: #151515; box-shadow: none; }
body.sy-theme-minimal .sy-home-vip-copy .sy-btn { background: #151515; color: #fff; }
body.sy-theme-minimal .sy-home-vip-plans { border-color: #e4e7eb; }
body.sy-theme-minimal .sy-home-vip-plan { border-color: #e4e7eb; }
body.sy-theme-minimal .sy-home-vip-plan em { color: #151515; }
body.sy-theme-minimal .sy-sidebar-card { border-color: #e4e7eb; }
body.sy-theme-minimal .sy-chips a.is-active { background: #151515; color: #fff; }
body.sy-theme-minimal .sy-section-head { border-color: #e4e7eb; }
body.sy-theme-minimal .sy-card { background: #fff; border-color: #e4e7eb; border-radius: 6px; }
body.sy-theme-minimal .sy-card:hover { box-shadow: 0 8px 20px rgba(0,0,0,.06); border-color: #cfd3d8; }
body.sy-theme-minimal .sy-panel { background: #fff; border-color: #e4e7eb; }
body.sy-theme-minimal .sy-referral-banner { background: #fff; border-color: #e4e7eb; }
body.sy-theme-minimal .sy-why-item { background: #fff; border-color: #e4e7eb; }
body.sy-theme-minimal .sy-footer { background: #f0f2f4; border-color: #e4e7eb; }
body.sy-theme-minimal .sy-footer-inner { border-color: #e4e7eb; }
body.sy-theme-minimal .sy-tabbar { background: rgba(255,255,255,.97); border-color: #e4e7eb; }
body.sy-theme-minimal .sy-tabbar a { color: #8b919a; }
body.sy-theme-minimal .sy-tabbar a.is-active { color: #151515; }

/* Ocean */
body.sy-theme-ocean {
  --sy-bg: #eef2f7;
  --sy-card: #fcfdff;
  --sy-ink: #10233f;
  --sy-muted: #65758a;
  --sy-line: #dbe3ee;
  --sy-blue: #b57b32;
  --sy-blue-soft: #f1e7d7;
  --sy-logo-bg: #10233f;
  --sy-logo-fg: #f6ead2;
  background: #eef2f7;
  color: #10233f;
}
body.sy-theme-ocean::before { background: radial-gradient(900px 500px at 85% -10%, rgba(181,123,50,.1), transparent 60%); }
body.sy-theme-ocean .sy-nav { background: rgba(238,242,247,.96); border-color: #dbe3ee; }
body.sy-theme-ocean .sy-nav-links a.is-active { background: #e1e8f1; color: #10233f; }
body.sy-theme-ocean .sy-nav-cta { background: #10233f; color: #f6ead2; }
body.sy-theme-ocean .sy-hero { background: #10233f; border-color: #1b3454; color: #f8f1e5; }
body.sy-theme-ocean .sy-hero h1 { color: #fbf5e9; }
body.sy-theme-ocean .sy-hero-sub { color: #b6c3d3; }
body.sy-theme-ocean .sy-hero .sy-kicker { color: #d4a25c; }
body.sy-theme-ocean .sy-search { background: #f5f1e8; border-color: #ddcfb7; }
body.sy-theme-ocean .sy-search button { background: #b57b32; color: #fff; }
body.sy-theme-ocean .sy-hero-ledger { border-color: rgba(248,241,229,.22); background: rgba(248,241,229,.04); }
body.sy-theme-ocean .sy-home-vip { background: #fcfdff; border-color: #dbe3ee; border-left-color: #b57b32; }
body.sy-theme-ocean .sy-home-vip-copy .sy-btn { background: #10233f; color: #f6ead2; }
body.sy-theme-ocean .sy-home-vip-plan em { color: #b57b32; }
body.sy-theme-ocean .sy-sidebar-card { border-color: #dbe3ee; }
body.sy-theme-ocean .sy-chips a.is-active { background: #10233f; color: #f6ead2; }
body.sy-theme-ocean .sy-section-head { border-color: #dbe3ee; }
body.sy-theme-ocean .sy-card, body.sy-theme-ocean .sy-panel { background: #fcfdff; border-color: #dbe3ee; }
body.sy-theme-ocean .sy-panel-title, body.sy-theme-ocean .sy-card h3 { color: #10233f; }
body.sy-theme-ocean .sy-footer { background: #e5ebf2; border-color: #d2dce8; }
body.sy-theme-ocean .sy-tabbar { background: rgba(16,35,63,.97); border-color: #294568; }
body.sy-theme-ocean .sy-tabbar a.is-active { color: #d4a25c; }

/* Sage */
body.sy-theme-sage {
  --sy-bg: #eef1e8;
  --sy-card: #fbfdf8;
  --sy-ink: #22332a;
  --sy-muted: #6b7a6e;
  --sy-line: #d8e0d2;
  --sy-blue: #8a5a3b;
  --sy-blue-soft: #efe5db;
  --sy-logo-bg: #2f4738;
  --sy-logo-fg: #f2f0df;
  background: #eef1e8;
  color: #22332a;
}
body.sy-theme-sage::before { background: radial-gradient(900px 500px at 85% -10%, rgba(138,90,59,.08), transparent 60%); }
body.sy-theme-sage .sy-nav { background: rgba(238,241,232,.96); border-color: #d8e0d2; }
body.sy-theme-sage .sy-nav-links a.is-active { background: #e1e7db; color: #22332a; }
body.sy-theme-sage .sy-nav-cta { background: #2f4738; color: #f2f0df; }
body.sy-theme-sage .sy-hero { background: #2f4738; border-color: #3f5a48; color: #f3f1e3; }
body.sy-theme-sage .sy-hero h1 { color: #f7f4e7; }
body.sy-theme-sage .sy-hero-sub { color: #b9c5b6; }
body.sy-theme-sage .sy-hero .sy-kicker { color: #d8ad86; }
body.sy-theme-sage .sy-search { background: #f4f1e4; border-color: #ddd5c2; }
body.sy-theme-sage .sy-search button { background: #8a5a3b; color: #fff; }
body.sy-theme-sage .sy-hero-ledger { border-color: rgba(243,241,227,.22); background: rgba(243,241,227,.04); }
body.sy-theme-sage .sy-home-vip { background: #fbfdf8; border-color: #d8e0d2; border-left-color: #8a5a3b; }
body.sy-theme-sage .sy-home-vip-copy .sy-btn { background: #2f4738; color: #f2f0df; }
body.sy-theme-sage .sy-home-vip-plan em { color: #8a5a3b; }
body.sy-theme-sage .sy-sidebar-card, body.sy-theme-sage .sy-section-head { border-color: #d8e0d2; }
body.sy-theme-sage .sy-chips a.is-active { background: #2f4738; color: #f2f0df; }
body.sy-theme-sage .sy-card, body.sy-theme-sage .sy-panel { background: #fbfdf8; border-color: #d8e0d2; }
body.sy-theme-sage .sy-footer { background: #e5e9df; border-color: #d2dacb; }
body.sy-theme-sage .sy-tabbar { background: rgba(34,51,42,.97); border-color: #405849; }
body.sy-theme-sage .sy-tabbar a.is-active { color: #d8ad86; }

/* Sand */
body.sy-theme-sand {
  --sy-bg: #f4ece1;
  --sy-card: #fffaf3;
  --sy-ink: #3d2a24;
  --sy-muted: #7d6a5f;
  --sy-line: #e6d8c8;
  --sy-blue: #9b3f32;
  --sy-blue-soft: #f3e2d8;
  --sy-logo-bg: #4a2e28;
  --sy-logo-fg: #f8ecdd;
  background: #f4ece1;
  color: #3d2a24;
}
body.sy-theme-sand::before { background: radial-gradient(900px 500px at 85% -10%, rgba(155,63,50,.08), transparent 60%); }
body.sy-theme-sand .sy-nav { background: rgba(244,236,225,.96); border-color: #e6d8c8; }
body.sy-theme-sand .sy-nav-links a.is-active { background: #eadbca; color: #3d2a24; }
body.sy-theme-sand .sy-nav-cta { background: #4a2e28; color: #f8ecdd; }
body.sy-theme-sand .sy-hero { background: #4a2e28; border-color: #5e3c34; color: #fbf0e2; }
body.sy-theme-sand .sy-hero h1 { color: #fff4e5; }
body.sy-theme-sand .sy-hero-sub { color: #cdb9ad; }
body.sy-theme-sand .sy-hero .sy-kicker { color: #d99a76; }
body.sy-theme-sand .sy-search { background: #fbf1e5; border-color: #e1cbb6; }
body.sy-theme-sand .sy-search button { background: #9b3f32; color: #fff; }
body.sy-theme-sand .sy-hero-ledger { border-color: rgba(251,240,226,.22); background: rgba(251,240,226,.04); }
body.sy-theme-sand .sy-home-vip { background: #fffaf3; border-color: #e6d8c8; border-left-color: #9b3f32; }
body.sy-theme-sand .sy-home-vip-copy .sy-btn { background: #4a2e28; color: #f8ecdd; }
body.sy-theme-sand .sy-home-vip-plan em { color: #9b3f32; }
body.sy-theme-sand .sy-sidebar-card, body.sy-theme-sand .sy-section-head { border-color: #e6d8c8; }
body.sy-theme-sand .sy-chips a.is-active { background: #4a2e28; color: #f8ecdd; }
body.sy-theme-sand .sy-card, body.sy-theme-sand .sy-panel { background: #fffaf3; border-color: #e6d8c8; }
body.sy-theme-sand .sy-footer { background: #ecdfd1; border-color: #e0cfbe; }
body.sy-theme-sand .sy-tabbar { background: rgba(61,42,36,.97); border-color: #6c4b41; }
body.sy-theme-sand .sy-tabbar a.is-active { color: #d99a76; }
