/* ============ 赛博朋克科技风格 - 比赛平台 ============ */
:root {
  --bg-primary: #0a0e1a;
  --bg-secondary: #0f1629;
  --bg-card: rgba(15, 22, 41, 0.85);
  --bg-card-hover: rgba(20, 30, 60, 0.9);
  --neon-cyan: #00f0ff;
  --neon-blue: #0080ff;
  --neon-purple: #b829dd;
  --neon-pink: #ff2d95;
  --neon-green: #00ff88;
  --neon-orange: #ff6b35;
  --text-primary: #e0f0ff;
  --text-secondary: #8a9bb8;
  --text-muted: #4a5a78;
  --border-glow: rgba(0, 240, 255, 0.3);
  --border-subtle: rgba(0, 240, 255, 0.1);
  --shadow-glow: 0 0 20px rgba(0, 240, 255, 0.15);
  --shadow-glow-strong: 0 0 30px rgba(0, 240, 255, 0.3);
  --radius: 4px;
  --font-tech: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

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

body {
  font-family: var(--font-tech);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  background-image:
    linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}

/* ============ 扫描线动画背景 ============ */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 240, 255, 0.02) 2px,
    rgba(0, 240, 255, 0.02) 4px
  );
  pointer-events: none;
  z-index: 9999;
}

/* ============ 导航栏 - 科技风 ============ */
.navbar {
  background: linear-gradient(180deg, rgba(10, 14, 26, 0.95) 0%, rgba(15, 22, 41, 0.9) 100%);
  border-bottom: 1px solid var(--border-glow);
  box-shadow: 0 2px 20px rgba(0, 240, 255, 0.1);
  color: var(--text-primary);
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.navbar .logo {
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--neon-cyan);
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.navbar .logo img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--neon-cyan);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.4);
}

.navbar nav { display: flex; gap: 4px; }

.navbar nav a {
  color: var(--text-secondary);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.navbar nav a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-blue));
  transition: width 0.3s;
}

.navbar nav a:hover, .navbar nav a.active {
  color: var(--neon-cyan);
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.5);
}

.navbar nav a:hover::before, .navbar nav a.active::before {
  width: 100%;
}

/* ============ 布局 ============ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
}

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.page-header h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--neon-cyan);
  text-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

.page-header h2 {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
}

/* ============ Hero 区域 ============ */
.hero-section {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 32px;
  border: 1px solid var(--border-glow);
  box-shadow: var(--shadow-glow);
}

.hero-section img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  opacity: 0.8;
}

.hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px;
  background: linear-gradient(transparent, rgba(10, 14, 26, 0.95));
}

.hero-overlay h1 {
  font-size: 36px;
  font-weight: 800;
  color: var(--neon-cyan);
  text-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
  margin-bottom: 8px;
}

.hero-overlay p {
  font-size: 16px;
  color: var(--text-secondary);
}

/* ============ 卡片 - 科技玻璃效果 ============ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 16px;
  transition: all 0.3s;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
  opacity: 0.5;
}

.card:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.card-header h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--neon-cyan);
}

/* ============ 按钮 - 霓虹发光 ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  white-space: nowrap;
  background: rgba(0, 240, 255, 0.05);
  color: var(--neon-cyan);
  position: relative;
  overflow: hidden;
}

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

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.5);
}

.btn-primary {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.15), rgba(0, 128, 255, 0.15));
  border-color: var(--neon-cyan);
}

.btn-success {
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.15), rgba(0, 200, 100, 0.15));
  border-color: var(--neon-green);
  color: var(--neon-green);
}

.btn-success:hover {
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}

.btn-warning {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.15), rgba(255, 150, 0, 0.15));
  border-color: var(--neon-orange);
  color: var(--neon-orange);
}

.btn-danger {
  background: linear-gradient(135deg, rgba(255, 45, 149, 0.15), rgba(200, 0, 80, 0.15));
  border-color: var(--neon-pink);
  color: var(--neon-pink);
}

.btn-outline {
  background: transparent;
  color: var(--text-secondary);
}

.btn-sm { padding: 4px 10px; font-size: 12px; }
.btn-lg { padding: 12px 24px; font-size: 16px; }

/* ============ 表格 - 科技网格 ============ */
.table-wrapper { overflow-x: auto; }

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

table th {
  background: rgba(0, 240, 255, 0.05);
  padding: 12px;
  text-align: left;
  font-weight: 600;
  color: var(--neon-cyan);
  border-bottom: 1px solid var(--border-glow);
  white-space: nowrap;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
}

table td {
  padding: 12px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

table tr:hover td {
  background: rgba(0, 240, 255, 0.03);
  color: var(--text-primary);
}

/* ============ 表单 - 科技输入框 ============ */
.form-group { margin-bottom: 16px; }

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--neon-cyan);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  background: rgba(0, 240, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--text-primary);
  transition: all 0.3s;
  font-family: inherit;
}

.form-control:focus {
  outline: none;
  border-color: var(--neon-cyan);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
  background: rgba(0, 240, 255, 0.05);
}

.form-control::placeholder {
  color: var(--text-muted);
}

