:root {
  --bg: #070b18;
  --panel: rgba(12, 22, 48, 0.86);
  --line: rgba(126, 200, 255, 0.28);
  --text: #f3f8ff;
  --muted: #a8b6d6;
  --blue: #19a8ff;
  --cyan: #79e7ff;
  --purple: #8c5cff;
  --gold: #ffcf6c;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(
      circle at top left,
      rgba(25, 168, 255, 0.22),
      transparent 36rem
    ),
    radial-gradient(
      circle at top right,
      rgba(140, 92, 255, 0.18),
      transparent 34rem
    ),
    linear-gradient(180deg, #08112a 0%, #050711 45%, #080c1a 100%);
  min-height: 100vh;
}
body:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent);
}
a {
  color: inherit;
  text-decoration: none;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(5, 9, 22, 0.72);
  border-bottom: 1px solid var(--line);
}
.nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 34px;
  border: 1px solid rgba(121, 231, 255, 0.55);
  background: linear-gradient(
    135deg,
    rgba(25, 168, 255, 0.5),
    rgba(140, 92, 255, 0.45)
  );
  clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
  font-weight: 900;
}
.nav-links {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}
.nav-links a {
  padding: 8px 10px;
  border-radius: 999px;
}
.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: rgba(25, 168, 255, 0.18);
}
.nav-toggle {
  display: none;
  color: #fff;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  padding: 8px 10px;
  border-radius: 10px;
}
main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 22px 80px;
}
.page-shell {
  padding-top: 54px;
}
.page-shell .section {
  margin-top: 0;
}
.hero {
  min-height: 520px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: center;
  gap: 28px;
  position: relative;
}
.hero:after {
  content: "";
  position: absolute;
  right: 4%;
  top: 12%;
  width: 240px;
  height: 240px;
  border: 1px solid rgba(121, 231, 255, 0.25);
  transform: rotate(45deg);
  filter: drop-shadow(0 0 24px rgba(25, 168, 255, 0.35));
  z-index: -1;
}
.eyebrow {
  color: var(--cyan);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 13px;
  margin: 0 0 10px;
}
h1 {
  margin: 0;
  font-size: clamp(52px, 8vw, 104px);
  line-height: 0.95;
  letter-spacing: -0.06em;
  text-transform: uppercase;
  text-shadow: 0 0 28px rgba(25, 168, 255, 0.28);
}
.page-title {
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -0.04em;
}
h2 {
  font-size: clamp(30px, 4vw, 48px);
  margin: 0;
}
h3 {
  margin-top: 0;
}
.hero-desc {
  color: var(--muted);
  max-width: 720px;
  font-size: 18px;
  line-height: 1.9;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
  color: #fff;
  transition: 0.18s;
}
.btn:hover {
  transform: translateY(-2px);
  border-color: rgba(121, 231, 255, 0.8);
}
.btn.primary {
  background: linear-gradient(135deg, #117cff, #8b5cff);
  box-shadow: 0 14px 32px rgba(17, 124, 255, 0.24);
}
.btn.ghost {
  background: rgba(255, 255, 255, 0.05);
}
.hero-card,
.stat,
.timeline-item,
.team-card,
.accordion-item,
.tool-card,
.schedule-round,
.match-card,
.history-sidebar,
.history-detail,
.history-match,
.game-card,
.detail-grid div,
.detail-block {
  background: linear-gradient(
    180deg,
    rgba(20, 35, 76, 0.86),
    rgba(10, 18, 42, 0.84)
  );
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.hero-card {
  min-height: 280px;
  border-radius: 26px;
  padding: 30px;
  position: relative;
  overflow: hidden;
}
.hero-card:before {
  content: "";
  position: absolute;
  inset: -80px -80px auto auto;
  width: 200px;
  height: 200px;
  background: radial-gradient(
    circle,
    rgba(121, 231, 255, 0.26),
    transparent 66%
  );
}
.trophy {
  font-size: 82px;
  filter: drop-shadow(0 0 24px rgba(121, 231, 255, 0.42));
}
.hero-number {
  font-size: 56px;
  color: var(--gold);
  font-weight: 900;
  margin: 14px 0 4px;
}
.hero-card p {
  color: var(--muted);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 8px 0 80px;
}
.stat {
  border-radius: 18px;
  padding: 20px;
}
.stat span,
.stat small {
  color: var(--muted);
}
.stat strong {
  display: block;
  font-size: 28px;
  margin: 8px 0;
}
.section {
  margin-top: 76px;
  scroll-margin-top: 90px;
}
.section-heading {
  margin-bottom: 24px;
}
.section-heading.row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
}
.search,
input,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(5, 12, 30, 0.82);
  color: #fff;
  padding: 12px 13px;
  outline: none;
}
.search {
  max-width: 320px;
}
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.timeline-item {
  border-radius: 18px;
  padding: 20px;
}
.timeline-item.active {
  border-color: rgba(255, 207, 108, 0.6);
}
.timeline-item time {
  color: var(--gold);
  font-weight: 900;
}
.timeline-item p {
  color: var(--muted);
  line-height: 1.75;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.team-card {
  --team-logo: none;
  --team-glow: rgba(121, 231, 255, 0.68);
  --team-shadow: rgba(121, 231, 255, 0.85);
  --team-line: rgba(126, 200, 255, 0.28);
  --team-card-glow: rgba(121, 231, 255, 0.1);
  border-radius: 22px;
  padding: 24px;
  overflow: hidden;
  position: relative;
  isolation: isolate;
  border-color: var(--team-line);
  background:
    radial-gradient(circle at 42% 14%, var(--team-card-glow), transparent 155px),
    linear-gradient(180deg, rgba(20, 35, 76, 0.9), rgba(10, 18, 42, 0.86));
}

.team-card > * {
  position: relative;
  z-index: 3;
}

.team-card[data-state="秦"] {
  --team-logo: url("../../assets/qin.png");
  --team-glow: rgba(105, 190, 255, 0.72);
  --team-shadow: rgba(121, 231, 255, 0.82);
  --team-line: rgba(121, 231, 255, 0.38);
  --team-card-glow: rgba(105, 190, 255, 0.13);
}

.team-card[data-state="楚"] {
  --team-logo: url("../../assets/chu.png");
  --team-glow: rgba(184, 116, 255, 0.72);
  --team-shadow: rgba(184, 116, 255, 0.82);
  --team-line: rgba(184, 116, 255, 0.38);
  --team-card-glow: rgba(184, 116, 255, 0.13);
}

.team-card[data-state="蜀"] {
  --team-logo: url("../../assets/shu.png");
  --team-glow: rgba(92, 255, 173, 0.68);
  --team-shadow: rgba(92, 255, 173, 0.78);
  --team-line: rgba(92, 255, 173, 0.34);
  --team-card-glow: rgba(92, 255, 173, 0.12);
}

.team-card[data-state="吴"] {
  --team-logo: url("../../assets/wu.png");
  --team-glow: rgba(255, 207, 108, 0.72);
  --team-shadow: rgba(255, 207, 108, 0.82);
  --team-line: rgba(255, 207, 108, 0.36);
  --team-card-glow: rgba(255, 207, 108, 0.13);
}

.team-card[data-state="越"] {
  --team-logo: url("../../assets/yue.png");
  --team-glow: rgba(255, 112, 172, 0.7);
  --team-shadow: rgba(255, 112, 172, 0.8);
  --team-line: rgba(255, 112, 172, 0.36);
  --team-card-glow: rgba(255, 112, 172, 0.12);
}

.team-card[data-state="燕"] {
  --team-logo: url("../../assets/yan.png");
  --team-glow: rgba(255, 135, 84, 0.7);
  --team-shadow: rgba(255, 135, 84, 0.8);
  --team-line: rgba(255, 135, 84, 0.36);
  --team-card-glow: rgba(255, 135, 84, 0.12);
}

.team-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  min-height: 104px;
  padding-right: 134px;
  margin-bottom: 6px;
}

