/* ============================================================
   NBA时刻馆 · Design System v2 "Arena Night"
   字体: Russo One(数字/标题) + Chakra Petch(UI标签) + PingFang(正文)
   图标: 内联SVG(Lucide风格 stroke 1.8) · 禁用emoji作结构图标
   ============================================================ */

:root {
  --bg: #07071a;
  --surface: #11112b;
  --surface-2: #1a1a3d;
  --border: #262650;
  --border-lit: rgba(139,92,246,.35);
  --pri: #8b5cf6;
  --acc: #f43f5e;
  --gold: #f5b40b;
  --text: #e8eaf6;
  --text-2: #9aa0c3;
  --text-3: #5c6180;
  --grad: linear-gradient(135deg, #8b5cf6, #f43f5e);
  --grad-gold: linear-gradient(135deg, #f5b40b, #f43f5e);
  --font-disp: 'Russo One', 'PingFang SC', sans-serif;
  --font-label: 'Chakra Petch', 'PingFang SC', sans-serif;
}

* { -webkit-tap-highlight-color: transparent; box-sizing: border-box; touch-action: manipulation; }
html, body { height: 100%; margin: 0;
  font-family: -apple-system, "PingFang SC", "Helvetica Neue", sans-serif;
  color: var(--text); }

/* ---------- 设备框 ---------- */
#device-wrap { min-height: 100%; display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(139,92,246,.18), transparent 55%),
    radial-gradient(ellipse at 80% 100%, rgba(244,63,94,.12), transparent 55%),
    #030310; }
#phone { position: relative; width: 100%; max-width: 420px; height: 100dvh;
  display: flex; flex-direction: column; background: var(--bg); overflow: hidden; }
@media (min-width: 500px) and (min-height: 800px) {
  #phone { height: 812px; border-radius: 44px; border: 10px solid #15152e;
    box-shadow: 0 40px 100px rgba(0,0,0,.9), 0 0 0 1px #2a2a55, 0 0 80px rgba(139,92,246,.15); }
  #statusbar { display: flex !important; }
}
#statusbar { display: none; justify-content: space-between; padding: 10px 24px 4px;
  font-size: 13px; font-weight: 600; flex-shrink: 0; }
.sb-icons { letter-spacing: 2px; font-size: 11px; opacity: .9; }

/* 球场纹理背景层 */
#phone::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    repeating-linear-gradient(115deg, transparent 0 46px, rgba(139,92,246,.03) 46px 48px),
    radial-gradient(ellipse at 50% -10%, rgba(139,92,246,.10), transparent 50%); }
#phone > * { position: relative; z-index: 1; }

/* ---------- 页面区 ---------- */
#page { flex: 1; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
#page::-webkit-scrollbar { display: none; }

/* ---------- 底部Tab ---------- */
#tabbar { display: flex; flex-shrink: 0;
  background: rgba(10,10,28,.92); backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding-bottom: env(safe-area-inset-bottom, 8px); }
#tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 9px 0 7px; font-family: var(--font-label); font-size: 10px; font-weight: 600;
  letter-spacing: 1px; color: var(--text-3); text-decoration: none;
  transition: color .2s; cursor: pointer; }
#tabbar a svg { transition: all .2s; }
#tabbar a.active { color: var(--pri); }
#tabbar a.active svg { filter: drop-shadow(0 0 8px rgba(139,92,246,.9)); transform: translateY(-1px); }
#tabbar a:active { transform: scale(.92); }

/* ---------- 卡片体系 ---------- */
.card { background: linear-gradient(165deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
  border: 1px solid var(--border); border-radius: 18px; position: relative; }
.card-glow { border-color: var(--border-lit);
  box-shadow: 0 0 24px rgba(139,92,246,.12), inset 0 0 24px rgba(139,92,246,.04); }
.card-gold { border-color: rgba(245,180,11,.35);
  box-shadow: 0 0 24px rgba(245,180,11,.10); }
a.card, button.card { cursor: pointer; transition: transform .18s ease, border-color .18s ease; }
a.card:active, button.card:active { transform: scale(.98); border-color: var(--border-lit); }

/* ---------- 标签/按钮 ---------- */
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; border-radius: 999px;
  font-family: var(--font-label); font-size: 11px; font-weight: 600; letter-spacing: .5px;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text-2);
  cursor: pointer; transition: all .18s; }
.chip.on { background: var(--grad); color: #fff; border-color: transparent;
  box-shadow: 0 2px 12px rgba(244,63,94,.35); }
