/* ========================================================
   斗鱼团播选人大会 - 核心样式
   ======================================================== */

:root {
  --bg-primary: #0A0E17;
  --bg-secondary: #141A2A;
  --bg-tertiary: #1E2738;
  --bg-card: #182032;
  --border-color: rgba(0, 212, 255, 0.15);
  --border-strong: rgba(0, 212, 255, 0.3);
  --text-primary: #E8EEF8;
  --text-secondary: #8892A8;
  --text-muted: #5A6478;
  --accent: #00D4FF;
  --accent-primary: #00D4FF;
  --accent-gold: #FFD700;
  --accent-red: #FF6B6B;
  --accent-green: #00E676;
  --danger: #FF4757;
  --success: #2ED573;
  --shadow-glow: 0 0 20px rgba(0, 212, 255, 0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

#root {
  width: 100%;
  min-height: 100vh;
}

/* 背景装饰 */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(0, 212, 255, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(255, 107, 107, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* 游戏容器 */
.game-container {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
  min-height: 100vh;
}

/* 顶部进度条 */
.progress-bar {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}
.progress-step {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  font-size: 13px;
  color: var(--text-muted);
  transition: all 0.3s ease;
}
.progress-step.active {
  background: rgba(0, 212, 255, 0.1);
  border-color: var(--accent);
  color: var(--accent);
}
.progress-step.completed {
  background: rgba(46, 213, 115, 0.1);
  border-color: var(--success);
  color: var(--success);
}
.progress-step-num {
  width: 20px; height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  background: var(--bg-tertiary);
}
.progress-step.active .progress-step-num {
  background: var(--accent);
  color: var(--bg-primary);
}
.progress-step.completed .progress-step-num {
  background: var(--success);
  color: var(--bg-primary);
}

/* 通用按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}
.btn:hover {
  border-color: var(--border-strong);
  background: var(--bg-card);
}
.btn:active {
  transform: scale(0.97);
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #0099CC 100%);
  color: var(--bg-primary);
  border: none;
  font-weight: 700;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #33DFFF 0%, #00AADD 100%);
  box-shadow: 0 4px 16px rgba(0, 212, 255, 0.4);
}
.btn-gold {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  color: #5A3500;
  border: none;
  font-weight: 700;
}
.btn-gold:hover {
  box-shadow: 0 4px 16px rgba(255, 215, 0, 0.4);
}
.btn-danger {
  background: transparent;
  color: var(--danger);
  border-color: rgba(255, 71, 87, 0.4);
}
.btn-danger:hover {
  background: rgba(255, 71, 87, 0.1);
  border-color: var(--danger);
}
.btn-success {
  background: linear-gradient(135deg, #2ED573 0%, #26A65B 100%);
  color: #0B3D1A;
  border: none;
  font-weight: 700;
}
.btn-success:hover {
  box-shadow: 0 4px 16px rgba(46, 213, 115, 0.4);
}
.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none !important;
}
.btn-sm { padding: 6px 12px; font-size: 12px; }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-xl { padding: 18px 52px; font-size: 20px; border-radius: 14px; }

/* 卡片 */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
}
.card-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

/* ========================================================
   规则页
   ======================================================== */
.rules-screen {
  max-width: 800px;
  margin: 40px auto;
}
.rules-header {
  text-align: center;
  margin-bottom: 40px;
}
.rules-title {
  font-family: 'Orbitron', 'Noto Sans SC', sans-serif;
  font-size: 42px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.rules-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
}
.rules-section {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 16px;
}
.rules-section h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 10px;
}
.rules-section-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(0, 212, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.rules-section p, .rules-section li {
  color: var(--text-secondary);
  line-height: 1.8;
}
.rules-section ul {
  padding-left: 20px;
}
.rules-section li {
  margin-bottom: 4px;
}
.rules-highlight {
  color: var(--accent-gold);
  font-weight: 700;
}
.rules-cta {
  text-align: center;
  margin-top: 32px;
}

/* 首页（仅 Logo + 开始按钮） */
.rules-screen--home {
  max-width: 600px;
  margin: 0 auto;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rules-home-content {
  text-align: center;
  width: 100%;
}
.home-logo-wrap {
  margin-bottom: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.home-logo-img {
  width: 100%;
  max-width: 420px;
  height: auto;
  max-height: 220px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.45));
  user-select: none;
  -webkit-user-drag: none;
}
.home-logo-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  margin: 0;
  letter-spacing: 4px;
}
.home-cta {
  display: flex;
  justify-content: center;
}
.home-cta .btn-gold:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 28px rgba(255, 215, 0, 0.45);
}

/* ========================================================
   队长选择页
   ======================================================== */
.captain-screen {
  max-width: 1200px;
  margin: 0 auto;
}
.captain-header {
  text-align: center;
  margin-bottom: 24px;
}
.captain-header h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 6px;
}
.captain-header p {
  color: var(--text-secondary);
}

/* 队伍名称编辑区 */
.team-names-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.team-name-card {
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  transition: all 0.2s;
}
.team-name-card.player-team {
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
}
.team-name-label {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.team-name-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 700;
  padding: 4px 0;
  outline: none;
  font-family: inherit;
}
.team-name-input:focus {
  border-bottom-color: var(--accent);
}
.team-name-input:disabled {
  color: var(--text-secondary);
  opacity: 0.6;
}

/* 队长卡片网格 */
.captains-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.captain-card {
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: 16px;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}
.captain-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.captain-card.selected {
  border-color: var(--accent-gold);
  box-shadow: 0 0 24px rgba(255, 215, 0, 0.2);
}
.captain-card.selected::before {
  content: '已选';
  position: absolute;
  top: 10px; right: 10px;
  padding: 2px 8px;
  background: var(--accent-gold);
  color: #5A3500;
  font-size: 11px;
  font-weight: 700;
  border-radius: 4px;
}
.captain-card.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.captain-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, #0066AA 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 900;
  margin: 0 auto 12px;
  font-family: 'Orbitron', sans-serif;
  color: var(--bg-primary);
}
.captain-name {
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}
.captain-tags {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.captain-tag {
  padding: 2px 8px;
  background: rgba(0, 212, 255, 0.15);
  border-radius: 4px;
  font-size: 11px;
  color: var(--accent);
}
.captain-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.captain-stat {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-secondary);
}
.captain-stat-val {
  color: var(--text-primary);
  font-weight: 700;
}

/* 底部操作栏 */
/* 队长羁绊提示横幅 */
.captain-bonds-banner {
  margin: 16px 0 8px;
  padding: 14px 18px;
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.12), rgba(255, 152, 0, 0.08));
  border: 1px solid var(--accent-gold);
  border-radius: 10px;
  animation: bondPulse 2s ease-in-out infinite;
}
@keyframes bondPulse {
  0%, 100% { box-shadow: 0 0 0 rgba(255, 193, 7, 0); }
  50% { box-shadow: 0 0 14px rgba(255, 193, 7, 0.3); }
}
.captain-bonds-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 8px;
}
.captain-bond-item {
  font-size: 13px;
  color: var(--text-primary);
  line-height: 1.7;
}
.captain-bond-type {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255,255,255,0.08);
  padding: 2px 6px;
  border-radius: 4px;
  margin-right: 6px;
  vertical-align: middle;
}
.captain-bond-name {
  font-weight: 700;
  color: var(--accent-gold);
  margin-right: 6px;
}
.captain-bond-desc {
  color: var(--text-secondary);
}
.captain-bonds-empty {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

.captain-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--border-color);
}
.captain-selection-info {
  color: var(--text-secondary);
  font-size: 14px;
}
.captain-selection-info strong {
  color: var(--accent-gold);
  font-size: 18px;
}

/* ========================================================
   预算一览条（拍卖阶段核心组件）
   ======================================================== */
.budget-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 12px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  margin-bottom: 20px;
}
.budget-bar-team {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}
.budget-bar-team.player-team {
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.3);
}
.budget-bar-team.flash-gain {
  animation: flashGreen 0.8s ease;
}
.budget-bar-team.flash-loss {
  animation: flashRed 0.8s ease;
}
@keyframes flashGreen {
  0%, 100% { background: transparent; }
  50% { background: rgba(46, 213, 115, 0.2); }
}
@keyframes flashRed {
  0%, 100% { background: transparent; }
  50% { background: rgba(255, 71, 87, 0.2); }
}
.budget-team-name {
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.budget-team-amount {
  font-family: 'Orbitron', monospace;
  font-size: 18px;
  font-weight: 700;
}
.budget-team-slots {
  font-size: 11px;
  color: var(--text-muted);
}
.budget-team-slots .slots-count {
  color: var(--text-secondary);
  font-weight: 700;
}

/* ========================================================
   拍卖页
   ======================================================== */
.auction-screen {
  max-width: 1300px;
  margin: 0 auto;
}
.auction-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.auction-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 24px;
  font-weight: 700;
}
.auction-progress {
  font-size: 14px;
  color: var(--text-secondary);
}
.auction-progress strong {
  color: var(--accent);
  font-size: 16px;
}

/* 拍卖音乐条 */
.auction-music-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  backdrop-filter: blur(8px);
  font-size: 12px;
}
.auction-music-info {
  display: flex;
  align-items: center;
  gap: 8px;
}
.auction-music-note {
  font-size: 14px;
  color: var(--accent);
  animation: auction-music-bounce 1.2s ease-in-out infinite;
}
@keyframes auction-music-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
.auction-music-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.auction-music-label {
  font-size: 10px;
  color: var(--text-tertiary, #888);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.auction-music-title {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
}
.auction-music-btn {
  padding: 4px 10px;
  font-size: 11px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.auction-music-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
}
.auction-music-btn.auction-music-play {
  border-color: var(--accent);
  color: var(--accent);
}
.auction-music-btn.auction-music-play:hover {
  background: var(--accent);
  color: #fff;
}
.auction-music-btn.auction-music-unmute {
  border-color: #f1c40f;
  color: #f1c40f;
  animation: auction-unmute-pulse 2s ease-in-out infinite;
  font-weight: 600;
}
@keyframes auction-unmute-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(241, 196, 15, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(241, 196, 15, 0); }
}
.auction-music-btn.auction-music-unmute:hover {
  background: #f1c40f;
  color: #1a1033;
}
.auction-music-btn.auction-music-pulse {
  background: linear-gradient(135deg, #f1c40f, #e67e22);
  border-color: transparent;
  color: #1a1033;
  font-weight: 600;
  animation: auction-music-pulse-anim 1.8s ease-in-out infinite;
}
@keyframes auction-music-pulse-anim {
  0%, 100% { box-shadow: 0 0 0 0 rgba(241, 196, 15, 0.5); transform: scale(1); }
  50% { box-shadow: 0 0 0 8px rgba(241, 196, 15, 0); transform: scale(1.04); }
}
.auction-music-btn.auction-music-pulse:hover {
  background: linear-gradient(135deg, #f39c12, #d35400);
  color: #fff;
}
.auction-music-error {
  font-size: 11px;
  color: #ff6b6b;
  padding: 4px 10px;
  background: rgba(255, 107, 107, 0.1);
  border: 1px solid rgba(255, 107, 107, 0.3);
  border-radius: 12px;
  white-space: nowrap;
}

.auction-main {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 20px;
}

/* 选手展示区 */
/* 选手展示区 - 立绘大卡版 */
.player-showcase {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 0;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.player-showcase::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--tier-gradient, var(--accent));
  z-index: 2;
}

/* 选手立绘大卡 */
.player-hero-card {
  position: relative;
  height: 520px;
  flex-shrink: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}
.player-hero-image {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.player-hero-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-top: 60px;
}
.hero-portrait-number {
  position: absolute;
  top: 20px;
  right: 24px;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 18px;
  font-weight: 900;
  font-family: 'Orbitron', monospace;
  letter-spacing: 1px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  z-index: 2;
}
  opacity: 0.6;
}
.hero-placeholder-badge {
  width: 140px;
  height: 140px;
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
  font-weight: 900;
  font-family: 'Orbitron', monospace;
  color: #fff;
  text-shadow: 0 4px 16px rgba(0,0,0,0.4);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.hero-placeholder-label {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 2px;
}

/* 顶部信息叠加层 */
.player-hero-info {
  position: absolute;
  top: 20px;
  left: 24px;
  right: 24px;
  z-index: 3;
}
.player-hero-name-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}
.player-hero-name {
  font-size: 32px;
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: 1px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.player-tier-badge.hero-tier {
  margin-bottom: 0;
  font-size: 13px;
  padding: 4px 14px;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.player-hero-sub {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.hero-overall {
  font-size: 15px;
  font-weight: 700;
  font-family: 'Orbitron', monospace;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.hero-divider {
  color: var(--text-muted);
  font-size: 12px;
}
.hero-guild {
  font-size: 13px;
  color: var(--text-muted);
}
.player-hero-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* 下半部：九维横向条状图 */
.player-hero-ratings {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 24px 20px;
  background: linear-gradient(180deg, transparent 0%, var(--bg-card) 25%, var(--bg-card) 100%);
  z-index: 2;
}
.hero-ratings-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 1px;
}
.hero-ratings-hint {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 0;
}
.hero-rating-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 18px;
  column-gap: 24px;
}
.hero-rating-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-rating-label {
  width: 48px;
  flex-shrink: 0;
  font-size: 12px;
  color: var(--text-muted);
}
.hero-rating-bar-wrap {
  flex: 1;
  height: 6px;
  background: var(--bg-tertiary);
  border-radius: 3px;
  overflow: hidden;
}
.hero-rating-bar-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.6s ease;
  box-shadow: 0 0 6px rgba(0, 212, 255, 0.3);
}
.hero-rating-value {
  width: 24px;
  flex-shrink: 0;
  text-align: right;
  font-size: 12px;
  font-weight: 700;
  font-family: 'Orbitron', monospace;
  color: var(--text-primary);
}

/* 竞价面板下移（放在立绘下方） */
.bidding-panel {
  background: var(--bg-secondary);
  border-radius: 10px;
  padding: 16px;
  margin: 16px;
}
.bidding-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.bidding-label {
  font-size: 13px;
  color: var(--text-muted);
}
.current-bid {
  font-family: 'Orbitron', monospace;
  font-size: 32px;
  font-weight: 900;
  color: var(--accent-gold);
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}
.highest-bidder {
  font-size: 13px;
  color: var(--text-secondary);
}
.highest-bidder strong {
  color: var(--text-primary);
}
.bid-history {
  max-height: 100px;
  overflow-y: auto;
  margin-bottom: 12px;
  padding: 8px;
  background: var(--bg-primary);
  border-radius: 6px;
  font-size: 12px;
}
.bid-history-item {
  padding: 3px 0;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.bid-history-item:last-child {
  border-bottom: none;
}
.bid-history-item .bidder-name {
  font-weight: 700;
  color: var(--text-primary);
}

/* 操作按钮 */
.bid-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}
.bid-actions .btn {
  padding: 10px 8px;
  font-size: 13px;
}
.bottom-actions {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}

/* 侧边栏 - 队伍状态 */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.team-status-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 14px;
}
.team-status-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.team-status-name {
  font-weight: 700;
  font-size: 14px;
}
.team-status-count {
  font-size: 12px;
  color: var(--text-muted);
}
.team-status-count strong {
  color: var(--text-primary);
}
.player-mini-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.player-mini-chip {
  padding: 3px 8px;
  background: var(--bg-tertiary);
  border-radius: 4px;
  font-size: 11px;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 80px;
}
.player-mini-chip.tier-s { background: rgba(255, 215, 0, 0.2); color: #FFD700; }
.player-mini-chip.tier-a { background: rgba(155, 89, 182, 0.2); color: #C9A0FF; }
.player-mini-chip.tier-b { background: rgba(9, 132, 227, 0.2); color: #74B9FF; }
.player-mini-chip.tier-c { background: rgba(0, 184, 148, 0.2); color: #81ECEC; }
.player-mini-chip.tier-d { background: rgba(127, 140, 141, 0.2); color: #BDC3C7; }

/* 拍卖结果遮罩 */
.auction-result-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 23, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  z-index: 10;
  border-radius: 12px;
  backdrop-filter: blur(4px);
}
.result-winner {
  font-family: 'Orbitron', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--accent-gold);
}
.result-amount {
  font-family: 'Orbitron', monospace;
  font-size: 48px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent-gold), #FF8C00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.result-player {
  font-size: 18px;
  color: var(--text-secondary);
}
.result-player strong {
  color: var(--text-primary);
}
.result-flash {
  animation: resultFlash 0.6s ease-out;
}
@keyframes resultFlash {
  0% { opacity: 0; transform: scale(0.8); }
  50% { transform: scale(1.05); }
  100% { opacity: 1; transform: scale(1); }
}

/* 流拍结果 */
.result-failed {
  font-family: 'Orbitron', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--text-muted);
}

/* 流拍池提示 */
.wildcard-pool-hint {
  padding: 8px 12px;
  margin: 0 16px 16px;
  background: rgba(127, 140, 141, 0.1);
  border: 1px solid rgba(127, 140, 141, 0.2);
  border-radius: 8px;
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.wildcard-pool-hint strong {
  color: var(--text-secondary);
}

/* ========================================================
   流拍补位页
   ======================================================== */
.fillin-screen {
  max-width: 1200px;
  margin: 0 auto;
}
.fillin-header {
  text-align: center;
  margin-bottom: 24px;
}
.fillin-header h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 26px;
  margin-bottom: 6px;
}
.fillin-header p {
  color: var(--text-secondary);
}
.fillin-turn-info {
  text-align: center;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  margin-bottom: 20px;
  font-size: 16px;
}
.fillin-turn-info strong {
  color: var(--accent-gold);
  font-size: 18px;
}
.fillin-pool {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}
.fillin-player-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 10px;
  cursor: pointer;
  transition: all 0.2s;
}
.fillin-player-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.fillin-player-card.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.fillin-player-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.fillin-player-avatar {
  width: 36px; height: 36px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
}
.fillin-player-name {
  font-size: 13px;
  font-weight: 700;
}
.fillin-player-tier {
  font-size: 11px;
  font-weight: 700;
}
.fillin-player-role {
  font-size: 11px;
  color: var(--text-muted);
}

/* 队伍补位进度 */
.fillin-teams {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.fillin-team-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 12px;
}
.fillin-team-card.current-turn {
  border-color: var(--accent-gold);
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.2);
}
.fillin-team-name {
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 6px;
}
.fillin-team-budget {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.fillin-team-budget strong {
  color: var(--text-secondary);
}
.fillin-team-count {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

/* ========================================================
   队伍分析页
   ======================================================== */
.analysis-screen {
  max-width: 1300px;
  margin: 0 auto;
}
.analysis-header {
  text-align: center;
  margin-bottom: 24px;
}
.analysis-header h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 28px;
  margin-bottom: 6px;
}
.analysis-header p {
  color: var(--text-secondary);
}

/* 综合评分卡片 */
.overall-score-card {
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.overall-score-card::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}
.overall-score-label {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.overall-score-value {
  font-family: 'Orbitron', sans-serif;
  font-size: 72px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 16px;
}
.overall-score-rank {
  font-size: 16px;
  color: var(--text-secondary);
}
.overall-score-rank strong {
  color: var(--accent-gold);
  font-size: 20px;
}

/* 分析网格 */
.analysis-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}
.analysis-section {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
}
.analysis-section h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.analysis-section h3::before {
  content: '';
  width: 4px; height: 18px;
  background: var(--accent);
  border-radius: 2px;
}

/* 雷达图容器 */
.radar-chart {
  width: 100%;
  height: 280px;
}

/* 条形对比图 */
.bar-chart {
  width: 100%;
  height: 240px;
}

/* 角色覆盖度 */
.role-coverage {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.role-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.role-name {
  width: 60px;
  font-size: 12px;
  color: var(--text-secondary);
  flex-shrink: 0;
}
.role-bar-wrap {
  flex: 1;
  height: 20px;
  background: var(--bg-tertiary);
  border-radius: 4px;
  overflow: hidden;
}
.role-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #33DFFF);
  border-radius: 4px;
  transition: width 0.6s ease;
}
.role-count {
  width: 30px;
  font-size: 12px;
  font-weight: 700;
  text-align: right;
  flex-shrink: 0;
}

/* 预算利用效率 */
.budget-efficiency {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.efficiency-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 12px;
  background: var(--bg-tertiary);
  border-radius: 6px;
  font-size: 13px;
}
.efficiency-label {
  color: var(--text-secondary);
}
.efficiency-value {
  font-weight: 700;
  color: var(--text-primary);
}
.efficiency-value.good { color: var(--success); }
.efficiency-value.warn { color: var(--accent-gold); }
.efficiency-value.bad { color: var(--danger); }

/* 强弱项分析 */
.swot-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.swot-item {
  display: flex;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 13px;
}
.swot-item.strength {
  background: rgba(46, 213, 115, 0.1);
  border-left: 3px solid var(--success);
}
.swot-item.weakness {
  background: rgba(255, 71, 87, 0.1);
  border-left: 3px solid var(--danger);
}
.swot-item.opportunity {
  background: rgba(0, 212, 255, 0.1);
  border-left: 3px solid var(--accent);
}
.swot-label {
  font-weight: 700;
  flex-shrink: 0;
  width: 45px;
}
.swot-item.strength .swot-label { color: var(--success); }
.swot-item.weakness .swot-label { color: var(--danger); }
.swot-item.opportunity .swot-label { color: var(--accent); }

/* 四队阵容总览 */
.teams-roster {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.team-roster-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 14px;
}
.team-roster-card.player-team {
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
}
.roster-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}
.roster-team-name {
  font-weight: 700;
  font-size: 14px;
}
.roster-score {
  font-family: 'Orbitron', monospace;
  font-size: 16px;
  font-weight: 700;
  color: var(--accent-gold);
}
.roster-captains {
  margin-bottom: 10px;
}
.roster-section-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.roster-captain-list, .roster-player-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.roster-person {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
}
.roster-person.captain {
  background: rgba(255, 215, 0, 0.1);
}
.roster-person-portrait {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  margin-right: 8px;
  flex-shrink: 0;
  border: 2px solid rgba(255, 215, 0, 0.4);
}
.roster-person.player {
  background: var(--bg-tertiary);
}
.roster-person.unsold {
  background: rgba(127, 140, 141, 0.15);
  position: relative;
}
.roster-person.unsold::after {
  content: '补';
  font-size: 9px;
  padding: 1px 4px;
  background: var(--text-muted);
  color: var(--bg-primary);
  border-radius: 3px;
}
.roster-person-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}
.roster-person-price {
  font-family: 'Orbitron', monospace;
  font-size: 11px;
  color: var(--accent-gold);
  font-weight: 700;
  flex-shrink: 0;
  margin-left: 6px;
}
.roster-person.unsold .roster-person-price {
  color: var(--text-muted);
}
.roster-footer {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
}
.roster-footer strong {
  color: var(--text-secondary);
  font-weight: 700;
}
.roster-bonds {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--border-color);
}
.roster-bond-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 4px;
}
.roster-bond-tag {
  display: inline-block;
  padding: 2px 8px;
  font-size: 11px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.15), rgba(255, 152, 0, 0.15));
  color: #FFB800;
  border: 1px solid rgba(255, 193, 7, 0.3);
  font-weight: 600;
}

/* 羁绊详情列表 */
.bond-detail-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bond-detail-item {
  padding: 12px 14px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.08), rgba(255, 152, 0, 0.05));
  border: 1px solid rgba(255, 193, 7, 0.2);
  border-left: 3px solid #FFB800;
}
.bond-detail-item.negative {
  background: linear-gradient(135deg, rgba(255, 82, 82, 0.08), rgba(220, 53, 69, 0.05));
  border-color: rgba(255, 82, 82, 0.2);
  border-left-color: #FF5252;
}
.bond-detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.bond-detail-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}
.bond-detail-item.negative .bond-detail-name {
  color: #FF6B6B;
}
.bond-detail-type {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--bg-tertiary);
  color: var(--text-muted);
}
.bond-detail-desc {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.bond-detail-members {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bond-member-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 10px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 6px;
}
.bond-member-name {
  flex-shrink: 0;
  min-width: 80px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  padding-top: 2px;
}
.bond-member-changes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  flex: 1;
}
.bond-dim-change {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  line-height: 1.4;
}
.dim-change-label {
  color: var(--text-muted);
  white-space: nowrap;
}
.dim-change-values {
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.dim-base {
  color: var(--text-muted);
  font-weight: 400;
  text-decoration: line-through;
  text-decoration-color: rgba(255,255,255,0.3);
}
.dim-arrow {
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 400;
}
.dim-final {
  color: var(--text-primary);
  font-size: 12px;
}
.bond-dim-change.pos .dim-final {
  color: #4ADE80;
}
.bond-dim-change.neg .dim-final {
  color: #F87171;
}
.dim-delta {
  font-size: 10px;
  font-weight: 600;
  padding: 0 4px;
  border-radius: 3px;
  background: rgba(74, 222, 128, 0.15);
  color: #4ADE80;
}
.bond-dim-change.neg .dim-delta {
  background: rgba(248, 113, 113, 0.15);
  color: #F87171;
}

/* 成交记录 */
.transaction-log {
  max-height: 300px;
  overflow-y: auto;
}
.tx-item {
  display: grid;
  grid-template-columns: 30px 1fr auto auto;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 6px;
  margin-bottom: 4px;
  background: var(--bg-tertiary);
  font-size: 13px;
  align-items: center;
}
.tx-item.unsold {
  background: rgba(127, 140, 141, 0.1);
}
.tx-index {
  font-family: 'Orbitron', monospace;
  font-size: 11px;
  color: var(--text-muted);
}
.tx-player {
  display: flex;
  align-items: center;
  gap: 8px;
}
.tx-tier {
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  color: #fff;
}
.tx-team {
  color: var(--text-secondary);
}
.tx-price {
  font-family: 'Orbitron', monospace;
  font-weight: 700;
  color: var(--accent-gold);
}
.tx-item.unsold .tx-price {
  color: var(--text-muted);
  font-size: 12px;
}

/* 建议 */
.suggestion-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.suggestion-item {
  padding: 10px 14px;
  background: var(--bg-tertiary);
  border-radius: 6px;
  font-size: 13px;
  color: var(--text-secondary);
  border-left: 3px solid var(--accent);
}

/* 分析底部操作 */
.analysis-footer {
  display: flex;
  justify-content: center;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

/* 滚动条美化 */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* 响应式 */
@media (max-width: 1024px) {
  .auction-main { grid-template-columns: 1fr; }
  .captains-grid { grid-template-columns: repeat(2, 1fr); }
  .team-names-row { grid-template-columns: repeat(2, 1fr); }
  .analysis-grid { grid-template-columns: 1fr; }
  .teams-roster { grid-template-columns: repeat(2, 1fr); }
  .budget-bar { grid-template-columns: repeat(2, 1fr); }
  .fillin-teams { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .game-container { padding: 12px; }
  .captains-grid { grid-template-columns: 1fr; }
  .team-names-row { grid-template-columns: 1fr; }
  .teams-roster { grid-template-columns: 1fr; }
  .budget-bar { grid-template-columns: 1fr; }
  .fillin-teams { grid-template-columns: 1fr; }
  .bid-actions { grid-template-columns: repeat(2, 1fr); }
  .progress-step { padding: 6px 10px; font-size: 11px; }
  .rules-title { font-size: 28px; }
  .overall-score-value { font-size: 48px; }
}

/* ========================================================
    野榜数据库页
    ======================================================== */

.database-screen {
  min-height: 100vh;
  background: var(--bg-primary);
  color: var(--text-primary);
  padding-bottom: 32px;
}

.db-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 10;
}

.db-back-btn {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 15px;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.2s;
  width: 60px;
  text-align: left;
}
.db-back-btn:hover { background: rgba(0, 212, 255, 0.1); }

.db-title { text-align: center; flex: 1; }
.db-title h2 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 2px 0;
  color: var(--text-primary);
}
.db-title p {
  font-size: 12px;
  color: var(--text-secondary);
  margin: 0;
}

/* 数据库模式切换 */
.db-mode-switch {
  display: flex;
  gap: 14px;
  padding: 16px 20px 0;
  max-width: 1100px;
  margin: 0 auto;
}

.db-mode-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 16px 20px;
  background: var(--bg-secondary);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: left;
  color: var(--text-secondary);
}

.db-mode-tab:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.db-mode-tab.active {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(0, 212, 255, 0.02));
  box-shadow: 0 4px 16px rgba(0, 212, 255, 0.1);
  color: var(--text-primary);
}

.db-mode-icon {
  font-size: 22px;
  line-height: 1;
}

.db-mode-name {
  font-size: 16px;
  font-weight: 700;
  color: inherit;
}

.db-mode-desc {
  font-size: 12px;
  color: var(--text-tertiary);
}

/* 筛选栏 */
.db-filters {
  padding: 16px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
}

.db-filter-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.db-filter-label {
  font-size: 12px;
  color: var(--text-secondary);
  white-space: nowrap;
}

.db-filter-tabs {
  display: flex;
  gap: 4px;
  background: var(--bg-tertiary);
  padding: 3px;
  border-radius: 8px;
}

.db-tab {
  padding: 5px 12px;
  font-size: 12px;
  background: none;
  border: none;
  color: var(--text-secondary);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.db-tab:hover { color: var(--text-primary); }
.db-tab.active {
  background: var(--accent);
  color: #fff;
  font-weight: 600;
}
.db-tab.tier-tab.active {
  background: var(--accent-gold);
  color: #7A5500;
}

.db-select {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 13px;
  cursor: pointer;
}

.db-sort-dir {
  width: 32px;
  height: 32px;
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.db-sort-dir:hover { border-color: var(--accent); }

/* 统计 */
.db-stats {
  padding: 12px 20px;
  font-size: 13px;
  color: var(--text-secondary);
}
.db-stats strong { color: var(--text-primary); font-weight: 600; }

/* 选手列表 */
.db-player-list {
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.db-player-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--bg-card);
  border-radius: 12px;
  border-left: 3px solid var(--accent);
  cursor: pointer;
  transition: all 0.2s;
}
.db-player-card:hover {
  background: var(--bg-tertiary);
  transform: translateX(2px);
}
.db-player-card.selected {
  background: var(--bg-tertiary);
  box-shadow: var(--shadow-glow);
}

.db-card-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.db-card-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.db-card-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 3px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.db-card-type-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--bg-tertiary);
  color: var(--text-secondary);
}
.db-player-card.captain .db-card-type-badge {
  background: linear-gradient(135deg, #FF6B6B, #C0392B);
  color: #fff;
}

.db-card-meta {
  font-size: 11px;
  color: var(--text-muted);
}

.db-card-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.db-card-overall {
  text-align: right;
  line-height: 1.1;
}
.db-overall-value {
  font-size: 20px;
  font-weight: 700;
  font-family: 'Orbitron', monospace;
}
.db-overall-label {
  font-size: 10px;
  color: var(--text-muted);
  display: block;
}

.db-card-dims {
  display: flex;
  gap: 3px;
}
.db-dim-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  opacity: 0.85;
}

/* 详情弹层 */
.db-detail-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}

.db-detail-panel {
  width: 100%;
  max-width: 440px;
  max-height: 85vh;
  background: var(--bg-secondary);
  border-radius: 16px;
  overflow-y: auto;
  position: relative;
  border: 1px solid var(--border-strong);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.db-detail-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 14px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}
.db-detail-close:hover { background: rgba(0, 0, 0, 0.6); }

.db-detail-header {
  padding: 24px 24px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-radius: 16px 16px 0 0;
  margin-bottom: 8px;
}

.db-detail-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}

.db-detail-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}
.db-detail-subtitle {
  font-size: 13px;
  opacity: 0.85;
}

