﻿/* ============================================
   云启导航 - 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; -webkit-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: 800; color: #0F172A; 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; display: flex; align-items: center; gap: 8px; }
.search-bar__side { flex: 1; min-width: 0; font-size: var(--font-size-xs); color: #94A3B8; text-align: center; display: flex; align-items: center; justify-content: center; }
.search-bar__bgm { flex: 1; min-width: 0; }
.search-bar__inner { flex: 1; 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); }
/* ===== 搜索建议下拉 ===== */
.search-suggest { max-width: 700px; margin: 0 auto; background: #fff; border-radius: 12px; box-shadow: 0 8px 30px rgba(0,0,0,0.18); overflow: hidden; z-index: 100; animation: suggestFadeIn 0.18s ease; }
@keyframes suggestFadeIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.search-suggest__item { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid #f0f0f0; text-decoration: none; color: #1E293B; transition: background 0.12s; margin-bottom: 0; }
.search-suggest__item:last-child { border-bottom: none; }
.search-suggest__item:hover { background: #f8f9ff; }
.search-suggest__logo { width: 36px; height: 36px; border-radius: 8px; overflow: hidden; flex-shrink: 0; background: #f1f5f9; display: flex; align-items: center; justify-content: center; }
.search-suggest__logo img { width: 100%; height: 100%; object-fit: cover; }
.search-suggest__info { flex: 1; min-width: 0; }
.search-suggest__name { font-size: 14px; font-weight: 600; color: #1E293B; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-suggest__desc { font-size: 12px; color: #94A3B8; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-suggest__btn { flex-shrink: 0; padding: 5px 14px; background: linear-gradient(135deg, #2563EB, #3B82F6); color: #fff; border-radius: 20px; font-size: 12px; font-weight: 600; cursor: pointer; }
.search-suggest__btn:hover { opacity: 0.85; }
.search-suggest__empty { text-align: center; padding: 24px 16px; color: #94A3B8; font-size: 14px; }
@media (max-width: 767px) { .search-suggest { border-radius: 0 0 10px 10px; } .search-suggest__logo { width: 32px; height: 32px; } .search-suggest__name { font-size: 13px; } }
/* ===== 顶部信息栏 ===== */
.info-bar {
  background: rgba(255, 255, 255, 0.98);
  height: var(--info-bar-height);
  display: flex; align-items: center; justify-content: center;
  padding: 0 10px;
  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;
  transform: translateZ(0);
}
.info-bar__text { position: absolute; left: 50%; transform: translateX(-50%); max-width: 60%; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 700; font-family: "Microsoft YaHei", "微软雅黑", sans-serif; pointer-events: none; }
.info-bar__actions { position: absolute; right: 10px; display: flex; align-items: center; gap: 6px; }
.info-bar__action {
  color: #2563EB;
  font-weight: 700;
  font-size: 12px;
  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); }
/* ===== 列表页轮播图（28:8） ===== */
.list-banner { padding: 4px 10px 2px; position: relative; z-index: 2; }
.list-banner__inner { border-radius: var(--radius-md); overflow: hidden; box-shadow: 0 3px 12px rgba(0,0,0,0.4), 0 0 0 1px rgba(212, 175, 55, 0.15) inset; position: relative; }
.list-banner__track { display: flex; transition: transform 0.4s cubic-bezier(0.25,0.46,0.45,0.94); }
.list-banner__slide {
  min-width: 100%; position: relative; overflow: hidden;
  background-color: #0F1729;
  padding-bottom: 28.6%;
  height: 0;
}
.list-banner__slide img {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: contain; object-position: center;
}
.list-banner__content { position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; flex-direction: column; justify-content: center; text-align: left; padding: 6px 14px; }
.list-banner__content h2 { font-size: 15px; font-weight: 700; color: #F5E6A3; margin-bottom: 2px; text-shadow: 0 1px 6px rgba(0,0,0,0.6); }
.list-banner__desc { font-size: 11px; color: rgba(245, 230, 163, 0.75); text-shadow: 0 1px 4px rgba(0,0,0,0.5); }
.list-banner__dots { position: absolute; bottom: 5px; left: 50%; transform: translateX(-50%); display: flex; gap: 4px; z-index: 5; }
.list-banner__dot { width: 5px; height: 5px; border-radius: 50%; background: rgba(212, 175, 55, 0.3); border: none; cursor: pointer; transition: all 0.3s; padding: 0; }
.list-banner__dot--active { background: #D4AF37; width: 14px; border-radius: 3px; }
/* ===== 紧凑型四方格（列表页轮播图下方） ===== */
.card-grid--compact .card-grid__list { grid-template-columns: repeat(5, 1fr); gap: 5px; }
.card-grid--compact .platform-card { padding: 5px 3px 4px; border-radius: 8px; }
.card-grid--compact .platform-card__logo { width: 36px; height: 36px; margin-bottom: 4px; }
.card-grid--compact .platform-card__name { font-size: 11px; margin-bottom: 2px; }
.card-grid--compact .platform-card__desc { font-size: 9px; margin-bottom: 4px; }
.card-grid--compact .platform-card__btn { font-size: 10px; padding: 3px 0; border-radius: 4px; }
/* ===== 单卡片详情页 ===== */
.detail-card { padding: 6px 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: 14px;
  padding: 12px 14px 10px;
  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: 6px; margin-bottom: 8px; }
.detail-card__logo {
  width: 72px; height: 72px; flex-shrink: 0;
  margin: 0 auto;
  background: linear-gradient(145deg, #1A1F2E, #2A3450);
  border-radius: 14px;
  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: 28px; 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: 17px; font-weight: 700; color: #1E293B; line-height: 1.3; margin-bottom: 2px; }
.detail-card__desc { font-size: 12px; color: #64748B; line-height: 1.4; }
.detail-card__actions { text-align: center; }
.detail-card__btn {
  display: inline-block;
  background: linear-gradient(135deg, #2DD4BF, #06B6D4);
  color: #FFFFFF;
  font-size: 14px; font-weight: 700;
  padding: 8px 28px;
  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; }
.recommend-banner__icon--img { display: inline-block; width: 40px; height: 40px; background: #F59E0B; -webkit-mask: url('../../static/upload/image/recommend-logo-mask.png') no-repeat center / contain; mask: url('../../static/upload/image/recommend-logo-mask.png') no-repeat center / contain; vertical-align: middle; margin: 0 10px; }

/* ===== 推荐栏三等分：飞投 / 推荐 / 棋牌 ===== */
.recommend-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 12px 10px 4px;
    position: relative;
    z-index: 2;
}
.recommend-row__side-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0 8px;
    height: 40px;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}
.recommend-row__side-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}
.recommend-row__side-btn:hover::before {
    left: 100%;
}
.recommend-row__side-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}
.recommend-row__side-btn:active {
    transform: translateY(1px) scale(0.97);
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}
.recommend-row__side-btn--feitou {
    background: linear-gradient(135deg, #2AABEE 0%, #229ED9 50%, #0088cc 100%);
    box-shadow: 0 4px 14px rgba(42, 171, 238, 0.45);
}
.recommend-row__side-btn--feitou .btn-icon {
    width: 22px;
    height: 22px;
    background: rgba(255,255,255,0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}
.recommend-row__side-btn--qipai {
    background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 50%, #2563eb 100%);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
    border: 1px solid rgba(234, 179, 8, 0.4);
}
.recommend-row__side-btn .btn-icon {
    font-size: 16px;
    flex-shrink: 0;
}
.recommend-row__side-btn .btn-arrow {
    font-size: 11px;
    opacity: 0.8;
    margin-left: 2px;
}
/* 中间推荐标题 */
.recommend-row__center {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0 6px;
    height: 100%;
}
.recommend-row__center .recommend-row__star {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    font-size: 16px;
    animation: fingerShake 1.5s ease-in-out infinite;
}
.recommend-row__center .recommend-row__star:last-child {
    animation: fingerShakeRight 1.5s ease-in-out infinite;
}
@keyframes fingerShake {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-3px); }
}
@keyframes fingerShakeRight {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(3px); }
}
.recommend-row__center .recommend-row__text {
    font-size: 16px;
    font-weight: 900;
    color: #dc2626;
    white-space: nowrap;
    letter-spacing: 1px;
    text-shadow: 0 1px 2px rgba(220, 38, 38, 0.2);
}

/* 深色主题适配 */
[data-theme] .recommend-row__side-btn {
    box-shadow: 0 4px 14px rgba(0,0,0,0.4);
}

/* 小屏幕适配 */
@media (max-width: 420px) {
    .recommend-row {
        gap: 6px;
        padding: 10px 10px 4px;
    }
    .recommend-row__side-btn {
        padding: 8px 6px;
        font-size: 12px;
    }
    .recommend-row__side-btn .btn-icon {
        font-size: 14px;
    }
    .recommend-row__center .recommend-row__star {
        width: 18px;
        height: 18px;
    }
    .recommend-row__center .recommend-row__text {
        font-size: 12px;
    }
}

/* 超小屏幕 */
@media (max-width: 340px) {
    .recommend-row__side-btn {
        font-size: 11px;
        padding: 7px 4px;
    }
    .recommend-row__side-btn .btn-arrow {
        display: none;
    }
    .recommend-row__center .recommend-row__text {
        font-size: 11px;
    }
    .recommend-row__center .recommend-row__star {
        width: 16px;
        height: 16px;
    }
}

/* 棋牌下载按钮小屏幕适配 */
@media (max-width: 360px) {
    .qipai-download__row {
        flex-direction: column;
        gap: 10px;
    }
    .qipai-download__btn {
        flex-direction: row;
        padding: 14px 16px;
        gap: 12px;
        justify-content: flex-start;
    }
    .qipai-download__icon-wrap {
        width: 40px;
        height: 40px;
        font-size: 22px;
    }
    .qipai-download__text {
        font-size: 14px;
    }
    .qipai-download__desc {
        font-size: 10px;
    }
    .qipai-download__size {
        margin-left: auto;
    }
}

/* 桌面端下载按钮居中 */
@media (min-width: 768px) {
    .qipai-download { margin-left: auto; margin-right: auto; }
}

/* 网页版按钮样式 */
.qipai-download__btn--web {
    background: linear-gradient(135deg, #0e7490 0%, #0891b2 50%, #06b6d4 100%);
    border-color: rgba(6, 182, 212, 0.4);
}
.qipai-download__icon-wrap--web {
    background: linear-gradient(135deg, #ffffff, #ecfeff);
}
/* ===== 棋牌专区页面（清新风） ===== */
.qipai-page {
    background: linear-gradient(180deg, #e0f2fe 0%, #f0f9ff 30%, #ffffff 100%);
    min-height: 100vh;
}
/* 页面头部 */
.qipai-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    position: relative;
    z-index: 10;
}
.qipai-header__back {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    cursor: pointer;
    transition: all 0.2s ease;
}
.qipai-header__back:active {
    transform: scale(0.92);
    background: rgba(255,255,255,0.7);
}
.qipai-header__title {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
}
.qipai-header__right {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #0f172a;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* Banner轮播 */
.qipai-banner {
    margin: 4px 10px 0;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(6, 182, 212, 0.25);
    aspect-ratio: 16 / 6;
    height: auto;
}
.qipai-banner__track {
    display: flex;
    height: 100%;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.qipai-banner__slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    background: linear-gradient(135deg, #67e8f9 0%, #22d3ee 30%, #06b6d4 60%, #0891b2 100%);
    background-size: cover;
    background-position: center;
}
/* 装饰圆形 */
.qipai-banner__circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    z-index: 1;
}
.qipai-banner__circle--1 {
    width: 120px;
    height: 120px;
    top: -30px;
    right: -20px;
}
.qipai-banner__circle--2 {
    width: 80px;
    height: 80px;
    bottom: -20px;
    left: 10px;
}
.qipai-banner__circle--3 {
    width: 50px;
    height: 50px;
    top: 40px;
    left: 30px;
}
/* Banner内容 */
.qipai-banner__content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 24px;
}
.qipai-banner__badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 999px;
    font-size: 11px;
    color: #fff;
    font-weight: 500;
    margin-bottom: 10px;
    width: fit-content;
    letter-spacing: 1px;
}
.qipai-banner__title {
    font-size: 30px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.15);
    letter-spacing: 1px;
}
.qipai-banner__subtitle {
    font-size: 13px;
    color: rgba(255,255,255,0.9);
    font-weight: 400;
}
.qipai-banner__emoji {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 70px;
    z-index: 2;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
}
/* Banner指示点 */
.qipai-banner__dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 3;
}
.qipai-banner__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    transition: all 0.3s ease;
}
.qipai-banner__dot--active {
    width: 18px;
    border-radius: 3px;
    background: #fff;
}

/* 下载按钮区 */
.qipai-download {
    padding: 12px 10px 6px;
    margin: 0 10px;
    max-width: 1180px;
    margin-left: 10px;
    margin-right: 10px;
}
.qipai-download__row {
    display: flex;
    gap: 10px;
}
.qipai-download__btn {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 12px;
    background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 50%, #2563eb 100%);
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35), 0 2px 4px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.25), inset 0 -2px 4px rgba(0,0,0,0.15);
    border: 1.5px solid rgba(234, 179, 8, 0.35);
    outline: 1px solid rgba(255,255,255,0.08);
    outline-offset: -3px;
    position: relative;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
}
.qipai-download__btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}
.qipai-download__btn:hover::before {
    left: 100%;
}
.qipai-download__btn:active {
    transform: scale(0.97);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
}
.qipai-download__icon-wrap {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffffff, #f0f0f0);
    flex-shrink: 0;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,1), inset 0 -1px 2px rgba(0,0,0,0.08);
}
.qipai-download__icon-wrap svg {
    width: 18px;
    height: 18px;
}
.qipai-download__text {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
}

/* 深色模式适配 */
[data-theme] .qipai-download__btn {
    border-color: rgba(234, 179, 8, 0.4);
}

/* ===== 实时中奖动态滚动区 ===== */
.qipai-ticker {
    margin: 10px 10px 0;
    max-width: 1180px;
    margin-left: 10px;
    margin-right: 10px;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25), 0 2px 6px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.06);
    border: 1px solid rgba(251, 146, 60, 0.35);
    animation: fireGlow 3s ease-in-out infinite;
}
@keyframes fireGlow {
    0%, 100% {
        border-color: rgba(251, 146, 60, 0.35);
        box-shadow: 0 6px 20px rgba(0,0,0,0.25), 0 0 8px rgba(251, 146, 60, 0.15), inset 0 1px 0 rgba(255,255,255,0.06);
    }
    50% {
        border-color: rgba(239, 68, 68, 0.5);
        box-shadow: 0 6px 20px rgba(0,0,0,0.25), 0 0 16px rgba(251, 146, 60, 0.3), inset 0 1px 0 rgba(255,255,255,0.06);
    }
}
.qipai-ticker__header {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: linear-gradient(135deg, #1e293b, #334155);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.qipai-ticker__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px #22c55e;
    animation: ticker-pulse 1.5s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes ticker-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}
.qipai-ticker__title {
    font-size: 13px;
    font-weight: 700;
    color: #22c55e;
    letter-spacing: 0.5px;
}
.qipai-ticker__online {
    font-size: 11px;
    color: #4ade80;
    margin-left: auto;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}
.qipai-ticker__online::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 6px #22c55e;
    animation: ticker-blink 1.2s infinite;
}
@keyframes ticker-blink { 50% { opacity: 0.3; } }
.qipai-ticker__viewport {
    height: 130px;
    overflow: hidden;
    position: relative;
    padding: 0 14px;
}
.qipai-ticker__track {
    position: absolute;
    width: calc(100% - 28px);
    top: 0;
    left: 14px;
    will-change: transform;
}
.qipai-ticker__track:hover {
    animation-play-state: paused;
}
@keyframes ticker-scroll {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}
.qipai-ticker__item {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 8px;
    margin: 2px 0;
    border-radius: 6px;
    background: linear-gradient(135deg, rgba(255,255,255,0.02), rgba(255,255,255,0.04));
    border-bottom: 1px solid rgba(255,255,255,0.03);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
    font-size: 11px;
    color: rgba(255,255,255,0.85);
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
}
.qipai-ticker__avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #fff;
    font-weight: 700;
    flex-shrink: 0;
}
.qipai-ticker__name {
    color: #60a5fa;
    font-weight: 600;
    flex-shrink: 0;
}
.qipai-ticker__action {
    color: rgba(255,255,255,0.6);
    flex-shrink: 0;
}
.qipai-ticker__amount {
    color: #fbbf24;
    font-weight: 700;
    flex-shrink: 0;
}
.qipai-ticker__withdraw {
    color: #ef4444;
    font-weight: 700;
    flex-shrink: 0;
}
.qipai-ticker__recharge {
    color: #ef4444;
    font-weight: 700;
    flex-shrink: 0;
}
.qipai-ticker__game {
    color: #fbbf24;
    font-weight: 700;
    flex-shrink: 0;
}
.qipai-ticker__time {
    font-size: 10px;
    color: rgba(255,255,255,0.3);
    margin-left: auto;
    flex-shrink: 0;
}