/* select 下拉框样式 */
select.form-control {
  background: var(--bg-secondary);
  color: var(--text-primary);
  cursor: pointer;
  min-width: 140px;
}

select.form-control option {
  background: var(--bg-secondary);
  color: var(--text-primary);
  padding: 8px;
}

select.form-control option:hover,
select.form-control option:focus {
  background: rgba(0, 240, 255, 0.1);
}

select.form-control:focus {
  background: var(--bg-secondary);
  border-color: var(--neon-cyan);
}

textarea.form-control { resize: vertical; min-height: 80px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

/* ============ 标签/徽章 - 霓虹 ============ */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 2px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid;
}

.badge-success { background: rgba(0, 255, 136, 0.1); color: var(--neon-green); border-color: rgba(0, 255, 136, 0.3); }
.badge-warning { background: rgba(255, 107, 53, 0.1); color: var(--neon-orange); border-color: rgba(255, 107, 53, 0.3); }
.badge-danger { background: rgba(255, 45, 149, 0.1); color: var(--neon-pink); border-color: rgba(255, 45, 149, 0.3); }
.badge-info { background: rgba(0, 128, 255, 0.1); color: var(--neon-blue); border-color: rgba(0, 128, 255, 0.3); }
.badge-gray { background: rgba(138, 155, 184, 0.1); color: var(--text-secondary); border-color: rgba(138, 155, 184, 0.3); }
.badge-primary { background: rgba(0, 240, 255, 0.1); color: var(--neon-cyan); border-color: rgba(0, 240, 255, 0.3); }

/* ============ 模态框 - 科技弹窗 ============ */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(10, 14, 26, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  backdrop-filter: blur(5px);
}

.modal-overlay.active { opacity: 1; visibility: visible; }

.modal {
  background: var(--bg-secondary);
  border: 1px solid var(--border-glow);
  border-radius: 8px;
  box-shadow: var(--shadow-glow-strong);
  width: 90%;
  max-width: 600px;
  max-height: 85vh;
  overflow-y: auto;
  transform: translateY(-20px);
  transition: transform 0.3s;
  position: relative;
}

.modal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-blue), var(--neon-purple));
}

.modal-overlay.active .modal { transform: translateY(0); }

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.modal-header h3 { font-size: 18px; font-weight: 600; color: var(--neon-cyan); }

.modal-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-muted);
  padding: 4px;
  transition: color 0.3s;
}

.modal-close:hover { color: var(--neon-pink); }

.modal-body { padding: 20px; }

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 12px 20px;
  border-top: 1px solid var(--border-subtle);
}

/* ============ 网格布局 ============ */
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row, .form-row-3 { grid-template-columns: 1fr; }
  .navbar nav { display: none; }
}

/* ============ 统计卡片 - 科技仪表盘 ============ */
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--neon-cyan), var(--neon-blue));
}

.stat-card:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.2);
}

.stat-info h4 { font-size: 12px; color: var(--text-muted); font-weight: 400; text-transform: uppercase; letter-spacing: 1px; }
.stat-info .number { font-size: 28px; font-weight: 700; color: var(--neon-cyan); text-shadow: 0 0 10px rgba(0, 240, 255, 0.3); }

/* ============ 时间线 - 科技节点 ============ */
.timeline { position: relative; padding-left: 24px; }

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--neon-cyan), var(--neon-blue), transparent);
}

.timeline-item {
  position: relative;
  padding-bottom: 20px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 2px solid var(--text-muted);
  transition: all 0.3s;
}

.timeline-item.completed::before { border-color: var(--neon-green); box-shadow: 0 0 10px rgba(0, 255, 136, 0.5); }
.timeline-item.active::before { border-color: var(--neon-cyan); box-shadow: 0 0 15px rgba(0, 240, 255, 0.6); background: var(--neon-cyan); }

.timeline-item h4 { font-size: 14px; font-weight: 600; color: var(--text-primary); }
.timeline-item p { font-size: 13px; color: var(--text-secondary); margin-top: 2px; }

/* ============ 空状态 ============ */
.empty-state {
  text-align: center;
  padding: 48px 24px;
  color: var(--text-muted);
}

.empty-state svg { width: 64px; height: 64px; margin-bottom: 16px; opacity: 0.3; }
.empty-state p { font-size: 16px; }

/* ============ 标签页 - 科技切换 ============ */
.tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 20px;
}

.tab {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all 0.3s;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tab:hover { color: var(--text-secondary); }
.tab.active { color: var(--neon-cyan); border-bottom-color: var(--neon-cyan); text-shadow: 0 0 8px rgba(0, 240, 255, 0.3); }

/* ============ 实时指示器 ============ */
.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(255, 45, 149, 0.1);
  color: var(--neon-pink);
  border-radius: 2px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(255, 45, 149, 0.3);
  text-transform: uppercase;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon-pink);
  animation: pulse 1.5s infinite;
  box-shadow: 0 0 8px rgba(255, 45, 149, 0.5);
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ============ 搜索框 ============ */
.search-box {
  position: relative;
  width: 300px;
}