.db-detail-score {
  margin-left: auto;
  text-align: center;
}
.db-detail-score-value {
  font-size: 32px;
  font-weight: 700;
  font-family: 'Orbitron', monospace;
  line-height: 1;
}
.db-detail-score-label {
  font-size: 11px;
  margin-top: 2px;
  opacity: 0.8;
}

.db-detail-section {
  padding: 12px 24px;
}
.db-detail-section h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 10px 0;
}

.db-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.db-info-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.db-info-label {
  font-size: 11px;
  color: var(--text-muted);
}
.db-info-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.db-radar-chart {
  width: 100%;
  height: 260px;
}

.db-dim-detail-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.db-dim-detail-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.db-dim-name {
  width: 60px;
  font-size: 12px;
  color: var(--text-secondary);
  flex-shrink: 0;
}
.db-dim-bar-wrap {
  flex: 1;
  height: 8px;
  background: var(--bg-tertiary);
  border-radius: 4px;
  overflow: hidden;
}
.db-dim-bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.5s;
}
.db-dim-value {
  width: 40px;
  text-align: right;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  font-family: 'Orbitron', monospace;
  flex-shrink: 0;
}

/* 羁绊列表 */
.db-bond-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.db-bond-item {
  padding: 10px 12px;
  background: linear-gradient(135deg, rgba(138, 43, 226, 0.12), rgba(255, 105, 180, 0.08));
  border: 1px solid rgba(138, 43, 226, 0.25);
  border-radius: 8px;
}
.db-bond-name {
  font-size: 14px;
  font-weight: 700;
  color: #D8A7FF;
  margin-bottom: 4px;
}
.db-bond-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.db-bond-effect {
  font-size: 12px;
  color: #FF8FC4;
  margin-top: 4px;
  font-weight: 500;
}

/* 足球羁绊标记 */
.fb-bond-overpowered {
  border-color: rgba(255, 77, 79, 0.4) !important;
  background: linear-gradient(135deg, rgba(255, 77, 79, 0.1), rgba(255, 105, 180, 0.06)) !important;
}
.fb-bond-pending {
  border-color: rgba(255, 193, 7, 0.35) !important;
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.08), rgba(255, 193, 7, 0.04)) !important;
  opacity: 0.75;
}
.fb-bond-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 8px;
  vertical-align: middle;
  letter-spacing: 0.3px;
}
.fb-bond-tag-high {
  background: rgba(255, 77, 79, 0.25);
  color: #FF6B6B;
  border: 1px solid rgba(255, 77, 79, 0.4);
}
.fb-bond-tag-medium {
  background: rgba(255, 159, 67, 0.2);
  color: #FFA94D;
  border: 1px solid rgba(255, 159, 67, 0.35);
}
.fb-bond-tag-pending {
  background: rgba(255, 193, 7, 0.18);
  color: #FFD66B;
  border: 1px solid rgba(255, 193, 7, 0.35);
}
.fb-bond-warn {
  font-size: 11px;
  color: #FF8787;
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px dashed rgba(255, 77, 79, 0.2);
  line-height: 1.5;
}

/* 技能列表 */
.db-skill-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.db-skill-item {
  padding: 10px 12px;
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.12), rgba(255, 140, 0, 0.08));
  border: 1px solid rgba(255, 193, 7, 0.25);
  border-radius: 8px;
}
.db-skill-name {
  font-size: 14px;
  font-weight: 700;
  color: #FFD66B;
  margin-bottom: 4px;
}
.db-skill-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.db-skill-effect {
  font-size: 12px;
  color: #FFB347;
  margin-top: 4px;
}
.db-skill-placeholder {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(244, 208, 63, 0.05)) !important;
  border: 1px dashed rgba(212, 175, 55, 0.3) !important;
  text-align: center;
  opacity: 0.7;
}
.db-skill-placeholder .db-skill-name {
  color: #d4af37 !important;
}
.db-player-skill {
  background: linear-gradient(135deg, rgba(156, 39, 176, 0.15), rgba(103, 58, 183, 0.08)) !important;
  border-color: rgba(156, 39, 176, 0.35) !important;
}
.db-player-skill .db-skill-name {
  color: #ce93d8 !important;
  font-weight: 500;
}
.db-skill-type-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  margin-right: 6px;
  vertical-align: middle;
}
.db-skill-type-player {
  background: rgba(96, 165, 250, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(96, 165, 250, 0.3);
}
.db-skill-type-captain {
  background: rgba(212, 175, 55, 0.15);
  color: #d4af37;
  border: 1px solid rgba(212, 175, 55, 0.35);
}
.db-skill-captain {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(255, 215, 0, 0.08)) !important;
  border-color: rgba(212, 175, 55, 0.4) !important;
}
.db-skill-captain .db-skill-name {
  color: #ffd700 !important;
}
.db-skill-type {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
  opacity: 0.8;
}

/* 空状态文本 */
.db-empty-text {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  padding: 16px 0;
  font-style: italic;
}

/* 首页代理人战争按钮 */
.btn-agent-war {
  margin-top: 12px;
  background: linear-gradient(135deg, #1a0a3a, #3d1f6b 50%, #1a0a3a);
  border: 2px solid #d4af37;
  color: #f4d03f;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 12px 32px;
  line-height: 1.2;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.2), inset 0 0 20px rgba(212, 175, 55, 0.05);
}

.btn-agent-war::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.6s ease;
}

.btn-agent-war:hover::before {
  left: 100%;
}

.btn-agent-war:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.35), inset 0 0 24px rgba(212, 175, 55, 0.1);
}

.agent-war-btn-main {
  font-size: 18px;
  letter-spacing: 2px;
  background: linear-gradient(135deg, #d4af37, #f4d03f, #d4af37);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.agent-war-btn-beta {
  font-size: 11px;
  color: #ff6b35;
  letter-spacing: 3px;
  font-weight: 600;
  padding: 1px 8px;
  border: 1px solid #ff6b3550;
  border-radius: 8px;
  background: rgba(255, 107, 53, 0.1);
}

/* 首页二级链接 */
.home-secondary-link {
  margin-top: 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.home-made-by {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 2px;
  margin-top: 2px;
}

.home-footer-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-top: 10px;
  opacity: 0.9;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.25));
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text-secondary);
  padding: 10px 24px;
  border-radius: 12px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-ghost:hover {
  background: rgba(0, 212, 255, 0.08);
  color: var(--text-primary);
  border-color: var(--accent);
}

/* ===== Day Screen / 游戏日 ===== */
.day-screen {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px 20px;
  color: var(--text-primary);
  height: 100vh;
  overflow-y: auto;
}

.day-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 8px 0 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 20px;
}

.day-info {
  background: linear-gradient(135deg, rgba(255, 183, 77, 0.15), rgba(255, 138, 101, 0.1));
  border: 1px solid rgba(255, 167, 84, 0.3);
  border-radius: 10px;
  padding: 8px 14px;
  min-width: 110px;
}
.day-label {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 0.5px;
}
.day-time {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.day-event-title {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}
.day-event-icon { font-size: 28px; }
.day-event-title h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 0;
  background: linear-gradient(90deg, var(--accent-gold), #ff9e80);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.day-phase-indicator {
  padding: 6px 14px;
  background: rgba(255,255,255,0.05);
  border-radius: 20px;
  font-size: 13px;
  color: var(--text-muted);
  border: 1px solid rgba(255,255,255,0.08);
}

/* ===== Day 1 选手选择 ===== */
.race-select-layout {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* 顶部信息条 */
.race-select-topbar {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.race-select-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.race-select-title-row h3 {
  font-size: 17px;
  margin: 0;
  font-weight: 700;
}
.race-select-count {
  font-size: 13px;
  color: var(--text-muted);
  flex-shrink: 0;
}
.race-select-count strong {
  color: var(--accent-gold);
  font-size: 18px;
  font-weight: 700;
}

.race-rules-hint {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 10px 12px;
  background: rgba(255, 193, 7, 0.06);
  border: 1px solid rgba(255, 193, 7, 0.15);
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--text-muted);
}
.race-rules-hint .hint-icon { font-size: 14px; flex-shrink: 0; line-height: 1.4; }
.race-rules-hint strong { color: var(--accent-gold); font-weight: 600; }

/* 主体：选手卡片 + 侧栏 */
.race-select-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.race-select-main {
  min-width: 0;
}

/* 选手卡片：默认移动端2列紧凑 */
.race-roster-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.race-roster-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
  position: relative;
  border-left: 3px solid var(--tier-border, rgba(255,255,255,0.1));
}
.race-roster-card:active {
  transform: scale(0.97);
}
.race-roster-card.selected {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 2px rgba(255, 193, 7, 0.25), 0 4px 16px rgba(255, 193, 7, 0.12);
  border-left-width: 3px;
}
.race-roster-card:hover {
  transform: translateY(-2px);
  border-color: var(--tier-border, rgba(255,255,255,0.2));
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

.race-card-portrait {
  width: 100%;
  height: 110px;
  position: relative;
  overflow: hidden;
}
.race-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 36px;
  font-weight: 700;
  opacity: 0.7;
}
.race-card-check {
  position: absolute;
  top: 6px;
  right: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.check-icon {
  width: 24px;
  height: 24px;
  background: var(--accent-gold);
  color: #1a1a2e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.check-ord {
  font-size: 10px;
  color: var(--text-muted);
  background: rgba(0,0,0,0.5);
  padding: 1px 6px;
  border-radius: 8px;
}

.race-card-info {
  padding: 8px 10px;
}
.race-card-name {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.race-card-stats {
  display: flex;
  gap: 4px;
  margin-bottom: 6px;
}
.stat-chip {
  font-size: 10px;
  padding: 1px 5px;
  border-radius: 4px;
  font-weight: 600;
}
.stat-stamina { background: rgba(76, 175, 80, 0.2); color: #81c784; }
.stat-strength { background: rgba(244, 67, 54, 0.2); color: #ef9a9a; }
.stat-mentality { background: rgba(156, 39, 176, 0.2); color: #ce93d8; }

.race-card-score {
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  padding-top: 4px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.race-card-score strong {
  color: var(--accent-gold);
  font-size: 13px;
}

/* 侧栏：棒次 + 对手 + 按钮 */
.race-select-sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.panel-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.relay-order-panel,
.ai-teams-preview {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 12px 14px;
}

.relay-order-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.relay-order-item {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  background: rgba(255,255,255,0.03);
  border-radius: 6px;
  font-size: 13px;
}
.relay-order-item.empty { opacity: 0.4; }
.relay-leg-num {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
}
.relay-runner-info {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.relay-runner-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.relay-runner-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.relay-runner-empty {
  color: var(--text-muted);
  font-style: italic;
}
.relay-leg-dist {
  font-size: 11px;
  color: var(--text-muted);
  text-align: right;
}
.relay-total-dist {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(255,255,255,0.1);
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}
.relay-total-dist strong {
  color: var(--accent-gold);
  font-size: 15px;
}

.ai-team-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.ai-team-row:last-child { border-bottom: none; }
.ai-team-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.ai-team-name { flex: 1; }
.ai-team-count {
  font-size: 11px;
  color: var(--text-muted);
}

.race-start-btn {
  width: 100%;
  margin-top: 4px;
}

/* ===== 结果页名次列表（竖排） ===== */
.result-ranking-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}

.ranking-row {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  transition: all 0.2s;
}

.ranking-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  font-size: 20px;
  font-weight: 800;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.ranking-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.ranking-team-line {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.ranking-team-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.ranking-team-name {
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ranking-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ranking-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.ranking-player-tag {
  font-size: 10px;
  padding: 1px 6px;
  background: rgba(255, 193, 7, 0.15);
  color: var(--accent-gold);
  border-radius: 4px;
  font-weight: 600;
}

.ranking-time {
  text-align: right;
  flex-shrink: 0;
}
.ranking-total {
  font-size: 17px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--text-primary);
}
.ranking-gap {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
  font-variant-numeric: tabular-nums;
}

/* 名次配色：金/银/铜/普通 */
.ranking-gold {
  border-color: rgba(255, 193, 7, 0.45);
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.12), rgba(255, 152, 0, 0.06));
  box-shadow: 0 0 24px rgba(255, 193, 7, 0.12);
}
.ranking-gold .ranking-num {
  background: linear-gradient(135deg, #ffd54f, #ff9800);
  color: #5d3b00;
  box-shadow: 0 0 16px rgba(255, 193, 7, 0.4);
}
.ranking-gold .ranking-total {
  color: #ffd54f;
}
.ranking-gold .ranking-label {
  color: #ffd54f;
}

.ranking-silver {
  border-color: rgba(189, 189, 189, 0.3);
}
.ranking-silver .ranking-num {
  background: linear-gradient(135deg, #e0e0e0, #9e9e9e);
  color: #2c2c2c;
}
.ranking-silver .ranking-label {
  color: #bdbdbd;
}

.ranking-bronze {
  border-color: rgba(255, 138, 101, 0.3);
}
.ranking-bronze .ranking-num {
  background: linear-gradient(135deg, #ffab91, #d84315);
  color: #fff;
}
.ranking-bronze .ranking-label {
  color: #ff8a65;
}

.ranking-fourth .ranking-num {
  background: rgba(255,255,255,0.06);
  color: var(--text-muted);
}

.ranking-row.player-row {
  outline: 2px solid rgba(255, 193, 7, 0.2);
  outline-offset: 1px;
}

/* ===== 比赛进行中 ===== */
.race-live-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 20px;
  height: calc(100% - 120px);
}

.race-visual-area {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.race-track-header {
  display: grid;
  grid-template-columns: 120px 1fr 80px;
  align-items: center;
  padding: 0 0 8px;
  font-size: 11px;
  color: var(--text-muted);
}
.race-track-header > :nth-child(1) { grid-column: 1; }
.race-track-header > :nth-child(2) {
  grid-column: 2;
  display: flex;
  justify-content: space-between;
  padding: 0 10px;
}
.race-track-header > :nth-child(3) { grid-column: 3; text-align: right; }

.race-distance-marker { font-size: 11px; }

.race-tracks {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: space-around;
  padding: 10px 0;
}

.race-track-row {
  display: grid;
  grid-template-columns: 120px 1fr 80px;
  gap: 12px;
  align-items: center;
}
.race-track-row.player-track .race-team-name {
  font-weight: 700;
  color: var(--accent-gold);
}

.race-team-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  min-width: 0;
}
.race-team-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.race-team-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.race-track {
  position: relative;
  height: 32px;
  border-radius: 16px;
}
.race-track-bg {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  overflow: hidden;
}
.race-track-lanes {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-around;
  opacity: 0.3;
}
.track-lane-marker {
  width: 1px;
  height: 100%;
  background: rgba(255,255,255,0.1);
}
.race-finish-line {
  position: absolute;
  right: 0;
  top: -4px;
  bottom: -4px;
  width: 3px;
  background: repeating-linear-gradient(
    0deg,
    #fff 0px, #fff 4px,
    transparent 4px, transparent 8px
  );
  z-index: 1;
}

.race-runner-dot {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  z-index: 2;
  transition: left 0.05s linear;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255,255,255,0.8);
}
.runner-dot-name {
  font-size: 9px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
  white-space: nowrap;
}

.race-team-time {
  font-size: 14px;
  font-weight: 600;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* 侧栏-实时面板 */
.race-live-sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.live-rank-panel,
.race-log-panel {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 12px;
}

.live-rank-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.live-rank-item {
  display: grid;
  grid-template-columns: 22px 12px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  background: rgba(255,255,255,0.03);
  border-radius: 6px;
  font-size: 13px;
}
.live-rank-item.player {
  background: rgba(255, 193, 7, 0.08);
  border: 1px solid rgba(255, 193, 7, 0.2);
}
.rank-num {
  font-weight: 700;
  color: var(--accent-gold);
  font-size: 14px;
}
.rank-team-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.rank-team-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rank-progress {
  font-size: 11px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.race-log-panel { flex: 1; min-height: 200px; max-height: 340px; }
.race-log-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 280px;
  overflow-y: auto;
  font-size: 12px;
}
.race-log-item {
  padding: 4px 6px;
  border-radius: 4px;
  color: var(--text-muted);
  line-height: 1.4;
}
.race-log-item .log-time {
  color: var(--text-faint);
  margin-right: 6px;
  font-variant-numeric: tabular-nums;
}
.race-log-item .log-text { color: var(--text-secondary); }
.race-log-item.info .log-text { color: var(--accent-gold); }
.race-log-item.player-finish .log-text { color: var(--accent-gold); font-weight: 600; }
.race-log-item.ai-finish .log-text { color: #81c784; }
.race-log-item.handover .log-text { color: var(--text-muted); }

/* ===== 比赛结果 ===== */
.race-result-layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.result-podium {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 24px;
  padding: 30px 0 10px;
}

.podium-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 20px 30px;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  min-width: 180px;
}
.podium-item:nth-child(1) { order: 2; }
.podium-item:nth-child(2) { order: 1; transform: scale(0.9); }
.podium-item:nth-child(3) { order: 3; transform: scale(0.85); }

.podium-gold {
  border-color: rgba(255, 193, 7, 0.5);
  box-shadow: 0 0 30px rgba(255, 193, 7, 0.15);
}
.podium-silver {
  border-color: rgba(189, 189, 189, 0.4);
  box-shadow: 0 0 20px rgba(189, 189, 189, 0.1);
}
.podium-bronze {
  border-color: rgba(255, 138, 101, 0.4);
  box-shadow: 0 0 15px rgba(255, 138, 101, 0.1);
}

.podium-rank {
  font-size: 36px;
  font-weight: 800;
  color: var(--accent-gold);
}
.podium-silver .podium-rank { color: #bdbdbd; }
.podium-bronze .podium-rank { color: #ff8a65; }

.podium-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
}
.podium-team-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 4px 0;
}
.podium-team-name {
  font-size: 16px;
  font-weight: 600;
}
.podium-time {
  font-size: 24px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  margin: 4px 0;
}
.podium-gap {
  font-size: 12px;
  color: var(--text-muted);
}

.result-detail-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}

.result-teams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}

.result-team-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 14px;
}
.result-team-card.player-team {
  border-color: rgba(255, 193, 7, 0.3);
  box-shadow: 0 0 20px rgba(255, 193, 7, 0.08);
}

.result-team-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 10px;
}
.result-team-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.result-team-name {
  flex: 1;
  font-weight: 600;
  font-size: 14px;
}
.result-team-rank {
  font-size: 13px;
  color: var(--accent-gold);
  font-weight: 700;
}

.result-splits {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 10px;
}
.split-row {
  display: grid;
  grid-template-columns: 32px 10px 1fr auto;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  padding: 3px 0;
}
.split-leg { color: var(--text-muted); font-size: 11px; }
.split-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.split-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.split-time {
  font-variant-numeric: tabular-nums;
  color: var(--text-secondary);
}

.result-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 13px;
  color: var(--text-muted);
}
.result-total-row strong {
  color: var(--accent-gold);
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}

.result-actions {
  display: flex;
  justify-content: center;
  padding: 20px 0;
}

/* ===== 响应式：宽屏（平板/桌面）左右分栏 ===== */
@media (min-width: 768px) {
  .race-select-body {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 20px;
  }
  .race-roster-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
}

/* 比赛结束横幅 */
.race-finished-banner {
  background: linear-gradient(90deg, rgba(255, 193, 7, 0.2), rgba(255, 138, 101, 0.15));
  border: 1px solid rgba(255, 193, 7, 0.4);
  border-radius: 10px;
  padding: 14px 20px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  animation: raceFinishedPulse 2s ease-in-out infinite;
}
@keyframes raceFinishedPulse {
  0%, 100% { box-shadow: 0 0 0 rgba(255, 193, 7, 0); }
  50% { box-shadow: 0 0 30px rgba(255, 193, 7, 0.2); }
}
.race-finished-icon {
  font-size: 28px;
}
.race-finished-text {
  font-size: 20px;
  font-weight: 700;
  background: linear-gradient(90deg, var(--accent-gold), #ff9e80);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 跳过按钮 */
.race-skip-bar {
  display: flex;
  justify-content: flex-end;
  padding: 10px 0;
}

/* ===== Day 1 晚上 · 听歌识曲 ===== */
.music-quiz-screen {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* 队伍实时积分条 */
.quiz-team-scores {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.quiz-team-score-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  font-size: 13px;
}
.quiz-team-score-row.player-team {
  border-color: rgba(255, 193, 7, 0.35);
  background: rgba(255, 193, 7, 0.06);
}
.quiz-team-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.quiz-team-name {
  flex: 1;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.quiz-team-points {
  font-size: 12px;
  color: var(--text-muted);
  flex-shrink: 0;
}
.quiz-team-points strong {
  color: var(--accent-gold);
  font-size: 16px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  margin-right: 2px;
}

/* 主卡片 */
/* 获胜队伍横幅 */
.quiz-winner-banner {
  background: linear-gradient(90deg, rgba(255, 193, 7, 0.15), rgba(255, 138, 101, 0.1));
  border: 1px solid rgba(255, 193, 7, 0.4);
  border-radius: 12px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  animation: raceFinishedPulse 2.5s ease-in-out infinite;
}
.winner-trophy {
  font-size: 28px;
  flex-shrink: 0;
}
.winner-info {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.winner-label {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 3px;
  text-transform: uppercase;
}
.winner-team-name {
  font-size: 24px;
  font-weight: 800;
  margin: 2px 0;
}
.winner-score {
  font-size: 14px;
  color: var(--accent-gold);
  font-weight: 700;
}

/* 各队分组明细 */
.quiz-team-groups {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.quiz-team-group {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 12px 14px;
}
.quiz-team-group.player-group {
  border-color: rgba(255, 193, 7, 0.35);
  background: rgba(255, 193, 7, 0.04);
}
.quiz-group-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 13px;
  font-weight: 600;
}
.quiz-group-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.quiz-group-name {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.quiz-group-total {
  color: var(--accent-gold);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.quiz-group-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.quiz-player-row {
  display: grid;
  grid-template-columns: auto auto 1fr;
  grid-template-rows: auto auto;
  grid-template-areas:
    "dot name stats"
    "dot bar bar";
  column-gap: 8px;
  row-gap: 3px;
  align-items: center;
  font-size: 11px;
}
.quiz-player-dot {
  grid-area: dot;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.quiz-player-name {
  grid-area: name;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.quiz-player-stats {
  grid-area: stats;
  text-align: right;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  font-variant-numeric: tabular-nums;
}
.quiz-player-correct {
  color: var(--text-muted);
}
.quiz-player-score {
  color: var(--accent-gold);
  font-weight: 700;
  min-width: 32px;
  text-align: right;
}
.quiz-player-bar {
  grid-area: bar;
  height: 3px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  overflow: hidden;
}
.quiz-player-bar-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 0.3s;
}

/* 轮次明细 */
.quiz-rounds-container {
  max-height: 280px;
  overflow-y: auto;
  padding-right: 4px;
}
.quiz-rounds-container::-webkit-scrollbar {
  width: 4px;
}
.quiz-rounds-container::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.03);
  border-radius: 2px;
}
.quiz-rounds-container::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
}
.quiz-round-row .quiz-song-name {
  font-weight: 500;
  color: var(--text-secondary);
  min-width: 80px;
}
.split-time.correct {
  color: #4ecdc4;
  font-weight: 600;
}
.split-time.wrong {
  color: #ff6b6b;
  font-weight: 500;
}

/* 结束横幅 */
.quiz-finished-banner {
  background: linear-gradient(90deg, rgba(255, 193, 7, 0.2), rgba(255, 138, 101, 0.15));
  border: 1px solid rgba(255, 193, 7, 0.4);
  border-radius: 10px;
  padding: 14px 20px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  animation: raceFinishedPulse 2s ease-in-out infinite;
}

/* 结束页布局 */
.quiz-result-layout {
  display: flex;
  flex-direction: column;
}

/* ====== Day 1 整活 · 队长技能 ====== */
.captain-skill-screen {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.skill-teams-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.skill-team-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.skill-team-card.player-team-card {
  border-color: rgba(255, 193, 7, 0.35);
}

.skill-team-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
}
.skill-team-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.skill-team-name {
  flex: 1;
}
.skill-player-tag {
  font-size: 10px;
  font-weight: 600;
  color: var(--accent-gold);
  background: rgba(255, 193, 7, 0.12);
  padding: 2px 8px;
  border-radius: 10px;
  border: 1px solid rgba(255, 193, 7, 0.3);
}

.skill-captains-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.skill-captain-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.skill-captain-avatar {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.skill-captain-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.skill-captain-avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}
.skill-captain-tier-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  font-size: 9px;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: 8px;
  border: 1px solid;
  line-height: 1.2;
}

.skill-captain-name {
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}
.skill-captain-role {
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 2px;
}

.skill-box {
  width: 100%;
  background: rgba(0,0,0,0.25);
  border: 1px dashed rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 60px;
}
.skill-box.skill-empty {
  align-items: center;
  justify-content: center;
  text-align: center;
}
.skill-box-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-gold);
}
.skill-box-desc {
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.4;
}
.skill-box-effect {
  font-size: 10px;
  color: #4ecdc4;
  margin-top: 2px;
}
.skill-box-placeholder {
  font-size: 11px;
  color: var(--text-muted);
  font-style: italic;
}

/* ====== Day 1 整活 · 队长技能 V2（玩家只操控自己队） ====== */
.captain-skill-screen-v2,
.captain-skill-screen-v3 {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* 玩家队主区 */
.ss-player-section {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--bg-card);
}

.ss-section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.ss-section-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.ss-section-name {
  font-size: 16px;
  font-weight: 800;
}
.ss-section-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
  border: 1px solid;
}
.ss-section-tag.player {
  color: var(--accent-gold);
  background: rgba(255, 193, 7, 0.12);
  border-color: rgba(255, 193, 7, 0.3);
}
.ss-section-status {
  margin-left: auto;
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
}

.ss-captains-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.ss-captain-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  position: relative;
}
.ss-captain-card.clickable {
  cursor: pointer;
}
.ss-captain-card.clickable:hover {
  border-color: rgba(255, 193, 7, 0.4);
  transform: translateY(-2px);
  background: rgba(255, 193, 7, 0.06);
}
.ss-captain-card.selected {
  border-color: var(--accent-gold);
  border-width: 2px;
  background: rgba(255, 193, 7, 0.1);
  box-shadow: 0 0 20px rgba(255, 193, 7, 0.15);
}
.ss-captain-card.disabled {
  opacity: 0.5;
  pointer-events: none;
}

.ss-captain-avatar {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.ss-captain-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ss-captain-avatar-ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}
.ss-captain-tier {
  position: absolute;
  bottom: -2px;
  right: -2px;
  font-size: 10px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 8px;
  border: 1px solid;
  line-height: 1.2;
}

.ss-captain-name {
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}
.ss-captain-role {
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 2px;
}

.ss-skill-box {
  width: 100%;
  background: rgba(0,0,0,0.25);
  border: 1px dashed rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 62px;
}
.ss-skill-box.skill-empty {
  align-items: center;
  justify-content: center;
  text-align: center;
}
.ss-skill-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-gold);
}
.ss-skill-desc {
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.4;
}
.ss-skill-effect {
  font-size: 10px;
  color: #4ecdc4;
  margin-top: 2px;
}
.ss-skill-ph {
  font-size: 11px;
  color: var(--text-muted);
  font-style: italic;
}

.ss-selected-mark {
  position: absolute;
  top: 8px;
  right: 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-gold);
  background: rgba(255, 193, 7, 0.15);
  padding: 2px 8px;
  border-radius: 8px;
}

.ss-action-row {
  display: flex;
  justify-content: center;
  padding-top: 4px;
}
.ss-action-row.two-btns {
  gap: 10px;
}
.ss-action-row.two-btns .btn {
  flex: 1;
  min-width: 0;
}

/* 跳过整活高亮 */
.btn.skip-hilight {
  animation: skipPulse 1.5s ease-in-out infinite;
  box-shadow: 0 0 0 2px rgba(243, 156, 18, 0.4);
}
@keyframes skipPulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(243, 156, 18, 0.4); }
  50% { box-shadow: 0 0 0 4px rgba(243, 156, 18, 0.7); }
}

/* 跳过整活结果区 */
.ss-skipped-section {
  background: rgba(243, 156, 18, 0.08);
  border: 1px solid rgba(243, 156, 18, 0.3);
}
.ss-skipped-section .ss-result-title {
  color: #f39c12;
}
.ss-skipped-hint {
  font-size: 12px;
  color: #aaa;
  margin-bottom: 8px;
}

.ss-result-section {
  background: rgba(0, 150, 136, 0.08);
  border: 1px solid rgba(0, 150, 136, 0.25);
  border-radius: 10px;
  padding: 12px 14px;
}
.ss-result-title {
  font-size: 13px;
  font-weight: 700;
  color: #4db6ac;
  margin-bottom: 8px;
}
.ss-result-detail {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ss-result-skill-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.ss-result-captain {
  font-weight: 700;
}
.ss-result-arrow {
  color: var(--text-muted);
}
.ss-result-skill-name {
  color: var(--accent-gold);
  font-weight: 600;
}
.ss-result-no-effect {
  font-size: 12px;
  color: var(--text-muted);
  font-style: italic;
}
.ss-result-extra-desc {
  margin-top: 6px;
  font-size: 11px;
  color: var(--text-muted);
  padding: 4px 8px;
  background: rgba(255, 200, 80, 0.08);
  border-left: 2px solid var(--accent-gold);
  border-radius: 0 3px 3px 0;
}
.ss-result-changes {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
}
.ss-change-row {
  display: flex;
  gap: 10px;
  align-items: center;
}
.ss-change-player {
  width: 80px;
  font-weight: 500;
}
.ss-change-dim {
  color: var(--text-secondary);
  width: 50px;
}
.ss-change-delta.up {
  color: #4caf50;
  font-weight: 700;
}
.ss-change-delta.down {
  color: #ef5350;
  font-weight: 700;
}

/* AI 队伍区 */
.ss-ai-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ss-ai-section-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 12px;
}
.ss-ai-loading {
  font-size: 12px;
  color: var(--accent-gold);
  font-weight: 500;
  animation: pulse 1.5s infinite;
}
.ss-ai-done {
  font-size: 12px;
  color: #4caf50;
  font-weight: 600;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.ss-ai-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.ss-ai-card {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--bg-card);
  transition: all 0.3s ease;
}
.ss-ai-simulating {
  border-color: rgba(255, 193, 7, 0.3);
  background: rgba(255, 193, 7, 0.04);
}
.ss-ai-done {
  border-color: rgba(76, 175, 80, 0.25);
}