.chip:active { transform: scale(.94); }

.btn-accent { background: var(--grad); color: #fff; border: none; border-radius: 999px;
  font-family: var(--font-label); font-weight: 700; letter-spacing: 1px; cursor: pointer;
  box-shadow: 0 4px 18px rgba(244,63,94,.35);
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  transition: transform .15s, box-shadow .2s; }
.btn-accent:active { transform: scale(.96); box-shadow: 0 2px 8px rgba(244,63,94,.25); }

/* 面试官通道：金色=元信息入口,与紫色产品主CTA区分 */
.btn-gold { background: var(--grad-gold); color: #2a1503; border: none; border-radius: 999px;
  font-family: var(--font-label); font-weight: 700; letter-spacing: 1px; cursor: pointer;
  box-shadow: 0 4px 18px rgba(245,180,11,.4);
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  transition: transform .15s, box-shadow .2s;
  animation: goldPulse 2.2s ease-in-out infinite; }
.btn-gold:active { transform: scale(.96); box-shadow: 0 2px 8px rgba(245,180,11,.3); }
@keyframes goldPulse {
  0%, 100% { box-shadow: 0 4px 18px rgba(245,180,11,.35); }
  50% { box-shadow: 0 4px 32px rgba(245,180,11,.7); } }
.gold-pulse { animation: goldCardPulse 2.2s ease-in-out infinite; }
@keyframes goldCardPulse {
  0%, 100% { box-shadow: 0 0 24px rgba(245,180,11,.10); }
  50% { box-shadow: 0 0 36px rgba(245,180,11,.32); } }
@media (prefers-reduced-motion: reduce) { .btn-gold, .gold-pulse { animation: none; } }

.btn-ghost { background: var(--surface); color: var(--text-2); border: 1px solid var(--border);
  border-radius: 999px; font-family: var(--font-label); font-weight: 600; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  transition: all .15s; }
.btn-ghost:active { transform: scale(.96); border-color: var(--border-lit); }

/* ---------- 标题体系: 图标盒+中文+英文小标 ---------- */
.sec { display: flex; align-items: center; gap: 10px; margin: 22px 0 12px; }
.sec-icon { width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0;
  background: var(--grad); display: flex; align-items: center; justify-content: center;
  color: #fff; box-shadow: 0 3px 12px rgba(139,92,246,.4); }
.sec-txt { line-height: 1.15; }
.sec-zh { font-size: 16px; font-weight: 800; letter-spacing: .5px; }
.sec-en { font-family: var(--font-label); font-size: 9px; font-weight: 600;
  letter-spacing: 2.5px; color: var(--text-3); text-transform: uppercase; }

/* 兼容旧类名 */
.section-title { font-size: 16px; font-weight: 800; letter-spacing: .5px; display: flex; align-items: center; gap: 8px; }
.section-title::before { content: ""; width: 4px; height: 16px; border-radius: 2px; background: var(--grad); }

/* ---------- 队徽球 ---------- */
.team-ball { display: flex; align-items: center; justify-content: center; border-radius: 999px;
  font-family: var(--font-disp); color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.6);
  flex-shrink: 0; box-shadow: inset 0 -3px 6px rgba(0,0,0,.3), 0 2px 8px rgba(0,0,0,.4);
  border: 2px solid rgba(255,255,255,.15); }

/* ---------- 数字 ---------- */
.num, .score-num { font-family: var(--font-disp); font-variant-numeric: tabular-nums; letter-spacing: .5px; }

/* ---------- 视频占位 ---------- */
.video-ph { position: relative; aspect-ratio: 16/9; border-radius: 14px; overflow: hidden;
  background: linear-gradient(120deg, var(--surface) 30%, var(--surface-2) 50%, var(--surface) 70%);
  background-size: 200% 100%; animation: shimmer 2.4s linear infinite;
  display: flex; align-items: center; justify-content: center; }
@keyframes shimmer { to { background-position: -200% 0; } }
.video-ph .play { width: 54px; height: 54px; border-radius: 999px; background: var(--grad);
  display: flex; align-items: center; justify-content: center; color: #fff;
  box-shadow: 0 6px 24px rgba(244,63,94,.45); }
