/* YZBJFPV v2.1 — 白底专业版主样式
   设计: 净白画布 + 墨色文字 + 竞速蓝单一强调色
   适配: 手机竖屏 / 平板 / 桌面宽屏(1180px)
   动效: 全部 cubic-bezier(.4,0,.2,1)
*/

:root {
  --bg: #ffffff;
  --bg-soft: #f5f6f8;
  --bg-tint: #eef4ff;
  --card: #ffffff;
  --ink: #0b1220;
  --ink-2: #3d4654;
  --ink-3: #8a93a3;
  --line: #e9ecf1;
  --line-strong: #d8dde5;
  --blue: #0a54f5;
  --blue-deep: #0842c8;
  --blue-tint: #eaf1ff;
  --red: #e5383c;
  --red-tint: #fdeeee;
  --gold: #b98a12;
  --silver: #6b7686;
  --bronze: #a05a2c;
  --radius: 16px;
  --radius-sm: 12px;
  --radius-lg: 22px;
  --max-width: 1180px;
  --nav-height: 60px;
  --tab-height: 66px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05);
  --shadow-md: 0 10px 30px rgba(16, 24, 40, 0.08);
  --shadow-pop: 0 16px 48px rgba(16, 24, 40, 0.14);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==================== Reset ==================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 17px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'HarmonyOS Sans SC', 'MiSans', 'PingFang SC', 'HONOR Sans SC', 'Microsoft YaHei UI', 'Microsoft YaHei', sans-serif;
  background:
    radial-gradient(1200px 480px at 85% -180px, rgba(10, 84, 245, 0.055), transparent 62%),
    radial-gradient(900px 420px at -8% 12%, rgba(0, 179, 154, 0.04), transparent 58%),
    var(--bg);
  color: var(--ink);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
  font-feature-settings: 'tnum';
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; color: inherit; font-family: inherit; }
input, textarea, select { font-family: inherit; outline: none; }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #d3d8e0; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #b9c0cb; }

::selection { background: var(--blue-tint); color: var(--blue-deep); }

/* ==================== 布局容器 ==================== */
.app-container {
  max-width: var(--max-width);
  margin: 0 auto;
  min-height: 100vh;
  padding: 0 18px calc(var(--tab-height) + 32px);
  padding: 0 18px calc(var(--tab-height) + env(safe-area-inset-bottom, 0px) + 32px);
  padding-left: 18px;
  padding-right: 18px;
  padding-left: calc(18px + env(safe-area-inset-left, 0px));
  padding-right: calc(18px + env(safe-area-inset-right, 0px));
  position: relative;
}
@media (min-width: 1080px) {
  .app-container { padding: 0 28px calc(var(--tab-height) + 48px); }
}

/* ==================== 顶部导航栏 ==================== */
.nav-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  height: calc(var(--nav-height) + env(safe-area-inset-top, 0px));
  padding: 0 14px;
  padding-top: 0;
  padding-top: env(safe-area-inset-top, 0px);
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 12px;
}
/* 移动端(iOS壳/手机): 顶栏液态玻璃, 桌面保持传统纯白 */
@media (max-width: 1079px) {
  .nav-bar {
    background: rgba(255, 255, 255, 0.62);
    -webkit-backdrop-filter: blur(22px) saturate(1.8);
    backdrop-filter: blur(22px) saturate(1.8);
  }
}
@media (min-width: 1080px) {
  .nav-bar { padding: 0 28px; }
}
.nav-bar .nav-left,
.nav-bar .nav-right {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 88px;
  flex-shrink: 0;
}
.nav-bar .nav-right { justify-content: flex-end; margin-left: auto; }
.nav-bar .nav-title {
  flex: 1;
  min-width: 0;
  text-align: center;
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--ink);
  white-space: nowrap;
}
.nav-bar .nav-title .fpv-badge {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--blue);
  border: 1.5px solid currentColor;
  border-radius: 6px;
  padding: 1px 7px;
  line-height: 1.3;
}
.nav-icon-btn {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: var(--ink-2);
  transition: var(--transition);
}
.nav-icon-btn:hover { background: var(--bg-soft); color: var(--ink); }
.nav-icon-btn:active { transform: scale(0.92); }
.nav-icon-btn svg { width: 21px; height: 21px; }
.nav-logo {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  object-fit: contain;
  flex-shrink: 0;
  transition: var(--transition);
}
.nav-logo:active { transform: scale(0.94); }
.nav-brand {
  font-size: 1.06rem;
  font-weight: 800;
  letter-spacing: 0.4px;
  background: linear-gradient(92deg, var(--ink) 20%, var(--blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}
.nav-motto {
  font-family: 'Ma Shan Zheng', 'STKaiti', 'KaiTi', cursive;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink-2);
  letter-spacing: 2.5px;
  white-space: nowrap;
  line-height: 1;
  padding-left: 12px;
  margin-left: 4px;
  border-left: 1px solid var(--line-strong);
  transform: translateY(-1px);
}
@media (max-width: 860px) { .nav-motto { font-size: 0.9rem; letter-spacing: 1.5px; } }
@media (max-width: 560px) {
  .nav-brand { display: none; }
  .nav-motto { border-left: none; padding-left: 0; margin-left: 2px; font-size: 0.92rem; }
  .nav-bar .nav-left, .nav-bar .nav-right { min-width: 40px; }
  .nav-bar .nav-title { font-size: 1.05rem; }
  .nav-logo { width: 32px; height: 32px; }
}

/* ==================== 首页桌面栅格 ==================== */
.home-layout { display: block; }
@media (min-width: 1080px) {
  .home-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr);
    gap: 30px;
    align-items: start;
    padding-top: 26px;
  }
}

/* ==================== 轮播图 Banner ==================== */
.carousel {
  position: relative;
  width: 100%;
  height: 172px;
  overflow: hidden;
  background: var(--bg-soft);
  touch-action: pan-y;
  border-radius: var(--radius);
  margin-top: 10px;
  box-shadow: var(--shadow-sm);
}
@media (min-width: 1080px) {
  .carousel { height: 430px; border-radius: var(--radius-lg); margin-top: 0; }
}
.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.55s var(--ease-out);
}
.carousel-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 4s var(--ease-out);
}
.carousel-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 18, 32, 0) 42%, rgba(11, 18, 32, 0.62));
}
.carousel-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 20px 22px;
  z-index: 2;
}
@media (min-width: 1080px) { .carousel-caption { padding: 26px 32px 30px; } }
.carousel-caption h3 {
  color: #fff;
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.45;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-all;
}
@media (min-width: 1080px) { .carousel-caption h3 { font-size: 1.5rem; } }
.carousel-dots {
  position: absolute;
  bottom: 12px;
  right: 18px;
  display: flex;
  gap: 6px;
  z-index: 3;
}
.carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.55);
  transition: var(--transition);
  cursor: pointer;
}
.carousel-dot.active {
  width: 22px;
  background: #fff;
}

/* ==================== 模块通用 ==================== */
.module { padding: 17px 0 4px; }
@media (min-width: 1080px) { .module { padding: 34px 0 8px; } }
.module-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 13px;
}
@media (min-width: 1080px) { .module-header { margin-bottom: 18px; } }
.module-title {
  font-size: clamp(1.16rem, 1.5vw + 0.95rem, 1.32rem);
  font-weight: 800;
  letter-spacing: 0.3px;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 10px;
  line-height: 1.3;
  position: relative;
  padding-left: 13px;
  min-width: 0;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.module-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-58%);
  width: 4.5px;
  height: 1.15em;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--blue), #4d8bff);
  box-shadow: 0 2px 8px rgba(10, 84, 245, 0.35);
}
.module-title .en-sub {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--ink-3);
  letter-spacing: 1.6px;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 680px) { .module-title .en-sub { display: none; } }
.module-more {
  margin-left: auto;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 3px;
  transition: var(--transition);
  flex-shrink: 0;
}
.module-more:hover { color: var(--blue-deep); gap: 6px; }
.module-more svg { width: 15px; height: 15px; }

/* 新资讯提示 */
.news-refresh-badge {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 3px 12px;
  background: var(--red-tint);
  color: var(--red);
  border-radius: 100px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.news-refresh-badge:hover { background: #fbdcdc; }

/* ==================== 资讯列表(首页3条·第三条渐隐) ==================== */
.news-list {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 4px 16px;
  box-shadow: var(--shadow-sm);
}
@media (min-width: 1080px) {
  .news-list { max-height: 430px; overflow-y: auto; }
}
.news-item {
  padding: 13px 2px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  gap: 11px;
  cursor: pointer;
  transition: var(--transition);
}
.news-item:last-child { border-bottom: none; }
.news-item:hover .news-text-inner { color: var(--blue); }
/* 第三条下半段渐隐 */
.news-item.news-fade {
  max-height: 47px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 96%);
  mask-image: linear-gradient(180deg, #000 55%, transparent 96%);
  border-bottom: none;
}
.news-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  margin-top: 8px;
  flex-shrink: 0;
}
.news-item.is-new .news-dot { background: var(--red); animation: pulse-dot 1.6s infinite; }
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(229, 56, 60, 0.35); }
  60% { box-shadow: 0 0 0 6px rgba(229, 56, 60, 0); }
}
.news-body { flex: 1; min-width: 0; }
.news-text-row { display: flex; align-items: center; gap: 10px; }
.news-item .news-text {
  flex: 1;
  min-width: 0;
  font-size: 0.99rem;
  line-height: 1.5;
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 88%, transparent 100%);
  transition: var(--transition);
}
/* 超长标题hover来回轻滚（不打乱布局） */
.news-item .news-text-inner {
  display: inline-block;
  white-space: nowrap;
  vertical-align: top;
  max-width: 100%;
  overflow: hidden;
  text-overflow: clip;
  transition: color 0.3s var(--ease-out);
}
@media (hover: hover) {
  .news-item:hover .news-text-inner.news-long {
    animation: news-marquee 7s ease-in-out infinite alternate;
  }
}
@keyframes news-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-100% + 100cqw)); }
}
.news-text { container-type: inline-size; }
.news-sources {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding-right: 2px;
}
.news-sources .src-logo {
  width: 19px;
  height: 19px;
  border-radius: 6px;
  border: 1.5px solid #fff;
  box-shadow: 0 1px 4px rgba(16, 24, 40, 0.16);
  object-fit: cover;
}
.news-sources .src-logo + .src-logo { margin-left: -7px; }
.news-item .news-time {
  font-size: 0.8rem;
  color: var(--ink-3);
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.news-item .news-cat {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--blue);
  background: var(--blue-tint);
  padding: 1px 8px;
  border-radius: 100px;
  white-space: nowrap;
}

