/* =========================================================
   FutureYSM · 亮色主题（银白 / 灰白 · 毛玻璃）
   ---------------------------------------------------------
   作用域：仅 html[data-theme="light"]
   暗色 / 高对比度主题不受任何影响。
   加载顺序：必须放在 zlib.css / zlib-search.css / zlib-themes.css 之后。
   ========================================================= */

/* ---------------- 主题变量 ---------------- */
html[data-theme="light"] {
  color-scheme: light;

  /* 银灰基底 */
  --bg: #eef1f5;
  --bg-deep: #e8ecf1;
  --surface: rgba(255, 255, 255, .58);
  --surface-2: rgba(255, 255, 255, .72);
  --surface-3: rgba(255, 255, 255, .88);

  --border: rgba(15, 23, 42, .10);
  --border-soft: rgba(15, 23, 42, .065);

  --text: #16202b;
  --text-2: #475569;
  --text-3: #6f7b8a;

  --link: #127a9c;
  --link-hover: #0b5f78;
  --green: #5c9f26;
  --green-hover: #6bb02c;
  --green-soft: rgba(92, 159, 38, .13);
  --danger: #c0392b;

  /* 玻璃质感 */
  --radius: 10px;
  --glass-blur: blur(22px) saturate(180%);
  --glass-edge: inset 0 1px 0 rgba(255, 255, 255, .92);
  --glass-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 10px 30px rgba(15, 23, 42, .07);
}