.ss-ai-card-header {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.ss-ai-team-name {
  font-size: 13px;
  font-weight: 700;
  flex: 1;
}
.ss-ai-status-tag {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  color: var(--text-muted);
}
.ss-ai-simulating .ss-ai-status-tag {
  color: var(--accent-gold);
  background: rgba(255, 193, 7, 0.12);
}
.ss-ai-done .ss-ai-status-tag {
  color: #4caf50;
  background: rgba(76, 175, 80, 0.12);
}

.ss-ai-captains-preview {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 8px 0;
}
.ss-ai-captain-mini {
  font-size: 11px;
  color: var(--text-muted);
  padding: 3px 8px;
  background: rgba(255,255,255,0.04);
  border-radius: 6px;
}

.ss-ai-simulating .ss-ai-simulating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 0;
  font-size: 12px;
  color: var(--text-secondary);
}
.ss-ai-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 193, 7, 0.2);
  border-top-color: var(--accent-gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

.ss-ai-result {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ss-ai-result-line {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  flex-wrap: wrap;
}
.ss-ai-captain-name {
  font-weight: 700;
  font-size: 12px;
}
.ss-ai-skill-used {
  color: var(--accent-gold);
  font-size: 11px;
}
.ss-ai-no-effect {
  font-size: 11px;
  color: var(--text-muted);
  font-style: italic;
}
.ss-ai-changes {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 11px;
  color: var(--text-secondary);
}
.ss-ai-change-mini {
  color: #4caf50;
}
.ss-ai-change-more {
  color: var(--text-muted);
  font-style: italic;
}

/* ====== Day 1 结算界面 ====== */
.settlement-screen {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.settle-summary {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.settle-summary-title {
  font-size: 16px;
  font-weight: 800;
  border-left: 3px solid var(--accent-gold);
  padding-left: 10px;
}

.settle-events {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.settle-event-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.settle-event-head {
  display: flex;
  align-items: center;
  gap: 8px;
}
.settle-event-icon {
  font-size: 18px;
}
.settle-event-name {
  font-size: 13px;
  font-weight: 700;
}

.settle-event-ranking {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.settle-rank-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}
.settle-rank-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  background: rgba(255,255,255,0.08);
  color: var(--text-secondary);
  flex-shrink: 0;
}
.settle-rank-num.rank-1 {
  background: linear-gradient(135deg, #ffd700, #ff9500);
  color: #1a1a1a;
}
.settle-rank-num.rank-2 {
  background: linear-gradient(135deg, #c0c0c0, #909090);
  color: #1a1a1a;
}
.settle-rank-num.rank-3 {
  background: linear-gradient(135deg, #cd7f32, #8b4513);
  color: #fff;
}
.settle-rank-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.settle-rank-name {
  flex: 1;
  font-weight: 500;
}
.settle-rank-value {
  color: var(--accent-gold);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.settle-rank-points {
  color: #ff7043;
  font-weight: 700;
  font-size: 11px;
  margin-left: auto;
  flex-shrink: 0;
}

.settle-skill-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.settle-skill-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  flex-wrap: wrap;
}
.settle-skill-team {
  font-weight: 600;
  width: 68px;
}
.settle-skill-captain {
  color: var(--text-secondary);
  font-size: 11px;
}
.settle-skill-arrow {
  color: var(--text-muted);
  font-size: 10px;
}
.settle-skill-name {
  color: var(--accent-gold);
  font-weight: 600;
  font-size: 11px;
}
.settle-skill-name.pending {
  color: var(--text-muted);
  font-style: italic;
  font-weight: 400;
}

/* 全员属性列表 */
.settle-roster {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.settle-roster-title {
  font-size: 16px;
  font-weight: 800;
  border-left: 3px solid var(--accent-gold);
  padding-left: 10px;
}

.settle-team-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.settle-team-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  background: rgba(255,255,255,0.02);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}
.settle-team-tab:hover {
  background: rgba(255,255,255,0.05);
  color: var(--text-primary);
}
.settle-team-tab.active {
  background: rgba(255, 193, 7, 0.1);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}
.settle-tab-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.settle-tab-count {
  font-size: 10px;
  opacity: 0.7;
  font-weight: 500;
}

.settle-attr-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.settle-attr-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.settle-attr-card.row-captain {
  background: rgba(255, 193, 7, 0.06);
  border-color: rgba(255, 193, 7, 0.18);
}

.settle-attr-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.settle-attr-card-player {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}
.settle-card-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.settle-card-avatar.ph {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}
.settle-card-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.settle-card-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.settle-card-overall {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
  flex-shrink: 0;
}
.settle-overall-label {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 500;
}
.settle-overall-value {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.settle-card-overall.over-limit .settle-overall-value {
  color: #ff7043;
}

.settle-attr-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.settle-attr-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 5px 4px;
  background: rgba(255,255,255,0.03);
  border-radius: 6px;
  text-align: center;
}
.settle-attr-cell-label {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1;
}
.settle-attr-cell-value {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}
.settle-attr-cell.over-limit .settle-attr-cell-value {
  color: #ff7043;
}

.settle-legend {
  display: flex;
  gap: 16px;
  font-size: 11px;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
}
.legend-dot.over-limit {
  background: #ff7043;
}

.settle-actions {
  margin-top: 4px;
}

/* 积分汇总卡片 */
.settle-points {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.settle-points-title {
  font-size: 16px;
  font-weight: 800;
  border-left: 3px solid var(--accent-gold);
  padding-left: 10px;
}
.settle-points-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.points-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-left: 3px solid var(--pc-color);
}
.points-card-head {
  display: flex;
  align-items: center;
  gap: 6px;
}
.points-card-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.points-card-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.points-card-total {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent-gold);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.points-card-total span {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 2px;
}
.points-card-detail {
  display: flex;
  gap: 12px;
  font-size: 11px;
  color: var(--text-muted);
}
.points-card-detail strong {
  color: var(--text-secondary);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.settle-points-rule {
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
}

/* 响应式 */
@media (max-width: 900px) {
  .settle-events {
    grid-template-columns: 1fr;
  }
  .ss-ai-grid {
    grid-template-columns: 1fr;
  }
  .ss-captains-row {
    grid-template-columns: 1fr;
  }
  .settle-attr-cards {
    grid-template-columns: 1fr;
  }
  .settle-points-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ====== Day 1 整活 · 队长技能 v2（玩家只操作自己队） ====== */
.captain-skill-screen-v2 {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cs-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}
.cs-header-left { display: flex; flex-direction: column; gap: 6px; }
.cs-day-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  background: rgba(0, 212, 255, 0.12);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(0, 212, 255, 0.3);
  letter-spacing: 1px;
  width: fit-content;
}
.cs-title {
  font-size: 28px;
  font-weight: 900;
  margin: 0;
  color: var(--text-primary);
  letter-spacing: 1px;
}
.cs-subtitle {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
  max-width: 600px;
}
.cs-header-right { flex-shrink: 0; }
.cs-progress-info {
  text-align: right;
  display: flex; flex-direction: column; gap: 2px;
}
.cs-progress-label {
  font-size: 11px; color: var(--text-muted); letter-spacing: 1px;
}
.cs-progress-value {
  font-size: 16px; font-weight: 800; color: var(--accent-gold);
}

/* 玩家队操作区 */
.cs-player-section {
  border: 1px solid;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cs-player-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cs-player-title-row {
  display: flex; align-items: center; gap: 10px;
}
.cs-player-dot {
  width: 12px; height: 12px; border-radius: 50%;
  box-shadow: 0 0 12px currentColor;
}
.cs-player-team-name {
  font-size: 20px; font-weight: 900; color: var(--text-primary);
}
.cs-player-tag {
  font-size: 11px; font-weight: 700;
  color: var(--accent-gold);
  background: rgba(255, 193, 7, 0.15);
  padding: 3px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 193, 7, 0.35);
}
.cs-player-status { display: flex; align-items: center; }
.cs-status {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
}
.cs-status-dot {
  width: 6px; height: 6px; border-radius: 50%;
}
.cs-status-waiting {
  color: var(--accent-gold);
  background: rgba(255, 193, 7, 0.12);
  border: 1px solid rgba(255, 193, 7, 0.3);
}
.cs-status-waiting .cs-status-dot { background: var(--accent-gold); animation: cs-pulse 1.5s infinite; }
.cs-status-done {
  color: #4ecdc4;
  background: rgba(78, 205, 196, 0.12);
  border: 1px solid rgba(78, 205, 196, 0.3);
}
.cs-status-done .cs-status-dot { background: #4ecdc4; }
@keyframes cs-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.cs-captains-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.cs-captain-card {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.3s ease;
}
.cs-captain-card.cs-captain-active {
  border-color: rgba(78, 205, 196, 0.5);
  box-shadow: 0 0 20px rgba(78, 205, 196, 0.15);
}
.cs-captain-info {
  display: flex; align-items: center; gap: 12px;
}
.cs-captain-avatar {
  position: relative;
  width: 52px; height: 52px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.1);
}
.cs-captain-avatar img {
  width: 100%; height: 100%; object-fit: cover;
}
.cs-captain-avatar-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 700; color: #fff;
}
.cs-captain-tier-badge {
  position: absolute;
  bottom: -2px; right: -2px;
  font-size: 9px; font-weight: 800;
  padding: 1px 5px;
  border-radius: 8px;
  border: 1px solid;
  line-height: 1.2;
}
.cs-captain-meta { display: flex; flex-direction: column; gap: 2px; }
.cs-captain-name {
  font-size: 15px; font-weight: 800; color: var(--text-primary);
}
.cs-captain-role {
  font-size: 11px; color: var(--text-muted); letter-spacing: 2px;
}

.cs-skill-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cs-skill-box.cs-skill-empty {
  align-items: flex-start;
}
.cs-skill-label {
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}
.cs-skill-name {
  font-size: 14px; font-weight: 800; color: var(--accent-gold);
}
.cs-skill-desc {
  font-size: 12px; color: var(--text-secondary); line-height: 1.5;
}
.cs-skill-effect {
  font-size: 11px; color: #4ecdc4;
  margin-top: 2px;
}
.cs-skill-placeholder {
  font-size: 12px; color: var(--text-muted); font-style: italic;
}

.cs-activate-row { display: flex; justify-content: center; }
.cs-activate-btn { min-width: 220px; }
.cs-activate-btn:disabled {
  opacity: 0.7;
  cursor: default;
}

/* AI 队状态区 */
.cs-ai-section {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cs-ai-title {
  display: flex; align-items: baseline; gap: 12px;
  font-size: 15px; font-weight: 800; color: var(--text-primary);
}
.cs-ai-subtitle {
  font-size: 12px; font-weight: 400; color: var(--text-muted);
}
.cs-ai-list {
  display: flex; flex-direction: column; gap: 8px;
}
.cs-ai-team {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid;
  border-radius: 10px;
  transition: all 0.3s ease;
}
.cs-ai-team-left { display: flex; align-items: center; gap: 8px; }
.cs-ai-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.cs-ai-name { font-size: 13px; font-weight: 700; color: var(--text-primary); }
.cs-ai-captains {
  font-size: 11px; color: var(--text-muted);
  margin-left: 4px;
}
.cs-ai-team-right { flex-shrink: 0; }
.cs-ai-status {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600;
  padding: 3px 10px;
  border-radius: 12px;
}
.cs-ai-status-pending {
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.06);
}
.cs-ai-status-simulating {
  color: var(--accent);
  background: rgba(0, 212, 255, 0.12);
}
.cs-ai-status-done {
  color: #4ecdc4;
  background: rgba(78, 205, 196, 0.12);
}
.cs-ai-spinner {
  width: 10px; height: 10px;
  border: 2px solid rgba(0, 212, 255, 0.3);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: cs-spin 0.8s linear infinite;
}
@keyframes cs-spin {
  to { transform: rotate(360deg); }
}

/* ====== 队长技能 v3 新增样式 ====== */
.captain-skill-screen-v3 {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* 队长卡片底部技能chip */
.ss-captain-skills-mini {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: auto;
  width: 100%;
}
.ss-skill-chip {
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(0, 212, 255, 0.12);
  color: var(--accent);
  text-align: center;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ss-skill-chip.on-cooldown {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
}

/* 已选队长信息栏 */
.ss-selected-captain-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}
.ss-back-btn {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 12px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 500;
}
.ss-back-btn:hover {
  background: rgba(0, 212, 255, 0.1);
}

/* 技能列表 */
.ss-skill-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ss-skill-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.15s;
}
.ss-skill-card.clickable {
  cursor: pointer;
}
.ss-skill-card.clickable:hover {
  border-color: rgba(0, 212, 255, 0.4);
  background: rgba(0, 212, 255, 0.06);
}
.ss-skill-card.selected {
  border-color: var(--accent-gold) !important;
  background: rgba(255, 193, 7, 0.08) !important;
  box-shadow: 0 0 0 2px rgba(255, 193, 7, 0.2);
}
.ss-skill-card.disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.ss-skill-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ss-skill-card-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-primary);
}
.ss-skill-card-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  letter-spacing: 0.5px;
}
.ss-skill-card-tag.limited {
  color: #ff9a3c;
  background: rgba(255, 154, 60, 0.15);
  border: 1px solid rgba(255, 154, 60, 0.35);
}
.ss-skill-card-tag.cooldown {
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.ss-skill-card-tag.bailed {
  color: #f39c12;
  background: rgba(243, 156, 18, 0.15);
  border: 1px solid rgba(243, 156, 18, 0.4);
  animation: bailPulse 1.6s ease-in-out infinite;
}
@keyframes bailPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(243, 156, 18, 0.3); }
  50% { box-shadow: 0 0 0 3px rgba(243, 156, 18, 0); }
}
.ss-skill-card-tag.strong {
  color: #ff6b9d;
  background: rgba(255, 107, 157, 0.12);
  border: 1px solid rgba(255, 107, 157, 0.3);
}
.ss-skill-card-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.ss-skill-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}
.ss-skill-target {
  font-weight: 500;
}
.ss-skill-cd {
  font-family: 'Orbitron', monospace;
  letter-spacing: 0.5px;
}

/* 目标选择 */
.ss-target-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ss-target-hint {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 600;
}
.ss-target-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 8px;
}
.ss-target-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: all 0.15s;
}
.ss-target-card.clickable {
  cursor: pointer;
}
.ss-target-card.clickable:hover {
  border-color: rgba(0, 212, 255, 0.4);
  background: rgba(0, 212, 255, 0.06);
}
.ss-target-card.selected {
  border-color: var(--accent-gold) !important;
  background: rgba(255, 193, 7, 0.1) !important;
  box-shadow: 0 0 0 2px rgba(255, 193, 7, 0.2);
}
.ss-target-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
}
.ss-target-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
}
.ss-target-overall {
  font-size: 10px;
  color: var(--text-muted);
  font-family: 'Orbitron', monospace;
}
.ss-target-team-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  transition: all 0.15s;
}
.ss-target-team-card.clickable {
  cursor: pointer;
}
.ss-target-team-card.clickable:hover {
  background: rgba(255, 255, 255, 0.06);
}
.ss-target-team-card.selected {
  box-shadow: 0 0 0 2px rgba(255, 193, 7, 0.3);
  background: rgba(255, 193, 7, 0.08) !important;
}
.ss-target-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.ss-target-team-name {
  flex: 1;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}
.ss-target-team-count {
  font-size: 11px;
  color: var(--text-muted);
  font-family: 'Orbitron', monospace;
}

/* ===== 队员技能 ===== */
.ss-player-skill-section {
  margin-top: 16px;
  padding: 14px 16px;
  background: rgba(156, 39, 176, 0.06);
  border: 1px solid rgba(156, 39, 176, 0.2);
  border-radius: 10px;
}
.ss-player-skill-section .ss-result-title {
  color: #ce93d8;
}
.ss-player-skill-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.ss-player-skill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}
.ss-player-skill-card {
  position: relative;
  background: var(--bg-card);
  border: 1.5px solid rgba(158, 158, 158, 0.3);
  border-radius: 10px;
  padding: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.ss-player-skill-card:hover {
  border-color: #ce93d8;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(156, 39, 176, 0.2);
}
.ss-player-skill-card.selected {
  border-color: #ab47bc;
  background: rgba(156, 39, 176, 0.1);
  box-shadow: 0 0 0 2px rgba(171, 71, 188, 0.3);
}
.ss-player-skill-card.disabled {
  opacity: 0.45;
  cursor: not-allowed;
  filter: grayscale(0.6);
}
.ss-player-skill-card.disabled:hover {
  transform: none;
  border-color: rgba(158, 158, 158, 0.3);
  box-shadow: none;
}
.ss-ps-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.ss-ps-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  flex-shrink: 0;
}
.ss-ps-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.ss-ps-name {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ss-ps-tier {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid;
  width: fit-content;
}
.ss-ps-skill-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-gold);
  margin-bottom: 4px;
}
.ss-ps-skill-desc {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
}
.ss-ps-skill-cd {
  font-size: 10px;
  color: var(--accent-gold);
  margin-top: 6px;
  font-weight: 500;
  opacity: 0.8;
}
.ss-player-skill-result .ss-result-title {
  color: #ce93d8;
}
.ss-player-skill-result {
  margin-top: 12px;
  border-color: rgba(156, 39, 176, 0.25) !important;
  background: rgba(156, 39, 176, 0.05) !important;
}

/* AI卡片中的队员技能 */
.ss-ai-player-skill {
  margin-top: 10px;
}
.ss-ai-ps-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  margin: 8px 0;
}
.ss-ai-ps-label {
  font-size: 10px;
  color: #ce93d8;
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: 1px;
}

/* 变化列表 */
.ss-changes-block {
  margin-top: 8px;
}
.ss-changes-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 6px;
}
.ss-changes-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ss-change-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 6px;
  font-size: 11px;
}
.ss-change-player {
  flex-shrink: 0;
  width: 70px;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ss-change-items {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
}
.ss-change-item {
  font-size: 11px;
  font-weight: 600;
  font-family: 'Orbitron', monospace;
}
.ss-change-item.up {
  color: var(--success-green);
}
.ss-change-item.down {
  color: #ff6b6b;
}
.ss-change-more {
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  padding: 4px;
  font-style: italic;
}

/* 结果区调整 */
.ss-result-skill-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}
.ss-result-target {
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 500;
}
.ss-ai-target {
  font-size: 11px;
  color: var(--text-secondary);
  margin: 2px 0 6px;
}
.ss-ai-result-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin-bottom: 4px;
}

/* 结算页技能展示增强 */
.settle-skill-target {
  font-size: 11px;
  color: var(--text-secondary);
  font-weight: 500;
  margin-left: -4px;
}
.settle-skill-effect {
  margin-left: auto;
  font-size: 11px;
  color: var(--success-green);
  font-weight: 600;
  font-family: 'Orbitron', monospace;
  letter-spacing: 0.3px;
  flex-shrink: 0;
}

/* ====== Day 1 结算界面 ====== */
.settlement-screen {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-bottom: 30px;
}

.settle-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
  padding: 10px 0 4px;
}
.settle-day-badge {
  display: inline-block;
  margin: 0 auto;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-gold);
  background: rgba(255, 193, 7, 0.12);
  padding: 4px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 193, 7, 0.3);
  letter-spacing: 2px;
  width: fit-content;
}
.settle-title {
  font-size: 32px;
  font-weight: 900;
  margin: 0;
  color: var(--text-primary);
  letter-spacing: 2px;
  background: linear-gradient(90deg, #fff, var(--accent-gold), #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.settle-subtitle {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
  letter-spacing: 1px;
}

.settle-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 14px;
}
.settle-section-dot {
  width: 4px; height: 18px;
  background: var(--accent);
  border-radius: 2px;
}
.settle-section-sub {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
  margin-left: auto;
}

/* 赛况简述卡片 */
.settle-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.settle-summary-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.settle-summary-card.settle-card-wide {
  grid-column: span 2;
}
.settle-card-icon {
  font-size: 22px;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}
.settle-card-title {
  font-size: 15px; font-weight: 800; color: var(--text-primary);
  margin-top: -2px;
}
.settle-card-list {
  display: flex; flex-direction: column; gap: 6px;
}
.settle-rank-row {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  font-size: 13px;
}
.settle-rank-num {
  font-size: 14px; font-weight: 900; width: 32px; flex-shrink: 0;
  font-family: 'Orbitron', monospace;
}
.settle-rank-dot {
  width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0;
}
.settle-rank-name {
  flex: 1; font-weight: 600; color: var(--text-primary);
}
.settle-rank-value {
  font-weight: 700; color: var(--text-secondary);
  font-family: 'Orbitron', monospace;
  font-size: 12px;
}

/* 整活技能行 */
.settle-skill-list {
  display: flex; flex-direction: column; gap: 8px;
}
.settle-skill-row {
  display: flex; flex-direction: row; align-items: center; flex-wrap: wrap; gap: 10px 14px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid;
  border-radius: 10px;
}
.settle-skill-name-text {
  font-weight: 700;
  color: var(--accent-gold);
}
.settle-skill-target {
  font-size: 12px;
  color: var(--text-secondary);
}
.settle-skill-effect {
  margin-left: auto;
  font-size: 12px;
  color: var(--text-tertiary);
}
.settle-skill-team {
  display: flex; align-items: center; gap: 8px;
  width: 150px; flex-shrink: 0;
}
.settle-skill-dot { width: 8px; height: 8px; border-radius: 50%; }
.settle-skill-team-name { font-size: 13px; font-weight: 700; color: var(--text-primary); }
.settle-skill-player-tag {
  font-size: 10px; font-weight: 600;
  color: var(--accent-gold);
  background: rgba(255, 193, 7, 0.12);
  padding: 1px 8px;
  border-radius: 10px;
}
.settle-skill-names {
  flex: 1;
  display: flex; gap: 20px;
  flex-wrap: wrap;
}
.settle-skill-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px;
}
.settle-skill-captain {
  color: var(--text-secondary);
  font-weight: 500;
}
.settle-skill-name-text {
  color: var(--accent-gold);
  font-weight: 700;
}

/* 全员属性列表 */
.settle-roster-section {
  display: flex; flex-direction: column; gap: 0;
}
.settle-teams-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.settle-team-card {
  border: 1px solid;
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.settle-team-card.settle-player-team {
  border-color: rgba(255, 193, 7, 0.4) !important;
}
.settle-team-header {
  display: flex; justify-content: space-between; align-items: center;
}
.settle-team-title { display: flex; align-items: center; gap: 8px; }
.settle-team-dot {
  width: 10px; height: 10px; border-radius: 50%;
  box-shadow: 0 0 8px currentColor;
}
.settle-team-name {
  font-size: 16px; font-weight: 900; color: var(--text-primary);
}
.settle-team-tag {
  font-size: 11px; font-weight: 700;
  color: var(--accent-gold);
  background: rgba(255, 193, 7, 0.12);
  padding: 2px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255, 193, 7, 0.3);
}
.settle-team-count {
  font-size: 12px; color: var(--text-muted);
  font-family: 'Orbitron', monospace;
}

/* 属性表格 */
.settle-roster-table {
  display: flex; flex-direction: column; gap: 4px;
  overflow-x: auto;
}
.settle-table-header {
  display: flex; align-items: center;
  padding: 6px 10px;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 8px;
  margin-bottom: 4px;
}
.settle-col-name { width: 140px; flex-shrink: 0; }
.settle-col-dims {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 2px;
  text-align: center;
}
.settle-dim {
  font-size: 11px;
  color: var(--text-secondary);
  font-weight: 500;
  text-align: center;
}
.settle-dim-overall {
  color: var(--accent-gold);
  font-weight: 800;
}
.settle-dim-over.settle-dim-over {
  color: #ff6b6b !important;
  font-weight: 800;
}

.settle-table-body {
  display: flex; flex-direction: column; gap: 2px;
  max-height: 420px;
  overflow-y: auto;
  padding-right: 6px;
}
.settle-table-body::-webkit-scrollbar { width: 5px; }
.settle-table-body::-webkit-scrollbar-track { background: rgba(255,255,255,0.03); border-radius: 3px; }
.settle-table-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 3px; }

.settle-player-row {
  display: flex; align-items: center;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 6px;
  transition: background 0.15s;
}
.settle-player-row:hover {
  background: rgba(255, 255, 255, 0.05);
}
.settle-col-name {
  display: flex; align-items: center; gap: 8px;
}
.settle-player-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; color: #fff;
  border: 1.5px solid;
  flex-shrink: 0;
}
.settle-player-info { display: flex; flex-direction: column; gap: 1px; }
.settle-player-name {
  font-size: 12px; font-weight: 700; color: var(--text-primary);
  display: flex; align-items: center; gap: 6px;
}
.settle-captain-mark {
  font-size: 9px; font-weight: 700;
  color: var(--accent-gold);
  background: rgba(255, 193, 7, 0.15);
  padding: 1px 5px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}
.settle-player-tier {
  font-size: 10px; color: var(--text-muted);
  font-family: 'Orbitron', monospace;
}

/* 底部 */
.settle-footer {
  display: flex; justify-content: center;
  padding-top: 8px;
}
.settle-placeholder-msg {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 600;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.05);
  padding: 14px 28px;
  border-radius: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.15);
}
.settle-placeholder-icon { font-size: 20px; }

/* ====== 整活 · 队长技能 V2 补充样式 ====== */
.ss-captain-card {
  position: relative;
}
.ss-captain-card.disabled {
  opacity: 0.5;
  filter: grayscale(0.5);
  pointer-events: none;
}
.ss-disabled-mark {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 700;
  color: #ff6b6b;
  background: rgba(255, 107, 107, 0.15);
  padding: 2px 8px;
  border-radius: 8px;
}

.ss-skills-mini {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 2px;
}
.ss-skill-mini {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  padding: 3px 6px;
  background: rgba(0, 212, 255, 0.08);
  border-radius: 6px;
  border: 1px solid rgba(0, 212, 255, 0.18);
}
.ss-skill-mini.cd {
  opacity: 0.5;
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
}
.ss-skill-mini-name {
  font-weight: 700;
  color: var(--text-primary);
}
.ss-skill-mini-cd {
  color: var(--text-muted);
  flex-shrink: 0;
}
.ss-skill-mini.cd .ss-skill-mini-cd {
  color: #ff9e9e;
}

/* 技能选择区 */
.ss-skill-select {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ss-skill-select-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}
.ss-skill-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.ss-skill-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all 0.15s ease;
}
.ss-skill-card.usable {
  cursor: pointer;
}
.ss-skill-card.usable:hover {
  border-color: rgba(0, 212, 255, 0.4);
  background: rgba(0, 212, 255, 0.06);
  transform: translateY(-1px);
}
.ss-skill-card.selected {
  border-color: var(--accent-gold);
  background: rgba(255, 193, 7, 0.08);
  box-shadow: 0 0 0 2px rgba(255, 193, 7, 0.2);
}
.ss-skill-card.unusable {
  opacity: 0.45;
  filter: grayscale(0.6);
  cursor: not-allowed;
}
.ss-skill-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.ss-skill-card-tag {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 6px;
  line-height: 1.4;
  flex-shrink: 0;
}
.ss-skill-card-tag.common {
  color: #9ecaff;
  background: rgba(80, 150, 255, 0.15);
  border: 1px solid rgba(80, 150, 255, 0.3);
}
.ss-skill-card-tag.special {
  color: #ffd59e;
  background: rgba(255, 160, 60, 0.15);
  border: 1px solid rgba(255, 160, 60, 0.3);
}
.ss-skill-card-name {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-primary);
  flex: 1;
}
.ss-skill-card-cd {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 6px;
  flex-shrink: 0;
}
.ss-skill-card-cd.ok {
  color: #4ecdc4;
  background: rgba(78, 205, 196, 0.12);
}
.ss-skill-card-cd.bad {
  color: #ff9e9e;
  background: rgba(255, 107, 107, 0.12);
}
.ss-skill-card-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* 目标选择 */
.ss-target-select {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ss-target-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.ss-target-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: all 0.15s ease;
}
.ss-target-card.clickable {
  cursor: pointer;
}
.ss-target-card.clickable:hover {
  border-color: var(--accent-gold);
  background: rgba(255, 193, 7, 0.08);
  transform: translateY(-1px);
}
.ss-target-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
}
.ss-target-overall {
  font-size: 10px;
  color: var(--text-muted);
}

.ss-target-team-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  transition: all 0.15s ease;
}
.ss-target-team-card.clickable {
  cursor: pointer;
}
.ss-target-team-card.clickable:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.07);
}
.ss-target-team-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

/* 结果目标显示 */
.ss-result-target {
  font-size: 12px;
  color: var(--text-muted);
  margin-left: 8px;
  padding: 2px 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 6px;
}

/* AI 结果目标 */
.ss-ai-target {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

/* ====== Day 1 整活 · 队长技能 V3（双技能+冷却+目标选择） ====== */
.captain-skill-screen-v3 {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.css-player-section {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--bg-card);
}

.css-section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.css-section-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.css-section-name {
  font-size: 16px;
  font-weight: 800;
}
.css-section-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 10px;
  border: 1px solid;
}
.css-section-tag.player {
  color: var(--accent-gold);
  background: rgba(255, 193, 7, 0.12);
  border-color: rgba(255, 193, 7, 0.3);
}
.css-section-status {
  margin-left: auto;
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 600;
}

/* 队长卡片 */
.css-captains-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.css-captain-card {
  background: rgba(255,255,255,0.03);
  border: 1.5px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  position: relative;
}
.css-captain-card.clickable {
  cursor: pointer;
}
.css-captain-card.clickable:hover {
  border-color: rgba(255, 193, 7, 0.5);
  background: rgba(255, 193, 7, 0.06);
  transform: translateY(-1px);
}
.css-captain-card.selected {
  border-color: var(--accent-gold);
  background: rgba(255, 193, 7, 0.1);
  box-shadow: 0 0 0 2px rgba(255, 193, 7, 0.2);
}
.css-captain-card.disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.css-captain-avatar {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.css-captain-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.css-captain-avatar-ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}
.css-captain-tier {
  position: absolute;
  bottom: -2px;
  right: -2px;
  font-size: 10px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 8px;
  border: 1.5px solid var(--bg-card);
  line-height: 1.2;
}

.css-captain-name {
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}
.css-captain-role {
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 2px;
}

.css-captain-skills-mini {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.css-skill-mini {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  padding: 3px 6px;
  border-radius: 6px;
  background: rgba(0,0,0,0.25);
}
.css-skill-mini-name {
  font-weight: 600;
}
.css-skill-mini-status {
  font-size: 10px;
  font-weight: 600;
}
.css-skill-mini.available .css-skill-mini-status {
  color: #4ade80;
}
.css-skill-mini.cooldown .css-skill-mini-status {
  color: #f59e0b;
}
.css-skill-mini.used .css-skill-mini-status {
  color: #94a3b8;
}

.css-selected-mark {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--accent-gold);
  color: #000;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 8px;
}

/* 技能选择区 */
.css-skill-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 4px;
  border-top: 1px dashed rgba(255,255,255,0.1);
}
.css-skill-list-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}
.css-skill-list-hint {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  margin-left: 6px;
}
.css-skill-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.css-skill-card {
  background: rgba(0,0,0,0.25);
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s;
}
.css-skill-card:hover {
  border-color: rgba(255, 193, 7, 0.4);
}
.css-skill-card.selected {
  border-color: var(--accent-gold);
  background: rgba(255, 193, 7, 0.1);
  box-shadow: 0 0 0 2px rgba(255, 193, 7, 0.15);
}
.css-skill-card.disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.css-skill-card.common {
  border-left: 3px solid #a78bfa;
}
.css-skill-card.special {
  border-left: 3px solid #fb923c;
}
.css-skill-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
}
.css-skill-card-name {
  font-size: 14px;
  font-weight: 700;
}
.css-skill-card-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 8px;
  flex-shrink: 0;
}
.css-skill-card-tag.available {
  background: rgba(74, 222, 128, 0.15);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.3);
}
.css-skill-card-tag.cooldown {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
}
.css-skill-card-tag.used {
  background: rgba(148, 163, 184, 0.15);
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.3);
}
.css-skill-card-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.css-skill-card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: auto;
}

/* 操作按钮区 */
.css-action-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding-top: 4px;
}
.css-action-row.two-btns {
  justify-content: space-between;
}

/* 目标选择 */
.css-target-select {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 4px;
  border-top: 1px dashed rgba(255,255,255,0.1);
}
.css-target-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}
.css-target-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.css-target-card {
  background: rgba(255,255,255,0.03);
  border: 1.5px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: all 0.2s;
}
.css-target-card:hover {
  border-color: rgba(255, 193, 7, 0.5);
  background: rgba(255, 193, 7, 0.05);
}
.css-target-card.selected {
  border-color: var(--accent-gold);
  background: rgba(255, 193, 7, 0.12);
  box-shadow: 0 0 0 2px rgba(255, 193, 7, 0.2);
}
.css-target-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}
.css-target-name {
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}
.css-target-role {
  font-size: 10px;
  color: var(--text-muted);
}
.css-target-overall {
  font-size: 10px;
  color: var(--accent-gold);
  font-weight: 700;
}