/* 桌面端 ticker */
@media (min-width: 768px) {
    .qipai-ticker { margin-left: auto; margin-right: auto; }
    .qipai-ticker__viewport { height: 160px; }
    .qipai-ticker__item { font-size: 13px; padding: 6px 0; }
    .qipai-ticker__avatar { width: 28px; height: 28px; font-size: 12px; }
}

/* 游戏分类四方格 */
.qipai-cats {
    padding: 12px 10px 0;
}
.qipai-cats__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    max-width: 1200px;
    margin: 0 auto;
}
.qipai-cats__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 18px 10px;
    border-radius: 14px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(6, 182, 212, 0.15);
    box-shadow: 0 3px 12px rgba(6, 182, 212, 0.12), 0 1px 3px rgba(0,0,0,0.05), inset 0 1px 0 rgba(255,255,255,0.8), inset 0 -2px 4px rgba(6,182,212,0.08);
    position: relative;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
}
.qipai-cats__item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    transition: left 0.5s ease;
}
.qipai-cats__item:hover::before {
    left: 100%;
}
.qipai-cats__item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(6, 182, 212, 0.18), 0 2px 6px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.9);
    border-color: rgba(6, 182, 212, 0.3);
}
.qipai-cats__item:active {
    transform: translateY(1px) scale(0.98);
    box-shadow: 0 1px 4px rgba(6, 182, 212, 0.1), inset 0 1px 0 rgba(255,255,255,0.5);
}
.qipai-cats__img-wrap {
    width: 68px;
    height: 68px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04), inset 0 1px 0 rgba(255,255,255,1), inset 0 -1px 3px rgba(0,0,0,0.06);
    overflow: hidden;
    margin-bottom: 4px;
}
.qipai-cats__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
}
.qipai-cats__name {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* 深色主题适配 */
[data-theme] .qipai-page {
    background: linear-gradient(180deg, #0c1929 0%, #0a1628 30%, #0d1117 100%);
}
[data-theme] .qipai-header__title {
    color: #e2e8f0;
}
[data-theme] .qipai-header__back,
[data-theme] .qipai-header__right {
    background: rgba(255,255,255,0.1);
    color: #e2e8f0;
}
[data-theme] .qipai-download__btn {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #2563eb 100%);
    border-color: rgba(234, 179, 8, 0.3);
}
[data-theme] .qipai-download__text {
    color: #fff;
}
[data-theme] .qipai-download__desc {
    color: rgba(255,255,255,0.8);
}
[data-theme] .qipai-download__icon-wrap {
    background: rgba(255,255,255,0.2);
}
[data-theme] .qipai-download__tip {
    color: #64748b;
}
[data-theme] .qipai-cats__item {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.08) 0%, rgba(14, 165, 233, 0.05) 100%);
    border-color: rgba(6, 182, 212, 0.15);
}
[data-theme] .qipai-cats__name {
    color: #e2e8f0;
}
[data-theme] .qipai-cats__desc {
    color: #94a3b8;
}