/* ---------------- 全局背景 ---------------- */
html[data-theme="light"] { background: #eef1f5; }

html[data-theme="light"] body {
  background:
    radial-gradient(900px 620px at 6% -8%, #ffffff 0%, rgba(255, 255, 255, 0) 60%),
    radial-gradient(760px 560px at 97% 2%, rgba(168, 192, 212, .60) 0%, rgba(168, 192, 212, 0) 62%),
    radial-gradient(620px 520px at 20% 44%, rgba(196, 213, 226, .42) 0%, rgba(196, 213, 226, 0) 68%),
    radial-gradient(720px 580px at 80% 74%, rgba(180, 199, 215, .46) 0%, rgba(180, 199, 215, 0) 66%),
    linear-gradient(180deg, #f6f8fb 0%, #e9edf2 42%, #dce2ea 100%);
  background-attachment: fixed;
  color: var(--text);
}
html[data-theme="light"] ::selection { background: #cfe6d8; color: #16202b; }

html[data-theme="light"] ::-webkit-scrollbar { width: 11px; height: 11px; }
html[data-theme="light"] ::-webkit-scrollbar-track { background: #e6eaf0; }
html[data-theme="light"] ::-webkit-scrollbar-thumb {
  background: #c3ccd6;
  border: 2px solid #e6eaf0;
  border-radius: 7px;
}
html[data-theme="light"] ::-webkit-scrollbar-thumb:hover { background: #aab6c2; }

/* =========================================================
   顶栏
   ========================================================= */
html[data-theme="light"] .zl-header {
  background: linear-gradient(180deg, rgba(255, 255, 255, .84) 0%, rgba(243, 246, 250, .66) 100%);
  border-bottom: 1px solid rgba(15, 23, 42, .075);
  box-shadow: var(--glass-edge), 0 8px 26px rgba(15, 23, 42, .06);
  color: var(--text);
}
/* 毛玻璃放在伪元素上：若直接给 .zl-header 加 backdrop-filter，
   会生成 fixed 定位的包含块，导致移动端侧边菜单高度塌陷。 */
html[data-theme="light"] .zl-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
}
html[data-theme="light"] .navigation-icon { color: #4b5868; }
html[data-theme="light"] .navigation-icon:hover {
  background: rgba(15, 23, 42, .06);
  color: #0f172a;
}
html[data-theme="light"] .navigation-search-line input {
  background: rgba(255, 255, 255, .68);
  border-color: rgba(15, 23, 42, .12);
  color: #16202b;
  box-shadow: var(--glass-edge);
}
html[data-theme="light"] .navigation-search-line input::placeholder { color: #7b8794; }
html[data-theme="light"] .donate-element a { color: #c2410c !important; }
html[data-theme="light"] .donate-element a:hover { color: #9a3412 !important; }

/* 主题切换胶囊 */
html[data-theme="light"] .color-schema-switcher {
  background: rgba(255, 255, 255, .55);
  border-color: rgba(15, 23, 42, .12);
  box-shadow: var(--glass-edge);
}
html[data-theme="light"] .color-schema-switcher > [class^="zlibicon-"],
html[data-theme="light"] .color-schema-switcher .glass-svg { color: #64748b; }
html[data-theme="light"] .profile-header__avatar {
  background: #dde3e9;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, .09), 0 2px 6px rgba(15, 23, 42, .08);
}

/* 通知 / 用户卡 / 下拉面板 */
html[data-theme="light"] .notifications-board,
html[data-theme="light"] .user-card-mini {
  background: rgba(255, 255, 255, .90);
  -webkit-backdrop-filter: blur(26px) saturate(180%);
  backdrop-filter: blur(26px) saturate(180%);
  border-color: rgba(15, 23, 42, .10);
  box-shadow: var(--glass-edge), 0 20px 44px rgba(15, 23, 42, .16);
}
html[data-theme="light"] .notifications-board__title { border-color: rgba(15, 23, 42, .08); color: #64748b; }
html[data-theme="light"] .notifications-board a,
html[data-theme="light"] .user-card-mini a,
html[data-theme="light"] .user-card-mini .user-admin-slot a { color: #1e293b; }
html[data-theme="light"] .notifications-board a:hover,
html[data-theme="light"] .user-card-mini a:hover { background: rgba(15, 23, 42, .055); }
html[data-theme="light"] .notifications-board a span { color: #64748b; }

/* 全屏菜单 */
html[data-theme="light"] .navbar-menu-flex,
html[data-theme="light"] .navbar-menu__bg {
  background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(244, 247, 250, .94));
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  backdrop-filter: blur(28px) saturate(180%);
}
html[data-theme="light"] .navbar-menu-flex {
  border-bottom: 1px solid rgba(15, 23, 42, .08);
  box-shadow: 0 24px 54px rgba(15, 23, 42, .16);
}
html[data-theme="light"] .navbar-menu__logo { color: #16202b; }
html[data-theme="light"] .navbar-menu__close { border-color: rgba(15, 23, 42, .14); color: #475569; }
html[data-theme="light"] .category-title { color: #64748b; }
html[data-theme="light"] .category-list a { color: #1e293b; }
html[data-theme="light"] .category-list a:hover span { color: var(--link); }
html[data-theme="light"] .category-list a span span.description { color: #64748b; }
html[data-theme="light"] .category-list a i.orange-color { background: #fdeee0; color: #e06a1b; }
html[data-theme="light"] .category-list a i.blue-color { background: #e4f4fa; color: #3b86ab; }
html[data-theme="light"] .category-list a i.gray-color { background: #eef2f6; color: #7b8794; }
html[data-theme="light"] .category-list .sep { background: rgba(15, 23, 42, .10); }
html[data-theme="light"] .navbar-menu-antiscam {
  color: #1e293b;
  background: linear-gradient(90deg, rgba(73, 175, 208, .13) 0%, rgba(73, 175, 208, 0) 100%);
}
html[data-theme="light"] .navbar-menu-antiscam .sep { background: rgba(15, 23, 42, .12); }
html[data-theme="light"] .navbar-menu-antiscam__sub a { color: var(--link); }
html[data-theme="light"] .zl-menu-backdrop { background: rgba(15, 23, 42, .30); }
html[data-theme="light"] .zl-menu-backdrop.open {
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

/* =========================================================
   首屏
   ========================================================= */
html[data-theme="light"] .hero {
  position: relative;
  background: transparent;
  border-bottom: 1px solid rgba(15, 23, 42, .06);
  overflow: hidden;
}
html[data-theme="light"] .hero::before {
  content: '';
  position: absolute;
  left: 50%;
  top: -160px;
  width: 920px;
  height: 520px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(255, 255, 255, .96), rgba(255, 255, 255, 0) 72%);
  pointer-events: none;
}
html[data-theme="light"] .hero-inner { position: relative; z-index: 1; }

html[data-theme="light"] .hero-script {
  background: linear-gradient(100deg, #0b5f78 0%, #1a90b4 46%, #5cc3dd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 6px 18px rgba(18, 122, 156, .18));
}
html[data-theme="light"] .hero-brush {
  color: #1b2733;
  filter: drop-shadow(0 4px 10px rgba(15, 23, 42, .10));
}
html[data-theme="light"] .hero-underline {
  background: linear-gradient(90deg, transparent, rgba(148, 163, 184, .75) 26%, rgba(18, 122, 156, .6) 62%, transparent);
}
html[data-theme="light"] .hero-underline::after {
  background: #49afd0;
  box-shadow: 0 0 12px rgba(73, 175, 208, .75);
}
html[data-theme="light"] .slogan { color: #64748b; }
html[data-theme="light"] .hero-hints { color: #7b8794; }
html[data-theme="light"] .hero-hints a { color: var(--link); }

/* =========================================================
   搜索块
   ========================================================= */
html[data-theme="light"] .search-tab {
  background: rgba(255, 255, 255, .34);
  border-color: rgba(15, 23, 42, .10);
  color: #64748b;
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75);
}
html[data-theme="light"] .search-tab:hover { color: #16202b; }
html[data-theme="light"] .search-tab.active {
  background: rgba(255, 255, 255, .54);
  border-color: rgba(15, 23, 42, .10);
  border-bottom-color: rgba(255, 255, 255, .54);
  color: #16202b;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .95);
}
html[data-theme="light"] .search-field {
  background: rgba(255, 255, 255, .50);
  border-color: rgba(15, 23, 42, .10);
  border-radius: 0 16px 16px 16px;
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-edge), 0 26px 54px -20px rgba(15, 23, 42, .30);
}
html[data-theme="light"] .search-field input { color: #16202b; }
html[data-theme="light"] .search-field input::placeholder { color: #7b8794; }
html[data-theme="light"] .search-field button {
  background: linear-gradient(180deg, rgba(255, 255, 255, .78), rgba(232, 238, 244, .58));
  border-left-color: rgba(15, 23, 42, .10);
  border-radius: 0 16px 16px 0;
  color: #243140;
}
html[data-theme="light"] .search-field button:hover {
  background: linear-gradient(180deg, #ffffff, rgba(240, 244, 248, .82));
  color: #0f172a;
}

/* 搜索栏动态：亮色下换成青蓝细线 + 银白高光，避免白底上看不见 */
html[data-theme="light"] .search-field:hover { border-color: rgba(18, 122, 156, .38); }
html[data-theme="light"] .search-field:focus-within {
  background: rgba(255, 255, 255, .66);
  border-color: var(--link);
  box-shadow: var(--glass-edge),
              0 0 0 3px rgba(18, 122, 156, .14),
              0 26px 54px -18px rgba(15, 23, 42, .38);
}
html[data-theme="light"] .search-field::after {
  background-image: linear-gradient(90deg, transparent, var(--link), transparent);
}
html[data-theme="light"] .search-field.is-searching::before {
  animation-name: zl-search-pulse-light;
}
@keyframes zl-search-pulse-light {
  0%   { opacity: 1; box-shadow: 0 0 0 0 rgba(18, 122, 156, .34); }
  100% { opacity: 0; box-shadow: 0 0 0 14px rgba(18, 122, 156, 0); }
}
html[data-theme="light"] .search-field button::after {
  background: linear-gradient(100deg, transparent, rgba(18, 122, 156, .18), transparent);
}
html[data-theme="light"] .search-settings { color: #64748b; border-bottom-color: #94a3b8; }
html[data-theme="light"] .search-settings:hover { color: #16202b; border-bottom-color: #475569; }
html[data-theme="light"] .search-settings-panel {
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  border-color: rgba(15, 23, 42, .10);
  box-shadow: var(--glass-edge), 0 20px 44px rgba(15, 23, 42, .15);
}
html[data-theme="light"] .search-settings-panel .opt { color: #1e293b; }
html[data-theme="light"] .opt-clear {
  background: rgba(255, 255, 255, .62);
  border-color: rgba(15, 23, 42, .12);
  color: #475569;
}
html[data-theme="light"] .opt-clear:hover { border-color: var(--link); color: #16202b; }
html[data-theme="light"] .share-row { color: #64748b; }
html[data-theme="light"] .share-btn { box-shadow: 0 2px 6px rgba(15, 23, 42, .14); }
html[data-theme="light"] .zl-search-toast {
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
  border-color: rgba(15, 23, 42, .10);
  color: #16202b;
  box-shadow: var(--glass-edge), 0 14px 34px rgba(15, 23, 42, .14);
}

/* =========================================================
   数据条
   ========================================================= */
html[data-theme="light"] .stats-bar {
  background: rgba(255, 255, 255, .26);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border-top: 1px solid rgba(255, 255, 255, .7);
  border-bottom: 1px solid rgba(15, 23, 42, .065);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}
html[data-theme="light"] .stat { border-right-color: rgba(15, 23, 42, .065); }
html[data-theme="light"] .stat b { color: #16202b; }
html[data-theme="light"] .stat span { color: #6f7b8a; }

/* =========================================================
   内容区
   ========================================================= */
html[data-theme="light"] .content-toolbar { border-bottom-color: rgba(15, 23, 42, .10); }
html[data-theme="light"] .tab { color: #64748b; }
html[data-theme="light"] .tab:hover { color: #16202b; }
html[data-theme="light"] .tab.active { color: #16202b; border-bottom-color: var(--green); }
html[data-theme="light"] .count { color: #6f7b8a; }
html[data-theme="light"] .breadcrumb { color: #6f7b8a; }
html[data-theme="light"] .breadcrumb-sep { color: #cbd5e1; }
html[data-theme="light"] .section-head h2 { color: #16202b; }
html[data-theme="light"] .author-sort {
  background: rgba(255, 255, 255, .62);
  border-color: rgba(15, 23, 42, .12);
  color: #334155;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: var(--glass-edge);
}

/* ---------------- 模型卡片 ---------------- */
html[data-theme="light"] .software-card {
  background: rgba(255, 255, 255, .46);
  border-color: rgba(15, 23, 42, .08);
  box-shadow: var(--glass-edge), 0 10px 26px rgba(15, 23, 42, .10);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  backdrop-filter: blur(12px) saturate(160%);
}
html[data-theme="light"] .software-card:hover {
  border-color: rgba(18, 122, 156, .42);
  box-shadow: var(--glass-edge), 0 22px 46px rgba(15, 23, 42, .17), 0 0 0 1px rgba(73, 175, 208, .10);
}
html[data-theme="light"] .card-image-wrap {
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(73, 175, 208, .10), transparent 62%),
    linear-gradient(160deg, #e8edf2 0%, #f5f7f9 55%, #e3e8ee 100%);
}
/* 图片底部遮罩保持深色，保证白色标题可读 */
html[data-theme="light"] .card-ver-badge {
  background: rgba(255, 255, 255, .82);
  border-color: rgba(15, 23, 42, .12);
  color: #475569;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
html[data-theme="light"] .card-title { color: #f8fafc; }
html[data-theme="light"] .software-card:hover .card-title { color: #ffffff; }
html[data-theme="light"] .card-meta { color: #cbd5e1; }
html[data-theme="light"] .btn-download,
html[data-theme="light"] .btn-comment {
  background: rgba(12, 13, 16, .72);
  border-color: rgba(255, 255, 255, .18);
}
html[data-theme="light"] .btn-download { color: #8fe05a; }
html[data-theme="light"] .btn-comment { color: #7cc8e8; }
html[data-theme="light"] .btn-download:hover,
html[data-theme="light"] .btn-comment:hover { background: rgba(12, 13, 16, .9); }

/* ---------------- 作者卡片 ---------------- */
html[data-theme="light"] .author-card {
  background: rgba(255, 255, 255, .50);
  border-color: rgba(15, 23, 42, .08);
  box-shadow: var(--glass-edge), 0 6px 18px rgba(15, 23, 42, .05);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  backdrop-filter: blur(12px) saturate(160%);
}
html[data-theme="light"] .author-card:hover {
  background: rgba(255, 255, 255, .84);
  border-color: rgba(18, 122, 156, .28);
  box-shadow: var(--glass-edge), 0 14px 30px rgba(15, 23, 42, .11);
}
html[data-theme="light"] .author-initial {
  background: rgba(15, 23, 42, .05);
  border-color: rgba(15, 23, 42, .10);
  color: #475569;
}
html[data-theme="light"] .author-avatar-wrap img {
  box-shadow: 0 0 0 1px rgba(15, 23, 42, .08);
}
html[data-theme="light"] .author-title { color: #16202b; }
html[data-theme="light"] .author-model-count,
html[data-theme="light"] .author-rating { color: #6f7b8a; }
html[data-theme="light"] .grade-SSS,
html[data-theme="light"] .grade-SS,
html[data-theme="light"] .grade-S { color: #b7791f; }
html[data-theme="light"] .grade-A { color: #4f8a1e; }
html[data-theme="light"] .grade-B { color: #127a9c; }
html[data-theme="light"] .grade-C { color: #64748b; }

/* ---------------- 面板 / 加载 / 空态 ---------------- */
html[data-theme="light"] .panel {
  background: rgba(255, 255, 255, .48);
  border-color: rgba(15, 23, 42, .08);
  box-shadow: var(--glass-edge), 0 8px 22px rgba(15, 23, 42, .05);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
}
html[data-theme="light"] .panel h3 { color: #6f7b8a; }
html[data-theme="light"] .panel > a,
html[data-theme="light"] .panel > button { color: #475569; border-bottom-color: rgba(15, 23, 42, .06); }
html[data-theme="light"] .panel > a:hover,
html[data-theme="light"] .panel > button:hover { color: #16202b; }
html[data-theme="light"] .model-load-more {
  background: rgba(255, 255, 255, .6);
  border-color: rgba(15, 23, 42, .12);
  color: #475569;
  box-shadow: var(--glass-edge);
}
html[data-theme="light"] .model-load-more:hover { border-color: var(--link); color: #16202b; }
html[data-theme="light"] .empty-tip { color: #7b8794; }

/* ---------------- 评论 ---------------- */
html[data-theme="light"] .comment-block {
  background: rgba(255, 255, 255, .52);
  border-color: rgba(15, 23, 42, .08);
  box-shadow: var(--glass-edge);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
html[data-theme="light"] .comment-block h4 { color: #64748b; }
html[data-theme="light"] .comment-item { border-bottom-color: rgba(15, 23, 42, .07); }
html[data-theme="light"] .comment-nick { color: #1e293b; }
html[data-theme="light"] .comment-time { color: #94a3b8; }
html[data-theme="light"] .comment-content { color: #475569; }
html[data-theme="light"] .comment-input {
  background: rgba(255, 255, 255, .7);
  border-color: rgba(15, 23, 42, .12);
  color: #16202b;
}
html[data-theme="light"] .comment-input::placeholder { color: #94a3b8; }
html[data-theme="light"] .comment-send { background: var(--green); color: #fff; }
html[data-theme="light"] .comment-empty { color: #7b8794; }

/* ---------------- 关于 / 页脚 ---------------- */
html[data-theme="light"] .about-section { border-top-color: rgba(15, 23, 42, .08); }
html[data-theme="light"] .about-section h2 { color: #16202b; }
html[data-theme="light"] .about-section p { color: #64748b; }

html[data-theme="light"] .site-footer {
  background: linear-gradient(180deg, rgba(255, 255, 255, .34), rgba(224, 230, 238, .60));
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border-top-color: rgba(15, 23, 42, .07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8);
}
html[data-theme="light"] .footer-col h4 { color: #64748b; }
html[data-theme="light"] .footer-col a { color: #64748b; }
html[data-theme="light"] .footer-col a:hover { color: #16202b; }
html[data-theme="light"] .footer-bottom {
  border-top-color: rgba(15, 23, 42, .07);
  color: #64748b;
}

/* =========================================================
   详情页
   ========================================================= */
html[data-theme="light"] .detail-hero {
  background: rgba(255, 255, 255, .50);
  border-color: rgba(15, 23, 42, .09);
  box-shadow: var(--glass-edge), 0 14px 34px rgba(15, 23, 42, .08);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
}
html[data-theme="light"] .detail-preview-wrap {
  background: linear-gradient(160deg, #e8edf2 0%, #f5f7f9 55%, #e3e8ee 100%);
  border-color: rgba(15, 23, 42, .10);
}
html[data-theme="light"] .detail-ver-badge {
  background: rgba(255, 255, 255, .85);
  border-color: rgba(15, 23, 42, .12);
  color: #475569;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
html[data-theme="light"] .detail-title { color: #16202b; }
html[data-theme="light"] .detail-meta-tag {
  background: rgba(255, 255, 255, .58);
  border-color: rgba(15, 23, 42, .10);
  color: #475569;
}
html[data-theme="light"] .detail-author-chip {
  background: #e7f4f9;
  border-color: #bcdde9;
  color: #0f6f8f;
}
html[data-theme="light"] .detail-actions .btn-download {
  background: linear-gradient(180deg, #6cb02c, #589a22);
  color: #fff;
  box-shadow: 0 6px 16px rgba(92, 159, 38, .26), inset 0 1px 0 rgba(255, 255, 255, .24);
}
html[data-theme="light"] .detail-actions .btn-download:hover {
  background: linear-gradient(180deg, #78bd33, #63a828);
}
html[data-theme="light"] .detail-actions .btn-download:not(.detail-dl-btn) {
  background: rgba(255, 255, 255, .66) !important;
  border-color: rgba(15, 23, 42, .14);
  color: #334155 !important;
  box-shadow: var(--glass-edge);
}
html[data-theme="light"] .detail-actions .btn-download:not(.detail-dl-btn):hover {
  border-color: var(--link);
  color: #0f172a !important;
}
html[data-theme="light"] .detail-3d-btn .ico-3d { color: var(--link); }
html[data-theme="light"] .detail-section-title {
  color: #16202b;
  border-bottom-color: rgba(15, 23, 42, .10);
}
html[data-theme="light"] .detail-tips { color: #475569; }
html[data-theme="light"] .detail-ver-hint { color: #6f7b8a; }
html[data-theme="light"] .detail-author-card {
  background: rgba(255, 255, 255, .56);
  border-color: rgba(15, 23, 42, .08);
  box-shadow: var(--glass-edge);
}
html[data-theme="light"] .detail-author-card-name { color: #16202b; }
html[data-theme="light"] .detail-author-card-role,
html[data-theme="light"] .detail-author-card-comment { color: #6f7b8a; }
html[data-theme="light"] .detail-contact-link { color: var(--link); }
html[data-theme="light"] .detail-contact-text { color: #6f7b8a; }
html[data-theme="light"] .detail-link-row { color: #6f7b8a; }
html[data-theme="light"] .detail-license-desc { color: #6f7b8a; }
html[data-theme="light"] .detail-version-row { border-bottom-color: rgba(15, 23, 42, .08); }
html[data-theme="light"] .detail-version-num { color: #16202b; }
html[data-theme="light"] .detail-version-size { color: #6f7b8a; }
html[data-theme="light"] .detail-version-new { border-color: #b7d9a1; color: #4f8a1e; background: rgba(255, 255, 255, .5); }
html[data-theme="light"] .detail-version-btn {
  background: rgba(255, 255, 255, .66);
  border-color: rgba(15, 23, 42, .14);
  color: #334155;
  box-shadow: var(--glass-edge);
}
html[data-theme="light"] .detail-version-btn:hover { border-color: var(--green); color: #16202b; }
html[data-theme="light"] .detail-loading { color: #7b8794; }
html[data-theme="light"] .detail-error { color: #b23b3b; }
html[data-theme="light"] .detail-quality-s { color: #b7791f; }
html[data-theme="light"] .detail-quality-a { color: #4f8a1e; }
html[data-theme="light"] .detail-quality-b { color: #127a9c; }
html[data-theme="light"] .detail-quality-c,
html[data-theme="light"] .detail-quality-d,
html[data-theme="light"] .detail-quality-e { color: #64748b; }

/* =========================================================
   公告弹窗
   ========================================================= */
html[data-theme="light"] .announce-mask {
  background: rgba(15, 23, 42, .34);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}
html[data-theme="light"] .announce-modal {
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  backdrop-filter: blur(28px) saturate(180%);
  border-color: rgba(15, 23, 42, .10);
  box-shadow: var(--glass-edge), 0 28px 64px rgba(15, 23, 42, .22);
}
html[data-theme="light"] .announce-head { border-bottom-color: rgba(15, 23, 42, .08); }
html[data-theme="light"] .announce-title { color: #16202b; }
html[data-theme="light"] .announce-close { color: #64748b; }
html[data-theme="light"] .announce-close:hover { color: #16202b; }
html[data-theme="light"] .announce-body { color: #475569; }
html[data-theme="light"] .announce-body strong { color: #16202b; }
html[data-theme="light"] .announce-sub { color: #16202b; }
html[data-theme="light"] .announce-ok {
  background: linear-gradient(180deg, #6cb02c, #589a22);
  color: #fff;
  box-shadow: 0 4px 12px rgba(92, 159, 38, .22);
}
html[data-theme="light"] .announce-ok:hover { background: linear-gradient(180deg, #78bd33, #63a828); }

/* =========================================================
   收藏（星标 + 收藏页）
   ========================================================= */
html[data-theme="light"] .card-fav {
  background: rgba(255, 255, 255, .78);
  border-color: rgba(15, 23, 42, .12);
  color: #475569;
  box-shadow: 0 4px 12px rgba(15, 23, 42, .12);
}
html[data-theme="light"] .card-fav:hover { background: #ffffff; color: #0f172a; }
html[data-theme="light"] .card-fav.is-active {
  color: #b77900;
  background: rgba(255, 197, 61, .34);
  border-color: rgba(183, 121, 0, .36);
}
html[data-theme="light"] .fav-count {
  background: rgba(255, 255, 255, .55);
  border-color: rgba(15, 23, 42, .10);
  color: #475569;
}
html[data-theme="light"] .fav-clear {
  background: rgba(255, 255, 255, .42);
  border-color: rgba(15, 23, 42, .10);
  color: #64748b;
}
html[data-theme="light"] .fav-clear:hover {
  color: #b91c1c;
  border-color: rgba(185, 28, 28, .35);
  background: rgba(185, 28, 28, .06);
}
html[data-theme="light"] .fav-empty .fav-empty-icon {
  background: rgba(255, 255, 255, .58);
  border-color: rgba(15, 23, 42, .10);
  color: #94a3b8;
}
html[data-theme="light"] .fav-empty a {
  background: linear-gradient(180deg, #6cb02c, #589a22);
  color: #fff;
  box-shadow: 0 6px 16px rgba(92, 159, 38, .22);
}
html[data-theme="light"] .fav-empty a:hover { background: linear-gradient(180deg, #78bd33, #63a828); color: #fff; }

/* =========================================================
   响应式
   ========================================================= */
@media (max-width: 1190px) {
  html[data-theme="light"] .navbar-menu {
    background: rgba(248, 250, 252, .97);
    -webkit-backdrop-filter: blur(26px);
    backdrop-filter: blur(26px);
    box-shadow: 10px 0 60px rgba(15, 23, 42, .18);
  }
  html[data-theme="light"] .category-title { background: #eef2f6; color: #475569; }
  html[data-theme="light"] .navbar-menu__close { border-color: rgba(15, 23, 42, .14); color: #475569; }
}

@media (max-width: 768px) {
  html[data-theme="light"] .search-field { border-radius: 0 12px 12px 12px; }
  html[data-theme="light"] .search-field button { border-radius: 0 12px 12px 0; }
}

/* 不支持 backdrop-filter 时退回不透明银灰，保证可读性 */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  html[data-theme="light"] .zl-header { background: #f7f9fb; }
  html[data-theme="light"] .search-field,
  html[data-theme="light"] .search-settings-panel,
  html[data-theme="light"] .notifications-board,
  html[data-theme="light"] .user-card-mini,
  html[data-theme="light"] .announce-modal { background: #ffffff; }
  html[data-theme="light"] .software-card,
  html[data-theme="light"] .author-card,
  html[data-theme="light"] .panel,
  html[data-theme="light"] .detail-hero,
  html[data-theme="light"] .detail-author-card { background: #f7f9fb; }
  html[data-theme="light"] .stats-bar { background: #f2f5f8; }
  html[data-theme="light"] .site-footer { background: #eef1f5; }
}