/* ==================== 赛事列表 ==================== */
.race-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 860px) {
  .race-list { grid-template-columns: 1fr 1fr; gap: 14px; }
}
.race-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px 18px;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: var(--transition);
}
.race-item:hover {
  border-color: #c6d7ff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(10, 84, 245, 0.1);
}
.race-tag {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 7px;
  white-space: nowrap;
  flex-shrink: 0;
}
.race-tag.international { background: var(--blue-tint); color: var(--blue); }
.race-tag.competition { background: #f1f3f7; color: var(--ink-2); }
.race-tag.local { background: #edf7f1; color: #1f7a46; }
.race-tag.aerial { background: #fdf3e7; color: #9a5b13; }
.race-item .race-name {
  flex: 1;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
  word-break: break-all;
}
.race-item .race-date {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-3);
  white-space: nowrap;
}

/* ==================== 合作伙伴(无缝匀速滚动·纯展示) ==================== */
.partners-marquee {
  position: relative;
  overflow: hidden;
  padding: 3px 0 5px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  pointer-events: none; /* 用户不可交互，滚动不受任何用户操作影响 */
}
.partners-track {
  display: flex;
  gap: 9px;
  width: max-content;
  will-change: transform;
}
.partner-card {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 4px 8px 5px;
  background: var(--card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.partner-logo {
  height: 34px;
  min-width: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.5px;
}
.partner-logo img {
  height: 100%;
  width: auto; /* 宽横幅logo按原始比例完整展开，绝不裁切 */
  max-width: 168px;
}
.partner-name {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-2);
  text-align: center;
  line-height: 1.2;
  white-space: nowrap; /* 名称完整显示，永不截断，卡片宽度自适应 */
}

/* ==================== 社区瀑布流 ==================== */
.community-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 860px) { .community-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
@media (min-width: 1080px) { .community-grid { grid-template-columns: repeat(4, 1fr); } }
.community-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: var(--transition);
}
.community-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.community-card .card-cover {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: var(--bg-soft);
  overflow: hidden;
}
.community-card .card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}
.community-card:hover .card-cover img { transform: scale(1.045); }
.community-card .card-info { padding: 10px 13px 12px; }
.community-card .card-title {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-all;
}
.community-card .card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 7px;
  font-size: 0.82rem;
  color: var(--ink-3);
}

/* 回到顶部 */
.back-to-top {
  position: fixed;
  bottom: calc(var(--tab-height) + 24px);
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-2);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  transition: var(--transition);
  z-index: 50;
}
.back-to-top.show { opacity: 1; transform: translateY(0); }
.back-to-top:hover { color: var(--blue); border-color: #c6d7ff; }

/* ==================== 底部 Tab 导航（液态玻璃 dock） ==================== */
.tab-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--tab-height);
  height: calc(var(--tab-height) + env(safe-area-inset-bottom, 0px));
  padding-bottom: 0;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: rgba(255, 255, 255, 0.5);
  -webkit-backdrop-filter: blur(26px) saturate(2);
  backdrop-filter: blur(26px) saturate(2);
  border-top: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), inset 0 -1px 0 rgba(255, 255, 255, 0.32), 0 -10px 32px rgba(10, 84, 245, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 200;
}
@media (min-width: 1080px) {
  .tab-bar {
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: min(92%, 560px);
    height: 62px;
    padding-bottom: 0;
    border-radius: 100px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-pop);
    background: rgba(255, 255, 255, 0.82);
    -webkit-backdrop-filter: blur(18px) saturate(1.6);
    backdrop-filter: blur(18px) saturate(1.6);
  }
}
.tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 6px 14px;
  color: var(--ink-3);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}
.tab-item svg { width: 23px; height: 23px; }
.tab-item .tab-label { font-size: 0.74rem; font-weight: 600; }
.tab-item.active { color: var(--blue); }
.tab-item.active svg { transform: translateY(-1px); }
.tab-item:active svg { transform: scale(0.9); }
.tab-item.ai-tab .ai-glyph {
  display: block;
  height: 23px;
  line-height: 23px;
  font-family: var(--font-disp);
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  background: linear-gradient(130deg, var(--blue) 20%, #36cfc9 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: transform 0.25s var(--ease-out), filter 0.25s var(--ease-out);
}
.tab-item.ai-tab.active .ai-glyph { transform: translateY(-1px); filter: drop-shadow(0 2px 8px rgba(10, 84, 245, 0.35)); }
.tab-item.ai-tab:active .ai-glyph { transform: scale(0.9); }
.tab-item.ai-tab { color: var(--ink-3); }
.tab-item.ai-tab.active { color: var(--blue); }

/* ==================== 页面切换 ==================== */
.page { display: none; }
.page.active { display: block; animation: page-in 0.35s var(--ease-out); }
@keyframes page-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==================== AI 页：App式固定布局(仅移动端壳, 桌面保持整页滚动) ==================== */
@media (max-width: 1079px) {
  #page-ai.active {
    display: flex;
    flex-direction: column;
    height: calc(100vh - var(--nav-height) - var(--tab-height) - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
    height: calc(100dvh - var(--nav-height) - var(--tab-height) - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
    overflow: hidden;
    animation: none;
  }
  .ai-page { height: 100%; min-height: 0; overflow: hidden; }
  .ai-hero { flex-shrink: 0; }
  .ai-chat {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  .ai-suggestions { flex-shrink: 0; }
  .ai-input-bar {
    position: static !important;
    bottom: auto !important;
    flex-shrink: 0;
    margin: 8px 0 8px;
  }
  body.on-ai .app-container { padding-bottom: 0 !important; }
  .ai-foot-hint { display: none; }
}

/* ==================== 赛事中心页 ==================== */
.race-banner {
  position: relative;
  width: 100%;
  margin-top: 18px;
  padding: 30px 24px 28px;
  background: linear-gradient(135deg, var(--blue-tint) 0%, #f7faff 55%, var(--bg-soft) 100%);
  border-radius: var(--radius-lg);
  border: 1px solid #dfe8fb;
  overflow: hidden;
}
@media (min-width: 1080px) { .race-banner { margin-top: 28px; padding: 44px 44px 42px; } }
.race-banner-year {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 18px;
  letter-spacing: 1px;
}
.race-banner-centre {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink-2);
  letter-spacing: 2px;
}
.race-banner-centre .en {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink-3);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.race-banner-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 10px 0 12px;
  line-height: 1.35;
  color: var(--ink);
  word-break: break-all;
}
@media (min-width: 1080px) { .race-banner-title { font-size: 2.1rem; } }
.race-banner-status {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 5px 16px;
  background: var(--card);
  color: var(--red);
  border: 1px solid #f3c7c8;
  border-radius: 100px;
}

/* 功能标签栏: 黑底白字胶囊 */
.race-tabs {
  display: flex;
  gap: 8px;
  padding: 22px 0 6px;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.race-tabs::-webkit-scrollbar { display: none; }
.race-tab {
  flex-shrink: 0;
  padding: 9px 22px;
  font-size: 0.98rem;
  font-weight: 600;
  color: #fff;
  background: var(--ink);
  border-radius: 100px;
  border: 1px solid var(--ink);
  cursor: pointer;
  transition: var(--transition);
}
.race-tab:hover { background: #1d2637; }
.race-tab.active {
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 6px 16px rgba(10, 84, 245, 0.28);
}

/* 赛事切换器: 全部赛事独立详情 */
.race-switch {
  display: flex;
  gap: 8px;
  padding: 16px 0 4px;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.race-switch::-webkit-scrollbar { display: none; }
.race-chip {
  flex-shrink: 0;
  padding: 8px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-2);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 100px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.race-chip:hover { border-color: var(--blue); color: var(--blue); }
.race-chip.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  box-shadow: 0 6px 16px rgba(10, 84, 245, 0.28);
}

/* 排行榜(紧凑·仅赛程标签显示) */
.leaderboard { padding: 16px 0 0; }
.leaderboard-title {
  font-size: 1.04rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--ink);
}
.leaderboard-podium {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 10px;
}
@media (min-width: 1080px) { .leaderboard-podium { gap: 16px; } }
.podium-item {
  text-align: center;
  padding: 13px 12px 11px;
  background: var(--card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  min-width: 92px;
  cursor: pointer;
  transition: var(--transition);
}
@media (min-width: 1080px) { .podium-item { min-width: 140px; padding: 18px 18px 15px; } }
.podium-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.podium-item.first { border-color: #ecd9a0; background: linear-gradient(180deg, #fffaee, #fff 60%); min-height: 108px; }
.podium-item.second { min-height: 98px; }
.podium-item.third { min-height: 90px; }
.podium-rank {
  font-size: 1.06rem;
  font-weight: 800;
  margin-bottom: 3px;
  letter-spacing: 1px;
}
.podium-item.first .podium-rank { color: var(--gold); }
.podium-item.second .podium-rank { color: var(--silver); }
.podium-item.third .podium-rank { color: var(--bronze); }
.podium-name { font-size: 0.92rem; font-weight: 700; margin-bottom: 1px; }
.podium-club { font-size: 0.78rem; color: var(--ink-3); }
.podium-time { font-size: 0.8rem; font-weight: 700; color: var(--blue); font-variant-numeric: tabular-nums; }
.leaderboard-hint {
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue);
  padding: 8px 0 0;
  letter-spacing: 1px;
}
.leaderboard-full { display: none; }
.leaderboard-full.open {
  display: block;
  margin-top: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 12px 14px;
  animation: page-in 0.3s var(--ease-out);
}
.lb-full-title { font-size: 0.95rem; font-weight: 800; margin-bottom: 6px; color: var(--ink); }
.lb-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 10px;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}
.lb-row:last-child { border-bottom: none; }
.lb-row.top { background: var(--blue-tint); border-radius: 8px; border-bottom-color: transparent; margin-bottom: 2px; }
.lb-rank { font-weight: 800; color: var(--ink-3); min-width: 28px; font-variant-numeric: tabular-nums; }
.lb-row.top .lb-rank { color: var(--blue); }
.lb-name { flex: 1; font-weight: 600; color: var(--ink); word-break: break-all; }
.lb-time { font-weight: 700; color: var(--ink-2); font-variant-numeric: tabular-nums; }

/* 赛事回放 */
.race-replay { margin: 2px 0 16px; }
.race-replay video {
  width: 100%;
  max-height: 420px;
  display: block;
  border-radius: var(--radius);
  background: #0b1220;
  box-shadow: var(--shadow-md);
}
.race-replay-cap {
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-3);
  margin-top: 7px;
}

/* 赞助商标签 */
.sponsor-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 14px; }
.sponsor-tag {
  padding: 5px 13px;
  background: var(--blue-tint);
  color: var(--blue-deep);
  border: 1px solid #d4e2fb;
  border-radius: 100px;
  font-size: 0.84rem;
  font-weight: 600;
}

/* 64进32分组公示 */
.race-groups-title { font-size: 1rem; font-weight: 800; margin: 18px 0 10px; color: var(--ink); }
.race-groups {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(158px, 1fr));
  gap: 9px;
}
.race-group-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 9px 11px;
  box-shadow: var(--shadow-sm);
}
.race-group-no { font-size: 0.78rem; font-weight: 800; color: var(--blue); margin-bottom: 4px; }
.race-group-card span { display: block; font-size: 0.85rem; color: var(--ink-2); padding: 2px 0; word-break: break-all; }
.race-crew { font-size: 0.88rem !important; color: var(--ink-3) !important; border-top: 1px dashed var(--line-strong); padding-top: 10px; }

