/* ============================================================
   首页节日风格（后台「首页风格」一键切换）
   —— 只在 body 上换一个 class，覆盖配色与首屏氛围，不改布局/功能
   ============================================================ */

/* 节日问候条（放在顶部公告条与导航之间） */
.theme-strip{padding:8px 20px;text-align:center;font-size:13.5px;font-weight:600;letter-spacing:.2px;color:#fff;background:#12203c}
.theme-strip b{color:#fde68a}

/* 首屏氛围点阵（默认不显示，各主题下面各自给图案） */
.hero::after{content:'';position:absolute;inset:0;background-image:none;background-size:32px 32px;pointer-events:none;z-index:1;opacity:.55}

/* ---------- 圣诞节 ---------- */
body.theme-christmas{--accent:#c62828;--accent-d:#a01e1e;--accent-l:#ffcc66}
body.theme-christmas .topbar,body.theme-christmas .site-header{background:#0a1f16}
body.theme-christmas .nav-bar{background:linear-gradient(90deg,#0a1f16 0%,#12352a 60%,#1a4a38 100%)}
body.theme-christmas .nav a.active{background:rgba(198,40,40,.95)}
body.theme-christmas .hero{background:linear-gradient(115deg,#06140f 0%,#0d2f22 55%,#17513c 100%)}
body.theme-christmas .hero .glow{background:radial-gradient(circle,rgba(198,40,40,.40),transparent 65%)}
body.theme-christmas .hero::after{background-image:radial-gradient(rgba(255,255,255,.85) 1.4px,transparent 1.6px)}
body.theme-christmas .theme-strip{background:linear-gradient(90deg,#0a1f16,#1a4a38,#0a1f16);color:#ffcc66}

/* ---------- 元旦新年 ---------- */
body.theme-newyear{--accent:#7c3aed;--accent-d:#6d28d9;--accent-l:#facc15}
body.theme-newyear .topbar,body.theme-newyear .site-header{background:#141228}
body.theme-newyear .nav-bar{background:linear-gradient(90deg,#141228 0%,#221d46 58%,#2b2560 100%)}
body.theme-newyear .nav a.active{background:rgba(124,58,237,.95)}
body.theme-newyear .hero{background:linear-gradient(115deg,#0d0b1d 0%,#191634 55%,#2b2560 100%)}
body.theme-newyear .hero .glow{background:radial-gradient(circle,rgba(250,204,21,.35),transparent 65%)}
body.theme-newyear .hero::after{background-image:radial-gradient(rgba(250,204,21,.75) 1.3px,transparent 1.6px)}
body.theme-newyear .theme-strip{background:linear-gradient(90deg,#191634,#2b2560,#191634);color:#fde68a}

/* ---------- 春节 ---------- */
body.theme-springfestival{--accent:#dc2626;--accent-d:#b91c1c;--accent-l:#fbbf24}
body.theme-springfestival .topbar,body.theme-springfestival .site-header{background:#5b0d0d}
body.theme-springfestival .nav-bar{background:linear-gradient(90deg,#5b0d0d 0%,#8f1414 60%,#b91c1c 100%)}
body.theme-springfestival .nav a.active{background:rgba(251,191,36,.92);color:#5b0d0d}
body.theme-springfestival .hero{background:linear-gradient(115deg,#4a0a0a 0%,#8f1414 55%,#b91c1c 100%)}
body.theme-springfestival .hero .glow{background:radial-gradient(circle,rgba(251,191,36,.40),transparent 65%)}
body.theme-springfestival .hero::after{background-image:radial-gradient(rgba(251,191,36,.65) 1.4px,transparent 1.7px)}
body.theme-springfestival .theme-strip{background:linear-gradient(90deg,#5b0d0d,#b91c1c,#5b0d0d);color:#fde68a}

/* ---------- 情人节 ---------- */
body.theme-valentine{--accent:#db2777;--accent-d:#be185d;--accent-l:#f9a8d4}
body.theme-valentine .topbar,body.theme-valentine .site-header{background:#2a0a1e}
body.theme-valentine .nav-bar{background:linear-gradient(90deg,#2a0a1e 0%,#4a1035 60%,#681a48 100%)}
body.theme-valentine .nav a.active{background:rgba(219,39,119,.95)}
body.theme-valentine .hero{background:linear-gradient(115deg,#1c0614 0%,#3b0a24 55%,#5c1340 100%)}
body.theme-valentine .hero .glow{background:radial-gradient(circle,rgba(249,168,212,.35),transparent 65%)}
body.theme-valentine .hero::after{background-image:radial-gradient(rgba(249,168,212,.65) 1.5px,transparent 1.8px)}
body.theme-valentine .theme-strip{background:linear-gradient(90deg,#2a0a1e,#681a48,#2a0a1e);color:#fbcfe8}

/* ---------- 复活节 ---------- */
body.theme-easter{--accent:#4d7c0f;--accent-d:#3f6212;--accent-l:#fbcfe8}
body.theme-easter .topbar,body.theme-easter .site-header{background:#122718}
body.theme-easter .nav-bar{background:linear-gradient(90deg,#122718 0%,#1f4527 60%,#2a5c34 100%)}
body.theme-easter .nav a.active{background:rgba(77,124,15,.95)}
body.theme-easter .hero{background:linear-gradient(115deg,#0a1b10 0%,#173a22 55%,#265c37 100%)}
body.theme-easter .hero .glow{background:radial-gradient(circle,rgba(251,207,232,.32),transparent 65%)}
body.theme-easter .hero::after{background-image:radial-gradient(rgba(251,207,232,.7) 1.5px,transparent 1.8px)}
body.theme-easter .theme-strip{background:linear-gradient(90deg,#122718,#2a5c34,#122718);color:#fbcfe8}

/* ---------- 万圣节 ---------- */
body.theme-halloween{--accent:#f97316;--accent-d:#ea580c;--accent-l:#fdba74}
body.theme-halloween .topbar,body.theme-halloween .site-header{background:#1a0d24}
body.theme-halloween .nav-bar{background:linear-gradient(90deg,#1a0d24 0%,#301340 60%,#4c1d95 100%)}
body.theme-halloween .nav a.active{background:rgba(249,115,22,.95);color:#1a0d24}
body.theme-halloween .hero{background:linear-gradient(115deg,#120820 0%,#22102e 55%,#3b1856 100%)}
body.theme-halloween .hero .glow{background:radial-gradient(circle,rgba(249,115,22,.38),transparent 65%)}
body.theme-halloween .hero::after{background-image:radial-gradient(rgba(249,115,22,.6) 1.6px,transparent 1.9px)}
body.theme-halloween .theme-strip{background:linear-gradient(90deg,#1a0d24,#4c1d95,#1a0d24);color:#fdba74}

/* ---------- 感恩节 ---------- */
body.theme-thanksgiving{--accent:#d97706;--accent-d:#b45309;--accent-l:#fbbf24}
body.theme-thanksgiving .topbar,body.theme-thanksgiving .site-header{background:#26140a}
body.theme-thanksgiving .nav-bar{background:linear-gradient(90deg,#26140a 0%,#4a260f 60%,#6b3712 100%)}
body.theme-thanksgiving .nav a.active{background:rgba(217,119,6,.95)}
body.theme-thanksgiving .hero{background:linear-gradient(115deg,#1c0f07 0%,#2a1607 55%,#4a260f 100%)}
body.theme-thanksgiving .hero .glow{background:radial-gradient(circle,rgba(251,191,36,.38),transparent 65%)}
body.theme-thanksgiving .hero::after{background-image:radial-gradient(rgba(251,191,36,.6) 1.5px,transparent 1.8px)}
body.theme-thanksgiving .theme-strip{background:linear-gradient(90deg,#26140a,#6b3712,#26140a);color:#fde68a}

/* ---------- 美国独立日 ---------- */
body.theme-independence{--accent:#dc2626;--accent-d:#b91c1c;--accent-l:#93c5fd}
body.theme-independence .topbar,body.theme-independence .site-header{background:#0b1c3d}
body.theme-independence .nav-bar{background:linear-gradient(90deg,#0b1c3d 0%,#152f5f 60%,#1e3a8a 100%)}
body.theme-independence .nav a.active{background:rgba(220,38,38,.95)}
body.theme-independence .hero{background:linear-gradient(115deg,#081433 0%,#12295c 55%,#1e3a8a 100%)}
body.theme-independence .hero .glow{background:radial-gradient(circle,rgba(220,38,38,.38),transparent 65%)}
body.theme-independence .hero::after{background-image:radial-gradient(rgba(255,255,255,.8) 1.4px,transparent 1.7px)}
body.theme-independence .theme-strip{background:linear-gradient(90deg,#0b1c3d,#1e3a8a,#0b1c3d);color:#fef3c7}

/* ---------- 母亲节 ---------- */
body.theme-mothersday{--accent:#db2777;--accent-d:#be185d;--accent-l:#f9a8d4}
body.theme-mothersday .topbar,body.theme-mothersday .site-header{background:#2b0f22}
body.theme-mothersday .nav-bar{background:linear-gradient(90deg,#2b0f22 0%,#4a1733 60%,#6b2049 100%)}
body.theme-mothersday .nav a.active{background:rgba(219,39,119,.95)}
body.theme-mothersday .hero{background:linear-gradient(115deg,#1d0817 0%,#3a102a 55%,#5b1a44 100%)}
body.theme-mothersday .hero .glow{background:radial-gradient(circle,rgba(192,132,252,.38),transparent 65%)}
body.theme-mothersday .hero::after{background-image:radial-gradient(rgba(249,168,212,.7) 1.5px,transparent 1.8px)}
body.theme-mothersday .theme-strip{background:linear-gradient(90deg,#2b0f22,#6b2049,#2b0f22);color:#fbcfe8}

/* ---------- 父亲节 ---------- */
body.theme-fathersday{--accent:#0f766e;--accent-d:#115e59;--accent-l:#38bdf8}
body.theme-fathersday .topbar,body.theme-fathersday .site-header{background:#08251f}
body.theme-fathersday .nav-bar{background:linear-gradient(90deg,#08251f 0%,#0d3d34 60%,#115e59 100%)}
body.theme-fathersday .nav a.active{background:rgba(15,118,110,.95)}
body.theme-fathersday .hero{background:linear-gradient(115deg,#04170f 0%,#08251f 55%,#0f4a40 100%)}
body.theme-fathersday .hero .glow{background:radial-gradient(circle,rgba(56,189,248,.34),transparent 65%)}
body.theme-fathersday .hero::after{background-image:radial-gradient(rgba(56,189,248,.6) 1.4px,transparent 1.7px)}
body.theme-fathersday .theme-strip{background:linear-gradient(90deg,#08251f,#115e59,#08251f);color:#bae6fd}

/* ---------- 黑五 ---------- */
body.theme-blackfriday{--accent:#facc15;--accent-d:#eab308;--accent-l:#fde68a}
body.theme-blackfriday .topbar,body.theme-blackfriday .site-header{background:#0b0b0f}
body.theme-blackfriday .nav-bar{background:linear-gradient(90deg,#0b0b0f 0%,#15151d 60%,#1f1f2a 100%)}
body.theme-blackfriday .nav a.active{background:rgba(250,204,21,.95);color:#0b0b0f}
body.theme-blackfriday .hero{background:linear-gradient(115deg,#07070a 0%,#111827 55%,#1f2937 100%)}
body.theme-blackfriday .hero .glow{background:radial-gradient(circle,rgba(250,204,21,.32),transparent 65%)}
body.theme-blackfriday .hero::after{background-image:radial-gradient(rgba(250,204,21,.55) 1.4px,transparent 1.7px)}
body.theme-blackfriday .theme-strip{background:linear-gradient(90deg,#0b0b0f,#1f2937,#0b0b0f);color:#facc15}

/* ---------- 自定义风格（配色由后台写入 body 的 CSS 变量） ---------- */
body.theme-custom{--accent:var(--c-accent,#2563eb);--accent-d:var(--c-accent-d,#1d4ed8);--accent-l:var(--c-accent-l,#60a5fa)}
body.theme-custom .topbar,body.theme-custom .site-header{background:var(--c-head,#0b1220)}
body.theme-custom .nav-bar{background:linear-gradient(90deg,var(--c-nav1,#12203c) 0%,var(--c-nav2,#17294c) 100%)}
body.theme-custom .nav a.active{background:var(--c-navactive,#2563eb)}
body.theme-custom .hero{background:linear-gradient(115deg,var(--c-hero1,#0b1220) 0%,var(--c-hero2,#1a2f56) 100%)}
body.theme-custom .hero .glow{background:radial-gradient(circle,var(--c-glow,rgba(255,255,255,.25)),transparent 65%)}
body.theme-custom .hero::after{background-image:radial-gradient(var(--c-dot,#fff) 1.4px,transparent 1.7px)}
body.theme-custom .theme-strip{background:linear-gradient(90deg,var(--c-nav1,#12203c),var(--c-nav2,#17294c));color:var(--c-striptext,#fff)}

/* 首屏促销角标（后台「首屏节日皮肤」里填文字才显示） */
.hero .promo-ribbon{position:absolute;top:14px;left:14px;z-index:4;background:linear-gradient(90deg,#dc2626,#f59e0b);color:#fff;font-weight:700;font-size:12.5px;letter-spacing:.3px;padding:6px 13px;border-radius:20px;box-shadow:0 8px 20px rgba(0,0,0,.3)}

/* ---------- 手机端微调 ---------- */
@media (max-width:768px){
  .theme-strip{font-size:12.5px;padding:7px 14px;line-height:1.5}
  .hero::after{background-size:26px 26px}
}