/* 队徽光晕与本体绑定在标题区，垂直居中，更容易和队名对齐 */
.team-top::before {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 100px;
  height: 100px;
  border-radius: 999px;
  background: radial-gradient(circle, var(--team-glow) 0%, rgba(255, 255, 255, 0.08) 34%, transparent 72%);
  filter: blur(15px);
  opacity: 0.92;
  pointer-events: none;
  z-index: 1;
}

.team-top::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 78px;
  height: 78px;
  background-image: var(--team-logo);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.98;
  filter:
    drop-shadow(0 0 8px var(--team-shadow))
    drop-shadow(0 0 18px var(--team-shadow));
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 2;
}

.team-name {
  font-size: 34px;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-shadow:
    0 0 16px rgba(121, 231, 255, 0.22),
    0 8px 24px rgba(0, 0, 0, 0.3);
}

.team-top .eyebrow {
  margin-top: 8px;
  text-shadow: 0 0 16px rgba(121, 231, 255, 0.28);
}

.rank-pill {
  color: #04101f;
  background: var(--gold);
  padding: 5px 10px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 12px;
}

.team-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 8px 0 18px;
}
.team-meta div {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 10px;
}
.team-meta span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.team-meta strong {
  display: block;
  margin-top: 4px;
}
.roster {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.roster li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
  padding: 0 0 9px;
}
.roster li span {
  font-size: 16px;
}
.roster small {
  color: var(--cyan);
  white-space: nowrap;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.accordion {
  display: grid;
  gap: 14px;
}
.accordion-item {
  border-radius: 18px;
  overflow: hidden;
}
.accordion-title {
  width: 100%;
  background: transparent;
  color: #fff;
  border: 0;
  cursor: pointer;
  padding: 20px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 20px;
  font-weight: 900;
  text-align: left;
}
.accordion-title b {
  font-size: 24px;
  color: var(--cyan);
  transition: transform 0.2s ease;
}
.accordion-item.open .accordion-title b {
  transform: rotate(45deg);
}
.accordion-panel {
  display: none;
  padding: 0 22px 22px;
  color: var(--muted);
  line-height: 1.9;
}
.accordion-item.open .accordion-panel {
  display: block;
}
.rule-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 14px;
  margin: 14px 0;
}
.rule-table th,
.rule-table td {
  border: 1px solid rgba(126, 200, 255, 0.2);
  padding: 12px 14px;
  text-align: center;
}
.rule-table th {
  color: #fff;
  background: rgba(25, 168, 255, 0.2);
}
.rule-table td {
  background: rgba(255, 255, 255, 0.035);
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.rule-list {
  margin: 0;
  padding-left: 20px;
}
.note {
  color: var(--gold);
}
code {
  color: #fff;
  background: rgba(121, 231, 255, 0.12);
  padding: 2px 6px;
  border-radius: 6px;
}
.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.tool-card {
  border-radius: 20px;
  padding: 20px;
}
.tool-card label {
  display: block;
  color: var(--muted);
  font-size: 14px;
  margin: 14px 0;
}
.result {
  margin-top: 16px;
  min-height: 78px;
  border: 1px solid rgba(121, 231, 255, 0.22);
  background: rgba(0, 0, 0, 0.2);
  border-radius: 14px;
  padding: 14px;
  color: #fff;
  line-height: 1.7;
}
.schedule-list {
  display: grid;
  gap: 18px;
}
.schedule-round {
  border-radius: 18px;
  padding: 20px;
}
.round-heading,
.match-card-top,
.game-card-top,
.detail-header,
.audit-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}
.round-heading strong,
.schedule-list strong {
  color: var(--gold);
}
.round-heading span,
.schedule-list span {
  color: var(--muted);
}
.match-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 16px;
}
.match-card {
  border-radius: 16px;
  padding: 18px;
}
.match-card[data-status="live"] {
  border-color: rgba(255, 207, 108, 0.7);
}
.match-versus,
.detail-score {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  margin: 18px 0;
}
.match-versus strong:last-child,
.detail-score strong:last-child {
  text-align: right;
}
.match-versus span,
.detail-score span {
  color: var(--gold);
  font-weight: 900;
  white-space: nowrap;
}
.match-card-meta {
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}
.match-detail-link {
  width: 100%;
  margin-top: 16px;
}
.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 5px 9px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}
.status-badge[data-tone="success"] {
  background: rgba(92, 255, 173, 0.16);
  border-color: rgba(92, 255, 173, 0.36);
}
.status-badge[data-tone="danger"] {
  background: rgba(255, 112, 112, 0.16);
  border-color: rgba(255, 112, 112, 0.36);
}
.status-badge[data-tone="warning"] {
  background: rgba(255, 207, 108, 0.16);
  border-color: rgba(255, 207, 108, 0.38);
}
.status-badge[data-tone="live"] {
  background: rgba(255, 207, 108, 0.2);
  border-color: rgba(255, 207, 108, 0.55);
}
.status-badge[data-tone="info"] {
  background: rgba(25, 168, 255, 0.16);
  border-color: rgba(25, 168, 255, 0.38);
}
.live-link,
.detail-block a {
  color: var(--cyan);
  font-weight: 800;
}
.history-shell {
  display: grid;
  grid-template-columns: minmax(280px, 0.34fr) 1fr;
  gap: 18px;
  align-items: start;
}
.history-page {
  max-width: 1440px;
  padding-top: 20px;
}
.history-page .section {
  margin-top: 0;
}
.history-page .history-shell {
  height: calc(100vh - 170px);
  min-height: 650px;
}
.history-sidebar,
.history-detail {
  border-radius: 20px;
  padding: 18px;
  max-height: 100%;
  overflow: auto;
}
.history-sidebar {
  position: sticky;
  top: 88px;
}
.history-filters {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}
.history-list {
  display: grid;
  gap: 10px;
}
.history-match {
  width: 100%;
  border-radius: 14px;
  padding: 14px;
  color: #fff;
  text-align: left;
  cursor: pointer;
}
.history-match.active {
  border-color: rgba(255, 207, 108, 0.7);
  box-shadow: 0 0 0 1px rgba(255, 207, 108, 0.22), var(--shadow);
}
.history-match span,
.history-match small {
  color: var(--muted);
}
.history-match strong {
  display: block;
  margin: 6px 0;
  color: #fff;
}
.history-detail h3 {
  margin-bottom: 0;
  font-size: 28px;
}
.match-hero-panel {
  display: grid;
  grid-template-columns: 1fr minmax(220px, 0.55fr) 1fr;
  gap: 18px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(126, 200, 255, 0.28);
  border-radius: 18px;
  padding: 18px;
  background:
    linear-gradient(90deg, rgba(25, 168, 255, 0.14), transparent 28%),
    linear-gradient(270deg, rgba(255, 112, 172, 0.12), transparent 28%),
    rgba(5, 12, 30, 0.82);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}