/* 标签内容区 */
.race-content { padding: 6px 0 10px; }
.race-content-section { display: none; }
.race-content-section.active { display: block; animation: page-in 0.3s var(--ease-out); }
.schedule-item {
  display: flex;
  gap: 16px;
  padding: 15px 2px;
  border-bottom: 1px solid var(--line);
}
.schedule-item:last-child { border-bottom: none; }
.schedule-time {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--blue);
  white-space: nowrap;
  min-width: 92px;
}
.schedule-info { flex: 1; font-size: 0.98rem; }
.schedule-info .schedule-stage { font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.schedule-info .schedule-detail { color: var(--ink-2); font-size: 0.9rem; }

/* 社区入口栏 */
.community-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 26px 0 10px;
  padding: 18px 22px;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: var(--transition);
}
.community-entry:hover { border-color: #c6d7ff; box-shadow: 0 8px 22px rgba(10, 84, 245, 0.08); }
.community-entry svg { color: var(--blue); }
.community-entry-text { font-size: 1.02rem; font-weight: 700; color: var(--ink); }
.community-entry-text .en { font-size: 0.82rem; font-weight: 600; color: var(--ink-3); margin-left: 8px; }

/* ==================== AI 助手页 ==================== */
/* (旧版AI页布局已被 v3.3 固定视口布局取代, 此段仅保留气泡等通用样式) */
.ai-header { padding: 24px 16px 14px; text-align: center; }
.ai-header .ai-avatar {
  width: 68px;
  height: 68px;
  margin: 0 auto 14px;
  border-radius: 22px;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(10, 84, 245, 0.25);
}
.ai-header h2 { font-size: 1.25rem; font-weight: 800; color: var(--ink); }
.ai-header p { font-size: 0.85rem; color: var(--ink-3); margin-top: 4px; }
.ai-chat {
  flex: 1;
  overflow-y: auto;
  padding: 10px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ai-msg {
  max-width: 82%;
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 1rem;
  line-height: 1.6;
  word-break: break-all;
}
.ai-msg.bot {
  align-self: flex-start;
  background: var(--bg-soft);
  color: var(--ink);
  border-bottom-left-radius: 6px;
}
.ai-msg.user {
  align-self: flex-end;
  background: var(--blue);
  color: #fff;
  font-weight: 500;
  border-bottom-right-radius: 6px;
}
.ai-input-bar {
  display: flex;
  gap: 10px;
  padding: 12px 16px 16px;
}
.ai-input {
  flex: 1;
  padding: 12px 18px;
  background: var(--bg-soft);
  border: 1.5px solid transparent;
  border-radius: 100px;
  color: var(--ink);
  font-size: 1rem;
  transition: var(--transition);
}
.ai-input:focus { background: var(--card); border-color: var(--blue); }
.ai-send {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: var(--transition);
  box-shadow: 0 8px 18px rgba(10, 84, 245, 0.3);
}
.ai-send:hover { background: var(--blue-deep); }
.ai-send:active { transform: scale(0.92); }
.ai-suggestions { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 16px 10px; }
.ai-suggestion {
  font-size: 0.88rem;
  font-weight: 600;
  padding: 7px 16px;
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  color: var(--ink-2);
  cursor: pointer;
  transition: var(--transition);
}
.ai-suggestion:hover { border-color: var(--blue); color: var(--blue); }

/* ==================== 我的页面 ==================== */
.profile-header {
  padding: 36px 20px 24px;
  text-align: center;
}
.profile-avatar {
  width: 78px;
  height: 78px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--blue-tint);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  font-weight: 800;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--blue-tint), var(--shadow-md);
  overflow: hidden;
}
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 50%; }
.profile-name { font-size: 1.3rem; font-weight: 800; color: var(--ink); }
.profile-id { font-size: 0.9rem; color: var(--ink-3); margin-top: 3px; }
.profile-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 20px;
}
.profile-stat .stat-num { font-size: 1.35rem; font-weight: 800; color: var(--ink); }
.profile-stat .stat-label { font-size: 0.85rem; color: var(--ink-3); }
.profile-menu {
  margin: 8px 0 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.profile-menu-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: var(--transition);
}
.profile-menu-item:hover { background: var(--bg-soft); }
.profile-menu-item:last-child { border-bottom: none; }
.profile-menu-item svg { width: 21px; height: 21px; color: var(--blue); }
.profile-menu-item .menu-text { flex: 1; font-size: 1.02rem; font-weight: 600; color: var(--ink); }
.profile-menu-item .menu-arrow { color: var(--ink-3); font-size: 1.2rem; }
.profile-menu-item .menu-tag {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: #7B2FF7;
  background: rgba(123, 47, 247, 0.08);
  border: 1px solid rgba(123, 47, 247, 0.22);
  border-radius: 6px;
  padding: 2px 7px;
  margin-right: -4px;
}