.css-target-enemy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.css-target-enemy {
  background: rgba(255,255,255,0.02);
  border: 1.5px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s;
}
.css-target-enemy:hover {
  background: rgba(255,255,255,0.05);
}
.css-target-enemy.selected {
  border-color: var(--accent-gold);
  background: rgba(255, 193, 7, 0.1);
  box-shadow: 0 0 0 2px rgba(255, 193, 7, 0.15);
}
.css-target-enemy-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 13px;
}
.css-target-enemy-info {
  font-size: 11px;
  color: var(--text-secondary);
}

/* 结果展示 */
.css-result-section {
  background: rgba(0,0,0,0.3);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.css-result-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-gold);
}
.css-result-detail {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.css-result-skill-info {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 14px;
}
.css-result-captain {
  font-weight: 700;
  color: var(--text-primary);
}
.css-result-arrow {
  color: var(--text-muted);
  font-weight: 600;
}
.css-result-skill-name {
  font-weight: 700;
  color: var(--accent-gold);
}
.css-result-target {
  font-weight: 700;
  color: #f472b6;
}
.css-result-no-effect {
  font-size: 12px;
  color: var(--text-muted);
  font-style: italic;
}
.css-result-changes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px 12px;
  max-height: 300px;
  overflow-y: auto;
}
.css-change-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  padding: 2px 0;
}
.css-change-player {
  font-weight: 600;
  color: var(--text-primary);
  min-width: 60px;
}
.css-change-dim {
  color: var(--text-secondary);
  min-width: 36px;
}
.css-change-delta {
  font-weight: 700;
  font-size: 12px;
}
.css-change-delta.up {
  color: #4ade80;
}
.css-change-delta.down {
  color: #f87171;
}

/* AI 区 */
.css-ai-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.css-ai-section-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}
.css-ai-loading {
  font-size: 12px;
  color: #f59e0b;
  font-weight: 600;
  animation: pulse 1s ease-in-out infinite;
}
.css-ai-done {
  font-size: 12px;
  color: #4ade80;
  font-weight: 600;
}
.css-ai-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.css-ai-card {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--bg-card);
  transition: all 0.3s;
}
.css-ai-simulating .css-ai-card {
  opacity: 0.6;
}
.css-ai-done .css-ai-card {
  opacity: 1;
}
.css-ai-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
}
.css-ai-team-name {
  font-size: 13px;
  font-weight: 700;
  flex: 1;
}
.css-ai-status-tag {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 8px;
}
.css-ai-pending .css-ai-status-tag {
  background: rgba(148,163,184,0.15);
  color: #94a3b8;
}
.css-ai-simulating .css-ai-status-tag {
  background: rgba(245,158,11,0.15);
  color: #f59e0b;
}
.css-ai-done .css-ai-status-tag {
  background: rgba(74,222,128,0.15);
  color: #4ade80;
}

.css-ai-captains-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.css-ai-captain-mini {
  background: rgba(255,255,255,0.05);
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 11px;
}
.css-ai-simulating {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-secondary);
  padding: 10px 0;
}
.css-ai-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(245, 158, 11, 0.3);
  border-top-color: #f59e0b;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.css-ai-result {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.css-ai-result-line {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 12px;
}
.css-ai-captain-name {
  font-weight: 700;
}
.css-ai-skill-used {
  color: var(--accent-gold);
  font-weight: 600;
}
.css-ai-target-line {
  font-size: 11px;
  color: var(--text-secondary);
}
.css-ai-no-effect {
  font-size: 11px;
  color: var(--text-muted);
  font-style: italic;
}
.css-ai-changes {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.css-ai-change-mini {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
}
.css-ai-change-mini span:first-child {
  font-weight: 600;
  min-width: 60px;
}
.css-ai-change-mini span:nth-child(2) {
  color: var(--text-secondary);
  min-width: 36px;
}
.css-ai-change-mini .up {
  color: #4ade80;
  font-weight: 700;
}
.css-ai-change-mini .down {
  color: #f87171;
  font-weight: 700;
}
.css-ai-change-more {
  font-size: 10px;
  color: var(--text-muted);
  padding-left: 2px;
}

/* ====== 队长技能 V3 补充样式（新增类） ====== */

/* 队长卡片上的技能小标签列表 */
.ss-captain-skills-mini {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: auto;
  width: 100%;
}
.ss-skill-mini {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  padding: 3px 6px;
  background: rgba(0, 212, 255, 0.08);
  border-radius: 6px;
  border: 1px solid rgba(0, 212, 255, 0.18);
}
.ss-skill-mini.available {
  /* 正常态 */
}
.ss-skill-mini.cooldown {
  opacity: 0.6;
  background: rgba(255, 170, 50, 0.08);
  border-color: rgba(255, 170, 50, 0.25);
}
.ss-skill-mini.used {
  opacity: 0.4;
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
}
.ss-skill-mini-name {
  font-weight: 700;
  color: var(--text-primary);
}
.ss-skill-mini-status {
  font-size: 9px;
  font-weight: 600;
  color: var(--text-muted);
  flex-shrink: 0;
}
.ss-skill-mini.available .ss-skill-mini-status {
  color: #4ecdc4;
}
.ss-skill-mini.cooldown .ss-skill-mini-status {
  color: #ffaa32;
}
.ss-skill-mini.used .ss-skill-mini-status {
  color: #ff8080;
}
.ss-skill-mini.bailed {
  background: rgba(243, 156, 18, 0.12);
  border-color: rgba(243, 156, 18, 0.4);
}
.ss-skill-mini.bailed .ss-skill-mini-status {
  color: #f39c12;
}

/* 技能选择区 */
.ss-skill-list-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.ss-skill-list-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.ss-skill-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ss-skill-card-cd {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 6px;
  margin-left: auto;
  flex-shrink: 0;
}
.ss-skill-card-cd.available {
  color: #4ecdc4;
  background: rgba(78, 205, 196, 0.12);
}
.ss-skill-card-cd.cooldown {
  color: #ffaa32;
  background: rgba(255, 170, 50, 0.12);
}
.ss-skill-card-cd.used {
  color: #ff8080;
  background: rgba(255, 128, 128, 0.12);
}
.ss-skill-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
}
.ss-skill-card-target {
  font-size: 10px;
  color: var(--text-muted);
  padding: 2px 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
}

/* 目标选择 */
.ss-target-select {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ss-target-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}
.ss-target-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.ss-target-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
  cursor: pointer;
}
.ss-target-card:hover {
  border-color: var(--accent-gold);
  background: rgba(255, 193, 7, 0.08);
  transform: translateY(-1px);
}
.ss-target-card.selected {
  border-color: var(--accent-gold);
  background: rgba(255, 193, 7, 0.12);
  box-shadow: 0 0 0 2px rgba(255, 193, 7, 0.2);
}
.ss-target-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
}
.ss-target-overall {
  font-size: 11px;
  color: var(--text-muted);
}
.ss-target-role {
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 1px;
}

/* 选择敌方队伍 */
.ss-target-enemy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.ss-target-enemy {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.ss-target-enemy:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.07);
}
.ss-target-enemy.selected {
  border-color: #ff6b6b;
  background: rgba(255, 107, 107, 0.08);
  box-shadow: 0 0 0 2px rgba(255, 107, 107, 0.2);
}
.ss-target-enemy-header {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ss-target-enemy-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  flex: 1;
}
.ss-target-enemy-info {
  font-size: 11px;
  color: var(--text-muted);
}

/* 结果里的目标标签 */
.ss-result-target {
  font-size: 12px;
  color: var(--text-muted);
  padding: 2px 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 6px;
}

/* AI 队伍队长名称 */
.ss-ai-cap-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}
.ss-ai-target-line {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

/* ====== Day 2 下午 · 水上摔跤 ====== */
.wrestle-screen .race-roster-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
@media (max-width: 767px) {
  .wrestle-screen .race-roster-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.result-team-ranking {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 18px;
}
.result-section-title {
  font-size: 16px;
  font-weight: 800;
  border-left: 3px solid var(--accent-gold);
  padding-left: 10px;
  margin-bottom: 14px;
}
.result-rank-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.result-rank-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border-left: 3px solid var(--rank-color);
}
.result-rank-card.rank-1 {
  background: linear-gradient(135deg, rgba(255,193,7,0.1), transparent);
  border-color: rgba(255,193,7,0.3);
  border-left-color: var(--rank-color);
}
.result-rank-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent-gold);
  line-height: 1;
}
.result-rank-card.rank-2 .result-rank-num { color: #bdbdbd; }
.result-rank-card.rank-3 .result-rank-num { color: #ff8a65; }
.result-rank-card.rank-4 .result-rank-num { color: var(--text-muted); font-size: 22px; }
.result-rank-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.result-rank-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
}
.result-rank-score {
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.result-rank-score .score-val {
  font-size: 22px;
  font-weight: 800;
  color: var(--accent-gold);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.result-rank-score .score-unit {
  font-size: 11px;
  color: var(--text-muted);
}

.result-individual-ranking {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 18px;
}
.individual-rank-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.individual-rank-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  font-size: 12px;
  background: rgba(255,255,255,0.02);
  border-radius: 6px;
}
.ir-rank {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  width: 22px;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}
.individual-rank-item:nth-child(-n+3) .ir-rank {
  color: var(--accent-gold);
}
.ir-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.ir-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.ir-team {
  font-size: 10px;
  opacity: 0.7;
  flex-shrink: 0;
  white-space: nowrap;
}
.ir-points {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-gold);
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 767px) {
  .result-rank-cards { grid-template-columns: repeat(2, 1fr); }
  .individual-rank-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ====== Day 2 晚上 · 小游戏对决 ====== */
.minigame-select-layout {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}
.minigame-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.minigame-tab {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text-secondary);
}
.minigame-tab:hover {
  border-color: rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.03);
}
.minigame-tab.active {
  border-color: var(--accent-gold);
  background: rgba(255, 193, 7, 0.08);
  color: var(--text-primary);
}
.minigame-tab.has-pick:not(.active) {
  border-color: rgba(76, 175, 80, 0.4);
}
.mt-icon { font-size: 20px; }
.mt-name { font-size: 13px; font-weight: 700; }
.mt-pick { font-size: 10px; color: var(--text-muted); opacity: 0.8; }
.minigame-tab.has-pick .mt-pick { color: #66bb6a; }

.minigame-select-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.minigame-detail {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.minigame-detail-head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.mg-icon-big { font-size: 40px; }
.minigame-detail-head h3 {
  font-size: 18px;
  margin: 0 0 4px 0;
  color: var(--text-primary);
}
.mg-desc {
  font-size: 12px;
  color: var(--text-muted);
}
.mg-weights {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mg-weight-item {
  display: grid;
  grid-template-columns: 50px 1fr 42px;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}
.mg-weight-label { color: var(--text-secondary); }
.mg-weight-bar {
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
  overflow: hidden;
}
.mg-weight-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-gold), #ffb300);
  border-radius: 3px;
}
.mg-weight-val { color: var(--text-muted); text-align: right; font-variant-numeric: tabular-nums; }
.mg-hint {
  font-size: 11px;
  color: var(--text-muted);
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.06);
  line-height: 1.5;
}

.minigame-roster {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 520px;
  overflow-y: auto;
}
.mg-roster-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mg-roster-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mg-roster-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
  cursor: pointer;
  transition: all 0.15s;
  position: relative;
}
.mg-roster-item:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.1);
}
.mg-roster-item.picked {
  border-color: var(--accent-gold);
  background: rgba(255, 193, 7, 0.08);
}
.mg-roster-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.mg-roster-avatar.ph {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}
.mg-roster-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mg-roster-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}
.mg-captain-tag {
  font-size: 9px;
  font-weight: 600;
  padding: 1px 4px;
  background: rgba(255, 193, 7, 0.15);
  color: var(--accent-gold);
  border-radius: 3px;
  border: 1px solid rgba(255, 193, 7, 0.3);
}
.mg-roster-score {
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  gap: 6px;
}
.mg-roster-score .score-val {
  color: var(--accent-gold);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.mg-picked-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  background: var(--accent-gold);
  color: #1a1a2e;
  border-radius: 10px;
  flex-shrink: 0;
}

.minigame-select-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 12px 18px;
}
.mg-pick-summary {
  font-size: 13px;
  color: var(--text-secondary);
}
.mg-pick-summary strong {
  color: var(--accent-gold);
  font-weight: 700;
}

/* 小游戏结果 */
.minigame-result-layout {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.mg-project-results {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 18px;
}
.mg-project-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}
.mg-project-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  overflow: hidden;
}
.mg-project-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mg-project-icon { font-size: 18px; }
.mg-project-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  flex: 1;
}
.mg-project-winner {
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text-secondary);
}
.winner-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.mg-project-ranking {
  padding: 6px 0;
}
.mg-pr-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  font-size: 12px;
}
.mg-pr-row.winner {
  background: rgba(255, 193, 7, 0.06);
}
.mg-pr-rank {
  width: 20px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}
.mg-pr-row.winner .mg-pr-rank { color: var(--accent-gold); }
.mg-pr-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.mg-pr-name {
  flex: 1;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.mg-pr-team {
  font-size: 10px;
  flex-shrink: 0;
  opacity: 0.7;
}
.mg-pr-score {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.settle-minigame-list {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 8px;
  border-top: 1px dashed rgba(255,255,255,0.08);
}
.settle-mg-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  padding: 3px 0;
}
.settle-mg-name {
  color: var(--text-secondary);
  font-weight: 600;
}
.settle-mg-winner {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--text-muted);
  font-size: 11px;
}

/* Day2结算专属 */
.day2-points-detail {
  padding: 14px 18px;
}
.day2-points-table {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.day2-pt-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  background: rgba(255,255,255,0.02);
  border-radius: 6px;
  font-size: 12px;
}
.day2-pt-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.day2-pt-name {
  font-weight: 700;
  color: var(--text-primary);
  width: 80px;
  flex-shrink: 0;
}
.day2-pt-item {
  color: var(--text-secondary);
  font-size: 11px;
}
.day2-pt-item strong {
  color: var(--accent-gold);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  margin-left: 3px;
}
.day2-pt-total {
  margin-left: auto;
  font-weight: 700;
  color: var(--text-primary);
  font-size: 12px;
}
.day2-pt-total strong {
  color: var(--accent-gold);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  margin-left: 4px;
}

.cumulative-points .points-card-total {
  font-size: 32px;
}

@media (max-width: 767px) {
  .minigame-tabs { grid-template-columns: repeat(5, 1fr); gap: 4px; }
  .minigame-tab { padding: 8px 4px; }
  .mt-name { font-size: 11px; }
  .mt-pick { display: none; }
  .minigame-select-body { grid-template-columns: 1fr; }
  .day2-pt-name { width: 60px; font-size: 11px; }
  .day2-pt-item { font-size: 10px; }
}

/* ====================================================
   Day 2 下午 · 水上摔跤
   ==================================================== */
.wrestling-screen .wrestle-select-layout {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* 36人个人排名网格 */
.wrestle-individual-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}
.wrestle-indi-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-left: 3px solid var(--team-color);
  border-radius: 8px;
  transition: all 0.15s;
}
.wrestle-indi-card.player-team {
  border-color: var(--team-color);
  background: color-mix(in srgb, var(--team-color) 8%, var(--bg-card));
}
.wrestle-indi-rank {
  font-size: 18px;
  font-weight: 900;
  color: var(--accent-gold);
  min-width: 40px;
  text-align: center;
  font-family: 'Orbitron', sans-serif;
}
.wrestle-indi-info {
  flex: 1;
  min-width: 0;
}
.wrestle-indi-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wrestle-indi-team {
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}
.wrestle-indi-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.wrestle-indi-scores {
  text-align: right;
  flex-shrink: 0;
}
.wrestle-indi-power {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  font-family: 'Orbitron', sans-serif;
}
.wrestle-indi-points {
  font-size: 11px;
  color: var(--accent-gold);
  font-weight: 600;
  margin-top: 2px;
}

/* 团队参赛名单 */
.wrestle-team-roster {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.wrestle-roster-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.wrestle-roster-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.wrestle-roster-name {
  flex: 1;
  color: var(--text-secondary);
}
.wrestle-roster-rank {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  font-family: 'Orbitron', sans-serif;
}

/* 结果页布局 */
.wrestle-result-layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ====================================================
   Day 2 晚上 · 小游戏对决
   ==================================================== */
.minigame-screen .minigame-select-layout {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* 项目Tabs */
.minigame-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.minigame-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 14px 8px;
  background: var(--bg-card);
  border: 2px solid var(--border-light);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}
.minigame-tab:hover {
  border-color: var(--accent-primary);
  transform: translateY(-2px);
}
.minigame-tab.active {
  border-color: var(--accent-gold);
  background: color-mix(in srgb, var(--accent-gold) 12%, var(--bg-card));
  box-shadow: 0 4px 12px color-mix(in srgb, var(--accent-gold) 20%, transparent);
}
.minigame-tab.picked {
  border-color: var(--accent-green);
}
.minigame-tab.active.picked {
  border-color: var(--accent-gold);
}
.minigame-tab-idx {
  position: absolute;
  top: 6px;
  right: 8px;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  font-family: 'Orbitron', sans-serif;
}
.minigame-tab-icon {
  font-size: 28px;
  line-height: 1;
}
.minigame-tab-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}
.minigame-tab-status {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}
.minigame-tab.picked .minigame-tab-status {
  color: var(--accent-green);
  font-weight: 600;
}

/* 选将主体 */
.minigame-select-body {
  display: flex;
  gap: 16px;
}
.minigame-select-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.minigame-current-info {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
}
.minigame-current-icon {
  font-size: 36px;
  line-height: 1;
}
.minigame-current-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.minigame-current-desc {
  font-size: 12px;
  color: var(--text-muted);
}
.minigame-current-picked {
  margin-left: auto;
  font-size: 13px;
  color: var(--text-secondary);
}
.minigame-score strong {
  color: var(--accent-gold);
}

/* 队长徽章 */
.race-card-captain-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 10px;
  font-weight: 700;
  color: var(--accent-gold);
  background: rgba(0,0,0,0.5);
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 1px;
}

/* 侧栏出战列表 */
.minigame-pick-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.minigame-pick-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s;
}
.minigame-pick-row:hover {
  background: rgba(255,255,255,0.04);
}
.minigame-pick-row.active {
  border-color: var(--accent-gold);
  background: color-mix(in srgb, var(--accent-gold) 10%, var(--bg-card));
}
.minigame-pick-row.has-pick {
  color: var(--text-primary);
}
.minigame-pick-row.empty {
  color: var(--text-muted);
}
.minigame-pick-icon {
  font-size: 16px;
}
.minigame-pick-name {
  font-size: 13px;
  font-weight: 600;
  flex: 1;
}
.minigame-pick-player {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-secondary);
}

/* 结果页 */
.minigame-result-layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.minigame-projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}
.minigame-project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
}
.minigame-project-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-light);
}
.minigame-project-icon {
  font-size: 20px;
}
.minigame-project-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  flex: 1;
}
.minigame-project-winner {
  font-size: 12px;
  font-weight: 600;
  color: var(--winner-color);
}
.minigame-project-ranking {
  padding: 8px 14px;
}
.minigame-rank-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 13px;
  border-bottom: 1px dashed var(--border-light);
}
.minigame-rank-row:last-child {
  border-bottom: none;
}
.minigame-rank-row.winner {
  color: var(--accent-gold);
  font-weight: 700;
}
.minigame-rank-num {
  width: 20px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  font-family: 'Orbitron', sans-serif;
}
.minigame-rank-row.winner .minigame-rank-num {
  color: var(--accent-gold);
}
.minigame-rank-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.minigame-rank-name {
  flex: 1;
  color: var(--text-secondary);
}
.minigame-rank-name.player {
  color: var(--text-primary);
}
.minigame-rank-row.winner .minigame-rank-name {
  color: var(--accent-gold);
}
.minigame-rank-score {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  font-family: 'Orbitron', sans-serif;
}

/* ====================================================
   Day 2 结算页补充样式
   ==================================================== */
.points-card-detail > div {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-secondary);
  padding: 2px 0;
}
.points-card-detail > div strong {
  color: var(--text-primary);
  font-weight: 700;
}
.settle-minigame-projects {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--border-light);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}
.settle-mini-proj {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}
.settle-mini-proj-name {
  color: var(--text-muted);
  font-weight: 600;
}
.settle-mini-proj-winner {
  color: var(--text-secondary);
}

/* ====================================================
   Day 2 晚上 · 小游戏对决（新UI）
   ==================================================== */
.mg-select-layout {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* 顶部提示条 */
.mg-hint-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: color-mix(in srgb, var(--accent-gold) 10%, var(--bg-card));
  border: 1px solid color-mix(in srgb, var(--accent-gold) 30%, var(--border-light));
  border-radius: 10px;
  font-size: 13px;
  color: var(--text-secondary);
}
.mg-hint-icon {
  font-size: 18px;
  flex-shrink: 0;
}
.mg-hint-bar span:nth-child(2) {
  flex: 1;
}
.mg-hint-count {
  font-size: 13px;
  color: var(--text-primary);
  flex-shrink: 0;
}
.mg-hint-count strong {
  color: var(--accent-gold);
  font-size: 18px;
  font-weight: 900;
  font-family: 'Orbitron', sans-serif;
  margin: 0 2px;
}

/* 项目列表（竖排5个卡片） */
.mg-project-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mg-project-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 2px solid var(--border-light);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
}
.mg-project-card:hover {
  border-color: var(--accent-primary);
  transform: translateX(2px);
}
.mg-project-card.active {
  border-color: var(--accent-gold);
  background: color-mix(in srgb, var(--accent-gold) 8%, var(--bg-card));
  box-shadow: 0 2px 8px color-mix(in srgb, var(--accent-gold) 15%, transparent);
}
.mg-project-card.empty .mg-project-card-right {
  color: var(--text-muted);
}

.mg-project-card-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.mg-project-num {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-subtle);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  font-family: 'Orbitron', sans-serif;
  flex-shrink: 0;
}
.mg-project-card.active .mg-project-num {
  background: var(--accent-gold);
  color: #fff;
}
.mg-project-icon {
  font-size: 28px;
  flex-shrink: 0;
}
.mg-project-info {
  min-width: 0;
}
.mg-project-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.mg-project-desc {
  font-size: 11px;
  color: var(--text-muted);
}

.mg-project-card-right {
  flex-shrink: 0;
}
.mg-project-picker {
  display: flex;
  align-items: center;
  gap: 10px;
}
.mg-picker-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 2px solid var(--accent-green);
  flex-shrink: 0;
}
.mg-picker-avatar.ph {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}
.mg-picker-info {
  text-align: right;
}
.mg-picker-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}
.mg-picker-score {
  font-size: 11px;
  color: var(--text-muted);
}
.mg-picker-score strong {
  color: var(--accent-gold);
  font-weight: 700;
}
.mg-project-empty {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
}
.mg-project-arrow {
  font-size: 18px;
  font-weight: 300;
  color: var(--text-muted);
}

/* 选将面板 */
.mg-selector-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 14px;
}
.mg-selector-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
  flex-wrap: wrap;
}
.mg-selector-icon {
  font-size: 24px;
  flex-shrink: 0;
}
.mg-selector-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  flex: 1;
  min-width: 120px;
}
.mg-selector-hint {
  font-size: 11px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.mg-player-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
}
.mg-player-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 8px;
  background: var(--bg-subtle);
  border: 2px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s;
  text-align: center;
  position: relative;
}
.mg-player-card:hover {
  border-color: var(--accent-primary);
  background: color-mix(in srgb, var(--accent-primary) 6%, var(--bg-subtle));
}
.mg-player-card.picked {
  border-color: var(--accent-gold);
  background: color-mix(in srgb, var(--accent-gold) 10%, var(--bg-subtle));
}
.mg-player-card.used {
  opacity: 0.4;
  cursor: not-allowed;
  filter: grayscale(0.5);
}
.mg-player-card.used:hover {
  border-color: transparent;
  background: var(--bg-subtle);
}

.mg-player-portrait {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  position: relative;
  flex-shrink: 0;
  border: 2px solid var(--tier-color);
}
.mg-player-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 22px;
  font-weight: 700;
}
.mg-player-check {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 22px;
  height: 22px;
  background: var(--accent-gold);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  border: 2px solid var(--bg-card);
}
.mg-player-captain-badge {
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  font-weight: 700;
  color: #fff;
  background: var(--accent-gold);
  padding: 1px 6px;
  border-radius: 4px;
  letter-spacing: 1px;
  white-space: nowrap;
}

.mg-player-info {
  width: 100%;
  min-width: 0;
}
.mg-player-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}
.mg-player-score {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}
.mg-player-score strong {
  color: var(--accent-gold);
  font-weight: 700;
}
.mg-player-used-tip {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 2px;
  background: rgba(255,255,255,0.06);
  padding: 1px 4px;
  border-radius: 3px;
  display: inline-block;
}

/* 底部：对手阵容 + 开始按钮 */
.mg-sidebar-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mg-opponents {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 12px;
}
.mg-opponents-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 10px;
}
.mg-opponents-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.mg-opponent-card {
  background: var(--bg-subtle);
  border-radius: 8px;
  padding: 8px 10px;
  text-align: center;
}
.mg-opponent-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 6px;
}
.mg-opponent-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.mg-opponent-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mg-opp-picks {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 4px;
}
.mg-opp-pick {
  font-size: 14px;
  opacity: 0.8;
}
.mg-opponent-status {
  font-size: 10px;
  color: var(--text-muted);
}
.mg-start-btn {
  width: 100%;
}

/* 结果页项目卡片 */
.mg-result-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 14px;
}
.mg-result-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
}
.mg-result-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-light);
}
.mg-result-icon {
  font-size: 22px;
  flex-shrink: 0;
}
.mg-result-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  flex: 1;
}
.mg-result-winner {
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}
.mg-result-ranks {
  padding: 8px 16px;
}
.mg-result-row {
  display: grid;
  grid-template-columns: 20px 10px 1fr auto auto;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 13px;
  border-bottom: 1px dashed var(--border-light);
}
.mg-result-row:last-child {
  border-bottom: none;
}
.mg-result-row.winner {
  color: var(--accent-gold);
  font-weight: 700;
}
.mg-result-rank {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  font-family: 'Orbitron', sans-serif;
  text-align: center;
}
.mg-result-row.winner .mg-result-rank {
  color: var(--accent-gold);
}
.mg-result-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.mg-result-player {
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mg-result-player.player {
  color: var(--text-primary);
}
.mg-result-row.winner .mg-result-player {
  color: var(--accent-gold);
}
.mg-result-team {
  font-size: 11px;
  color: var(--text-muted);
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 80px;
}
.mg-result-score {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
  font-family: 'Orbitron', sans-serif;
  min-width: 45px;
  text-align: right;
}

/* ====================================================
   积分表格（Day1/Day2结算共用）
   ==================================================== */
.points-table {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
}
.points-table-header {
  display: grid;
  background: var(--bg-subtle);
  border-bottom: 2px solid var(--border-light);
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}
.points-table-header .pt-col {
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2px;
  border-right: 1px solid var(--border-light);
}
.points-table-header .pt-col:last-child {
  border-right: none;
}

.pt-day-label {
  font-weight: 700;
  color: var(--text-secondary);
  font-size: 12px;
}
.pt-day-sub {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 400;
}

.points-table-row {
  display: grid;
  border-bottom: 1px solid var(--border-light);
  align-items: stretch;
  transition: background 0.15s;
}
.points-table-row:last-child {
  border-bottom: none;
}
.points-table-row:hover {
  background: color-mix(in srgb, var(--team-color) 5%, transparent);
}
.points-table-row.player-row {
  background: color-mix(in srgb, var(--team-color) 8%, var(--bg-card));
}
.points-table-row .pt-col {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 8px;
  border-right: 1px solid var(--border-light);
  font-size: 14px;
}
.points-table-row .pt-col:last-child {
  border-right: none;
}

.pt-col.pt-team {
  justify-content: flex-start;
  gap: 8px;
  padding-left: 14px;
}
.pt-team-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.pt-team-name {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 14px;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pt-team-tag {
  font-size: 10px;
  font-weight: 700;
  color: var(--accent-gold);
  background: color-mix(in srgb, var(--accent-gold) 20%, transparent);
  padding: 2px 6px;
  border-radius: 4px;
  flex-shrink: 0;
  letter-spacing: 1px;
}

.pt-col.pt-num {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  color: var(--text-secondary);
  font-size: 15px;
}
.pt-col.pt-subtotal {
  color: var(--text-primary);
  font-weight: 700;
  background: color-mix(in srgb, var(--accent-gold) 5%, transparent);
}
.pt-col.pt-grand-total {
  color: var(--accent-gold);
  font-size: 20px;
  font-weight: 900;
  font-family: 'Orbitron', sans-serif;
  background: color-mix(in srgb, var(--accent-gold) 10%, transparent);
}

/* 不同列宽：用grid-template-columns分配 */
.points-table-header,
.points-table-row {
  grid-template-columns: 2fr repeat(2, 1fr) 1.1fr repeat(2, 1fr) 1.1fr 1.3fr;
}
.points-table.points-table-simple .points-table-header,
.points-table.points-table-simple .points-table-row {
  grid-template-columns: 2.5fr 1fr 1fr 1.3fr;
}

/* 响应式：窄屏下横向滚动 */
@media (max-width: 768px) {
  .points-table {
    overflow-x: auto;
    display: block;
  }
  .points-table-header,
  .points-table-row {
    min-width: 650px;
  }
}

/* 结算页小游戏项目列表保留并优化 */
.settle-minigame-projects {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--border-light);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}
.settle-mini-proj {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  padding: 4px 8px;
  background: var(--bg-subtle);
  border-radius: 6px;
}
.settle-mini-proj-name {
  color: var(--text-muted);
  font-weight: 600;
}
.settle-mini-proj-winner {
  color: var(--text-primary);
  font-weight: 600;
}

/* ====================================================
   Day 3 下午 · 拳击赛
   ==================================================== */
.boxing-tabs {
  display: flex;
  gap: 8px;
  margin: 16px 0 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 4px;
}
.boxing-tab {
  flex: 1;
  padding: 10px 12px;
  background: transparent;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s;
}
.boxing-tab.active {
  background: var(--accent-gold);
  color: #fff;
  box-shadow: 0 2px 6px color-mix(in srgb, var(--accent-gold) 30%, transparent);
}

/* 44人榜单 */
.boxing-ranking-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}
.boxing-rank-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  position: relative;
}
.boxing-rank-num {
  position: absolute;
  top: 6px;
  left: 8px;
  font-size: 12px;
  font-weight: 900;
  color: var(--accent-gold);
  font-family: 'Orbitron', sans-serif;
  background: rgba(0,0,0,0.5);
  padding: 1px 6px;
  border-radius: 4px;
}
.boxing-rank-portrait {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  border: 2px solid;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.boxing-rank-info {
  flex: 1;
  min-width: 0;
}
.boxing-rank-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.boxing-rank-team {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 2px;
}
.boxing-rank-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.boxing-rank-points {
  text-align: right;
  flex-shrink: 0;
}
.boxing-rank-pts {
  font-size: 14px;
  font-weight: 900;
  color: var(--accent-gold);
  font-family: 'Orbitron', sans-serif;
}
.boxing-rank-score {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* 对阵晋级 */
.boxing-bracket {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 16px;
}
.boxing-bracket-champion {
  text-align: center;
  padding: 16px;
  background: color-mix(in srgb, var(--accent-gold) 15%, var(--bg-card));
  border-radius: 10px;
  margin-bottom: 16px;
}
.bbc-label {
  font-size: 12px;
  color: var(--accent-gold);
  font-weight: 700;
  letter-spacing: 2px;
}
.bbc-name {
  font-size: 22px;
  font-weight: 900;
  color: var(--accent-gold);
  margin: 4px 0;
}
.bbc-team {
  font-size: 12px;
  color: var(--text-muted);
}
.boxing-bracket-rounds {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
}
.bracket-round {
  flex-shrink: 0;
  min-width: 140px;
}
.bracket-round-name {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 8px;
  letter-spacing: 1px;
}
.bracket-matches {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bracket-match {
  background: var(--bg-subtle);
  border-radius: 6px;
  overflow: hidden;
  font-size: 11px;
}
.bm-player {
  display: flex;
  align-items: center;
  padding: 5px 8px;
  color: var(--text-muted);
  opacity: 0.6;
}
.bm-player.winner {
  color: var(--text-primary);
  font-weight: 700;
  opacity: 1;
  background: color-mix(in srgb, var(--accent-gold) 10%, transparent);
}
.bm-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bm-vs {
  text-align: center;
  font-size: 9px;
  color: var(--text-muted);
  padding: 2px 0;
  border-top: 1px dashed var(--border-light);
  border-bottom: 1px dashed var(--border-light);
  letter-spacing: 1px;
}
.boxing-bracket-note {
  margin-top: 12px;
  text-align: center;
  font-size: 11px;
  color: var(--text-muted);
  font-style: italic;
}

/* 各队阵容 */
.boxing-team-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.boxing-team-block {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  overflow: hidden;
}
.boxing-team-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-light);
}
.boxing-team-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.boxing-team-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  flex: 1;
}
.boxing-team-score {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-gold);
  font-family: 'Orbitron', sans-serif;
}
.boxing-team-players {
  padding: 8px 12px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 4px;
}
.boxing-team-player {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 6px;
  font-size: 12px;
}
.btp-rank {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-gold);
  font-family: 'Orbitron', sans-serif;
  min-width: 20px;
}
.btp-name {
  flex: 1;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.btp-pts {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
}

/* ====================================================
   抢答类游戏（看图识人/抢答题）结果页
   ==================================================== */
.bq-tabs {
  display: flex;
  gap: 8px;
  margin: 16px 0 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 4px;
}
.bq-tab {
  flex: 1;
  padding: 10px 12px;
  background: transparent;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s;
}
.bq-tab.active {
  background: var(--accent-primary);
  color: #fff;
  box-shadow: 0 2px 6px color-mix(in srgb, var(--accent-primary) 30%, transparent);
}

.bq-team-detail {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
}
.bq-team-tabs {
  display: flex;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-light);
  overflow-x: auto;
}
.bq-team-tab {
  flex: 1;
  min-width: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 12px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s;
}
.bq-team-tab.active {
  color: var(--text-primary);
  border-bottom-color: var(--tab-color);
  background: color-mix(in srgb, var(--tab-color) 8%, transparent);
}
.bq-tab-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.bq-player-list {
  padding: 8px 12px;
}
.bq-player-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 4px;
  border-bottom: 1px dashed var(--border-light);
}
.bq-player-row:last-child {
  border-bottom: none;
}
.bq-player-rank {
  width: 24px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-gold);
  font-family: 'Orbitron', sans-serif;
  text-align: center;
  flex-shrink: 0;
}
.bq-player-info {
  flex: 1;
  min-width: 0;
}
.bq-player-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}
.bq-captain-badge {
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: var(--accent-gold);
  padding: 1px 6px;
  border-radius: 4px;
  letter-spacing: 1px;
}
.bq-player-stats {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}
.bq-player-stats strong {
  color: var(--accent-green);
  font-weight: 700;
}
.bq-player-score {
  text-align: right;
  flex-shrink: 0;
}
.bq-player-score strong {
  font-size: 18px;
  font-weight: 900;
  color: var(--accent-gold);
  font-family: 'Orbitron', sans-serif;
}
.bq-player-score span {
  font-size: 11px;
  color: var(--text-muted);
  margin-left: 2px;
}
.bq-team-total {
  padding: 10px 14px;
  text-align: right;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
  font-size: 13px;
  color: var(--text-secondary);
}
.bq-team-total strong {
  font-size: 18px;
  font-weight: 900;
  color: var(--accent-gold);
  font-family: 'Orbitron', sans-serif;
  margin-left: 6px;
}

