/* ============================================================
   冬天快乐 · 雪后清晨  浅色冬季皮肤（v2 全模块适配版）
   ------------------------------------------------------------
   作用域：html[data-season="winter-light"]
   目标：整站由「深紫夜」翻成「雪白昼」，且每个模块都要看清

   设计规则（v2 新增）：
   1) 底色整体压深一级 → 白卡片才能"浮起来"，模块边界清楚
   2) 表面三层：page(#eef7ff→#cfe1f2) / card(#fff) / inset(#f1f7fd)
   3) 正文一律 ≥ 7:1，次要文字 ≥ 4.5:1，强调色一律压深
   4) 所有「浅金 / 浅橙 / #fff」硬编码文字，逐模块重映射为深琥珀
   5) 保留深色：图片灯箱、打卡裁图工具（本就是深色工具面板）
   ============================================================ */

html[data-season="winter-light"] {
  /* ---------- 底色（三层表面） ---------- */
  --bg-deep: #dbe9f6;
  --bg-dark: #eef6fd;
  --bg-card: #ffffff;
  --bg-card-hover: #f8fcff;
  --bg-inset: #f1f7fd;

  /* ---------- 文字（全部达标） ---------- */
  --text: #10293e;
  --text-dim: #3c5a75;
  --text-faint: #5b7590;
  --text-light: #10293e;

  /* ---------- 强调 ---------- */
  --gold: #96650c;
  --gold-light: #8a5c0a;
  --gold-glow: rgba(150, 101, 12, 0.16);
  --coral: #c23a2a;
  --purple: #2f6fa8;
  --purple-light: #1f5f9e;
  --success: #1c7a4b;
  --error: #b32a26;

  --frost: #2f7cb8;
  --ice: #1c6ba6;
  --warm: #b4521a;
  --warm-soft: rgba(180, 82, 26, 0.10);

  /* ---------- 线条与投影 ---------- */
  --border: rgba(44, 104, 152, 0.18);
  --border-active: rgba(44, 104, 152, 0.44);
  --shadow: 0 10px 28px rgba(24, 66, 104, 0.10);
  --shadow-gold: 0 6px 18px rgba(150, 101, 12, 0.16);
}

/* ============================================================
   1. 全站底：雪后清晨
   ============================================================ */