.video-ph .court-lines { position: absolute; inset: 0; opacity: .12; pointer-events: none;
  background:
    radial-gradient(circle at 50% 50%, transparent 26px, #fff 26px, transparent 28px),
    linear-gradient(#fff, #fff) 50% 0/1px 100% no-repeat; }

/* ---------- 时刻卡海报头 ---------- */
.moment-art { position: relative; aspect-ratio: 16/9; border-radius: 14px; overflow: hidden;
  display: flex; align-items: center; justify-content: center; }
.moment-art .art-type { font-family: var(--font-disp); font-size: 44px; letter-spacing: 4px;
  color: rgba(255,255,255,.16); text-transform: uppercase; }
.moment-art .art-play { width: 52px; height: 52px; border-radius: 999px;
  background: rgba(255,255,255,.14); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; color: #fff;
  border: 1px solid rgba(255,255,255,.25); position: absolute; }
.moment-art .art-meta { position: absolute; left: 10px; bottom: 8px;
  font-family: var(--font-label); font-size: 10px; letter-spacing: 1.5px;
  color: rgba(255,255,255,.75); }

/* ---------- 动画 ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.fade-up { animation: fadeUp .35s ease both; }
.fade-up-1 { animation-delay: .05s; } .fade-up-2 { animation-delay: .1s; } .fade-up-3 { animation-delay: .15s; }
@media (prefers-reduced-motion: reduce) { .fade-up, .video-ph { animation: none !important; } }

@keyframes pulse-glow { 0%,100% { box-shadow: 0 0 0 0 rgba(139,92,246,.45);} 50% { box-shadow: 0 0 0 10px rgba(139,92,246,0);} }
.pulse-glow { animation: pulse-glow 1.8s ease infinite; }

/* ---------- 焦点时刻横滑 ---------- */
.carousel { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin: 0 -16px; padding: 0 16px 8px; scrollbar-width: none; }
.carousel::-webkit-scrollbar { display: none; }
.carousel-item { scroll-snap-align: start; min-width: 80%; flex-shrink: 0; }

/* ---------- 比赛详情 ---------- */
.quarter-head { font-family: var(--font-label); font-size: 12px; font-weight: 700;
  letter-spacing: 2px; color: var(--pri); margin: 16px 0 10px;
  padding-left: 10px; border-left: 3px solid var(--pri); }
.sticky-chips { position: sticky; top: 0; z-index: 5; background: var(--bg); padding: 8px 0; }
.ai-summary.collapsed { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* 技术统计条 */
.stat-track { height: 6px; display: flex; gap: 3px; }
.stat-track > div { border-radius: 99px; }

/* ---------- AI搜索动画 ---------- */
.ai-thinking { width: 46px; height: 46px; border-radius: 999px; position: relative;
  background: conic-gradient(var(--pri), var(--acc), var(--gold), var(--pri));
  animation: spin 1s linear infinite; }
.ai-thinking::after { content: ""; position: absolute; inset: 5px; background: var(--surface); border-radius: 999px; }
.ai-thinking svg { position: absolute; inset: 0; margin: auto; z-index: 1; color: var(--pri);
  animation: spin 1s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 直播红点 ---------- */
.live-dot { width: 8px; height: 8px; border-radius: 999px; background: var(--acc); display: inline-block;
  animation: live-blink 1.2s ease infinite; box-shadow: 0 0 8px var(--acc); }
@keyframes live-blink { 50% { opacity: .25; } }

/* ---------- AI入库管线 ---------- */
.pipe-step { display: flex; gap: 12px; margin-bottom: 18px; }
.pipe-dot { width: 30px; height: 30px; border-radius: 999px; flex-shrink: 0;
  background: var(--surface-2); border: 2px solid var(--border); color: var(--text-3);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-disp); font-size: 13px; transition: all .4s; }
.pipe-dot.on { border-color: var(--pri); color: var(--pri); box-shadow: 0 0 16px rgba(139,92,246,.5); }
.pipe-dot.done { background: #10b981; border-color: #10b981; color: #fff; box-shadow: none; }
.pipe-data { font-size: 12px; color: var(--text-2); background: rgba(7,7,26,.8);
  border: 1px dashed var(--border); border-radius: 10px; padding: 8px 10px; margin-top: 8px; line-height: 1.7; }
.pipe-found { font-size: 12px; color: var(--pri); margin-top: 6px; }

/* ---------- DNA光谱 ---------- */
.dna-spec { position: relative; height: 10px; border-radius: 99px;
  background: linear-gradient(90deg, #3b82f6, var(--pri), var(--gold)); }
.dna-marker { position: absolute; top: -4px; width: 18px; height: 18px; border-radius: 999px;
  background: #fff; border: 3px solid var(--bg); transform: translateX(-50%);
  box-shadow: 0 2px 10px rgba(139,92,246,.6); transition: left .8s ease; }

/* ---------- 分享卡弹层 ---------- */
.share-modal { position: absolute; inset: 0; z-index: 50; background: rgba(3,3,16,.94);
  display: flex; align-items: center; justify-content: center; backdrop-filter: blur(4px); }
.share-inner img { width: 82%; border-radius: 14px; box-shadow: 0 20px 60px rgba(0,0,0,.8);
  display: block; margin: 0 auto; }

/* ---------- 主队:游戏感头部+分段Tab ---------- */
.subtab-bar { display: flex; gap: 2px; margin-top: 14px; padding: 0 8px;
  overflow-x: auto; scrollbar-width: none; position: sticky; top: 0; z-index: 6;
  background: linear-gradient(rgba(7,7,26,.85), var(--bg)); backdrop-filter: blur(8px); }
.subtab-bar::-webkit-scrollbar { display: none; }
.subtab { flex: 1; min-width: 58px; padding: 10px 6px 9px; background: none; border: none;
  color: var(--text-3); font-family: var(--font-label); font-size: 12px; font-weight: 700;
  letter-spacing: 1px; cursor: pointer; position: relative; transition: color .2s; }
.subtab.on { color: var(--pri); }
.subtab.on::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: 0;
  height: 3px; border-radius: 3px 3px 0 0; background: var(--grad);
  box-shadow: 0 0 12px rgba(139,92,246,.8); }
.subtab:active { transform: scale(.94); }

.rank-no { width: 22px; height: 22px; border-radius: 6px; background: var(--surface-2); color: var(--text-3);
  font-family: var(--font-disp); font-size: 11px; display: flex; align-items: center; justify-content: center; }
.rank-no.top { background: var(--grad); color: #fff; }

/* ---------- 输入框 ---------- */
input { font-family: inherit; }
input::placeholder { color: var(--text-3); }

/* ---------- 文本工具 ---------- */
.text-grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* 引导层条目 */
.ob-li { display: flex; align-items: center; gap: 8px; margin: 10px 0; color: var(--text-2); }
.ob-li svg { color: var(--pri); }
.ob-li b { color: var(--text); }

/* 全局搜索悬浮入口 */
#seek-btn { position: absolute; top: 14px; right: 14px; z-index: 20;
  width: 38px; height: 38px; border-radius: 999px;
  background: rgba(17,17,43,.85); backdrop-filter: blur(8px);
  border: 1px solid var(--border-lit); color: var(--pri);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(139,92,246,.25); transition: transform .15s; }
#seek-btn:active { transform: scale(.9); }
@media (min-width: 500px) and (min-height: 800px) { #seek-btn { top: 44px; } }

/* 热梗名次徽章 */
.rank-badge { position: absolute; top: 8px; left: 8px; z-index: 2;
  min-width: 30px; height: 26px; padding: 0 7px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-disp); font-size: 14px; color: #fff;
  background: rgba(17,17,43,.85); backdrop-filter: blur(4px);
  border: 1px solid var(--border); }
.rank-badge.r1 { background: linear-gradient(135deg,#f5b40b,#f97316); border: none;
  box-shadow: 0 2px 12px rgba(245,180,11,.5); }
.rank-badge.r2 { background: linear-gradient(135deg,#cbd5e1,#94a3b8); border: none; color: #1a1a3d; }
.rank-badge.r3 { background: linear-gradient(135deg,#d97706,#92400e); border: none; }

/* ---------- Toast ---------- */
.toast { position: absolute; z-index: 60 !important; top: 70px; left: 50%; transform: translateX(-50%); z-index: 60;
  background: rgba(17,17,43,.95); border: 1px solid var(--border-lit); color: var(--text);
  font-size: 12px; padding: 9px 16px; border-radius: 999px; backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0,0,0,.5); animation: fadeUp .25s ease; transition: opacity .4s; white-space: nowrap; }
.toast.out { opacity: 0; }

/* 置灰球队 */
.team-grey { opacity: .32; filter: grayscale(.9); }

/* 时刻Tab强调 */
#tabbar a.tab-primary { color: var(--pri); }
#tabbar a.tab-primary svg { filter: drop-shadow(0 0 8px rgba(139,92,246,.8)); }

/* ---------- 片头 ---------- */
.intro-ov { position: absolute; inset: 0; z-index: 70; background: #000;
  display: flex; align-items: center; justify-content: center; }
.intro-stage { text-align: center; padding: 24px; }
.intro-t { font-family: var(--font-disp); font-size: 34px; letter-spacing: 2px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.intro-s { font-size: 14px; color: var(--text-2); margin-top: 10px; letter-spacing: 1px; }
.intro-frame.mont { animation: mont .9s ease both; }
@keyframes mont { 0% { opacity: 0; transform: scale(.92); } 20% { opacity: 1; transform: scale(1); }
  80% { opacity: 1; } 100% { opacity: 0; transform: scale(1.04); } }
.intro-logo { flex-direction: column; align-items: center; animation: fadeUp .6s ease both; }
.intro-title { font-family: var(--font-disp); font-size: 26px; letter-spacing: 4px; margin-top: 14px; }
.intro-sub { font-size: 12px; color: var(--text-2); margin-top: 8px; letter-spacing: 1px; }
.intro-skip { position: absolute; top: 20px; right: 18px; background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2); color: #fff; font-size: 12px; padding: 6px 14px;
  border-radius: 999px; cursor: pointer; backdrop-filter: blur(4px); }
.intro-enter { position: absolute; bottom: 60px; left: 0; right: 0; display: flex; justify-content: center; }

/* ---------- 球馆殿堂 ---------- */
.arena-hero { position: relative; padding-top: 18px; overflow: hidden;
  background: linear-gradient(180deg, #1a1240 0%, var(--bg) 90%); }
.arena-light { position: absolute; top: -60px; left: 50%; transform: translateX(-50%);
  width: 340px; height: 200px; pointer-events: none;
  background: radial-gradient(ellipse, rgba(245,180,11,.22), transparent 65%); }
.banners { display: flex; justify-content: center; gap: 5px; padding: 0 16px;
  flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.banners::-webkit-scrollbar { display: none; }
.banner { flex-shrink: 0; width: 34px; height: 48px; cursor: pointer;
  background: linear-gradient(180deg, #552583 0%, #3a1a5e 100%);
  border: 1px solid rgba(245,180,11,.5); border-top: 3px solid var(--gold);
  clip-path: polygon(0 0, 100% 0, 100% 78%, 50% 100%, 0 78%);
  display: flex; align-items: flex-start; justify-content: center; padding-top: 7px;
  animation: sway 3.2s ease-in-out infinite; transform-origin: top center; }
.banner:nth-child(2n) { animation-delay: .5s; } .banner:nth-child(3n) { animation-delay: 1s; }
.banner span { font-family: var(--font-disp); font-size: 8px; color: var(--gold);
  writing-mode: vertical-rl; letter-spacing: .5px; }
@keyframes sway { 0%,100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg); } }
.jerseys { display: flex; gap: 8px; padding: 14px 16px 4px; overflow-x: auto; scrollbar-width: none; }
.jerseys::-webkit-scrollbar { display: none; }
.jersey { flex-shrink: 0; width: 62px; padding: 8px 0 7px; text-align: center; cursor: default;
  background: linear-gradient(180deg, rgba(85,37,131,.5), rgba(85,37,131,.15));
  border: 1px solid rgba(245,180,11,.35); border-radius: 10px 10px 4px 4px; position: relative; }
.jersey::before { content: ""; position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  width: 18px; height: 5px; background: var(--bg); border-radius: 0 0 6px 6px; }
.jersey-num { font-size: 19px; color: var(--gold); }
.jersey-name { font-size: 8px; color: var(--text-2); margin-top: 2px; transform: scale(.9); white-space: nowrap; }

/* 名宿卡 */
.legend-card { min-width: 150px; flex-shrink: 0; }

/* 任务完成态 */
.task-done { color: #10b981; }

/* 三视图分段器 */
.seg-bar { display: flex; gap: 4px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 999px; padding: 4px; margin-bottom: 14px; }
.seg { flex: 1; padding: 7px 0; border: none; border-radius: 999px; background: none;
  color: var(--text-3); font-family: var(--font-label); font-size: 12px; font-weight: 700;
  cursor: pointer; transition: all .2s; }
.seg.on { background: var(--grad); color: #fff; box-shadow: 0 2px 10px rgba(244,63,94,.3); }

/* ---------- NBA小程序风:球队头部 ---------- */
.team-top { position: relative; overflow: hidden; padding-bottom: 0; }
.watermark { position: absolute; top: 8px; left: 0; right: 0; z-index: 1;
  font-family: var(--font-disp); font-size: 52px; line-height: .95; letter-spacing: 2px;
  color: rgba(255,255,255,.07); text-align: center; pointer-events: none; white-space: nowrap; }
.fan-avatar { width: 52px; height: 52px; border-radius: 999px; flex-shrink: 0;
  background: rgba(255,255,255,.15); border: 2px solid rgba(255,255,255,.4);
  display: flex; align-items: center; justify-content: center; color: #fff; }
/* 球队照片位(待替换 assets/img/team_lal.jpg) */
.team-photo { margin: 14px 16px 0; height: 120px; border-radius: 16px 16px 0 0;
  background:
    linear-gradient(180deg, rgba(7,7,26,0) 0%, rgba(7,7,26,.55) 100%),
    url('../img/team_lal.jpg') center/cover,
    radial-gradient(ellipse at 50% 0%, rgba(245,180,11,.35), transparent 60%),
    linear-gradient(160deg, #3a2470, #1a1240);
  display: flex; align-items: flex-end; padding: 12px 14px; position: relative; z-index: 2; }
.team-photo-inner { position: relative; z-index: 2; }

/* 腰部tab(白底pill) */
.waist-bar { display: flex; position: sticky; top: 0; z-index: 8;
  background: #fff; border-radius: 16px 16px 0 0; margin-top: 0; padding: 6px 8px 0;
  box-shadow: 0 -6px 20px rgba(0,0,0,.15); }
.waist { flex: 1; padding: 11px 0 12px; border: none; background: none;
  color: #8a8fa8; font-size: 14px; font-weight: 700; cursor: pointer; position: relative;
  font-family: var(--font-label); letter-spacing: 1px; }
.waist.on { color: #552583; }
.waist.on::after { content: ""; position: absolute; left: 32%; right: 32%; bottom: 4px;
  height: 3px; border-radius: 3px; background: linear-gradient(90deg, #552583, #f5b40b); }

/* ---------- 白昼社区(light-root) ---------- */
.light-root { background: #f4f5f7; color: #1a1d29; min-height: 100%; padding-bottom: 16px; }
.light-root .card { background: #fff; border-color: #eceef2; color: #1a1d29;
  box-shadow: 0 2px 10px rgba(20,20,60,.04); }
.light-root .chip { background: #f2f3f7; border-color: #e6e8f0; color: #5c6180; }
.light-root .chip.on { background: linear-gradient(135deg, #552583, #7c3aed); color: #fff; }
.light-root .sec-zh { color: #1a1d29; }
.light-root .sec-en { color: #a0a5bd; }
.light-root .text-slate-400 { color: #8a8fa8 !important; }
.light-root .text-slate-500 { color: #a0a5bd !important; }
.light-root .team-ball { box-shadow: none; border-width: 1px; }
.light-root .debateCard, .light-root .card[style*="244,63,94"] { background: #fff; }

/* 底部导航(白) */
#tabbar { background: rgba(255,255,255,.97); border-top: 1px solid #eceef2; }
#tabbar a { color: #a0a5bd; }
#tabbar a.active { color: #552583; }
#tabbar a.active svg { filter: drop-shadow(0 0 6px rgba(85,37,131,.5)); }
/* 中央发布钮 */
#tabbar a.pub-btn { flex: 0 0 64px; margin-top: -22px; align-self: flex-start;
  width: 56px; height: 56px; border-radius: 999px; color: #fff;
  background: linear-gradient(135deg, #8b5cf6, #f43f5e);
  border: 4px solid #fff; box-shadow: 0 6px 20px rgba(139,92,246,.45);
  display: flex; align-items: center; justify-content: center; }
#tabbar a.pub-btn:active { transform: scale(.9); }

/* ---------- 历史照片幻灯 ---------- */
.slide-hero { position: relative; height: 235px; overflow: hidden; }
.slide { position: absolute; inset: 0; background: center 26%/cover no-repeat;
  opacity: 0; transform: scale(1.01); transition: opacity 1.1s ease, transform 6.5s linear; will-change: opacity, transform; }
.slide.on { opacity: 1; transform: scale(1.13); }
.slide-mask { position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26,18,64,.15) 0%, rgba(7,7,26,.55) 75%, var(--bg) 100%); }
.slide-caption { position: absolute; left: 14px; bottom: 10px; right: 14px;
  display: flex; justify-content: space-between; align-items: center; }
.slide-dots i { display: inline-block; width: 5px; height: 5px; border-radius: 99px;
  background: rgba(255,255,255,.35); margin-left: 5px; transition: all .3s; }
.slide-dots i.on { background: #fff; width: 14px; }
@media (prefers-reduced-motion: reduce) { .slide { transition: opacity .5s; } .slide.on { transform: none; } }