/* 30题速览 */
.bq-questions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 8px;
}
.bq-q-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 8px 10px;
  text-align: center;
}
.bq-q-card.correct {
  border-color: var(--accent-green);
  background: color-mix(in srgb, var(--accent-green) 10%, var(--bg-card));
}
.bq-q-card.wrong {
  border-color: var(--accent-red);
  background: color-mix(in srgb, var(--accent-red) 10%, var(--bg-card));
}
.bq-q-num {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 4px;
}
.bq-q-buzzer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bq-q-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.bq-q-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bq-q-result {
  font-size: 11px;
  font-weight: 700;
}
.bq-q-card.correct .bq-q-result {
  color: var(--accent-green);
}
.bq-q-card.wrong .bq-q-result {
  color: var(--accent-red);
}

/* 试卷答题题目难度 */
.pq-difficulty {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 14px 16px;
}
.pq-diff-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 12px;
}
.pq-diff-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pq-diff-card {
  display: grid;
  grid-template-columns: 60px 1fr 50px;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}
.pq-diff-num {
  color: var(--text-muted);
  font-weight: 600;
}
.pq-diff-bar {
  height: 8px;
  background: var(--bg-subtle);
  border-radius: 4px;
  overflow: hidden;
}
.pq-diff-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-green), var(--accent-gold));
  border-radius: 4px;
  transition: width 0.3s;
}
.pq-diff-value {
  text-align: right;
  font-weight: 700;
  color: var(--accent-gold);
  font-family: 'Orbitron', sans-serif;
}

/* ====================================================
   连胜连败板块
   ==================================================== */
.streak-section {
  margin: 16px 0;
}
.streak-section-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.streak-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}
.streak-card {
  border-radius: 12px;
  padding: 14px 16px;
  border: 1px solid;
  position: relative;
  overflow: hidden;
}
.streak-card.win-streak {
  background: color-mix(in srgb, var(--accent-gold) 12%, var(--bg-card));
  border-color: color-mix(in srgb, var(--accent-gold) 40%, var(--border-light));
}
.streak-card.lose-streak {
  background: color-mix(in srgb, #e74c3c 12%, var(--bg-card));
  border-color: color-mix(in srgb, #e74c3c 40%, var(--border-light));
}
.streak-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.streak-card-icon {
  font-size: 24px;
  flex-shrink: 0;
}
.streak-card-title {
  font-size: 16px;
  font-weight: 900;
  color: var(--text-primary);
  flex: 1;
}
.streak-card.win-streak .streak-card-title {
  color: var(--accent-gold);
}
.streak-card.lose-streak .streak-card-title {
  color: #e74c3c;
}
.streak-card-team {
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}
.streak-card-body {
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.streak-card-desc strong {
  color: var(--text-primary);
  font-weight: 900;
  font-family: 'Orbitron', sans-serif;
  font-size: 15px;
}
.streak-card-effect {
  font-size: 12px;
  color: var(--text-muted);
}

/* Day4总决赛积分标题加强 */
.final-points .settle-points-title {
  color: var(--accent-gold);
  font-size: 18px;
  text-align: center;
  letter-spacing: 2px;
}

/* ====================================================
   Day 3 下午 · 拳击赛
   ==================================================== */
.boxing-view-tabs {
  display: flex;
  gap: 8px;
  margin: 16px 0 12px;
  background: var(--bg-card);
  padding: 4px;
  border-radius: 10px;
  border: 1px solid var(--border-light);
}
.boxing-tab {
  flex: 1;
  padding: 10px 8px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s;
}
.boxing-tab:hover {
  background: var(--bg-subtle);
}
.boxing-tab.active {
  background: var(--accent-primary);
  color: #fff;
  box-shadow: 0 2px 8px color-mix(in srgb, var(--accent-primary) 30%, transparent);
}

/* 个人排名列表 */
.boxing-ranking-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 8px 0;
  max-height: 500px;
  overflow-y: auto;
}
.boxing-rank-row {
  display: grid;
  grid-template-columns: 40px 12px 1fr auto auto;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  font-size: 13px;
  border-bottom: 1px solid var(--border-light);
}
.boxing-rank-row:last-child {
  border-bottom: none;
}
.boxing-rank-row.top3 {
  background: color-mix(in srgb, var(--accent-gold) 8%, transparent);
}
.boxing-rank-row.player-row {
  background: color-mix(in srgb, var(--accent-primary) 6%, transparent);
}
.boxing-rank-num {
  font-family: 'Orbitron', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  text-align: center;
}
.boxing-rank-row.top3 .boxing-rank-num {
  color: var(--accent-gold);
}
.boxing-rank-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.boxing-rank-name {
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.boxing-rank-team {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 80px;
  text-align: right;
}
.boxing-rank-score {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  color: var(--accent-green);
  font-size: 13px;
  min-width: 40px;
  text-align: right;
}

/* 对阵晋级树 */
.boxing-bracket {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 10px;
}
.bracket-round {
  flex: 1;
  min-width: 180px;
}
.bracket-round-title {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 8px;
  padding: 6px;
  background: var(--bg-subtle);
  border-radius: 6px;
  position: sticky;
  top: 0;
}
.bracket-matches {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bracket-match {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 11px;
}
.bracket-match.bye {
  background: var(--bg-subtle);
  text-align: center;
  color: var(--text-muted);
  font-style: italic;
}
.bracket-player {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 2px 0;
}
.bracket-player.winner {
  color: var(--accent-green);
  font-weight: 700;
}
.bracket-player.loser {
  color: var(--text-muted);
  opacity: 0.7;
}
.bp-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.bp-name {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bp-score {
  font-family: 'Orbitron', sans-serif;
  font-size: 10px;
  color: var(--text-muted);
}
.bracket-vs {
  text-align: center;
  font-size: 9px;
  color: var(--text-muted);
  padding: 1px 0;
  border-top: 1px dashed var(--border-light);
  border-bottom: 1px dashed var(--border-light);
}

/* 分榜查看 */
.boxing-team-tabs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.boxing-team-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-left: 3px solid var(--team-color);
  border-radius: 10px;
  overflow: hidden;
}
.boxing-team-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-light);
}
.bth-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.bth-name {
  flex: 1;
  font-weight: 700;
  color: var(--text-primary);
  font-size: 14px;
}
.bth-total {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  color: var(--accent-gold);
  font-size: 14px;
}
.boxing-team-players {
  padding: 6px 14px;
}
.btp-row {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  font-size: 12px;
  border-bottom: 1px dashed var(--border-light);
}
.btp-row:last-child {
  border-bottom: none;
}
.btp-rank {
  font-family: 'Orbitron', sans-serif;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 11px;
}
.btp-name {
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.btp-pts {
  font-family: 'Orbitron', sans-serif;
  color: var(--accent-green);
  font-weight: 700;
  font-size: 12px;
}

/* ====================================================
   通用抢答类游戏（看图识人/抢答题）
   ==================================================== */
.quiz-team-view {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
}
.quiz-player-list {
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.quiz-player-row {
  display: grid;
  grid-template-columns: 28px 1fr auto auto;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--border-light);
  font-size: 13px;
}
.quiz-player-row:last-child {
  border-bottom: none;
}
.qpr-rank {
  font-family: 'Orbitron', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  text-align: center;
}
.qpr-name {
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.qpr-detail {
  font-size: 11px;
  color: var(--text-muted);
}
.qpr-score {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  color: var(--accent-green);
  font-size: 14px;
  min-width: 45px;
  text-align: right;
}

/* 答题速览 */
.quiz-questions-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 8px 0;
  max-height: 500px;
  overflow-y: auto;
}
.qq-row {
  display: grid;
  grid-template-columns: 50px 10px 1fr auto auto auto;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  font-size: 12px;
  border-bottom: 1px solid var(--border-light);
}
.qq-row:last-child {
  border-bottom: none;
}
.qq-row.correct {
  background: color-mix(in srgb, var(--accent-green) 6%, transparent);
}
.qq-row.wrong {
  background: color-mix(in srgb, var(--accent-red) 6%, transparent);
}
.qq-num {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  color: var(--text-muted);
  font-size: 11px;
}
.qq-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.qq-player {
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.qq-team {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 70px;
}
.qq-result {
  font-weight: 700;
  font-size: 11px;
}
.qq-result.ok { color: var(--accent-green); }
.qq-result.no { color: var(--accent-red); }
.qq-score {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  color: var(--accent-green);
  font-size: 12px;
  min-width: 35px;
  text-align: right;
}
.qq-row.wrong .qq-score {
  color: var(--text-muted);
}

/* ====================================================
   Day 4 下午 · 试卷答题
   ==================================================== */
.paper-question-stats {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 14px 16px;
}
.pq-stat-row {
  display: grid;
  grid-template-columns: 60px 1fr 50px 60px;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}
.pqs-num {
  font-weight: 700;
  color: var(--text-secondary);
}
.pqs-bar-bg {
  height: 10px;
  background: var(--bg-subtle);
  border-radius: 5px;
  overflow: hidden;
}
.pqs-bar-fill {
  height: 100%;
  border-radius: 5px;
  transition: width 0.3s;
}
.pqs-rate {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  color: var(--text-primary);
  text-align: right;
}
.pqs-count {
  color: var(--text-muted);
  font-size: 11px;
  text-align: right;
}

/* ====================================================
   连胜连败 Banner
   ==================================================== */
.streak-banner {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 0 16px;
}
.streak-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-left: 3px solid var(--streak-color);
  border-radius: 10px;
  font-size: 12px;
}
.streak-item.win {
  background: color-mix(in srgb, var(--accent-gold) 8%, var(--bg-card));
  border-color: color-mix(in srgb, var(--accent-gold) 40%, var(--border-light));
  border-left-color: var(--streak-color);
}
.streak-item.lose {
  background: color-mix(in srgb, var(--accent-blue, #4a9eff) 8%, var(--bg-card));
  border-color: color-mix(in srgb, var(--accent-blue, #4a9eff) 40%, var(--border-light));
  border-left-color: var(--streak-color);
}
.streak-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.streak-team {
  font-weight: 700;
  color: var(--text-primary);
  flex-shrink: 0;
}
.streak-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  flex-shrink: 0;
}
.streak-item.win .streak-badge {
  background: color-mix(in srgb, var(--accent-gold) 20%, transparent);
  color: var(--accent-gold);
}
.streak-item.lose .streak-badge {
  background: color-mix(in srgb, var(--accent-blue, #4a9eff) 20%, transparent);
  color: var(--accent-blue, #4a9eff);
}
.streak-detail {
  flex: 1;
  color: var(--text-secondary);
  font-size: 11px;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.streak-none {
  padding: 10px 14px;
  text-align: center;
  color: var(--text-muted);
  font-size: 12px;
  background: var(--bg-card);
  border: 1px dashed var(--border-light);
  border-radius: 10px;
}

/* ====================================================
   积分榜宽版样式
   ==================================================== */
.points-table.points-table-wide .points-table-header,
.points-table.points-table-wide .points-table-row {
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1.1fr 1.3fr;
}
.points-table.points-table-final .points-table-header,
.points-table.points-table-final .points-table-row {
  grid-template-columns: 2.2fr repeat(3, 0.8fr) repeat(2, 1fr) 0.9fr 1.4fr;
}
@media (max-width: 768px) {
  .points-table.points-table-wide .points-table-header,
  .points-table.points-table-wide .points-table-row {
    min-width: 700px;
  }
  .points-table.points-table-final .points-table-header,
  .points-table.points-table-final .points-table-row {
    min-width: 780px;
  }
}
.pt-team-rank {
  font-family: 'Orbitron', sans-serif;
  font-size: 16px;
  font-weight: 900;
  color: var(--accent-gold);
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}
.points-table-row.champ-row {
  background: color-mix(in srgb, var(--accent-gold) 15%, var(--bg-card));
  border-bottom: 2px solid var(--accent-gold);
}
.points-table-row.champ-row .pt-num {
  color: var(--accent-gold);
}

/* ====================================================
   Day 4 结算 · 总冠军
   ==================================================== */
.championship-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 24px 20px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-gold) 20%, var(--bg-card)), color-mix(in srgb, var(--accent-gold) 5%, var(--bg-card)));
  border: 2px solid var(--accent-gold);
  border-radius: 16px;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}
.championship-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent-gold) 10%, transparent) 0%, transparent 60%);
  animation: champShine 3s ease-in-out infinite;
  pointer-events: none;
}
@keyframes champShine {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 1; }
}
.champ-crown {
  font-size: 48px;
  animation: crownBounce 2s ease-in-out infinite;
  position: relative;
  z-index: 1;
}
@keyframes crownBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.champ-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 4px;
  position: relative;
  z-index: 1;
}
.champ-team {
  font-size: 28px;
  font-weight: 900;
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 20px color-mix(in srgb, currentColor 30%, transparent);
}
.champ-score {
  font-family: 'Orbitron', sans-serif;
  font-size: 24px;
  font-weight: 900;
  color: var(--text-primary);
  position: relative;
  z-index: 1;
}
.champ-score span {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
  font-family: inherit;
  margin-left: 4px;
}
.day4-final-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
  padding: 12px;
  width: 100%;
}
.day4-settlement .settle-points-title {
  color: var(--accent-gold);
  font-size: 18px;
}

/* ====================================================
   精简版积分卡片（各结算页通用）
   ==================================================== */
.settle-points-compact {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 16px;
}
.points-compact-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}
.points-compact-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.points-compact-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--bg-body);
  border-radius: 10px;
  border-left: 3px solid var(--team-color);
  transition: all 0.2s;
}
.points-compact-item.champ {
  background: color-mix(in srgb, var(--accent-gold) 12%, var(--bg-body));
  border-color: var(--accent-gold);
}
.points-compact-item.player-row {
  background: color-mix(in srgb, var(--accent-primary) 8%, var(--bg-body));
}
.pci-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pci-rank {
  font-family: 'Orbitron', sans-serif;
  font-size: 18px;
  font-weight: 900;
  color: var(--text-muted);
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}
.points-compact-item.champ .pci-rank {
  color: var(--accent-gold);
}
.pci-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.pci-name {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 14px;
}
.pci-tag {
  font-size: 10px;
  font-weight: 700;
  color: var(--accent-primary);
  background: color-mix(in srgb, var(--accent-primary) 15%, transparent);
  padding: 1px 6px;
  border-radius: 4px;
  margin-left: 4px;
}
.pci-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}
.pci-day {
  font-size: 12px;
  color: var(--text-secondary);
}
.pci-day strong {
  color: var(--accent-green);
  font-weight: 800;
  font-size: 13px;
}
.pci-total {
  font-family: 'Orbitron', sans-serif;
  font-size: 18px;
  font-weight: 900;
  color: var(--text-primary);
}
.points-compact-item.champ .pci-total {
  color: var(--accent-gold);
}
.pci-total em {
  font-style: normal;
  font-family: inherit;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 2px;
}
.pci-total.pci-final {
  font-size: 20px;
}

.points-compact-toggle {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 8px;
  background: transparent;
  border: 1px dashed var(--border-light);
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}
.points-compact-toggle:hover {
  background: var(--bg-subtle);
  color: var(--text-secondary);
}

.points-detail-list {
  margin-top: 10px;
  padding: 10px 12px;
  background: var(--bg-body);
  border-radius: 10px;
  border: 1px solid var(--border-light);
}
.pd-row {
  display: grid;
  grid-template-columns: 1.3fr repeat(5, 1fr);
  gap: 6px;
  align-items: center;
  padding: 5px 0;
  font-size: 12px;
  border-bottom: 1px dashed var(--border-light);
}
.pd-row:last-child {
  border-bottom: none;
}
.pd-label {
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}
.pd-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.pd-val {
  text-align: right;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  color: var(--text-muted);
  font-size: 12px;
}
.pd-val.total {
  color: var(--text-primary);
  font-size: 13px;
}
.points-detail-list .pd-row:first-child {
  font-weight: 700;
  color: var(--text-muted);
}
.points-detail-list .pd-row:first-child .pd-val {
  font-weight: 600;
  font-family: inherit;
  font-size: 11px;
  color: var(--text-muted);
}

/* ====================================================
   铁人三项
   ==================================================== */
.triathlon-screen .player-select-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}
@media (max-width: 400px) {
  .triathlon-screen .player-select-grid {
    grid-template-columns: 1fr;
  }
}
.selection-hint {
  text-align: center;
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  margin-bottom: 14px;
}
.hint-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.hint-sub {
  font-size: 12px;
  color: var(--text-secondary);
}
.hint-sub strong {
  color: var(--accent-primary);
  font-size: 14px;
  font-weight: 800;
}

.player-select-card {
  background: var(--bg-card);
  border: 2px solid var(--border-light);
  border-radius: 12px;
  padding: 12px;
  cursor: pointer;
  transition: all 0.15s;
  position: relative;
  text-align: center;
}
.player-select-card:hover {
  border-color: var(--card-color, var(--accent-primary));
  transform: translateY(-2px);
}
.player-select-card.selected {
  border-color: var(--card-color, var(--accent-primary));
  background: color-mix(in srgb, var(--card-color, var(--accent-primary)) 8%, var(--bg-card));
  box-shadow: 0 4px 12px color-mix(in srgb, var(--card-color, var(--accent-primary)) 20%, transparent);
}
.select-checkmark {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--card-color, var(--accent-primary));
  color: #fff;
  font-weight: 900;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.select-card-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 8px;
  display: block;
  border: 2px solid var(--card-color, var(--border-light));
}
.select-card-avatar.ph {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 20px;
}
.select-card-name {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 13px;
  margin-bottom: 2px;
}
.select-card-role {
  margin-bottom: 8px;
}
.select-card-stats {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 6px;
}
.scs-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.scs-label {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 600;
}
.scs-value {
  font-family: 'Orbitron', sans-serif;
  font-weight: 800;
  color: var(--text-primary);
  font-size: 13px;
}
.select-card-est {
  font-size: 11px;
  color: var(--text-muted);
}
.select-card-est strong {
  color: var(--accent-gold);
  font-size: 13px;
}

.tri-player-list {
  padding: 12px 16px;
}
.tri-player-row {
  padding: 10px 0;
  border-bottom: 1px dashed var(--border-light);
}
.tri-player-row:last-child {
  border-bottom: none;
}
.tpr-rank {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  color: var(--text-muted);
  font-size: 13px;
  display: inline-block;
  width: 24px;
}
.tpr-name {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 14px;
  margin-bottom: 6px;
  display: block;
}
.tpr-events {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 6px 0 6px 24px;
}
.tpr-event {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 8px;
  background: var(--bg-body);
  border-radius: 6px;
  font-size: 11px;
}
.tpe-label {
  color: var(--text-muted);
}
.tpe-value {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  color: var(--text-primary);
}
.tpr-total {
  display: block;
  text-align: right;
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  color: var(--accent-gold);
  font-size: 16px;
}

/* 选手选择卡片的team-color变量实际设为team-color */
.player-select-card {
  --card-color: var(--team-color);
}