/* ===== 卡片网格区 ===== */
.card-grid { padding: 2px 5px 6px; position: relative; z-index: 2; }
.card-grid__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.card-grid__list > * { margin-bottom: 8px; }
.card-grid__list > *:nth-last-child(-n+4) { margin-bottom: 0; }
.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;
  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__star--img { display: inline-block; width: 20px; height: 20px; background: #F59E0B; -webkit-mask: url('../../static/upload/image/recommend-logo-mask.png') no-repeat center / contain; mask: url('../../static/upload/image/recommend-logo-mask.png') no-repeat center / contain; vertical-align: middle; margin: 0 6px; }
.fav-modal__star { display: inline-block; width: 18px; height: 18px; background: #F59E0B; -webkit-mask: url('../../static/upload/image/recommend-logo-mask.png') no-repeat center / contain; mask: url('../../static/upload/image/recommend-logo-mask.png') no-repeat center / contain; vertical-align: middle; }
.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; -webkit-border: 1px solid rgba(0, 0, 0, 0.08); }

/* 客服按钮图标 - 用SVG替代mask图片 */
.tab-bar__icon-img--kefu {
  background: transparent !important;
  -webkit-mask: none !important;
  mask: none !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
}
.tab-bar__icon-img--kefu svg {
  width: 100%; height: 100%;
  stroke: #1E293B;
  stroke-width: 2;
}
[data-theme] .tab-bar__icon-img--kefu svg {
  stroke: var(--color-text, #1E293B);
}
[data-theme] .tab-bar__item--active .tab-bar__icon-img--kefu svg {
  stroke: var(--color-primary, #FFD700);
}
/* ===== 底部导航栏 ===== */
.tab-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 100;
  background: #FFFFFF;
  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(0, 0, 0, 0.06);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}
.tab-bar__item {
  flex: 1 1 0; min-width: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  color: #1E293B; text-decoration: none;
  font-weight: 800;
  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(37, 99, 235, 0.08);
}
.tab-bar__label { font-size: 15px; font-weight: 800; line-height: 1; color: #1E293B; order: 1; }
.tab-bar__icon { width: 32px; height: 32px; flex-shrink: 0; color: #1E293B; order: 2; }
.tab-bar__icon-img { width: 32px; height: 32px; flex-shrink: 0; order: 2; display: inline-block; background: #1E293B; opacity: 1; }
.tab-bar__icon-img--tiyu { -webkit-mask: url('../../static/upload/image/tiyu-logo-mask.png') no-repeat center / contain; mask: url('../../static/upload/image/tiyu-logo-mask.png') no-repeat center / contain; }
.tab-bar__icon-img--dianzi { -webkit-mask: url('../../static/upload/image/dianzi-logo-mask.png') no-repeat center / contain; mask: url('../../static/upload/image/dianzi-logo-mask.png') no-repeat center / contain; }
.tab-bar__icon-img--shixun { -webkit-mask: url('../../static/upload/image/shixun-logo-mask.png') no-repeat center / contain; mask: url('../../static/upload/image/shixun-logo-mask.png') no-repeat center / contain; }
.tab-bar__icon-img--zhongli { -webkit-mask: url('../../static/upload/image/zhongli-logo-mask.png') no-repeat center / contain; mask: url('../../static/upload/image/zhongli-logo-mask.png') no-repeat center / contain; }
.tab-bar__icon-img--liejie { -webkit-mask: url('../../static/upload/image/liejie-logo-mask.png') no-repeat center / contain; mask: url('../../static/upload/image/liejie-logo-mask.png') no-repeat center / contain; }
.tab-bar__icon-img--jiebao { -webkit-mask: url('../../static/upload/image/jiebao-logo-mask.png') no-repeat center / contain; mask: url('../../static/upload/image/jiebao-logo-mask.png') no-repeat center / contain; }
.tab-bar__icon-img--tuijian { -webkit-mask: url('../../static/upload/image/tuijian-logo-mask.png') no-repeat center / contain; mask: url('../../static/upload/image/tuijian-logo-mask.png') no-repeat center / contain; }
.tab-bar__icon-img--xinbao { -webkit-mask: url('../../static/upload/image/xinbao-logo-mask.png') no-repeat center / contain; mask: url('../../static/upload/image/xinbao-logo-mask.png') no-repeat center / contain; }
.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 .tab-bar__icon-img { background: #FFD700; opacity: 1; }
.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;
  margin-bottom: 10px;
}
.modal__entry-btn:last-child { margin-bottom: 0; }
.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--left { display: none; }









  .search-bar__inner { flex: 1 1 0; min-width: 0; max-width: none; }
  .search-bar__btn { padding: 4px 10px; font-size: 11px; margin-left: 4px; }
  .search-bar__input { font-size: 13px; min-width: 0; }
  .search-bar__icon { width: 14px; height: 14px; margin-right: 4px; flex-shrink: 0; }
  .search-bar__more-btn { padding: 6px 8px; font-size: var(--font-size-xs); }
  .search-bar__side--right { flex-shrink: 0; }
}
/* ===== 桌面端响应式（≥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, .tab-bar__icon-img { 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, .list-banner, .card-grid, .news-section, .footer, .crumbs17, .article-detail, .more-grid, .more-section-title, .pagebar17, .recommend-row, .qipai-banner, .qipai-download {
    max-width: 1200px; margin-left: auto; margin-right: auto;
  }
  .search-bar, .recommend-row, .qipai-banner, .qipai-download { max-width: 1200px; }
  .qipai-banner { aspect-ratio: 16 / 5; box-shadow: 0 12px 32px rgba(6, 182, 212, 0.3); }
  .qipai-banner__title { font-size: 42px; }
  .qipai-banner__subtitle { font-size: 16px; }
  .qipai-banner__content { padding: 0 40px; }
  .qipai-download__btn { padding: 12px 18px; gap: 14px; }
  .qipai-download__icon-wrap { width: 40px; height: 40px; border-radius: 10px; }
  .qipai-download__icon-wrap svg { width: 24px; height: 24px; }
  .qipai-download__text { font-size: 16px; }
  .qipai-cats__grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .qipai-cats__item { padding: 20px 14px; }
  .qipai-cats__img-wrap { width: 80px; height: 80px; border-radius: 22px; margin-bottom: 8px; }
  .qipai-cats__img { width: 100%; height: 100%; border-radius: 22px; }
  .qipai-cats__name { font-size: 17px; }
  .search-bar__side--left { display: none; }
  .search-bar__bgm { flex: 1; min-width: 0; max-width: none; }
  .search-bar__inner { flex: 1; min-width: 0; max-width: none; }
  .search-bar__side--right { flex: 1; min-width: 0; }
  .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); }
  .list-banner { padding: 6px 20px 4px; }
  .list-banner__content { padding: 10px 24px; }
  .list-banner__content h2 { font-size: 22px; }
  .list-banner__desc { font-size: 14px; }
  .list-banner__slide { padding-bottom: 28.6%; }
  .card-grid--compact .card-grid__list { grid-template-columns: repeat(8, 1fr); gap: 10px; }
  .card-grid--compact .platform-card { padding: 10px 6px 8px; }
  .card-grid--compact .platform-card__logo { width: 48px; height: 48px; }
  .card-grid--compact .platform-card__name { font-size: 13px; }
  .card-grid--compact .platform-card__desc { font-size: 11px; }
  .card-grid--compact .platform-card__btn { font-size: 12px; padding: 5px 0; }
  .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);
  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: #FFFFFF;
  --info-bar-text: #1E293B;
  --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, #1a0a0a 0%, #2d1515 40%, #1a0a0a 100%);
  --color-bg-card: rgba(26, 10, 10, 0.8);
  --color-text: #FFD700;
  --color-text-secondary: #FF6B35;
  --color-primary: #FFD700;
  --color-accent: #FF4500;
  --gradient-register: linear-gradient(135deg, #FFD700, #FF6B35, #FF4500);
  --card-bg: linear-gradient(135deg, rgba(26,10,10,0.9), rgba(45,20,15,0.9));
  --card-border: rgba(255,215,0,0.3);
  --card-name: #FFD700;
  --card-desc: rgba(255,200,100,0.7);
  --header-gradient: linear-gradient(135deg, #8B0000, #FF4500, #FFD700, #FF4500, #8B0000);
  --info-bar-bg: linear-gradient(180deg, rgba(26,10,10,0.95), rgba(45,20,15,0.95));
  --info-bar-text: #FFD700;
  --search-bg: rgba(26,10,10,0.92);
  --search-border: #FFD700;
  --bubble-color: rgba(255,215,0,0.12);
  --bubble-border: rgba(255,69,0,0.15);
}
/* 主题3: 次元幻想（原神风 - 紫蓝渐变） */
[data-theme="3"] {
  --color-bg-gradient: linear-gradient(180deg, #1a1035 0%, #2d1b5e 40%, #1a1035 100%);
  --color-bg-card: rgba(26, 16, 53, 0.8);
  --color-text: #E0C3FC;
  --color-text-secondary: #8EC5FC;
  --color-primary: #9D4EDD;
  --color-accent: #00B4D8;
  --gradient-register: linear-gradient(135deg, #9D4EDD, #00B4D8, #4CC9F0);
  --card-bg: linear-gradient(135deg, rgba(26,16,53,0.9), rgba(45,27,94,0.9));
  --card-border: rgba(157,78,221,0.3);
  --card-name: #E0C3FC;
  --card-desc: rgba(142,197,252,0.7);
  --header-gradient: linear-gradient(135deg, #7B2CBF, #9D4EDD, #00B4D8, #9D4EDD, #7B2CBF);
  --info-bar-bg: linear-gradient(180deg, rgba(26,16,53,0.95), rgba(45,27,94,0.95));
  --info-bar-text: #E0C3FC;
  --search-bg: rgba(26,16,53,0.92);
  --search-border: #9D4EDD;
  --bubble-color: rgba(157,78,221,0.12);
  --bubble-border: rgba(0,180,216,0.1);
}
/* 主题4: 艾泽拉斯（魔兽风 - 暗金史诗） */
[data-theme="4"] {
  --color-bg-gradient: linear-gradient(180deg, #1a1408 0%, #2d2410 40%, #1a1408 100%);
  --color-bg-card: rgba(26, 20, 8, 0.8);
  --color-text: #C9A227;
  --color-text-secondary: #8B6914;
  --color-primary: #C9A227;
  --color-accent: #8B4513;
  --gradient-register: linear-gradient(135deg, #8B6914, #C9A227, #DAA520);
  --card-bg: linear-gradient(135deg, rgba(26,20,8,0.9), rgba(45,36,16,0.9));
  --card-border: rgba(201,162,39,0.25);
  --card-name: #C9A227;
  --card-desc: rgba(180,140,60,0.7);
  --header-gradient: linear-gradient(135deg, #4a3410, #8B6914, #C9A227, #8B6914, #4a3410);
  --info-bar-bg: linear-gradient(180deg, rgba(26,20,8,0.95), rgba(45,36,16,0.95));
  --info-bar-text: #C9A227;
  --search-bg: rgba(26,20,8,0.92);
  --search-border: #8B6914;
  --bubble-color: rgba(201,162,39,0.1);
  --bubble-border: rgba(139,69,19,0.12);
}
/* 主题5: 赛博朋克（霓虹夜之都） */
[data-theme="5"] {
  --color-bg-gradient: linear-gradient(180deg, #0a0a12 0%, #120a1f 40%, #0a0a12 100%);
  --color-bg-card: rgba(10, 10, 18, 0.8);
  --color-text: #FF2E63;
  --color-text-secondary: #08D9D6;
  --color-primary: #FF2E63;
  --color-accent: #08D9D6;
  --gradient-register: linear-gradient(135deg, #FF2E63, #08D9D6, #FF2E63);
  --card-bg: linear-gradient(135deg, rgba(10,10,18,0.92), rgba(18,10,31,0.92));
  --card-border: rgba(255,46,99,0.35);
  --card-name: #FF2E63;
  --card-desc: rgba(8,217,214,0.7);
  --header-gradient: linear-gradient(135deg, #FF2E63, #F15BB5, #00BBF9, #08D9D6, #00F5D4, #FF2E63);
  --info-bar-bg: linear-gradient(180deg, rgba(10,10,18,0.95), rgba(18,10,31,0.95));
  --info-bar-text: #FF2E63;
  --search-bg: rgba(10,10,18,0.92);
  --search-border: #FF2E63;
  --bubble-color: rgba(255,46,99,0.12);
  --bubble-border: rgba(8,217,214,0.15);
}
/* 主题6: 英雄联盟（符文之地 - 蓝金红） */
[data-theme="6"] {
  --color-bg-gradient: linear-gradient(180deg, #0a1628 0%, #1e3a5f 40%, #0a1628 100%);
  --color-bg-card: rgba(10, 22, 40, 0.8);
  --color-text: #C89B3C;
  --color-text-secondary: #CDFAFA;
  --color-primary: #C89B3C;
  --color-accent: #0AC8B9;
  --gradient-register: linear-gradient(135deg, #C89B3C, #0AC8B9, #0397AB);
  --card-bg: linear-gradient(135deg, rgba(10,22,40,0.9), rgba(30,58,95,0.9));
  --card-border: rgba(200,155,60,0.25);
  --card-name: #C89B3C;
  --card-desc: rgba(205,250,250,0.7);
  --header-gradient: linear-gradient(135deg, #091428, #0A1428, #C89B3C, #0A1428, #091428);
  --info-bar-bg: linear-gradient(180deg, rgba(10,22,40,0.95), rgba(30,58,95,0.95));
  --info-bar-text: #C89B3C;
  --search-bg: rgba(10,22,40,0.92);
  --search-border: #C89B3C;
  --bubble-color: rgba(200,155,60,0.1);
  --bubble-border: rgba(10,200,185,0.1);
}
/* 主题7: 像素世界（我的世界风 - 绿棕） */
[data-theme="7"] {
  --color-bg-gradient: linear-gradient(180deg, #1a2f1a 0%, #2d4a2d 40%, #1a2f1a 100%);
  --color-bg-card: rgba(26, 47, 26, 0.8);
  --color-text: #7CB342;
  --color-text-secondary: #8D6E63;
  --color-primary: #7CB342;
  --color-accent: #8D6E63;
  --gradient-register: linear-gradient(135deg, #7CB342, #8D6E63, #5D4037);
  --card-bg: linear-gradient(135deg, rgba(26,47,26,0.9), rgba(45,74,45,0.9));
  --card-border: rgba(124,179,66,0.25);
  --card-name: #7CB342;
  --card-desc: rgba(141,110,99,0.8);
  --header-gradient: linear-gradient(135deg, #33691E, #7CB342, #8D6E63, #7CB342, #33691E);
  --info-bar-bg: linear-gradient(180deg, rgba(26,47,26,0.95), rgba(45,74,45,0.95));
  --info-bar-text: #7CB342;
  --search-bg: rgba(26,47,26,0.92);
  --search-border: #7CB342;
  --bubble-color: rgba(124,179,66,0.12);
  --bubble-border: rgba(141,110,99,0.1);
}
/* 主题8: 精英战场（和平精英风 - 军绿橙） */
[data-theme="8"] {
  --color-bg-gradient: linear-gradient(180deg, #1a1a12 0%, #2d2d1f 40%, #1a1a12 100%);
  --color-bg-card: rgba(26, 26, 18, 0.8);
  --color-text: #FF8C00;
  --color-text-secondary: #6B8E23;
  --color-primary: #FF8C00;
  --color-accent: #6B8E23;
  --gradient-register: linear-gradient(135deg, #FF8C00, #FF6600, #FF4500);
  --card-bg: linear-gradient(135deg, rgba(26,26,18,0.9), rgba(45,45,31,0.9));
  --card-border: rgba(255,140,0,0.25);
  --card-name: #FF8C00;
  --card-desc: rgba(107,142,35,0.8);
  --header-gradient: linear-gradient(135deg, #2d2d1f, #6B8E23, #FF8C00, #6B8E23, #2d2d1f);
  --info-bar-bg: linear-gradient(180deg, rgba(26,26,18,0.95), rgba(45,45,31,0.95));
  --info-bar-text: #FF8C00;
  --search-bg: rgba(26,26,18,0.92);
  --search-border: #FF8C00;
  --bubble-color: rgba(255,140,0,0.1);
  --bubble-border: rgba(107,142,35,0.1);
}
/* 主题9: 星际征途（星际争霸风 - 深蓝银） */
[data-theme="9"] {
  --color-bg-gradient: linear-gradient(180deg, #0a0a1a 0%, #141432 40%, #0a0a1a 100%);
  --color-bg-card: rgba(10, 10, 26, 0.8);
  --color-text: #E0E7FF;
  --color-text-secondary: #60A5FA;
  --color-primary: #3B82F6;
  --color-accent: #C0C0C0;
  --gradient-register: linear-gradient(135deg, #3B82F6, #60A5FA, #C0C0C0);
  --card-bg: linear-gradient(135deg, rgba(10,10,26,0.9), rgba(20,20,50,0.9));
  --card-border: rgba(59,130,246,0.3);
  --card-name: #E0E7FF;
  --card-desc: rgba(96,165,250,0.7);
  --header-gradient: linear-gradient(135deg, #1e3a8a, #3B82F6, #C0C0C0, #3B82F6, #1e3a8a);
  --info-bar-bg: linear-gradient(180deg, rgba(10,10,26,0.95), rgba(20,20,50,0.95));
  --info-bar-text: #E0E7FF;
  --search-bg: rgba(10,10,26,0.92);
  --search-border: #3B82F6;
  --bubble-color: rgba(59,130,246,0.12);
  --bubble-border: rgba(192,192,192,0.1);
}
/* 主题10: 像素经典（马里奥风 - 红蓝黄） */
[data-theme="10"] {
  --color-bg-gradient: linear-gradient(180deg, #1a2a4a 0%, #2d4a7a 40%, #1a2a4a 100%);
  --color-bg-card: rgba(26, 42, 74, 0.8);
  --color-text: #FFD700;
  --color-text-secondary: #FF6B6B;
  --color-primary: #E53935;
  --color-accent: #FFD700;
  --gradient-register: linear-gradient(135deg, #E53935, #FFD700, #1E88E5);
  --card-bg: linear-gradient(135deg, rgba(26,42,74,0.9), rgba(45,74,122,0.9));
  --card-border: rgba(255,215,0,0.3);
  --card-name: #FFD700;
  --card-desc: rgba(255,107,107,0.8);
  --header-gradient: linear-gradient(135deg, #E53935, #FFD700, #1E88E5, #FFD700, #E53935);
  --info-bar-bg: linear-gradient(180deg, rgba(26,42,74,0.95), rgba(45,74,122,0.95));
  --info-bar-text: #FFD700;
  --search-bg: rgba(26,42,74,0.92);
  --search-border: #FFD700;
  --bubble-color: rgba(229,57,53,0.12);
  --bubble-border: rgba(255,215,0,0.15);
}
/* ===== 主题动态适配 ===== */
[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] .search-suggest { background: var(--card-bg); box-shadow: 0 8px 30px rgba(0,0,0,0.4); }
[data-theme] .search-suggest__item { border-color: var(--card-border); }
[data-theme] .search-suggest__item:hover { background: rgba(255,255,255,0.06); }
[data-theme] .search-suggest__name { color: var(--card-name); }
[data-theme] .search-suggest__desc { color: var(--card-desc); }
[data-theme] .search-suggest__logo { background: var(--card-border); }
[data-theme] .search-suggest__btn { background: var(--gradient-register); }
[data-theme] .search-suggest__empty { color: var(--card-desc); }
[data-theme] .platform-card {
  background: linear-gradient(145deg, var(--card-bg), rgba(0,0,0,0.03));
  border-color: var(--card-border);
  box-shadow:
    0 4px 12px rgba(0,0,0,0.15),
    0 1px 3px rgba(0,0,0,0.1),
    0 0 0 1px rgba(255,255,255,0.6) inset,
    0 1px 0 rgba(255,255,255,0.8) inset;
}
[data-theme] .platform-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow:
    0 12px 28px rgba(0,0,0,0.2),
    0 4px 8px rgba(0,0,0,0.12),
    0 0 0 1px rgba(255,255,255,0.5) inset,
    0 1px 0 rgba(255,255,255,0.9) inset;
}
[data-theme] .platform-card:active {
  transform: translateY(-1px) scale(0.98);
  box-shadow:
    0 2px 6px rgba(0,0,0,0.15),
    0 0 0 1px rgba(255,255,255,0.4) inset;
}
[data-theme] .platform-card__logo {
  box-shadow:
    0 2px 8px rgba(0,0,0,0.12),
    0 0 0 1px rgba(0,0,0,0.05),
    0 1px 0 rgba(255,255,255,0.8) inset;
}
[data-theme] .platform-card__btn--register {
  box-shadow: 0 2px 6px rgba(0,0,0,0.15), 0 1px 0 rgba(255,255,255,0.3) inset;
}
[data-theme] .platform-card__btn--login {
  box-shadow: 0 2px 6px rgba(0,0,0,0.1), 0 1px 0 rgba(255,255,255,0.2) inset;
}
[data-theme] .detail-card__inner {
  box-shadow:
    0 6px 20px rgba(0,0,0,0.12),
    0 2px 6px rgba(0,0,0,0.08),
    0 0 0 1px rgba(255,255,255,0.5) inset,
    0 1px 0 rgba(255,255,255,0.8) inset;
}
[data-theme] .search-bar__inner {
  box-shadow:
    0 2px 8px rgba(0,0,0,0.12),
    0 0 0 1px rgba(255,255,255,0.5) inset,
    0 1px 0 rgba(255,255,255,0.8) inset;
}
[data-theme] .tab-bar {
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08), 0 -1px 0 rgba(0,0,0,0.04) inset;
}
[data-theme] .info-bar {
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
[data-theme] .banner__inner {
  box-shadow: 0 6px 20px rgba(0,0,0,0.15), 0 0 0 1px rgba(255,255,255,0.1) inset;
}
[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] .more-section-title__text { color: var(--color-primary); }
[data-theme] .more-section-title__star--img { background: var(--color-primary); }
[data-theme] .fav-modal__star { background: var(--color-primary); }
[data-theme] .recommend-banner__icon--img { background: 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] .tab-bar { background: var(--info-bar-bg); border-color: var(--card-border); box-shadow: 0 -4px 20px rgba(0,0,0,0.15); }
[data-theme] .tab-bar__item { color: var(--color-text); font-weight: 800; }
[data-theme] .tab-bar__label { color: var(--color-text); font-weight: 800; }
[data-theme] .tab-bar__icon { color: var(--color-text); }
[data-theme] .tab-bar__icon-img { background: var(--color-text); }
[data-theme] .tab-bar__item--active { color: var(--color-primary); }
[data-theme] .tab-bar__item--active .tab-bar__label { color: var(--color-primary); }
[data-theme] .tab-bar__item--active .tab-bar__icon { color: var(--color-primary); }
[data-theme] .tab-bar__item--active .tab-bar__icon-img { background: var(--color-primary); }
[data-theme] .tab-bar__item--active::before { border-color: var(--color-primary); background: linear-gradient(135deg, color-mix(in srgb, var(--color-primary) 8%, transparent), transparent 60%); }
[data-theme] .tab-bar__item--active::after { background: 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); }
/* ========== 背景音乐控制区（大按钮+3D质感+上一曲/下一曲+跳动效果） ========== */
.search-bar__bgm {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    margin-right: 4px;
    padding: 4px 8px;
    height: 54px;
    min-width: 170px;
    max-width: 200px;
    box-sizing: border-box;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 999px;
    background: linear-gradient(145deg, #0a0f1a, #1a2332);
    box-shadow: 
        0 4px 12px rgba(0,0,0,0.4),
        inset 0 1px 0 rgba(255,255,255,0.08),
        inset 0 -1px 0 rgba(0,0,0,0.3);
}
[data-theme] .search-bar__bgm {
    background: linear-gradient(145deg, rgba(0,0,0,0.85), rgba(0,0,0,0.6));
    border-color: rgba(255,255,255,0.25);
}
.bgm-top-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* 上一曲 / 下一曲 按钮 */
.bgm-prev,
.bgm-next {
    border: none;
    padding: 0;
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(255,255,255,0.14), rgba(255,255,255,0.04));
    color: rgba(255,255,255,0.8);
    box-shadow: 
        0 2px 5px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(255,255,255,0.18),
        inset 0 -1px 0 rgba(0,0,0,0.2);
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
}
.bgm-prev:hover,
.bgm-next:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 
        0 3px 7px rgba(0,0,0,0.4),
        inset 0 1px 0 rgba(255,255,255,0.25);
}
.bgm-prev:active,
.bgm-next:active {
    transform: translateY(1px) scale(0.92);
    box-shadow: 
        0 1px 2px rgba(0,0,0,0.3),
        inset 0 2px 4px rgba(0,0,0,0.25);
    color: #FFD93D;
}
.bgm-prev svg,
.bgm-next svg { width: 14px; height: 14px; }

/* 播放中按钮跳动 - 跟着音乐节奏 */
.search-bar__bgm--playing .bgm-prev,
.search-bar__bgm--playing .bgm-next {
    color: rgba(255,255,255,0.95);
    background: linear-gradient(145deg, rgba(255,217,61,0.2), rgba(255,107,107,0.1));
    box-shadow: 
        0 2px 5px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(255,217,61,0.2),
        0 0 6px rgba(255,217,61,0.2);
    animation: bgmBtnBounce 1.2s ease-in-out infinite;
}
.search-bar__bgm--playing .bgm-next {
    animation-delay: 0.6s;
}
@keyframes bgmBtnBounce {
    0%, 100% { 
        transform: translateY(0) scale(1);
        box-shadow: 
            0 2px 5px rgba(0,0,0,0.3),
            inset 0 1px 0 rgba(255,217,61,0.2),
            0 0 6px rgba(255,217,61,0.2);
    }
    50% { 
        transform: translateY(-4px) scale(1.08);
        box-shadow: 
            0 5px 10px rgba(0,0,0,0.4),
            inset 0 1px 0 rgba(255,217,61,0.3),
            0 0 12px rgba(255,217,61,0.5);
    }
}

/* 播放/暂停 主按钮 */
.bgm-toggle {
    border: none;
    padding: 0;
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(255,255,255,0.18), rgba(255,255,255,0.06));
    color: rgba(255,255,255,0.9);
    box-shadow: 
        0 3px 8px rgba(0,0,0,0.35),
        inset 0 1px 0 rgba(255,255,255,0.25),
        inset 0 -1px 0 rgba(0,0,0,0.15);
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
    position: relative;
}
.bgm-toggle:hover {
    transform: translateY(-1px);
    box-shadow: 
        0 4px 10px rgba(0,0,0,0.4),
        inset 0 1px 0 rgba(255,255,255,0.3);
    color: #fff;
}
.bgm-toggle:active {
    transform: translateY(1px) scale(0.93);
    box-shadow: 
        0 1px 3px rgba(0,0,0,0.3),
        inset 0 2px 5px rgba(0,0,0,0.25);
}
.bgm-toggle svg {
    width: 18px;
    height: 18px;
    transition: transform 0.2s ease;
}
.bgm-toggle.is-loading svg {
    animation-name: bgmSpin;
    animation-duration: 1000ms;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-play-state: running;
    opacity: 0.6;
}
@keyframes bgmSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* 播放中主按钮 - 金色发光上下跳动 */
.search-bar__bgm--playing .bgm-toggle {
    background: linear-gradient(145deg, #FFE066, #FFA500);
    color: #1a1a2e;
    box-shadow: 
        0 3px 10px rgba(255,165,0,0.5),
        0 0 15px rgba(255,217,61,0.5),
        0 0 25px rgba(255,217,61,0.25),
        inset 0 1px 0 rgba(255,255,255,0.5),
        inset 0 -1px 0 rgba(0,0,0,0.1);
    animation-name: bgmPlayBounce;
    animation-duration: 800ms;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-play-state: running;
}
.search-bar__bgm--playing .bgm-toggle:hover {
    box-shadow: 
        0 4px 12px rgba(255,165,0,0.6),
        0 0 20px rgba(255,217,61,0.6),
        0 0 35px rgba(255,217,61,0.3),
        inset 0 1px 0 rgba(255,255,255,0.6);
}
@keyframes bgmPlayBounce {
    0%, 100% { 
        transform: translateY(0) scale(1);
        box-shadow: 
            0 3px 10px rgba(255,165,0,0.5),
            0 0 15px rgba(255,217,61,0.5),
            0 0 25px rgba(255,217,61,0.25),
            inset 0 1px 0 rgba(255,255,255,0.5);
    }
    50% { 
        transform: translateY(-5px) scale(1.08);
        box-shadow: 
            0 6px 16px rgba(255,165,0,0.6),
            0 0 20px rgba(255,217,61,0.7),
            0 0 40px rgba(255,217,61,0.4),
            inset 0 1px 0 rgba(255,255,255,0.6);
    }
}

/* 歌曲名 */
.bgm-name {
    flex: 1;
    min-width: 0;
    height: 18px;
    overflow: hidden;
    position: relative;
    display: block;
}
.bgm-name__track {
    display: block;
    position: absolute;
    white-space: nowrap;
    left: 0;
    top: 0;
    height: 24px;
    line-height: 24px;
    will-change: transform;
}
.bgm-name__track span {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    line-height: 24px;
    padding-right: 20px;
    color: rgba(255,255,255,0.85);
    text-shadow: 0 1px 2px rgba(0,0,0,0.6);
}
.search-bar__bgm--playing .bgm-name__track span {
    color: #FFD93D;
    text-shadow: 0 0 10px rgba(255,217,61,0.6), 0 1px 2px rgba(0,0,0,0.8);
}

/* 频谱柱 */
.bgm-eq {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 2px;
    height: 12px;
    width: 100%;
    overflow: hidden;
    padding: 0 4px;
    flex-shrink: 0;
}
.bgm-eq__bar {
    flex: 1;
    min-width: 2px;
    width: 4px;
    height: 4px;
    border-radius: 2px 2px 0 0;
    background: rgba(255,255,255,0.2);
    transition: height 0.08s ease-out;
}
.search-bar__bgm--playing .bgm-eq__bar {
    background: linear-gradient(to top, #FF6B6B, #FFD93D, #6BCB77);
    box-shadow: 0 0 4px rgba(255,217,61,0.5);
}
.search-bar__bgm--playing .bgm-eq__bar:nth-child(3n) {
    background: linear-gradient(to top, #4D96FF, #C780FA);
    box-shadow: 0 0 4px rgba(199,128,250,0.5);
}
.search-bar__bgm--playing .bgm-eq__bar:nth-child(5n) {
    background: linear-gradient(to top, #6BCB77, #4DFFB8);
    box-shadow: 0 0 4px rgba(107,203,119,0.5);
}

/* iOS设备：CSS动画模拟频谱（因为不连接Web Audio） */
.search-bar__bgm.is-ios.search-bar__bgm--playing .bgm-eq__bar {
    animation: iosEqDance 0.8s ease-in-out infinite;
}
.search-bar__bgm.is-ios.search-bar__bgm--playing .bgm-eq__bar:nth-child(1) { animation-delay: 0s; animation-duration: 0.7s; }
.search-bar__bgm.is-ios.search-bar__bgm--playing .bgm-eq__bar:nth-child(2) { animation-delay: 0.1s; animation-duration: 0.9s; }
.search-bar__bgm.is-ios.search-bar__bgm--playing .bgm-eq__bar:nth-child(3) { animation-delay: 0.2s; animation-duration: 0.6s; }
.search-bar__bgm.is-ios.search-bar__bgm--playing .bgm-eq__bar:nth-child(4) { animation-delay: 0.05s; animation-duration: 1s; }
.search-bar__bgm.is-ios.search-bar__bgm--playing .bgm-eq__bar:nth-child(5) { animation-delay: 0.15s; animation-duration: 0.8s; }
.search-bar__bgm.is-ios.search-bar__bgm--playing .bgm-eq__bar:nth-child(6) { animation-delay: 0.25s; animation-duration: 0.7s; }
.search-bar__bgm.is-ios.search-bar__bgm--playing .bgm-eq__bar:nth-child(7) { animation-delay: 0.1s; animation-duration: 0.9s; }
.search-bar__bgm.is-ios.search-bar__bgm--playing .bgm-eq__bar:nth-child(8) { animation-delay: 0.2s; animation-duration: 0.6s; }
.search-bar__bgm.is-ios.search-bar__bgm--playing .bgm-eq__bar:nth-child(9) { animation-delay: 0.05s; animation-duration: 1.1s; }
.search-bar__bgm.is-ios.search-bar__bgm--playing .bgm-eq__bar:nth-child(10) { animation-delay: 0.15s; animation-duration: 0.8s; }
.search-bar__bgm.is-ios.search-bar__bgm--playing .bgm-eq__bar:nth-child(11) { animation-delay: 0.25s; animation-duration: 0.7s; }
.search-bar__bgm.is-ios.search-bar__bgm--playing .bgm-eq__bar:nth-child(12) { animation-delay: 0.1s; animation-duration: 0.9s; }
.search-bar__bgm.is-ios.search-bar__bgm--playing .bgm-eq__bar:nth-child(13) { animation-delay: 0.2s; animation-duration: 0.6s; }
.search-bar__bgm.is-ios.search-bar__bgm--playing .bgm-eq__bar:nth-child(14) { animation-delay: 0.05s; animation-duration: 1s; }
.search-bar__bgm.is-ios.search-bar__bgm--playing .bgm-eq__bar:nth-child(15) { animation-delay: 0.15s; animation-duration: 0.8s; }
.search-bar__bgm.is-ios.search-bar__bgm--playing .bgm-eq__bar:nth-child(16) { animation-delay: 0.25s; animation-duration: 0.7s; }
.search-bar__bgm.is-ios.search-bar__bgm--playing .bgm-eq__bar:nth-child(17) { animation-delay: 0.1s; animation-duration: 0.9s; }
.search-bar__bgm.is-ios.search-bar__bgm--playing .bgm-eq__bar:nth-child(18) { animation-delay: 0.2s; animation-duration: 0.6s; }
.search-bar__bgm.is-ios.search-bar__bgm--playing .bgm-eq__bar:nth-child(19) { animation-delay: 0.05s; animation-duration: 1.1s; }
.search-bar__bgm.is-ios.search-bar__bgm--playing .bgm-eq__bar:nth-child(20) { animation-delay: 0.15s; animation-duration: 0.8s; }
@keyframes iosEqDance {
    0%, 100% { height: 3px; }
    50% { height: 12px; }
}

/* 小屏幕适配 */
@media (max-width: 420px) {
    .search-bar__bgm {
        height: 48px;
        padding: 3px 6px;
        min-width: 105px;
        max-width: 130px;
        gap: 2px;
        margin-right: 3px;
    }
    .bgm-prev,
    .bgm-next {
        width: 20px;
        height: 20px;
    }
    .bgm-prev svg,
    .bgm-next svg { width: 9px; height: 9px; }
    .bgm-toggle {
        width: 26px;
        height: 26px;
    }
    .bgm-toggle svg { width: 12px; height: 12px; }
    .bgm-name { height: 14px; }
    .bgm-name__track { height: 14px; line-height: 14px; }
    .bgm-name__track span {
        font-size: 10px;
        line-height: 14px;
        padding-right: 10px;
    }
    .bgm-eq {
        height: 10px;
        gap: 1.5px;
        padding: 0 2px;
    }
    .bgm-eq__bar {
        min-width: 1.5px;
        height: 3px;
    }
    /* 小屏iOS频谱动画 */
    .search-bar__bgm.is-ios.search-bar__bgm--playing .bgm-eq__bar {
        animation-name: iosEqDanceSm;
    }
    @keyframes iosEqDanceSm {
        0%, 100% { height: 2px; }
        50% { height: 8px; }
    }
}

/* 超小屏幕 */
@media (max-width: 340px) {
    .search-bar__bgm {
        min-width: 170px;
        height: 47px;
        padding: 4px 6px;
    }
    .bgm-prev,
    .bgm-next {
        width: 24px;
        height: 24px;
    }
    .bgm-prev svg,
    .bgm-next svg { width: 10px; height: 10px; }
    .bgm-toggle {
        width: 32px;
        height: 32px;
    }
    .bgm-toggle svg { width: 14px; height: 14px; }
    .bgm-name__track span {
        font-size: 10px;
        padding-right: 12px;
    }
}
/* 播放器动画不受减少动画偏好限制（音乐动效是核心体验） */
@media (prefers-reduced-motion: reduce) {
    .search-bar__bgm--playing .bgm-toggle {
        animation-duration: 800ms !important;
        animation-iteration-count: infinite !important;
    }
    .search-bar__bgm--playing .bgm-prev,
    .search-bar__bgm--playing .bgm-next {
        animation-duration: 1200ms !important;
        animation-iteration-count: infinite !important;
    }
    .bgm-toggle.is-loading svg {
        animation-duration: 1000ms !important;
        animation-iteration-count: infinite !important;
    }
    .bgm-eq__bar {
        animation-duration: 800ms !important;
        animation-iteration-count: infinite !important;
    }
}
/* ========== 下载APP按钮 ========== */
/* ========== APP安装弹窗 ========== */
.app-install-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}
.app-install-overlay--show { display: flex; }
.app-install-card {
    background: #1a1a2e;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 16px;
    padding: 28px 24px;
    max-width: 340px;
    width: 90%;
    text-align: center;
    color: #fff;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}
.app-install-card__icon {
    width: 56px; height: 56px;
    margin: 0 auto 12px;
    background: linear-gradient(135deg, #2563EB, #00fff5);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}
.app-install-card__title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}
.app-install-card__desc {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
    margin-bottom: 16px;
}
.app-install-card__steps {
    text-align: left;
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    line-height: 2;
    margin-bottom: 16px;
    padding: 12px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
}
.app-install-card__btn {
    display: block;
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #2563EB, #00d4aa);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 8px;
}
.app-install-card__btn--secondary {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
}
.app-install-card__close {
    position: absolute;
    top: 12px; right: 16px;
    font-size: 20px;
    color: rgba(255,255,255,0.4);
    cursor: pointer;
    background: none;
    border: none;
}
/* ================================================
   App级UI增强 - 让网页看起来像原生App
   ================================================ */
/* ===== 1. 顶部状态栏区域 - 模拟iOS/Android状态栏 ===== */
.info-bar {
    z-index: 200;
}
/* ===== 2. 搜索栏 - App风格 ===== */
/* ===== 3. 卡片 - 玻璃拟态(Glassmorphism) App风格 ===== */
.platform-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.95), rgba(255,255,255,0.85));
    border: 1px solid rgba(255,255,255,0.6);
    box-shadow:
        0 2px 8px rgba(0,0,0,0.06),
        0 1px 2px rgba(0,0,0,0.04),
        0 0 0 0.5px rgba(0,0,0,0.05),
        0 1px 0 rgba(255,255,255,0.9) inset,
        0 -1px 0 rgba(0,0,0,0.02) inset !important;
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease !important;
}
.platform-card:hover {
    transform: translateY(-6px) scale(1.03) !important;
    box-shadow:
        0 16px 32px rgba(0,0,0,0.12),
        0 4px 8px rgba(0,0,0,0.06),
        0 0 0 0.5px rgba(0,0,0,0.08),
        0 1px 0 rgba(255,255,255,0.95) inset,
        0 0 20px rgba(37,99,235,0.08) !important;
}
.platform-card:active {
    transform: translateY(-2px) scale(0.98) !important;
    transition: transform 0.1s !important;
}
/* 卡片Logo - App图标风格 */
.platform-card__logo {
    border-radius: 14px !important;
    overflow: hidden;
    box-shadow:
        0 2px 8px rgba(0,0,0,0.1),
        0 0 0 0.5px rgba(0,0,0,0.06),
        0 1px 0 rgba(255,255,255,0.8) inset !important;
}
/* 卡片按钮 - App风格胶囊按钮 */
.platform-card__btn {
    border-radius: 8px !important;
    position: relative;
    overflow: hidden;
    transition: transform 0.15s, box-shadow 0.2s !important;
}
.platform-card__btn:active {
    transform: scale(0.95) !important;
}
.platform-card__btn--register {
    box-shadow:
        0 2px 6px rgba(45,212,191,0.25),
        0 1px 0 rgba(255,255,255,0.3) inset,
        0 -1px 0 rgba(0,0,0,0.1) inset !important;
}
/* ===== 4. 底部导航栏 - iOS TabBar风格 ===== */
.tab-bar {
    box-shadow: 0 -1px 0 rgba(255,255,255,0.08), 0 -8px 24px rgba(0,0,0,0.12) !important;
}
.tab-bar__item {
    transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1) !important;
}
.tab-bar__item--active {
    transform: translateY(-4px) !important;
}
.tab-bar__item--active .tab-bar__icon,
.tab-bar__item--active .tab-bar__icon-img {
    transform: scale(1.15) !important;
}
.tab-bar__item:active {
    transform: scale(0.9) !important;
}
/* ===== 5. 搜索框 - iOS风格 ===== */
.search-bar__inner {
    border-radius: 12px !important;
    border: 1.5px solid rgba(0,0,0,0.1) !important;
    background: rgba(255,255,255,0.8) !important;
    box-shadow:
        0 1px 3px rgba(0,0,0,0.08),
        0 0 0 0.5px rgba(0,0,0,0.04),
        0 1px 0 rgba(255,255,255,0.9) inset !important;
    transition: all 0.2s ease !important;
}
.search-bar__inner:focus-within {
    border-color: rgba(37,99,235,0.5) !important;
    box-shadow:
        0 2px 8px rgba(37,99,235,0.12),
        0 0 0 3px rgba(37,99,235,0.1),
        0 1px 0 rgba(255,255,255,0.9) inset !important;
}
.search-bar__btn {
    border-radius: 10px !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15), 0 1px 0 rgba(255,255,255,0.2) inset !important;
}
.search-bar__btn:active {
    transform: scale(0.95) !important;
}
/* ===== 6. 横幅 - App Banner风格 ===== */
.banner__inner {
    border-radius: 16px !important;
    overflow: hidden;
    box-shadow:
        0 6px 20px rgba(0,0,0,0.12),
        0 2px 6px rgba(0,0,0,0.08),
        0 0 0 0.5px rgba(0,0,0,0.05),
        0 1px 0 rgba(255,255,255,0.1) inset !important;
}
/* ===== 7. 页面过渡动画 - App风格入场 ===== */
@keyframes appSlideIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes appCardIn {
    from { opacity: 0; transform: translateY(30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.card-grid {
    animation: appSlideIn 0.4s ease-out;
}
.platform-card {
    animation: appCardIn 0.5s cubic-bezier(0.34,1.56,0.64,1) backwards;
}
.platform-card:nth-child(1) { animation-delay: 0.05s; }
.platform-card:nth-child(2) { animation-delay: 0.1s; }
.platform-card:nth-child(3) { animation-delay: 0.15s; }
.platform-card:nth-child(4) { animation-delay: 0.2s; }
.platform-card:nth-child(5) { animation-delay: 0.25s; }
.platform-card:nth-child(6) { animation-delay: 0.3s; }
.platform-card:nth-child(7) { animation-delay: 0.35s; }
.platform-card:nth-child(8) { animation-delay: 0.4s; }
/* ===== 8. 悬浮按钮 - App风格 ===== */
.float-btn {
    box-shadow:
        0 4px 12px rgba(0,0,0,0.15),
        0 1px 3px rgba(0,0,0,0.1),
        0 0 0 0.5px rgba(255,255,255,0.1),
        0 1px 0 rgba(255,255,255,0.2) inset !important;
    transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.2s !important;
}
.float-btn:hover {
    transform: scale(1.1) !important;
}
.float-btn:active {
    transform: scale(0.92) !important;
}
/* ===== 9. 主题切换器 - App风格 ===== */
.theme-switcher__panel {
    border-radius: 14px !important;
    box-shadow:
        0 8px 32px rgba(0,0,0,0.12),
        0 2px 8px rgba(0,0,0,0.08),
        0 0 0 0.5px rgba(0,0,0,0.05),
        0 1px 0 rgba(255,255,255,0.9) inset !important;
}
/* ===== 10. 搜索建议弹窗 - App下拉风格 ===== */
.search-suggest {
    border-radius: 14px !important;
    box-shadow:
        0 8px 32px rgba(0,0,0,0.12),
        0 2px 8px rgba(0,0,0,0.06),
        0 0 0 0.5px rgba(0,0,0,0.05),
        0 1px 0 rgba(255,255,255,0.9) inset !important;
}
/* ===== 11. 安卓端 Ripple 波纹效果 ===== */
.platform-card::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 0; height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%,-50%);
    pointer-events: none;
    opacity: 0;
}
@keyframes ripple {
    to {
        width: 300%;
        height: 300%;
        opacity: 0;
    }
}
.platform-card:active::after {
    animation: ripple 0.6s ease-out;
}
@media (max-width: 520px) {
  .info-bar { height: 36px; padding: 0 6px; }
  .info-bar__text { font-size: 10px; max-width: 45%; }
  .info-bar__actions { right: 6px; gap: 3px; }
  .info-bar__action { font-size: 10px; }
  .info-bar__divider { height: 8px; margin: 0 1px; }
}
/* ===== 12. 减少动画偏好支持 ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
/* ================================================
   质感Pro - 超精细视觉效果（不影响性能）
   ================================================ */
/* ===== 1. 卡片光泽渐变 + 微光折射 ===== */
.platform-card {
    background: linear-gradient(135deg, 
        rgba(255,255,255,0.98) 0%, 
        rgba(255,255,255,0.92) 40%,
        rgba(240,242,248,0.88) 70%,
        rgba(235,238,245,0.92) 100%
    ) !important;
    border: 1px solid rgba(255,255,255,0.7) !important;
    box-shadow:
        0 1px 2px rgba(0,0,0,0.03),
        0 4px 12px rgba(0,0,0,0.06),
        0 8px 24px rgba(0,0,0,0.04),
        0 0 0 0.5px rgba(0,0,0,0.04),
        0 1px 0 rgba(255,255,255,1) inset,
        0 2px 1px rgba(255,255,255,0.9) inset,
        0 -1px 0 rgba(0,0,0,0.015) inset !important;
}
/* 卡片顶部高光线 */
.platform-card::before {
    content: '';
    position: absolute;
    top: 0; left: 8%; right: 8%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255,255,255,1) 30%, 
        rgba(255,255,255,0.8) 50%, 
        rgba(255,255,255,1) 70%, 
        transparent
    );
    opacity: 1 !important;
    z-index: 1;
}
/* 卡片左上角光泽 */
.platform-card > * { position: relative; z-index: 2; }
/* ===== 2. Logo图标 - iOS App图标质感 ===== */
.platform-card__logo {
    border-radius: 16px !important;
    overflow: hidden;
    position: relative;
    box-shadow:
        0 1px 3px rgba(0,0,0,0.12),
        0 3px 8px rgba(0,0,0,0.08),
        0 0 0 0.5px rgba(0,0,0,0.06),
        0 1px 0 rgba(255,255,255,0.6) inset !important;
}
/* ===== 3. 按钮质感 - 金属光泽 ===== */
.platform-card__btn--register {
    background: linear-gradient(180deg, 
        rgba(45,212,191,1) 0%,
        rgba(45,212,191,0.95) 50%,
        rgba(34,197,172,0.9) 100%
    ) !important;
    box-shadow:
        0 1px 2px rgba(45,212,191,0.3),
        0 2px 6px rgba(45,212,191,0.15),
        0 1px 0 rgba(255,255,255,0.4) inset,
        0 -1px 0 rgba(0,0,0,0.1) inset !important;
}
.platform-card__btn--login {
    background: linear-gradient(180deg,
        rgba(107,182,255,1) 0%,
        rgba(107,182,255,0.95) 50%,
        rgba(74,144,217,0.9) 100%
    ) !important;
    box-shadow:
        0 1px 2px rgba(107,182,255,0.25),
        0 2px 6px rgba(107,182,255,0.12),
        0 1px 0 rgba(255,255,255,0.35) inset,
        0 -1px 0 rgba(0,0,0,0.08) inset !important;
}
/* ===== 4. 搜索栏 - iOS液态玻璃 ===== */
.search-bar__inner {
    background: linear-gradient(180deg,
        rgba(255,255,255,0.85),
        rgba(255,255,255,0.75)
    ) !important;
    border: 1px solid rgba(0,0,0,0.08) !important;
    box-shadow:
        0 1px 3px rgba(0,0,0,0.06),
        0 0 0 0.5px rgba(0,0,0,0.03),
        0 1px 0 rgba(255,255,255,1) inset,
        0 2px 4px rgba(255,255,255,0.5) inset !important;
}
.search-bar__btn {
    background: linear-gradient(180deg,
        #2563EB 0%, #2563EB 50%, #1d4ed8 100%
    ) !important;
    box-shadow:
        0 1px 2px rgba(37,99,235,0.3),
        0 2px 6px rgba(37,99,235,0.15),
        0 1px 0 rgba(255,255,255,0.25) inset,
        0 -1px 0 rgba(0,0,0,0.15) inset !important;
}
/* ===== 5. 底部导航 - 纯色不透明 ===== */
.tab-bar {
    background: #FFFFFF !important;
    opacity: 1 !important;
    box-shadow:
        0 -1px 0 rgba(0,0,0,0.08),
        0 -4px 16px rgba(0,0,0,0.06) !important;
}
[data-theme] .tab-bar {
    background: var(--tab-bar-bg, var(--info-bar-bg)) !important;
    backdrop-filter: none !important;
    opacity: 1 !important;
}
/* ===== 6. 信息栏 - iOS状态栏质感 ===== */
.info-bar {
    background: linear-gradient(180deg,
        rgba(255,255,255,0.98),
        rgba(255,255,255,0.92)
    ) !important;
    box-shadow: 0 1px 0 rgba(0,0,0,0.04) !important;
}
/* ===== 7. Banner - 质感提升 ===== */
.banner__inner {
    box-shadow:
        0 2px 6px rgba(0,0,0,0.08),
        0 8px 24px rgba(0,0,0,0.06),
        0 0 0 0.5px rgba(0,0,0,0.04),
        0 1px 0 rgba(255,255,255,0.15) inset !important;
}
/* ===== 8. 悬浮按钮 - 玻璃质感 ===== */
.float-btn {
    box-shadow:
        0 2px 8px rgba(0,0,0,0.1),
        0 6px 16px rgba(0,0,0,0.08),
        0 0 0 0.5px rgba(0,0,0,0.05),
        0 1px 0 rgba(255,255,255,0.3) inset !important;
}
/* ===== 9. 主题切换面板 ===== */
.theme-switcher__panel {
}
/* ===== 10. 搜索建议 - iOS Sheet风格 ===== */
.search-suggest {
    background: linear-gradient(180deg,
        rgba(255,255,255,0.98),
        rgba(255,255,255,0.92)
    ) !important;
}
/* ===== 11. 文字渲染清晰度 ===== */
body {
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    text-rendering: optimizeLegibility !important;
    -webkit-text-size-adjust: 100% !important;
}
.platform-card__name {
    text-shadow: 0 0.5px 0 rgba(255,255,255,0.5);
    letter-spacing: 0.3px;
}
.platform-card__desc {
    letter-spacing: 0.2px;
}
/* ===== 12. 深色主题质感增强 ===== */
[data-theme="2"] .platform-card,
[data-theme="3"] .platform-card,
[data-theme="5"] .platform-card,
[data-theme="6"] .platform-card,
[data-theme="7"] .platform-card,
[data-theme="8"] .platform-card,
[data-theme="9"] .platform-card {
    background: linear-gradient(135deg,
        rgba(255,255,255,0.08) 0%,
        rgba(255,255,255,0.04) 40%,
        rgba(0,0,0,0.1) 70%,
        rgba(0,0,0,0.15) 100%
    ) !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    box-shadow:
        0 1px 2px rgba(0,0,0,0.2),
        0 4px 12px rgba(0,0,0,0.15),
        0 0 0 0.5px rgba(255,255,255,0.04),
        0 1px 0 rgba(255,255,255,0.06) inset,
        0 2px 1px rgba(255,255,255,0.03) inset !important;
}
[data-theme] .search-bar__inner {
    background: linear-gradient(180deg,
        var(--search-bg),
        rgba(0,0,0,0.3)
    ) !important;
    border: 1px solid var(--search-border) !important;
}
[data-theme] .info-bar {
    background: linear-gradient(180deg,
        var(--info-bar-bg),
        rgba(0,0,0,0.2)
    ) !important;
}
/* ===== 13. GPU加速 - 确保动画流畅 ===== */
.platform-card,
.search-bar__inner,
.tab-bar__item:not(.tab-bar__item--active),
.float-btn,
.banner__inner,
.theme-switcher__panel,
.search-suggest,
.bgm-eq__bar {
    transform: translateZ(0);
    will-change: transform, box-shadow;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}
/* ===== 14. 图片高清渲染 ===== */
/* ===== 15. Retina屏幕适配 ===== */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .platform-card {
        border-width: 0.5px;
    }
    .platform-card__logo {
        box-shadow:
            0 0.5px 2px rgba(0,0,0,0.1),
            0 1px 4px rgba(0,0,0,0.06),
            0 0 0 0.25px rgba(0,0,0,0.04),
            0 0.5px 0 rgba(255,255,255,0.5) inset !important;
    }
}
/* ===== 16. 卡片hover - 聚光灯效果 ===== */
.platform-card:hover {
    background: linear-gradient(135deg,
        rgba(255,255,255,1) 0%,
        rgba(255,255,255,0.96) 40%,
        rgba(240,248,255,0.94) 70%,
        rgba(235,240,255,0.96) 100%
    ) !important;
    box-shadow:
        0 2px 4px rgba(0,0,0,0.04),
        0 8px 20px rgba(0,0,0,0.08),
        0 16px 40px rgba(37,99,235,0.06),
        0 0 0 0.5px rgba(37,99,235,0.08),
        0 1px 0 rgba(255,255,255,1) inset,
        0 2px 1px rgba(255,255,255,0.9) inset,
        0 0 30px rgba(37,99,235,0.04) !important;
}

/* 测试规则 */
.test-css-works { color: red !important; }
