/* ============================================
   云启导航 - PbootCMS模板样式
   配色：深色海军蓝 + 金色 + 电光蓝（高级感暗色系）
   布局：移动端4列卡片 / 桌面端6列 + 顶部导航
   ============================================ */

/* ===== 全局设计令牌（Design Tokens） ===== */
:root {
  /* 深色海军蓝 + 金色 + 电光蓝 - 高级感配色 */
  --color-primary: #D4AF37;
  --color-primary-light: #F5E6A3;
  --color-primary-dark: #C9A227;
  --color-accent: #6BB6FF;
  --color-bg: #F0F2F5;
  --color-bg-gradient: linear-gradient(180deg, #F0F2F5 0%, #E8EAF0 50%, #F5F6F8 100%);
  --color-bg-card: rgba(26, 31, 46, 0.85);
  --color-bg-card-solid: #1A1F2E;
  --color-text: #1E293B;
  --color-text-secondary: #475569;
  --color-text-light: #94A3B8;
  --color-border: rgba(0, 0, 0, 0.08);
  --color-red: #EF4444;

  --gradient-primary: linear-gradient(135deg, #D4AF37, #C9A227);
  --gradient-register: linear-gradient(135deg, #D4AF37, #6BB6FF);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.15);
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 6px 20px rgba(37, 99, 235, 0.15);

  --font-family: "Microsoft YaHei", "微软雅黑", "PingFang SC", "Hiragino Sans GB", sans-serif;
  --font-size-xs: 12px;
  --font-size-sm: 13px;
  --font-size-base: 15px;
  --font-size-md: 17px;
  --font-size-lg: 19px;
  --font-size-xl: 22px;

  --info-bar-height: 40px;
  --tab-bar-height: 80px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

/* ===== 基础重置 ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  font-weight: 500;
  color: var(--color-text);
  background: var(--color-bg-gradient);
  background-attachment: fixed;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  padding-bottom: calc(var(--tab-bar-height) + var(--safe-bottom));
  position: relative;
}
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 50% -10%, rgba(37, 99, 235, 0.04) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

/* ===== 水泡动态背景 ===== */
.bubbles {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 50;
  overflow: hidden;
}
.bubble {
  position: absolute;
  bottom: 80px;
  background: radial-gradient(circle at 30% 30%,
    rgba(37, 99, 235, 0.12),
    rgba(37, 99, 235, 0.06) 40%,
    rgba(107, 182, 255, 0.03) 70%,
    transparent 100%);
  border-radius: 50%;
  border: 1px solid rgba(37, 99, 235, 0.08);
  animation: bubbleRise linear infinite;
  opacity: 0.7;
  box-shadow:
    inset 0 0 10px rgba(212, 175, 55, 0.2),
    0 0 20px rgba(37, 99, 235, 0.1);
}
.bubble::before {
  content: '';
  position: absolute;
  top: 15%;
  left: 20%;
  width: 25%;
  height: 25%;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  filter: blur(1px);
}

@keyframes bubbleRise {
  0% {
    transform: translateY(0) translateX(0) scale(1);
    opacity: 0;
  }
  10% {
    opacity: 0.7;
  }
  50% {
    transform: translateY(-50vh) translateX(20px) scale(1.1);
  }
  90% {
    opacity: 0.5;
  }
  100% {
    transform: translateY(-110vh) translateX(-20px) scale(0.8);
    opacity: 0;
  }
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* ===== 减少动画偏好支持 ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== 网站标题区 ===== */
.site-header { background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(240, 242, 245, 0.9)); padding: 10px 16px 8px; text-align: center; position: relative; z-index: 2; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(0, 0, 0, 0.06); }
.site-header::after { content: ''; position: absolute; bottom: 0; left: 20%; right: 20%; height: 1px; background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.2), transparent); }
.site-header__title { font-size: 22px; font-weight: 700; color: #1E293B; letter-spacing: 1px; margin-bottom: 2px; line-height: 1.3; }
.site-header__title span {
  background: linear-gradient(135deg, #2563EB, #3B82F6, #2563EB);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 6px rgba(37, 99, 235, 0.15));
}
.site-header__desc { font-size: var(--font-size-sm); color: var(--color-text-secondary); letter-spacing: 0.5px; }

/* ===== 搜索栏 ===== */
.search-bar { padding: 6px 10px; background: rgba(255, 255, 255, 0.9); position: relative; z-index: 2; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: flex; align-items: center; gap: 8px; }
.search-bar__side { flex-shrink: 0; min-width: 0; font-size: var(--font-size-xs); color: #94A3B8; text-align: center; }
.search-bar__inner { flex: 1; max-width: 100%; min-width: 0; display: flex; align-items: center; background: rgba(255, 255, 255, 0.95); border: 2px solid #1E293B; border-radius: var(--radius-full); padding: 0 12px; height: 40px; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.8); transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s; }
.search-bar__inner:hover { transform: translateY(1px); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.8); }
.search-bar__inner:focus-within { border-color: #2563EB; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), 0 0 0 3px rgba(37, 99, 235, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.8); }
.search-bar__icon { width: 18px; height: 18px; color: rgba(0, 0, 0, 0.35); flex-shrink: 0; margin-right: 8px; }
.search-bar__input { flex: 1; border: none; background: transparent; font-size: var(--font-size-base); color: #1E293B; outline: none; }
.search-bar__input::placeholder { color: rgba(0, 0, 0, 0.3); }
.search-bar__btn { flex-shrink: 0; background: linear-gradient(135deg, #2563EB, #3B82F6); color: #FFFFFF; border: none; border-radius: var(--radius-full); padding: 5px 16px; font-size: var(--font-size-sm); font-weight: 600; cursor: pointer; margin-left: 8px; box-shadow: 0 1px 4px rgba(37, 99, 235, 0.25); }
.search-bar__more-btn { display: inline-block; white-space: nowrap; padding: 8px 14px; background: linear-gradient(135deg, #1E293B, #334155); color: #fff; border-radius: var(--radius-full); font-size: var(--font-size-sm); font-weight: 600; box-shadow: 0 2px 6px rgba(0,0,0,0.2); transition: transform 0.15s ease; }
.search-bar__more-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 10px rgba(0,0,0,0.25); }
.search-bar__more-btn:active { transform: translateY(1px); }

/* ===== 顶部信息栏 ===== */
.info-bar {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.95), rgba(240, 242, 245, 0.98));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  height: var(--info-bar-height);
  display: flex; align-items: center;
  padding: 0 14px; gap: 8px;
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: #475569;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  position: relative;
  z-index: 2;
}
.info-bar__text { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center; }
.info-bar__actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.info-bar__action {
  color: #2563EB;
  font-weight: 700;
  font-size: var(--font-size-sm);
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
  transition: opacity 0.15s;
}
.info-bar__action:hover { opacity: 0.8; }
.info-bar__action:active { opacity: 0.6; }
.info-bar__divider {
  width: 1px;
  height: 12px;
  background: var(--color-border);
}

/* ===== Banner 轮播区 ===== */
.banner { padding: 6px 10px; position: relative; z-index: 2; }
.banner__inner { border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,0.5), 0 0 0 1px rgba(212, 175, 55, 0.2) inset; position: relative; }
.banner__track { display: flex; transition: transform 0.4s cubic-bezier(0.25,0.46,0.45,0.94); }
.banner__slide {
  min-width: 100%; aspect-ratio: 2.5/1;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  background-color: #0F1729;
  background-image: linear-gradient(135deg, #0F1729, #1A1F2E);
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.banner__slide::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, transparent 40%, rgba(0,0,0,0.4) 100%);
  pointer-events: none;
  z-index: 1;
}
.banner__slide--1 { background-image: linear-gradient(135deg, #0F1729, #1A1F2E); }
.banner__slide--2 { background-image: linear-gradient(135deg, #0D1424, #1A2030); }
.banner__slide--3 { background-image: linear-gradient(135deg, #0A0E1A, #15192A); }
.banner__cloud { position: absolute; background: rgba(212, 175, 55, 0.08); border-radius: 50px; filter: blur(4px); }
.banner__cloud--1 { width: 70px; height: 24px; top: 12%; left: 8%; }
.banner__cloud--2 { width: 50px; height: 20px; top: 22%; right: 12%; }
.banner__cloud--3 { width: 80px; height: 26px; bottom: 18%; left: 18%; }
.banner__content { position: relative; z-index: 2; text-align: center; padding: 10px; }
.banner__content h2 { font-size: var(--font-size-xl); font-weight: 700; color: #F5E6A3; margin-bottom: 4px; text-shadow: 0 0 12px rgba(212, 175, 55, 0.3); }
.banner__desc { font-size: var(--font-size-sm); color: rgba(212, 175, 55, 0.7); }
.banner__dots { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); display: flex; gap: 5px; z-index: 5; }
.banner__dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(212, 175, 55, 0.3); border: none; cursor: pointer; transition: all 0.3s; padding: 0; }
.banner__dot--active { background: #D4AF37; width: 18px; border-radius: 3px; box-shadow: 0 0 8px rgba(212, 175, 55, 0.5); }

/* ===== 单卡片详情页 ===== */
.detail-card { padding: 10px 14px; position: relative; z-index: 2; }
.detail-card__inner {
  background: linear-gradient(145deg, rgba(255,255,255,0.98), rgba(245,247,250,0.95));
  border: 2px solid #1E293B;
  border-radius: 16px;
  padding: 20px 16px 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12), inset 0 1px 0 rgba(255,255,255,0.8);
  position: relative;
  overflow: hidden;
}
.detail-card__inner::before {
  content: '';
  position: absolute;
  top: 0; left: 15%; right: 15%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #2563EB, transparent);
  opacity: 0.5;
}
.detail-card__header { flex-direction: column; align-items: center; text-align: center; gap: 10px; margin-bottom: 14px; }
.detail-card__logo {
  width: 120px; height: 120px; flex-shrink: 0;
  margin: 0 auto;
  background: linear-gradient(145deg, #1A1F2E, #2A3450);
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid rgba(212,175,55,0.4);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.1);
  color: #F5E6A3;
  font-size: 40px; font-weight: 700;
  overflow: hidden;
}
.detail-card__logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.detail-card__logo.has-img img { display: block; }
.detail-card__logo:not(.has-img)::before { content: attr(data-fallback); }
.detail-card__info { width: 100%; text-align: center; }
.detail-card__name { font-size: 20px; font-weight: 700; color: #1E293B; line-height: 1.3; margin-bottom: 4px; }
.detail-card__desc { font-size: 13px; color: #64748B; line-height: 1.5; }
.detail-card__actions { text-align: center; }
.detail-card__btn {
  display: inline-block;
  background: linear-gradient(135deg, #2DD4BF, #06B6D4);
  color: #FFFFFF;
  font-size: 15px; font-weight: 700;
  padding: 10px 32px;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(6,182,212,0.3), inset 0 1px 0 rgba(255,255,255,0.2);
  transition: transform 0.15s, box-shadow 0.15s;
}
.detail-card__btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(6,182,212,0.4), inset 0 1px 0 rgba(255,255,255,0.2); }
.detail-card__btn:active { transform: translateY(1px); box-shadow: 0 1px 4px rgba(6,182,212,0.3); }

/* ===== 查看更多按钮 ===== */
.detail-more-btn {
  display: block;
  text-align: center;
  margin: 16px 14px 20px;
  padding: 16px 20px;
  font-size: 22px;
  font-weight: 800;
  color: #FFFFFF;
  background: linear-gradient(135deg, #DC2626, #EA580C, #DC2626);
  border-radius: 14px;
  text-decoration: none;
  letter-spacing: 2px;
  box-shadow: 0 4px 16px rgba(220,38,38,0.35), inset 0 2px 0 rgba(255,255,255,0.2), inset 0 -2px 0 rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.detail-more-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s;
}
.detail-more-btn:hover::before { left: 120%; }
.detail-more-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(220,38,38,0.45), inset 0 2px 0 rgba(255,255,255,0.2); }
.detail-more-btn:active { transform: translateY(1px); box-shadow: 0 2px 8px rgba(220,38,38,0.35); }

/* ===== 站长推荐标题 ===== */
.recommend-banner { text-align: center; padding: 14px 16px 6px; position: relative; z-index: 2; }
.recommend-banner__text { font-size: var(--font-size-xl); font-weight: 700; color: #DC2626; letter-spacing: 1px; }
.recommend-banner__icon { font-size: var(--font-size-lg); color: #F59E0B; margin: 0 8px; }

/* ===== 卡片网格区 ===== */
.card-grid { padding: 2px 5px 6px; position: relative; z-index: 2; }
.card-grid__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }

.platform-card {
  background: linear-gradient(145deg, rgba(30, 36, 52, 0.9), rgba(20, 25, 38, 0.9));
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 10px;
  padding: 7px 5px 6px;
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(212, 175, 55, 0.08) inset,
    0 1px 0 rgba(245, 230, 163, 0.06) inset;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}
.platform-card__link { display: flex; flex-direction: column; align-items: center; width: 100%; text-decoration: none; color: inherit; }
.more-section-title { text-align: center; padding: 10px 16px 6px; }
.more-section-title__star { color: #F59E0B; font-size: 18px; margin: 0 6px; }
.more-section-title__text { color: #DC2626; font-size: 20px; font-weight: 700; letter-spacing: 1px; }
.platform-card::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.5), transparent);
  opacity: 0.8;
}
.platform-card::after {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: linear-gradient(135deg, transparent 40%, rgba(212, 175, 55, 0.05) 50%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.platform-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(212, 175, 55, 0.15),
    0 0 0 1px rgba(212, 175, 55, 0.2) inset,
    0 1px 0 rgba(245, 230, 163, 0.1) inset;
  border-color: rgba(212, 175, 55, 0.5);
}
.platform-card:hover::after { opacity: 1; }
.platform-card:active { transform: translateY(0) scale(0.97); box-shadow: var(--shadow-md); }
.platform-card__logo {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 64px;
  border-radius: 10px; overflow: hidden;
  margin-bottom: 4px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(145deg, #D4AF37, #C9A227);
  color: #0A0E1A;
  font-size: 22px;
  font-weight: 700;
  position: relative;
  box-shadow:
    0 2px 8px rgba(212, 175, 55, 0.3),
    0 0 0 1px rgba(245, 230, 163, 0.3) inset,
    0 1px 0 rgba(255, 255, 255, 0.3) inset;
}
.platform-card__logo::before {
  content: attr(data-fallback);
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  line-height: 1;
}
.platform-card__logo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
}
.platform-card__logo--fallback { /* 兼容旧类名 */ }
.platform-card__logo.has-img::before { display: none; }
.platform-card__name { font-size: 13px; font-weight: 700; color: #E2E8F0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; margin-bottom: 1px; }
.platform-card__desc { font-size: 11px; font-weight: 500; color: #94A3B8; line-height: 1.2; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.platform-card__actions { display: flex; gap: 2px; width: 100%; }
.platform-card__btn { flex: 1; border: none; border-radius: 5px; padding: 5px 0; font-size: 12px; font-weight: 600; text-align: center; cursor: pointer; transition: opacity 0.15s, box-shadow 0.2s; text-decoration: none; display: block; line-height: 1.4; position: relative; overflow: hidden; }
.platform-card__btn:active { opacity: 0.85; }
.platform-card__btn--register {
  background: linear-gradient(135deg, #2DD4BF, #06B6D4);
  color: #fff;
  box-shadow: 0 1px 4px rgba(45, 212, 191, 0.3), 0 1px 0 rgba(255, 255, 255, 0.2) inset;
}
.platform-card__btn--register::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.5s;
}
.platform-card__btn--register:hover::before { left: 100%; }
.platform-card__btn--login { background: linear-gradient(135deg, #6BB6FF, #4A90D9); color: #fff; box-shadow: 0 1px 4px rgba(107, 182, 255, 0.3); }
.platform-card--highlight { box-shadow: 0 0 0 2px #D4AF37, var(--shadow-md); transform: scale(1.02); transition: box-shadow 0.3s, transform 0.3s; }

/* ===== 资讯区块 ===== */
.news-section { padding: 12px 14px 4px; }
.news-section__hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.news-section__hd h2 { font-size: var(--font-size-md); font-weight: 600; color: #1E293B; }
.news-section__more { font-size: var(--font-size-sm); color: #2563EB; }
.news-section__list { background: rgba(255, 255, 255, 0.9); border: 1px solid rgba(0, 0, 0, 0.06); border-radius: var(--radius-md); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06); overflow: hidden; }
.news-section__list li { border-bottom: 1px solid rgba(0, 0, 0, 0.06); }
.news-section__list li:last-child { border-bottom: none; }
.news-section__list a { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; }
.news-section__title { font-size: var(--font-size-base); color: #1E293B; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.news-section__date { font-size: var(--font-size-xs); color: #94A3B8; flex-shrink: 0; margin-left: 10px; }

/* ===== 文章详情 ===== */
.article-detail { padding: 16px; background: rgba(255, 255, 255, 0.9); border: 1px solid rgba(0, 0, 0, 0.06); margin: 10px 14px; border-radius: var(--radius-md); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06); }
.article-detail__title { font-size: var(--font-size-xl); font-weight: 700; color: #1E293B; line-height: 1.4; margin-bottom: 12px; }
.article-detail__meta { display: flex; align-items: center; gap: 12px; font-size: var(--font-size-sm); color: #94A3B8; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid rgba(0, 0, 0, 0.06); }
.article-detail__body { font-size: var(--font-size-base); line-height: 1.8; color: #1E293B; }
.article-detail__body img { border-radius: var(--radius-sm); margin: 12px 0; max-width: 100%; }
.article-detail__body p { margin-bottom: 12px; }
.article-detail__body h1, .article-detail__body h2, .article-detail__body h3 { margin: 20px 0 10px; font-weight: 600; }
.article-detail__tags { margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(0, 0, 0, 0.06); font-size: var(--font-size-sm); color: #475569; }
.article-detail__tags a { display: inline-block; margin: 0 6px 6px 0; padding: 3px 10px; background: rgba(37, 99, 235, 0.08); border: 1px solid rgba(37, 99, 235, 0.15); border-radius: var(--radius-full); color: #2563EB; font-size: var(--font-size-xs); }

/* ===== 更多页分类网格 ===== */
.more-grid { padding: 12px 14px; }
.more-grid__title { font-size: var(--font-size-md); font-weight: 600; color: #1E293B; margin-bottom: 10px; }
.more-grid__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.more-grid__item {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-md);
  padding: 14px 8px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  transition: transform 0.15s, box-shadow 0.15s;
}
.more-grid__item:active { transform: scale(0.97); }
.more-grid__ico {
  width: 44px; height: 44px; margin: 0 auto 8px;
  background: var(--gradient-primary);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 18px; font-weight: 700;
}
.more-grid__name { font-size: var(--font-size-sm); font-weight: 600; color: #1E293B; margin-bottom: 2px; }
.more-grid__num { font-size: var(--font-size-xs); color: #94A3B8; }

/* ===== 分页 ===== */
.pagebar17 { padding: 20px 14px 30px; text-align: center; }
.pagebar17 a, .pagebar17 span {
  display: inline-block;
  padding: 6px 12px;
  margin: 0 3px;
  border-radius: 6px;
  font-size: var(--font-size-sm);
  background: rgba(255, 255, 255, 0.9);
  color: #475569;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.pagebar17 .current {
  background: var(--gradient-primary);
  color: #fff;
}
.pagebar17 a:hover { color: var(--color-primary); }

/* ===== 面包屑 ===== */
.crumbs17 { padding: 8px 14px; font-size: var(--font-size-sm); font-weight: 500; color: #64748B; }
.crumbs17 a { color: #2563EB; }

/* ===== 悬浮按钮 ===== */
.float-btns {
  position: fixed; right: 10px;
  top: calc(var(--info-bar-height) + 10px);
  z-index: 90;
  display: flex; flex-direction: column; gap: 10px;
  touch-action: none; user-select: none; -webkit-user-select: none;
}
.float-btns--dragging { transition: none; }
.float-btns--docking { transition: left 0.3s cubic-bezier(0.25,0.46,0.45,0.94), right 0.3s cubic-bezier(0.25,0.46,0.45,0.94); }
.float-btn { width: 52px; height: 52px; border-radius: var(--radius-full); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; box-shadow: var(--shadow-lg); cursor: pointer; border: none; transition: transform 0.2s; position: relative; }
.float-btn:active { transform: scale(0.92); }
.float-btn svg { width: 20px; height: 20px; }
.float-btn span { font-size: 9px; font-weight: 500; }
.float-btn--plan { background: var(--gradient-primary); color: #fff; }
.float-btn--service { background: rgba(255, 255, 255, 0.9); color: #2563EB; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(0, 0, 0, 0.08); }

/* ===== 底部导航栏 ===== */
.tab-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 100;
  background: linear-gradient(180deg, rgba(12, 17, 30, 0.95), rgba(8, 12, 22, 0.98));
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  height: calc(var(--tab-bar-height) + var(--safe-bottom));
  padding-bottom: var(--safe-bottom);
  display: flex; align-items: stretch;
  overflow: hidden;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.5),
              0 -1px 0 rgba(212, 175, 55, 0.15) inset,
              0 1px 0 rgba(0, 0, 0, 0.3);
}
.tab-bar__item {
  flex: 1 1 0; min-width: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  color: rgba(245, 230, 163, 0.45); text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 8px 4px; position: relative; flex-shrink: 1; border-radius: 16px;
  margin: 6px 3px;
}
.tab-bar__item:active {
  transform: scale(0.92);
  background: rgba(212, 175, 55, 0.15);
}
.tab-bar__label { font-size: 15px; font-weight: 700; line-height: 1; color: rgba(245, 230, 163, 0.6); order: 1; }
.tab-bar__icon { width: 32px; height: 32px; flex-shrink: 0; color: rgba(245, 230, 163, 0.6); order: 2; }

.tab-bar__item--active {
  color: #F5E6A3;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.28), rgba(212, 175, 55, 0.12));
  border-radius: 16px;
  position: relative;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2),
              0 0 0 1px rgba(212, 175, 55, 0.15) inset,
              0 1px 0 rgba(245, 230, 163, 0.12) inset;
}
.tab-bar__item--active::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: linear-gradient(135deg, rgba(245,230,163,0.06), transparent 60%);
  pointer-events: none;
}
.tab-bar__item--active::after {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 4px;
  background: linear-gradient(90deg, #D4AF37, #6BB6FF);
  border-radius: 0 0 4px 4px;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.8);
}

/* ===== 底部版权 ===== */
.footer { text-align: center; padding: 20px 16px; font-size: var(--font-size-sm); font-weight: 500; color: #64748B; background: rgba(255, 255, 255, 0.8); }
.footer a { color: #2563EB; }

/* ===== 操作入口弹窗 ===== */
.modal {
  position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 300;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
}
.modal--show { opacity: 1; visibility: visible; }
.modal__content {
  width: 70%; max-width: 320px; background: #1A1F2E;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 14px; overflow: hidden;
  transform: translateY(24px) scale(0.95);
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1);
}
.modal--show .modal__content { transform: translateY(0) scale(1); }
.modal__header {
  background: linear-gradient(135deg, #D4AF37, #C9A227);
  padding: 16px 18px;
  display: flex; align-items: center; justify-content: space-between;
}
.modal__title { color: #0A0E1A; font-size: 16px; font-weight: 700; letter-spacing: 0.5px; }
.modal__close {
  background: rgba(10, 14, 26, 0.2); border: none; color: #0A0E1A;
  font-size: 22px; line-height: 1; cursor: pointer;
  width: 30px; height: 30px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
}
.modal__close:active { background: rgba(10, 14, 26, 0.35); }
.modal__body { padding: 14px; display: flex; flex-direction: column; gap: 10px; max-height: 60vh; overflow-y: auto; -webkit-overflow-scrolling: touch; background: #0F1729; }
.modal__entry-btn {
  display: block; width: 100%; padding: 12px 0; border: none;
  border-radius: 8px; font-size: 14px; font-weight: 600; text-align: center;
  cursor: pointer; text-decoration: none; color: #0A0E1A;
  background: linear-gradient(135deg, #D4AF37, #E8C84E, #C9A227);
  transition: opacity 0.15s, transform 0.1s, box-shadow 0.15s;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.25), 0 1px 0 rgba(255, 255, 255, 0.25) inset;
}
.modal__entry-btn:active { opacity: 0.85; transform: scale(0.98); }
/* 第1组：第1-3个 - 金色渐变 */
.modal__entry-btn:nth-child(1),
.modal__entry-btn:nth-child(2),
.modal__entry-btn:nth-child(3) {
  background: linear-gradient(135deg, #D4AF37, #E8C84E, #C9A227);
  color: #0A0E1A;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.25), 0 1px 0 rgba(255, 255, 255, 0.25) inset;
}
/* 第2组：第4-7个 - 电光蓝渐变 */
.modal__entry-btn:nth-child(4),
.modal__entry-btn:nth-child(5),
.modal__entry-btn:nth-child(6),
.modal__entry-btn:nth-child(7) {
  background: linear-gradient(135deg, #4A90D9, #6BB6FF);
  color: #fff;
  box-shadow: 0 2px 8px rgba(107, 182, 255, 0.25), 0 1px 0 rgba(255, 255, 255, 0.15) inset;
}
/* 第3组：第8-9个 - 深金/琥珀渐变 */
.modal__entry-btn:nth-child(8),
.modal__entry-btn:nth-child(9) {
  background: linear-gradient(135deg, #C9A227, #D4AF37, #B8860B);
  color: #0A0E1A;
  box-shadow: 0 2px 8px rgba(201, 162, 39, 0.3), 0 1px 0 rgba(255, 255, 255, 0.2) inset;
}
/* 第4组：第10个 - 蓝/深蓝渐变 */
.modal__entry-btn:nth-child(10) {
  background: linear-gradient(135deg, #6BB6FF, #4A90D9);
  color: #fff;
  box-shadow: 0 2px 8px rgba(74, 144, 217, 0.3), 0 1px 0 rgba(255, 255, 255, 0.15) inset;
}

/* ===== 截屏功能浮层 ===== */
.screenshot-overlay {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(0,0,0,0.7);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px; padding: 20px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.screenshot-overlay--show { opacity: 1; visibility: visible; }
.screenshot-overlay__title { color: #fff; font-size: 16px; font-weight: 600; }
.screenshot-overlay__img { max-width: 92%; max-height: 60vh; border-radius: 10px; box-shadow: 0 8px 40px rgba(0,0,0,0.5); }
.screenshot-overlay__hint { color: rgba(255,255,255,0.7); font-size: 12px; text-align: center; line-height: 1.5; }
.screenshot-overlay__actions { display: flex; gap: 12px; }
.screenshot-overlay__btn { padding: 10px 28px; border: none; border-radius: 9999px; font-size: 14px; font-weight: 600; cursor: pointer; }
.screenshot-overlay__btn--save { background: linear-gradient(135deg, #D4AF37, #C9A227); color: #0A0E1A; }
.screenshot-overlay__btn--close { background: rgba(255,255,255,0.15); color: #fff; }
.screenshot-toast {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%,-50%) scale(0.9);
  background: rgba(0,0,0,0.8); color: #fff;
  padding: 20px 32px; border-radius: 12px; font-size: 14px; z-index: 10001;
  opacity: 0; visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  display: flex; align-items: center; gap: 10px;
}
.screenshot-toast--show { opacity: 1; visibility: visible; transform: translate(-50%,-50%) scale(1); }
.screenshot-toast__spinner { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,0.3); border-top-color: #fff; border-radius: 50%; animation: spin 0.6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== 手机端搜索栏窄居中 ===== */
@media (max-width: 767px) {
  .search-bar__side { flex: 1; }
  .search-bar__inner { flex: 0 0 72%; max-width: 72%; }
}

/* ===== 桌面端响应式（≥768px） ===== */
@media (min-width: 768px) {
  body { max-width: 100%; margin: 0; padding-bottom: 0; }
  .tab-bar {
    position: fixed; top: 0; bottom: auto; left: 0; right: 0;
    max-width: 100%; height: 52px; padding-bottom: 0;
    justify-content: center; gap: 8px; z-index: 200;
    border: none; box-shadow: 0 2px 16px rgba(0,0,0,0.2);
  }
  .tab-bar__item { flex: 0 0 auto; min-width: auto; flex-direction: row; gap: 6px; padding: 0 24px; }
  .tab-bar__item--active::before { top: auto; bottom: 0; width: 100%; height: 3px; background: #D4AF37; box-shadow: 0 0 14px rgba(212,175,55,0.8), 0 0 4px rgba(212,175,55,1); }
  .tab-bar__icon { width: 20px; height: 20px; }
  .tab-bar__label { font-size: var(--font-size-sm); }
  .info-bar { margin-top: 52px; }
  .info-bar, .site-header, .search-bar, .banner, .card-grid, .news-section, .footer, .crumbs17, .article-detail, .more-grid, .pagebar17 {
    max-width: 1200px; margin-left: auto; margin-right: auto;
  }
  .search-bar { max-width: 700px; }
  .search-bar__side--left { display: none; }
  .search-bar__inner { flex: 1; max-width: 100%; }
  .site-header { padding: 24px 16px 12px; }
  .site-header__title { font-size: 30px; margin-bottom: 4px; }
  .site-header__desc { font-size: var(--font-size-md); }
  .info-bar { height: 40px; padding: 0 24px; font-size: var(--font-size-md); border-radius: 0; }
  .banner { padding: 12px 20px; }
  .banner__slide { aspect-ratio: 2.5/1; }
  .banner__content { padding: 24px; }
  .banner__content h2 { font-size: 26px; }
  .banner__desc { font-size: var(--font-size-md); }
  .card-grid { padding: 8px 20px 20px; }
  .card-grid__list { grid-template-columns: repeat(6, 1fr); gap: 12px; }
  .platform-card { padding: 14px 10px 12px; border-radius: var(--radius-lg); }
  .platform-card__logo { width: 56px; height: 56px; aspect-ratio: 1; margin-bottom: 10px; }
  .platform-card__logo--fallback { font-size: var(--font-size-lg); }
  .platform-card__name { font-size: var(--font-size-base); margin-bottom: 4px; }
  .platform-card__desc { font-size: var(--font-size-sm); margin-bottom: 10px; }
  .platform-card__btn { font-size: var(--font-size-sm); padding: 6px 0; border-radius: var(--radius-sm); }
  .more-grid__list { grid-template-columns: repeat(6, 1fr); gap: 16px; }
  .news-section { padding: 20px 24px 8px; }
  .article-detail { margin: 16px auto; }
  .float-btns { top: 62px; right: 40px; }
  .float-btn { width: 56px; height: 56px; }
  .float-btn svg { width: 24px; height: 24px; }
  .float-btn span { font-size: 10px; }
  .footer { padding: 28px 16px; max-width: 1200px; }
}

/* ===== 淡入动画 ===== */
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.fade-in { animation: fadeIn 0.3s ease-out; }

/* ===== 收藏弹窗样式 ===== */
.fav-overlay {
  display: none;
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 10000;
  align-items: center; justify-content: center;
}
.fav-overlay--show { display: flex; }
.fav-modal {
  background: #fff;
  border-radius: 16px;
  width: 90%; max-width: 380px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  overflow: hidden;
  animation: fadeIn 0.3s ease-out;
}
.fav-modal__header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  background: linear-gradient(135deg, #2563EB, #06B6D4);
  color: #fff;
}
.fav-modal__title { font-size: 17px; font-weight: 700; }
.fav-modal__close {
  background: none; border: none; color: #fff;
  font-size: 24px; cursor: pointer; line-height: 1;
  opacity: 0.8; transition: opacity 0.2s;
}
.fav-modal__close:hover { opacity: 1; }
.fav-modal__body { padding: 24px 20px 16px; text-align: center; }
.fav-modal__site-name {
  font-size: 18px; font-weight: 700; color: #1E293B;
  margin-bottom: 16px; padding-bottom: 12px;
  border-bottom: 1px solid #E2E8F0;
}
.fav-step {
  font-size: 14px; color: #475569; line-height: 1.8;
  margin-bottom: 6px;
}
.fav-step kbd {
  display: inline-block;
  padding: 2px 10px;
  background: #1E293B; color: #F5E6A3;
  border-radius: 6px; font-size: 14px; font-weight: 700;
  font-family: monospace;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.fav-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px;
  background: #F1F5F9; border-radius: 6px;
  font-size: 14px; font-weight: 700; color: #2563EB;
  vertical-align: middle;
}
.fav-modal__share-btn {
  display: block; width: 100%;
  margin-top: 16px; padding: 12px;
  background: linear-gradient(135deg, #2563EB, #06B6D4);
  color: #fff; border: none; border-radius: 10px;
  font-size: 15px; font-weight: 600;
  cursor: pointer; transition: transform 0.2s;
}
.fav-modal__share-btn:hover { transform: translateY(-1px); }
.fav-modal__share-btn:active { transform: translateY(1px); }
.fav-modal__footer { padding: 0 20px 20px; }
.fav-modal__confirm {
  display: block; width: 100%;
  padding: 12px;
  background: #1E293B; color: #fff;
  border: none; border-radius: 10px;
  font-size: 15px; font-weight: 600;
  cursor: pointer; transition: background 0.2s;
}
.fav-modal__confirm:hover { background: #334155; }
.fav-modal__confirm:active { background: #0F172A; }

/* ============================================
   主题切换器
   ============================================ */
.theme-switcher {
  position: fixed;
  top: 4px;
  left: 4px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 4px;
}
.theme-switcher__label {
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
  padding: 3px 8px;
  background: rgba(0,0,0,0.35);
  border-radius: 10px;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s;
}
.theme-switcher__label:hover { background: rgba(0,0,0,0.5); }
.theme-switcher__btn {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.6);
  background: conic-gradient(from 0deg, #EF4444, #F59E0B, #10B981, #06B6D4, #6366F1, #D946EF, #EF4444);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  transition: transform 0.2s;
  display: flex; align-items: center; justify-content: center;
}
.theme-switcher__btn:hover { transform: scale(1.15); }
.theme-switcher__btn:active { transform: scale(0.95); }
.theme-switcher__btn svg { width: 16px; height: 16px; color: #fff; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.5)); }
.theme-switcher__panel {
  position: absolute;
  top: 38px;
  left: 0;
  background: rgba(20, 25, 40, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  display: none;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  min-width: 220px;
  border: 1px solid rgba(255,255,255,0.1);
}
.theme-switcher__panel--show { display: grid; }
.theme-switcher__item {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s;
  border: none;
  background: transparent;
}
.theme-switcher__item:hover { background: rgba(255,255,255,0.08); }
.theme-switcher__item--active { background: rgba(255,255,255,0.12); }
.theme-switcher__color {
  width: 22px; height: 22px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.3);
}
.theme-switcher__name {
  color: #E2E8F0;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

/* ===== 10套主题配色 ===== */

/* 主题1: 清爽蓝白（默认） */
[data-theme="1"] {
  --color-bg-gradient: linear-gradient(180deg, #F0F2F5 0%, #E8EAF0 50%, #F5F6F8 100%);
  --color-bg-card: rgba(255, 255, 255, 0.85);
  --color-text: #1E293B;
  --color-text-secondary: #475569;
  --color-primary: #2563EB;
  --color-accent: #06B6D4;
  --gradient-register: linear-gradient(135deg, #2DD4BF, #06B6D4);
  --card-bg: rgba(255,255,255,0.92);
  --card-border: rgba(0,0,0,0.08);
  --card-name: #1E293B;
  --card-desc: #64748B;
  --header-gradient: linear-gradient(135deg, #2563EB, #3B82F6, #2563EB);
  --info-bar-bg: rgba(255,255,255,0.95);
  --info-bar-text: #475569;
  --search-bg: rgba(255,255,255,0.95);
  --search-border: #1E293B;
  --bubble-color: rgba(37,99,235,0.12);
  --bubble-border: rgba(37,99,235,0.08);
}

/* 主题2: 暮光紫金 */
[data-theme="2"] {
  --color-bg-gradient: linear-gradient(180deg, #1a0a2e 0%, #16213e 50%, #0f3460 100%);
  --color-bg-card: rgba(26, 10, 46, 0.75);
  --color-text: #F5E6A3;
  --color-text-secondary: #D4AF37;
  --color-primary: #D4AF37;
  --color-accent: #E94560;
  --gradient-register: linear-gradient(135deg, #D4AF37, #E94560);
  --card-bg: rgba(26,31,46,0.85);
  --card-border: rgba(212,175,55,0.2);
  --card-name: #F5E6A3;
  --card-desc: rgba(245,230,163,0.5);
  --header-gradient: linear-gradient(135deg, #D4AF37, #F5E6A3, #D4AF37);
  --info-bar-bg: rgba(26,10,46,0.9);
  --info-bar-text: #D4AF37;
  --search-bg: rgba(26,10,46,0.9);
  --search-border: #D4AF37;
  --bubble-color: rgba(212,175,55,0.1);
  --bubble-border: rgba(212,175,55,0.08);
}

/* 主题3: 极光翡翠 */
[data-theme="3"] {
  --color-bg-gradient: linear-gradient(180deg, #0d1b2a 0%, #1b3a4b 50%, #2d5a6b 100%);
  --color-bg-card: rgba(13, 27, 42, 0.75);
  --color-text: #5eead4;
  --color-text-secondary: #00d4aa;
  --color-primary: #00d4aa;
  --color-accent: #5eead4;
  --gradient-register: linear-gradient(135deg, #00d4aa, #5eead4);
  --card-bg: rgba(13,27,42,0.85);
  --card-border: rgba(0,212,170,0.2);
  --card-name: #5eead4;
  --card-desc: rgba(94,234,212,0.5);
  --header-gradient: linear-gradient(135deg, #00d4aa, #5eead4, #00d4aa);
  --info-bar-bg: rgba(13,27,42,0.9);
  --info-bar-text: #5eead4;
  --search-bg: rgba(13,27,42,0.9);
  --search-border: #00d4aa;
  --bubble-color: rgba(0,212,170,0.1);
  --bubble-border: rgba(0,212,170,0.08);
}

/* 主题4: 琥珀暖阳 */
[data-theme="4"] {
  --color-bg-gradient: linear-gradient(180deg, #1c1410 0%, #2d1f17 50%, #3d2b1f 100%);
  --color-bg-card: rgba(28, 20, 16, 0.75);
  --color-text: #FCD34D;
  --color-text-secondary: #F59E0B;
  --color-primary: #F59E0B;
  --color-accent: #FCD34D;
  --gradient-register: linear-gradient(135deg, #F59E0B, #FCD34D);
  --card-bg: rgba(28,20,16,0.85);
  --card-border: rgba(245,158,11,0.2);
  --card-name: #FCD34D;
  --card-desc: rgba(252,211,77,0.5);
  --header-gradient: linear-gradient(135deg, #F59E0B, #FCD34D, #F59E0B);
  --info-bar-bg: rgba(28,20,16,0.9);
  --info-bar-text: #F59E0B;
  --search-bg: rgba(28,20,16,0.9);
  --search-border: #F59E0B;
  --bubble-color: rgba(245,158,11,0.1);
  --bubble-border: rgba(245,158,11,0.08);
}

/* 主题5: 赛博霓虹 */
[data-theme="5"] {
  --color-bg-gradient: linear-gradient(180deg, #0a0a0f 0%, #12122b 50%, #1a0a2e 100%);
  --color-bg-card: rgba(10, 10, 15, 0.75);
  --color-text: #00fff5;
  --color-text-secondary: #ff00ff;
  --color-primary: #00fff5;
  --color-accent: #ff00ff;
  --gradient-register: linear-gradient(135deg, #00fff5, #ff00ff);
  --card-bg: rgba(10,10,15,0.85);
  --card-border: rgba(0,255,245,0.25);
  --card-name: #00fff5;
  --card-desc: rgba(0,255,245,0.5);
  --header-gradient: linear-gradient(135deg, #00fff5, #ff00ff, #00fff5);
  --info-bar-bg: rgba(10,10,15,0.9);
  --info-bar-text: #00fff5;
  --search-bg: rgba(10,10,15,0.9);
  --search-border: #00fff5;
  --bubble-color: rgba(0,255,245,0.1);
  --bubble-border: rgba(255,0,255,0.08);
}

/* 主题6: 烈焰红黑 */
[data-theme="6"] {
  --color-bg-gradient: linear-gradient(180deg, #0f0f0f 0%, #1a1a1a 50%, #2a1010 100%);
  --color-bg-card: rgba(15, 15, 15, 0.75);
  --color-text: #FCA5A5;
  --color-text-secondary: #EF4444;
  --color-primary: #EF4444;
  --color-accent: #F97316;
  --gradient-register: linear-gradient(135deg, #EF4444, #F97316);
  --card-bg: rgba(15,15,15,0.85);
  --card-border: rgba(239,68,68,0.2);
  --card-name: #FCA5A5;
  --card-desc: rgba(252,165,165,0.5);
  --header-gradient: linear-gradient(135deg, #EF4444, #F97316, #EF4444);
  --info-bar-bg: rgba(15,15,15,0.9);
  --info-bar-text: #FCA5A5;
  --search-bg: rgba(15,15,15,0.9);
  --search-border: #EF4444;
  --bubble-color: rgba(239,68,68,0.1);
  --bubble-border: rgba(249,115,22,0.08);
}

/* 主题7: 森林墨绿 */
[data-theme="7"] {
  --color-bg-gradient: linear-gradient(180deg, #0a1f0a 0%, #1a3a1a 50%, #2d5a2d 100%);
  --color-bg-card: rgba(10, 31, 10, 0.75);
  --color-text: #86efac;
  --color-text-secondary: #22c55e;
  --color-primary: #22c55e;
  --color-accent: #86efac;
  --gradient-register: linear-gradient(135deg, #22c55e, #86efac);
  --card-bg: rgba(10,31,10,0.85);
  --card-border: rgba(34,197,94,0.2);
  --card-name: #86efac;
  --card-desc: rgba(134,239,172,0.5);
  --header-gradient: linear-gradient(135deg, #22c55e, #86efac, #22c55e);
  --info-bar-bg: rgba(10,31,10,0.9);
  --info-bar-text: #86efac;
  --search-bg: rgba(10,31,10,0.9);
  --search-border: #22c55e;
  --bubble-color: rgba(34,197,94,0.1);
  --bubble-border: rgba(34,197,94,0.08);
}

/* 主题8: 暗夜玫瑰 */
[data-theme="8"] {
  --color-bg-gradient: linear-gradient(180deg, #1a1a2e 0%, #2d1b3d 50%, #3d1f3d 100%);
  --color-bg-card: rgba(26, 26, 46, 0.75);
  --color-text: #f9a8d4;
  --color-text-secondary: #e11d48;
  --color-primary: #e11d48;
  --color-accent: #f9a8d4;
  --gradient-register: linear-gradient(135deg, #e11d48, #f9a8d4);
  --card-bg: rgba(26,26,46,0.85);
  --card-border: rgba(225,29,72,0.2);
  --card-name: #f9a8d4;
  --card-desc: rgba(249,168,212,0.5);
  --header-gradient: linear-gradient(135deg, #e11d48, #f9a8d4, #e11d48);
  --info-bar-bg: rgba(26,26,46,0.9);
  --info-bar-text: #f9a8d4;
  --search-bg: rgba(26,26,46,0.9);
  --search-border: #e11d48;
  --bubble-color: rgba(225,29,72,0.1);
  --bubble-border: rgba(249,168,212,0.08);
}

/* 主题9: 星辰蓝紫 */
[data-theme="9"] {
  --color-bg-gradient: linear-gradient(180deg, #0f0c29 0%, #1a1a4e 50%, #24243e 100%);
  --color-bg-card: rgba(15, 12, 41, 0.75);
  --color-text: #a5b4fc;
  --color-text-secondary: #6366f1;
  --color-primary: #6366f1;
  --color-accent: #a5b4fc;
  --gradient-register: linear-gradient(135deg, #6366f1, #a5b4fc);
  --card-bg: rgba(15,12,41,0.85);
  --card-border: rgba(99,102,241,0.2);
  --card-name: #a5b4fc;
  --card-desc: rgba(165,180,252,0.5);
  --header-gradient: linear-gradient(135deg, #6366f1, #a5b4fc, #6366f1);
  --info-bar-bg: rgba(15,12,41,0.9);
  --info-bar-text: #a5b4fc;
  --search-bg: rgba(15,12,41,0.9);
  --search-border: #6366f1;
  --bubble-color: rgba(99,102,241,0.1);
  --bubble-border: rgba(165,180,252,0.08);
}

/* 主题10: 极简灰白 */
[data-theme="10"] {
  --color-bg-gradient: linear-gradient(180deg, #f5f5f5 0%, #e0e0e0 50%, #d4d4d4 100%);
  --color-bg-card: rgba(255, 255, 255, 0.9);
  --color-text: #171717;
  --color-text-secondary: #525252;
  --color-primary: #171717;
  --color-accent: #404040;
  --gradient-register: linear-gradient(135deg, #404040, #171717);
  --card-bg: rgba(255,255,255,0.95);
  --card-border: rgba(0,0,0,0.12);
  --card-name: #171717;
  --card-desc: #737373;
  --header-gradient: linear-gradient(135deg, #404040, #171717, #404040);
  --info-bar-bg: rgba(255,255,255,0.95);
  --info-bar-text: #525252;
  --search-bg: rgba(255,255,255,0.95);
  --search-border: #171717;
  --bubble-color: rgba(0,0,0,0.06);
  --bubble-border: rgba(0,0,0,0.04);
}

/* ===== 主题动态适配 ===== */
[data-theme] body { background: var(--color-bg-gradient); background-attachment: fixed; }
[data-theme] .site-header { background: var(--info-bar-bg); }
[data-theme] .site-header__title span { background: var(--header-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
[data-theme] .site-header__desc { color: var(--color-text-secondary); }
[data-theme] .info-bar { background: var(--info-bar-bg); color: var(--info-bar-text); }
[data-theme] .info-bar__action { color: var(--color-primary); }
[data-theme] .search-bar { background: var(--info-bar-bg); }
[data-theme] .search-bar__inner { background: var(--search-bg); border-color: var(--search-border); }
[data-theme] .search-bar__input { color: var(--color-text); }
[data-theme] .search-bar__btn { background: var(--gradient-register); color: #fff; }
[data-theme] .search-bar__icon { color: var(--color-text-secondary); }
[data-theme] .platform-card { background: var(--card-bg); border-color: var(--card-border); }
[data-theme] .platform-card__name { color: var(--card-name); }
[data-theme] .platform-card__desc { color: var(--card-desc); }
[data-theme] .platform-card__btn--register { background: var(--gradient-register); color: #fff; }
[data-theme] .detail-card__inner { background: var(--card-bg); border-color: var(--card-border); }
[data-theme] .detail-card__name { color: var(--card-name); }
[data-theme] .detail-card__desc { color: var(--card-desc); }
[data-theme] .detail-card__btn { background: var(--gradient-register); color: #fff; }
[data-theme] .detail-card__logo { background: var(--card-bg); border-color: var(--card-border); color: var(--card-name); }
[data-theme] .more-section-title__text { color: var(--color-primary); }
[data-theme] .bubble { background: radial-gradient(circle at 30% 30%, var(--bubble-color), transparent 70%); border-color: var(--bubble-border); }
[data-theme] .footer { color: var(--color-text-secondary); }
[data-theme] .footer a { color: var(--color-primary); }
[data-theme] .crumbs17 { color: var(--color-text-secondary); }
[data-theme] .crumbs17 a { color: var(--color-primary); }
[data-theme] .recommend-banner__text { color: var(--color-primary); }
[data-theme] .detail-more-btn { background: linear-gradient(135deg, #DC2626, #EA580C); color: #fff; }
[data-theme] .float-btn--service { background: var(--info-bar-bg); color: var(--color-primary); }
[data-theme] .screenshot-toast { background: var(--card-bg); color: var(--color-text); }
[data-theme] .screenshot-overlay { background: rgba(0,0,0,0.7); }
[data-theme] .fav-overlay { background: rgba(0,0,0,0.6); }