/* ====== 冰壶分组预览 ====== */
.curling-groups-preview {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}
.curling-group {
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 14px 16px;
}
.curling-group-label {
  font-size: 14px;
  font-weight: 600;
  color: #aaa;
  margin-bottom: 8px;
}
.curling-group-members {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cg-chip {
  background: var(--primary, #4f7cff);
  color: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  cursor: pointer;
}
.cg-empty {
  color: #666;
  font-size: 13px;
  font-style: italic;
}

.curling-result-groups {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 16px;
}
.curling-result-group {
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
  padding: 14px;
}
.crg-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 14px;
}
.crg-score {
  color: var(--primary, #4f7cff);
  font-size: 16px;
}
.crg-members {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.crg-member {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 4px 0;
}
.crg-val {
  color: #ccc;
  font-weight: 500;
}

/* ====== 休赛日团建 ====== */
.restday-location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}
.restday-location-card {
  background: rgba(255,255,255,0.06);
  border: 2px solid transparent;
  border-radius: 14px;
  padding: 20px 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}
.restday-location-card:hover {
  border-color: var(--primary, #4f7cff);
  background: rgba(79,124,255,0.1);
  transform: translateY(-2px);
}
.rlc-icon {
  font-size: 40px;
  margin-bottom: 8px;
}
.rlc-name {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}
.rlc-desc {
  font-size: 12px;
  color: #999;
  margin-bottom: 8px;
}
.rlc-tendency {
  font-size: 11px;
  color: #666;
}
.restday-hint-note {
  text-align: center;
  color: #777;
  font-size: 13px;
  margin-top: 12px;
}
.restday-results-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}
.restday-team-result {
  margin-top: 16px;
}
.rtr-location {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
}
.rtr-icon { font-size: 24px; }
.restday-growth-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.restday-growth-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
}
.rg-name { font-weight: 500; }
.rg-dims {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.rg-dim {
  background: rgba(46, 204, 113, 0.15);
  color: #2ecc71;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 500;
}

/* 结算页团建成长明细 */
.settle-growth-detail {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.sgd-title {
  font-size: 13px;
  font-weight: 600;
  color: #aaa;
  margin-bottom: 10px;
}
.sgd-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 220px;
  overflow-y: auto;
}
.sgd-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 10px;
  background: rgba(255,255,255,0.03);
  border-radius: 6px;
  font-size: 12px;
}
.sgd-name { color: #ddd; }
.sgd-dims {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.sgd-dim {
  color: #2ecc71;
  font-weight: 500;
}

/* ====== 足球赛 ====== */
.football-lineup-preview {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}
.flu-group {
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 14px 16px;
}
.flu-group.starters { border-left: 3px solid #e74c3c; }
.flu-group.subs { border-left: 3px solid #f39c12; }
.flu-label {
  font-size: 14px;
  font-weight: 600;
  color: #aaa;
  margin-bottom: 8px;
}
.flu-members {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.flu-chip {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  cursor: pointer;
  color: #fff;
}
.flu-chip.starter { background: #e74c3c; }
.flu-chip.sub { background: #f39c12; color: #222; }
.flu-empty {
  color: #666;
  font-size: 13px;
  font-style: italic;
}

.football-teams-overview {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.football-team-card {
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
  padding: 14px 16px;
}
.ftc-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.ftc-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #888;
}
.ftc-name {
  flex: 1;
  font-weight: 600;
}
.ftc-power {
  color: var(--primary, #4f7cff);
  font-weight: 600;
  font-size: 14px;
}
.ftc-lineup {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ftc-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
}
.ftc-label {
  color: #888;
  min-width: 36px;
}
.ftc-players {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.ftc-player {
  background: rgba(255,255,255,0.06);
  padding: 3px 10px;
  border-radius: 10px;
  font-size: 12px;
}
.ftc-player.sub { opacity: 0.7; }

/* 当日赛果 */
.football-matches-today {
  margin-bottom: 20px;
}
.fmt-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}
.fmt-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.football-match-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 14px 16px;
  position: relative;
}
.fmr-team {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}
.fmr-team.away {
  justify-content: flex-end;
}
.fmr-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #888;
}
.fmr-name {
  font-size: 14px;
}
.fmr-team.winner .fmr-name {
  font-weight: 700;
}
.fmr-score {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 700;
  min-width: 80px;
  justify-content: center;
}
.fmr-score .win { color: #2ecc71; }
.fmr-score .lose { color: #e74c3c; }
.fmr-sep {
  color: #666;
  font-weight: 400;
  font-size: 18px;
}
.fmr-badge {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 11px;
  background: var(--primary, #4f7cff);
  color: #fff;
  padding: 2px 8px;
  border-radius: 8px;
  font-weight: 500;
}
.fmr-badge.draw { background: #f39c12; color: #222; }

/* 积分榜 */
.football-table {
  background: rgba(255,255,255,0.03);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
}
.ft-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}
.ft-header, .ft-row {
  display: grid;
  grid-template-columns: 40px 1.5fr repeat(6, 48px);
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  font-size: 13px;
}
.ft-header {
  color: #888;
  font-size: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-weight: 500;
}
.ft-col-rank { text-align: center; font-weight: 600; }
.ft-col-team { display: flex; align-items: center; gap: 8px; min-width: 0; }
.ft-col-num { text-align: center; }
.ft-pts { font-weight: 700; color: var(--primary, #4f7cff); }
.ft-row {
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.ft-row:last-child { border-bottom: none; }
.ft-row.player-row {
  background: rgba(79, 124, 255, 0.08);
  border-radius: 6px;
}
.ft-dot { width: 8px; height: 8px; border-radius: 50%; background: #888; flex-shrink: 0; }
.ft-tag {
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--primary, #4f7cff);
  color: #fff;
  margin-left: 4px;
  flex-shrink: 0;
}
.ft-note {
  margin-top: 10px;
  font-size: 12px;
  color: #777;
  text-align: center;
}
.rank-1 { color: #f1c40f; font-weight: 700; }
.rank-2 { color: #bdc3c7; font-weight: 600; }
.rank-3 { color: #e67e22; font-weight: 600; }
.rank-4 { color: #7f8c8d; }

/* points-compact-subtitle */
.points-compact-subtitle {
  text-align: center;
  color: #888;
  font-size: 13px;
  margin-bottom: 12px;
}
.pci-final {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary, #4f7cff);
}

/* ===== 足球赛 · 教练栏 ===== */
.football-coaches-bar {
  background: linear-gradient(135deg, rgba(79, 124, 255, 0.12), rgba(155, 89, 182, 0.1));
  border: 1px solid rgba(79, 124, 255, 0.25);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 16px;
}
.fc-label {
  font-size: 12px;
  font-weight: 700;
  color: #9ecaff;
  letter-spacing: 1px;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.fc-list {
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
}
.fc-coach {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 10px;
  padding: 8px 12px;
  flex: 1;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.fc-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--coach-color, #666);
}
.fc-avatar.ph {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
}
.fc-info {
  flex: 1;
}
.fc-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.fc-role .role-badge.captain {
  font-size: 10px;
  padding: 1px 6px;
  background: rgba(79, 124, 255, 0.25);
  color: #9ecaff;
  border: 1px solid rgba(79, 124, 255, 0.4);
  border-radius: 4px;
  font-weight: 700;
}
.fc-intel {
  text-align: right;
}
.fc-intel-label {
  display: block;
  font-size: 10px;
  color: #888;
  margin-bottom: 2px;
}
.fc-intel-val {
  font-size: 16px;
  font-weight: 800;
  color: #f1c40f;
}
.fc-bonus {
  text-align: center;
  font-size: 12px;
  color: #aaa;
  padding-top: 8px;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
}
.fc-bonus strong {
  color: #f1c40f;
  font-size: 14px;
  margin: 0 2px;
}
.fc-bonus-sub {
  margin-left: 8px;
  color: #777;
  font-size: 11px;
}

/* GK chip badge */
.flu-chip.starter.gk {
  background: #9b59b6;
  position: relative;
  padding-left: 26px;
}
.flu-gk-badge {
  position: absolute;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.3);
  font-size: 9px;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}
.ft-select-hint {
  text-align: center;
  color: #888;
  font-size: 12px;
  margin: 4px 0 12px;
}

/* GK toggle on player card */
.gk-toggle-btn {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(155, 89, 182, 0.9);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
.gk-toggle-btn.active {
  background: #9b59b6;
  box-shadow: 0 0 8px rgba(155, 89, 182, 0.5);
}
.player-select-card.is-gk {
  border-color: #9b59b6 !important;
  box-shadow: 0 0 0 2px rgba(155, 89, 182, 0.3), 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* 各队阵容里的教练行和GK */
.ftc-coaches-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
}
.ftc-player.coach {
  background: rgba(79, 124, 255, 0.15);
  color: #9ecaff;
  border: 1px solid rgba(79, 124, 255, 0.3);
}
.ftc-player.coach em {
  font-style: normal;
  font-size: 10px;
  opacity: 0.8;
  margin-left: 2px;
}
.ftc-player.gk {
  background: rgba(155, 89, 182, 0.2);
  border: 1px solid rgba(155, 89, 182, 0.4);
}
.ftc-player.gk em {
  font-style: normal;
  font-size: 10px;
  color: #d4a8ff;
  margin-right: 2px;
  font-weight: 700;
}

/* ===== 赛事奖项 ===== */
.awards-card {
  margin-top: 16px;
}
.awards-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.award-item {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.award-item.golden-boot {
  border-color: rgba(241, 196, 15, 0.4);
  background: rgba(241, 196, 15, 0.06);
}
.award-item.golden-glove {
  border-color: rgba(52, 152, 219, 0.4);
  background: rgba(52, 152, 219, 0.06);
}
.award-item.mvp {
  border-color: rgba(231, 76, 60, 0.4);
  background: rgba(231, 76, 60, 0.06);
}
.award-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.award-trophy {
  font-size: 22px;
}
.award-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-primary);
}
.award-winner {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.award-player {
  display: flex;
  align-items: center;
  gap: 10px;
}
.award-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}
.award-avatar.ph {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
}
.award-info {
  flex: 1;
  min-width: 0;
}
.award-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.award-team {
  font-size: 11px;
  color: #888;
  margin-top: 2px;
}
.award-stat {
  text-align: center;
  padding-top: 6px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  flex: 1;
}
.award-stats-row {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}
.award-stats-row .award-stat {
  padding-top: 6px;
}
.award-stats-row .award-stat-value {
  font-size: 18px;
}
.award-stat-value {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: #f1c40f;
  line-height: 1;
  margin-bottom: 4px;
}
.award-item.golden-glove .award-stat-value {
  color: #3498db;
}
.award-item.mvp .award-stat-value {
  color: #e74c3c;
}
.award-stat-label {
  font-size: 11px;
  color: #999;
}
.award-empty {
  color: #666;
  font-size: 13px;
  text-align: center;
  padding: 16px 0;
  font-style: italic;
}
.award-reason {
  font-size: 11px;
  color: #aaa;
  text-align: center;
  margin-top: 4px;
  line-height: 1.4;
}

/* ===== 独立赛事奖项区块（结算页） ===== */
.settle-awards-block {
  background: var(--card-bg);
  border-radius: 14px;
  padding: 16px;
  margin: 14px 0;
  border: 1px solid var(--card-border);
}
.settle-awards-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
}

/* ===== 比赛叙述 ===== */
.fmt-narratives {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.fmt-narrative {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 13px;
  color: #bbb;
  line-height: 1.5;
}
.fmt-narrative-icon {
  font-size: 14px;
  flex-shrink: 0;
}
.fmt-narrative-text {
  flex: 1;
}

@media (max-width: 600px) {
  .awards-list {
    grid-template-columns: 1fr;
  }
  .fc-list {
    flex-direction: column;
  }
}

/* ===== 足球赛 · 沙盘动画 ===== */
.match-animation-wrapper {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  padding: 8px 0;
}

.match-scoreboard {
  display: flex;
  align-items: center;
  gap: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 14px 28px;
  width: 100%;
  max-width: 520px;
}
.msb-team {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}
.msb-team.home { justify-content: flex-end; }
.msb-team.away { justify-content: flex-start; }
.msb-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}
.msb-name {
  font-weight: 700;
  font-size: 16px;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.msb-score {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Orbitron', 'Courier New', monospace;
  font-size: 32px;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1;
  flex-shrink: 0;
}
.msb-home, .msb-away {
  min-width: 36px;
  text-align: center;
  transition: transform 0.15s ease, color 0.15s ease;
}
.msb-home.goal-flash, .msb-away.goal-flash {
  animation: scorePulse 0.5s ease;
  color: #fbbf24;
  transform: scale(1.15);
}
@keyframes scorePulse {
  0% { transform: scale(1); color: inherit; }
  50% { transform: scale(1.3); color: #fbbf24; }
  100% { transform: scale(1.15); color: #fbbf24; }
}
.msb-sep {
  color: var(--text-muted);
  font-size: 24px;
  font-weight: 400;
}

.match-time-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 520px;
}
.mtb-time {
  font-family: 'Orbitron', monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  flex-shrink: 0;
  min-width: 48px;
}
.mtb-track {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}
.mtb-fill {
  height: 100%;
  background: linear-gradient(90deg, #00D4FF, #00E676);
  border-radius: 2px;
  transition: width 0.1s linear;
}

/* 足球场沙盘 */
.football-pitch {
  position: relative;
  width: 100%;
  max-width: 680px;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #1a472a 0%, #2d6a4f 50%, #1a472a 100%);
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 2px 8px rgba(255, 255, 255, 0.05);
}
.pitch-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* 球员 */
.pitch-player {
  position: absolute;
  width: 6.5%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--player-color);
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  transition: left 0.25s ease-out, top 0.25s ease-out;
  z-index: 2;
  user-select: none;
  white-space: nowrap;
}
.pp-abbr {
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 1px;
}
.pitch-player.gk {
  width: 8%;
  border-color: #fbbf24;
  box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.3), 0 2px 6px rgba(0, 0, 0, 0.4);
  z-index: 3;
}
.pp-gk-tag {
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  font-weight: 700;
  color: #fbbf24;
  background: rgba(0, 0, 0, 0.6);
  padding: 1px 4px;
  border-radius: 3px;
  white-space: nowrap;
  display: none;
}
.pitch-player.gk .pp-gk-tag { display: block; }

/* 球 */
.pitch-ball {
  position: absolute;
  width: 2.2%;
  aspect-ratio: 1;
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5), 0 0 6px rgba(255, 255, 255, 0.3);
  transition: left 0.2s ease-out, top 0.2s ease-out;
  z-index: 4;
  pointer-events: none;
}

/* 进球闪光 */
.goal-flash-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  pointer-events: none;
  animation: goalFlash 1.5s ease;
}
.goal-flash-overlay.home {
  background: radial-gradient(ellipse at 85% 50%, rgba(251, 191, 36, 0.4) 0%, transparent 60%);
}
.goal-flash-overlay.away {
  background: radial-gradient(ellipse at 15% 50%, rgba(251, 191, 36, 0.4) 0%, transparent 60%);
}
.goal-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  animation: goalBounce 0.6s ease-out;
}
.goal-big {
  font-family: 'Orbitron', sans-serif;
  font-size: 48px;
  font-weight: 900;
  color: #fbbf24;
  text-shadow: 0 0 20px rgba(251, 191, 36, 0.8), 0 4px 12px rgba(0, 0, 0, 0.6);
  letter-spacing: 4px;
}
.goal-scorer {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}
@keyframes goalFlash {
  0% { opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes goalBounce {
  0% { transform: scale(0.3); opacity: 0; }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); opacity: 1; }
}

.match-anim-footer {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  max-width: 680px;
  padding-top: 4px;
}

/* 动画模式下隐藏结果样式（用原有结构） */
.football-matchday-screen.anim-mode .day-header {
  margin-bottom: 8px;
}

/* 进球一览 */
.fmt-goals {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
}
.fmt-goals-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.fmt-goal-match {
  margin-bottom: 8px;
}
.fmt-goal-matchname {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.fmt-goal-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.fmt-goal-item {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 12px;
}
.fmt-goal-item.home { border-left: 3px solid var(--accent-red); }
.fmt-goal-item.away { border-right: 3px solid #3b82f6; }
.fmt-goal-minute {
  font-family: 'Orbitron', monospace;
  font-weight: 700;
  color: var(--text-muted);
  font-size: 11px;
}
.fmt-goal-name {
  color: var(--text-primary);
  font-weight: 600;
}
.fmt-goal-icon {
  font-size: 12px;
}

/* ===== GK 组队模式补充样式 ===== */
.football-lineup-preview.gk-mode {
  grid-template-columns: 1fr;
  gap: 8px;
}
.flu-group.gk {
  border-color: rgba(155, 89, 182, 0.4);
  background: rgba(155, 89, 182, 0.08);
}
.flu-group.gk .flu-label {
  color: #d4a8ff;
}
.flu-sub {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 400;
  margin-left: 8px;
  opacity: 0.8;
}
.flu-chip.gk-chip {
  background: rgba(155, 89, 182, 0.25);
  border-color: #9b59b6;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}
.gk-badge {
  background: #9b59b6;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 4px;
}
.gk-power {
  font-size: 11px;
  color: #d4a8ff;
  font-weight: 600;
}
.chip-stat {
  font-size: 10px;
  color: var(--text-secondary);
  margin-left: 4px;
  font-weight: 600;
}
.player-select-grid.gk-mode .player-select-card {
  min-height: 140px;
}
.select-card-stats {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
  margin-top: 4px;
}
.scs-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: var(--text-secondary);
}
.scs-row strong {
  color: var(--text-primary);
  font-weight: 700;
}
.gk-val { color: #d4a8ff !important; }
.gk-label { color: #b48fd6 !important; }

/* ===== 足球赛 · fa- 前缀动画组件样式 ===== */
.football-animation {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 4px 0;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
}

.fa-scoreboard {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px 24px;
  width: 100%;
  max-width: 480px;
}
.fa-team {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}
.fa-team.home { justify-content: flex-end; }
.fa-team.away { justify-content: flex-start; }
.fa-team-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.fa-team-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fa-score {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Orbitron', 'Courier New', monospace;
  font-size: 28px;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1;
  flex-shrink: 0;
}
.fa-score-num {
  min-width: 32px;
  text-align: center;
  transition: transform 0.2s ease, color 0.2s ease;
}
.fa-score-num.goal-flash {
  animation: faScorePulse 0.6s ease;
  color: #fbbf24;
  transform: scale(1.2);
}
@keyframes faScorePulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.35); color: #fbbf24; }
  100% { transform: scale(1.2); color: #fbbf24; }
}
.fa-score-sep {
  color: var(--text-muted);
  font-size: 20px;
  font-weight: 400;
}

.fa-time-bar {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 22px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 11px;
  overflow: hidden;
}
.fa-time-progress {
  height: 100%;
  background: linear-gradient(90deg, #00D4FF, #00E676);
  border-radius: 11px;
  transition: width 0.15s linear;
}
.fa-time-text {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Orbitron', monospace;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* 球场 */
.fa-pitch {
  position: relative;
  width: 100%;
  max-width: 680px;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #1a472a 0%, #2d6a4f 50%, #1a472a 100%);
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}
.fa-pitch-midline {
  position: absolute;
  top: 0; left: 50%;
  width: 1px;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  transform: translateX(-50%);
}
.fa-pitch-center-circle {
  position: absolute;
  top: 50%; left: 50%;
  width: 16%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.fa-pitch-center-circle::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 6px; height: 6px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.fa-pitch-box {
  position: absolute;
  top: 25%;
  width: 12%;
  height: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.fa-pitch-box-home { left: 0; border-left: none; }
.fa-pitch-box-away { right: 0; border-right: none; }
.fa-pitch-goal {
  position: absolute;
  top: 40%;
  width: 1.5%;
  height: 20%;
  background: rgba(255, 255, 255, 0.2);
}
.fa-pitch-goal-home { left: 0; }
.fa-pitch-goal-away { right: 0; }

/* 球员 */
.fa-player {
  position: absolute;
  width: 6%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--player-color);
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  transition: left 0.2s ease-out, top 0.2s ease-out;
  z-index: 2;
  user-select: none;
  white-space: nowrap;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}
.fa-player.gk {
  width: 7.5%;
  border-color: #fbbf24;
  box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.35), 0 2px 6px rgba(0, 0, 0, 0.4);
  font-size: 11px;
  z-index: 3;
}
.fa-player.scoring {
  animation: playerScoring 0.6s ease;
  box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.7), 0 2px 10px rgba(0, 0, 0, 0.5);
}
@keyframes playerScoring {
  0% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.3); }
  100% { transform: translate(-50%, -50%) scale(1); }
}

/* 球 */
.fa-ball {
  position: absolute;
  width: 2.2%;
  aspect-ratio: 1;
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5), 0 0 6px rgba(255, 255, 255, 0.3);
  transition: left 0.15s ease-out, top 0.15s ease-out;
  z-index: 4;
  pointer-events: none;
}
.fa-ball.goal-ball {
  animation: ballGoal 0.5s ease;
}
@keyframes ballGoal {
  0% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.5); box-shadow: 0 0 15px rgba(251, 191, 36, 0.8); }
  100% { transform: translate(-50%, -50%) scale(1); }
}

/* 进球弹出 */
.fa-goal-popup {
  position: absolute;
  top: 12%;
  padding: 8px 16px;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(251, 191, 36, 0.5);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  animation: goalPopupIn 0.4s ease-out;
  z-index: 20;
  pointer-events: none;
}
.fa-goal-popup.home-side { right: 10%; }
.fa-goal-popup.away-side { left: 10%; }
@keyframes goalPopupIn {
  0% { opacity: 0; transform: translateY(-10px) scale(0.8); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.fa-goal-text {
  font-family: 'Orbitron', sans-serif;
  font-size: 28px;
  font-weight: 900;
  color: #fbbf24;
  letter-spacing: 3px;
  text-shadow: 0 0 12px rgba(251, 191, 36, 0.6);
  line-height: 1;
}
.fa-goal-minute {
  font-size: 11px;
  color: #ccc;
  margin-top: 2px;
}
.fa-goal-scorer {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-top: 2px;
}

/* 球门闪光 */
.fa-goal-flash {
  position: absolute;
  top: 40%;
  width: 3%;
  height: 20%;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.8) 0%, transparent 70%);
  animation: goalFlashAnim 0.6s ease;
  pointer-events: none;
  z-index: 5;
}
.goal-flash-home { left: 0; }
.goal-flash-away { right: 0; }
@keyframes goalFlashAnim {
  0% { opacity: 0; transform: scale(0.5); }
  50% { opacity: 1; transform: scale(1.5); }
  100% { opacity: 0; transform: scale(1); }
}

/* 底部数据栏 */
.fa-stats {
  width: 100%;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
}
.fa-stat-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}
.fa-stat-val {
  color: var(--text-primary);
  font-weight: 700;
  text-align: center;
}
.fa-stat-label {
  color: var(--text-muted);
  font-size: 11px;
  text-align: center;
}
.fa-stat-row .fa-stat-val:first-child { text-align: left; padding-left: 8px; }
.fa-stat-row .fa-stat-val:last-child { text-align: right; padding-right: 8px; }

/* 操作区 */
.fa-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding-top: 4px;
  flex-wrap: wrap;
}
.fa-final-score {
  font-size: 14px;
  color: var(--text-secondary);
}
.fa-final-score strong {
  color: var(--text-primary);
  font-weight: 700;
  margin: 0 4px;
}

/* 跳过全部按钮 */
.skip-all-btn {
  margin-left: 12px;
  padding: 4px 10px;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s;
}
.skip-all-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
}

/* 单场赛果覆盖层 */
.fa-match-result-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  animation: overlayIn 0.3s ease;
  padding: 20px;
}
@keyframes overlayIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.fmr-summary {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px 28px;
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: summaryIn 0.4s ease-out;
}
@keyframes summaryIn {
  0% { opacity: 0; transform: scale(0.9) translateY(20px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.fmr-summary-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--accent-gold);
}
.fmr-summary-score {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 800;
  font-family: 'Orbitron', monospace;
}
.fmr-sep {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 18px;
}
.fmr-goals {
  width: 100%;
  max-height: 140px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 0;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}
.fmr-goal-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  padding: 2px 4px;
}
.fmr-goal-item.home { border-left: 3px solid #ef4444; }
.fmr-goal-item.away { border-left: 3px solid #3b82f6; padding-left: 5px; }
.fmr-goal-min {
  font-family: 'Orbitron', monospace;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  min-width: 36px;
}
.fmr-goal-name {
  color: var(--text-primary);
  font-weight: 600;
}

/* ===== Day14 · 结尾场景 ===== */
.day14-ending {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 20px 100px;
  box-sizing: border-box;
}
.d14-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.d14-bg-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 20%, #2a1a4a 0%, #120a2a 40%, #080512 100%);
}
.d14-stars {
  position: absolute;
  inset: 0;
}
.d14-star {
  position: absolute;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 4px rgba(255,255,255,0.8);
  animation: d14-twinkle ease-in-out infinite alternate;
}
@keyframes d14-twinkle {
  0% { opacity: 0.2; transform: scale(0.8); }
  100% { opacity: 1; transform: scale(1.2); }
}

.d14-day-label {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 4px;
  z-index: 2;
}

/* 音乐条 */
.d14-music-bar {
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 8px 14px 8px 12px;
  border-radius: 24px;
}
.d14-music-info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.d14-music-notes {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 20px;
}
.d14-music-notes .note {
  font-size: 14px;
  color: #f1c40f;
  animation: d14-note-bounce 1.2s ease-in-out infinite;
  opacity: 0.9;
}
.d14-music-notes .note.n1 { animation-delay: 0s; }
.d14-music-notes .note.n2 { animation-delay: 0.2s; font-size: 16px; }
.d14-music-notes .note.n3 { animation-delay: 0.4s; }
@keyframes d14-note-bounce {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.9; }
  50% { transform: translateY(-5px) rotate(10deg); opacity: 1; }
}
.d14-music-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.d14-music-label {
  font-size: 10px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 1px;
}
.d14-music-title {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}
.d14-mute-btn {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  padding: 5px 10px;
  border-radius: 14px;
  font-size: 11px;
  cursor: pointer;
  transition: all 0.2s;
}
.d14-mute-btn:hover {
  background: rgba(255,255,255,0.2);
}
.d14-play-btn {
  background: linear-gradient(135deg, #f1c40f, #e67e22);
  border: none;
  color: #1a1033;
  padding: 6px 14px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  animation: d14-play-pulse 2s ease-in-out infinite;
}
@keyframes d14-play-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(241, 196, 15, 0.5); }
  50% { box-shadow: 0 0 0 8px rgba(241, 196, 15, 0); }
}
.d14-play-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
}
.d14-unmute-btn {
  background: linear-gradient(135deg, #f1c40f, #e67e22);
  border: none;
  color: #1a1033;
  padding: 6px 14px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  animation: d14-unmute-pulse 1.8s ease-in-out infinite;
}
@keyframes d14-unmute-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(241, 196, 15, 0.6); transform: scale(1); }
  50% { box-shadow: 0 0 0 10px rgba(241, 196, 15, 0); transform: scale(1.03); }
}
.d14-unmute-btn:hover {
  transform: translateY(-1px) scale(1.05);
  filter: brightness(1.1);
}
.d14-play-pulse {
  animation: d14-play-pulse-anim 1.8s ease-in-out infinite;
}
@keyframes d14-play-pulse-anim {
  0%, 100% { box-shadow: 0 0 0 0 rgba(241, 196, 15, 0.6); transform: scale(1); }
  50% { box-shadow: 0 0 0 10px rgba(241, 196, 15, 0); transform: scale(1.05); }
}
.d14-music-error {
  font-size: 11px;
  color: #ff6b6b;
  padding: 5px 10px;
  background: rgba(255, 107, 107, 0.1);
  border: 1px solid rgba(255, 107, 107, 0.3);
  border-radius: 14px;
}

/* Day14 总结页的音乐条（与结尾页共享样式，定位微调） */
.d14s-music-bar {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  margin: 12px auto 0;
  max-width: 420px;
  z-index: 5;
}

/* 字幕区 */
.d14-lyrics-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  width: 100%;
  max-width: 800px;
  text-align: center;
  min-height: 300px;
}
.d14-lyrics {
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.d14-lyrics.show {
  opacity: 1;
  transform: translateY(0);
}
.d14-lyrics.hide {
  opacity: 0;
  transform: translateY(20px);
}
.d14-lyric-line {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.6;
  color: #fff;
  text-shadow:
    0 2px 10px rgba(0,0,0,0.5),
    0 0 30px rgba(155, 120, 255, 0.3);
  letter-spacing: 2px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.d14-lyrics.show .d14-lyric-line {
  opacity: 1;
  transform: translateY(0);
}
.d14-lyrics.is-last .d14-lyric-line {
  font-size: 36px;
  font-weight: 700;
  background: linear-gradient(135deg, #f1c40f, #f39c12, #e67e22);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 2px 10px rgba(241, 196, 15, 0.3));
}
.d14-lyrics.is-last .d14-lyric-line:last-child {
  font-size: 42px;
  letter-spacing: 4px;
  margin-top: 4px;
}

.d14-ending-actions {
  position: relative;
  z-index: 2;
  margin-top: 40px;
}
.d14-continue-btn {
  animation: d14-pulse 2s ease-in-out infinite;
}
@keyframes d14-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(241, 196, 15, 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(241, 196, 15, 0); }
}
.btn.btn-ghost {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}
.btn.btn-ghost:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
}

/* ===== Day14 · 最终总结 ===== */
.day14-summary {
  position: relative;
  min-height: 100vh;
  padding: 40px 20px 60px;
  box-sizing: border-box;
  color: #fff;
  overflow: hidden;
}
.d14s-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, #120a2a 0%, #1a1035 50%, #0f0a20 100%);
}
.d14s-header {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: 30px;
}
.d14s-day {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 4px;
  margin-bottom: 8px;
}
.d14s-title {
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 6px 0;
  background: linear-gradient(135deg, #fff, #c9b8ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 3px;
}
.d14s-team-name {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
}

.d14s-rating-card {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 24px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  padding: 22px 24px;
  margin-bottom: 22px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.d14s-grade {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 90px;
}
.d14s-grade-letter {
  font-size: 52px;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, #f1c40f, #e67e22);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 8px rgba(241, 196, 15, 0.4));
}
.d14s-grade-score {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}
.d14s-grade-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.d14s-grade-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}
.d14s-grade-row strong {
  color: #fff;
  font-weight: 700;
}
.d14s-comment {
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 13px;
  color: #c9b8ff;
  font-style: italic;
  line-height: 1.5;
}

.d14s-section {
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 18px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.d14s-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.d14s-section-icon {
  font-size: 16px;
}
.d14s-champions-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.d14s-champion-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(241, 196, 15, 0.08);
  border-radius: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.9);
}
.d14s-champ-medal {
  font-size: 16px;
}
.d14s-empty {
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  padding: 16px 0;
  font-style: italic;
}

.d14s-players-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: 600px;
  margin: 0 auto 22px;
}
.d14s-player-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.d14s-player-card.mvp-card {
  border-color: rgba(231, 76, 60, 0.3);
  background: rgba(231, 76, 60, 0.05);
}
.d14s-player-card.grow-card {
  border-color: rgba(46, 204, 113, 0.3);
  background: rgba(46, 204, 113, 0.05);
}
.d14s-player-badge {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
}
.d14s-player-avatar-wrap {
  position: relative;
}
.d14s-player-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255,255,255,0.15);
}
.d14s-player-avatar.ph {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  color: #fff;
}
.d14s-player-name {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}
.d14s-player-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}
.d14s-player-desc strong {
  color: #2ecc71;
  font-weight: 700;
}

.d14s-restart {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-top: 10px;
  padding: 20px 0 10px;
}
.d14s-restart-sub {
  margin-top: 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 2px;
}

@media (max-width: 600px) {
  .d14-lyric-line { font-size: 22px; letter-spacing: 1px; }
  .d14-lyrics.is-last .d14-lyric-line { font-size: 28px; }
  .d14-lyrics.is-last .d14-lyric-line:last-child { font-size: 32px; }
  .d14-music-bar { top: 56px; padding: 6px 10px; gap: 8px; }
  .d14-music-title { font-size: 11px; }
  .d14s-title { font-size: 26px; }
  .d14s-rating-card { flex-direction: column; gap: 14px; text-align: center; }
  .d14s-grade-row { justify-content: space-between; }
  .d14s-players-grid { grid-template-columns: 1fr; }
}

/* ===== 公告弹窗 ===== */
.announce-mask {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: announce-fadeIn 0.3s ease;
}
@keyframes announce-fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.announce-card {
  background: linear-gradient(145deg, #1e1538 0%, #160f28 100%);
  border: 1px solid rgba(241, 196, 15, 0.25);
  border-radius: 16px;
  padding: 28px 26px 22px;
  max-width: 420px;
  width: 100%;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  color: #fff;
  animation: announce-popIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes announce-popIn {
  from { opacity: 0; transform: scale(0.9) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.announce-title {
  font-size: 22px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #f1c40f, #f39c12);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 2px;
}
.announce-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 22px;
  line-height: 1.7;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}
.announce-body p {
  margin: 0;
  text-align: center;
}
.announce-highlight {
  font-size: 18px !important;
  font-weight: 800 !important;
  background: linear-gradient(135deg, #ff6b6b, #f1c40f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 3px;
  margin-top: 4px !important;
  filter: drop-shadow(0 2px 8px rgba(255, 107, 107, 0.3));
}
.announce-actions {
  text-align: center;
}
.announce-actions .btn {
  min-width: 180px;
  font-weight: 700;
  letter-spacing: 1px;
}

@media (max-width: 600px) {
  .announce-card { padding: 22px 20px 18px; }
  .announce-title { font-size: 18px; }
  .announce-body { font-size: 13px; gap: 12px; }
  .announce-highlight { font-size: 16px !important; letter-spacing: 2px; }
}

/* 隐藏平台注入的水印/角标 */
[class*="watermark"],
[class*="-badge"],
[class*="powered"],
[class*="miaoda-brand"],
[class*="doubao-brand"] {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* ===== 足球赛 · 比赛动画 ===== */
.football-animation {
  background: rgba(255,255,255,0.04);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.fa-scoreboard {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: rgba(0,0,0,0.3);
  border-radius: 12px;
}
.fa-team {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
}
.fa-team.away { justify-content: flex-end; }
.fa-team-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.fa-team-name { font-size: 16px; }
.fa-score {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 36px;
  font-weight: 800;
  font-family: 'DIN Alternate', 'Impact', sans-serif;
  letter-spacing: 2px;
}
.fa-score-num {
  min-width: 40px;
  text-align: center;
  transition: transform 0.2s ease;
}
.fa-score-num.goal-flash {
  animation: goalFlash 0.6s ease;
  color: #ffce54;
}
@keyframes goalFlash {
  0% { transform: scale(1); }
  40% { transform: scale(1.6); color: #fff; }
  100% { transform: scale(1); }
}
.fa-score-sep { color: #666; font-size: 28px; }

.fa-time-bar {
  position: relative;
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  overflow: hidden;
}
.fa-time-progress {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  background: linear-gradient(90deg, #2ecc71, #27ae60);
  border-radius: 3px;
  transition: width 0.3s linear;
}
.fa-time-text {
  position: absolute;
  top: -22px;
  right: 0;
  font-size: 12px;
  color: #999;
  font-family: 'Courier New', monospace;
}

/* 球场沙盘 */
.fa-pitch {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7;
  background: linear-gradient(180deg, #2d7a3e 0%, #246b33 50%, #2d7a3e 100%);
  border-radius: 12px;
  overflow: hidden;
  border: 3px solid rgba(255,255,255,0.15);
}
.fa-pitch::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent 0,
    transparent 12.5%,
    rgba(0,0,0,0.06) 12.5%,
    rgba(0,0,0,0.06) 25%
  );
  pointer-events: none;
}
.fa-pitch-midline {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: rgba(255,255,255,0.4);
  transform: translateX(-50%);
}
.fa-pitch-center-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 80px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.fa-pitch-box {
  position: absolute;
  top: 50%;
  width: 14%;
  height: 60%;
  border: 2px solid rgba(255,255,255,0.35);
  transform: translateY(-50%);
}
.fa-pitch-box-home {
  left: 0;
  border-left: none;
}
.fa-pitch-box-away {
  right: 0;
  border-right: none;
}
.fa-pitch-goal {
  position: absolute;
  top: 50%;
  width: 8px;
  height: 28%;
  background: rgba(255,255,255,0.85);
  transform: translateY(-50%);
  border-radius: 2px;
}
.fa-pitch-goal-home { left: -4px; }
.fa-pitch-goal-away { right: -4px; }

/* 球员 */
.fa-player {
  position: absolute;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--player-color, #e74c3c);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  transition: left 0.4s ease, top 0.4s ease;
  border: 2px solid rgba(255,255,255,0.8);
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
  z-index: 2;
  white-space: nowrap;
}
.fa-player.gk {
  width: 32px;
  height: 32px;
  background: #f1c40f !important;
  color: #222;
  font-size: 9px;
  border-color: #fff;
  z-index: 3;
}
.fa-player.scoring {
  animation: scoringPulse 0.5s ease;
}
@keyframes scoringPulse {
  0% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.5); box-shadow: 0 0 20px #ffce54; }
  100% { transform: translate(-50%, -50%) scale(1); }
}

/* 球 */
.fa-ball {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
  transition: left 0.35s ease, top 0.35s ease;
  z-index: 4;
  box-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.fa-ball.goal-ball {
  transition: left 0.15s ease-in, top 0.15s ease-in;
}

/* 进球弹出 */
.fa-goal-popup {
  position: absolute;
  top: 50%;
  padding: 16px 24px;
  background: rgba(0,0,0,0.85);
  border: 2px solid #ffce54;
  border-radius: 12px;
  color: #fff;
  text-align: center;
  z-index: 10;
  transform: translateY(-50%) scale(1);
  animation: goalPopup 1.2s ease;
  pointer-events: none;
}
.fa-goal-popup.home-side { left: 12%; }
.fa-goal-popup.away-side { right: 12%; }
.fa-goal-text {
  font-size: 28px;
  font-weight: 900;
  color: #ffce54;
  letter-spacing: 6px;
  text-shadow: 0 0 10px rgba(255, 206, 84, 0.6);
}
.fa-goal-minute {
  font-size: 13px;
  color: #aaa;
  margin-top: 2px;
}
.fa-goal-scorer {
  font-size: 16px;
  font-weight: 600;
  margin-top: 4px;
}
@keyframes goalPopup {
  0% { transform: translateY(-50%) scale(0.3); opacity: 0; }
  20% { transform: translateY(-50%) scale(1.1); opacity: 1; }
  35% { transform: translateY(-50%) scale(1); }
  85% { transform: translateY(-50%) scale(1); opacity: 1; }
  100% { transform: translateY(-50%) scale(0.8); opacity: 0; }
}

.fa-goal-flash {
  position: absolute;
  top: 0;
  width: 20%;
  height: 100%;
  background: radial-gradient(circle, rgba(255,206,84,0.5) 0%, transparent 70%);
  pointer-events: none;
  animation: goalFlashBg 1s ease;
  z-index: 1;
}
.goal-flash-home { left: 0; }
.goal-flash-away { right: 0; }
@keyframes goalFlashBg {
  0% { opacity: 0; }
  30% { opacity: 1; }
  100% { opacity: 0; }
}

/* 底部数据栏 */
.fa-stats {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(0,0,0,0.2);
  border-radius: 10px;
}
.fa-stat-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}
.fa-stat-row .fa-stat-val:first-child { text-align: right; }
.fa-stat-row .fa-stat-val:last-child { text-align: left; }
.fa-stat-label { color: #888; font-size: 12px; }
.fa-stat-val { font-weight: 600; }

.fa-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  min-height: 50px;
}
.fa-final-score {
  flex: 1;
  text-align: center;
  font-size: 16px;
  color: #ddd;
}
.fa-final-score strong { color: #fff; font-size: 18px; }

/* 比赛结果弹窗 */
.fa-match-result-overlay {
  margin-top: -16px;
  padding: 20px;
  background: rgba(255,255,255,0.04);
  border-radius: 0 0 16px 16px;
}
.fmr-summary { text-align: center; }
.fmr-summary-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #ffce54;
}
.fmr-summary-score {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
  gap: 16px;
}
.fmr-sep { color: #666; }
.fmr-goals {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 20px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}
.fmr-goal-item {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 14px;
  padding: 6px 12px;
  background: rgba(255,255,255,0.05);
  border-radius: 6px;
}
.fmr-goal-item.home { border-left: 3px solid #e74c3c; }
.fmr-goal-item.away { border-left: 3px solid #3498db; justify-content: flex-end; }
.fmr-goal-min {
  color: #ffce54;
  font-weight: 700;
  font-family: 'Courier New', monospace;
  font-size: 13px;
  width: 40px;
}
.fmr-goal-name { font-weight: 600; }

.match-animation-mode .day-phase-indicator {
  display: flex;
  align-items: center;
  gap: 12px;
}
.skip-all-btn {
  background: rgba(255,255,255,0.1);
  border: none;
  color: #aaa;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
}
.skip-all-btn:hover { background: rgba(255,255,255,0.2); color: #fff; }

/* ===== 足球 · 组队（门将模式补充） ===== */
.flu-group.gk-group {
  border-left: 3px solid #9b59b6;
  background: rgba(155, 89, 182, 0.08);
}
.flu-chip.gk {
  background: #9b59b6;
  color: #fff;
  font-weight: 600;
}

.player-select-grid.gk-mode .player-select-card {
  display: flex;
  flex-direction: column;
  padding-bottom: 50px;
}
.select-card-top {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  position: relative;
}
.select-card-stats {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 4px;
  gap: 2px;
}
.select-card-stats .select-card-stat {
  font-size: 11px;
  color: #bbb;
  display: flex;
  justify-content: space-between;
  padding: 0 8px;
}
.select-card-stats .select-card-stat strong {
  color: #fff;
  font-weight: 700;
}
.gk-stat strong { color: #d4a8ff !important; }

.select-card-actions {
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 8px;
  display: flex;
  gap: 4px;
}
.sc-action {
  flex: 1;
  padding: 4px 0;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05);
  color: #ccc;
  border-radius: 6px;
  font-size: 11px;
  cursor: pointer;
  transition: all 0.15s;
  text-align: center;
}
.sc-action:hover:not(:disabled) {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.3);
}
.sc-action:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.sc-action.active {
  background: var(--card-color, #e74c3c);
  border-color: var(--card-color, #e74c3c);
  color: #fff;
  font-weight: 600;
}
.sc-gk.active { background: #9b59b6 !important; border-color: #9b59b6 !important; }
.sc-starter.active { background: #e74c3c !important; border-color: #e74c3c !important; }
.sc-sub.active { background: #f39c12 !important; border-color: #f39c12 !important; color: #222 !important; }
.player-select-card.is-gk {
  border-color: #9b59b6 !important;
  box-shadow: 0 0 0 2px rgba(155, 89, 182, 0.3);
}
.gk-mark { background: #9b59b6 !important; font-size: 14px !important; }
.sub-mark { background: #f39c12 !important; color: #222 !important; }
.player-select-card.starter-sel { box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.3); }
.player-select-card.sub-sel { box-shadow: 0 0 0 2px rgba(243, 156, 18, 0.3); }

.ftc-player.gk-player {
  background: rgba(155, 89, 182, 0.15);
  border-color: rgba(155, 89, 182, 0.4);
  color: #d4a8ff;
}

/* ===== 伤病板块 ===== */
.injury-block {
  background: rgba(231, 76, 60, 0.06);
  border: 1px solid rgba(231, 76, 60, 0.15);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 20px;
}
.injury-block-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #e6a2a2;
  display: flex;
  align-items: center;
  gap: 8px;
}
.injury-icon { font-size: 18px; }
.injury-empty {
  color: #2ecc71;
  font-size: 14px;
  text-align: center;
  padding: 12px;
  background: rgba(46, 204, 113, 0.08);
  border-radius: 8px;
}
.injury-columns {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.injury-col-title {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.injury-col-title.new-injury { color: #e74c3c; }
.injury-col-title.recovering { color: #f39c12; }
.injury-col-title.healed { color: #2ecc71; }
.injury-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.injury-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
  font-size: 13px;
}
.injury-item.new { border-left: 3px solid #e74c3c; }
.injury-item.recovering { border-left: 3px solid #f39c12; }
.injury-item.healed { border-left: 3px solid #2ecc71; }
.injury-team-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.injury-player {
  font-weight: 600;
  min-width: 80px;
}
.injury-type {
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(231, 76, 60, 0.2);
  color: #ff9999;
}
.injury-type.type-sprain { background: rgba(230, 126, 34, 0.2); color: #f5b071; }
.injury-type.type-strain { background: rgba(155, 89, 182, 0.2); color: #d4a8ff; }
.injury-type.healed-type { background: rgba(46, 204, 113, 0.2); color: #7dcea0; }
.injury-effect {
  color: #e74c3c;
  font-size: 12px;
  font-weight: 600;
}
.injury-days {
  color: #f39c12;
  font-size: 12px;
  margin-left: auto;
}
.injury-team-name {
  color: #888;
  font-size: 12px;
  margin-left: auto;
}
.injury-item .injury-team-name { margin-left: 4px; }

/* 属性卡受伤标记 */
.settle-attr-card.injured {
  border: 1px solid rgba(231, 76, 60, 0.3);
  box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.1);
}
.injury-tag {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  background: rgba(231, 76, 60, 0.2);
  color: #ff9999;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  vertical-align: middle;
}
.settle-attr-cell.injured-val .settle-attr-cell-value {
  color: #ff9999;
}

/* ===== 金手套奖样式微调 ===== */
.award-item.golden-glove {
  border-color: rgba(155, 89, 182, 0.3);
  background: rgba(155, 89, 182, 0.08);
}
.award-item.golden-glove .award-title {
  color: #d4a8ff;
}

/* ===== 伤病系统 ===== */
.injury-panel {
  background: linear-gradient(135deg, rgba(231, 76, 60, 0.06), rgba(230, 126, 34, 0.04));
  border: 1px solid rgba(231, 76, 60, 0.18);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 16px;
}
.injury-panel-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: #e74c3c;
  margin-bottom: 12px;
}
.injury-panel-icon {
  font-size: 18px;
}
.injury-badge {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 500;
  margin-left: 4px;
}
.injury-badge.new {
  background: rgba(231, 76, 60, 0.15);
  color: #e74c3c;
}
.injury-empty {
  text-align: center;
  color: #888;
  font-size: 13px;
  padding: 8px 0;
  font-style: italic;
}
.injury-sections {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.injury-section-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: #999;
  margin-bottom: 6px;
}
.injury-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.injury-dot.new { background: #e74c3c; }
.injury-dot.recovering { background: #f39c12; }
.injury-dot.recovered { background: #27ae60; }

.injury-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.injury-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 8px;
  padding: 6px 10px 6px 6px;
  min-width: 200px;
  flex: 1 1 200px;
  position: relative;
}
.injury-item.recovered-item {
  background: rgba(39, 174, 96, 0.06);
  border-color: rgba(39, 174, 96, 0.2);
}
.injury-team-dot {
  width: 4px;
  height: 100%;
  position: absolute;
  left: 0; top: 0;
  border-radius: 8px 0 0 8px;
}
.injury-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.injury-avatar.ph {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}
.injury-info {
  flex: 1;
  min-width: 0;
}
.injury-name {
  font-size: 13px;
  font-weight: 500;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.injury-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 11px;
  color: #888;
  margin-top: 2px;
}
.injury-type-tag {
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 500;
}
.injury-type-tag.injury-minor {
  background: rgba(243, 156, 18, 0.15);
  color: #e67e22;
}
.injury-type-tag.injury-major {
  background: rgba(231, 76, 60, 0.15);
  color: #e74c3c;
}
.injury-recovered-tag {
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 500;
  background: rgba(39, 174, 96, 0.15);
  color: #27ae60;
}

/* 结算页属性卡片的受伤标记 */
.settle-attr-card.injured {
  border-color: rgba(231, 76, 60, 0.35);
  background: linear-gradient(180deg, rgba(231, 76, 60, 0.03), transparent 20%);
}
.injury-tag-inline {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-left: 6px;
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 10px;
  background: rgba(231, 76, 60, 0.12);
  color: #e74c3c;
  font-weight: 500;
  vertical-align: middle;
}
.injury-detail-inline {
  margin-left: 6px;
  font-size: 10px;
  color: #e74c3c;
  font-weight: 400;
}
.settle-attr-cell.injured .settle-attr-cell-value {
  color: #e74c3c;
}

/* 足球组队页的门将相关样式 */
.flu-group.gk-group .flu-label {
  color: #9b59b6;
}
.flu-chip.gk {
  background: rgba(155, 89, 182, 0.12);
  border-color: rgba(155, 89, 182, 0.35);
  color: #8e44ad;
  font-weight: 500;
}
.flu-chip .flu-chip-pos {
  font-size: 9px;
  padding: 1px 4px;
  border-radius: 3px;
  background: rgba(155, 89, 182, 0.25);
  margin-right: 4px;
  font-weight: 700;
}
.flu-chip .flu-chip-stat {
  margin-left: 6px;
  font-size: 10px;
  opacity: 0.8;
  font-weight: 400;
}
.player-select-card.is-gk {
  border-color: #9b59b6;
  box-shadow: 0 0 0 2px rgba(155, 89, 182, 0.15);
}
.select-card-stat.two-col {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.select-card-stat.two-col span {
  flex: 1;
  text-align: center;
}
.select-card-stat .gk-stat {
  color: #9b59b6;
}
.gk-set-btn {
  position: absolute;
  top: 6px;
  right: 6px;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(155, 89, 182, 0.35);
  background: rgba(155, 89, 182, 0.1);
  color: #8e44ad;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.15s;
}
.gk-set-btn:hover {
  background: rgba(155, 89, 182, 0.2);
}
.player-select-card.is-gk .gk-set-btn {
  background: #9b59b6;
  color: #fff;
  border-color: #9b59b6;
}

/* ===== 伤病面板 · 紧凑行式列表 ===== */
.injury-panel {
  background: linear-gradient(135deg, rgba(231, 76, 60, 0.04), rgba(230, 126, 34, 0.03));
  border: 1px solid rgba(231, 76, 60, 0.15);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 12px;
}
.injury-panel-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #e74c3c;
  margin-bottom: 8px;
}
.injury-panel-icon {
  font-size: 16px;
}
.injury-badge {
  font-size: 11px;
  padding: 1px 7px;
  border-radius: 10px;
  font-weight: 500;
  margin-left: 4px;
  background: rgba(231, 76, 60, 0.15);
  color: #e74c3c;
}
.injury-empty {
  text-align: center;
  color: #888;
  font-size: 12px;
  padding: 6px 0;
  font-style: italic;
}
.injury-sections {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.injury-section-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 500;
  color: #999;
  margin-bottom: 4px;
}
.injury-section-count {
  margin-left: auto;
  font-size: 10px;
  color: #bbb;
  font-weight: 400;
}
.injury-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}
.injury-dot.new { background: #e74c3c; }
.injury-dot.recovering { background: #f39c12; }
.injury-dot.recovered { background: #27ae60; }

/* 紧凑行列表 */
.injury-rows {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.injury-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 6px;
  border-radius: 4px;
  font-size: 12px;
  position: relative;
  transition: background 0.15s;
}
.injury-row:hover {
  background: rgba(0, 0, 0, 0.03);
}
.injury-row-dot {
  width: 3px;
  height: 20px;
  border-radius: 2px;
  flex-shrink: 0;
  background: #e74c3c;
}
.injury-row-dot.recovered {
  background: #27ae60;
}
.injury-row-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.injury-row-avatar.ph {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}
.injury-row-name {
  flex: 0 0 auto;
  min-width: 60px;
  max-width: 100px;
  font-weight: 500;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.injury-row-type {
  flex-shrink: 0;
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 500;
  background: rgba(243, 156, 18, 0.15);
  color: #e67e22;
}
.injury-row-type.injury-major {
  background: rgba(231, 76, 60, 0.15);
  color: #e74c3c;
}
.injury-row-type.injury-minor {
  background: rgba(243, 156, 18, 0.15);
  color: #e67e22;
}
.injury-row-type.recovered-tag {
  background: rgba(39, 174, 96, 0.15);
  color: #27ae60;
}
.injury-row-effect {
  flex-shrink: 0;
  color: #e74c3c;
  font-size: 11px;
  font-weight: 500;
  margin-left: 2px;
}
.injury-row-days {
  margin-left: auto;
  color: #f39c12;
  font-size: 11px;
  flex-shrink: 0;
}
.injury-row-days.recovered-days {
  color: #27ae60;
}
.injury-row.recovered .injury-row-name {
  color: #666;
}

/* 暗色主题适配（结算页深色背景） */
.settlement-screen .injury-panel {
  background: linear-gradient(135deg, rgba(231, 76, 60, 0.08), rgba(230, 126, 34, 0.05));
  border-color: rgba(231, 76, 60, 0.2);
}
.settlement-screen .injury-row:hover {
  background: rgba(255, 255, 255, 0.04);
}
.settlement-screen .injury-row-name {
  color: #e8e8e8;
}
.settlement-screen .injury-row.recovered .injury-row-name {
  color: #aaa;
}
.settlement-screen .injury-empty {
  color: #666;
}
.settlement-screen .injury-section-label {
  color: #888;
}
.settlement-screen .injury-section-count {
  color: #666;
}

/* 火爆猴自动debuff提示横幅 */
.ss-auto-debuff-banner {
  margin: 0 24px 16px;
  padding: 14px 20px;
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.15) 0%, rgba(255, 159, 67, 0.1) 100%);
  border: 1px solid rgba(255, 107, 107, 0.3);
  border-radius: 12px;
}
.ss-auto-debuff-banner .ss-adb-title {
  font-size: 14px;
  font-weight: 600;
  color: #ffb380;
  margin-bottom: 8px;
}
.ss-auto-debuff-banner .ss-adb-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #e8e8e8;
  padding: 3px 0;
}
.ss-auto-debuff-banner .ss-adb-team {
  color: #aaa;
  font-size: 12px;
}
.ss-auto-debuff-banner .ss-adb-player {
  font-weight: 600;
  color: #fff;
}
.ss-auto-debuff-banner .ss-adb-text {
  color: #ff8a80;
}

/* ========================================================
   自选模式 · Draft Screen
   ======================================================== */
.draft-screen {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px;
  padding-bottom: 120px;
}

.draft-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}
.draft-header-left h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 4px;
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.draft-header-left p {
  color: var(--text-secondary);
  font-size: 13px;
  margin: 0;
}
.draft-header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.draft-count-badge {
  display: flex;
  align-items: baseline;
  background: var(--bg-card);
  padding: 8px 20px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  font-family: 'Orbitron', sans-serif;
}
.draft-count-num {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent-gold);
}
.draft-count-sep {
  font-size: 18px;
  color: var(--text-tertiary);
  margin: 0 4px;
}
.draft-count-max {
  font-size: 18px;
  color: var(--text-secondary);
}
.draft-overall-info {
  font-size: 13px;
  color: var(--text-secondary);
}
.draft-overall-info strong {
  color: var(--text-primary);
  font-size: 16px;
  margin-left: 4px;
}

/* 已选队员条 */
.draft-selected-bar {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 16px;
}
.draft-selected-label {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 8px;
  font-weight: 600;
}
.draft-selected-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.draft-selected-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-primary);
  border: 1.5px solid #d4af37;
  border-radius: 20px;
  padding: 4px 10px 4px 12px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s;
}
.draft-selected-chip:hover {
  background: rgba(255, 71, 87, 0.1);
  border-color: var(--danger);
}
.draft-chip-name {
  font-weight: 600;
  color: var(--text-primary);
}
.draft-chip-remove {
  color: var(--text-tertiary);
  font-size: 16px;
  line-height: 1;
}
.draft-selected-chip:hover .draft-chip-remove {
  color: var(--danger);
}

/* 队员网格 */
.draft-pool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
}
.draft-player-card {
  background: #fff;
  border: 2px solid #ddd;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}
.draft-player-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}
.draft-player-card.selected {
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.3);
}
.draft-player-card.readonly {
  cursor: default;
}
.draft-player-card.readonly:hover {
  transform: none;
  box-shadow: none;
}

.draft-card-portrait {
  width: 100%;
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.draft-portrait-text {
  font-size: 32px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
}
.draft-card-check {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-gold);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.draft-card-info {
  padding: 8px 10px;
  text-align: center;
}
.draft-card-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.draft-card-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  font-size: 11px;
}
.draft-card-tier {
  font-weight: 700;
}
.draft-card-overall {
  color: var(--text-secondary);
}

/* 底部确认按钮 */
.draft-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px 20px;
  background: linear-gradient(to top, var(--bg-primary) 60%, transparent);
  display: flex;
  justify-content: center;
  z-index: 50;
  pointer-events: none;
}
.draft-confirm-btn {
  pointer-events: auto;
  min-width: 280px;
}
.draft-confirm-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* 首页自选模式按钮 */
.draft-btn {
  margin-top: 12px;
}
.btn-outline-gold {
  background: transparent;
  color: var(--accent-gold);
  border: 2px solid var(--accent-gold);
  font-weight: 700;
}
.btn-outline-gold:hover {
  background: rgba(255, 215, 0, 0.1);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.25);
}

.home-cta {
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

/* 手机端适配 */
@media (max-width: 640px) {
  .draft-screen {
    padding: 12px;
    padding-bottom: 100px;
  }
  .draft-header-left h2 {
    font-size: 22px;
  }
  .draft-pool-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 8px;
  }
  .draft-card-name {
    font-size: 12px;
  }
  .draft-count-num {
    font-size: 24px;
  }
  .draft-confirm-btn {
    min-width: 240px;
  }
  .btn-xl {
    padding: 14px 36px;
    font-size: 17px;
  }
}

/* ===== 球员专属技能 & 队长技能 补充样式 ===== */
.aw-player-skill-line {
  margin-top: 6px;
  padding: 4px 8px;
  background: rgba(96, 165, 250, 0.1);
  border-radius: 4px;
  font-size: 11px;
  color: #60a5fa;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.aw-player-skill-icon {
  font-size: 10px;
  color: #60a5fa;
}
.aw-player-skill-name {
  font-weight: 600;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}
.aw-ts-captain-badge {
  font-size: 12px;
  color: #d4af37;
  font-weight: 600;
  margin-left: auto;
}
.aw-ts-captain-skill {
  padding: 12px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(255, 215, 0, 0.06));
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 8px;
}
.aw-ts-cs-name {
  font-size: 15px;
  font-weight: 700;
  color: #ffd700;
  margin-bottom: 6px;
}
.aw-ts-cs-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.aw-mr-exclusive-skills .aw-mr-skills-title {
  color: #d4af37;
}

/* 队长技能区块 */
.aw-mr-captain-skills .aw-mr-skills-title {
  color: #ffd700;
}

/* 球员专属技能区块 */
.aw-mr-player-skills .aw-mr-skills-title {
  color: #64b5f6;
}

/* 选秀总结页球员专属技能列表 */
.aw-ts-skill-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}
.aw-ts-skill-item {
  padding: 8px 10px;
  background: rgba(255,255,255,0.03);
  border-radius: 6px;
  border-left: 3px solid #64b5f6;
}
.aw-ts-skill-item.is-captain {
  border-left-color: #ffd700;
  background: rgba(255,215,0,0.05);
}
.aw-ts-skill-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3px;
}
.aw-ts-skill-name {
  font-size: 13px;
  font-weight: 600;
  color: #e8e8e8;
}
.aw-ts-skill-player {
  font-size: 12px;
  color: #aaa;
}
.aw-ts-captain-star {
  color: #ffd700;
  margin-right: 2px;
}
.aw-ts-skill-desc {
  font-size: 12px;
  color: #999;
  line-height: 1.5;
}

/* ========== 外出相关样式 ========== */
.aw-train-item.outing {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(236, 72, 153, 0.2));
  border: 1px solid rgba(167, 139, 250, 0.5);
}
.aw-train-item.outing:hover {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.4), rgba(236, 72, 153, 0.35));
  border-color: rgba(196, 181, 253, 0.7);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.3);
}
.aw-train-item.outing .aw-train-icon {
  font-size: 28px;
}

.aw-outing-player-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 12px;
  margin: 16px 0;
}

.aw-outing-player-btn {
  background: rgba(30, 27, 45, 0.8);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 12px;
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s;
  color: #e5e7eb;
  text-align: center;
  min-height: 90px;
}
.aw-outing-player-btn:hover {
  border-color: rgba(250, 204, 21, 0.7);
  background: rgba(50, 40, 75, 0.95);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(250, 204, 21, 0.15);
}
.aw-outing-btn-name {
  font-size: 16px;
  font-weight: 700;
  color: #f3f4f6;
}
.aw-outing-btn-ovr {
  font-size: 12px;
  color: #fbbf24;
  font-weight: 600;
}
.aw-outing-btn-topdim {
  font-size: 11px;
  color: #a78bfa;
}

.aw-em-outing-tag {
  display: inline-block;
  background: linear-gradient(90deg, #8b5cf6, #ec4899);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
}

.aw-outing-result-detail {
  background: rgba(30, 27, 45, 0.6);
  border-radius: 8px;
  padding: 12px 14px;
  margin: 12px 0;
  border: 1px solid rgba(139, 92, 246, 0.2);
}
.aw-outing-rd-title {
  font-size: 12px;
  color: #a78bfa;
  font-weight: 600;
  margin-bottom: 6px;
}
.aw-outing-rd-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3px 0;
  font-size: 13px;
}
.aw-outing-rd-row span:first-child {
  color: #d1d5db;
}
.aw-outing-rd-pos {
  color: #4ade80;
  font-weight: 600;
}
.aw-outing-rd-neg {
  color: #f87171;
  font-weight: 600;
}

/* 友情加成显示 */
.aw-tr-friend-bonus {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(139, 92, 246, 0.2);
  color: #c4b5fd;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
  margin-left: 8px;
}

/* ========== 技能点快捷栏 ========== */
.aw-sp-bar {
  background: rgba(30, 27, 50, 0.7);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 12px;
}

.aw-sp-bar-title {
  font-size: 12px;
  color: #a78bfa;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.aw-sp-bar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.aw-sp-card {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  background: rgba(20, 18, 35, 0.8);
  border: 1px solid rgba(100, 80, 150, 0.3);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
  color: inherit;
  font: inherit;
}
.aw-sp-card:hover {
  transform: translateY(-1px);
  border-color: rgba(250, 204, 21, 0.5);
  background: rgba(40, 35, 65, 0.9);
}

.aw-sp-card.tier-gold {
  border-color: rgba(250, 204, 21, 0.5);
  background: rgba(80, 65, 30, 0.35);
  box-shadow: 0 0 8px rgba(250, 204, 21, 0.15);
}
.aw-sp-card.tier-gold:hover {
  border-color: rgba(250, 204, 21, 0.8);
  box-shadow: 0 0 12px rgba(250, 204, 21, 0.3);
}

.aw-sp-card.tier-purple {
  border-color: rgba(168, 85, 247, 0.6);
  background: rgba(88, 28, 135, 0.3);
  box-shadow: 0 0 8px rgba(168, 85, 247, 0.2);
}
.aw-sp-card.tier-purple:hover {
  border-color: rgba(192, 132, 252, 0.9);
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.4);
}

.aw-sp-card.tier-rainbow {
  border: 1px solid transparent;
  background:
    linear-gradient(rgba(20, 18, 35, 0.9), rgba(20, 18, 35, 0.9)) padding-box,
    linear-gradient(135deg, #facc15, #f472b6, #a78bfa, #60a5fa, #4ade80) border-box;
  box-shadow: 0 0 12px rgba(250, 204, 21, 0.2);
  animation: rainbow-pulse 2s ease-in-out infinite;
}
@keyframes rainbow-pulse {
  0%, 100% { box-shadow: 0 0 8px rgba(250, 204, 21, 0.2); }
  50% { box-shadow: 0 0 16px rgba(236, 72, 153, 0.35); }
}
.aw-sp-card.tier-rainbow:hover {
  transform: translateY(-1px) scale(1.02);
}

.aw-sp-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  border: 1.5px solid rgba(139, 92, 246, 0.4);
  flex-shrink: 0;
  background: rgba(50, 45, 80, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: #e5e7eb;
}
.aw-sp-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.aw-sp-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  flex: 1;
}
.aw-sp-name {
  font-size: 11px;
  color: #d1d5db;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
}
.aw-sp-value {
  font-size: 12px;
  font-weight: 700;
  color: #fbbf24;
  display: flex;
  align-items: center;
  gap: 3px;
}
.aw-sp-card.tier-purple .aw-sp-value { color: #d8b4fe; }
.aw-sp-card.tier-rainbow .aw-sp-value { color: #fde68a; }
.aw-sp-icon { font-size: 11px; }

/* 手机端适配：保持 3 列网格，已够紧凑，不需要调整 */

/* 外出弹窗按钮行 */
.aw-em-btns-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

/* ========== 训练品质（大成功/失败） ========== */
.aw-tr-quality {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 2px;
}
.aw-tr-quality.great {
  color: #fbbf24;
  text-shadow: 0 0 20px rgba(251, 191, 36, 0.6), 0 0 8px rgba(251, 191, 36, 0.4);
  animation: awGreatPulse 1.2s ease-in-out infinite;
}
.aw-tr-quality.fail {
  color: #ef4444;
  text-shadow: 0 0 10px rgba(239, 68, 68, 0.4);
}
@keyframes awGreatPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.02); }
}
.aw-tr-result-panel.quality-great {
  border-color: #fbbf24 !important;
  box-shadow: 0 0 30px rgba(251, 191, 36, 0.25), inset 0 0 30px rgba(251, 191, 36, 0.05) !important;
  animation: awGreatGlow 2s ease-in-out infinite;
}
@keyframes awGreatGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(251, 191, 36, 0.15), inset 0 0 20px rgba(251, 191, 36, 0.03); }
  50% { box-shadow: 0 0 40px rgba(251, 191, 36, 0.35), inset 0 0 40px rgba(251, 191, 36, 0.08); }
}
.aw-tr-result-panel.quality-fail {
  border-color: rgba(239, 68, 68, 0.5) !important;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.15) !important;
}
.aw-tr-r-gain.gain b,
.aw-tr-r-gain.great b {
  color: #fbbf24 !important;
  text-shadow: 0 0 6px rgba(251, 191, 36, 0.5);
}
.aw-tr-r-gain.fail b {
  color: #ef4444 !important;
  opacity: 0.7;
}
.aw-tr-r-mul {
  display: inline-block;
  margin-left: 6px;
  font-size: 11px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 8px;
  background: rgba(251, 191, 36, 0.2);
  color: #fbbf24;
  vertical-align: middle;
}
.aw-tr-r-gain.fail .aw-tr-r-mul {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
}

/* 训练异常提示 */
.aw-tr-error-hint {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 12px 0;
  padding: 10px 14px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: 8px;
}
.aw-tr-error-icon {
  font-size: 18px;
  flex-shrink: 0;
}
.aw-tr-error-text {
  flex: 1;
  min-width: 0;
}
.aw-tr-error-title {
  font-size: 13px;
  font-weight: 700;
  color: #f87171;
  margin-bottom: 2px;
}
.aw-tr-error-desc {
  font-size: 11px;
  color: #fca5a5;
  word-break: break-all;
  opacity: 0.85;
}

/* 大成功立绘 */
.aw-tr-great-portrait {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}
.aw-tr-great-portrait img {
  width: 160px;
  height: auto;
  border-radius: 12px;
  border: 3px solid #fbbf24;
  box-shadow: 0 0 30px rgba(251, 191, 36, 0.6), 0 0 60px rgba(251, 191, 36, 0.3);
  animation: awGreatPortraitPulse 1.5s ease-in-out infinite;
}
@keyframes awGreatPortraitPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(251, 191, 36, 0.5), 0 0 40px rgba(251, 191, 36, 0.2); }
  50% { box-shadow: 0 0 35px rgba(251, 191, 36, 0.8), 0 0 70px rgba(251, 191, 36, 0.4); }
}

/* ========== 阶段目标卡片 ========== */
.aw-goal-card {
  background: linear-gradient(135deg, rgba(30, 27, 50, 0.9), rgba(50, 40, 80, 0.7));
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
}
.aw-goal-card.reached {
  border-color: rgba(34, 197, 94, 0.5);
  background: linear-gradient(135deg, rgba(20, 40, 30, 0.8), rgba(30, 60, 50, 0.7));
}

/* 阶段进度指示器 */
.aw-goal-stage-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 10px;
}
.aw-goal-stage-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  background: rgba(139, 92, 246, 0.15);
  color: #a5b4fc;
  border: 1.5px solid rgba(139, 92, 246, 0.4);
  flex-shrink: 0;
}
.aw-goal-stage-dot.done {
  background: rgba(34, 197, 94, 0.25);
  color: #4ade80;
  border-color: rgba(34, 197, 94, 0.7);
}
.aw-goal-stage-dot.current {
  background: rgba(251, 191, 36, 0.25);
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.8);
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.4);
}
.aw-goal-stage-line {
  flex: 1;
  height: 2px;
  background: rgba(139, 92, 246, 0.2);
  margin: 0 6px;
}
.aw-goal-stage-line.done {
  background: rgba(34, 197, 94, 0.6);
}