.search-box input {
  width: 100%;
  padding: 10px 12px 10px 36px;
  background: rgba(0, 240, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--text-primary);
  transition: all 0.3s;
}

.search-box input:focus {
  outline: none;
  border-color: var(--neon-cyan);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

.search-box svg {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--text-muted);
}

/* ============ 比赛卡片（用户端） ============ */
.tournament-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s;
  cursor: pointer;
  position: relative;
}

.tournament-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-blue), var(--neon-purple));
  opacity: 0;
  transition: opacity 0.3s;
}

.tournament-card:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

.tournament-card:hover::after {
  opacity: 1;
}

.tournament-card-banner {
  height: 140px;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.1), rgba(0, 128, 255, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon-cyan);
  font-size: 48px;
  font-weight: 800;
  position: relative;
  border-bottom: 1px solid var(--border-subtle);
  text-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

.tournament-card-banner .type-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.3);
  padding: 4px 10px;
  border-radius: 2px;
  font-size: 11px;
  color: var(--neon-cyan);
  text-transform: uppercase;
  font-weight: 600;
}

.tournament-card-body { padding: 16px; }

.tournament-card-body h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.tournament-card-body p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tournament-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
}

.tournament-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ============ 对战卡片 ============ */
.match-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 12px;
  transition: all 0.3s;
}

.match-card:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
}

.match-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--text-muted);
}

.match-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.match-team {
  flex: 1;
  text-align: center;
}

.match-team .team-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.match-vs {
  font-size: 14px;
  font-weight: 700;
  color: var(--neon-cyan);
  padding: 8px 12px;
  background: rgba(0, 240, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  min-width: 36px;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.match-score {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}

.match-score .score {
  font-size: 28px;
  font-weight: 700;
  color: var(--neon-cyan);
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

/* ============ 动画 ============ */
.fade-in {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scanline {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100vh); }
}

/* ============ Toast 通知 ============ */
.toast-container {
  position: fixed;
  top: 72px;
  right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  padding: 12px 20px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  box-shadow: var(--shadow-glow);
  animation: slideIn 0.3s ease, fadeOut 0.3s ease 2.7s;
  min-width: 200px;
  border: 1px solid;
  backdrop-filter: blur(10px);
}

.toast-success { background: rgba(0, 255, 136, 0.1); border-color: rgba(0, 255, 136, 0.3); color: var(--neon-green); }
.toast-error { background: rgba(255, 45, 149, 0.1); border-color: rgba(255, 45, 149, 0.3); color: var(--neon-pink); }
.toast-info { background: rgba(0, 128, 255, 0.1); border-color: rgba(0, 128, 255, 0.3); color: var(--neon-blue); }

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

/* ============ 分享区域 ============ */
.share-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  background: rgba(0, 240, 255, 0.03);
  border-radius: 4px;
  border: 1px solid var(--border-subtle);
}

.share-box input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 14px;
  color: var(--text-secondary);
  outline: none;
}

/* ============ 管理端侧边栏 ============ */
.admin-layout {
  display: flex;
  min-height: 100vh;
}

.admin-sidebar {
  width: 240px;
  background: var(--bg-secondary);
  border-right: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 0;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 50;
}

.admin-sidebar .sidebar-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--neon-cyan);
}

.admin-sidebar .sidebar-menu {
  padding: 12px 0;
}

.admin-sidebar .sidebar-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s;
  border-left: 3px solid transparent;
}

.admin-sidebar .sidebar-menu a:hover {
  background: rgba(0, 240, 255, 0.05);
  color: var(--neon-cyan);
}

.admin-sidebar .sidebar-menu a.active {
  background: rgba(0, 240, 255, 0.08);
  color: var(--neon-cyan);
  border-left-color: var(--neon-cyan);
}

.admin-main {
  flex: 1;
  margin-left: 240px;
  padding: 24px;
  background: var(--bg-primary);
  min-height: 100vh;
}

/* ============ 实时面板 ============ */
.live-panel {
  background: var(--bg-secondary);
  border: 1px solid var(--border-glow);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-glow);
}

.live-panel .live-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.live-panel .live-header h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--neon-cyan);
}

.live-score-board {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 24px;
}

.live-team {
  text-align: center;
}

.live-team .name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.live-team .score {
  font-size: 48px;
  font-weight: 800;
  color: var(--neon-cyan);
  text-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}

.live-vs {
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 600;
}

.live-feed {
  max-height: 400px;
  overflow-y: auto;
}

.live-feed-item {
  padding: 8px 12px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s;
}

.live-feed-item:hover {
  background: rgba(0, 240, 255, 0.03);
}

.live-feed-item .time {
  font-size: 12px;
  color: var(--text-muted);
}

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

/* ============ 角标装饰 ============ */
.corner-decoration {
  position: relative;
}

.corner-decoration::before,
.corner-decoration::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid var(--neon-cyan);
  opacity: 0.5;
}

.corner-decoration::before {
  top: -1px;
  left: -1px;
  border-right: none;
  border-bottom: none;
}

.corner-decoration::after {
  bottom: -1px;
  right: -1px;
  border-left: none;
  border-top: none;
}