html[data-season="winter-light"] body {
  background:
    radial-gradient(92% 56% at 50% -10%, #ffffff 0%, rgba(255, 255, 255, 0) 58%),
    linear-gradient(180deg, #eef7ff 0%, #dfedfa 42%, #cfe1f2 100%);
  background-attachment: fixed;
  color: var(--text);
}

/* 原深色版的星雾 → 换成薄云冷雾 */
html[data-season="winter-light"] body::before {
  background:
    radial-gradient(58% 38% at 10% 0%, rgba(140, 194, 236, 0.34) 0%, rgba(140, 194, 236, 0) 62%),
    radial-gradient(52% 42% at 90% 3%, rgba(186, 219, 245, 0.42) 0%, rgba(186, 219, 245, 0) 62%),
    radial-gradient(72% 46% at 50% 100%, rgba(200, 224, 243, 0.40) 0%, rgba(200, 224, 243, 0) 70%);
}

/* 深色模式的星星粒子在浅色下会变成脏点 → 隐藏 */
html[data-season="winter-light"] .stars,
html[data-season="winter-light"] .star {
  display: none !important;
}

/* ============================================================
   2. 导航：白磨砂 + 冰蓝激活
   ============================================================ */
html[data-season="winter-light"] .nav-bar {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px) saturate(1.05);
  -webkit-backdrop-filter: blur(16px) saturate(1.05);
  border-bottom: 1px solid rgba(44, 104, 152, 0.14);
  box-shadow: 0 6px 22px rgba(24, 66, 104, 0.08);
}

html[data-season="winter-light"] .nav-links {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(44, 104, 152, 0.12);
  box-shadow: 0 4px 14px rgba(24, 66, 104, 0.06);
}

html[data-season="winter-light"] .nav-btn {
  color: var(--text-dim);
}

html[data-season="winter-light"] .nav-btn:hover {
  color: var(--ice);
  background: rgba(47, 124, 184, 0.08);
}

html[data-season="winter-light"] .nav-btn.active {
  color: #ffffff;
  background: linear-gradient(135deg, #2a6f9e, #1a5a8c);
  box-shadow: 0 4px 14px rgba(31, 99, 152, 0.30);
}

html[data-season="winter-light"] .nav-btn.active::after {
  display: none;
}

/* ============================================================
   3. 首屏引言卡
   ============================================================ */
html[data-season="winter-light"] .hero-quote {
  background: linear-gradient(165deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid rgba(44, 104, 152, 0.16);
  box-shadow: 0 18px 44px rgba(24, 66, 104, 0.12), inset 0 1px 0 #ffffff;
}

html[data-season="winter-light"] .hero-quote::before,
html[data-season="winter-light"] .hero-quote::after {
  background: radial-gradient(circle at 0 0, rgba(150, 200, 238, 0.38) 0, rgba(150, 200, 238, 0) 62%);
  opacity: .85;
}

html[data-season="winter-light"] .hero-quote-figure-glow {
  background: radial-gradient(circle, rgba(240, 168, 96, 0.34) 0%, rgba(240, 168, 96, 0.12) 45%, rgba(240, 168, 96, 0) 72%);
  animation: wlBreath 4.4s ease-in-out infinite;
}

@keyframes wlBreath {
  0%, 100% { opacity: .7; transform: scale(1); }
  50%      { opacity: 1;  transform: scale(1.04); }
}

html[data-season="winter-light"] .hero-quote-lead { color: var(--text-dim); }

/* 原「流沙金」渐变文字在白雪底上几乎看不见 → 换成深金渐变
   （hero-title / result-title / pc-title / admin-controls-title 同理） */
html[data-season="winter-light"] :is(.hero-title, .hero-quote-title, .hero-quote-text, .result-title, .pc-title, .admin-controls-title) {
  background: linear-gradient(
    120deg,
    #5e3d00 0%,
    #96650c 18%,
    #b8811b 34%,
    #7a4e06 52%,
    #a8750f 70%,
    #6b4700 100%
  );
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 1px 2px rgba(24, 66, 104, 0.16));
  text-shadow: none;
}
html[data-season="winter-light"] .hero-quote-from { color: var(--text-faint); }
html[data-season="winter-light"] .hero-celebrate { color: #8a5c0a; }

/* 首屏小胶囊按钮 */
html[data-season="winter-light"] .hero-lee-btn {
  background: #ffffff;
  border: 1px solid rgba(44, 104, 152, 0.22);
  box-shadow: 0 6px 18px rgba(24, 66, 104, 0.10);
  color: #8a5c0a;
}
html[data-season="winter-light"] .hero-lee-btn .lee-btn-title { color: #8a5c0a; }
html[data-season="winter-light"] .hero-lee-btn .lee-btn-hand { color: #8a5c0a; }

html[data-season="winter-light"] .hero-quote-toggle-btn {
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(44, 104, 152, 0.18);
}

/* ============================================================
   4. 区块标题
   ============================================================ */
html[data-season="winter-light"] .section-title {
  color: #0d2b43;
  text-shadow: none;
}
html[data-season="winter-light"] .section-desc { color: var(--text-dim); }

/* ============================================================
   5. 动态模块（做数据 / 微博卡片）
   ============================================================ */
html[data-season="winter-light"] .feed-remind-bar {
  background: linear-gradient(90deg, rgba(150, 101, 12, 0.13), rgba(150, 101, 12, 0.03));
  border: 1px solid rgba(150, 101, 12, 0.28);
  color: #8a5c0a;
}

html[data-season="winter-light"] .feed-type-tag {
  background: #eaf3fb;
  color: #2c6a97;
  border: 1px solid rgba(44, 104, 152, 0.22);
}
html[data-season="winter-light"] .feed-type-tag.hot {
  background: #96650c;
  color: #ffffff;
  border-color: #96650c;
}

html[data-season="winter-light"] .feed-src-badge {
  background: #eaf3fb;
  color: #2c6a97;
  border: 1px solid rgba(44, 104, 152, 0.16);
}

html[data-season="winter-light"] .feed-more-do {
  background: linear-gradient(135deg, #c2410c, #ea580c);
  color: #ffffff !important;
  box-shadow: 0 3px 10px rgba(194, 65, 12, 0.28);
}

html[data-season="winter-light"] .feed-card,
html[data-season="winter-light"] .feed-call {
  border: 1px solid rgba(44, 104, 152, 0.14);
  box-shadow: 0 4px 16px rgba(24, 66, 104, 0.06);
}

/* ---------- 做数据详情页（feed.html）：每条都要能一眼分开 ----------
   原样式是「白色半透明底 + 白色描边」，在白雪底上等于不可见
   → 改成白卡片 + 淡蓝描边 + 柔和投影 + 左侧色块（四色循环） */
html[data-season="winter-light"] .feed-list {
  gap: 12px;
}

html[data-season="winter-light"] .feed-list-item {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(44, 104, 152, 0.16);
  box-shadow: 0 2px 10px rgba(24, 66, 104, 0.07);
}

/* 左侧色块 */
html[data-season="winter-light"] .feed-list-item::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #8fc4e6, #2a6f9e);
}

/* 四色循环，扫一眼就能区分相邻条目 */
html[data-season="winter-light"] .feed-list-item:nth-child(4n + 2)::after {
  background: linear-gradient(180deg, #c8a4f0, #6d35c9);
}
html[data-season="winter-light"] .feed-list-item:nth-child(4n + 3)::after {
  background: linear-gradient(180deg, #f0c374, #b4700f);
}
html[data-season="winter-light"] .feed-list-item:nth-child(4n + 4)::after {
  background: linear-gradient(180deg, #93d6b0, #1c7a4b);
}

/* 置顶号召卡：金色块，优先级最高 */
html[data-season="winter-light"] .feed-list-item.call-list-card::after {
  background: linear-gradient(180deg, #f6c96a, #b4700f);
}

html[data-season="winter-light"] .feed-list-item:hover {
  border-color: rgba(44, 104, 152, 0.34);
  box-shadow: 0 12px 26px rgba(24, 66, 104, 0.14);
}

/* 动态卡封面：原为「深紫暗块 + 金色大字」，浅色下改成冰蓝封面 + 深字 */
html[data-season="winter-light"] .feed-cover {
  background: #eaf3fb;
}
html[data-season="winter-light"] .feed-cover-empty,
html[data-season="winter-light"] .feed-call-card .feed-cover-empty {
  background: linear-gradient(150deg, #eef7ff 0%, #d7e9f8 55%, #c9dff2 100%);
}

/* feed.html 宽条卡：封面图容器 / 空封面占位（原为深紫渐变块） */
html[data-season="winter-light"] .feed-list-img {
  background: #eaf3fb;
}
html[data-season="winter-light"] .feed-list-img-empty {
  background: linear-gradient(150deg, #eef7ff 0%, #d7e9f8 55%, #c9dff2 100%);
}

html[data-season="winter-light"] .feed-avatar-text,
html[data-season="winter-light"] .feed-call-card .feed-cover-empty .feed-avatar-text {
  color: #2a5d84;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* ============================================================
   6. 游戏卡片区
   ============================================================ */
html[data-season="winter-light"] .game-card {
  background: linear-gradient(165deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid rgba(44, 104, 152, 0.16);
  box-shadow: 0 6px 18px rgba(24, 66, 104, 0.08);
  transition: transform .28s cubic-bezier(.2, .7, .3, 1), box-shadow .28s ease, border-color .28s ease;
}

html[data-season="winter-light"] .game-card:hover {
  transform: translateY(-3px);
  border-color: rgba(44, 104, 152, 0.34);
  box-shadow: 0 16px 34px rgba(24, 66, 104, 0.16);
}

html[data-season="winter-light"] .game-card::after { display: none; }

html[data-season="winter-light"] .game-card .game-card-title { color: #0d2b43; }
html[data-season="winter-light"] .game-card .game-card-desc { color: var(--text-dim); }

/* 星级：亮色下用深琥珀，暗星用可见的浅灰蓝 */
html[data-season="winter-light"] .game-card .game-diff .on {
  color: #96650c;
  text-shadow: none;
}
html[data-season="winter-light"] .game-card .game-diff .off {
  color: #8fa8bd;
}

/* 次数角标（含做数据卡的高特异性覆盖） */
html[data-season="winter-light"] .game-card .game-play-count,
html[data-season="winter-light"] .game-card.game-card-feed .game-play-count {
  color: #8a5c0a;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(150, 101, 12, 0.26);
  box-shadow: 0 2px 8px rgba(24, 66, 104, 0.08);
  text-shadow: none;
}

/* 做数据卡：淡暖底 */
html[data-season="winter-light"] .game-card.game-card-feed {
  background: linear-gradient(165deg, #fffdfa 0%, #fdf4e8 100%);
  border-color: rgba(180, 82, 26, 0.26);
}
html[data-season="winter-light"] .game-card.game-card-feed:hover {
  border-color: rgba(180, 82, 26, 0.42);
}
html[data-season="winter-light"] .game-card.game-card-feed .game-card-title {
  color: #a8500f;
}
html[data-season="winter-light"] .game-card.game-card-feed .game-diff .on {
  color: #b4521a;
}

html[data-season="winter-light"] .game-card-meta span {
  color: var(--text-dim);
  background: #eff6fd;
  border: 1px solid rgba(44, 104, 152, 0.14);
}

/* 「更换背景」按钮 */
html[data-season="winter-light"] .quiz-bg-btn {
  color: #8a5c0a;
  background: rgba(150, 101, 12, 0.10);
  border: 1px solid rgba(150, 101, 12, 0.32);
}
html[data-season="winter-light"] .quiz-bg-btn:hover {
  color: #6b4700;
  background: rgba(150, 101, 12, 0.18);
}

/* ============================================================
   7. 游戏内页（答题/连连看/火眼金睛等）
   ============================================================ */
html[data-season="winter-light"] .game-bg::after {
  background: rgba(255, 255, 255, 0.30);
}
html[data-season="winter-light"] .has-bg #game-content {
  background: rgba(255, 255, 255, 0.55);
}
html[data-season="winter-light"] .has-bg .connect-grid {
  background: rgba(44, 104, 152, 0.05);
}
html[data-season="winter-light"] .has-bg .connect-cell {
  background: linear-gradient(135deg, #ffffff, #eaf3fb);
  border-color: rgba(44, 104, 152, 0.18);
}

html[data-season="winter-light"] .pc-tested-count {
  color: #8a5c0a;
  background: linear-gradient(135deg, rgba(150, 101, 12, 0.14), rgba(150, 101, 12, 0.03));
  border: 1px solid rgba(150, 101, 12, 0.30);
  box-shadow: 0 6px 18px rgba(150, 101, 12, 0.12);
}
html[data-season="winter-light"] .pc-tested-count b {
  color: #6b4700;
  text-shadow: none;
}

html[data-season="winter-light"] .fire-head { color: #8a5c0a; }
html[data-season="winter-light"] .fire-head .fire-count { color: #1c7a4b; }
html[data-season="winter-light"] .fire-head .fire-score { color: #8a5c0a; }
html[data-season="winter-light"] .fire-level-tip { color: #8a5c0a; }
html[data-season="winter-light"] .fire-type {
  color: #8a5c0a;
  background: rgba(150, 101, 12, 0.10);
  border: 1px solid rgba(150, 101, 12, 0.30);
}
html[data-season="winter-light"] .fire-prompt-tip { color: var(--text-dim); }
html[data-season="winter-light"] .fire-badge-mid {
  color: #8a5c0a;
  border-color: rgba(150, 101, 12, 0.34);
}

html[data-season="winter-light"] .option-btn.opt-correct {
  border-color: #1c7a4b !important;
  color: #146b3f !important;
  background: rgba(28, 122, 75, 0.08);
}
html[data-season="winter-light"] .option-btn.opt-wrong {
  border-color: #b32a26 !important;
  color: #a02320 !important;
  background: rgba(179, 42, 38, 0.08);
}

html[data-season="winter-light"] .result-emotion span { color: #8a5c0a; }
html[data-season="winter-light"] .result-score-box {
  background: #f1f7fd;
  border: 1px solid rgba(44, 104, 152, 0.16);
}

html[data-season="winter-light"] .connect-lyric-src {
  background: #eaf3fb;
  color: var(--text-dim);
}
html[data-season="winter-light"] .connect-confirm-mask {
  background: rgba(24, 66, 104, 0.24);
}

/* ============================================================
   7b. 痛楼打卡入口条（ck-entry）
   原版是深棕底 + 浅金文字，白底下完全看不清
   ============================================================ */
html[data-season="winter-light"] .ck-entry-panel {
  background: linear-gradient(135deg, #fffdf7, #fdf2e6);
  border: 1px solid rgba(180, 82, 26, 0.26);
  box-shadow: 0 8px 22px rgba(24, 66, 104, 0.08);
}
html[data-season="winter-light"] .ck-entry-count,
html[data-season="winter-light"] .ck-entry-count-heart,
html[data-season="winter-light"] .ck-entry-count-txt,
html[data-season="winter-light"] .ck-entry-panel p {
  color: #8a5c0a;
}
html[data-season="winter-light"] .ck-entry-count b {
  color: #6b4700;
  text-shadow: none;
}
html[data-season="winter-light"] .ck-entry-btn {
  background: linear-gradient(135deg, #e2551b, #c13a12);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(193, 58, 18, 0.34), inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

/* 头像菜单里的「退出登录」红色 */
html[data-season="winter-light"] .avatar-menu-item.danger,
html[data-season="winter-light"] .avatar-menu-item.danger .ami-text,
html[data-season="winter-light"] .ami-icon,
html[data-season="winter-light"] .ami-text {
  color: #b3281f;
}

/* 「春春的信」弹窗：米白信纸 */
html[data-season="winter-light"] .lee-letter-card {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(150, 101, 12, 0.10), transparent 60%),
    #fffdf8;
  border: 1px solid rgba(150, 101, 12, 0.28);
}
html[data-season="winter-light"] .lee-letter-title { color: #8a5c0a; text-shadow: none; }
html[data-season="winter-light"] .lee-letter-sub { color: var(--text-dim); }
html[data-season="winter-light"] .lee-letter-poem p { color: #23394d; }
html[data-season="winter-light"] .lee-letter-sign { color: #b3281f; }
html[data-season="winter-light"] .lee-letter-close { color: var(--text-dim); }

/* 答题表情小提示 */
html[data-season="winter-light"] .emotion-tip {
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(44, 104, 152, 0.20);
  box-shadow: 0 8px 22px rgba(24, 66, 104, 0.16);
}
html[data-season="winter-light"] .emotion-tip-text { color: var(--text); }

/* 反馈小人气泡 */
html[data-season="winter-light"] .feedback-mascot { background: transparent; }
html[data-season="winter-light"] .feedback-mascot .feedback-bubble {
  background: #ffffff;
  border: 1px solid rgba(44, 104, 152, 0.18);
  color: var(--text);
}
html[data-season="winter-light"] .feedback-mascot .feedback-explain { color: var(--text-dim); }
html[data-season="winter-light"] .feedback-mascot .feedback-answer.correct { color: #146b3f; }
html[data-season="winter-light"] .feedback-mascot .feedback-answer.wrong { color: #a02320; }

/* ============================================================
   8. 长图时间轴 / 专辑年表
   ============================================================ */
html[data-season="winter-light"] .album-tl-layout,
html[data-season="winter-light"] .lb-map-card,
html[data-season="winter-light"] .lb-map-rank {
  background: transparent;
  border-color: rgba(44, 104, 152, 0.14);
}

html[data-season="winter-light"] .album-year-btn { color: var(--text-dim); }
html[data-season="winter-light"] .album-year-btn:hover {
  color: #8a5c0a;
  background: rgba(150, 101, 12, 0.07);
}
html[data-season="winter-light"] .album-year-btn.active {
  color: #8a5c0a;
  border-left-color: #96650c;
  background: rgba(150, 101, 12, 0.12);
  text-shadow: none;
}
html[data-season="winter-light"] .album-year-count { color: #8a5c0a; opacity: .8; }

html[data-season="winter-light"] .tl-card {
  background: #ffffff;
  border: 1px solid rgba(44, 104, 152, 0.14);
  box-shadow: 0 4px 14px rgba(24, 66, 104, 0.07);
}
html[data-season="winter-light"] .tl-date { color: #8a5c0a; }
html[data-season="winter-light"] .tl-card-desc { color: var(--text-dim); }

/* 类型小标签：背景更浅、文字压深 */
html[data-season="winter-light"] .tl-card-type.album-type-milestone {
  background: rgba(150, 101, 12, 0.12); color: #8a5c0a;
}
html[data-season="winter-light"] .tl-card-type.album-type-music {
  background: rgba(109, 40, 217, 0.10); color: #5b21b6;
}
html[data-season="winter-light"] .tl-card-type.album-type-concert {
  background: rgba(13, 148, 136, 0.10); color: #0f766e;
}
html[data-season="winter-light"] .tl-card-type.album-type-film {
  background: rgba(220, 38, 38, 0.10); color: #b91c1c;
}
html[data-season="winter-light"] .tl-card-type.album-type-variety {
  background: rgba(21, 128, 61, 0.10); color: #15803d;
}
html[data-season="winter-light"] .tl-card-type.album-type-charity {
  background: rgba(194, 65, 12, 0.10); color: #b45309;
}

/* ============================================================
   9. 投票墙（玉米最爱的歌）
   ============================================================ */
html[data-season="winter-light"] .song-card {
  background: #ffffff;
  border: 1px solid rgba(44, 104, 152, 0.14);
  box-shadow: 0 3px 12px rgba(24, 66, 104, 0.06);
}
html[data-season="winter-light"] .song-card:hover {
  border-color: rgba(44, 104, 152, 0.30);
}
html[data-season="winter-light"] .song-card-votes { color: #8a5c0a; }
html[data-season="winter-light"] .song-card-title { color: var(--text); }

html[data-season="winter-light"] .top10-item {
  background: #ffffff;
  border: 1px solid rgba(44, 104, 152, 0.12);
}
html[data-season="winter-light"] .top10-votes { color: #8a5c0a; }
html[data-season="winter-light"] .wishlist-hint { color: var(--text-dim); }
html[data-season="winter-light"] .wishlist-total-songs { color: var(--text-faint); }

/* ============================================================
   10. 排行榜 / 数据榜
   ============================================================ */
html[data-season="winter-light"] .lb-mode-btn.active,
html[data-season="winter-light"] .lb-sub-tab.active {
  color: #8a5c0a;
  border-color: #96650c;
  background: rgba(150, 101, 12, 0.10);
}
html[data-season="winter-light"] .lb-data-value { color: #8a5c0a; }
html[data-season="winter-light"] .lb-data-value.data,
html[data-season="winter-light"] .lb-data-row .lb-data-today b,
html[data-season="winter-light"] .lb-data-detail b,
html[data-season="winter-light"] .lb-count-bottom b {
  color: #b4521a;
}
html[data-season="winter-light"] .lb-data-count b,
html[data-season="winter-light"] .lb-data-total b { color: #8a5c0a; }
html[data-season="winter-light"] .lb-data-label,
html[data-season="winter-light"] .lb-data-meta { color: var(--text-dim); }
html[data-season="winter-light"] .lb-data-detail {
  border-top-color: rgba(44, 104, 152, 0.16);
  color: var(--text-faint);
}

html[data-season="winter-light"] .broadcast-danmaku .bd-msg {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(150, 101, 12, 0.28);
  color: #8a5c0a;
  box-shadow: 0 2px 10px rgba(24, 66, 104, 0.10);
}

html[data-season="winter-light"] .rank-my { color: #ffffff; }

/* ============================================================
   11. 留言板 / 素材区
   ============================================================ */
html[data-season="winter-light"] .post-card,
html[data-season="winter-light"] .material-card {
  background: #ffffff;
  border: 1px solid rgba(44, 104, 152, 0.14);
  box-shadow: 0 4px 14px rgba(24, 66, 104, 0.06);
}
html[data-season="winter-light"] .post-pin-badge {
  color: #8a5c0a;
  background: rgba(150, 101, 12, 0.10);
  border: 1px solid rgba(150, 101, 12, 0.30);
}
html[data-season="winter-light"] .posts-total-badge,
html[data-season="winter-light"] .materials-total-badge {
  color: #8a5c0a;
  background: rgba(150, 101, 12, 0.09);
  border: 1px solid rgba(150, 101, 12, 0.26);
}
html[data-season="winter-light"] .post-redbull-title { color: #8a5c0a; }
html[data-season="winter-light"] .post-author-name { color: #8a5c0a; }
html[data-season="winter-light"] .material-comment-author { color: #8a5c0a; }
html[data-season="winter-light"] .material-reply-to { color: #8a5c0a; }
html[data-season="winter-light"] .material-upload-btn {
  color: #8a5c0a;
  background: #fffdf7;
  border-color: rgba(150, 101, 12, 0.28);
}

/* ============================================================
   12. 弹窗 / 提示条 / 遮罩
   ============================================================ */
html[data-season="winter-light"] .modal-overlay {
  background: rgba(24, 66, 104, 0.34);
}
html[data-season="winter-light"] .modal-box {
  background: #ffffff;
  border: 1px solid rgba(44, 104, 152, 0.16);
  box-shadow: 0 24px 60px rgba(24, 66, 104, 0.22);
}
html[data-season="winter-light"] .modal-title { color: #0d2b43; }
html[data-season="winter-light"] .modal-desc { color: var(--text-dim); }
html[data-season="winter-light"] .modal-input {
  background: #f4f9fe;
  border: 1px solid rgba(44, 104, 152, 0.18);
  color: var(--text);
}
html[data-season="winter-light"] .modal-input::placeholder { color: #8ba6bf; }

html[data-season="winter-light"] .toast-msg {
  background: #ffffff;
  border: 1px solid rgba(44, 104, 152, 0.22);
  color: var(--text);
  box-shadow: 0 10px 28px rgba(24, 66, 104, 0.16);
}
html[data-season="winter-light"] .toast-msg.center {
  background: #fffdf5;
  border: 1px solid #b8811b;
  color: #8a5c0a;
  box-shadow: 0 14px 36px rgba(24, 66, 104, 0.20), 0 0 0 1px rgba(184, 129, 27, 0.18);
}

html[data-season="winter-light"] #post-loading-overlay {
  background: rgba(24, 66, 104, 0.26);
}

html[data-season="winter-light"] .ana-daily-tip {
  background: #fffdf5;
  border: 1px solid rgba(150, 101, 12, 0.26);
  color: #8a5c0a;
}

html[data-season="winter-light"] .admin-controls-panel {
  background: linear-gradient(135deg, #f4f9fe, #ffffff);
  border: 1px solid rgba(44, 104, 152, 0.16);
}

html[data-season="winter-light"] .avatar-upload-hint {
  background: rgba(24, 66, 104, 0.62);
}

/* 背景设置弹窗内部 */
html[data-season="winter-light"] .bg-section-title {
  color: #8a5c0a;
  background: rgba(150, 101, 12, 0.10);
  border-color: rgba(150, 101, 12, 0.28);
}
html[data-season="winter-light"] .bg-opacity-label,
html[data-season="winter-light"] .bg-blur-title,
html[data-season="winter-light"] .bg-preset-title { color: #8a5c0a; }
html[data-season="winter-light"] .bg-opacity-val { color: var(--text); }
html[data-season="winter-light"] .bg-opacity-tip,
html[data-season="winter-light"] .bg-blur-tip { color: var(--text-faint); }
html[data-season="winter-light"] .bg-current-label { color: var(--text-dim); }
html[data-season="winter-light"] .bg-preset-name { color: var(--text); }
html[data-season="winter-light"] .bg-preset-desc { color: var(--text-faint); }
html[data-season="winter-light"] .bg-preset {
  background: #f4f9fe;
  border-color: rgba(44, 104, 152, 0.16);
}
html[data-season="winter-light"] .bg-blur-opt {
  background: #f4f9fe;
  border-color: rgba(44, 104, 152, 0.18);
  color: var(--text-dim);
}
html[data-season="winter-light"] .bg-blur-opt:hover {
  color: var(--text);
  border-color: rgba(44, 104, 152, 0.40);
}
html[data-season="winter-light"] .bg-blur-opt.active {
  background: rgba(150, 101, 12, 0.12);
  border-color: #96650c;
  color: #8a5c0a;
  box-shadow: none;
}
html[data-season="winter-light"] .bg-opacity-row input[type="range"] {
  background: rgba(44, 104, 152, 0.18);
}
html[data-season="winter-light"] .bg-upload-btn {
  background: linear-gradient(135deg, #96650c, #b8811b);
  color: #ffffff;
}

/* ============================================================
   13. 按钮 / 表单
   ============================================================ */
html[data-season="winter-light"] .btn-primary,
html[data-season="winter-light"] .btn.btn-primary {
  background: linear-gradient(135deg, #2a6f9e, #1a5a8c);
  color: #ffffff;
  border: none;
  box-shadow: 0 6px 18px rgba(31, 99, 152, 0.26);
}

html[data-season="winter-light"] .btn-secondary,
html[data-season="winter-light"] .btn.btn-secondary {
  background: #ffffff;
  border: 1px solid rgba(44, 104, 152, 0.24);
  color: var(--ice);
}

html[data-season="winter-light"] .post-submit-btn,
html[data-season="winter-light"] .vote-confirm-btn,
html[data-season="winter-light"] .btn-warm {
  background: linear-gradient(135deg, #e07a3c, #c05a1c);
  color: #ffffff;
  border: none;
  box-shadow: 0 6px 18px rgba(192, 90, 28, 0.24);
}

html[data-season="winter-light"] .back-to-top {
  background: linear-gradient(135deg, #4d9ad4, #2f7cb8);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 20px rgba(47, 124, 184, 0.42), 0 0 0 4px rgba(47, 124, 184, 0.12);
}

html[data-season="winter-light"] textarea,
html[data-season="winter-light"] input[type="text"],
html[data-season="winter-light"] input[type="search"],
html[data-season="winter-light"] input[type="password"] {
  background: #ffffff;
  border: 1px solid rgba(44, 104, 152, 0.20);
  color: var(--text);
  box-shadow: inset 0 1px 2px rgba(24, 66, 104, 0.04);
}

html[data-season="winter-light"] textarea::placeholder,
html[data-season="winter-light"] input::placeholder {
  color: #8ba6bf;
}

html[data-season="winter-light"] textarea:focus,
html[data-season="winter-light"] input:focus {
  border-color: rgba(47, 124, 184, 0.55);
  box-shadow: 0 0 0 3px rgba(47, 124, 184, 0.12);
  outline: none;
}

/* ============================================================
   14. 页脚
   ============================================================ */
html[data-season="winter-light"] footer,
html[data-season="winter-light"] .site-footer {
  border-top: 1px solid rgba(44, 104, 152, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.85) 100%);
}
html[data-season="winter-light"] .footer-tagline { color: #8a5c0a; }

/* 页脚联系区在 HTML 里写死了行内颜色，需要 !important 覆盖 */
html[data-season="winter-light"] .footer-wechat,
html[data-season="winter-light"] .footer-contact { color: var(--text-dim) !important; }
html[data-season="winter-light"] .footer-wechat-id {
  color: #b4521a !important;
  border-bottom-color: rgba(180, 82, 26, 0.55) !important;
}
html[data-season="winter-light"] .credit-highlight { color: #8a5c0a; }
html[data-season="winter-light"] .footer-credits { color: var(--text-faint); }
html[data-season="winter-light"] .fte-label { color: #8a5c0a; }

/* ============================================================
   15. 细节：滚动条 / 选区 / 动效降级
   ============================================================ */
html[data-season="winter-light"] ::-webkit-scrollbar-thumb {
  background: rgba(44, 104, 152, 0.26);
  border-radius: 8px;
}
html[data-season="winter-light"] ::-webkit-scrollbar-thumb:hover {
  background: rgba(44, 104, 152, 0.40);
}

html[data-season="winter-light"] ::selection {
  background: rgba(47, 124, 184, 0.20);
  color: #0d2b43;
}

@media (prefers-reduced-motion: reduce) {
  html[data-season="winter-light"] .hero-quote-figure-glow { animation: none; }
}

/* ============================================================
   全站飘雪（由 js/snow.js 在「冬天快乐」皮肤下挂载）
   ============================================================ */
.snow-layer {
  position: fixed;
  inset: 0;
  z-index: 9990;
  pointer-events: none;
  overflow: hidden;
  contain: strict;
  animation: snowLayerIn .9s ease both;
}

@keyframes snowLayerIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.snowflake {
  position: absolute;
  top: 0;
  width: var(--size, 12px);
  height: var(--size, 12px);
  animation: snowFall var(--dur, 16s) linear var(--delay, 0s) infinite;
  will-change: transform;
}

.snowflake-inner {
  display: block;
  width: 100%;
  height: 100%;
  animation: snowSway var(--sway, 4s) ease-in-out var(--delay, 0s) infinite alternate;
}

/* 大一点的晶体：白色描边 + 冷蓝填充，在浅底上也能看清 */
.snowflake-glyph {
  color: rgba(112, 162, 205, .95);
  font-size: var(--size, 12px);
  line-height: 1;
  text-align: center;
  opacity: var(--op, .7);
  text-shadow: 0 0 4px #fff, 0 0 10px rgba(255, 255, 255, .95), 0 0 16px rgba(150, 195, 230, .55);
  transform: rotate(var(--tilt, 0deg));
}

/* 小一点的雪点：柔光小球 */
.snowflake-dot {
  opacity: var(--op, .7);
  background: radial-gradient(circle at 36% 32%,
    rgba(255, 255, 255, .98) 0%,
    rgba(186, 219, 244, .95) 40%,
    rgba(120, 170, 210, .85) 62%,
    rgba(120, 170, 210, 0) 74%);
  border-radius: 50%;
}

@keyframes snowFall {
  0%   { transform: translate3d(0, -14vh, 0); }
  100% { transform: translate3d(var(--drift, 0vw), 112vh, 0); }
}

@keyframes snowSway {
  0%   { transform: translate3d(-9px, 0, 0) rotate(0deg); }
  100% { transform: translate3d(9px, 0, 0) rotate(140deg); }
}

@media (prefers-reduced-motion: reduce) {
  .snow-layer { display: none !important; }
}