.hero-team {
  min-width: 0;
  display: grid;
  grid-template-columns: 76px 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 14px;
}
.hero-team.away {
  direction: rtl;
  text-align: right;
}
.hero-team.away * {
  direction: ltr;
}
.hero-team img {
  grid-row: 1 / span 2;
  width: 76px;
  height: 76px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(121, 231, 255, 0.32));
}
.hero-team span {
  color: var(--gold);
  font-weight: 900;
  font-size: 13px;
}
.hero-team strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #fff;
  font-size: 30px;
  line-height: 1.05;
}
.match-center {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 8px;
}
.match-center .eyebrow {
  margin: 0;
  text-align: center;
}
.match-score-big {
  color: #fff;
  font-size: 54px;
  line-height: 1;
  font-weight: 900;
  text-shadow: 0 0 24px rgba(255, 207, 108, 0.22);
}
.match-meta-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  border-top: 1px solid rgba(126, 200, 255, 0.18);
  padding-top: 12px;
}
.match-meta-strip div {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 9px 10px;
  background: rgba(255, 255, 255, 0.04);
}
.match-meta-strip span {
  display: block;
  color: var(--muted);
  font-size: 12px;
}
.match-meta-strip strong {
  display: block;
  margin-top: 2px;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.detail-score {
  border: 1px solid rgba(126, 200, 255, 0.2);
  border-radius: 18px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.035);
}
.detail-score span {
  font-size: 30px;
}
.detail-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.detail-grid div {
  border-radius: 14px;
  padding: 12px;
}
.detail-grid span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 4px;
}
.detail-block {
  border-radius: 16px;
  padding: 16px;
  margin-top: 14px;
}
.settlement-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}
.settlement-grid .detail-block {
  margin-top: 0;
}
.detail-block h4 {
  margin: 0 0 12px;
}
.game-detail-panel {
  border: 1px solid rgba(126, 200, 255, 0.28);
  border-radius: 18px;
  padding: 14px;
  margin-top: 12px;
  background: rgba(6, 13, 32, 0.78);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}