/* ==================== 实验室 ==================== */
.lab-page {
  position: fixed;
  left: 0; right: 0;
  top: calc(var(--nav-height) + env(safe-area-inset-top, 0px));
  bottom: calc(var(--tab-height) + env(safe-area-inset-bottom, 0px));
  z-index: 150;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .26s var(--ease-out), transform .26s var(--ease-out);
  overflow: hidden;
}
.lab-page.show { opacity: 1; transform: none; }
.lab-page[hidden] { display: none; }
.lab-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.lab-back {
  width: 36px; height: 36px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: var(--card);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--ink);
  flex-shrink: 0;
  transition: var(--transition);
}
.lab-back:hover { border-color: #c6d7ff; color: var(--blue); }
.lab-back:active { transform: scale(.92); }
.lab-title { font-weight: 800; font-size: 1.08rem; color: var(--ink); white-space: nowrap; letter-spacing: .2px; }
.lab-title-sub { font-size: 0.7rem; font-weight: 700; letter-spacing: .16em; color: #7B2FF7; margin-left: 8px; }
.lab-intro {
  margin: 0;
  padding: 12px 18px 4px;
  font-size: 0.82rem;
  color: var(--ink-3);
  flex-shrink: 0;
}
.lab-scroll { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.lab-list { margin: 8px 0 0; }
.lab-item {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: background .18s ease;
}
.lab-item:hover { background: var(--bg-soft); }
.lab-item:active { background: var(--bg-soft); }
.lab-num {
  font-size: 21px;
  font-weight: 300;
  color: #7B2FF7;
  min-width: 30px;
  font-variant-numeric: tabular-nums;
}
.lab-body { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.lab-body b { font-size: 1.04rem; font-weight: 800; color: var(--ink); letter-spacing: .2px; }
.lab-body span { font-size: 0.82rem; color: var(--ink-3); }
.lab-arrow { color: var(--ink-3); font-size: 1.25rem; align-self: center; }
.lab-foot {
  margin: 0;
  padding: 26px 18px 30px;
  font-size: 0.7rem;
  letter-spacing: .12em;
  color: var(--ink-3);
  text-align: center;
  opacity: .7;
}

/* ==================== 登录弹窗 ==================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 18, 32, 0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 300;
  padding: 20px;
}
.modal-overlay.show { display: flex; animation: overlay-in 0.25s var(--ease-out); }
@keyframes overlay-in { from { opacity: 0; } to { opacity: 1; } }
.modal {
  width: 100%;
  max-width: 400px;
  background: var(--card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: 34px 28px 26px;
  box-shadow: var(--shadow-pop);
  animation: modal-in 0.3s var(--ease-out);
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(18px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal h2 { font-size: 1.35rem; font-weight: 800; text-align: center; margin-bottom: 26px; color: var(--ink); }
.form-group { margin-bottom: 18px; }
.form-label {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 8px;
  display: block;
}
.form-input {
  width: 100%;
  padding: 13px 16px;
  background: var(--bg-soft);
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-size: 1rem;
  transition: var(--transition);
}
.form-input:focus { background: var(--card); border-color: var(--blue); }
.btn-primary {
  width: 100%;
  padding: 14px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  border-radius: var(--radius-sm);
  font-size: 1.05rem;
  letter-spacing: 4px;
  transition: var(--transition);
  box-shadow: 0 8px 20px rgba(10, 84, 245, 0.25);
}
.btn-primary:hover { background: var(--blue-deep); }
.btn-primary:active { transform: scale(0.98); }
.btn-ghost {
  width: 100%;
  padding: 12px;
  color: var(--ink-3);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
}
.btn-ghost:hover { color: var(--blue); }

/* ==================== 登录/注册弹窗（小紫书同款） ==================== */
.auth-modal { max-width: 380px; padding: 32px 28px 26px; }
.auth-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--ink-3);
  transition: all 0.2s var(--ease-out);
}
.auth-close:hover { background: var(--bg-soft); color: var(--ink); }
.auth-close:active { transform: scale(0.88); }
.auth-header { text-align: center; margin-bottom: 22px; }
.auth-logo {
  display: block;
  margin: 0 auto 10px;
  width: 52px;
  height: 52px;
  border-radius: 13px;
  object-fit: contain;
  box-shadow: 0 6px 18px rgba(10, 84, 245, 0.22);
}
.auth-header h2 { font-size: 1.3rem; font-weight: 800; color: var(--ink); letter-spacing: 0.5px; margin-bottom: 0; }
.auth-form { animation: auth-form-in 0.28s var(--ease-out) both; }
@keyframes auth-form-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.auth-form .input-group { margin-bottom: 15px; }
.auth-form .input-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-2);
  margin-bottom: 6px;
  transition: color 0.2s;
}
.auth-form .input-group input {
  width: 100%;
  height: 46px;
  border: 1.5px solid var(--line);
  border-radius: 13px;
  padding: 0 15px;
  font-size: 1rem;
  background: var(--bg-soft);
  color: var(--ink);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s, transform 0.2s;
}
.auth-form .input-group input:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--card);
  box-shadow: 0 0 0 4px rgba(10, 84, 245, 0.12);
  transform: translateY(-1px);
}
.auth-form .input-group:focus-within label { color: var(--blue); }
.auth-submit {
  width: 100%;
  height: 46px;
  background: linear-gradient(135deg, #3d7bff, var(--blue) 55%, var(--blue-deep));
  color: #fff;
  border-radius: 13px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 4px;
  margin-top: 8px;
  box-shadow: 0 8px 22px rgba(10, 84, 245, 0.32);
  transition: all 0.22s var(--ease-out);
}
.auth-submit:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(10, 84, 245, 0.4); }
.auth-submit:active { transform: scale(0.97); }
.auth-submit:disabled { opacity: 0.6; transform: none; }
.auth-switch { text-align: center; margin-top: 16px; font-size: 0.9rem; color: var(--ink-3); }
.auth-switch a { font-weight: 700; color: var(--blue); transition: opacity 0.2s; }
.auth-switch a:active { opacity: 0.6; }

/* ==================== 加载/空状态 ==================== */
.loading-skeleton {
  background: linear-gradient(90deg, var(--bg-soft) 25%, #eceef2 50%, var(--bg-soft) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: var(--radius-sm);
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.empty-state { text-align: center; padding: 44px 20px; color: var(--ink-3); }
.empty-state p { font-size: 1rem; }

/* Toast */
.toast {
  position: fixed;
  top: 74px;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  padding: 11px 22px;
  background: var(--ink);
  color: #fff;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 500;
  z-index: 400;
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
  box-shadow: var(--shadow-pop);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ==================== 详情页 ==================== */
.detail-page { padding: 18px 2px; }
.detail-title { font-size: 1.4rem; font-weight: 800; margin-bottom: 10px; line-height: 1.4; word-break: break-all; }
.detail-meta { display: flex; gap: 14px; font-size: 0.88rem; color: var(--ink-3); margin-bottom: 18px; }
.detail-content {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-sm);
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--ink-2);
}
.detail-content p { margin-bottom: 12px; word-break: break-word; }
.detail-content p:last-child { margin-bottom: 0; }

/* ==================== 页脚（仅桌面，移动端App形态不需要） ==================== */
@media (max-width: 1079px) {
  .site-footer { display: none; }
}
.site-footer {
  padding: 40px 0 16px;
  margin-top: 30px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.site-footer .footer-brand {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: 0.5px;
}
.site-footer .footer-brand .fpv-badge {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--blue);
  border: 1.5px solid currentColor;
  border-radius: 6px;
  padding: 1px 7px;
  margin-left: 8px;
  vertical-align: 2px;
}
.site-footer p { font-size: 0.85rem; color: var(--ink-3); margin-top: 8px; }

/* ==================== 设置页 ==================== */
.settings-modal { max-width: 480px; padding: 0; overflow: hidden; }
.settings-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-tint), transparent);
}
.settings-head h2 { font-size: 1.15rem; font-weight: 800; margin: 0; text-align: left; }
.settings-close {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  color: var(--ink-3);
  transition: var(--transition);
}
.settings-close:hover { background: var(--bg-soft); color: var(--ink); }
.settings-body { padding: 10px 14px 18px; max-height: min(66vh, 620px); overflow-y: auto; }
.settings-group { margin-top: 14px; }
.settings-group-title {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--ink-3);
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0 10px 7px;
}
.settings-group .settings-row { border-radius: var(--radius-sm); }
.settings-group .settings-row:first-of-type { border-top-left-radius: var(--radius-sm); }
.settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12.5px 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-bottom: none;
  font-size: 0.94rem;
  transition: var(--transition);
}
.settings-row:last-of-type { border-bottom: 1px solid var(--line); border-radius: 0 0 var(--radius-sm) var(--radius-sm); }
.settings-row:first-of-type { border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
.settings-label { font-weight: 600; color: var(--ink); flex-shrink: 0; }
.settings-value { font-size: 0.84rem; color: var(--ink-3); text-align: right; }
.settings-action { cursor: pointer; }
.settings-action:hover { background: var(--bg-tint); }
.settings-action:hover .settings-label { color: var(--blue); }
.settings-arrow { color: var(--ink-3); font-size: 1.1rem; }
.settings-copyright { text-align: center; font-size: 0.76rem; color: var(--ink-3); margin-top: 20px; }

/* ==================== 协议全文 ==================== */
.agreement-modal { max-width: 560px; padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.agreement-body {
  padding: 18px 24px 8px;
  max-height: min(64vh, 600px);
  overflow-y: auto;
  font-size: 0.88rem;
  line-height: 1.85;
  color: var(--ink-2);
}
.agreement-body h3 {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--ink);
  margin: 18px 0 8px;
}
.agreement-body h3:first-of-type { margin-top: 6px; }
.agreement-body p { margin-bottom: 8px; text-align: justify; }
.agreement-body b { color: var(--ink); }
.agreement-body .agr-meta {
  font-size: 0.8rem;
  color: var(--ink-3);
  background: var(--bg-soft);
  border-radius: 8px;
  padding: 8px 12px;
  margin-bottom: 6px;
}
.agreement-foot { padding: 14px 24px 18px; border-top: 1px solid var(--line); }
.agreement-foot .btn-primary { width: 100%; }

/* ==================== 资讯详情弹窗 ==================== */
.news-detail-modal { max-width: 560px; padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.news-detail-head { padding: 20px 24px 14px; }
.news-detail-title { font-size: 1.18rem; font-weight: 800; color: var(--ink); line-height: 1.5; margin: 10px 0 8px; }
.news-detail-meta { display: flex; align-items: center; gap: 8px; font-size: 0.78rem; color: var(--ink-3); flex-wrap: wrap; }
.news-detail-body {
  padding: 4px 24px 20px;
  max-height: min(58vh, 540px);
  overflow-y: auto;
  font-size: 0.92rem;
  line-height: 1.9;
  color: var(--ink-2);
}
.news-detail-body p { margin-bottom: 12px; text-align: justify; }
.news-detail-body img { border-radius: var(--radius-sm); margin-bottom: 12px; }
.news-detail-src { display: inline-flex; gap: 3px; vertical-align: middle; }

/* ==================== 推送通知（V0.0.1.1Beta） ==================== */
.nav-badge {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 100px;
  background: var(--red);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 800;
  line-height: 17px;
  text-align: center;
  opacity: 0;
  transform: scale(0.5);
  transition: var(--transition);
  pointer-events: none;
}
.nav-badge.show { opacity: 1; transform: scale(1); }
.nav-icon-btn { position: relative; }

.push-toast {
  position: fixed;
  top: 74px;
  right: 16px;
  z-index: 1200;
  width: min(340px, calc(100vw - 32px));
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-pop);
  padding: 13px 16px;
  cursor: pointer;
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.push-toast.show { opacity: 1; transform: translateX(0); }
.push-toast-title { font-size: 0.94rem; font-weight: 800; color: var(--ink); margin-bottom: 3px; }
.push-toast-body { font-size: 0.84rem; color: var(--ink-2); line-height: 1.55; }
.push-toast-body::after { content: '点击查看'; display: block; margin-top: 6px; font-size: 0.72rem; color: var(--blue); font-weight: 700; }

.push-panel {
  position: fixed;
  top: 66px;
  right: 14px;
  z-index: 1150;
  width: min(360px, calc(100vw - 28px));
  max-height: 62vh;
  overflow-y: auto;
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow-pop);
  animation: page-in 0.28s var(--ease-out);
}
.push-panel-head {
  padding: 13px 18px;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-tint), transparent);
  position: sticky;
  top: 0;
  z-index: 1;
}
.push-panel-item { padding: 12px 18px; border-bottom: 1px solid var(--line); cursor: pointer; transition: var(--transition); }
.push-panel-item:last-child { border-bottom: none; }
.push-panel-item:hover { background: var(--bg-tint); }
.push-panel-title { font-size: 0.9rem; font-weight: 700; color: var(--ink); }
.push-panel-body { font-size: 0.8rem; color: var(--ink-2); margin-top: 2px; line-height: 1.5; }
.push-panel-time { font-size: 0.7rem; color: var(--ink-3); margin-top: 4px; }
.push-panel-empty { padding: 34px 18px; text-align: center; font-size: 0.86rem; color: var(--ink-3); }