/* 全部达成状态 */
.aw-goal-card.all-done {
  border-color: rgba(251, 191, 36, 0.5);
  background: linear-gradient(135deg, rgba(50, 40, 20, 0.9), rgba(80, 60, 30, 0.7));
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.15);
}
.aw-goal-all-done {
  text-align: center;
  padding: 8px 0 4px;
}
.aw-goal-all-done-icon {
  font-size: 32px;
  margin-bottom: 6px;
  animation: awGoalAllDonePulse 2s ease-in-out infinite;
}
@keyframes awGoalAllDonePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}
.aw-goal-all-done-title {
  font-size: 16px;
  font-weight: 700;
  color: #fbbf24;
  margin-bottom: 4px;
}
.aw-goal-all-done-desc {
  font-size: 12px;
  color: #a5b4fc;
  opacity: 0.8;
}
.aw-goal-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.aw-goal-tag {
  font-size: 11px;
  font-weight: 700;
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.15);
  padding: 2px 8px;
  border-radius: 10px;
  letter-spacing: 1px;
}
.aw-goal-card.reached .aw-goal-tag {
  color: #4ade80;
  background: rgba(34, 197, 94, 0.15);
}
.aw-goal-name {
  font-size: 15px;
  font-weight: 700;
  color: #fef3c7;
}
.aw-goal-reached {
  margin-left: auto;
  font-size: 12px;
  font-weight: 700;
  color: #4ade80;
}
.aw-goal-condition {
  font-size: 12px;
  color: #a5b4fc;
  margin-bottom: 8px;
}
.aw-goal-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.aw-goal-prog-bar {
  flex: 1;
  height: 8px;
  background: rgba(139, 92, 246, 0.2);
  border-radius: 4px;
  overflow: hidden;
}
.aw-goal-prog-fill {
  height: 100%;
  background: linear-gradient(90deg, #8b5cf6, #fbbf24);
  border-radius: 4px;
  transition: width 0.5s ease;
}
.aw-goal-card.reached .aw-goal-prog-fill {
  background: linear-gradient(90deg, #22c55e, #4ade80);
}
.aw-goal-prog-text {
  font-size: 12px;
  color: #e0e7ff;
  font-weight: 600;
  white-space: nowrap;
}
.aw-goal-reward {
  font-size: 11px;
  color: #c4b5fd;
  background: rgba(139, 92, 246, 0.1);
  padding: 4px 8px;
  border-radius: 6px;
  display: inline-block;
}

/* ========== 目标结算弹窗 ========== */
.aw-goal-result {
  text-align: center !important;
  padding: 36px 32px !important;
}
.aw-goal-result.reached {
  border: 2px solid #fbbf24 !important;
  box-shadow: 0 0 40px rgba(251, 191, 36, 0.3) !important;
  animation: awGoalReachedBounce 0.6s ease-out;
}
.aw-goal-result.missed {
  border: 2px solid rgba(107, 114, 128, 0.5) !important;
}
@keyframes awGoalReachedBounce {
  0% { transform: scale(0.8); opacity: 0; }
  60% { transform: scale(1.05); }
  100% { transform: scale(1); opacity: 1; }
}
.aw-goal-result-tag {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: 2px;
}
.aw-goal-result.reached .aw-goal-result-tag {
  color: #fbbf24;
  text-shadow: 0 0 20px rgba(251, 191, 36, 0.5);
}
.aw-goal-result.missed .aw-goal-result-tag {
  color: #9ca3af;
}
.aw-goal-result-name {
  font-size: 20px;
  font-weight: 700;
  color: #fef3c7;
  margin-bottom: 8px;
}
.aw-goal-result-desc {
  font-size: 13px;
  color: #a5b4fc;
  margin-bottom: 20px;
}
.aw-goal-result-effect {
  font-size: 14px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 10px;
  margin-bottom: 16px;
  display: inline-block;
}
.aw-goal-result-effect.pos {
  color: #bbf7d0;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.3);
}
.aw-goal-result-effect.neg {
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.25);
}
.aw-goal-result-hint {
  font-size: 12px;
  color: #6b7280;
  animation: awGoalHintBlink 1s ease-in-out infinite;
}
.aw-goal-result-hint.auto {
  color: #4ade80;
  animation: none;
  opacity: 0.8;
}
.aw-goal-result.auto-close {
  animation: awGoalResultPop 0.4s ease-out;
}
@keyframes awGoalResultPop {
  0% { transform: scale(0.8); opacity: 0; }
  60% { transform: scale(1.05); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes awGoalHintBlink {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* ========== 外出队员选择（按钮列表） ========== */
.aw-outing-player-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 420px;
  overflow-y: auto;
  margin: 16px 0;
  padding-right: 4px;
}
.aw-outing-player-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 18px;
  background: linear-gradient(135deg, rgba(30, 27, 50, 0.9), rgba(50, 40, 80, 0.6));
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 12px;
  color: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  font-family: inherit;
}
.aw-outing-player-btn:hover {
  border-color: #a78bfa;
  background: linear-gradient(135deg, rgba(60, 50, 100, 0.8), rgba(80, 60, 130, 0.7));
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.2);
}
.aw-outing-player-btn:active {
  transform: translateY(0);
}
.aw-opb-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.aw-opb-name {
  font-size: 15px;
  font-weight: 700;
  color: #fef3c7;
}
.aw-opb-pos {
  font-size: 11px;
  color: #a78bfa;
  background: rgba(139, 92, 246, 0.15);
  padding: 2px 8px;
  border-radius: 8px;
  display: inline-block;
  width: fit-content;
}
.aw-opb-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.aw-opb-overall,
.aw-opb-topdim {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.aw-opb-ov-label,
.aw-opb-td-label {
  font-size: 10px;
  color: #9ca3af;
  letter-spacing: 1px;
}
.aw-opb-ov-val {
  font-size: 18px;
  font-weight: 800;
  color: #fbbf24;
  text-shadow: 0 0 8px rgba(251, 191, 36, 0.4);
}
.aw-opb-td-val {
  font-size: 15px;
  font-weight: 700;
  color: #4ade80;
}

/* ===== 选人模式选择界面 ===== */
.draft-mode-title-area {
  text-align: center;
  margin-bottom: 32px;
  padding: 20px 0;
}
.draft-mode-main-title {
  font-size: 28px;
  font-weight: 900;
  color: #ffd700;
  margin: 0 0 8px 0;
  letter-spacing: 2px;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}
.draft-mode-subtitle {
  font-size: 14px;
  color: #9ca3af;
  margin: 0;
}

.draft-mode-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.draft-mode-card {
  background: linear-gradient(145deg, #1e1635 0%, #120c25 100%);
  border: 2px solid rgba(107, 91, 149, 0.4);
  border-radius: 16px;
  padding: 28px 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.draft-mode-card:hover:not(.disabled) {
  border-color: rgba(212, 175, 55, 0.6);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(212, 175, 55, 0.15);
}
.draft-mode-card.selected {
  border-color: #d4af37;
  background: linear-gradient(145deg, #2a1f4e 0%, #1a1030 100%);
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.2);
}
.draft-mode-card.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  filter: grayscale(0.6);
}

.draft-mode-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.draft-mode-icon {
  font-size: 36px;
  line-height: 1;
}
.draft-mode-badge {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(212, 175, 55, 0.15);
  color: #d4af37;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.draft-mode-card.disabled .draft-mode-badge {
  background: rgba(156, 163, 175, 0.15);
  color: #9ca3af;
}

.draft-mode-name {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin: 0;
  letter-spacing: 1px;
}

.draft-mode-desc {
  font-size: 13px;
  color: #9ca3af;
  line-height: 1.7;
  margin: 0;
  flex: 1;
}

.draft-mode-select-btn {
  padding: 12px 16px;
  border-radius: 10px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: #d4af37;
  border: 2px solid rgba(212, 175, 55, 0.4);
  background: rgba(212, 175, 55, 0.05);
  transition: all 0.2s ease;
}
.draft-mode-select-btn.active {
  background: linear-gradient(135deg, #d4af37, #ffd700);
  color: #1a1030;
  border-color: #ffd700;
}

.draft-mode-coming-soon {
  padding: 12px 16px;
  border-radius: 10px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: #6b7280;
  background: rgba(107, 114, 128, 0.1);
  border: 2px dashed rgba(107, 114, 128, 0.3);
}

/* ===== 蛇形选人界面 ===== */
.snake-draft-info-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.08), rgba(107, 91, 149, 0.1), rgba(212, 175, 55, 0.08));
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  gap: 20px;
}
.snake-draft-round-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.sdr-label {
  font-size: 11px;
  color: #9ca3af;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.sdr-rounds {
  display: flex;
  gap: 8px;
}
.sdr-round-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #6b7280;
  background: rgba(107, 114, 128, 0.15);
  border: 1px solid rgba(107, 114, 128, 0.3);
  transition: all 0.3s ease;
}
.sdr-round-dot.done {
  background: rgba(74, 222, 128, 0.2);
  border-color: #4ade80;
  color: #4ade80;
}
.sdr-round-dot.active {
  background: linear-gradient(135deg, #d4af37, #ffd700);
  border-color: #ffd700;
  color: #1a1030;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
  transform: scale(1.1);
}

.snake-draft-current-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
}
.sct-label {
  font-size: 11px;
  color: #9ca3af;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.sct-agent {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sct-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #d4af37;
}
.sct-name {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}
.sct-player-tag {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 12px;
  background: rgba(74, 222, 128, 0.2);
  color: #4ade80;
  font-weight: 600;
}