.game-controlbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}
.game-controlbar .eyebrow,
.game-controlbar h4 {
  margin: 0;
}
.game-controlbar select {
  max-width: 160px;
}
.block-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.block-heading h4 {
  margin: 0;
}
.block-heading select {
  max-width: 160px;
}
.empty-state {
  color: var(--muted);
  border: 1px dashed rgba(126, 200, 255, 0.24);
  border-radius: 12px;
  padding: 14px;
}
.game-list {
  display: grid;
  gap: 12px;
}
.game-card {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}
.game-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 10px 0;
}
.game-summary div {
  border: 1px solid rgba(126, 200, 255, 0.16);
  border-radius: 10px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.035);
}
.game-summary span,
.game-summary small {
  display: block;
  color: var(--muted);
}
.game-summary strong {
  display: block;
  color: #fff;
  margin: 4px 0;
}
.lineup-grid {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}
.lineup-table {
  width: 100%;
  margin-top: 12px;
  border-collapse: collapse;
  table-layout: fixed;
  overflow: hidden;
  border-radius: 12px;
}
.lineup-table th,
.lineup-table td {
  border: 1px solid rgba(126, 200, 255, 0.16);
  padding: 8px;
  vertical-align: middle;
}
.lineup-table th {
  color: #fff;
  background: rgba(25, 168, 255, 0.16);
  font-size: 12px;
}
.scoreboard-table th:first-child,
.scoreboard-table td:first-child {
  width: 58px;
  text-align: center;
  color: var(--gold);
  font-weight: 900;
}
.scoreboard-table td {
  color: var(--muted);
  font-size: 12px;
}
.scoreboard-table .player-name-cell {
  width: 16%;
}
.scoreboard-table .champion-cell,
.scoreboard-table .kda-cell {
  color: #fff;
  font-weight: 800;
  text-align: center;
}
.compact-player {
  display: grid;
  gap: 2px;
}
.compact-player strong {
  color: #fff;
}
.compact-player span {
  color: var(--cyan);
  font-size: 12px;
}
.empty-cell {
  color: var(--muted);
}
.participant-list {
  display: grid;
  gap: 8px;
  margin: 10px 0 0;
}
.participant-card {
  border: 1px solid rgba(126, 200, 255, 0.16);
  border-radius: 12px;
  padding: 10px;
  background: rgba(0, 0, 0, 0.16);
}
.participant-main,
.participant-extra,
.key-events {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}
.participant-main {
  align-items: start;
}
.participant-main strong,
.participant-main span {
  display: block;
}
.participant-main span,
.participant-extra {
  color: var(--muted);
  font-size: 12px;
}
.participant-main b {
  color: var(--gold);
  white-space: nowrap;
}
.participant-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 10px 0;
}
.participant-stats span {
  min-width: 0;
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 6px;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.04);
}
.participant-stats strong {
  display: block;
  color: #fff;
  margin-top: 2px;
}
.key-events {
  flex-wrap: wrap;
  margin-top: 10px;
}
.key-events span {
  border: 1px solid rgba(255, 207, 108, 0.2);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--gold);
  background: rgba(255, 207, 108, 0.08);
  font-size: 12px;
}
.compact-table {
  width: 100%;
  border-collapse: collapse;
}
.compact-table th,
.compact-table td {
  border: 1px solid rgba(126, 200, 255, 0.16);
  padding: 10px;
  text-align: left;
}
.compact-table th {
  color: #fff;
  background: rgba(25, 168, 255, 0.16);
}
.compact-table td {
  color: var(--muted);
}
.attachment-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
  padding: 26px;
  background: rgba(0, 0, 0, 0.2);
}
@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }
  .nav-links {
    display: none;
    position: absolute;
    left: 22px;
    right: 22px;
    top: 64px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(5, 9, 22, 0.96);
    flex-direction: column;
  }
  .nav-links.show {
    display: flex;
  }
  .hero,
  .stats-grid,
  .timeline,
  .team-grid,
  .tool-grid,
  .two-col,
  .match-card-grid,
  .history-shell,
  .detail-grid,
  .settlement-grid,
  .match-hero-panel,
  .match-meta-strip {
    grid-template-columns: 1fr;
  }
  .section-heading.row,
  .round-heading,
  .audit-row {
    align-items: stretch;
    flex-direction: column;
  }
  .history-sidebar {
    position: static;
  }
  .history-page .history-shell {
    height: auto;
    min-height: 0;
  }
  .history-sidebar,
  .history-detail {
    max-height: none;
    overflow: visible;
  }
  .search {
    max-width: none;
  }
  .team-top {
    min-height: 96px;
    padding-right: 116px;
  }
  .team-top::before {
    right: 8px;
    width: 86px;
    height: 86px;
  }
  .team-top::after {
    right: 14px;
    width: 68px;
    height: 68px;
  }
}

@media (max-width: 520px) {
  .team-card {
    padding: 20px;
  }

  .team-top {
    min-height: 82px;
    padding-right: 92px;
  }

  .team-top::before {
    right: 4px;
    width: 70px;
    height: 70px;
  }

  .team-top::after {
    right: 10px;
    width: 56px;
    height: 56px;
  }

  .team-name {
    font-size: 28px;
  }

  .match-versus,
  .detail-score {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-team,
  .hero-team.away {
    direction: ltr;
    text-align: left;
  }

  .match-score-big {
    font-size: 42px;
  }

  .game-controlbar {
    align-items: stretch;
    flex-direction: column;
  }

  .game-controlbar select {
    max-width: none;
  }

  .match-versus strong:last-child,
  .detail-score strong:last-child {
    text-align: center;
  }

  .lineup-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .lineup-table {
    display: none;
  }

  .game-summary,
  .participant-stats {
    grid-template-columns: 1fr 1fr;
  }

  .participant-extra {
    flex-direction: column;
  }
}