/* ==================== v2.2 追加: 开屏动画 / AI页精修 / 输入栏悬浮玻璃 ==================== */
#splashScreen { position: fixed; inset: 0; z-index: 9999; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; transition: opacity .45s var(--ease-out), transform .45s var(--ease-out); }
#splashScreen.out { opacity: 0; transform: scale(.96); pointer-events: none; }
.splash-logo { width: 96px; height: 96px; border-radius: 22px; object-fit: contain; box-shadow: 0 18px 44px rgba(10,84,245,.18); animation: splashPop .55s var(--ease-out) both; will-change: transform, opacity; backface-visibility: hidden; }
.splash-name { font-size: 1.55rem; font-weight: 800; letter-spacing: 3px; color: var(--ink); }
.splash-slogan { font-size: .88rem; color: var(--ink-3); letter-spacing: 5px; }
.splash-bar { width: 138px; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; margin-top: 10px; }
.splash-bar i { display: block; width: 42%; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--blue), #36cfc9); animation: splashBar 1.1s var(--ease-out) infinite; }
@keyframes splashPop { from { transform: scale(.78); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes splashBar { 0% { transform: translateX(-130%); } 100% { transform: translateX(330%); } }

.ai-page { display: flex; flex-direction: column; }
.ai-hero { position: relative; display: flex; align-items: center; gap: 14px; padding: 18px 20px; margin: 16px 0 14px; background: linear-gradient(135deg, #f3f7ff 0%, #ffffff 52%, #effcf9 100%); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.ai-hero::after { content: ''; position: absolute; right: -46px; top: -46px; width: 170px; height: 170px; border-radius: 50%; background: radial-gradient(circle, rgba(10,84,245,.09), transparent 70%); pointer-events: none; }
.ai-hero-deco { position: absolute; right: 0; top: 0; height: 100%; width: 46%; max-width: 300px; object-fit: cover; object-position: center; pointer-events: none; -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 45%, #000 100%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 45%, #000 100%); }
.ai-hero-avatar { width: 54px; height: 54px; flex-shrink: 0; border-radius: 17px; background: linear-gradient(135deg, var(--blue), #36cfc9); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(10,84,245,.28); overflow: hidden; position: relative; z-index: 1; }
.ai-hero-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ai-hero-text { min-width: 0; position: relative; z-index: 1; }
.ai-hero-name { display: flex; align-items: center; gap: 8px; font-size: 1.16rem; font-weight: 800; color: var(--ink); }
.ai-online { display: inline-flex; align-items: center; gap: 5px; font-size: .72rem; font-weight: 600; color: #0f9d58; }
.ai-online i { width: 6px; height: 6px; border-radius: 50%; background: #0f9d58; animation: onlinePulse 1.9s infinite; }
@keyframes onlinePulse { 0%,100% { box-shadow: 0 0 0 0 rgba(15,157,88,.4); } 55% { box-shadow: 0 0 0 6px rgba(15,157,88,0); } }
.ai-hero-desc { margin-top: 2px; font-size: .84rem; color: var(--ink-3); }
.ai-hero-badge { margin-left: auto; position: relative; z-index: 1; flex-shrink: 0; font-size: .72rem; font-weight: 700; color: var(--blue); background: var(--blue-tint); border: 1px solid rgba(10,84,245,.18); padding: 4px 11px; border-radius: 999px; }
.ai-chat { display: flex; flex-direction: column; gap: 14px; padding: 4px 2px 8px; }
.ai-row { display: flex; gap: 10px; animation: aiIn .32s var(--ease-out) both; }
.ai-row.user { justify-content: flex-end; }
@keyframes aiIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.ai-bubble-avatar { width: 34px; height: 34px; flex-shrink: 0; border-radius: 11px; background: linear-gradient(135deg, var(--blue), #36cfc9); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(10,84,245,.22); overflow: hidden; }
.ai-bubble-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 11px; }
.ai-bubble-col { max-width: 82%; min-width: 0; }
.ai-bubble-name { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; font-size: .72rem; font-weight: 600; color: var(--ink-3); }
.ai-bubble-time { font-weight: 400; font-size: .66rem; color: #b7becb; }
.ai-bubble-text { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 5px 16px 16px 16px; padding: 10px 14px; font-size: .95rem; line-height: 1.75; color: var(--ink-2); white-space: pre-wrap; word-break: break-word; }
.ai-bubble-user { display: inline-flex; align-items: flex-end; gap: 8px; max-width: 82%; background: var(--blue); border-radius: 16px 5px 16px 16px; padding: 10px 14px; box-shadow: 0 6px 16px rgba(10,84,245,.24); }
.ai-bubble-user .ai-bubble-text { background: none; border: none; padding: 0; color: #fff; border-radius: 0; }
.ai-bubble-user .ai-bubble-time { color: rgba(255,255,255,.72); flex-shrink: 0; }
.ai-dots { display: inline-flex; gap: 5px; padding: 5px 2px; }
.ai-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); animation: dotPulse 1.25s infinite; }
.ai-dots i:nth-child(2) { animation-delay: .18s; }
.ai-dots i:nth-child(3) { animation-delay: .36s; }
@keyframes dotPulse { 0%, 60%, 100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-4px); opacity: 1; } }
.ai-suggestions { flex-wrap: nowrap; overflow-x: auto; padding: 6px 2px 10px; scrollbar-width: none; }
.ai-suggestions::-webkit-scrollbar { display: none; }
.ai-suggestion { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; background: var(--blue-tint); border: 1px solid rgba(10,84,245,.16); color: var(--blue-deep); font-size: .84rem; }
.ai-suggestion svg { width: 14px; height: 14px; }
.ai-suggestion:active { transform: scale(.95); }
.ai-input-bar { position: sticky; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); z-index: 30; margin-top: 10px; padding: 8px 8px 8px 16px; gap: 8px; background: rgba(255,255,255,.88); -webkit-backdrop-filter: blur(16px) saturate(1.6); backdrop-filter: blur(16px) saturate(1.6); border: 1px solid var(--line-strong); border-radius: 999px; box-shadow: var(--shadow-md); }
.ai-input-icon { width: 18px; height: 18px; color: var(--ink-3); flex-shrink: 0; }
.ai-input { background: transparent; border: none; padding: 11px 4px; font-size: .98rem; }
.ai-input:focus { background: transparent; border: none; }
.ai-send { width: 44px; height: 44px; flex-shrink: 0; }
.ai-foot-hint { text-align: center; font-size: .72rem; color: #b7becb; padding: 10px 0 2px; }

/* ==================== v3.0 视觉升级层：赛车风白底高级感 ==================== */
/* 设计语言：方格旗 + HUD角标 + 速度线 + DIN数字(Bahnschrift) + 玻璃层 */

:root { --font-disp: 'Bahnschrift', 'DIN Alternate', 'Segoe UI', sans-serif; }

/* ---- 全局氛围：蓝图网格 + 顶部竞速蓝渐变线 ---- */
body {
  background:
    linear-gradient(180deg, rgba(10, 84, 245, 0.045), transparent 120px),
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(13, 18, 32, 0.022) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(13, 18, 32, 0.022) 39px 40px),
    radial-gradient(1100px 460px at 88% -160px, rgba(10, 84, 245, 0.05), transparent 60%),
    radial-gradient(880px 400px at -6% 10%, rgba(0, 179, 154, 0.035), transparent 55%),
    var(--bg);
}
.app-container { position: relative; }

/* ---- 导航：玻璃质感 + 渐变发丝线 ---- */
.nav-bar {
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(18px) saturate(1.7);
  backdrop-filter: blur(18px) saturate(1.7);
  border-bottom: none;
  box-shadow: 0 1px 0 rgba(13, 18, 32, 0.04), 0 8px 30px rgba(16, 24, 40, 0.05);
}
.nav-bar::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue) 18%, #36cfc9 50%, var(--blue) 82%, transparent);
  opacity: .55;
}
.nav-logo { border-radius: 10px; box-shadow: 0 4px 14px rgba(10, 84, 245, 0.18); transition: transform .35s var(--ease-out); }
.nav-bar:hover .nav-logo { transform: rotate(-6deg) scale(1.05); }
.nav-brand { font-family: var(--font-disp); font-weight: 800; letter-spacing: 2.5px; font-size: 1.06rem; background: linear-gradient(135deg, var(--ink) 30%, var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-motto { position: relative; padding-left: 12px; }
.nav-motto::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 3px; height: 60%; border-radius: 2px; background: linear-gradient(180deg, var(--blue), #36cfc9); }
.nav-icon-btn { border-radius: 12px; transition: all .25s var(--ease-out); }
.nav-icon-btn:hover { background: var(--blue-tint); color: var(--blue); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(10, 84, 245, 0.16); }
.nav-icon-btn:active { transform: scale(.92); }

/* ---- 模块头 ---- */
.module { position: relative; }
.module-title { font-weight: 800; letter-spacing: .5px; }
.module-title .en-sub {
  font-family: var(--font-disp); font-size: .68rem; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--ink-3); margin-left: 8px; padding-left: 10px; position: relative;
}
.module-title .en-sub::before { content: ''; position: absolute; left: 0; top: 15%; height: 70%; width: 2px; border-radius: 2px; background: linear-gradient(180deg, var(--blue), #36cfc9); }
.module-more {
  font-size: .82rem; font-weight: 700; color: var(--blue-deep); padding: 6px 14px; border-radius: 999px;
  background: var(--blue-tint); border: 1px solid rgba(10, 84, 245, 0.14);
  transition: all .25s var(--ease-out);
}
.module-more:hover { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(10, 84, 245, 0.3); transform: translateY(-1px); }
.module-more:active { transform: scale(.95); }
.news-refresh-badge { font-family: var(--font-disp); animation: badgePop 1.6s infinite; }
@keyframes badgePop { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }

/* ---- 入场编排：stagger 上升 ---- */
.page.active .module { animation: riseIn .6s var(--ease-out) both; }
.page.active .news-section { animation-delay: .04s; }
.page.active .race-section { animation-delay: .12s; }
.page.active .partners-section { animation-delay: .2s; }
.page.active .community-section { animation-delay: .28s; }
@keyframes riseIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* ---- 轮播：大圆角影院感 ---- */
.carousel { border-radius: 24px; overflow: hidden; box-shadow: 0 18px 50px rgba(16, 24, 40, 0.16), 0 2px 8px rgba(16, 24, 40, 0.06); }
.carousel-track { transition: transform .6s var(--ease-out); }
.carousel-track img { will-change: transform; }
.carousel-dots {
  display: flex; gap: 6px; padding: 7px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.72); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 4px 16px rgba(16, 24, 40, 0.18);
}
.carousel-dots i { transition: all .35s var(--ease-out); }
.carousel-dots i.on { width: 20px !important; background: var(--blue); box-shadow: 0 0 10px rgba(10, 84, 245, 0.5); }

/* ---- 资讯/赛事/社区卡片：双层阴影 + 抬升 ---- */
.news-list > *, .race-list > *, .community-card {
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.news-list > :hover, .race-list > :hover, .community-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(16, 24, 40, 0.13), 0 3px 10px rgba(16, 24, 40, 0.06);
}
.community-card { overflow: hidden; border: 1px solid var(--line); }
.community-card::before {
  content: ''; position: absolute; z-index: 2; left: 0; top: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--blue), #36cfc9, transparent 85%);
  opacity: 0; transition: opacity .3s;
}
.community-card:hover::before { opacity: 1; }

/* ---- 社区入口横幅：渐变 + 速度线 ---- */
.community-entry {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: linear-gradient(120deg, #eef4ff 0%, #ffffff 45%, #eafaf7 100%);
  border: 1px solid rgba(10, 84, 245, 0.14);
  transition: all .3s var(--ease-out);
}
.community-entry::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(115deg, transparent 0 34px, rgba(10, 84, 245, 0.05) 34px 36px);
}
.community-entry::after {
  content: ''; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 84, 245, 0.12), transparent 70%);
}
.community-entry:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(10, 84, 245, 0.14); border-color: rgba(10, 84, 245, 0.3); }
.community-entry svg { transition: transform .3s var(--ease-out); }
.community-entry:hover svg { transform: translateX(4px); }

/* ---- 底部dock：玻璃 + 选中胶囊发光 ---- */
.tab-bar {
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  backdrop-filter: blur(20px) saturate(1.8);
  border-top: 1px solid rgba(13, 18, 32, 0.06);
  box-shadow: 0 -10px 34px rgba(16, 24, 40, 0.08);
}
.tab-item { transition: all .28s var(--ease-out); border-radius: 15px; }
.tab-item.active { background: var(--blue-tint); }
.tab-item.active::after {
  content: ''; display: block; width: 5px; height: 5px; margin: 3px auto 0; border-radius: 50%;
  background: var(--blue); box-shadow: 0 0 8px var(--blue);
}
.tab-item:active { transform: scale(.9); }

/* ---- 赛事页：banner 网格 + DIN 大数字 + 分段控件 ---- */
.race-banner {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--line);
  background: linear-gradient(135deg, #f4f8ff 0%, #ffffff 55%, #effcf9 100%);
  box-shadow: var(--shadow-md);
}
.race-banner::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(115deg, transparent 0 60px, rgba(10, 84, 245, 0.035) 60px 62px);
}
.race-banner-year { font-family: var(--font-disp); font-weight: 800; letter-spacing: 1px; }
.race-banner-year span {
  display: block; background: linear-gradient(135deg, var(--blue) 20%, #36cfc9);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.race-banner-title { text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8); }
.race-tabs {
  display: flex; gap: 3px; padding: 4px; border-radius: 15px;
  background: var(--bg-soft); border: 1px solid var(--line);
}
.race-tab { border-radius: 11px; font-weight: 700; font-size: .88rem; color: var(--ink-3); transition: all .25s var(--ease-out); }
.race-tab:hover { color: var(--blue-deep); }
.race-tab.active { background: #fff; color: var(--blue); box-shadow: 0 3px 10px rgba(16, 24, 40, 0.1); }

/* ---- 排行榜领奖台：金属渐变数字 ---- */
.podium-rank { font-family: var(--font-disp); font-weight: 800; font-size: 2.1rem; line-height: 1; }
.podium-item.first .podium-rank { background: linear-gradient(160deg, #ffe9a8 10%, #d4a017 55%, #8a6508); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 2px 4px rgba(185, 138, 18, 0.3)); }
.podium-item.second .podium-rank { background: linear-gradient(160deg, #f2f4f8, #9aa6b5 60%, #6b7686); -webkit-background-clip: text; background-clip: text; color: transparent; }
.podium-item.third .podium-rank { background: linear-gradient(160deg, #f5d7bd, #a05a2c 65%, #6e3c1a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.leaderboard-title { font-weight: 800; letter-spacing: .5px; }

/* ---- 骨架屏/杂项打磨 ---- */
.loading-skeleton { border-radius: var(--radius-sm); overflow: hidden; }
.loading-skeleton::after {
  content: ''; display: block; height: 100%;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.65) 50%, transparent 70%);
  animation: shimmer 1.4s infinite;
}
@keyframes shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid rgba(10, 84, 245, 0.5); outline-offset: 2px; border-radius: 8px; }

/* ==================== 赛事详情 v2：往届回顾 / 参赛作品（旧版详情页内容迁移适配） ==================== */
.race-overview-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 4px; }
.race-overview-meta span { padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink-2); font-size: 12.5px; font-weight: 700; }
.race-highlights { list-style: none; margin: 14px 0; padding: 0; display: grid; gap: 8px; }
.race-highlights li { position: relative; padding: 10px 12px 10px 30px; border-radius: 10px; background: var(--bg-soft); color: var(--ink-2); font-size: 13.5px; font-weight: 700; }
.race-highlights li::before { content: ''; position: absolute; left: 12px; top: 16px; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.race-ongoing-tip { color: var(--blue); font-weight: 800; }

/* 赛事页底部社区流（与首页一致） */
.race-community-section { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }

/* ==================== v3.1 设计升级（白底编辑风：双色系统 + 网格纹理 + 玻璃层次） ==================== */
:root {
  --cyan: #00b3c6;
  --amber: #f59e0b;
  --grad-brand: linear-gradient(120deg, var(--blue) 0%, #2f7bff 55%, var(--cyan) 100%);
  --grad-warm: linear-gradient(120deg, #ff7a45, var(--amber));
}

/* 白底 + 顶部柔和光晕 + 细网格纹理 */
body {
  background-color: #fff;
  background-image:
    radial-gradient(1100px 380px at 12% -80px, rgba(10, 84, 245, 0.075), transparent 65%),
    radial-gradient(900px 340px at 88% -60px, rgba(0, 179, 198, 0.06), transparent 62%),
    linear-gradient(rgba(13, 18, 32, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 18, 32, 0.022) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 44px 44px, 44px 44px;
  background-attachment: fixed;
}

/* 顶栏玻璃化 + 底部渐变描边 */
.nav-bar {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px) saturate(1.5);
  -webkit-backdrop-filter: blur(14px) saturate(1.5);
  border-bottom: 1px solid rgba(13, 18, 32, 0.06);
}
.nav-bar::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(10, 84, 245, 0.45), rgba(0, 179, 198, 0.4), transparent);
  pointer-events: none;
}

/* 模块标题：渐变竖条 + 琥珀锚点 + 重墨标题 */
.module-title { padding-left: 15px; }
.module-title::before {
  width: 5px; height: 1.25em; border-radius: 3px;
  background: var(--grad-brand);
  box-shadow: 0 2px 10px rgba(10, 84, 245, 0.4);
}
.module-title::after {
  content: ''; position: absolute; left: 0; top: calc(50% + 0.55em);
  width: 5px; height: 5px; border-radius: 2px; background: var(--amber);
  box-shadow: 0 1px 6px rgba(245, 158, 11, 0.5);
}
.module-title .en-sub {
  background: linear-gradient(90deg, rgba(10, 84, 245, 0.75), rgba(0, 179, 198, 0.85));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  border-left: 1.5px solid var(--line-strong);
}

/* 模块头"更多"：渐变描边胶囊 */
.module-more {
  background: linear-gradient(#fff, #fff) padding-box, var(--grad-brand) border-box;
  border: 1.5px solid transparent;
  border-radius: 999px; padding: 5px 14px; gap: 4px;
}
.module-more:hover { background: var(--grad-brand); border-color: transparent; }
.module-more svg { transition: transform .3s var(--ease-out); }
.module-more:hover svg { transform: translateX(3px); }

/* 资讯列表：时间线质感 */
.news-list { position: relative; }
.news-item {
  border-radius: 12px; padding: 2px 4px; transition: background .25s var(--ease-out), transform .25s var(--ease-out);
}
.news-item:hover { background: linear-gradient(90deg, rgba(10, 84, 245, 0.05), transparent 70%); transform: translateX(3px); }
.news-item .news-dot {
  background: var(--grad-brand);
  box-shadow: 0 0 0 4px rgba(10, 84, 245, 0.1);
}
.news-cat {
  background: linear-gradient(90deg, rgba(10, 84, 245, 0.09), rgba(0, 179, 198, 0.09));
  border: 1px solid rgba(10, 84, 245, 0.16); border-radius: 6px; padding: 1px 8px;
  color: var(--blue-deep, #0645c8);
}

/* 赛事列表行：竞速感 */
.race-item { transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), border-color .25s; }
.race-item:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(11, 18, 32, 0.1); border-color: rgba(10, 84, 245, 0.28); }
.race-tag {
  border-radius: 7px; font-weight: 800; letter-spacing: 1px;
  background: var(--grad-brand); color: #fff;
  box-shadow: 0 3px 10px rgba(10, 84, 245, 0.3);
}
.race-tag.international { background: var(--grad-warm); box-shadow: 0 3px 10px rgba(245, 158, 11, 0.32); }
.race-tag.aerial { background: linear-gradient(120deg, #00b3c6, #0891b2); box-shadow: 0 3px 10px rgba(0, 179, 198, 0.32); }
.race-tag.competition { background: var(--grad-brand); }

/* 底部 tab 栏：渐变胶囊激活态 */
.tab-item.active { background: linear-gradient(135deg, rgba(10, 84, 245, 0.08), rgba(0, 179, 198, 0.08)); }
.tab-item.active .tab-icon { color: var(--blue); }
.tab-item.active::after {
  content: ''; position: absolute; left: 50%; bottom: 2px; transform: translateX(-50%);
  width: 16px; height: 3px; border-radius: 3px; background: var(--grad-brand);
}

/* 通用按钮：品牌渐变 */
.btn-primary, .community-entry, .login-btn {
  background: var(--grad-brand);
  box-shadow: 0 10px 26px rgba(10, 84, 245, 0.3);
}
.btn-primary:hover, .community-entry:hover, .login-btn:hover { filter: brightness(1.06); transform: translateY(-1px); }

/* 轮播：圆角影院卡片 */
.carousel { border-radius: 20px; }
.carousel-dots .carousel-dot.active { background: var(--grad-brand); }

/* 开屏：品牌渐变晕背景 */
#splashScreen {
  background:
    radial-gradient(700px 300px at 50% 8%, rgba(10, 84, 245, 0.08), transparent 70%),
    radial-gradient(500px 260px at 50% 95%, rgba(0, 179, 198, 0.07), transparent 70%), #fff;
}
.splash-name {
  background: linear-gradient(92deg, var(--ink) 30%, var(--blue) 90%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.splash-slogan { color: var(--ink-3); }

/* 赛事标签栏 race-tabs 激活渐变 */
.race-tab.active {
  background: var(--grad-brand); color: #fff; border-color: transparent;
  box-shadow: 0 6px 18px rgba(10, 84, 245, 0.3);
}

@media (max-width: 640px) {
  .module-title::before { width: 4px; }
  .news-item:hover { transform: none; background: rgba(10, 84, 245, 0.04); }
}

.race-works { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 6px; }
.work-card { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--card); box-shadow: 0 10px 24px rgba(11, 18, 32, 0.06); transition: box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.work-card:hover { box-shadow: 0 16px 34px rgba(11, 18, 32, 0.12); transform: translateY(-2px); }
.work-card:first-child { grid-column: span 2; }
.work-meta { display: flex; justify-content: space-between; gap: 12px; padding: 14px 16px 12px; }
.work-no { margin: 0; color: var(--blue); font-size: 11px; font-weight: 900; letter-spacing: 0.1em; }
.work-meta h3 { margin: 4px 0 0; color: var(--ink); font-size: 17px; font-weight: 900; letter-spacing: -0.02em; }
.work-author { margin: 0; flex: 0 0 auto; color: var(--ink-3); font-size: 12px; font-weight: 700; text-align: right; }
.work-author b { display: block; margin-top: 3px; color: var(--ink); font-size: 13.5px; }
.work-player { aspect-ratio: 16 / 9; border-top: 1px solid var(--line); background: var(--ink); }
.work-player iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (max-width: 640px) {
  .race-works { grid-template-columns: 1fr; }
  .work-card:first-child { grid-column: auto; }
  .work-meta { padding: 12px; }
  .work-meta h3 { font-size: 15px; }
  .race-overview-meta span { font-size: 11.5px; padding: 6px 10px; }
}

/* ==================== 全部资讯页（覆盖层: 顶栏/dock不变） ==================== */
.news-all {
  position: fixed;
  left: 0; right: 0;
  top: calc(var(--nav-height) + env(safe-area-inset-top, 0px));
  bottom: calc(var(--tab-height) + env(safe-area-inset-bottom, 0px));
  z-index: 150;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .26s var(--ease-out), transform .26s var(--ease-out);
  overflow: hidden;
}
.news-all.show { opacity: 1; transform: none; }
.news-all[hidden] { display: none; }
.news-all-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.news-all-back {
  width: 36px; height: 36px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: var(--card);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--ink);
  flex-shrink: 0;
  transition: var(--transition);
}
.news-all-back:hover { border-color: #c6d7ff; color: var(--blue); }
.news-all-back:active { transform: scale(.92); }
.news-all-title { font-weight: 800; font-size: 1.08rem; color: var(--ink); white-space: nowrap; letter-spacing: .2px; }
.news-all-count { color: var(--ink-3); font-size: .78rem; font-weight: 500; margin-left: 4px; }
.news-all-search {
  flex: 1;
  display: flex; align-items: center; gap: 8px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 12px;
  height: 38px;
  min-width: 0;
  transition: var(--transition);
}
.news-all-search:focus-within { border-color: #c6d7ff; box-shadow: 0 0 0 3px var(--blue-tint); }
.news-all-search svg { flex-shrink: 0; color: var(--ink-3); }
.news-all-search input {
  flex: 1; min-width: 0;
  border: none; background: none; outline: none;
  font-size: .95rem; color: var(--ink);
}
.news-all-search input::placeholder { color: var(--ink-3); }
.news-all-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.news-all-tabs {
  display: flex; gap: 8px;
  padding: 10px 14px;
  overflow-x: auto;
  flex-shrink: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.news-all-tabs::-webkit-scrollbar { display: none; }
.news-all-tab {
  flex-shrink: 0;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink-2);
  border-radius: 100px;
  padding: 6px 15px;
  font-size: .85rem;
  cursor: pointer;
  transition: var(--transition);
}
.news-all-tab:hover { border-color: #c6d7ff; color: var(--blue); }
.news-all-tab.active { background: var(--blue); border-color: var(--blue); color: #fff; font-weight: 600; }
.news-all-tab:active { transform: scale(.94); }
.news-all-list {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 4px 14px calc(env(safe-area-inset-bottom, 0px) + 20px);
}
.news-all .news-item { animation: none; }
.news-all-empty { text-align: center; color: var(--ink-3); padding: 56px 0; font-size: .95rem; }
@media (min-width: 1080px) {
  .news-all { bottom: 118px; }
  .news-all-head, .news-all-tabs, .news-all-list { width: 100%; max-width: var(--max-width); margin: 0 auto; }
  .news-all-list { padding: 4px 28px 28px; }
  .news-all-head { padding: 14px 28px; }
  .news-all-tabs { padding: 12px 28px; }
  .news-all-search { max-width: 380px; margin-left: auto; }
}

/* ==================== 皮肤中心（App专属） ==================== */
/* 壁纸背景层: 位于页面内容之下(z-index:-1)、body背景之上, 不可交互 */
.skin-layer {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: var(--bg-soft);
}
.skin-layer img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* 皮肤模式: 主内容区改半透明白浮层, 壁纸从边缘透出且文字保持可读 */
body.has-skin .page.active {
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: blur(12px) saturate(1.4);
  backdrop-filter: blur(12px) saturate(1.4);
  border-radius: 20px;
  margin: 10px 0 8px;
  box-shadow: 0 10px 34px rgba(16, 24, 40, 0.1);
  transition: background .3s var(--ease-out);
}
body.has-skin .site-footer {
  background: rgba(255, 255, 255, 0.82);
  border-radius: 18px;
}
@media (max-width: 1079px) {
  body.has-skin .page.active { border-radius: 16px; margin: 8px 0 4px; }
}

/* ---- 皮肤中心覆盖层（仿news-all: 顶栏与dock保持可见） ---- */
.skin-center {
  position: fixed;
  left: 0; right: 0;
  top: calc(var(--nav-height) + env(safe-area-inset-top, 0px));
  bottom: calc(var(--tab-height) + env(safe-area-inset-bottom, 0px));
  z-index: 150;
  background: rgba(255, 255, 255, 0.93);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  backdrop-filter: blur(20px) saturate(1.6);
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .26s var(--ease-out), transform .26s var(--ease-out);
  overflow: hidden;
}
.skin-center.show { opacity: 1; transform: none; }
.skin-center[hidden] { display: none; }
.skin-center-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.skin-center-back {
  width: 36px; height: 36px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: var(--card);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--ink);
  flex-shrink: 0;
  transition: var(--transition);
}
.skin-center-back:hover { border-color: #c6d7ff; color: var(--blue); }
.skin-center-back:active { transform: scale(.92); }
.skin-center-title {
  font-weight: 800;
  font-size: 1.08rem;
  color: var(--ink);
  white-space: nowrap;
  letter-spacing: .2px;
  min-width: 0;
}
.skin-center-cur {
  display: inline-block;
  margin-left: 8px;
  color: var(--ink-3);
  font-size: .74rem;
  font-weight: 500;
  vertical-align: 1px;
  max-width: 38vw;
  overflow: hidden;
  text-overflow: ellipsis;
}
.skin-center-body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
}

/* ---- 网格: 手机2列 / 平板4列 / 桌面5列 ---- */
.skin-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 14px;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}
@media (min-width: 760px) { .skin-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1080px) {
  .skin-grid { grid-template-columns: repeat(5, 1fr); max-width: var(--max-width); padding: 14px 28px; }
}
.skin-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--card);
  cursor: pointer;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), border-color .25s var(--ease-out);
}
.skin-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.skin-card:active { transform: scale(.96); }
.skin-card.active { border-color: var(--blue); box-shadow: 0 0 0 2px var(--blue-tint); }
.skin-card-thumb {
  position: relative;
  aspect-ratio: 9 / 16;
  background: var(--bg-soft);
  overflow: hidden;
}
.skin-card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.skin-card-badge {
  position: absolute;
  top: 8px; right: 8px;
  background: var(--blue);
  color: #fff;
  font-size: .64rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(10, 84, 245, .35);
}
.skin-card-name {
  font-size: .9rem;
  font-weight: 700;
  color: var(--ink);
  padding: 8px 10px 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.skin-card-tag { font-size: .72rem; color: var(--ink-3); padding: 0 10px 9px; }
.skin-center-empty {
  text-align: center;
  color: var(--ink-3);
  padding: 56px 20px;
  font-size: .95rem;
  cursor: pointer;
}

/* ---- 详情视图 ---- */
.skin-detail {
  max-width: 560px;
  margin: 0 auto;
  padding: 18px 16px 24px;
}
.skin-detail-hero {
  width: min(62%, 250px);
  margin: 6px auto 20px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-pop);
  border: 1px solid rgba(255, 255, 255, .65);
}
.skin-detail-hero img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; display: block; }
.skin-detail-name { font-size: 1.3rem; font-weight: 800; color: var(--ink); }
.skin-detail-tag {
  display: inline-block;
  margin-top: 8px;
  font-size: .72rem;
  font-weight: 600;
  color: var(--blue);
  background: var(--blue-tint);
  padding: 4px 11px;
  border-radius: 999px;
}
.skin-detail-desc { margin-top: 14px; font-size: .92rem; color: var(--ink-2); line-height: 1.75; }
.skin-detail-actions {
  flex-shrink: 0;
  padding: 10px 14px calc(env(safe-area-inset-bottom, 0px) + 12px);
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, .9);
}
.skin-apply-btn {
  display: block;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  height: 48px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 2px;
  box-shadow: 0 8px 22px rgba(10, 84, 245, .32);
  transition: var(--transition);
}
.skin-apply-btn:hover { background: var(--blue-deep); }
.skin-apply-btn:active { transform: scale(.97); }
.skin-apply-btn:disabled { opacity: .72; cursor: default; }
.skin-apply-btn.is-restore {
  background: var(--card);
  color: var(--ink-2);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-sm);
}
.skin-apply-btn.is-restore:hover { color: var(--red); border-color: #f3c1c3; background: var(--red-tint); }
@media (min-width: 1080px) {
  .skin-center { bottom: 118px; }
  .skin-center-head { padding: 14px 28px; }
  .skin-detail-actions { padding: 12px 28px 20px; }
}

/* ==================== iOS PWA引导层（20260918-2 重设计：编辑排版式，品牌字标+编号时间线+单强调色） ==================== */
.pwa-guide-modal, .onboard-modal { max-width: 380px; padding: 30px 26px 20px; text-align: center; }

/* 品牌字标区：品牌名是弹窗内最响的元素 */
.guide-brand { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-bottom: 22px; }
.gb-name { font-size: 27px; font-weight: 900; letter-spacing: 0.14em; margin-right: -0.14em; color: var(--ink); line-height: 1; }
.gb-tag { font-size: 11px; font-weight: 600; letter-spacing: 0.24em; margin-right: -0.24em; color: #A6A1BF; }

.guide-title { font-size: 16.5px; font-weight: 700; color: var(--ink); margin: 0 0 2px; }

/* 步骤：编号时间线，无卡片无图标底座 */
.guide-steps { text-align: left; margin: 14px 0 4px; }
.g-step { display: flex; align-items: baseline; gap: 16px; padding: 13px 2px; }
.g-step + .g-step { border-top: 1px solid #F0EDF8; }
.g-num {
  font-size: 21px; font-weight: 300; color: #7B2FF7; min-width: 30px;
  font-variant-numeric: tabular-nums; letter-spacing: 0.02em; line-height: 1;
}
.g-body b { display: block; font-size: 14px; font-weight: 700; color: var(--ink); line-height: 1.4; }
.g-body span { display: block; font-size: 12px; color: #9A95B2; margin-top: 3px; line-height: 1.55; }

.guide-note { font-size: 12.5px; color: #9A95B2; line-height: 1.75; margin: 14px 0 18px; }

.guide-primary {
  display: block; width: 100%; padding: 14px; border: 0; border-radius: 12px; cursor: pointer;
  font-size: 15px; font-weight: 700; letter-spacing: 0.02em; color: #fff; background: #7B2FF7;
  transition: background 0.2s var(--ease-out), transform 0.16s var(--ease-out);
}
.guide-primary:active { transform: scale(0.98); background: #6A1FE3; }
.guide-skip {
  display: block; width: 100%; margin-top: 4px; padding: 12px; border: 0; border-radius: 12px; cursor: pointer;
  font-size: 13.5px; color: #A6A1BF; background: none;
  transition: color 0.2s;
}
.guide-skip:active { color: #6B6B85; }

/* onboard：logo+字标，功能两列纯排版列表 */
.onboard-modal { padding-top: 32px; }
.onboard-logo {
  display: block; width: 62px; height: 62px; border-radius: 16px; object-fit: cover;
  margin: 0 auto 16px; box-shadow: 0 10px 26px rgba(123, 47, 247, 0.18);
}
.onboard-brand { margin-bottom: 18px; }
.ob-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 6px; text-align: left; margin: 0 0 4px; }
.ob-item { display: flex; align-items: center; gap: 9px; padding: 11px 4px; font-size: 13px; font-weight: 600; color: #4A4661; }
.ob-item + .ob-item { border-top: 0; }
.ob-list .ob-item:nth-child(even) { padding-left: 12px; }
.ob-list .ob-item:nth-child(odd) { padding-right: 12px; }
.ob-list .ob-item:nth-child(n+3) { border-top: 1px solid #F0EDF8; }
.ob-item svg { width: 18px; height: 18px; color: #7B2FF7; flex: none; }