.snake-draft-remaining {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex: 1;
}
.sdr-count {
  font-size: 20px;
  font-weight: 800;
  color: #d4af37;
}

/* 6队进度条 */
.snake-draft-team-progress {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding: 16px 32px;
  background: rgba(18, 12, 37, 0.6);
  border-bottom: 1px solid rgba(107, 91, 149, 0.2);
  flex-wrap: wrap;
}
.sd-team-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 10px;
  transition: all 0.3s ease;
  min-width: 90px;
}
.sd-team-item.current {
  background: rgba(212, 175, 55, 0.12);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}
.sd-team-item.is-player .sd-team-name {
  color: #4ade80;
}
.sd-team-avatar-wrap {
  position: relative;
}
.sd-team-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(107, 91, 149, 0.5);
  transition: all 0.3s ease;
}
.sd-team-item.current .sd-team-avatar {
  border-color: #d4af37;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.5);
}
.sd-team-you {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #4ade80;
  color: #0a0a0a;
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #120c25;
}
.sd-team-name {
  font-size: 11px;
  font-weight: 600;
  color: #9ca3af;
  white-space: nowrap;
}
.sd-team-slots {
  display: flex;
  gap: 3px;
}
.sd-slot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: rgba(107, 114, 128, 0.25);
  border: 1px solid rgba(107, 114, 128, 0.3);
  transition: all 0.3s ease;
}
.sd-slot.filled {
  background: #d4af37;
  border-color: #ffd700;
  box-shadow: 0 0 4px rgba(255, 215, 0, 0.5);
}
.sd-team-count {
  font-size: 10px;
  color: #6b7280;
  font-weight: 600;
}

/* 蛇形选人主体 */
.snake-draft-body {
  display: flex;
  gap: 20px;
  padding: 20px 32px;
}
.snake-draft-main-area {
  flex: 1;
  min-width: 0;
}
.snake-draft-side-panel {
  width: 320px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.snake-draft-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  color: #ffd700;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}
.sd-title-icon {
  font-size: 20px;
}

.snake-draft-player-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  max-height: calc(100vh - 420px);
  overflow-y: auto;
  padding: 4px;
}
.snake-draft-card {
  cursor: pointer;
  transition: all 0.2s ease;
}
.snake-draft-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.2);
}

/* AI选人动画 */
.snake-draft-ai-picking {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  gap: 30px;
  min-height: 300px;
}
.sd-ai-agent-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.sd-ai-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #d4af37;
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
  animation: sdPulse 1.5s ease-in-out infinite;
}
@keyframes sdPulse {
  0%, 100% { box-shadow: 0 0 30px rgba(212, 175, 55, 0.3); }
  50% { box-shadow: 0 0 50px rgba(212, 175, 55, 0.6); }
}
.sd-ai-name {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
}

.sd-ai-thinking {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.sd-thinking-dots {
  display: flex;
  gap: 8px;
}
.sd-thinking-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d4af37;
  animation: sdDotBounce 1.4s ease-in-out infinite;
}
.sd-thinking-dots span:nth-child(2) { animation-delay: 0.2s; }
.sd-thinking-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes sdDotBounce {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.5; }
  40% { transform: scale(1.2); opacity: 1; }
}
.sd-thinking-text {
  font-size: 14px;
  color: #9ca3af;
  letter-spacing: 2px;
}

.sd-ai-picked-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  animation: sdFadeInUp 0.4s ease-out;
}
@keyframes sdFadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.sd-pick-label {
  font-size: 12px;
  color: #9ca3af;
  letter-spacing: 2px;
}
.sd-picked-player-name {
  font-size: 28px;
  font-weight: 900;
  color: #ffd700;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}
.sd-picked-player-overall {
  font-size: 14px;
  color: #d4af37;
  font-weight: 600;
}

/* 选人完成 */
.snake-draft-complete {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  gap: 16px;
  text-align: center;
}
.sd-complete-icon {
  font-size: 64px;
  animation: sdBounce 0.6s ease;
}
@keyframes sdBounce {
  0% { transform: scale(0); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}
.sd-complete-title {
  font-size: 28px;
  font-weight: 900;
  color: #ffd700;
  margin: 0;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}
.sd-complete-desc {
  font-size: 14px;
  color: #9ca3af;
  margin: 0;
}

/* 侧边面板 */
.sd-side-section {
  background: rgba(18, 12, 37, 0.8);
  border: 1px solid rgba(107, 91, 149, 0.3);
  border-radius: 12px;
  padding: 14px;
}
.sd-side-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  color: #d4af37;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}
.sd-side-count {
  font-size: 12px;
  color: #9ca3af;
  font-weight: 600;
}
.sd-empty-hint {
  font-size: 12px;
  color: #6b7280;
  text-align: center;
  padding: 16px 0;
}
.sd-my-team-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 200px;
  overflow-y: auto;
}
.sd-my-team-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(107, 91, 149, 0.25);
  border-radius: 6px;
  font-size: 12px;
}
.sd-mti-pick {
  font-size: 10px;
  color: #6b7280;
  font-weight: 600;
  flex-shrink: 0;
  width: 36px;
}
.sd-mti-name {
  flex: 1;
  color: #e5e7eb;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sd-mti-ovr {
  font-weight: 700;
  flex-shrink: 0;
}

.sd-draft-log-section {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.sd-draft-log {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column-reverse;
  gap: 4px;
  max-height: 240px;
}
.sd-log-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  padding: 5px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.02);
}
.sd-log-item.is-player {
  background: rgba(74, 222, 128, 0.08);
}
.sd-log-round {
  color: #6b7280;
  font-weight: 700;
  flex-shrink: 0;
  width: 24px;
}
.sd-log-agent {
  color: #9ca3af;
  font-weight: 600;
  flex-shrink: 0;
  width: 56px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sd-log-item.is-player .sd-log-agent {
  color: #4ade80;
}
.sd-log-arrow {
  color: #6b7280;
  flex-shrink: 0;
}
.sd-log-player {
  color: #e5e7eb;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.snake-draft-footer-right {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* ===== 全随机选人界面 ===== */
.random-draft-body {
  padding: 20px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.random-draft-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.08), rgba(107, 91, 149, 0.1), rgba(212, 175, 55, 0.08));
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 12px;
}
.rd-title {
  font-size: 20px;
  font-weight: 800;
  color: #ffd700;
}
.rd-reroll-info {
  font-size: 13px;
  color: #9ca3af;
}
.rd-reroll-info strong {
  color: #d4af37;
  font-size: 16px;
}

.random-draft-teams {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.rd-team-card {
  background: linear-gradient(145deg, #1e1635 0%, #120c25 100%);
  border: 1px solid rgba(107, 91, 149, 0.3);
  border-radius: 12px;
  padding: 16px;
  transition: all 0.3s ease;
}
.rd-team-card.is-player {
  border-color: rgba(74, 222, 128, 0.4);
  background: linear-gradient(145deg, #1a2e1e 0%, #120c25 100%);
}
.rd-team-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(107, 91, 149, 0.2);
}
.rd-team-agent {
  display: flex;
  align-items: center;
  gap: 8px;
}
.rd-team-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(212, 175, 55, 0.4);
}
.rd-team-card.is-player .rd-team-avatar {
  border-color: #4ade80;
}
.rd-team-name {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}
.rd-player-tag {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 12px;
  background: rgba(74, 222, 128, 0.2);
  color: #4ade80;
  font-weight: 600;
  margin-left: 4px;
}
.rd-team-avg {
  font-size: 11px;
  color: #9ca3af;
}
.rd-team-avg strong {
  color: #d4af37;
  font-size: 14px;
  margin-left: 4px;
}
.rd-team-players {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.rd-player-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(107, 91, 149, 0.2);
  border-radius: 5px;
  font-size: 12px;
}
.rd-p-name {
  color: #e5e7eb;
}
.rd-p-ovr {
  font-weight: 700;
}

.random-draft-footer-right {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* ===== 响应式适配 ===== */
@media (max-width: 900px) {
  .draft-mode-cards {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
  .snake-draft-body {
    flex-direction: column;
    padding: 16px;
  }
  .snake-draft-side-panel {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .sd-side-section {
    flex: 1;
    min-width: 280px;
  }
  .snake-draft-player-grid {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    max-height: none;
  }
  .snake-draft-team-progress {
    gap: 8px;
    padding: 12px 16px;
  }
  .sd-team-item {
    min-width: 70px;
    padding: 6px 8px;
  }
  .sd-team-avatar {
    width: 32px;
    height: 32px;
  }
  .sd-team-name {
    font-size: 10px;
  }
  .random-draft-teams {
    grid-template-columns: 1fr;
  }
  .snake-draft-info-bar {
    flex-wrap: wrap;
    padding: 12px 16px;
    gap: 12px;
  }
  .snake-draft-round-info,
  .snake-draft-current-team,
  .snake-draft-remaining {
    flex: 1 1 100%;
    align-items: center;
  }
  .snake-draft-remaining {
    align-items: center !important;
  }
}

/* ============================================================
   郎超代理人战争 · 联赛结束页（紫金主题）
   ============================================================ */
.agent-war-league-end {
  position: fixed;
  inset: 0;
  overflow-y: auto;
  background: radial-gradient(ellipse at top, #2d1b69 0%, #1a0f3d 40%, #0f0a24 100%);
  color: #e9d5ff;
  font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
}
.aw-le-container {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 20px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* 皇冠 + 标题 */
.aw-le-crown {
  font-size: 48px;
  margin-top: 8px;
  animation: awLeCrownBounce 2.5s ease-in-out infinite;
}
@keyframes awLeCrownBounce {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-8px) rotate(3deg); }
}
.aw-le-title {
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 6px;
  background: linear-gradient(180deg, #fde68a, #d4af37, #b8860b);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}
.aw-le-subtitle {
  font-size: 13px;
  color: #a78bfa;
  letter-spacing: 4px;
  opacity: 0.8;
  margin-top: -4px;
}

/* 冠军卡片 */
.aw-le-champion {
  width: 100%;
  background: linear-gradient(145deg, rgba(255, 215, 0, 0.12), rgba(139, 92, 246, 0.12));
  border: 2px solid rgba(212, 175, 55, 0.5);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(212, 175, 55, 0.15);
}
.aw-le-champion::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(255, 215, 0, 0.08), transparent 30%);
  animation: awLeChampShine 4s linear infinite;
}
@keyframes awLeChampShine {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.aw-le-champion-label {
  font-size: 11px;
  letter-spacing: 3px;
  color: #fbbf24;
  font-weight: 600;
  opacity: 0.9;
  z-index: 1;
}
.aw-le-champion-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #d4af37;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 92, 246, 0.3);
  font-size: 28px;
  color: #fff;
  font-weight: 700;
}
.aw-le-champion-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.aw-le-champion-name {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  z-index: 1;
}
.aw-le-champion-meta {
  font-size: 13px;
  color: #c4b5fd;
  display: flex;
  gap: 10px;
  align-items: center;
  z-index: 1;
}
.aw-le-champion-meta .dot-sep {
  color: rgba(196, 181, 253, 0.4);
}

/* 决赛比分 */
.aw-le-final-score {
  width: 100%;
  background: rgba(30, 20, 60, 0.6);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 12px;
  padding: 16px 20px;
  text-align: center;
}
.aw-le-final-label {
  font-size: 12px;
  color: #a78bfa;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.aw-le-final-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.aw-le-final-team {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
  color: #e9d5ff;
  text-align: center;
}
.aw-le-final-team.winner {
  color: #fbbf24;
  font-weight: 800;
}
.aw-le-final-score-num {
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  min-width: 80px;
  text-align: center;
  letter-spacing: 4px;
}

/* Tabs */
.aw-le-tabs {
  width: 100%;
  display: flex;
  gap: 8px;
  background: rgba(30, 20, 60, 0.5);
  border-radius: 10px;
  padding: 4px;
}
.aw-le-tab {
  flex: 1;
  padding: 10px 0;
  border: none;
  background: transparent;
  color: #a78bfa;
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.aw-le-tab.active {
  background: linear-gradient(135deg, #7c3aed, #5b21b6);
  color: #fff;
  box-shadow: 0 2px 10px rgba(124, 58, 237, 0.4);
}

/* Tab 内容区 */
.aw-le-tab-content {
  width: 100%;
  min-height: 200px;
}

/* ===== 排名卡片 ===== */
.aw-le-ranking-panel {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.aw-rank-card {
  background: rgba(30, 20, 60, 0.6);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 12px;
  padding: 12px 14px;
  cursor: pointer;
  transition: all 0.25s;
}
.aw-rank-card:hover {
  border-color: rgba(167, 139, 250, 0.5);
  transform: translateY(-1px);
}
.aw-rank-card.champ-card {
  border: 2px solid rgba(251, 191, 36, 0.6);
  background: linear-gradient(145deg, rgba(255, 215, 0, 0.1), rgba(30, 20, 60, 0.6));
  box-shadow: 0 4px 16px rgba(251, 191, 36, 0.15);
}
.aw-rank-card.player-card {
  border-color: rgba(74, 222, 128, 0.5);
}
.aw-rank-card.expanded {
  border-color: rgba(167, 139, 250, 0.7);
}
.aw-rank-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.aw-rank-badge {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  background: rgba(139, 92, 246, 0.2);
  color: #c4b5fd;
  flex-shrink: 0;
}
.aw-rank-badge.rank-champ {
  background: linear-gradient(135deg, #fbbf24, #d97706);
  color: #1a0f3d;
  width: 32px;
  height: 32px;
}
.aw-rank-badge.rank-runner {
  background: linear-gradient(135deg, #d1d5db, #9ca3af);
  color: #1a0f3d;
}
.aw-rank-badge.rank-third {
  background: linear-gradient(135deg, #d97706, #92400e);
  color: #fef3c7;
}
.aw-rank-team {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.aw-rank-team-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(139, 92, 246, 0.5);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 92, 246, 0.3);
  font-size: 12px;
  color: #fff;
  font-weight: 700;
}
.aw-rank-team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.aw-rank-team-info {
  min-width: 0;
  flex: 1;
}
.aw-rank-team-name {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}
.aw-rank-player-tag {
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 8px;
  background: rgba(74, 222, 128, 0.2);
  color: #4ade80;
  font-weight: 600;
}
.aw-rank-team-meta {
  font-size: 11px;
  color: #a78bfa;
  margin-top: 2px;
}
.aw-rank-stats {
  text-align: right;
  flex-shrink: 0;
}
.aw-rank-stats-row {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  font-size: 12px;
}
.aw-rank-stats-row.small {
  font-size: 11px;
  margin-top: 3px;
  color: #9ca3af;
}
.aw-rank-stat b {
  color: #fbbf24;
  font-weight: 700;
}
.aw-rank-stat-sub {
  color: #9ca3af;
}
.aw-rank-expand-icon {
  font-size: 10px;
  color: #a78bfa;
  flex-shrink: 0;
}
.aw-rank-players {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(139, 92, 246, 0.25);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.aw-rank-player-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 6px;
}
.aw-rank-player-row:nth-child(odd) {
  background: rgba(139, 92, 246, 0.06);
}
.aw-rank-player-idx {
  width: 18px;
  color: #9ca3af;
  font-size: 11px;
}
.aw-rank-player-name {
  flex: 1;
  color: #e9d5ff;
}
.aw-rank-player-ovr {
  color: #fbbf24;
  font-weight: 600;
  font-size: 11px;
}
.aw-rank-detail {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed rgba(139, 92, 246, 0.3);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.aw-rank-detail-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.aw-rank-detail-label {
  font-size: 12px;
  color: #c4b5fd;
  font-weight: 600;
}
.aw-eightdim-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.aw-eightdim-item {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(139, 92, 246, 0.08);
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 12px;
}
.aw-eightdim-name {
  color: #a78bfa;
  font-size: 11px;
  min-width: 28px;
}
.aw-eightdim-value {
  color: #f3e8ff;
  font-weight: 600;
  flex: 1;
}
.aw-dim-diff {
  font-size: 10px;
  font-weight: 600;
  padding: 1px 4px;
  border-radius: 3px;
}
.aw-dim-diff.higher { color: #10b981; background: rgba(16, 185, 129, 0.15); }
.aw-dim-diff.lower { color: #ef4444; background: rgba(239, 68, 68, 0.15); }
.aw-diff-hint {
  font-size: 10px;
  color: #6b7280;
  text-align: right;
}
.aw-player-stats-table {
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(139, 92, 246, 0.2);
  font-size: 11px;
}
.aw-pst-header {
  display: grid;
  grid-template-columns: 2fr 0.8fr repeat(8, 1fr);
  background: rgba(139, 92, 246, 0.15);
  color: #c4b5fd;
  font-weight: 600;
  text-align: center;
  padding: 6px 4px;
  gap: 2px;
}
.aw-pst-row {
  display: grid;
  grid-template-columns: 2fr 0.8fr repeat(8, 1fr);
  text-align: center;
  padding: 5px 4px;
  color: #e9d5ff;
  border-top: 1px solid rgba(139, 92, 246, 0.1);
  gap: 2px;
  align-items: center;
}
.aw-pst-row:nth-child(even) {
  background: rgba(139, 92, 246, 0.04);
}
.aw-pst-name {
  text-align: left !important;
  padding-left: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.aw-pst-idx {
  color: #6b7280;
  font-size: 10px;
  min-width: 14px;
}
.aw-pst-ovr {
  color: #fbbf24 !important;
  font-weight: 600;
}

/* ===== 赛事简报 ===== */
.aw-le-briefing-panel,
.aw-le-stats-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.aw-le-section {
  width: 100%;
}
.aw-le-section-title {
  font-size: 14px;
  font-weight: 700;
  color: #fbbf24;
  text-align: center;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.aw-le-title-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.4), transparent);
  max-width: 40px;
}

/* 冠军之路 */
.aw-champ-run-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(30, 20, 60, 0.5);
  border-radius: 10px;
  padding: 10px 12px;
}
.aw-champ-run-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
}
.aw-cr-stage {
  color: #a78bfa;
  flex-shrink: 0;
  width: 60px;
}
.aw-cr-result {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.aw-cr-opponent {
  color: #e9d5ff;
  font-weight: 600;
}
.aw-cr-score {
  color: #fbbf24;
  font-weight: 800;
  min-width: 40px;
  text-align: center;
}
.aw-cr-res-tag {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 8px;
  font-weight: 600;
}
.aw-cr-res-tag.胜 { background: rgba(74, 222, 128, 0.2); color: #4ade80; }
.aw-cr-res-tag.平 { background: rgba(156, 163, 175, 0.2); color: #9ca3af; }
.aw-cr-res-tag.负 { background: rgba(248, 113, 113, 0.2); color: #f87171; }

/* 轮次比赛 */
.aw-round-block {
  margin-bottom: 12px;
}
.aw-round-label {
  font-size: 12px;
  color: #c4b5fd;
  font-weight: 600;
  margin-bottom: 6px;
  padding-left: 4px;
}
.aw-match-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.aw-match-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: rgba(30, 20, 60, 0.5);
  border-radius: 8px;
  font-size: 12px;
  gap: 8px;
}
.aw-match-row.knockout {
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
}
.aw-match-row.final-row {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.15), rgba(139, 92, 246, 0.15));
  border: 2px solid rgba(251, 191, 36, 0.4);
  padding: 12px 14px;
}
.aw-match-team {
  flex: 1;
  color: #e9d5ff;
  text-align: left;
  font-weight: 500;
}
.aw-match-team.away {
  text-align: right;
}
.aw-match-team.winner {
  color: #fbbf24;
  font-weight: 800;
}
.aw-match-score {
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  min-width: 40px;
  text-align: center;
  letter-spacing: 1px;
}
.aw-match-score.final {
  font-size: 18px;
  color: #fbbf24;
  min-width: 50px;
}

/* ===== 数据统计 ===== */
.aw-le-stats-overview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.aw-stat-card {
  background: rgba(30, 20, 60, 0.6);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 12px;
  padding: 16px 8px;
  text-align: center;
}
.aw-stat-num {
  font-size: 26px;
  font-weight: 900;
  background: linear-gradient(180deg, #fde68a, #d4af37);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.aw-stat-label {
  font-size: 11px;
  color: #a78bfa;
  margin-top: 4px;
  letter-spacing: 1px;
}

/* 射手榜 */
.aw-scorer-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.aw-scorer-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: rgba(30, 20, 60, 0.5);
  border-radius: 8px;
  font-size: 12px;
}
.aw-scorer-rank {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(139, 92, 246, 0.15);
  color: #a78bfa;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}
.aw-scorer-rank.top {
  background: linear-gradient(135deg, #fbbf24, #d97706);
  color: #1a0f3d;
}
.aw-scorer-name {
  flex: 1;
  color: #e9d5ff;
  font-weight: 600;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.aw-scorer-team {
  font-size: 11px;
  color: #9ca3af;
  flex-shrink: 0;
  max-width: 80px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.aw-scorer-goals {
  color: #fbbf24;
  font-weight: 800;
  font-size: 14px;
  min-width: 28px;
  text-align: right;
  flex-shrink: 0;
}
.aw-scorer-unit {
  font-size: 10px;
  color: #a78bfa;
  margin-left: 2px;
  font-weight: 500;
}
.aw-empty-tip {
  text-align: center;
  color: #9ca3af;
  padding: 20px;
  font-size: 13px;
}

/* 操作按钮 */
.aw-le-actions {
  width: 100%;
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.aw-le-actions .aw-btn {
  flex: 1;
}
.aw-btn-gold {
  background: linear-gradient(135deg, #d4af37, #b8860b);
  color: #1a0f3d;
  border: none;
  padding: 14px 24px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  letter-spacing: 2px;
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.3);
  transition: all 0.2s;
  font-family: inherit;
}
.aw-btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}
.aw-btn-ghost {
  background: rgba(139, 92, 246, 0.15);
  color: #c4b5fd;
  border: 1px solid rgba(139, 92, 246, 0.4);
  padding: 14px 24px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 2px;
  transition: all 0.2s;
  font-family: inherit;
}
.aw-btn-ghost:hover {
  background: rgba(139, 92, 246, 0.25);
  border-color: rgba(167, 139, 250, 0.6);
}

.aw-le-footer {
  font-size: 11px;
  color: #6b7280;
  text-align: center;
  margin-top: 8px;
  letter-spacing: 1px;
}

/* ===== 选秀顺位随机确认弹窗 ===== */
.aw-draft-order-modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 5, 25, 0.85);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 20px;
  animation: awDoFadeIn 0.35s ease;
}
@keyframes awDoFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.aw-draft-order-content {
  background: linear-gradient(160deg, #1e1240 0%, #120a28 100%);
  border: 2px solid rgba(212, 175, 55, 0.5);
  border-radius: 20px;
  padding: 28px 24px 24px;
  width: 100%;
  max-width: 360px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(212, 175, 55, 0.15);
  animation: awDoPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes awDoPop {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.aw-do-title {
  font-size: 20px;
  font-weight: 800;
  background: linear-gradient(180deg, #fde68a, #d4af37);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4px;
  letter-spacing: 2px;
}
.aw-do-subtitle {
  font-size: 12px;
  color: #a78bfa;
  letter-spacing: 2px;
  margin-bottom: 18px;
}
.aw-do-order-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.aw-do-order-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 10px;
  transition: all 0.2s;
}
.aw-do-order-item.is-player {
  background: linear-gradient(90deg, rgba(251, 191, 36, 0.18), rgba(139, 92, 246, 0.1));
  border-color: rgba(251, 191, 36, 0.5);
  box-shadow: 0 0 12px rgba(251, 191, 36, 0.15);
}
.aw-do-rank {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(139, 92, 246, 0.2);
  color: #c4b5fd;
  font-weight: 800;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.aw-do-order-item.is-player .aw-do-rank {
  background: linear-gradient(135deg, #fbbf24, #d97706);
  color: #1a0f3d;
}
.aw-do-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  border: 1.5px solid rgba(139, 92, 246, 0.5);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 92, 246, 0.3);
  font-size: 10px;
  color: #fff;
  font-weight: 700;
}
.aw-do-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.aw-do-name {
  flex: 1;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  color: #e9d5ff;
}
.aw-do-player-tag {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 8px;
  background: rgba(74, 222, 128, 0.2);
  color: #4ade80;
  font-weight: 700;
  flex-shrink: 0;
}
.aw-do-hint {
  font-size: 12px;
  color: #c4b5fd;
  margin-bottom: 18px;
}
.aw-do-hint b {
  color: #fbbf24;
  font-weight: 800;
  font-size: 13px;
}
.aw-do-start-btn {
  width: 100%;
  padding: 12px 20px;
  font-size: 14px;
}
