:root {
  color-scheme: light;
  --dark: oklch(0.055 0.004 260);
  --dark-2: oklch(0.09 0.01 260);
  --dark-3: oklch(0.13 0.014 260);
  --red: oklch(0.64 0.23 25);
  --red-strong: oklch(0.58 0.24 25);
  --red-soft: oklch(0.95 0.025 25);
  --bg: oklch(0.965 0.004 255);
  --surface: oklch(1 0 0);
  --surface-soft: oklch(0.985 0.002 255);
  --ink: oklch(0.18 0.025 260);
  --muted: oklch(0.48 0.025 260);
  --line: oklch(0.88 0.007 255);
  --dark-line: oklch(0.64 0.23 25 / 0.28);
  --white-muted: oklch(0.8 0.012 260);
  --radius-lg: 22px;
  --radius: 16px;
  --font: Inter, "SF Pro Display", "SF Pro Text", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --transition-fast: 0.2s var(--ease-out);
  --transition-normal: 0.35s var(--ease-out);
  --color-red: #ff4655;
  --color-bg-dark: #050506;
  --color-bg-light: #f5f5f7;
  --color-card: #ffffff;
  --color-text: #111827;
  --color-muted: #6b7280;
  --shadow-soft: 0 8px 12px oklch(0.18 0.025 260 / 0.055);
}

/*
 * 选手详情页专属重构：黑红职业数据库风格，仅作用于 /players/:slug
 */
.player-detail-page {
  --pd-bg: #050608;
  --pd-bg-2: #07090d;
  --pd-card: rgba(255, 255, 255, 0.035);
  --pd-card-strong: rgba(255, 255, 255, 0.055);
  --pd-line: rgba(255, 255, 255, 0.08);
  --pd-line-soft: rgba(255, 255, 255, 0.055);
  --pd-red: #ff4655;
  --pd-text: #fff;
  --pd-muted: rgba(255, 255, 255, 0.58);
  --pd-weak: rgba(255, 255, 255, 0.38);
  --pd-pos: #44d17a;
  --pd-neg: #ff4d5e;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 70, 85, 0.13), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.055), transparent 24%),
    linear-gradient(180deg, var(--pd-bg), var(--pd-bg-2) 52%, var(--pd-bg));
  color: var(--pd-text);
}

.pd-shell {
  max-width: 1440px;
  padding-top: 112px;
  padding-bottom: 54px;
}

.pd-breadcrumb {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 24px;
  color: var(--pd-weak);
  font-size: 13px;
}

.pd-breadcrumb button {
  border: 0;
  background: transparent;
  color: var(--pd-muted);
  padding: 0;
}

.pd-breadcrumb span::before {
  content: ">";
  margin-right: 10px;
  color: var(--pd-weak);
}

.pd-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 380px) minmax(0, 1fr) minmax(320px, 360px);
  gap: 32px;
  align-items: stretch;
  min-height: 372px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--pd-line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 70, 85, 0.18), transparent 36%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
}

.pd-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, black, transparent 70%);
}

.pd-avatar-panel,
.pd-identity,
.pd-profile-card {
  position: relative;
  z-index: 1;
}

.pd-avatar-panel {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 324px;
  overflow: hidden;
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 70, 85, 0.2), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.016));
}

.pd-team-watermark {
  position: absolute;
  top: 22px;
  left: -18px;
  max-width: 100%;
  color: rgba(255, 70, 85, 0.12);
  font-size: 58px;
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: 0;
  text-transform: uppercase;
  pointer-events: none;
}

.pd-avatar {
  position: relative;
  z-index: 1;
  width: min(86%, 320px);
  height: 330px;
  overflow: hidden;
  border-radius: 18px 18px 0 0;
}

.pd-avatar::after {
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(5, 6, 8, 0.78));
}

.pd-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.pd-avatar-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.045);
  color: var(--pd-weak);
}

.pd-identity {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 10px 0;
}

.pd-name-row {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.pd-name-row h1 {
  margin: 0;
  color: var(--pd-text);
  font-size: 52px;
  font-weight: 820;
  line-height: 1.04;
  letter-spacing: 0;
}

.pd-verified {
  display: inline-grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: var(--pd-red);
  flex: 0 0 auto;
}

.pd-verified::before {
  width: 10px;
  height: 6px;
  content: "";
  border-bottom: 2px solid #050608;
  border-left: 2px solid #050608;
  transform: translateY(-1px) rotate(-45deg);
}

.pd-identity p {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 18px 0 0;
  color: var(--pd-muted);
}

.pd-identity p strong {
  color: var(--pd-text);
  font-size: 17px;
}

.pd-country-line,
.pd-team-line {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 20px;
  color: var(--pd-muted);
}

.pd-country-line span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 20px;
  border-radius: 4px;
  background: rgba(255, 70, 85, 0.18);
}

.pd-country-line b,
.pd-team-line strong {
  color: var(--pd-text);
}

.pd-country-line em {
  color: var(--pd-muted);
  font-style: normal;
}

.pd-favorite {
  margin-top: 26px;
  border-color: rgba(255, 70, 85, 0.42);
  background: rgba(255, 70, 85, 0.06);
  color: var(--pd-text);
}

.pd-profile-card,
.pd-card,
.pd-gear-card,
.pd-agent-card,
.pd-settings-card,
.pd-crosshair-card,
.pd-stat-strip,
.pd-empty-card,
.pd-not-found {
  border: 1px solid var(--pd-line);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.024)),
    var(--pd-card);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    0 14px 34px rgba(0, 0, 0, 0.18);
}

.pd-profile-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
}

.pd-kv-list,
.pd-mini-kv {
  display: grid;
  gap: 0;
  margin: 0;
}

.pd-kv-list div,
.pd-mini-kv div {
  display: grid;
  grid-template-columns: minmax(96px, 0.78fr) minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 39px;
  border-bottom: 1px solid var(--pd-line-soft);
}

.pd-kv-list div:last-child,
.pd-mini-kv div:last-child {
  border-bottom: 0;
}

.pd-kv-list dt,
.pd-mini-kv dt {
  color: var(--pd-muted);
  font-size: 13px;
}

.pd-kv-list dd,
.pd-mini-kv dd {
  min-width: 0;
  color: var(--pd-text);
  font-weight: 680;
  overflow-wrap: anywhere;
}

.pd-source-line {
  margin: 16px 0 0;
  color: var(--pd-weak);
  font-size: 12px;
}

.pd-stat-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr)) 148px;
  gap: 0;
  margin-top: 18px;
  overflow: hidden;
}

.pd-stat-strip article {
  min-height: 92px;
  padding: 19px 20px;
  border-right: 1px solid var(--pd-line-soft);
}

.pd-stat-strip span {
  display: block;
  color: var(--pd-muted);
  font-size: 12px;
  font-weight: 760;
}

.pd-stat-strip strong {
  display: block;
  margin-top: 10px;
  color: var(--pd-text);
  font-size: 28px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.pd-stat-strip em {
  margin-left: 8px;
  color: var(--pd-weak);
  font-style: normal;
  font-size: 12px;
}

.pd-season-select {
  display: grid;
  place-items: center;
  padding: 16px;
}

.pd-season-select select {
  width: 100%;
  min-height: 42px;
  appearance: none;
  border: 1px solid var(--pd-line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--pd-text);
  padding: 0 12px;
}

.pd-section,
.pd-two-col,
.pd-settings-grid {
  margin-top: 44px;
}

.pd-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.pd-section-head h2,
.pd-card h2,
.pd-card h3,
.pd-settings-card h3 {
  margin: 0;
  color: var(--pd-text);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0;
}

.pd-section-head h2::before {
  content: ">";
  margin-right: 10px;
  color: var(--pd-red);
}

.pd-section-head button,
.pd-settings-card button,
.pd-wide-button {
  border: 0;
  background: transparent;
  color: var(--pd-muted);
  font-weight: 680;
}

.pd-agent-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.pd-agent-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto auto;
  gap: 16px;
  align-items: center;
  min-height: 124px;
  padding: 16px;
}

.pd-agent-art {
  display: grid;
  place-items: center;
  width: 72px;
  height: 86px;
  overflow: hidden;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
}

.pd-agent-art .agent-chip {
  width: 72px;
  height: 86px;
  border: 0;
  border-radius: 14px;
  background: transparent;
}

.pd-agent-card strong {
  color: var(--pd-text);
  font-size: 18px;
}

.pd-agent-card span:not(.pd-agent-art) {
  display: grid;
  gap: 5px;
}

.pd-agent-card em {
  color: var(--pd-weak);
  font-style: normal;
  font-size: 12px;
}

.pd-agent-card b {
  color: var(--pd-text);
  font-size: 17px;
}

.pd-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr);
  gap: 20px;
}

.pd-card {
  padding: 24px;
}

.pd-range-tabs {
  display: inline-flex;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--pd-line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.026);
}

.pd-range-tabs button {
  min-height: 28px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--pd-weak);
  padding: 0 10px;
  font-size: 12px;
}

.pd-range-tabs button.is-active {
  background: rgba(255, 70, 85, 0.12);
  color: var(--pd-red);
}

.pd-chart,
.pd-chart-empty {
  width: 100%;
  height: 250px;
  border-radius: 14px;
}

.pd-chart-frame {
  position: relative;
  min-height: 316px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 70, 85, 0.08), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.018));
  padding: 14px 14px 12px;
  overflow: hidden;
}

.pd-chart-frame::before {
  position: absolute;
  inset: 46px 14px 56px;
  content: "";
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 88px 100%, 100% 52px;
  opacity: 0.75;
}

.pd-chart-meta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
  color: var(--pd-muted);
  font-size: 12px;
}

.pd-chart-meta b {
  color: var(--pd-text);
  font-variant-numeric: tabular-nums;
}

.pd-chart {
  position: relative;
  z-index: 1;
  display: block;
  overflow: visible;
  background: transparent;
}

.pd-chart-line {
  fill: none;
  stroke: var(--pd-red);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 8px rgba(255, 70, 85, 0.24));
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: pd-chart-draw 0.58s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.pd-chart-area {
  fill: rgba(255, 70, 85, 0.11);
  opacity: 0;
  animation: pd-chart-fade 0.44s ease-out 0.08s forwards;
}

.pd-chart-guide line {
  stroke: rgba(255, 255, 255, 0.07);
  stroke-width: 1;
}

.pd-chart-guide text {
  fill: rgba(255, 255, 255, 0.34);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  text-anchor: end;
}

.pd-chart-average {
  stroke: rgba(255, 255, 255, 0.22);
  stroke-dasharray: 5 7;
  stroke-width: 1.4;
}

.pd-chart-point circle {
  fill: var(--pd-red);
  stroke: #050608;
  stroke-width: 3;
  opacity: 0;
  transform-origin: center;
  animation: pd-chart-dot 0.32s ease-out 0.22s forwards;
}

.pd-chart-point text {
  fill: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  font-weight: 760;
  text-anchor: middle;
  opacity: 0;
  animation: pd-chart-fade 0.32s ease-out 0.3s forwards;
}

.pd-chart-labels {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-top: 4px;
}

.pd-chart-labels span {
  flex: 0 0 auto;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.18);
  padding: 0 10px;
}

.pd-chart-labels b {
  color: var(--pd-text);
  font-size: 12px;
}

.pd-chart-labels em {
  color: var(--pd-weak);
  font-style: normal;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.pd-chart-empty {
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.018);
  color: var(--pd-weak);
}

.pd-summary-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.pd-summary-row span {
  display: grid;
  gap: 5px;
  min-height: 58px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.026);
}

.pd-summary-row em,
.pd-match-stat em {
  color: var(--pd-weak);
  font-style: normal;
  font-size: 11px;
}

.pd-summary-row b,
.pd-match-stat b {
  color: var(--pd-text);
  font-variant-numeric: tabular-nums;
}

.pd-match-list {
  display: grid;
  gap: 8px;
}

.pd-match-row {
  display: grid;
  grid-template-columns: minmax(112px, 1fr) minmax(180px, 1.4fr) 52px repeat(3, 52px) 54px;
  gap: 10px;
  align-items: center;
  min-height: 66px;
  border: 1px solid transparent;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.022);
  color: var(--pd-text);
  padding: 10px;
  text-align: left;
}

.pd-match-row:hover {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.pd-match-event {
  color: var(--pd-muted);
  font-size: 12px;
}

.pd-match-teams {
  display: grid;
  grid-template-columns: 24px minmax(34px, 1fr) auto minmax(34px, 1fr) 24px;
  gap: 7px;
  align-items: center;
}

.pd-team-logo,
.pd-transfer-logo {
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

.pd-match-teams strong {
  color: var(--pd-text);
  font-variant-numeric: tabular-nums;
}

.pd-match-result {
  color: var(--pd-weak);
  font-weight: 800;
}

.pd-match-result.is-win {
  color: var(--pd-pos);
}

.pd-match-result.is-loss {
  color: var(--pd-neg);
}

.pd-match-stat {
  display: grid;
  justify-items: end;
  gap: 4px;
}

.pd-match-date {
  color: var(--pd-weak);
  font-size: 12px;
  text-align: right;
}

.pd-gear-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.pd-gear-card {
  min-height: 268px;
  padding: 14px 14px 16px;
}

.pd-gear-type {
  color: var(--pd-muted);
  font-size: 13px;
}

.pd-gear-visual {
  display: grid;
  place-items: center;
  height: 150px;
  margin: 12px 0 14px;
  padding: 8px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 40% 15%, rgba(255, 255, 255, 0.11), transparent 38%),
    rgba(255, 255, 255, 0.026);
  color: var(--pd-muted);
  overflow: hidden;
}

.pd-gear-visual .line-icon {
  transform: scale(1.45);
}

.pd-gear-visual em {
  margin-top: 8px;
  color: var(--pd-weak);
  font-style: normal;
  font-size: 12px;
}

.pd-gear-card strong {
  display: block;
  min-height: 42px;
  color: var(--pd-text);
  line-height: 1.35;
}

.pd-gear-card small {
  display: block;
  margin-top: 7px;
  color: var(--pd-muted);
  min-height: 16px;
}

.pd-gear-empty {
  min-height: 186px;
  padding: 28px;
  display: grid;
  place-items: center;
  text-align: center;
  gap: 10px;
  border: 1px solid var(--pd-border);
  border-radius: 18px;
  background: var(--pd-card);
}

.pd-gear-empty strong {
  color: #fff;
  font-size: 18px;
}

.pd-gear-empty p {
  max-width: 420px;
  margin: 0;
  color: var(--pd-muted);
  font-size: 13px;
  line-height: 1.6;
}

.pd-gear-empty button {
  margin-top: 6px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 70, 85, .45);
  border-radius: 10px;
  background: rgba(255, 70, 85, .1);
  color: #fff;
  cursor: pointer;
  font-weight: 760;
}

.pd-wide-button {
  width: 100%;
  min-height: 54px;
  margin-top: 14px;
  border: 1px solid var(--pd-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--pd-muted);
}

.pd-crosshair-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: stretch;
  padding: 18px;
  align-self: start;
  max-height: 900px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.pd-lower-section {
  margin-top: 42px;
}

.pd-lower-grid {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}

.pd-lower-grid > .reveal {
  opacity: 1;
  transform: none;
}

.pd-card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.pd-card-title-row h2,
.pd-game-settings-panel h2,
.pd-transfer-panel h2 {
  margin: 0;
  color: var(--pd-text);
  font-size: 22px;
  font-weight: 820;
  letter-spacing: 0;
}

.pd-card-title-row h2::before,
.pd-game-settings-panel h2::before,
.pd-transfer-panel h2::before {
  content: ">";
  margin-right: 10px;
  color: var(--pd-red);
}

.pd-card-title-row button,
.pd-crosshair-code-row button {
  min-height: 34px;
  border: 1px solid rgba(255, 70, 85, 0.34);
  border-radius: 10px;
  background: rgba(255, 70, 85, 0.09);
  color: var(--pd-text);
  padding: 0 12px;
  font-weight: 760;
}

.pd-crosshair-preview-compact {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 190px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 18px;
  background: #050608;
}

.pd-crosshair-preview-compact img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pd-crosshair-main {
  min-width: 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.022);
  padding: 18px;
}

.pd-crosshair-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pd-crosshair-main h3,
.pd-crosshair-spec-group h4 {
  margin: 0;
  color: var(--pd-text);
  font-size: 18px;
}

.pd-crosshair-title button {
  min-height: 36px;
  border: 1px solid rgba(255, 70, 85, 0.36);
  border-radius: 10px;
  background: rgba(255, 70, 85, 0.1);
  color: var(--pd-text);
  padding: 0 14px;
  font-weight: 760;
}

.pd-crosshair-preview,
.pd-minimap-preview {
  display: grid;
  place-items: center;
  height: 118px;
  margin: 18px 0;
  border-radius: 14px;
  background: #07090d;
}

.pd-crosshair-card .pd-crosshair-preview {
  height: 244px;
  margin: 16px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.075);
  background:
    radial-gradient(circle at center, rgba(255, 70, 85, 0.09), transparent 30%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    #07090d;
  background-size: auto, 34px 34px, 34px 34px, auto;
}

.vcr-carousel {
  min-width: 0;
  margin-top: 16px;
}

.vcr-stage {
  position: relative;
  height: clamp(230px, 18.8vw, 320px);
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 70, 85, 0.11), transparent 32%),
    #07090d;
}

.vcr-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.018);
  transition: opacity 0.26s ease, transform 0.5s ease;
  filter: none;
}

.vcr-image.is-active {
  opacity: 1;
  transform: scale(1);
}

.vcr-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(circle at center, transparent 0 24%, rgba(0, 0, 0, 0.04) 62%, rgba(0, 0, 0, 0.18) 100%);
}

.vcr-canvas {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.vcr-nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 3px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  background: rgba(5, 6, 8, 0.16);
  color: #fff;
  font-size: 34px;
  line-height: 1;
  transform: translateY(-50%);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  cursor: pointer;
}

.vcr-nav:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.vcr-nav.is-prev {
  left: 18px;
}

.vcr-nav.is-next {
  right: 18px;
}

.vcr-dots {
  position: absolute;
  right: 0;
  bottom: 22px;
  left: 0;
  z-index: 4;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.vcr-dots span {
  width: 13px;
  height: 13px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.vcr-dots span.is-active {
  background: #fff;
}

.pd-crosshair-code-panel {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.pd-crosshair-code-panel.pd-crosshair-code-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin-top: 0;
}

.pd-crosshair-code-panel > span {
  color: var(--pd-muted);
  font-size: 13px;
  font-weight: 760;
}

.pd-crosshair-code-panel code {
  display: block;
  max-height: 128px;
  overflow: auto;
  border: 1px solid var(--pd-line);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.24);
  color: var(--pd-text);
  padding: 14px;
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.pd-crosshair-code-row code {
  flex: 1 1 auto;
  min-width: 0;
  max-height: none;
  overflow: hidden;
  padding: 11px 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow-wrap: normal;
}

.pd-crosshair-code-row button {
  flex: 0 0 auto;
}

.pd-crosshair-favorite {
  width: 100%;
  min-height: 38px;
  border: 1px solid rgba(255, 70, 85, 0.34);
  border-radius: 12px;
  background: rgba(255, 70, 85, 0.08);
  color: var(--pd-text);
  font-weight: 760;
}

.pd-crosshair-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.pd-crosshair-actions button {
  min-height: 40px;
  border: 1px solid rgba(255, 70, 85, 0.36);
  border-radius: 12px;
  background: rgba(255, 70, 85, 0.1);
  color: var(--pd-text);
  padding: 0 15px;
  font-weight: 760;
}

.pd-crosshair-actions button:hover {
  background: rgba(255, 70, 85, 0.16);
}

.pd-crosshair-specs {
  display: grid;
  gap: 14px;
}

.pd-crosshair-spec-group {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.018);
  padding: 18px;
}

.pd-crosshair-spec-group div {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pd-crosshair-spec-group span {
  display: grid;
  gap: 6px;
  min-height: 74px;
  padding: 14px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pd-crosshair-spec-group em {
  color: var(--pd-muted);
  font-style: normal;
  font-size: 12px;
  line-height: 1.35;
}

.pd-crosshair-spec-group b {
  color: var(--pd-text);
  font-size: 17px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.pd-crosshair-code-spec code {
  display: block;
  margin-top: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.24);
  color: var(--pd-text);
  padding: 14px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.pd-crosshair-compact-specs {
  display: grid;
  gap: 10px;
}

.pd-crosshair-compact-group,
.pd-crosshair-compact-code {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.16);
}

.pd-crosshair-compact-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  cursor: pointer;
  list-style: none;
  padding: 0 14px;
}

.pd-crosshair-compact-group summary::-webkit-details-marker {
  display: none;
}

.pd-crosshair-compact-group summary span,
.pd-crosshair-compact-code h3 {
  color: var(--pd-text);
  font-size: 15px;
  font-weight: 820;
}

.pd-crosshair-compact-group summary b {
  color: var(--pd-weak);
  font-size: 12px;
  font-weight: 700;
}

.pd-crosshair-compact-group[open] summary {
  border-bottom: 1px solid rgba(255, 255, 255, 0.065);
}

.pd-crosshair-compact-group > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  padding: 6px;
}

.pd-crosshair-compact-group > div > span {
  display: grid;
  gap: 6px;
  min-height: 66px;
  padding: 10px;
  border-radius: 12px;
}

.pd-crosshair-compact-group > div > span:hover {
  background: rgba(255, 255, 255, 0.026);
}

.pd-crosshair-compact-group em,
.pd-crosshair-compact-code h3 {
  margin: 0;
  color: var(--pd-muted);
  font-style: normal;
  font-size: 12px;
}

.pd-crosshair-compact-group b {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  min-width: 0;
  color: var(--pd-text);
  font-size: 14px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.pd-color-swatch {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 5px;
  background: var(--swatch);
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.22);
}

.pd-crosshair-compact-code {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.pd-crosshair-compact-code code {
  display: block;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--pd-line);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.24);
  color: var(--pd-text);
  padding: 12px;
  font-size: 12px;
  line-height: 1.5;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.pd-game-settings-panel,
.pd-transfer-panel {
  display: grid;
  gap: 16px;
  align-self: start;
}

.pd-setting-block {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.16);
  padding: 18px;
}

.pd-setting-block h3 {
  margin: 0 0 10px;
  color: var(--pd-text);
  font-size: 16px;
  font-weight: 800;
}

.pd-setting-list {
  display: grid;
  gap: 0;
}

.pd-setting-list.is-dense {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
}

.pd-setting-row {
  display: grid;
  grid-template-columns: minmax(104px, 0.88fr) minmax(0, 1.12fr);
  gap: 14px;
  align-items: start;
  min-width: 0;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}

.pd-setting-row span {
  color: var(--pd-muted);
  font-size: 12px;
  line-height: 1.35;
}

.pd-setting-row b {
  min-width: 0;
  color: var(--pd-text);
  font-size: 13px;
  font-weight: 760;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.pd-transfer-panel .pd-transfer-timeline {
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
}

.pd-transfer-panel .pd-transfer-timeline::after {
  display: none;
}

.pd-transfer-panel .pd-transfer-node {
  width: 100%;
  min-width: 0;
  grid-template-columns: 34px 42px minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
  border-radius: 15px;
  background: rgba(0, 0, 0, 0.18);
}

.pd-transfer-panel .pd-transfer-logo {
  width: 42px;
  height: 42px;
}

.pd-transfer-panel .pd-transfer-copy strong,
.pd-transfer-panel .pd-transfer-copy span,
.pd-transfer-panel .pd-transfer-copy em {
  overflow: hidden;
  text-overflow: ellipsis;
}

.pd-minimap-preview::before {
  width: 84px;
  height: 84px;
  content: "";
  border-radius: 18px;
  background:
    linear-gradient(45deg, transparent 45%, rgba(255, 255, 255, 0.24) 46%, rgba(255, 255, 255, 0.24) 54%, transparent 55%),
    linear-gradient(-45deg, transparent 45%, rgba(255, 70, 85, 0.38) 46%, rgba(255, 70, 85, 0.38) 54%, transparent 55%),
    rgba(255, 255, 255, 0.05);
}

.pd-settings-card code {
  display: block;
  min-height: 52px;
  color: var(--pd-text);
  font-size: 12px;
  line-height: 1.55;
}

.pd-settings-card button {
  margin-top: 15px;
  padding: 0;
}

.pd-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.pd-hidden-detail {
  margin-top: 28px;
}

@keyframes pd-chart-draw {
  to { stroke-dashoffset: 0; }
}

@keyframes pd-chart-fade {
  to { opacity: 1; }
}

@keyframes pd-chart-dot {
  from {
    opacity: 0;
    transform: scale(0.55);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.pd-transfer-timeline {
  position: relative;
  display: flex;
  gap: 14px;
  padding: 22px;
  overflow-x: auto;
  border: 1px solid var(--pd-line);
  border-radius: 18px;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 70, 85, 0.09), transparent 34%),
    var(--pd-card);
}

.pd-transfer-timeline::after {
  position: absolute;
  right: 44px;
  top: 52px;
  left: 44px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, rgba(255, 70, 85, 0.5), rgba(255, 255, 255, 0.08));
}

.pd-transfer-node {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 34px 46px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 250px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.2);
}

.pd-transfer-node.is-current {
  border-color: rgba(68, 209, 122, 0.28);
  background: rgba(68, 209, 122, 0.045);
}

.pd-transfer-dot {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255, 70, 85, 0.42);
  background: #050608;
  color: var(--pd-red);
  font-size: 11px;
  font-weight: 850;
}

.pd-transfer-node strong {
  color: var(--pd-text);
  line-height: 1.25;
}

.pd-transfer-node span {
  color: var(--pd-muted);
  font-size: 12px;
}

.pd-transfer-node em {
  color: var(--pd-weak);
  font-style: normal;
  font-size: 11px;
}

.pd-transfer-logo {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
}

.pd-transfer-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.pd-empty-card,
.pd-not-found {
  display: grid;
  place-items: center;
  min-height: 140px;
  color: var(--pd-muted);
}

.pd-not-found {
  min-height: 420px;
  gap: 12px;
  text-align: center;
}

.pd-not-found strong {
  color: var(--pd-text);
  font-size: 28px;
}

.pd-not-found p {
  margin: 0;
  color: var(--pd-muted);
}

.pd-not-found button {
  min-height: 42px;
  border: 1px solid rgba(255, 70, 85, 0.42);
  border-radius: 10px;
  background: rgba(255, 70, 85, 0.08);
  color: var(--pd-text);
  padding: 0 16px;
  font-weight: 760;
}

.pd-skeleton {
  display: block;
  min-height: 84px;
  border-radius: 18px;
  background: linear-gradient(90deg, rgba(255,255,255,0.035), rgba(255,255,255,0.07), rgba(255,255,255,0.035));
  background-size: 240% 100%;
  animation: skeletonPulse 1.4s ease-in-out infinite;
}

.pd-skeleton-hero {
  min-height: 360px;
}

.pd-skeleton-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.pd-loading-text {
  color: var(--pd-muted);
}

@keyframes skeletonPulse {
  0% { background-position: 0 0; }
  100% { background-position: -240% 0; }
}

.pd-footer {
  margin-top: 24px;
  background: rgba(0, 0, 0, 0.32);
}

@media (max-width: 1180px) {
  .pd-hero {
    grid-template-columns: 280px minmax(0, 1fr);
  }

  .pd-profile-card {
    grid-column: 1 / -1;
  }

  .pd-stat-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pd-season-select {
    grid-column: 1 / -1;
  }

  .pd-agent-grid,
  .pd-settings-grid,
  .pd-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pd-crosshair-card {
    grid-template-columns: 1fr;
  }

  .pd-lower-grid {
    grid-template-columns: 1fr;
  }

  .pd-crosshair-preview-compact {
    height: 210px;
  }

  .pd-setting-list.is-dense {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pd-crosshair-spec-group div {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pd-gear-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pd-two-col {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .pd-shell {
    padding-top: 92px;
  }

  .pd-hero {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .pd-avatar-panel {
    min-height: 300px;
  }

  .pd-name-row h1 {
    font-size: 38px;
  }

  .pd-stat-strip {
    display: flex;
    overflow-x: auto;
  }

  .pd-stat-strip article {
    min-width: 132px;
  }

  .pd-season-select {
    min-width: 160px;
  }

  .pd-agent-grid,
  .pd-gear-grid,
  .pd-settings-grid,
  .pd-detail-grid {
    grid-template-columns: 1fr;
  }

  .pd-crosshair-card {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .pd-lower-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pd-crosshair-card .pd-crosshair-preview {
    height: 190px;
  }

  .pd-crosshair-preview-compact {
    height: 178px;
  }

  .vcr-stage {
    height: 210px;
  }

  .pd-crosshair-compact-group > div,
  .pd-setting-list.is-dense {
    grid-template-columns: 1fr;
  }

  .pd-setting-block {
    padding: 15px;
  }

  .pd-setting-row {
    grid-template-columns: minmax(92px, 0.85fr) minmax(0, 1.15fr);
    gap: 12px;
  }

  .pd-crosshair-spec-group div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pd-crosshair-actions button {
    flex: 1 1 140px;
  }

  .pd-agent-card {
    grid-template-columns: 74px minmax(0, 1fr) auto auto;
  }

  .pd-match-row {
    grid-template-columns: 1fr;
  }

  .pd-match-stat,
  .pd-match-date {
    justify-items: start;
    text-align: left;
  }

  .pd-summary-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pd-skeleton-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pd-chart-line,
  .pd-chart-area,
  .pd-chart-point circle,
  .pd-chart-point text {
    animation: none;
    opacity: 1;
    stroke-dashoffset: 0;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

button,
select {
  cursor: pointer;
}

.site-shell {
  min-height: 100svh;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(180px, 1fr);
  gap: 28px;
  align-items: center;
  height: 86px;
  padding: 0 clamp(22px, 4vw, 54px);
  color: oklch(0.97 0 0);
  background: linear-gradient(180deg, oklch(0.055 0.004 260 / 0.92), oklch(0.055 0.004 260 / 0.58), transparent);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  width: fit-content;
  font-weight: 780;
  letter-spacing: 0.02em;
}

.valo-mark {
  position: relative;
  width: 36px;
  height: 36px;
  background-image: url("assets/brand/favicon.png?v=20260612b");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  flex: 0 0 auto;
}

.brand .valo-mark {
  width: 126px;
  height: 50px;
  background-image: url("assets/brand/zhunjing-wordmark.png?v=20260612b");
}

.brand > .brand-copy {
  display: none;
}

.valo-mark::before,
.valo-mark::after {
  content: none;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.4vw, 34px);
}

.main-nav a {
  position: relative;
  padding: 31px 0 26px;
  color: oklch(0.82 0.01 260);
  font-size: 15px;
  transition: color 180ms ease;
}

.main-nav a.is-active,
.main-nav a:hover {
  color: var(--red);
}

.main-nav a.is-active::after {
  position: absolute;
  left: 50%;
  bottom: 14px;
  width: 42px;
  height: 2px;
  content: "";
  background: var(--red);
  transform: translateX(-50%);
}

.language-menu {
  position: relative;
  justify-self: end;
}

.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.auth-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.auth-button,
.account-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border-radius: 10px;
  padding: 0 14px;
  font-weight: 680;
  font-size: 14px;
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.auth-login,
.account-trigger {
  border: 1px solid oklch(1 0 0 / 0.14);
  background: oklch(1 0 0 / 0.055);
  color: oklch(0.94 0 0);
}

.auth-login:hover,
.account-trigger:hover {
  border-color: oklch(0.64 0.23 25 / 0.28);
  background: oklch(1 0 0 / 0.08);
}

.auth-register {
  border: 1px solid oklch(0.64 0.23 25 / 0.6);
  background: var(--red);
  color: oklch(1 0 0);
}

.auth-register:hover {
  background: oklch(0.67 0.23 25);
  box-shadow: 0 0 0 4px oklch(0.64 0.23 25 / 0.1);
}

.account-menu {
  position: relative;
}

.account-trigger {
  gap: 9px;
  padding-left: 8px;
}

.account-avatar {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(145deg, oklch(1 0 0 / 0.22), oklch(1 0 0 / 0.08));
  color: oklch(0.96 0 0);
  font-size: 12px;
  font-weight: 800;
}

.language-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: oklch(0.92 0 0);
}

.chevron {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.language-list {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  display: none;
  min-width: 136px;
  padding: 8px;
  border: 1px solid oklch(1 0 0 / 0.12);
  border-radius: 10px;
  background: oklch(0.12 0.01 260 / 0.94);
}

.account-list {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  display: grid;
  gap: 4px;
  min-width: 184px;
  padding: 8px;
  border: 1px solid oklch(1 0 0 / 0.12);
  border-radius: 12px;
  background: oklch(0.12 0.01 260 / 0.94);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.account-menu.is-open .account-list {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.language-menu.is-open .language-list {
  display: grid;
  gap: 4px;
}

.language-list button {
  min-height: 36px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: oklch(0.95 0 0);
  text-align: left;
  padding: 0 10px;
}

.account-list button {
  min-height: 38px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: oklch(0.95 0 0);
  text-align: left;
  padding: 0 10px;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.account-list button:hover {
  background: oklch(1 0 0 / 0.08);
}

.account-list .danger-item {
  color: oklch(0.76 0.18 25);
}

.language-list button:hover {
  background: oklch(1 0 0 / 0.08);
}

.hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  color: oklch(0.98 0 0);
}

.hero {
  min-height: 620px;
  padding: 142px 0 84px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 62% 12%, oklch(0.58 0.24 25 / 0.24), transparent 27rem),
    radial-gradient(circle at 82% 48%, oklch(0.58 0.24 25 / 0.18), transparent 22rem),
    linear-gradient(115deg, oklch(0.055 0.004 260) 0%, oklch(0.08 0.012 260) 52%, oklch(0.055 0.004 260) 100%);
}

.hero-bg::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.14;
  background-image:
    linear-gradient(oklch(1 0 0 / 0.16) 1px, transparent 1px),
    linear-gradient(90deg, oklch(1 0 0 / 0.16) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 70% 30%, black, transparent 64%);
}

.hero-inner,
.content-wrap,
.detail-hero-inner {
  width: min(1440px, calc(100% - 44px));
  margin: 0 auto;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(420px, 0.88fr) minmax(520px, 1.12fr);
  gap: 58px;
  align-items: center;
}

.hero-copy h1 {
  margin: 0;
  max-width: 760px;
  font-size: 64px;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.hero-copy h1 span,
.hero-copy h1 strong {
  display: inline;
}

.hero-copy h1 > span:first-child {
  display: block;
}

.hero-copy h1 strong {
  color: var(--red);
  font-weight: 850;
  white-space: nowrap;
}

.hero-copy p {
  max-width: 610px;
  margin: 24px 0 34px;
  color: var(--white-muted);
  font-size: 18px;
  line-height: 1.8;
}

.hero-search {
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(560px, 100%);
  height: 58px;
  padding: 0 18px;
  border: 1px solid oklch(1 0 0 / 0.08);
  border-radius: 14px;
  background: oklch(1 0 0 / 0.08);
}

.search-line-icon {
  position: relative;
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  border: 2px solid oklch(0.82 0 0);
  border-radius: 50%;
}

.search-line-icon::after {
  position: absolute;
  right: -7px;
  bottom: -5px;
  width: 10px;
  height: 2px;
  content: "";
  border-radius: 999px;
  background: oklch(0.82 0 0);
  transform: rotate(45deg);
}

.hero-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: oklch(0.98 0 0);
}

.hero-search input::placeholder {
  color: oklch(0.72 0.01 260);
}

.hot-searches {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 20px;
  color: oklch(0.7 0.012 260);
  font-size: 14px;
}

.hot-searches button {
  border: 0;
  background: transparent;
  color: oklch(0.78 0.012 260);
  padding: 0;
}

.hot-searches button:hover {
  color: var(--red);
}

.hero-stack {
  position: relative;
  min-height: 370px;
}

.hero-player-card {
  position: absolute;
  top: var(--top);
  left: var(--left);
  width: 190px;
  height: 315px;
  padding: 18px;
  border: 1px solid var(--dark-line);
  border-radius: 14px;
  background: linear-gradient(180deg, oklch(1 0 0 / 0.08), oklch(1 0 0 / 0.025));
  box-shadow: 0 0 12px oklch(0.58 0.24 25 / 0.2);
  transform: perspective(900px) rotateY(var(--rotate)) translateZ(0);
}

.hero-player-card:nth-child(1) {
  z-index: 4;
}

.hero-player-card:nth-child(2) {
  z-index: 3;
}

.hero-player-card:nth-child(3) {
  z-index: 2;
}

.hero-player-card:nth-child(4) {
  z-index: 1;
}

.photo-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 190px;
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% 34%, oklch(0.82 0.01 260 / 0.16), transparent 34%),
    linear-gradient(145deg, oklch(1 0 0 / 0.1), oklch(1 0 0 / 0.035));
  color: oklch(0.8 0.012 260);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.08em;
}

.photo-placeholder.large {
  width: 210px;
  min-height: 250px;
}

.hero-player-card h3 {
  margin: 18px 0 7px;
  font-size: 22px;
}

.hero-player-card p {
  margin: 0;
  color: oklch(0.78 0.012 260);
  font-size: 14px;
  line-height: 1.55;
}

.light-section,
.detail-content {
  background: var(--bg);
}

.light-section {
  padding: 46px 0 78px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 54px;
}

.stat-card,
.player-card,
.rank-card,
.equipment-card,
.detail-panel,
.detail-side,
.source-alert,
.about-strip {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 12px oklch(0.18 0.025 260 / 0.06);
}

.stat-card {
  display: flex;
  gap: 16px;
  align-items: center;
  min-height: 90px;
  padding: 18px 24px;
}

.line-icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  color: oklch(0.34 0.02 260);
}

.line-icon::before,
.line-icon::after {
  position: absolute;
  content: "";
}

.line-icon.user::before {
  top: 3px;
  width: 11px;
  height: 11px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.line-icon.user::after {
  bottom: 3px;
  width: 24px;
  height: 13px;
  border: 2px solid currentColor;
  border-radius: 14px 14px 4px 4px;
}

.line-icon.cross::before,
.line-icon.cross::after {
  background: currentColor;
}

.line-icon.cross::before {
  width: 30px;
  height: 2px;
}

.line-icon.cross::after {
  width: 2px;
  height: 30px;
}

.line-icon.monitor::before {
  width: 26px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.line-icon.monitor::after {
  bottom: 2px;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.line-icon.keyboard::before {
  width: 29px;
  height: 20px;
  border: 2px solid currentColor;
  border-radius: 4px;
}

.line-icon.mouse::before {
  width: 18px;
  height: 29px;
  border: 2px solid currentColor;
  border-radius: 12px;
}

.line-icon.mouse::after {
  top: 4px;
  width: 2px;
  height: 9px;
  background: currentColor;
}

.line-icon.headset::before {
  width: 28px;
  height: 24px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 16px 16px 0 0;
}

.line-icon.headset::after {
  bottom: 3px;
  width: 28px;
  height: 12px;
  border-left: 5px solid currentColor;
  border-right: 5px solid currentColor;
}

.stat-card strong {
  display: block;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.stat-card span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 22px;
}

.section-heading h2 {
  margin: 0;
  font-size: 26px;
  letter-spacing: -0.03em;
}

.section-heading p {
  margin: 8px 0 0;
  color: var(--muted);
}

.filter-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(150px, 1fr)) minmax(150px, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.filter-row select {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  padding: 0 14px;
}

.filter-row select:last-child {
  justify-self: end;
}

.player-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.player-card {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 20px;
  gap: 16px;
  align-items: center;
  min-height: 150px;
  padding: 20px;
  transition: transform 220ms ease, box-shadow 220ms ease, outline-color 220ms ease;
  outline: 1px solid transparent;
}

.player-card:hover {
  transform: translateY(-4px);
  outline-color: oklch(0.64 0.23 25 / 0.35);
  box-shadow: 0 10px 14px oklch(0.58 0.24 25 / 0.11);
}

.avatar-slot {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(145deg, oklch(0.92 0.005 255), oklch(0.985 0.002 255));
  color: oklch(0.55 0.018 260);
  font-size: 10px;
  font-weight: 760;
}

.player-card h3 {
  margin: 0 0 5px;
  font-size: 21px;
}

.player-card p {
  margin: 0;
  color: var(--muted);
}

.flag-line {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.mini-icons {
  display: flex;
  gap: 14px;
  grid-column: 1 / -1;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.mini-icon {
  width: 18px;
  height: 18px;
  color: oklch(0.43 0.018 260);
  transform: scale(0.72);
}

.arrow {
  color: oklch(0.48 0.025 260);
  font-size: 28px;
}

.center-action {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

.ghost-action {
  min-width: 220px;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  color: var(--ink);
}

.ranking-section,
.about-strip {
  margin-top: 62px;
}

.ranking-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.rank-card {
  padding: 20px;
}

.rank-card h3 {
  margin: 0 0 18px;
  font-size: 20px;
}

.rank-row {
  display: grid;
  grid-template-columns: 28px 44px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.rank-number {
  color: var(--muted);
  font-weight: 760;
}

.rank-image {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--surface-soft);
}

.rank-row strong {
  display: block;
  font-size: 14px;
}

.rank-row span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.progress {
  height: 4px;
  margin-top: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: oklch(0.9 0.006 255);
}

.progress i {
  display: block;
  width: var(--pct);
  height: 100%;
  border-radius: inherit;
  background: var(--red);
}

.about-strip {
  padding: 32px;
}

.about-strip p {
  max-width: 72ch;
  color: var(--muted);
  line-height: 1.7;
}

.empty-state {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 190px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  text-align: center;
}

.empty-state p {
  margin: 0;
  color: var(--muted);
}

.empty-icon {
  width: 46px;
  height: 46px;
  border: 2px solid var(--line);
  border-radius: 50%;
}

.language-menu {
  order: 1;
}

.auth-actions,
.account-menu {
  order: 2;
}

.players-library-view {
  background: #f5f5f7;
}

.simple-page-view {
  background: #f5f5f7;
}

.simple-hero {
  position: relative;
  overflow: hidden;
  min-height: 238px;
  padding: 118px 0 42px;
  background: var(--dark);
  color: oklch(0.98 0 0);
}

.simple-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 92%, oklch(0.64 0.23 25 / 0.16), transparent 24rem),
    linear-gradient(115deg, #08080a 0%, #0d0d10 56%, #111114 100%);
}

.simple-hero-inner {
  position: relative;
}

.simple-hero h1 {
  margin: 0;
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  animation: heroTextIn 0.65s var(--ease-out) 0.08s both;
}

.simple-hero p {
  max-width: 720px;
  margin: 14px 0 0;
  color: oklch(0.78 0.012 260);
  line-height: 1.75;
  animation: heroTextIn 0.65s var(--ease-out) 0.16s both;
}

.simple-content {
  min-height: 360px;
  padding: 40px 0 78px;
  background: #f5f5f7;
}

.simple-card {
  display: grid;
  place-items: center;
  min-height: 230px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 8px 12px oklch(0.18 0.025 260 / 0.055);
  text-align: center;
}

.simple-card h2 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.025em;
}

.simple-tags {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.simple-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid oklch(0.64 0.23 25 / 0.2);
  border-radius: 999px;
  background: var(--red-soft);
  color: var(--red-strong);
  font-size: 13px;
  font-weight: 720;
}

.match-data-page {
  background: var(--color-bg-light);
}

.match-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 306px;
  padding: 112px 0 0;
  background: var(--color-bg-dark);
  color: oklch(0.98 0 0);
}

.match-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-color: #050506;
  background-image:
    var(--asset-home-bg, url("/public/images/home-bg.png?v=20260612d")),
    linear-gradient(115deg, #050506 0%, #0b0b0e 58%, #111114 100%);
  background-position: top center, center;
  background-repeat: no-repeat;
  background-size: 100% auto, cover;
  filter: brightness(0.82) saturate(0.98);
  transform: translateZ(0);
  animation: heroBgIn 0.8s var(--ease-out) both;
}

.match-hero-bg::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 69% 78%, oklch(0.64 0.23 25 / 0.12), transparent 28rem),
    radial-gradient(circle at 43% 18%, oklch(1 0 0 / 0.05), transparent 20rem);
}

.match-hero-bg::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(5, 5, 6, 0.97) 0%, rgba(5, 5, 6, 0.84) 35%, rgba(5, 5, 6, 0.42) 68%, rgba(5, 5, 6, 0.2) 100%),
    linear-gradient(180deg, rgba(5, 5, 6, 0.06) 0%, rgba(5, 5, 6, 0.9) 100%);
}

.match-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(300px, 0.9fr);
  gap: 40px;
  align-items: center;
}

.match-hero-copy h1 {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 0;
  font-size: 52px;
  line-height: 1.08;
  letter-spacing: -0.035em;
  animation: heroTextIn 0.65s var(--ease-out) 0.08s both;
}

.match-hero-copy h1 i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 5px oklch(0.64 0.23 25 / 0.12);
}

.match-hero-copy p {
  max-width: 620px;
  margin: 18px 0 0;
  color: oklch(0.78 0.012 260);
  font-size: 17px;
  line-height: 1.85;
  animation: heroTextIn 0.65s var(--ease-out) 0.16s both;
}

.match-hero-visual {
  position: relative;
  min-height: 172px;
}

.match-hero-visual::before {
  position: absolute;
  right: max(0px, calc((100vw - 1440px) / -2));
  bottom: -70px;
  width: min(560px, 52vw);
  height: 120px;
  content: "";
  border-radius: 50%;
  background: radial-gradient(ellipse at center, oklch(0.64 0.23 25 / 0.16), transparent 66%);
  filter: blur(14px);
}

.match-tabs {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 58px;
  margin-top: 20px;
  padding: 0 18px;
  border: 1px solid oklch(1 0 0 / 0.12);
  border-radius: 16px 16px 0 0;
  background: oklch(1 0 0 / 0.08);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 12px oklch(0 0 0 / 0.12);
}

.match-tabs button {
  position: relative;
  align-self: stretch;
  min-width: 116px;
  border: 0;
  background: transparent;
  color: oklch(0.78 0.012 260);
  font-weight: 720;
  transition: color var(--transition-fast);
}

.match-tabs button:hover,
.match-tabs button.is-active {
  color: oklch(0.98 0 0);
}

.match-tabs button.is-active::after {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 0;
  height: 2px;
  content: "";
  background: var(--red);
}

.match-content {
  padding: 34px 0 72px;
  background: var(--color-bg-light);
}

.match-tab-context {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-height: 34px;
  margin-bottom: 18px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 13px;
}

.match-tab-context strong {
  color: var(--red-strong);
}

.match-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(340px, 0.38fr);
  gap: 24px;
  align-items: start;
}

.match-main,
.match-aside {
  display: grid;
  gap: 22px;
}

.match-card,
.match-stat-card {
  border: 1px solid oklch(0 0 0 / 0.06);
  border-radius: 22px;
  background: var(--color-card);
  box-shadow: var(--shadow-soft);
}

.match-card {
  padding: 24px;
}

.live-match-card {
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.live-match-card:hover {
  border-color: oklch(0.64 0.23 25 / 0.25);
  box-shadow: 0 10px 14px oklch(0.18 0.025 260 / 0.075);
  transform: translateY(-4px);
}

.match-card-head,
.match-card-title {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
}

.live-meta {
  display: flex;
  gap: 14px;
  align-items: center;
  color: var(--muted);
}

.live-meta strong {
  color: var(--ink);
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--red);
  color: oklch(1 0 0);
  font-size: 12px;
  font-weight: 820;
}

.live-pill::before {
  width: 6px;
  height: 6px;
  content: "";
  border-radius: 50%;
  background: currentColor;
}

.live-score-board {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 22px;
  align-items: center;
  padding: 18px 0 22px;
}

.live-team {
  display: grid;
  justify-items: center;
  gap: 7px;
}

.live-team strong {
  font-size: 22px;
  letter-spacing: -0.02em;
}

.live-team span:not(.match-team-badge) {
  color: var(--muted);
  font-size: 13px;
}

.match-team-badge {
  display: inline-grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: linear-gradient(145deg, oklch(0.92 0.005 255), oklch(0.985 0.002 255));
  color: var(--ink);
  font-size: 20px;
  font-weight: 840;
  letter-spacing: -0.04em;
}

.match-team-badge.small {
  width: 28px;
  height: 28px;
  font-size: 10px;
  letter-spacing: 0;
}

.match-team-badge.has-logo {
  background: #fff;
  overflow: hidden;
}

.match-team-badge.has-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14%;
  box-sizing: border-box;
}

.match-team-badge.small.has-logo img {
  padding: 10%;
}

.live-score {
  display: grid;
  justify-items: center;
  min-width: 170px;
}

.live-score strong {
  font-size: 44px;
  letter-spacing: -0.04em;
}

.live-score span {
  margin-top: 6px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--red-soft);
  color: var(--red-strong);
  font-size: 13px;
  font-weight: 760;
}

.live-score em {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.map-score-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.map-score-card {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 78px;
  overflow: hidden;
  border-radius: 13px;
  background:
    radial-gradient(circle at 50% 20%, oklch(1 0 0 / 0.38), transparent 52%),
    oklch(0.94 0.004 255);
}

.map-score-card.is-current::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  content: "";
  background: var(--red);
}

.map-score-card strong {
  font-size: 23px;
  letter-spacing: -0.02em;
}

.map-score-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 680;
}

.match-card-title h2 {
  margin: 0;
  font-size: 21px;
  letter-spacing: -0.025em;
}

.match-card-title button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.match-card-title button:hover {
  color: var(--red);
  transform: translateX(2px);
}

.upcoming-list,
.recent-list,
.ranking-table {
  display: grid;
}

.match-state-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  font-weight: 680;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.055);
}

.match-state-notice.is-cache {
  border-color: oklch(0.86 0.055 80);
  background: oklch(0.98 0.018 80);
  color: oklch(0.42 0.055 80);
}

.match-state-notice.is-empty {
  border-color: oklch(0.9 0.012 255);
}

.match-state-notice button,
.match-state-card button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 760;
  padding: 8px 12px;
  transition: border-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.match-state-notice button:hover,
.match-state-card button:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-1px);
}

.match-state-card {
  display: grid;
  min-height: 180px;
  place-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 720;
  text-align: center;
}

.match-empty-row {
  margin: 0;
  padding: 18px 4px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  font-weight: 680;
}

.safe-image {
  display: inline-grid;
  place-items: center;
  overflow: hidden;
  flex: 0 0 auto;
  background: #fff;
  color: var(--ink);
  font-weight: 820;
  line-height: 1;
}

.safe-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 12%;
  box-sizing: border-box;
}

.safe-image.is-fallback {
  background: linear-gradient(150deg, oklch(0.98 0 0), oklch(0.94 0.005 260));
  border: 1px solid var(--line);
}

.team-pending {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  color: var(--muted);
  font-weight: 760;
}

.match-stat-skeleton {
  color: var(--muted);
}

.match-stat-skeleton > span {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: oklch(0.92 0.004 255);
}

.live-match-card.is-clickable {
  cursor: pointer;
}

.match-detail-page {
  background: var(--color-bg-light);
}

.match-detail-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 86px 0 18px;
  background: #070709;
  color: #fff;
}

.match-detail-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(4, 4, 6, 0.2), rgba(4, 4, 6, 0.94)),
    linear-gradient(90deg, rgba(4, 4, 6, 0.96), rgba(4, 4, 6, 0.58)),
    var(--asset-event-hero-bg, url("assets/images/event-hero-bg.webp")) center right / cover no-repeat;
  filter: brightness(0.78) saturate(1.02);
}

.match-detail-hero-inner {
  display: grid;
  gap: 14px;
}

.match-breadcrumb {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.match-breadcrumb button,
.team-logo-link,
.team-name-link,
.match-player-link {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  padding: 0;
}

.match-breadcrumb button:hover,
.team-name-link:hover,
.match-player-link:hover {
  color: var(--red);
}

.match-detail-cache {
  width: fit-content;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 720;
  backdrop-filter: blur(16px);
}

.match-head-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.045));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(18px);
}

.match-head-meta {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.match-head-meta div {
  display: grid;
  gap: 5px;
}

.match-head-meta strong {
  font-size: 20px;
}

.match-head-meta span,
.match-head-meta time {
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
}

.match-head-vs {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, auto) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 26px 34px 28px;
}

.match-head-team {
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
}

.match-head-team .match-team-badge {
  width: 98px;
  height: 98px;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.24);
}

.team-logo-link {
  cursor: pointer;
}

.team-name-link {
  cursor: pointer;
  color: #fff;
  font-weight: 820;
  font-size: 20px;
}

.match-head-team > span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
  font-weight: 760;
}

.match-head-score {
  display: grid;
  justify-items: center;
  gap: 8px;
  min-width: 170px;
}

.match-head-score span,
.match-head-score em {
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-style: normal;
  font-weight: 760;
}

.match-head-score strong {
  font-size: 48px;
  letter-spacing: -0.02em;
}

.veto-strip {
  display: flex;
  gap: 0;
  overflow-x: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.055);
}

.veto-strip span {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  white-space: nowrap;
  font-size: 13px;
}

.veto-strip b {
  color: rgba(255, 255, 255, 0.92);
}

.veto-strip em {
  color: rgba(255, 255, 255, 0.54);
  font-style: normal;
}

.match-detail-content {
  padding: 26px 0 72px;
  background: var(--color-bg-light);
}

.match-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(300px, 0.3fr);
  gap: 24px;
  align-items: start;
}

.match-detail-main,
.match-detail-side {
  display: grid;
  gap: 18px;
}

.detail-tabs,
.detail-filter-row,
.map-filter,
.side-filter {
  display: flex;
  gap: 10px;
  align-items: center;
}

.detail-tabs {
  overflow-x: auto;
  min-height: 48px;
  border-bottom: 1px solid var(--line);
}

.detail-tabs button {
  position: relative;
  min-width: 96px;
  min-height: 48px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 780;
}

.detail-tabs button small {
  margin-left: 6px;
  padding: 2px 6px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 11px;
}

.detail-tabs button.is-active {
  color: var(--red);
}

.detail-tabs button.is-active::after {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: -1px;
  height: 2px;
  content: "";
  background: var(--red);
}

.detail-filter-row {
  justify-content: space-between;
  flex-wrap: wrap;
}

.map-filter,
.side-filter {
  overflow-x: auto;
  padding-bottom: 2px;
}

.map-filter button,
.side-filter button,
.empty-detail-card button,
.source-link,
.side-card-title button {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  padding: 0 14px;
  font-size: 13px;
  font-weight: 760;
  white-space: nowrap;
}

.map-filter button.is-active,
.side-filter button.is-active {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

.match-detail-card {
  border: 1px solid oklch(0 0 0 / 0.06);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.player-stats-card {
  overflow: hidden;
}

.team-table-title {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 18px 20px 12px;
}

.team-table-title i {
  width: 3px;
  height: 28px;
  border-radius: 999px;
  background: var(--red);
}

.team-table-title strong {
  font-size: 17px;
}

.match-table-scroll {
  overflow-x: auto;
}

.match-player-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  font-size: 13px;
}

.match-player-table th,
.match-player-table td {
  padding: 12px 12px;
  border-top: 1px solid var(--line);
  text-align: center;
  white-space: nowrap;
}

.match-player-table th {
  background: oklch(0.975 0.003 255);
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.match-player-table tbody tr:hover {
  background: oklch(0.985 0.002 255);
}

.match-player-table .player-cell {
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 150px;
  text-align: left;
}

.country-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 20px;
  overflow: hidden;
  border-radius: 4px;
  background: oklch(0.16 0.01 260);
  color: var(--ink);
  font-size: 0;
  font-weight: 820;
}

.country-flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.country-flag.is-placeholder {
  color: var(--muted);
  font-size: 0;
}

.match-sort-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.match-sort-button.is-active {
  color: var(--red);
}

.match-sort-button span {
  width: 10px;
  color: inherit;
}

.match-player-link {
  cursor: pointer;
  color: var(--ink);
  font-weight: 780;
}

.agent-list {
  display: inline-flex;
  gap: 5px;
  align-items: center;
}

.agent-chip {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  overflow: hidden;
  border-radius: 9px;
  background: #101115;
  color: #fff;
  font-size: 10px;
  font-weight: 820;
}

.agent-chip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.agent-chip.is-fallback {
  background: oklch(0.17 0.015 260);
}

.is-positive {
  color: oklch(0.58 0.15 150);
}

.is-negative {
  color: var(--red);
}

.is-zero {
  color: var(--muted);
}

.match-detail-side .match-detail-card {
  padding: 18px;
}

.match-detail-card h3,
.side-card-title h3 {
  margin: 0 0 14px;
  font-size: 18px;
}

.side-map-list,
.other-match-list,
.match-info-list {
  display: grid;
}

.side-map-row {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 42px;
  border-top: 1px solid var(--line);
}

.side-map-row:first-child {
  border-top: 0;
}

.side-map-row span {
  color: var(--muted);
}

.side-map-row em {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--ink);
  font-style: normal;
  font-weight: 780;
}

.match-info-list {
  gap: 10px;
  margin: 0;
}

.match-info-list div {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px;
}

.match-info-list dt {
  color: var(--muted);
}

.match-info-list dd {
  margin: 0;
  color: var(--ink);
  font-weight: 680;
  word-break: break-word;
}

.source-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 16px;
  text-decoration: none;
}

.side-card-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.side-card-title button {
  min-height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
}

.other-match-list button {
  display: grid;
  gap: 4px;
  width: 100%;
  min-height: 58px;
  padding: 10px 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  text-align: left;
}

.other-match-list span,
.other-match-list b {
  color: var(--muted);
  font-size: 12px;
  font-weight: 680;
}

.other-match-list em {
  color: var(--muted);
  font-style: normal;
}

.empty-detail-card,
.match-detail-loading {
  display: grid;
  place-items: center;
  min-height: 240px;
  padding: 30px;
  text-align: center;
}

.empty-detail-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.team-placeholder-card {
  display: flex;
  gap: 18px;
  align-items: center;
  max-width: 680px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.team-placeholder-card h2 {
  margin: 4px 0;
  font-size: 28px;
}

.team-placeholder-card p {
  margin: 0 0 12px;
  color: var(--muted);
}

.team-placeholder-card span,
.team-placeholder-card strong {
  color: var(--red);
  font-size: 13px;
  font-weight: 780;
}

.upcoming-row,
.recent-row,
.ranking-row {
  width: 100%;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  text-align: left;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.upcoming-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) minmax(180px, auto);
  gap: 14px;
  align-items: center;
  min-height: 70px;
  padding: 12px 4px;
}

.upcoming-row:hover,
.recent-row:hover,
.ranking-row:hover {
  background: oklch(0.97 0.003 255);
}

.upcoming-row:hover strong,
.recent-row:hover .result-team,
.ranking-row:hover strong {
  color: var(--red);
}

.upcoming-row time {
  color: var(--ink);
  font-weight: 680;
}

.upcoming-event {
  color: var(--muted);
  font-size: 13px;
}

.upcoming-teams {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  align-items: center;
}

.upcoming-teams em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.recent-row {
  display: grid;
  grid-template-columns: 78px minmax(150px, 1fr) minmax(82px, auto) 74px minmax(82px, auto);
  gap: 14px;
  align-items: center;
  min-height: 66px;
  padding: 12px 4px;
}

.result-status,
.result-event em {
  color: var(--muted);
  font-size: 13px;
}

.result-event strong,
.result-event em {
  display: block;
}

.result-event strong {
  font-size: 13px;
}

.result-team {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-weight: 740;
}

.result-score {
  font-size: 20px;
  text-align: center;
}

.ranking-head,
.ranking-row {
  display: grid;
  grid-template-columns: 48px minmax(72px, 1fr) 78px 58px 96px;
  gap: 10px;
  align-items: center;
}

.ranking-head {
  padding: 0 4px 12px;
  color: var(--muted);
  font-size: 12px;
}

.ranking-row {
  min-height: 52px;
  padding: 10px 4px;
}

.ranking-row strong {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.form-dots {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.form-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: oklch(0.76 0.006 255);
}

.form-dots i.win {
  background: oklch(0.63 0.14 155);
}

.form-dots i.loss {
  background: oklch(0.82 0.06 25);
}

.event-note {
  margin: 0 4px 6px;
  color: var(--muted);
  font-size: 13px;
}

.event-count {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.event-list {
  display: flex;
  flex-direction: column;
}

.event-row {
  display: grid;
  grid-template-columns: 92px 40px minmax(160px, 1fr) minmax(72px, auto) minmax(96px, auto);
  gap: 14px;
  align-items: center;
  min-height: 66px;
  padding: 12px 4px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.event-logo {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
}

.event-logo.small {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.event-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 5px;
  box-sizing: border-box;
}

.event-logo.is-empty {
  background: oklch(0.97 0.003 255);
}

.event-row:hover {
  background: oklch(0.97 0.003 255);
}

.event-row:hover .event-name strong {
  color: var(--red);
}

.event-status {
  justify-self: start;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
  background: oklch(0.94 0.004 255);
  color: var(--muted);
}

.event-status.is-ongoing {
  background: oklch(0.93 0.05 155);
  color: oklch(0.42 0.12 155);
}

.event-status.is-upcoming {
  background: oklch(0.93 0.04 255);
  color: oklch(0.45 0.12 262);
}

.event-name strong,
.event-name em {
  display: block;
}

.event-name strong {
  font-size: 14px;
  font-weight: 720;
}

.event-name em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.event-region {
  color: var(--muted);
  font-size: 13px;
}

.event-prize {
  justify-self: end;
  font-weight: 680;
  font-size: 13px;
}

.event-empty {
  padding: 28px 4px;
  color: var(--muted);
  text-align: center;
}

.match-stats-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid oklch(0 0 0 / 0.06);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.match-stat-card {
  display: flex;
  gap: 16px;
  align-items: center;
  min-height: 98px;
  padding: 20px 26px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.match-stat-card + .match-stat-card {
  border-left: 1px solid var(--line);
}

.match-stat-card strong {
  display: block;
  font-size: 28px;
  letter-spacing: -0.035em;
}

.match-stat-card small {
  margin-left: 4px;
  font-size: 14px;
  font-weight: 650;
}

.match-stat-card span:not(.match-stat-icon) {
  color: var(--muted);
  font-size: 13px;
}

.match-stat-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--ink);
}

.match-stat-icon::before,
.match-stat-icon::after {
  position: absolute;
  content: "";
}

.match-stat-icon.calendar::before {
  width: 28px;
  height: 24px;
  border: 2px solid currentColor;
  border-radius: 6px;
}

.match-stat-icon.calendar::after {
  top: 8px;
  width: 20px;
  height: 2px;
  background: currentColor;
}

.match-stat-icon.chart::before {
  bottom: 6px;
  width: 4px;
  height: 12px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: -9px 5px 0 currentColor, 9px -8px 0 currentColor;
}

.match-stat-icon.trophy::before {
  width: 22px;
  height: 22px;
  border: 2px solid currentColor;
  border-radius: 4px 4px 12px 12px;
}

.match-stat-icon.trophy::after {
  bottom: 3px;
  width: 22px;
  height: 2px;
  background: currentColor;
}

.match-stat-icon.globe::before {
  width: 30px;
  height: 30px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.match-stat-icon.globe::after {
  width: 2px;
  height: 28px;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 0 999px transparent;
}

/* ===== 赛事 Hero source line ===== */
.match-hero-source {
  display: inline-block;
  margin-top: 14px;
  color: oklch(0.7 0.012 260);
  font-size: 13px;
  letter-spacing: 0.01em;
}

/* ===== 战队页 /teams ===== */
.teams-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-bottom: 22px;
}

.teams-search {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 1 1 280px;
  min-width: 220px;
  max-width: 360px;
  height: 44px;
  padding: 0 12px 0 38px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.teams-search:focus-within {
  border-color: oklch(0.64 0.23 25 / 0.4);
  box-shadow: 0 0 0 4px oklch(0.64 0.23 25 / 0.08);
}

.teams-search input {
  flex: 1;
  height: 100%;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  outline: none;
}

.teams-search-icon {
  position: absolute;
  left: 13px;
  width: 15px;
  height: 15px;
  border: 2px solid var(--muted);
  border-radius: 50%;
}

.teams-search-icon::after {
  position: absolute;
  right: -5px;
  bottom: -4px;
  width: 7px;
  height: 2px;
  content: "";
  background: var(--muted);
  border-radius: 2px;
  transform: rotate(45deg);
}

.teams-search kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  font-size: 12px;
  font-family: var(--font);
}

.teams-region-seg {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.teams-region-seg button {
  min-width: 56px;
  height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  font-weight: 640;
  font-size: 13px;
  cursor: pointer;
  transition: color var(--transition-fast), background var(--transition-fast);
}

.teams-region-seg button:hover {
  color: var(--ink);
}

.teams-region-seg button.is-active {
  background: var(--red);
  color: oklch(0.99 0 0);
  box-shadow: 0 4px 10px oklch(0.64 0.23 25 / 0.28);
}

.teams-sort {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-left: auto;
  height: 44px;
  padding: 0 12px 0 34px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.teams-sort-icon {
  position: absolute;
  left: 13px;
  width: 13px;
  height: 13px;
}

.teams-sort-icon::before,
.teams-sort-icon::after {
  position: absolute;
  left: 0;
  content: "";
  background: var(--red);
  border-radius: 2px;
}

.teams-sort-icon::before { top: 2px; width: 13px; height: 2px; }
.teams-sort-icon::after { top: 8px; width: 8px; height: 2px; }

.teams-sort select {
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  outline: none;
}

.teams-layout {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.teams-side {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 92px;
}

.teams-side-card {
  padding: 18px;
  border: 1px solid oklch(0 0 0 / 0.06);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.teams-side-card h3 {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--ink);
}

.teams-side-list {
  display: grid;
  gap: 4px;
}

.teams-side-row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.teams-side-row:hover { background: var(--surface-soft); }

.teams-side-row.is-active {
  background: var(--red-soft);
}

.teams-side-row.is-active .teams-side-name { color: var(--red-strong); font-weight: 700; }

.teams-side-dot {
  width: 16px;
  height: 16px;
  border-radius: 5px;
  background: var(--muted);
  flex: 0 0 auto;
}

.teams-side-dot.region-all { background: var(--red); }
.teams-side-dot.region-CN { background: oklch(0.62 0.2 25); }
.teams-side-dot.region-Pacific { background: oklch(0.6 0.13 230); }
.teams-side-dot.region-EMEA { background: oklch(0.62 0.14 155); }
.teams-side-dot.region-Americas { background: oklch(0.68 0.14 75); }

.teams-side-name {
  flex: 1;
  text-align: left;
  font-size: 13.5px;
  color: var(--ink);
}

.teams-side-count {
  color: var(--muted);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.teams-overview {
  display: grid;
  gap: 10px;
}

.teams-overview-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  color: var(--muted);
}

.teams-overview-row b {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.teams-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.team-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 18px 18px;
  border: 1px solid oklch(0 0 0 / 0.06);
  border-radius: 20px;
  background: var(--color-card);
  box-shadow: var(--shadow-soft);
  text-align: center;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.team-card:hover {
  transform: translateY(-4px);
  border-color: oklch(0.64 0.23 25 / 0.3);
  box-shadow: 0 14px 22px oklch(0.18 0.025 260 / 0.1);
}

.team-card-rank {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 8px;
  background: var(--red);
  color: oklch(0.99 0 0);
  font-size: 13px;
  font-weight: 760;
  font-variant-numeric: tabular-nums;
}

.team-card:not(:hover) .team-card-rank {
  background: oklch(0.94 0.006 260);
  color: var(--muted);
}

.team-card:first-child .team-card-rank,
.team-card .team-card-rank.is-top {
  background: var(--red);
  color: oklch(0.99 0 0);
}

.team-card-fire {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 14px;
  height: 16px;
  background: radial-gradient(circle at 50% 70%, oklch(0.78 0.18 60), var(--red) 70%);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  clip-path: polygon(50% 0, 80% 35%, 100% 70%, 80% 100%, 20% 100%, 0 70%, 25% 40%);
}

.team-card-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  margin-bottom: 12px;
}

.team-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(150deg, oklch(0.99 0 0), oklch(0.96 0.004 260));
  color: var(--ink);
  font-weight: 820;
  font-size: 16px;
  letter-spacing: 0.02em;
}

.team-card-name {
  margin: 0 0 8px;
  font-size: 16px;
  color: var(--ink);
}

.team-card-region {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 640;
}

.team-card-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  width: 100%;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.team-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.team-stat span:first-child {
  color: var(--muted);
  font-size: 11px;
}

.team-stat b {
  color: var(--ink);
  font-size: 14px;
  font-weight: 720;
  font-variant-numeric: tabular-nums;
}

.team-stat b.is-heat { color: var(--red-strong); }

.team-roster {
  display: inline-flex;
  gap: 6px;
  margin: 16px 0;
}

.team-roster-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(150deg, oklch(0.9 0.01 260), oklch(0.82 0.012 260));
  border: 2px solid var(--surface);
  box-shadow: 0 1px 2px oklch(0 0 0 / 0.08);
}

.team-card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  height: 38px;
  border: 0;
  border-radius: 11px;
  background: var(--red-soft);
  color: var(--red-strong);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.team-card-cta:hover { background: oklch(0.92 0.04 25); }

.team-cta-arrow {
  transition: transform var(--transition-fast);
}

.team-card:hover .team-cta-arrow { transform: translateX(4px); }

.team-detail-page {
  background: var(--color-bg-light);
}

.team-placeholder-card {
  display: block;
}

.team-detail-shell {
  display: grid;
  gap: 18px;
}

.team-detail-profile {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 24px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.team-detail-logo {
  width: 112px;
  height: 112px;
  border-radius: 22px;
}

.team-detail-profile span {
  color: var(--red);
  font-size: 13px;
  font-weight: 820;
}

.team-detail-profile h2 {
  margin: 6px 0;
  color: var(--ink);
  font-size: 30px;
  letter-spacing: -0.02em;
}

.team-detail-profile p,
.team-detail-profile em {
  display: block;
  margin: 0 0 8px;
  color: var(--muted);
  font-style: normal;
}

.team-detail-profile a {
  color: var(--ink);
  font-weight: 760;
}

.team-detail-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.team-detail-tabs button {
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font-weight: 760;
  white-space: nowrap;
}

.team-detail-tabs button.is-active {
  background: var(--red);
  color: #fff;
}

.team-detail-body {
  display: grid;
  gap: 18px;
}

.team-detail-card {
  padding: 22px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.team-detail-card h3 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 18px;
}

.team-roster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.team-roster-card {
  display: grid;
  justify-items: start;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-soft);
  color: var(--ink);
  text-align: left;
}

.team-player-avatar {
  width: 54px;
  height: 54px;
  border-radius: 14px;
}

.team-roster-card span,
.team-staff-list span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.team-roster-card em,
.team-staff-list em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.team-staff-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.team-staff-list span {
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--surface-soft);
}

.team-match-list,
.team-news-list {
  display: grid;
}

.team-match-row {
  display: grid;
  grid-template-columns: 30px minmax(180px, 1fr) minmax(120px, 0.8fr) 72px 48px 120px;
  gap: 12px;
  align-items: center;
  min-height: 62px;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  text-align: left;
}

.team-match-row:first-child,
.team-news-list a:first-child {
  border-top: 0;
}

.team-match-row span,
.team-match-row b {
  min-width: 0;
}

.team-match-row strong,
.team-match-row b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.team-match-row em,
.team-match-row time {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.team-match-row i {
  color: var(--muted);
  font-style: normal;
  font-weight: 820;
}

.team-match-row i.is-win { color: oklch(0.58 0.15 150); }
.team-match-row i.is-loss { color: var(--red); }

.team-news-list a {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr) 80px;
  gap: 14px;
  align-items: center;
  min-height: 54px;
  border-top: 1px solid var(--line);
  color: var(--ink);
}

.team-news-list time,
.team-news-list em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.team-detail-loading {
  display: grid;
  gap: 12px;
  min-height: 180px;
  place-items: center;
  color: var(--muted);
  font-weight: 760;
}

@media (max-width: 760px) {
  .team-detail-profile {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .team-match-row,
  .team-news-list a {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 14px 0;
  }
}

.teams-empty {
  grid-column: 1 / -1;
  padding: 60px 0;
  text-align: center;
  color: var(--muted);
}

/* ===== 分页 ===== */
.teams-pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 30px;
}

.pager-num,
.pager-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 640;
  font-size: 14px;
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.pager-num:hover,
.pager-arrow:not([disabled]):hover {
  border-color: oklch(0.64 0.23 25 / 0.3);
  color: var(--red-strong);
}

.pager-num.is-active {
  background: var(--red);
  border-color: var(--red);
  color: oklch(0.99 0 0);
}

.pager-arrow[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
}

.pager-gap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 38px;
  color: var(--muted);
}

/* ===== 雷达图占位 ===== */
.radar-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 64px 24px;
  text-align: center;
}

.radar-placeholder-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 6px;
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 38%, oklch(0.64 0.23 25 / 0.12) 39%, transparent 40%),
    conic-gradient(from 0deg, oklch(0.64 0.23 25 / 0.18), oklch(0.64 0.23 25 / 0.04), oklch(0.64 0.23 25 / 0.18));
  border: 1px solid oklch(0.64 0.23 25 / 0.2);
}

.radar-placeholder p {
  margin: 0;
  color: var(--muted);
}

/* ===== 战队页响应式 ===== */
@media (max-width: 1080px) {
  .teams-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .teams-layout { grid-template-columns: 1fr; }
  .teams-side {
    position: static;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .teams-toolbar { gap: 10px; }
  .teams-search { max-width: none; flex-basis: 100%; }
  .teams-region-seg {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  .teams-sort { margin-left: 0; width: 100%; }
  .teams-sort select { width: 100%; }
  .teams-side { grid-template-columns: 1fr; }
  .teams-grid { grid-template-columns: 1fr; }
  .match-tabs { width: 100%; overflow-x: auto; }
}

.library-hero {
  position: relative;
  overflow: hidden;
  min-height: 248px;
  padding: 112px 0 34px;
  background: var(--dark);
  color: oklch(0.98 0 0);
}

.library-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-color: #050506;
  background-image:
    var(--asset-player-hero-bg, url("assets/images/player-hero-bg.webp")),
    linear-gradient(115deg, #08080a 0%, #0c0c0f 54%, #111114 100%);
  background-position: center right, center;
  background-repeat: no-repeat;
  background-size: cover, cover;
  filter: brightness(0.84) saturate(0.98);
  transform: translateZ(0);
  animation: heroBgIn 0.8s var(--ease-out) both;
}

.library-hero-bg::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(5, 5, 6, 0.98) 0%, rgba(5, 5, 6, 0.9) 34%, rgba(5, 5, 6, 0.48) 64%, rgba(5, 5, 6, 0.22) 100%),
    linear-gradient(180deg, rgba(5, 5, 6, 0.08) 0%, rgba(5, 5, 6, 0.72) 100%);
}

.library-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(420px, 0.9fr) minmax(340px, 0.7fr);
  gap: 48px;
  align-items: center;
}

.library-hero-copy h1 {
  margin: 0;
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
  animation: heroTextIn 0.65s var(--ease-out) 0.08s both;
}

.library-hero-copy p {
  max-width: 620px;
  margin: 14px 0 20px;
  color: oklch(0.78 0.012 260);
  line-height: 1.75;
  animation: heroTextIn 0.65s var(--ease-out) 0.16s both;
}

.library-search {
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(520px, 100%);
  height: 56px;
  padding: 0 18px;
  border: 1px solid oklch(1 0 0 / 0.12);
  border-radius: 16px;
  background: oklch(1 0 0 / 0.075);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  animation: heroTextIn 0.6s var(--ease-out) 0.24s both;
}

.library-search:focus-within {
  border-color: oklch(0.64 0.23 25 / 0.45);
  background: oklch(1 0 0 / 0.1);
  box-shadow: 0 0 0 4px oklch(0.64 0.23 25 / 0.08);
}

.library-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: oklch(0.98 0 0);
}

.library-search input::placeholder {
  color: oklch(0.72 0.01 260);
}

.library-summary {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  max-width: 560px;
  min-height: 70px;
  padding: 0 24px;
  border: 1px solid oklch(1 0 0 / 0.14);
  border-radius: 20px;
  background: oklch(1 0 0 / 0.08);
  box-shadow: 0 8px 16px oklch(0 0 0 / 0.16);
  backdrop-filter: blur(16px);
  animation: heroTextIn 0.6s var(--ease-out) 0.3s both;
}

.library-summary strong {
  font-size: 16px;
  line-height: 1.5;
}

.library-summary .line-icon {
  color: oklch(0.96 0 0);
}

.library-content {
  padding: 26px 0 72px;
  background: #f5f5f7;
}

.library-tabs {
  position: relative;
  display: inline-flex;
  gap: 30px;
  min-height: 52px;
  margin-bottom: 20px;
  padding: 0 4px;
  border-bottom: 1px solid var(--line);
}

.library-tabs button,
.library-rank-tabs button {
  position: relative;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 680;
  transition: color var(--transition-fast);
}

.library-tabs button {
  padding: 0 20px 12px;
}

.library-tabs button:hover,
.library-tabs button.is-active,
.library-rank-tabs button:hover,
.library-rank-tabs button.is-active {
  color: var(--red);
}

.library-tabs button.is-active::after,
.library-rank-tabs button.is-active::after {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: -1px;
  height: 2px;
  content: "";
  background: var(--red);
}

.library-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}

.library-select {
  position: relative;
}

.library-select::after {
  position: absolute;
  top: 50%;
  right: 14px;
  width: 8px;
  height: 8px;
  content: "";
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  color: var(--muted);
  pointer-events: none;
  transform: translateY(-70%) rotate(45deg);
}

.library-select select {
  min-width: 142px;
  min-height: 44px;
  appearance: none;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  color: var(--ink);
  padding: 0 38px 0 16px;
  box-shadow: 0 4px 8px oklch(0.18 0.025 260 / 0.035);
  transition: border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
}

.library-select select:hover,
.library-select select:focus {
  border-color: oklch(0.64 0.23 25 / 0.25);
  background: oklch(1 0 0);
  box-shadow: 0 5px 10px oklch(0.18 0.025 260 / 0.05);
}

.library-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 0.28fr);
  gap: 26px;
  align-items: start;
}

.library-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.library-card {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 18px;
  min-height: 148px;
  padding: 18px;
  border: 1px solid oklch(0.88 0.007 255);
  border-radius: 20px;
  background: var(--surface);
  color: var(--ink);
  text-align: left;
  box-shadow: 0 7px 12px oklch(0.18 0.025 260 / 0.05);
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.library-card:hover {
  border-color: oklch(0.64 0.23 25 / 0.25);
  box-shadow: 0 10px 14px oklch(0.18 0.025 260 / 0.07);
  transform: translateY(-4px);
}

.library-avatar,
.library-rank-avatar {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, oklch(0.92 0.005 255), oklch(0.985 0.002 255));
  color: oklch(0.48 0.018 260);
  transition: background var(--transition-fast), filter var(--transition-fast);
}

.avatar-shell {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.avatar-shell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-radius: inherit;
}

.avatar-shell.is-fallback {
  background: linear-gradient(145deg, oklch(0.95 0.004 255), oklch(0.985 0.002 255));
}

.player-avatar-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: oklch(0.7 0.01 255);
}

.player-avatar-fallback svg {
  width: 52%;
  height: 52%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.avatar-shell.is-fallback:empty::before {
  content: "";
  width: 46%;
  height: 46%;
  border: 2px solid currentColor;
  border-radius: 50%;
  opacity: 0.55;
}

.library-avatar {
  width: 82px;
  height: 82px;
  align-self: start;
}

.library-avatar small,
.library-rank-avatar small {
  margin-top: -8px;
  font-size: 9px;
  color: var(--muted);
}

.library-card:hover .library-avatar {
  background: linear-gradient(145deg, oklch(0.95 0.005 255), oklch(1 0 0));
}

.library-card-body {
  min-width: 0;
}

.library-card-head {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 6px;
}

.library-card-head strong {
  font-size: 19px;
  letter-spacing: -0.02em;
}

.type-badge {
  padding: 3px 7px;
  border-radius: 999px;
  background: var(--red-soft);
  color: var(--red-strong);
  font-size: 12px;
  font-style: normal;
  font-weight: 720;
}

.type-badge.streamer {
  background: oklch(0.95 0.025 295);
  color: oklch(0.45 0.13 295);
}

.type-badge.retired {
  background: oklch(0.93 0.004 260);
  color: oklch(0.45 0.01 260);
}

.library-team,
.library-meta {
  display: block;
  color: var(--muted);
  line-height: 1.55;
}

.library-card-foot {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
  color: oklch(0.26 0.02 260);
  font-size: 14px;
}

.rating-mini b {
  color: var(--red);
}

.library-arrow {
  margin-left: auto;
  color: var(--ink);
  font-size: 26px;
  line-height: 1;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.library-card:hover .library-arrow {
  color: var(--red);
  transform: translateX(3px);
}

.library-ranking {
  position: sticky;
  top: 104px;
}

.library-rank-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 8px 12px oklch(0.18 0.025 260 / 0.055);
}

.library-rank-card h2 {
  margin: 0 0 18px;
  font-size: 22px;
  letter-spacing: -0.025em;
}

.library-rank-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: 42px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.library-rank-tabs button {
  padding-bottom: 10px;
}

.library-rank-list {
  display: grid;
  gap: 8px;
}

.library-rank-row {
  display: grid;
  grid-template-columns: 28px 48px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 58px;
  border: 0;
  border-radius: 13px;
  background: transparent;
  color: var(--ink);
  padding: 7px 6px;
  text-align: left;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.library-rank-row:hover {
  background: oklch(0.97 0.003 255);
}

.library-rank-index {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 760;
}

.library-rank-index.is-top {
  background: var(--red-soft);
  color: var(--red-strong);
}

.library-rank-avatar {
  width: 44px;
  height: 44px;
}

.library-rank-avatar .line-icon {
  width: 20px;
  height: 20px;
  transform: scale(0.76);
}

.library-rank-name strong,
.library-rank-name em {
  display: block;
}

.library-rank-name strong {
  font-size: 14px;
}

.library-rank-row:hover .library-rank-name strong {
  color: var(--red);
}

.library-rank-name em {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.library-rank-row b {
  color: var(--red);
}

.full-rank-button,
.load-more-button {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 680;
  transition: border-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast), background var(--transition-fast);
}

.full-rank-button {
  width: 100%;
  margin-top: 20px;
}

.load-more-button {
  min-width: 250px;
}

.full-rank-button:hover,
.load-more-button:hover {
  border-color: oklch(0.64 0.23 25 / 0.3);
  color: var(--red);
  background: oklch(1 0 0);
}

.detail-view.is-hidden,
.home-view.is-hidden,
.players-library-view.is-hidden,
.simple-page-view.is-hidden,
.is-hidden {
  display: none !important;
}

.detail-hero {
  padding: 116px 0 0;
}

/* Player detail shares the player ambiance photo, scoped so the home hero
   (.hero .hero-bg) is untouched. Person sits right; left/centre stays dark
   so the avatar card + identity data remain fully legible. */
.detail-hero .hero-bg {
  background-color: #050506;
  background-image:
    var(--asset-player-hero-bg, url("assets/images/player-hero-bg.webp")),
    linear-gradient(115deg, oklch(0.055 0.004 260) 0%, oklch(0.08 0.012 260) 52%, oklch(0.055 0.004 260) 100%);
  background-position: center right, center;
  background-repeat: no-repeat;
  background-size: cover, cover;
  filter: brightness(0.66) saturate(0.94);
  transform: translateZ(0);
  animation: heroBgIn 0.8s var(--ease-out) both;
}

.detail-hero .hero-bg::before {
  opacity: 1;
  mask-image: none;
  background-size: auto;
  background:
    linear-gradient(90deg, rgba(5, 5, 6, 0.98) 0%, rgba(5, 5, 6, 0.92) 40%, rgba(5, 5, 6, 0.62) 72%, rgba(5, 5, 6, 0.34) 100%),
    linear-gradient(180deg, rgba(5, 5, 6, 0.1) 0%, rgba(5, 5, 6, 0.82) 100%);
}

.detail-hero-inner {
  position: relative;
  padding-bottom: 0;
}

.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin-bottom: 22px;
  border: 1px solid oklch(1 0 0 / 0.14);
  border-radius: 999px;
  background: oklch(1 0 0 / 0.08);
  color: oklch(0.94 0 0);
  padding: 0 14px;
}

.detail-profile {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) 320px;
  gap: 34px;
  align-items: center;
  padding-bottom: 32px;
}

.detail-photo p {
  margin: 12px 0 0;
  color: var(--white-muted);
  font-size: 13px;
}

.detail-identity h1 {
  margin: 0 0 24px;
  font-size: 58px;
  letter-spacing: -0.045em;
}

.identity-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 26px;
  margin: 0;
}

dt {
  color: var(--muted);
}

.detail-hero dt,
.career-card dt {
  color: oklch(0.72 0.012 260);
}

dd {
  margin: 0;
  font-weight: 760;
}

.identity-grid div {
  padding-bottom: 10px;
  border-bottom: 1px solid oklch(1 0 0 / 0.1);
}

.identity-grid dt {
  margin-bottom: 6px;
}

.social-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.social-buttons a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid oklch(1 0 0 / 0.12);
  border-radius: 10px;
  background: oklch(1 0 0 / 0.07);
  color: oklch(0.92 0 0);
}

.career-card {
  padding: 22px;
  border: 1px solid var(--dark-line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, oklch(1 0 0 / 0.09), oklch(1 0 0 / 0.035));
  box-shadow: 0 0 12px oklch(0.58 0.24 25 / 0.16);
}

.career-card h2 {
  margin: 0 0 18px;
  font-size: 20px;
}

.career-card dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.career-card div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.detail-tabs {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  border-top: 1px solid oklch(1 0 0 / 0.08);
}

.detail-tabs a {
  position: relative;
  padding: 20px 0 18px;
  white-space: nowrap;
  color: oklch(0.76 0.01 260);
}

.detail-tabs a.is-active,
.detail-tabs a:hover {
  color: oklch(0.98 0 0);
}

.detail-tabs a.is-active::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  content: "";
  background: var(--red);
}

.detail-content {
  padding: 42px 0 78px;
}

.detail-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 28px;
}

.detail-side {
  position: sticky;
  top: 100px;
  align-self: start;
  display: grid;
  gap: 4px;
  padding: 16px;
}

.detail-side a {
  position: relative;
  padding: 11px 12px 11px 18px;
  border-radius: 9px;
  color: var(--muted);
}

.detail-side a.is-active {
  background: var(--red-soft);
  color: var(--ink);
}

.detail-side a.is-active::before {
  position: absolute;
  left: 7px;
  top: 12px;
  bottom: 12px;
  width: 3px;
  content: "";
  border-radius: 999px;
  background: var(--red);
}

.detail-main {
  display: grid;
  gap: 24px;
}

.source-alert {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 18px;
  border: 1px solid oklch(0.64 0.23 25 / 0.18);
  background: var(--red-soft);
}

.source-alert p {
  margin: 4px 0 0;
  color: var(--muted);
}

.source-alert button {
  min-height: 40px;
  border: 1px solid oklch(0.64 0.23 25 / 0.3);
  border-radius: 9px;
  background: var(--surface);
  color: var(--red-strong);
  padding: 0 14px;
  font-weight: 720;
}

.shield-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--red);
}

.shield-icon::before {
  width: 16px;
  height: 21px;
  content: "";
  background: oklch(1 0 0);
  clip-path: polygon(50% 0, 100% 20%, 86% 78%, 50% 100%, 14% 78%, 0 20%);
}

.detail-panel {
  padding: 26px;
}

.detail-panel.is-hidden {
  display: none;
}

.panel-heading {
  margin-bottom: 20px;
}

.panel-heading h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 650;
  letter-spacing: 0;
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.equipment-card {
  padding: 18px;
  box-shadow: none;
  background: var(--surface-soft);
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.equipment-card:hover,
.gear-card:hover {
  transform: translateY(-2px);
}

.equipment-card-link,
.gear-card-link,
.pd-gear-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.equipment-image {
  display: grid;
  place-items: center;
  height: 128px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: linear-gradient(145deg, oklch(0.92 0.006 255), oklch(0.985 0.002 255));
  color: oklch(0.5 0.018 260);
  font-weight: 760;
}

.equipment-card span {
  color: var(--muted);
  font-size: 13px;
}

.equipment-card strong {
  display: block;
  margin-top: 4px;
  font-size: 18px;
  line-height: 1.25;
}

.equipment-card em,
.gear-card em {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
}

.param-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.param-card {
  min-height: 86px;
  padding: 16px;
  border-radius: 14px;
  background: var(--surface-soft);
  border: 1px solid oklch(0.88 0.009 160 / 0.6);
}

.param-card span {
  color: var(--muted);
  font-size: 14px;
}

.param-card strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 650;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.crosshair-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 18px;
  margin-bottom: 18px;
}

.crosshair-preview-box {
  display: grid;
  place-items: center;
  height: 220px;
  border-radius: 16px;
  background: oklch(0.16 0.012 260);
}

.valorant-crosshair-canvas {
  display: block;
  width: 160px;
  height: 160px;
  image-rendering: pixelated;
}

.crosshair-shape {
  position: relative;
  width: 92px;
  height: 92px;
}

.crosshair-shape::before,
.crosshair-shape::after {
  position: absolute;
  inset: 50% auto auto 50%;
  content: "";
  background: oklch(0.84 0.16 180);
  transform: translate(-50%, -50%);
}

.crosshair-shape::before {
  width: 92px;
  height: 3px;
}

.crosshair-shape::after {
  width: 3px;
  height: 92px;
}

.crosshair-code {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 22px;
  border-radius: 16px;
  background: var(--surface-soft);
}

.crosshair-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.crosshair-tool {
  display: grid;
  justify-items: stretch;
  gap: 18px;
  border-color: rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 70, 85, 0.12), transparent 36%),
    rgba(255, 255, 255, 0.035);
}

#crosshairView .simple-content {
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 70, 85, 0.14), transparent 34%),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    #050608;
  background-size: auto, 34px 34px, 34px 34px, auto;
}

#crosshairView .crosshair-tool {
  width: 100%;
  color: #fff;
  background:
    radial-gradient(circle at 18% 0%, rgba(255, 70, 85, 0.18), transparent 35%),
    rgba(255, 255, 255, 0.035);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

#crosshairView .crosshair-tool > *,
#crosshairView .vcr-carousel,
#crosshairView .vcr-stage {
  width: 100%;
}

.crosshair-tool-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.crosshair-tool-head h2 {
  margin: 0;
  color: #fff;
}

.crosshair-tool-head button {
  min-height: 40px;
  border: 1px solid rgba(255, 70, 85, 0.42);
  border-radius: 12px;
  background: rgba(255, 70, 85, 0.12);
  color: #fff;
  padding: 0 16px;
  font-weight: 780;
}

.crosshair-tool-input {
  display: grid;
  gap: 10px;
}

.crosshair-tool-input span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  font-weight: 760;
}

.crosshair-tool-input textarea {
  width: 100%;
  resize: vertical;
  min-height: 86px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
  padding: 14px;
  font: 13px/1.6 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.crosshair-tool-settings {
  margin-top: 4px;
}

.settings-field-group {
  display: grid;
  gap: 12px;
}

.settings-field-group + .settings-field-group {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.settings-field-group h3 {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.settings-device-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 18px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--surface-soft);
  border: 1px solid oklch(0.88 0.009 160 / 0.7);
}

.settings-device-strip span,
.settings-source-meta {
  color: var(--muted);
  font-size: 13px;
}

.settings-device-strip strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.settings-source-meta {
  margin: 16px 0 0;
}

.gear-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.gear-card {
  padding: 16px;
  border-radius: 14px;
  background: var(--surface-soft);
  border: 1px solid oklch(0.88 0.009 160 / 0.65);
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.gear-visual {
  display: grid;
  place-items: center;
  height: 116px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: linear-gradient(145deg, oklch(0.94 0.006 255), oklch(0.99 0.002 255));
  color: oklch(0.5 0.018 260);
  font-size: 13px;
  font-weight: 720;
}

.gear-card > span {
  color: var(--muted);
  font-size: 13px;
}

.gear-card strong {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.28;
}

.settings-empty-state {
  display: grid;
  gap: 8px;
  min-height: 160px;
  place-items: center;
  text-align: center;
}

.settings-empty-state strong {
  font-size: 20px;
}

.settings-empty-state p {
  margin: 0;
  color: var(--muted);
}

code {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.crosshair-code button {
  width: fit-content;
  min-height: 40px;
  border: 0;
  border-radius: 9px;
  background: var(--red);
  color: var(--surface);
  padding: 0 16px;
  font-weight: 760;
}

.favorite-button {
  width: fit-content;
  min-height: 40px;
  border: 1px solid oklch(0.88 0.009 160);
  border-radius: 9px;
  background: var(--surface);
  color: var(--ink);
  padding: 0 16px;
  font-weight: 760;
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.favorite-button:hover,
.favorite-button.is-active {
  border-color: oklch(0.64 0.23 25 / 0.5);
  background: var(--red);
  color: var(--surface);
}

.favorite-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.detail-favorite-button {
  margin-top: 14px;
}

.keybind-table {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.keybind-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--surface-soft);
}

.keybind-row span {
  color: var(--muted);
}

.keybind-row strong {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid oklch(0.64 0.23 25 / 0.42);
  outline-offset: 2px;
}

/* Home redesign, scoped to the landing surface only. */
.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-copy strong {
  font-size: 21px;
  line-height: 1;
  letter-spacing: 0;
}

.brand-copy small {
  color: oklch(1 0 0 / 0.46);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.08em;
}

.header-search-button {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: oklch(0.93 0 0);
}

.header-search-button .search-line-icon {
  width: 17px;
  height: 17px;
  transform: scale(0.82);
}

.home-view .hero {
  min-height: 600px;
  padding: 136px 0 92px;
}

.home-view .hero-bg {
  position: absolute;
  inset: 0;
  background-image: var(--asset-home-bg, url("/public/images/home-bg.png?v=20260612d"));
  background-size: 100% auto;
  background-position: top center;
  background-repeat: no-repeat;
  z-index: 0;
}

.home-view .hero-bg::before {
  display: none;
}

.home-view .hero-bg::after {
  display: none;
}

.home-view .hero-copy h1 {
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.06;
  letter-spacing: -0.035em;
}

.home-view .hero-copy h1 strong {
  color: #ff4655;
}

.home-view .hero-copy p {
  max-width: 610px;
  color: oklch(0.82 0.012 260);
  font-size: 17px;
}

.home-view .hero-search {
  height: 56px;
  border-color: rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.075);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.home-view .hero-search:focus-within {
  border-color: rgba(255, 70, 85, 0.48);
  background: rgba(255, 255, 255, 0.095);
  box-shadow: 0 0 0 5px rgba(255, 70, 85, 0.09);
}

.home-view .hero-inner {
  grid-template-columns: minmax(380px, 0.95fr) minmax(520px, 1.05fr);
}

.home-view .hero-stack {
  min-height: 380px;
}

.home-view .hero-player-card {
  width: 196px;
  height: 330px;
  padding: 14px;
  border-color: rgba(255, 70, 85, 0.34);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(16, 17, 23, 0.64));
  box-shadow: 0 18px 28px rgba(0, 0, 0, 0.36), 0 0 0 1px rgba(255, 70, 85, 0.06);
  backdrop-filter: blur(12px);
}

.home-view .hero-player-card:nth-child(n + 2) {
  opacity: 0.9;
}

.home-view .hero-player-card .photo-placeholder {
  height: 210px;
  min-height: 210px;
  border-radius: 12px;
  background:
    linear-gradient(180deg, transparent 56%, rgba(5, 5, 6, 0.78) 100%),
    radial-gradient(circle at 50% 26%, rgba(255, 255, 255, 0.18), transparent 48%),
    rgba(255, 255, 255, 0.08);
}

.home-view .hero-player-card .photo-placeholder img {
  object-fit: cover;
  object-position: top center;
}

.home-view .hero-player-card h3 {
  margin-top: 14px;
  font-size: 20px;
  letter-spacing: -0.01em;
}

.home-view .light-section {
  background: #f5f5f7;
  padding: 0 0 0;
}

.home-view .stats-grid {
  position: relative;
  z-index: 5;
  gap: 16px;
  margin-top: -42px;
  margin-bottom: 58px;
}

.home-view .stat-card {
  min-height: 110px;
  border: 1px solid rgba(17, 24, 39, 0.055);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.075);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.home-view .stat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 70, 85, 0.16);
  box-shadow: 0 14px 26px rgba(15, 23, 42, 0.1);
}

.home-view .stat-card:hover .line-icon {
  color: #ff4655;
}

.home-view .stat-card strong {
  color: #101217;
  font-size: 24px;
}

.home-view .stat-card span {
  color: #4b5563;
  font-size: 13px;
}

.home-view .stat-card em {
  display: block;
  margin-top: 4px;
  color: #8a909a;
  font-size: 11px;
  font-style: normal;
}

.home-view .section-heading {
  margin-top: 0;
  margin-bottom: 22px;
}

.home-view .section-heading h2 {
  position: relative;
  padding-left: 14px;
  color: #111827;
  font-size: 25px;
}

.home-view .section-heading h2::before {
  position: absolute;
  left: 0;
  top: 0.22em;
  width: 3px;
  height: 0.9em;
  content: "";
  border-radius: 999px;
  background: #ff4655;
}

.home-view .section-heading p {
  color: #6b7280;
  font-size: 15px;
}

.section-link {
  align-self: center;
  border: 0;
  background: transparent;
  color: #1f2937;
  font-size: 14px;
  font-weight: 720;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.section-link:hover {
  color: #ff4655;
  transform: translateX(3px);
}

.home-filter-row,
.home-view .center-action {
  display: none;
}

.home-view .players-block,
.home-matches-section,
.gear-trends-section {
  margin-top: 0;
  margin-bottom: 58px;
}

.home-view .player-card-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.home-view .player-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  min-height: 226px;
  padding: 20px 18px 18px;
  border: 1px solid rgba(17, 24, 39, 0.055);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.075);
  text-align: left;
}

.home-view .player-card:hover {
  border-color: rgba(255, 70, 85, 0.24);
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.11);
}

.home-view .player-card .avatar-slot {
  width: 64px;
  height: 64px;
  margin-bottom: 12px;
}

.home-view .player-card h3 {
  margin-bottom: 4px;
  color: #111827;
  font-size: 17px;
}

.home-view .player-card p,
.home-view .flag-line {
  color: #6b7280;
  font-size: 12px;
  line-height: 1.45;
}

.player-complete {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 16px;
  color: #6b7280;
  font-size: 11px;
}

.player-complete em {
  font-style: normal;
}

.player-complete b {
  color: #ff4655;
}

.home-view .mini-icons {
  display: flex;
  gap: 13px;
  border-top: 0;
  padding-top: 12px;
}

.home-view .arrow {
  position: absolute;
  right: 16px;
  bottom: 16px;
  color: #9ca3af;
  font-size: 20px;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.home-view .player-card:hover .arrow {
  color: #ff4655;
  transform: translateX(3px);
}

.home-match-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 18px;
}

.home-featured-match,
.home-upcoming-card,
.gear-trend-card {
  border: 1px solid rgba(17, 24, 39, 0.055);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.075);
}

.home-featured-match {
  display: grid;
  width: 100%;
  min-height: 236px;
  padding: 24px;
  color: #111827;
  text-align: left;
}

.home-live-pill {
  width: fit-content;
  padding: 5px 10px;
  border-radius: 999px;
  background: #ff4655;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.home-match-event {
  margin-top: 10px;
  color: #374151;
  font-size: 14px;
}

.home-match-stage {
  color: #8a909a;
  font-size: 12px;
}

.home-score-board {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: center;
  margin: 20px 0;
}

.home-score-team,
.home-score-center {
  display: grid;
  justify-items: center;
  gap: 8px;
}

.home-score-team strong {
  font-size: 22px;
}

.home-score-center strong {
  font-size: 34px;
}

.home-score-center em {
  color: #6b7280;
  font-size: 13px;
  font-style: normal;
}

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

.home-map-list span,
.home-match-note {
  display: grid;
  min-height: 48px;
  place-items: center;
  border-radius: 10px;
  background: #f5f5f7;
  color: #6b7280;
  font-size: 12px;
}

.home-map-list b {
  color: #111827;
  font-size: 17px;
}

.home-upcoming-card {
  display: grid;
  padding: 12px 20px;
}

.home-upcoming-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) minmax(180px, auto);
  gap: 16px;
  align-items: center;
  min-height: 64px;
  border: 0;
  border-top: 1px solid #eceef2;
  background: transparent;
  color: #111827;
  text-align: left;
}

.home-upcoming-row:first-child {
  border-top: 0;
}

.home-upcoming-row:hover {
  background: #f7f7f9;
}

.home-upcoming-row time {
  font-weight: 760;
}

.home-upcoming-row > span {
  color: #4b5563;
  font-size: 13px;
}

.home-upcoming-row strong {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  font-size: 13px;
}

.home-upcoming-row em {
  color: #9ca3af;
  font-style: normal;
}

.gear-trend-card {
  padding: 0;
  overflow: hidden;
}

.gear-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  border-bottom: 1px solid #eceef2;
}

.gear-tabs button {
  min-height: 56px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #4b5563;
  font-weight: 720;
}

.gear-tabs button.is-active {
  border-bottom-color: #ff4655;
  color: #ff4655;
}

.gear-trend-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 22px;
  padding: 24px;
}

.gear-placeholder-list {
  display: grid;
  gap: 0;
}

.gear-placeholder-row {
  display: grid;
  grid-template-columns: 28px 48px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-height: 76px;
  border-top: 1px solid #eceef2;
}

.gear-placeholder-row:first-child {
  border-top: 0;
}

.gear-placeholder-row b {
  color: #ff4655;
}

.gear-device-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #f5f5f7;
  color: #6b7280;
}

.gear-device-icon .line-icon {
  transform: scale(0.72);
}

.gear-placeholder-row strong {
  display: block;
  font-size: 14px;
}

.gear-placeholder-row em {
  display: block;
  margin-top: 4px;
  color: #8a909a;
  font-size: 12px;
  font-style: normal;
}

.gear-placeholder-row i,
.gear-trend-line {
  display: block;
  height: 4px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 70, 85, 0.36), rgba(17, 24, 39, 0.08));
}

.gear-feature-card {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 210px;
  padding: 22px;
  border-radius: 16px;
  background: #fafafa;
}

.gear-feature-image {
  display: grid;
  place-items: center;
  width: 110px;
  height: 150px;
  border-radius: 18px;
  background: #fff;
  color: #6b7280;
}

.gear-feature-image .line-icon {
  transform: scale(1.35);
}

.gear-feature-image em {
  margin-top: 8px;
  color: #a1a7b0;
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.08em;
}

.gear-feature-card small {
  color: #ff4655;
  font-weight: 780;
}

.gear-feature-card strong {
  display: block;
  margin-top: 8px;
  color: #111827;
  font-size: 20px;
}

.gear-feature-card p {
  margin: 10px 0 0;
  color: #6b7280;
  line-height: 1.65;
}

.home-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1.5fr) repeat(4, minmax(130px, 0.7fr));
  gap: 28px;
  margin-top: 40px;
  padding: 28px 30px;
  border-radius: 0;
  background: #050506;
  color: #f7f7f8;
}

.home-footer-brand {
  display: flex;
  gap: 12px;
}

.home-footer-brand strong {
  font-size: 19px;
}

.home-footer p,
.home-footer a {
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

.home-footer-links {
  display: grid;
  gap: 10px;
}

.home-footer-beian {
  align-self: center;
  justify-self: center;
  text-align: center;
}

.home-footer-links strong,
.home-footer-social strong {
  font-size: 14px;
}

.home-footer-social span {
  display: flex;
  gap: 10px;
  margin: 12px 0;
}

.home-footer-social i {
  width: 24px;
  height: 24px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
}

.site-header {
  animation: headerIn 0.45s var(--ease-out) both;
  transition: background var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal), backdrop-filter var(--transition-normal);
}

.site-header.is-scrolled {
  border-bottom: 1px solid oklch(1 0 0 / 0.08);
  background: oklch(0.055 0.004 260 / 0.72);
  backdrop-filter: blur(16px);
  box-shadow: 0 6px 18px oklch(0 0 0 / 0.12);
}

.main-nav a,
.detail-tabs a,
.detail-side a,
.hot-searches button,
.language-trigger,
.language-list button,
.ghost-action,
.back-link,
.source-alert button,
.equipment-card button,
.crosshair-code button,
.line-icon,
.avatar-slot,
.arrow {
  transition: color var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast), filter var(--transition-fast);
}

.main-nav a.is-active::after,
.detail-tabs a.is-active::after {
  transition: opacity var(--transition-fast), transform var(--transition-normal);
}

.language-trigger:hover,
.language-menu.is-open .language-trigger {
  border-color: oklch(0.64 0.23 25 / 0.25);
  background: oklch(1 0 0 / 0.06);
}

.language-list {
  display: grid;
  gap: 4px;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.language-menu.is-open .language-list {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.language-list button {
  position: relative;
}

.language-list button.is-current {
  color: var(--red);
}

.language-list button.is-current::before {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  content: "";
  border-radius: 50%;
  background: var(--red);
}

.hero-copy h1 {
  animation: heroTextIn 0.65s var(--ease-out) 0.08s both;
}

.hero-copy p {
  animation: heroTextIn 0.65s var(--ease-out) 0.16s both;
}

.hero-search {
  animation: heroTextIn 0.6s var(--ease-out) 0.24s both;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.hero-search:focus-within {
  border-color: oklch(0.64 0.23 25 / 0.45);
  background: oklch(1 0 0 / 0.11);
  box-shadow: 0 0 0 4px oklch(0.64 0.23 25 / 0.08);
}

.hot-searches {
  animation: fadeIn 0.5s var(--ease-out) 0.32s both;
}

.hot-searches button:hover,
.hot-searches button.is-pulsing {
  color: var(--red);
  transform: translateY(-1px);
}

.hero-player-card {
  opacity: 0;
  transform: perspective(900px) rotateY(var(--rotate)) translateY(20px) scale(0.98) translateZ(0);
  animation: heroCardIn 0.62s var(--ease-out) calc(0.34s + var(--stagger, 0s)) both;
  transition: transform var(--transition-normal), border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
}

.hero-player-card:hover {
  border-color: oklch(0.64 0.23 25 / 0.46);
  background: linear-gradient(180deg, oklch(1 0 0 / 0.11), oklch(1 0 0 / 0.045));
  box-shadow: 0 0 14px oklch(0.58 0.24 25 / 0.24);
  transform: perspective(900px) rotateY(var(--rotate)) translateY(-6px) scale(1) translateZ(0);
}

.stat-card,
.player-card,
.rank-card,
.equipment-card,
.detail-panel,
.detail-side,
.source-alert,
.about-strip {
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.stat-card {
  border: 1px solid transparent;
}

.stat-card:hover {
  transform: translateY(-3px);
  border-color: oklch(0.64 0.23 25 / 0.16);
  box-shadow: 0 10px 18px oklch(0.18 0.025 260 / 0.08);
}

.stat-card:hover .line-icon {
  color: var(--red);
}

.player-card {
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), outline-color var(--transition-fast);
}

.player-card:hover {
  outline-color: oklch(0.64 0.23 25 / 0.28);
  box-shadow: 0 12px 18px oklch(0.18 0.025 260 / 0.09);
}

.player-card:hover .avatar-slot {
  background: linear-gradient(145deg, oklch(0.955 0.006 255), oklch(1 0 0));
  color: oklch(0.45 0.018 260);
}

.player-card:hover .arrow {
  color: var(--red);
  transform: translateX(3px);
}

.ghost-action:hover,
.source-alert button:hover,
.equipment-card button:hover,
.crosshair-code button:hover,
.back-link:hover {
  border-color: oklch(0.64 0.23 25 / 0.32);
  filter: brightness(1.04);
}

.detail-side a:hover {
  background: oklch(0.96 0.004 255);
  color: var(--ink);
}

.detail-side a.is-active::before {
  transition: top var(--transition-normal), bottom var(--transition-normal), opacity var(--transition-fast);
}

.empty-state {
  animation: fadeIn 0.3s var(--ease-out) both;
}

.home-view,
.detail-view,
.players-library-view,
.simple-page-view {
  opacity: 1;
  transform: translateY(0);
}

.home-view.is-leaving,
.detail-view.is-leaving,
.players-library-view.is-leaving,
.simple-page-view.is-leaving {
  opacity: 0;
  transition: opacity 0.18s var(--ease-out);
}

.home-view.is-entering,
.detail-view.is-entering,
.players-library-view.is-entering,
.simple-page-view.is-entering {
  opacity: 0;
  transform: translateY(12px);
}

.home-view.is-entered,
.detail-view.is-entered,
.players-library-view.is-entered,
.simple-page-view.is-entered {
  opacity: 1;
  transform: translateY(0);
  transition: opacity var(--transition-normal), transform var(--transition-normal);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid oklch(1 0 0 / 0.08);
  border-radius: 12px;
  background: oklch(0.09 0.008 260 / 0.88);
  color: oklch(1 0 0);
  box-shadow: 0 10px 24px oklch(0 0 0 / 0.18);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.toast::before {
  width: 8px;
  height: 8px;
  content: "";
  border-radius: 50%;
  background: var(--red);
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 22px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
}

.auth-modal:not(.is-hidden) {
  opacity: 1;
  pointer-events: auto;
}

.auth-modal.is-closing {
  opacity: 0;
}

.auth-backdrop {
  position: absolute;
  inset: 0;
  background: oklch(0 0 0 / 0.62);
  backdrop-filter: blur(10px);
}

.auth-card {
  position: relative;
  width: min(460px, 100%);
  max-height: min(760px, calc(100svh - 44px));
  overflow-y: auto;
  padding: 28px;
  border: 1px solid oklch(1 0 0 / 0.12);
  border-radius: 28px;
  background: linear-gradient(180deg, oklch(0.16 0.012 260 / 0.88), oklch(0.11 0.009 260 / 0.88));
  color: oklch(0.98 0 0);
  box-shadow: 0 24px 64px oklch(0 0 0 / 0.34);
  transform: translateY(14px) scale(0.985);
  transition: transform var(--transition-normal), opacity var(--transition-fast);
}

.auth-modal:not(.is-hidden) .auth-card {
  transform: translateY(0) scale(1);
}

.auth-modal.is-closing .auth-card {
  transform: translateY(10px) scale(0.99);
}

.auth-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid oklch(1 0 0 / 0.1);
  border-radius: 10px;
  background: oklch(1 0 0 / 0.055);
  color: oklch(0.9 0 0);
  font-size: 22px;
  line-height: 1;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.auth-close:hover {
  border-color: oklch(0.64 0.23 25 / 0.28);
  background: oklch(1 0 0 / 0.09);
}

.valo-mark.small {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.valo-mark.small::before,
.valo-mark.small::after {
  width: 10px;
  height: 21px;
}

.auth-card-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding-right: 38px;
}

.auth-card-head h2 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.auth-card-head p {
  margin: 8px 0 0;
  color: oklch(0.78 0.012 260);
  line-height: 1.55;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin: 24px 0 20px;
  padding: 4px;
  border: 1px solid oklch(1 0 0 / 0.08);
  border-radius: 13px;
  background: oklch(1 0 0 / 0.055);
}

.auth-tabs button {
  min-height: 40px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: oklch(0.78 0.012 260);
  font-weight: 720;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.auth-tabs button.is-active {
  background: oklch(1 0 0 / 0.12);
  color: oklch(0.98 0 0);
}

.auth-form {
  display: grid;
  gap: 14px;
}

.auth-form label {
  display: grid;
  gap: 8px;
  color: oklch(0.82 0.01 260);
  font-size: 14px;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"] {
  width: 100%;
  min-height: 46px;
  border: 1px solid oklch(1 0 0 / 0.1);
  border-radius: 12px;
  background: oklch(1 0 0 / 0.065);
  color: oklch(0.98 0 0);
  padding: 0 13px;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.code-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 124px;
  gap: 10px;
}

.code-field button {
  min-height: 46px;
  border: 1px solid oklch(0.64 0.23 25 / 0.38);
  border-radius: 12px;
  background: oklch(1 0 0 / 0.09);
  color: oklch(0.98 0 0);
  font-weight: 730;
  transition: background var(--transition-fast), border-color var(--transition-fast), opacity var(--transition-fast);
}

.code-field button:hover:not(:disabled) {
  border-color: oklch(0.64 0.23 25 / 0.62);
  background: oklch(1 0 0 / 0.13);
}

.code-field button:disabled,
.submit-button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.auth-form input::placeholder {
  color: oklch(0.6 0.012 260);
}

.auth-form input[type="text"]:focus,
.auth-form input[type="email"]:focus,
.auth-form input[type="password"]:focus {
  border-color: oklch(0.64 0.23 25 / 0.45);
  background: oklch(1 0 0 / 0.09);
  box-shadow: 0 0 0 4px oklch(0.64 0.23 25 / 0.08);
}

.form-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

.check-row {
  display: flex !important;
  grid-template-columns: none !important;
  flex-direction: row;
  gap: 9px !important;
  align-items: center;
}

.check-row input {
  accent-color: var(--red);
}

.link-button {
  border: 0;
  background: transparent;
  color: oklch(0.78 0.012 260);
  padding: 0;
}

.link-button:hover {
  color: var(--red);
}

.submit-button {
  min-height: 48px;
  margin-top: 4px;
  border: 1px solid oklch(0.64 0.23 25 / 0.55);
  border-radius: 12px;
  background: var(--red);
  color: oklch(1 0 0);
  font-weight: 780;
  transition: filter var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.submit-button:hover {
  filter: brightness(1.04);
  box-shadow: 0 0 0 4px oklch(0.64 0.23 25 / 0.1);
}

.auth-feedback {
  min-height: 20px;
  margin: 14px 0 0;
  color: oklch(0.78 0.012 260);
  font-size: 13px;
  line-height: 1.5;
}

.auth-feedback[data-type="error"] {
  color: oklch(0.72 0.18 25);
}

.auth-feedback[data-type="success"] {
  color: oklch(0.82 0.12 155);
}

.profile-content {
  min-height: 560px;
  padding: 40px 0 82px;
  background: #f5f5f7;
}

.profile-card {
  padding: 24px;
  border: 1px solid #eceef2;
  border-radius: 18px;
  background: #fff;
}

.profile-card + .profile-card {
  margin-top: 18px;
}

.profile-user {
  display: flex;
  gap: 18px;
  align-items: center;
}

.profile-avatar {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #111827;
  color: #fff;
  font-size: 28px;
  font-weight: 820;
}

.profile-user h2,
.profile-section-head h2 {
  margin: 0;
  color: #111827;
  font-size: 24px;
  letter-spacing: -0.02em;
}

.profile-user p,
.profile-user small,
.profile-section-head p {
  margin: 6px 0 0;
  color: #6b7280;
}

.profile-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.profile-stat-grid div {
  padding: 16px;
  border-radius: 14px;
  background: #f8f8fa;
}

.profile-stat-grid strong {
  display: block;
  color: #111827;
  font-size: 26px;
}

.profile-stat-grid span {
  display: block;
  margin-top: 6px;
  color: #6b7280;
  font-size: 13px;
}

.profile-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 16px;
}

.profile-tabs button {
  min-height: 38px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  color: #4b5563;
  padding: 0 14px;
  font-weight: 730;
}

.profile-tabs button.is-active {
  border-color: #ff4655;
  background: #ff4655;
  color: #fff;
}

.profile-favorite-list {
  display: grid;
  gap: 10px;
}

.profile-favorite-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) repeat(3, auto);
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid #eceef2;
  border-radius: 14px;
  background: #fbfbfc;
}

.profile-favorite-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #111827;
  color: #fff;
  font-weight: 800;
}

.profile-favorite-row strong,
.profile-favorite-row em {
  display: block;
}

.profile-favorite-row em {
  margin-top: 3px;
  color: #6b7280;
  font-size: 13px;
  font-style: normal;
}

.profile-favorite-row button {
  min-height: 36px;
  border: 1px solid #e5e7eb;
  border-radius: 9px;
  background: #fff;
  color: #111827;
  padding: 0 12px;
  font-weight: 700;
}

.profile-settings-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
  margin-top: 20px;
}

.profile-settings-form label {
  display: grid;
  gap: 8px;
  color: #4b5563;
  font-size: 13px;
  font-weight: 700;
}

.profile-settings-form input {
  width: 100%;
  min-height: 44px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  color: #111827;
  padding: 0 12px;
}

.profile-settings-form input:disabled {
  background: #f8f8fa;
  color: #6b7280;
}

.profile-feedback {
  min-height: 20px;
  margin: 12px 0 0;
  color: #6b7280;
  font-size: 13px;
}

.profile-feedback[data-type="error"] {
  color: #d6404d;
}

.profile-feedback[data-type="success"] {
  color: #18854a;
}

.auth-inline-link {
  justify-self: center;
  margin-top: 2px;
}

.profile-empty {
  display: grid;
  place-items: center;
  gap: 14px;
  min-height: 180px;
  border-radius: 14px;
  background: #f8f8fa;
  color: #6b7280;
  text-align: center;
}

@keyframes headerIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes heroBgIn {
  from {
    opacity: 0;
    transform: scale(1.025);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

@keyframes heroCardIn {
  from {
    opacity: 0;
    transform: perspective(900px) rotateY(var(--rotate)) translateY(20px) scale(0.98) translateZ(0);
  }
  to {
    opacity: 1;
    transform: perspective(900px) rotateY(var(--rotate)) translateY(0) scale(1) translateZ(0);
  }
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: 1fr auto;
    height: auto;
    min-height: 78px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .main-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    gap: 24px;
  }

  .header-right {
    justify-self: end;
  }

  .main-nav a {
    padding: 6px 0 14px;
    white-space: nowrap;
  }

  .main-nav a.is-active::after {
    bottom: 6px;
  }

  .hero-inner,
  .library-hero-inner,
  .match-hero-inner,
  .detail-profile,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 158px;
  }

  .hero-stack {
    min-height: 360px;
  }

  .stats-grid,
  .player-card-grid,
  .library-card-grid,
  .ranking-grid,
  .equipment-grid,
  .param-grid,
  .gear-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .library-hero {
    padding-top: 154px;
  }

  .simple-hero {
    padding-top: 154px;
  }

  .library-summary {
    justify-self: start;
  }

  .library-layout {
    grid-template-columns: 1fr;
  }

  .library-ranking {
    position: static;
  }

  .match-layout {
    grid-template-columns: 1fr;
  }

  .match-hero-visual {
    min-height: 130px;
  }

  .match-hero-bg,
  .library-hero-bg,
  .detail-hero .hero-bg {
    background-position: 65% center, center;
  }

  .match-hero-bg::after,
  .library-hero-bg::before,
  .detail-hero .hero-bg::before {
    background:
      linear-gradient(90deg, rgba(5, 5, 6, 0.98) 0%, rgba(5, 5, 6, 0.86) 48%, rgba(5, 5, 6, 0.62) 100%),
      linear-gradient(180deg, rgba(5, 5, 6, 0.18) 0%, rgba(5, 5, 6, 0.92) 100%);
  }

  .match-tabs {
    margin-top: 8px;
  }

  .match-stats-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .match-stat-card:nth-child(odd) {
    border-left: 0;
  }

  .match-stat-card:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .detail-side {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .detail-tabs {
    overflow-x: auto;
  }

  .match-detail-grid {
    grid-template-columns: 1fr;
  }

  .match-detail-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .language-menu {
    justify-self: start;
  }

  .header-right {
    justify-self: start;
    flex-wrap: wrap;
  }

  .language-menu {
    order: 1;
  }

  .auth-actions,
  .account-menu {
    order: 2;
  }

  .hero {
    min-height: 0;
    padding: 174px 0 56px;
  }

  .library-hero {
    min-height: 0;
    padding: 176px 0 40px;
  }

  .simple-hero {
    min-height: 0;
    padding: 176px 0 40px;
  }

  .match-hero {
    min-height: 0;
    padding: 176px 0 0;
  }

  .match-hero-bg,
  .library-hero-bg,
  .detail-hero .hero-bg {
    background-position: 70% center, center;
    filter: brightness(0.6) saturate(0.9);
    opacity: 0.92;
  }

  .match-hero-bg::after,
  .library-hero-bg::before,
  .detail-hero .hero-bg::before {
    background:
      linear-gradient(90deg, rgba(5, 5, 6, 0.99) 0%, rgba(5, 5, 6, 0.9) 58%, rgba(5, 5, 6, 0.72) 100%),
      linear-gradient(180deg, rgba(5, 5, 6, 0.18) 0%, rgba(5, 5, 6, 0.94) 100%);
  }

  .hero-inner,
  .library-hero-inner,
  .match-hero-inner,
  .content-wrap,
  .detail-hero-inner {
    width: min(100% - 28px, 1440px);
  }

  .hero-copy h1,
  .library-hero-copy h1,
  .simple-hero h1,
  .match-hero-copy h1 {
    font-size: 38px;
  }

  .hero-copy p,
  .library-hero-copy p,
  .simple-hero p,
  .match-hero-copy p {
    font-size: 16px;
  }

  .simple-card {
    min-height: 210px;
    padding: 26px 18px;
  }

  .match-hero-visual {
    display: none;
  }

  .match-tabs {
    width: calc(100vw - 28px);
    overflow-x: auto;
    padding: 0 8px;
  }

  .match-tabs button {
    min-width: 104px;
    flex: 0 0 auto;
  }

  .match-content {
    padding-top: 24px;
  }

  .match-card {
    padding: 18px;
  }

  .live-meta,
  .match-card-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .live-score-board {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .live-score {
    order: -1;
  }

  .map-score-grid,
  .match-stats-row {
    grid-template-columns: 1fr;
  }

  .upcoming-row,
  .recent-row,
  .ranking-head,
  .ranking-row {
    grid-template-columns: 1fr;
  }

  .upcoming-teams {
    justify-content: flex-start;
  }

  .result-score {
    text-align: left;
  }

  .ranking-head {
    display: none;
  }

  .match-stat-card,
  .match-stat-card + .match-stat-card,
  .match-stat-card:nth-child(n + 3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .match-stat-card:first-child {
    border-top: 0;
  }

  .library-summary {
    width: 100%;
    min-height: 64px;
    padding: 14px 18px;
  }

  .library-content {
    padding-top: 20px;
  }

  .library-tabs {
    width: 100%;
    overflow-x: auto;
    gap: 12px;
  }

  .library-tabs button {
    flex: 0 0 auto;
    white-space: nowrap;
    padding-left: 14px;
    padding-right: 14px;
  }

  .library-filter-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .library-select {
    flex: 0 0 auto;
  }

  .hero-stack {
    display: grid;
    gap: 14px;
    min-height: 0;
  }

  .hero-player-card {
    position: static;
    width: 100%;
    height: auto;
    transform: none;
  }

  .hero-player-card:hover {
    transform: translateY(-4px);
  }

  .photo-placeholder {
    min-height: 120px;
  }

  .stats-grid,
  .player-card-grid,
  .library-card-grid,
  .ranking-grid,
  .equipment-grid,
  .gear-grid,
  .param-grid,
  .filter-row,
  .crosshair-layout,
  .keybind-table,
  .identity-grid,
  .detail-side {
    grid-template-columns: 1fr;
  }

  .library-card {
    grid-template-columns: 78px minmax(0, 1fr);
    padding: 16px;
  }

  .library-avatar {
    width: 74px;
    height: 74px;
  }

  .library-card-foot {
    gap: 12px;
  }

  .filter-row select:last-child {
    justify-self: stretch;
  }

  .player-card {
    grid-template-columns: 64px minmax(0, 1fr) 20px;
  }

  .detail-profile {
    gap: 22px;
  }

  .detail-identity h1 {
    font-size: 42px;
  }

  .source-alert {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .source-alert button {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1180px) {
  .home-view .hero-inner,
  .home-match-grid,
  .gear-trend-layout,
  .home-footer {
    grid-template-columns: 1fr;
  }

  .home-view .player-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-view .stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-upcoming-row {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .home-upcoming-row strong {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .brand-copy small {
    display: none;
  }

  .header-search-button {
    width: 36px;
    height: 36px;
  }

  .home-view .hero {
    padding-top: 170px;
  }

  .home-view .hero-copy h1 {
    font-size: 38px;
  }

  .home-view .hero-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-view .hero-player-card {
    width: 100%;
    height: auto;
    min-height: 246px;
    padding: 12px;
  }

  .home-view .hero-player-card .photo-placeholder {
    height: 148px;
    min-height: 148px;
  }

  .home-view .stats-grid,
  .home-view .player-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-view .stat-card {
    min-height: 106px;
    padding: 16px;
  }

  .home-view .player-card {
    min-height: 220px;
    padding: 16px;
  }

  .home-view .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-map-list,
  .home-score-board {
    grid-template-columns: 1fr;
  }

  .home-score-center {
    order: -1;
  }

  .gear-tabs {
    display: flex;
    overflow-x: auto;
  }

  .gear-tabs button {
    min-width: 112px;
    flex: 0 0 auto;
  }

  .gear-feature-card {
    grid-template-columns: 1fr;
  }

  .home-footer {
    margin-left: -14px;
    margin-right: -14px;
    padding: 24px 18px;
  }
}

@media (max-width: 460px) {
  .home-view .player-card-grid,
  .home-view .hero-stack,
  .home-upcoming-row {
    grid-template-columns: 1fr;
  }
}

/* Unified page Hero background alignment for /players, /players/:slug,
   /matches, /teams and /radar. Home keeps its own art direction. */
:root {
  --page-hero-safe-top: 128px;
  --page-hero-min-height: clamp(324px, 31vw, 390px);
  --page-hero-bg-size: cover;
  --page-hero-player-pos: 72% 43%;
  --page-hero-event-pos: 70% 44%;
}

.players-library-view .library-hero,
.detail-view .detail-hero,
.match-data-page .match-hero {
  min-height: var(--page-hero-min-height);
  padding-top: var(--page-hero-safe-top);
  background: #050506;
  color: oklch(0.98 0 0);
}

.players-library-view .library-hero {
  padding-bottom: 46px;
}

.match-data-page .match-hero,
.detail-view .detail-hero {
  padding-bottom: 0;
}

.players-library-view .library-hero-bg,
.detail-view .detail-hero .hero-bg,
.match-data-page .match-hero-bg {
  inset: 0;
  background-image:
    var(--asset-home-bg, url("/public/images/home-bg.png?v=20260612d")),
    linear-gradient(115deg, #050608 0%, #090b10 58%, #050608 100%);
  background-repeat: no-repeat;
  background-size: 100% auto, cover;
  will-change: auto;
}

.players-library-view .library-hero-bg,
.detail-view .detail-hero .hero-bg {
  background-position: top center, center;
}

.match-data-page .match-hero-bg {
  background-position: top center, center;
}

.players-library-view .library-hero-bg::before,
.detail-view .detail-hero .hero-bg::before,
.match-data-page .match-hero-bg::after {
  background:
    linear-gradient(90deg, rgba(5, 5, 6, 0.99) 0%, rgba(5, 5, 6, 0.91) 37%, rgba(5, 5, 6, 0.55) 67%, rgba(5, 5, 6, 0.24) 100%),
    linear-gradient(180deg, rgba(5, 5, 6, 0.18) 0%, rgba(5, 5, 6, 0.08) 34%, rgba(5, 5, 6, 0.88) 100%);
  mask-image: none;
}

.match-data-page .match-hero-bg::before {
  background:
    radial-gradient(circle at 70% 52%, oklch(0.64 0.23 25 / 0.15), transparent 24rem),
    radial-gradient(circle at 42% 20%, oklch(1 0 0 / 0.05), transparent 20rem);
}

.players-library-view .library-hero-inner,
.match-data-page .match-hero-inner,
.detail-view .detail-hero-inner {
  position: relative;
  z-index: 1;
}

@media (max-width: 1180px) {
  :root {
    --page-hero-safe-top: 150px;
    --page-hero-min-height: 360px;
    --page-hero-player-pos: 70% 42%;
    --page-hero-event-pos: 68% 42%;
  }

  .players-library-view .library-hero-bg,
  .detail-view .detail-hero .hero-bg,
  .match-data-page .match-hero-bg {
    background-size: auto 100%, cover;
  }
}

@media (max-width: 720px) {
  :root {
    --page-hero-safe-top: 176px;
    --page-hero-min-height: 430px;
    --page-hero-player-pos: 68% 38%;
    --page-hero-event-pos: 65% 38%;
  }

  .players-library-view .library-hero,
  .match-data-page .match-hero {
    padding-bottom: 34px;
  }

  .detail-view .detail-hero {
    min-height: auto;
  }

  .players-library-view .library-hero-bg,
  .detail-view .detail-hero .hero-bg,
  .match-data-page .match-hero-bg {
    filter: brightness(0.68) saturate(0.94);
    opacity: 1;
  }

  .players-library-view .library-hero-bg::before,
  .detail-view .detail-hero .hero-bg::before,
  .match-data-page .match-hero-bg::after {
    background:
      linear-gradient(90deg, rgba(5, 5, 6, 0.99) 0%, rgba(5, 5, 6, 0.94) 54%, rgba(5, 5, 6, 0.7) 100%),
      linear-gradient(180deg, rgba(5, 5, 6, 0.18) 0%, rgba(5, 5, 6, 0.36) 42%, rgba(5, 5, 6, 0.94) 100%);
  }

  .code-field {
    grid-template-columns: 1fr;
  }

  .profile-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-favorite-row {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .profile-favorite-row button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .profile-settings-form {
    grid-template-columns: 1fr;
  }

  .match-detail-hero {
    padding-top: 142px;
  }

  .match-head-meta,
  .match-head-vs {
    grid-template-columns: 1fr;
  }

  .match-head-meta {
    display: grid;
  }

  .match-head-vs {
    gap: 18px;
    padding: 22px 18px;
  }

  .match-head-team .match-team-badge {
    width: 76px;
    height: 76px;
  }

  .match-head-score {
    order: -1;
  }

  .match-head-score strong {
    font-size: 40px;
  }

  .match-detail-content {
    padding-top: 18px;
  }

  .match-detail-side {
    grid-template-columns: 1fr;
  }

  .detail-filter-row {
    align-items: stretch;
  }

  .map-filter,
  .side-filter {
    width: 100%;
  }

  .side-map-row {
    grid-template-columns: 20px minmax(0, 1fr);
  }

  .side-map-row em {
    grid-column: 1 / -1;
  }

  .team-placeholder-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .crosshair-actions,
  .social-buttons {
    align-items: stretch;
  }

  .crosshair-actions button,
  .detail-favorite-button {
    width: 100%;
  }
}

/* =====================================================================
   首页深色电竞主题（仅作用于首页 .home-view / body.home-dark）
   配色：底 #050608/#080A0F，玻璃卡片 rgba(255,255,255,.04)，
   描边 rgba(255,255,255,.08)，主文 #EDEFF3，次文 #8F96A3，红 #FF4655
   ===================================================================== */
body.home-dark {
  background: #050608;
}

/* 顶部导航：选中态红色下划线更明显 */
body.home-dark .main-nav a {
  color: #c7ccd6;
}
body.home-dark .main-nav a:hover {
  color: #ffffff;
}
body.home-dark .main-nav a.is-active {
  color: #ffffff;
}

/* 内容区整体转深色 */
.home-view .light-section {
  background: #050608;
  background-image:
    radial-gradient(circle at 12% 0%, rgba(255, 70, 85, 0.06), transparent 38%),
    radial-gradient(circle at 100% 8%, rgba(255, 70, 85, 0.05), transparent 32%);
  padding-top: 56px;
}

/* 区块标题文字 */
.home-view .section-heading h2 {
  color: #edeff3;
}
.home-view .section-heading p {
  color: #8f96a3;
}
.home-view .section-link {
  color: #c7ccd6;
}
.home-view .section-link:hover {
  color: #ff4655;
}

/* 统计卡片 -> 玻璃质感 */
.home-view .stat-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  transition: transform 0.22s var(--ease-out), border-color 0.22s var(--ease-out), background 0.22s var(--ease-out);
}
.home-view .stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 70, 85, 0.4);
  background: rgba(255, 255, 255, 0.06);
}
.home-view .stat-card strong {
  color: #edeff3;
}
.home-view .stat-card span {
  color: #8f96a3;
}
.home-view .stat-card em {
  color: #6b7280;
}
.home-view .stat-card .line-icon {
  color: #c7ccd6;
}

/* 选手卡片 -> 玻璃 + 红边悬浮 */
.home-view .player-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.home-view .player-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 70, 85, 0.45);
  box-shadow: 0 22px 48px rgba(255, 70, 85, 0.14);
}
.home-view .player-card h3 {
  color: #edeff3;
}
.home-view .player-card p,
.home-view .flag-line {
  color: #8f96a3;
}
.home-view .player-card .avatar-slot {
  background: linear-gradient(145deg, #1a1d27, #10121a);
  color: #8f96a3;
}
.home-view .player-complete {
  color: #8f96a3;
}
.home-view .mini-icon {
  color: #6b7280;
}
.home-view .arrow {
  color: #6b7280;
}

/* 焦点赛事 / 即将开始 卡片 */
.home-view .home-featured-match,
.home-view .home-upcoming-card,
.home-view .gear-trend-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.home-view .home-featured-match {
  color: #edeff3;
  transition: transform 0.22s var(--ease-out), border-color 0.22s var(--ease-out);
}
.home-view .home-featured-match:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 70, 85, 0.4);
}
.home-view .home-match-event {
  color: #c7ccd6;
}
.home-view .home-match-stage {
  color: #8f96a3;
}
.home-view .home-score-center em {
  color: #8f96a3;
}
.home-view .home-map-list span,
.home-view .home-match-note {
  background: rgba(255, 255, 255, 0.05);
  color: #8f96a3;
}
.home-view .home-map-list b {
  color: #edeff3;
}
.home-view .home-upcoming-row {
  border-top-color: rgba(255, 255, 255, 0.08);
  color: #edeff3;
}
.home-view .home-upcoming-row:hover {
  background: rgba(255, 255, 255, 0.05);
}
.home-view .home-upcoming-row > span {
  color: #8f96a3;
}
.home-view .home-upcoming-row em {
  color: #6b7280;
}

/* 外设占位卡 */
.home-view .gear-tabs {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}
.home-view .gear-tabs button {
  color: #8f96a3;
}
.home-view .gear-tabs button.is-active {
  color: #ff4655;
  border-bottom-color: #ff4655;
}
.home-view .gear-placeholder-row {
  border-top-color: rgba(255, 255, 255, 0.08);
}
.home-view .gear-device-icon {
  background: rgba(255, 255, 255, 0.05);
  color: #8f96a3;
}
.home-view .gear-placeholder-row strong {
  color: #d7dbe2;
}
.home-view .gear-placeholder-row em {
  color: #6b7280;
}
.home-view .gear-feature-card {
  background: rgba(255, 255, 255, 0.03);
}
.home-view .gear-feature-image {
  background: rgba(255, 255, 255, 0.05);
  color: #8f96a3;
}
.home-view .gear-feature-card strong {
  color: #edeff3;
}
.home-view .gear-feature-card p {
  color: #8f96a3;
}

/* 空状态 */
.home-view .empty-state {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: #edeff3;
}
.home-view .empty-state p {
  color: #8f96a3;
}

/* 为什么选择准境 */
.why-section {
  margin-bottom: 58px;
}
.section-heading-center {
  justify-content: center;
  text-align: center;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.why-card {
  padding: 28px 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  transition: transform 0.22s var(--ease-out), border-color 0.22s var(--ease-out);
}
.why-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 70, 85, 0.4);
}
.why-card h3 {
  margin: 18px 0 8px;
  color: #edeff3;
  font-size: 19px;
}
.why-card p {
  margin: 0;
  color: #8f96a3;
  font-size: 14px;
  line-height: 1.7;
}
.why-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: rgba(255, 70, 85, 0.12);
  border: 1px solid rgba(255, 70, 85, 0.28);
}
.why-icon::before,
.why-icon::after {
  content: "";
  position: absolute;
}
.why-icon-data::before {
  width: 16px;
  height: 16px;
  border: 2px solid #ff4655;
  border-radius: 50%;
}
.why-icon-data::after {
  width: 2px;
  height: 9px;
  bottom: 11px;
  background: #ff4655;
  box-shadow: -5px 0 0 #ff4655, 5px 0 0 #ff4655;
}
.why-icon-stack::before {
  width: 18px;
  height: 14px;
  border: 2px solid #ff4655;
  border-radius: 4px;
}
.why-icon-stack::after {
  width: 10px;
  height: 2px;
  bottom: 14px;
  background: #ff4655;
  box-shadow: 0 4px 0 #ff4655;
}
.why-icon-lang::before {
  width: 18px;
  height: 18px;
  border: 2px solid #ff4655;
  border-radius: 50%;
}
.why-icon-lang::after {
  width: 18px;
  height: 2px;
  background: #ff4655;
  box-shadow: 0 -5px 0 rgba(255, 70, 85, 0.6), 0 5px 0 rgba(255, 70, 85, 0.6);
}

@media (max-width: 900px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

/* =====================================================================
   首页 v2 —— 高级黑红电竞官网风（仅作用于 .home-view / body.home-dark）
   仅覆盖首页与顶部导航，不影响其它页面。
   ===================================================================== */

/* ---- 容器：1180px，仅首页 ---- */
.home-view .hero-inner,
.home-view .light-section > .content-wrap {
  width: min(1180px, calc(100% - 144px));
  margin: 0 auto;
}
@media (max-width: 1024px) {
  .home-view .hero-inner,
  .home-view .light-section > .content-wrap {
    width: min(1180px, calc(100% - 64px));
  }
}
@media (max-width: 720px) {
  .home-view .hero-inner,
  .home-view .light-section > .content-wrap {
    width: min(1180px, calc(100% - 40px));
  }
}

/* 移除浅色主题遗留的白色渐隐带 */
.home-view .hero-bg::after {
  display: none;
}

/* ---- 舞台渐变深底 ---- */
.home-view .light-section {
  background: #050608;
  background-image:
    radial-gradient(circle at 8% -4%, rgba(255, 70, 85, 0.07), transparent 34%),
    radial-gradient(circle at 96% 4%, rgba(64, 120, 255, 0.06), transparent 32%),
    linear-gradient(180deg, #060710 0%, #050608 22%, #050608 100%);
  padding: 0 0 0;
}

/* ---- 顶部导航：深色半透明模糊，72px ---- */
body.home-dark .site-header {
  height: 72px;
  background: rgba(3, 4, 7, 0.82);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
body.home-dark .main-nav a {
  padding: 24px 0 22px;
}
body.home-dark .main-nav a.is-active {
  color: #ffffff;
}
body.home-dark .main-nav a.is-active::after {
  width: 36px;
  height: 2px;
  bottom: 12px;
  background: #ff4655;
  box-shadow: 0 0 10px rgba(255, 70, 85, 0.5);
}
body.home-dark .nav-more-trigger {
  padding: 24px 0 22px;
}

/* ---- 顶部导航：更多 下拉 ---- */
.nav-more {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-more-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 31px 0 26px;
  border: 0;
  background: transparent;
  color: oklch(0.82 0.01 260);
  font-size: 15px;
  cursor: pointer;
  transition: color 180ms ease;
}
body.home-dark .nav-more-trigger {
  color: #c7ccd6;
}
.nav-more:hover .nav-more-trigger {
  color: #ff4655;
}
.nav-more-trigger .chevron {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 180ms ease;
}
.nav-more:hover .nav-more-trigger .chevron {
  transform: rotate(225deg) translateY(-2px);
}
.nav-more-list {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 184px;
  margin-top: -6px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  background: rgba(12, 14, 20, 0.96);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  z-index: 60;
}
.nav-more:hover .nav-more-list,
.nav-more:focus-within .nav-more-list {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-more-list a {
  padding: 9px 12px !important;
  border-radius: 9px;
  color: #d7dbe2 !important;
  font-size: 14px;
}
.nav-more-list a::after { display: none !important; }
.nav-more-list a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff !important;
}
.nav-more-soon {
  padding: 8px 12px;
  color: #6f7683;
  font-size: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  margin-top: 2px;
}

/* ---- Hero 布局 42 / 58 ---- */
/* Hero 背景图（原图） */
.home-view .hub-hero {
  position: relative;
  overflow: hidden;
  background: transparent;
}
.home-view .hero-bg {
  position: absolute;
  inset: 0;
  background-image: var(--asset-home-bg, url("/public/images/home-bg.png?v=20260612d"));
  background-size: 100% auto;
  background-position: top center;
  background-repeat: no-repeat;
  z-index: 0;
}
.home-view .hub-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5,6,8,0.3) 0%, rgba(5,6,8,0.1) 42%, rgba(5,6,8,0) 100%);
  z-index: 1;
}
.home-view .hub-hero .hero-inner {
  position: relative;
  z-index: 2;
}
.home-view .hero {
  min-height: 620px;
  padding: 118px 0 24px;
}
.home-view .hero-inner {
  grid-template-columns: minmax(0, 40fr) minmax(0, 60fr);
  gap: 48px;
  align-items: center;
}
.home-view .hero-copy h1 {
  font-size: clamp(44px, 4.6vw, 64px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
}
.home-view .hero-copy h1 > span:first-child,
.home-view .hero-copy h1 .hero-line-two {
  display: block;
  color: #ffffff;
}
.home-view .hero-copy h1 .hero-line-two b {
  color: #ff4655;
  font-weight: 800;
}
.home-view .hero-copy p {
  margin: 28px 0 34px;
  max-width: 520px;
  color: #a0a6b2;
  font-size: 18px;
  line-height: 1.6;
}

/* Hero 内联小统计（非卡片） */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-bottom: 28px;
}
.hero-stat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #c7ccd6;
  font-size: 14px;
}
.hero-stat b {
  font-weight: 600;
}
.hero-stat-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff4655;
  box-shadow: 0 0 8px rgba(255, 70, 85, 0.7);
}
.hero-stat-pending {
  color: #6f7683;
}
.hero-stat-pending .hero-stat-dot {
  background: #6f7683;
  box-shadow: none;
}

/* Hero 搜索框 */
.home-view .hero-search {
  width: min(430px, 100%);
  height: 58px;
  padding: 0 5px 0 20px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
}
.home-view .hero-search:focus-within {
  border-color: rgba(255, 70, 85, 0.5);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 4px rgba(255, 70, 85, 0.1);
}
.hero-search-go {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-left: auto;
  flex: 0 0 auto;
  border: 0;
  border-radius: 12px;
  background: #ff4655;
  cursor: pointer;
  transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}
.hero-search-go:hover {
  background: #ff5d6a;
  box-shadow: 0 0 16px rgba(255, 70, 85, 0.45);
}
.hero-search-arrow {
  position: relative;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
}
.hero-search-arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: translateY(-50%) rotate(45deg);
}

/* ---- Hero 右侧 4 张海报卡 ---- */
.home-view .hero-stack {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
  gap: 0;
  min-height: 0;
  padding-left: 12px;
}
.home-view .hero-player-card {
  position: relative;
  top: auto;
  left: auto;
  width: 178px;
  min-width: 0;
  height: 360px;
  flex: 0 0 auto;
  margin-left: -18px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.5);
  transform: translateY(calc(var(--idx) * 4px));
  transition: transform 0.28s var(--ease-out, ease), border-color 0.28s ease, box-shadow 0.28s ease;
  cursor: pointer;
}
.home-view .hero-stack .hero-player-card:first-child {
  margin-left: 0;
}
.home-view .hero-player-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 70, 85, 0.5);
  box-shadow: 0 28px 52px rgba(255, 70, 85, 0.18);
  z-index: 5;
}
.hero-card-photo {
  position: relative;
  height: 65%;
  background: linear-gradient(180deg, #1a1d27, #0c0e16);
}
.hero-card-photo .photo-placeholder,
.hero-card-photo .avatar-shell {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  border-radius: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.hero-card-photo .hero-photo-placeholder {
  display: grid;
  place-items: center;
  color: #6f7683;
  font-size: 12px;
  letter-spacing: 0.1em;
  background: linear-gradient(145deg, #1a1d27, #10121a);
}
.hero-card-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px;
  background: linear-gradient(180deg, transparent, rgba(5, 6, 8, 0.92) 56%);
}
.hero-card-meta h3 {
  margin: 0 0 4px;
  color: #f4f5f7;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero-card-meta p {
  margin: 0;
  color: #a0a6b2;
  font-size: 12.5px;
}

/* ---- 区块标题（深色） ---- */
.home-view .section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 20px;
}
.home-view .section-heading h2 {
  color: #f4f5f7;
  font-size: 24px;
  font-weight: 750;
}
.home-view .section-heading p {
  margin-top: 6px;
  color: #a0a6b2;
}
.home-view .section-link {
  color: #c7ccd6;
}
.home-view .section-link:hover {
  color: #ff4655;
}
.home-view .home-matches-section {
  margin-top: 16px;
}
.home-view .home-matches-section .section-heading {
  margin-bottom: 28px;
}
.home-view .home-matches-section .section-heading h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 26px;
}
.home-view .home-matches-section .section-heading h2::before {
  content: "";
  flex: 0 0 auto;
  width: 4px;
  height: 24px;
  border-radius: 2px;
  background: #ff4655;
}
.home-view .players-block {
  margin-top: 54px;
}
.home-view .config-lib-section {
  margin-top: 58px;
}
.home-view .why-section {
  margin-top: 64px;
}

/* ---- 今日焦点赛事：单卡 ---- */
.home-view #homeFeaturedMatch {
  display: block;
}
.home-view .home-featured-match {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  height: 300px;
  padding: 26px 34px 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: linear-gradient(90deg, rgba(255, 70, 85, 0.22), rgba(10, 12, 18, 0.92) 45%, rgba(70, 90, 255, 0.18));
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.4);
  color: #f4f5f7;
  text-align: left;
  cursor: pointer;
  transition: transform 0.24s var(--ease-out, ease), border-color 0.24s ease;
}
.home-view .home-featured-match:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 70, 85, 0.4);
}
.home-featured-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.home-match-event {
  color: #e6e8ee;
  font-size: 15px;
  font-weight: 700;
}
.home-match-bo {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 7px;
  background: rgba(255, 70, 85, 0.18);
  color: #ff6b77;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.home-live-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #a0a6b2;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.home-live-pill.is-live {
  background: rgba(255, 70, 85, 0.16);
  color: #ff6b77;
  box-shadow: 0 0 0 1px rgba(255, 70, 85, 0.32) inset;
}
.home-live-pill.is-muted {
  background: rgba(255, 255, 255, 0.05);
  color: #6f7683;
}
.home-score-board {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  flex: 1;
}
.home-score-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.home-score-board .home-score-team:first-child {
  align-items: flex-end;
}
.home-score-board .home-score-team:last-child {
  align-items: flex-start;
}
.home-score-team .team-badge,
.home-score-team .team-logo {
  width: 88px;
  height: 88px;
}
.home-score-team strong {
  color: #f4f5f7;
  font-size: clamp(22px, 3vw, 40px);
  font-weight: 800;
  line-height: 1.1;
}
.home-score-team em {
  color: #6f7683;
  font-size: 12px;
  font-style: normal;
}
.home-score-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.home-score-center strong {
  color: #ff4655;
  font-size: 56px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
}
.home-score-center em {
  color: #a0a6b2;
  font-size: 13px;
  font-style: normal;
}
.home-score-center .home-score-status {
  color: #c7ccd6;
  font-weight: 650;
}
.home-score-center .home-score-status.is-live {
  color: #ff5d6a;
  font-weight: 750;
}
.home-featured-cta {
  align-self: center;
  padding: 9px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #f4f5f7;
  font-size: 13px;
  font-weight: 650;
  transition: background 160ms ease, border-color 160ms ease;
}
.home-featured-match:hover .home-featured-cta {
  background: rgba(255, 70, 85, 0.16);
  border-color: rgba(255, 70, 85, 0.4);
}
.home-featured-match.is-empty {
  align-items: center;
  justify-content: center;
  text-align: center;
}
.home-match-empty-text {
  color: #a0a6b2;
  font-size: 15px;
}

/* ---- Top Players：5 卡 ---- */
.top-players-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}
.top-player-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 275px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.34);
  overflow: hidden;
  text-align: left;
  cursor: pointer;
  transition: transform 0.22s var(--ease-out, ease), border-color 0.22s ease, box-shadow 0.22s ease;
}
.top-player-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 70, 85, 0.42);
  box-shadow: 0 22px 44px rgba(255, 70, 85, 0.14);
}
.tp-photo {
  position: relative;
  display: block;
  height: 145px;
  background: linear-gradient(180deg, #1a1d27, #0c0e16);
}
.tp-photo .photo-placeholder,
.tp-photo .avatar-shell {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  border-radius: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tp-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.tp-photo-placeholder {
  display: grid;
  place-items: center;
  color: #6f7683;
  font-size: 12px;
  letter-spacing: 0.1em;
  background: linear-gradient(145deg, #1a1d27, #10121a);
}
.tp-rank {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #ff4655;
  border: 1px solid rgba(0, 0, 0, 0.55);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}
.tp-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 12px 14px 14px;
}
.tp-name-row {
  display: flex;
  align-items: center;
  gap: 7px;
}
.tp-name-row h3 {
  margin: 0;
  color: #f4f5f7;
  font-size: 16px;
  font-weight: 750;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tp-flag {
  flex: 0 0 auto;
  font-size: 14px;
  line-height: 1;
}
.tp-team {
  color: #a0a6b2;
  font-size: 12.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tp-stats {
  display: flex;
  gap: 12px;
  margin-top: 4px;
  color: #6f7683;
  font-size: 11.5px;
}
.tp-stats em {
  font-style: normal;
}
.tp-stats b {
  color: #c7ccd6;
  font-weight: 700;
}

/* ---- 职业选手配置库 ---- */
.config-lib-card {
  display: flex;
  flex-direction: column;
  height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
  overflow: hidden;
}
.config-tabs {
  display: flex;
  gap: 4px;
  height: 62px;
  padding: 0 12px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  overflow-x: auto;
}
.config-tabs button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 100%;
  padding: 0 18px;
  border: 0;
  background: transparent;
  color: #a0a6b2;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: color 160ms ease;
}
.config-tabs button:hover {
  color: #f4f5f7;
}
.config-tabs button.is-active {
  color: #ff6b77;
}
.config-tabs button.is-active::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: -1px;
  height: 2px;
  background: #ff4655;
  box-shadow: 0 0 10px rgba(255, 70, 85, 0.5);
}
.config-tab-icon {
  color: currentColor;
}
.config-lib-body {
  display: grid;
  grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
  gap: 28px;
  padding: 26px 30px;
  flex: 1;
  min-height: 0;
}
.config-preview {
  position: relative;
  display: grid;
  place-items: center;
  gap: 16px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 70, 85, 0.08), transparent 60%),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.config-preview-art {
  color: #ff4655;
  font-size: 0;
}
.config-preview-art .line-icon {
  width: 84px;
  height: 84px;
  color: #ff4655;
}
.config-preview-tag {
  color: #c7ccd6;
  font-size: 14px;
  font-weight: 650;
}
.config-lib-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.config-pending-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #6f7683;
  font-size: 12px;
  font-weight: 650;
}
.config-lib-info h3 {
  margin: 2px 0 0;
  color: #f4f5f7;
  font-size: 19px;
  font-weight: 750;
}
.config-lib-info p {
  margin: 0;
  max-width: 460px;
  color: #a0a6b2;
  font-size: 14px;
  line-height: 1.7;
}
.config-mini-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  margin-top: auto;
}
.config-mini-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 14px 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.03);
}
.config-mini-card i {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(255, 70, 85, 0.12);
  color: #ff4655;
}
.config-mini-icon {
  width: 18px;
  height: 18px;
  color: #ff4655;
}
.config-mini-card b {
  color: #d7dbe2;
  font-size: 13px;
  font-weight: 650;
}
.config-mini-card em {
  color: #6f7683;
  font-size: 11px;
  font-style: normal;
}

/* ---- 为什么选择准境（更紧凑，标题居左） ---- */
.home-view .why-section .section-heading-center {
  justify-content: flex-start;
  text-align: left;
}
.home-view .why-section .section-heading-center > div {
  margin: 0;
}
.home-view .why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.home-view .why-card {
  min-height: 150px;
  padding: 24px 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
}
.home-view .why-card h3 {
  font-size: 17px;
}

/* ---- 响应式 ---- */
@media (max-width: 1024px) {
  .home-view .hero-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .home-view .hero-stack {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }
  .config-lib-body {
    grid-template-columns: 1fr;
  }
  .config-preview {
    min-height: 180px;
  }
}
@media (max-width: 860px) {
  .top-players-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
@media (max-width: 720px) {
  .home-view .hero {
    min-height: 0;
    padding: 214px 0 64px;
  }
  .home-view .hero-player-card {
    width: 150px;
    height: 320px;
  }
  .top-players-grid {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }
  .top-player-card {
    flex: 0 0 150px;
  }
  .config-mini-row {
    grid-template-columns: 1fr 1fr;
  }
  .home-score-board {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .home-score-board .home-score-team:first-child,
  .home-score-board .home-score-team:last-child {
    align-items: center;
  }
}

/* =====================================================================
   电竞数据中心 (Esports Data Center) — v3 homepage hub.
   Scoped to .home-view / body.home-dark only. Appended last so it wins
   the cascade over the older "首页 v2" block.
   ===================================================================== */

/* ---- Container: 1280px / padding 0 48px (spec) ---- */
.home-view .hero-inner,
.home-view .light-section > .content-wrap {
  width: auto;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
  box-sizing: border-box;
}

/* ---- Stage background: #050608 + faint red/blue glow + subtle grid ---- */
body.home-dark,
.home-view {
  background: #050608 var(--asset-home-bg, url("/public/images/home-bg.png?v=20260612d")) top center / 100% auto no-repeat;
}
.home-view .light-section {
  position: relative;
  background: transparent;
}
.home-view .light-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 46px 46px;
  pointer-events: none;
  opacity: 0.5;
}
.home-view .light-section > .content-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-top: 40px;
  padding-bottom: 56px;
}

/* shared card surface */
.home-view .hub-card,
.home-view .hub-focus-card,
.home-view .hub-mini-match,
.home-view .hub-player-card,
.home-view .hub-ch-card,
.home-view .hub-gear-card,
.home-view .hub-region-card,
.home-view .hub-stat-card {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

/* ---- HERO ---- */
  display: grid;
  grid-template-columns: 44% 56%;
  gap: 36px;
  align-items: center;
  padding-top: 56px;
  padding-bottom: 40px;
}
.home-view .hub-kicker {
  font-size: 13px; letter-spacing: 3px; color: #ff8a93; text-transform: uppercase;
}
.home-view .hub-title {
  margin: 0; font-size: 58px; line-height: 1.04; font-weight: 800; letter-spacing: 1px;
}
.home-view .hub-title-w { color: #fff; }
.home-view .hub-title-r { color: #ff4655; font-weight: 800; }
.home-view .hub-subtitle {
  margin: 0; display: flex; flex-direction: column; gap: 6px;
  color: #c2c7d4; font-size: 16px;
}
.home-view .hub-subtitle span:last-child { color: #8a90a0; font-size: 14px; }

  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 4px;
}
.home-view .hub-stat-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  padding: 14px 14px;
}
.home-view .hub-stat-card b { font-size: 24px; color: #fff; font-weight: 800; }
.home-view .hub-stat-card em { font-size: 12px; color: #8a90a0; font-style: normal; }
.home-view .hub-stat-icon {
  width: 22px; height: 22px; display: inline-block; border-radius: 6px;
  background: rgba(255, 70, 85, 0.16); position: relative;
}
.home-view .hub-stat-icon::before {
  content: ""; position: absolute; inset: 5px; border-radius: 3px;
  border: 2px solid #ff4655;
}
.home-view .hub-icon-live::before { border-radius: 50%; }
.home-view .hub-icon-players::before { border-radius: 50% 50% 4px 4px; }

.home-view .hub-search { margin-top: 4px; max-width: 100%; }
.home-view .hub-region-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.home-view .hub-chip {
  padding: 6px 14px; border-radius: 999px; font-size: 12px; font-weight: 700;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1);
  color: #c2c7d4; cursor: pointer; transition: all 0.18s ease;
}
.home-view .hub-chip:hover { border-color: rgba(255, 70, 85, 0.5); color: #fff; }

/* focus match card */
.home-view .hub-focus { display: flex; }
.home-view .hub-focus-card {
  width: 100%; padding: 22px; display: flex; flex-direction: column; gap: 18px;
  text-align: left;
}
.home-view button.hub-focus-card { cursor: pointer; color: inherit; }
.home-view .hub-focus-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.home-view .hub-pill {
  padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 800;
  background: rgba(255, 255, 255, 0.08); color: #c2c7d4; letter-spacing: 1px;
}
.home-view .hub-pill.is-live { background: rgba(255, 70, 85, 0.18); color: #ff6b76; }
.home-view .hub-pill.is-muted { opacity: 0.7; }
.home-view .hub-focus-event { display: flex; align-items: center; gap: 8px; color: #c2c7d4; font-size: 13px; }
.home-view .hub-focus-event i { font-style: normal; font-weight: 800; color: #ff4655; font-size: 12px; }
.home-view .hub-focus-body {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px;
  padding: 12px 0;
}
.home-view .hub-team { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.home-view .hub-team strong { color: #fff; font-size: 15px; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-view .hub-team-region { font-style: normal; font-size: 11px; color: #8a90a0; }
.home-view .hub-focus-vs { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.home-view .hub-focus-vs strong { font-size: 30px; font-weight: 800; color: #fff; }
.home-view .hub-focus-vs em { font-style: normal; font-size: 12px; color: #8a90a0; }
.home-view .hub-focus-maps { display: flex; gap: 8px; }
.home-view .hub-map-mini {
  flex: 1; display: flex; flex-direction: column; gap: 2px; align-items: center;
  padding: 6px; border-radius: 8px; background: rgba(255, 255, 255, 0.04);
}
.home-view .hub-map-mini b { font-size: 11px; color: #c2c7d4; }
.home-view .hub-map-mini em { font-style: normal; font-size: 12px; color: #fff; font-weight: 700; }
.home-view .hub-focus-cta,
.home-view .hub-region-cta {
  align-self: flex-start; padding: 9px 18px; border-radius: 10px; cursor: pointer;
  background: #ff4655; border: none; color: #fff; font-weight: 700; font-size: 13px;
  transition: filter 0.18s ease;
}
.home-view .hub-focus-cta:hover,
.home-view .hub-region-cta:hover { filter: brightness(1.1); }
.home-view .hub-focus-card.is-empty { align-items: center; justify-content: center; min-height: 200px; gap: 12px; }
.home-view .hub-focus-empty { color: #8a90a0; font-size: 14px; }

/* ---- Module heading ---- */
.home-view .hub-module { display: flex; flex-direction: column; gap: 18px; }
.home-view .hub-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.home-view .hub-heading h2 {
  margin: 0; font-size: 22px; font-weight: 800; color: #fff; position: relative; padding-left: 14px;
}
.home-view .hub-heading h2::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 4px; height: 20px; border-radius: 2px; background: #ff4655;
}
.home-view .hub-more {
  background: none; border: none; color: #8a90a0; font-size: 13px; cursor: pointer; transition: color 0.18s ease;
}
.home-view .hub-more:hover { color: #ff6b76; }

.home-view .hub-card-hover,
.home-view .hub-mini-match,
.home-view .hub-player-card,
.home-view .hub-region-card {
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.home-view .hub-mini-match:hover,
.home-view .hub-player-card:hover,
.home-view .hub-region-card:hover {
  transform: translateY(-3px); border-color: rgba(255, 70, 85, 0.38);
}

/* ---- Live row + upcoming ---- */
.home-view .hub-live-grid { display: grid; grid-template-columns: 1fr 320px; gap: 32px; align-items: start; }
.home-view .hub-live-col, .home-view .hub-up-col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.home-view .hub-live-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; min-width: 0; max-width: 100%; }
.home-view .hub-mini-match {
  padding: 14px; display: flex; flex-direction: column; gap: 10px; cursor: pointer; color: inherit; text-align: left;
}
.home-view .hub-mini-top { display: flex; align-items: center; gap: 8px; justify-content: space-between; }
.home-view .hub-mini-top em { font-style: normal; font-size: 11px; color: #8a90a0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 120px; }
.home-view .hub-mini-teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
.home-view .hub-mini-teams .hub-team { flex-direction: row; gap: 6px; }
.home-view .hub-mini-teams .hub-team strong { font-size: 13px; max-width: 80px; }
.home-view .hub-mini-teams .hub-team-region { display: none; }
.home-view .hub-mini-score { font-weight: 800; color: #fff; font-size: 15px; }
.home-view .hub-mini-time { font-size: 11px; color: #8a90a0; }
.home-view .hub-mini-empty, .home-view .hub-news-pending p { color: #8a90a0; font-size: 13px; padding: 18px; text-align: center; }

.home-view .hub-upcoming { display: flex; flex-direction: column; gap: 10px; }
.home-view .hub-up-row {
  display: grid; grid-template-columns: auto 1fr auto 1fr; align-items: center; gap: 10px;
  padding: 12px 14px; border-radius: 12px; cursor: pointer; color: inherit; text-align: left;
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.07);
  transition: border-color 0.18s ease;
}
.home-view .hub-up-row:hover { border-color: rgba(255, 70, 85, 0.38); }
.home-view .hub-up-time { font-size: 11px; color: #ff8a93; min-width: 78px; }
.home-view .hub-up-team { color: #fff; font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-view .hub-up-team.is-right { text-align: right; }
.home-view .hub-up-vs { color: #8a90a0; font-size: 11px; }

/* ---- Players ---- */
.home-view .hub-players { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.home-view .hub-player-card {
  padding: 18px 12px; display: flex; flex-direction: column; align-items: center; gap: 8px;
  cursor: pointer; color: inherit; position: relative;
}
.home-view .hub-player-rank {
  position: absolute; top: 10px; left: 10px; width: 22px; height: 22px; border-radius: 7px;
  background: rgba(255, 70, 85, 0.18); color: #ff6b76; font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.home-view .hub-player-name { color: #fff; font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 4px; }
.home-view .hub-player-team { color: #8a90a0; font-size: 12px; }
.home-view .hub-player-stats { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 4px; }
.home-view .hub-player-stats em { font-style: normal; font-size: 11px; color: #8a90a0; }
.home-view .hub-player-stats b { color: #fff; }

/* ---- Crosshair + gear two-col ---- */
.home-view .hub-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.home-view .hub-config-col { display: flex; flex-direction: column; gap: 16px; }
.home-view .hub-crosshairs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.home-view .hub-gear { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.home-view .hub-ch-card, .home-view .hub-gear-card {
  padding: 14px 10px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
}
.home-view .hub-ch-art, .home-view .hub-gear-art {
  width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px; background: rgba(255, 255, 255, 0.05);
}
.home-view .hub-ch-art .line-icon, .home-view .hub-gear-art .line-icon { transform: scale(1.1); }
.home-view .hub-ch-name, .home-view .hub-gear-name { color: #fff; font-size: 13px; font-weight: 700; }
.home-view .hub-ch-pending, .home-view .hub-gear-pending {
  font-size: 11px; color: #ff8a93; padding: 2px 8px; border-radius: 999px; background: rgba(255, 70, 85, 0.1);
}
.home-view .hub-ch-copy {
  width: 100%; padding: 6px; border-radius: 8px; font-size: 12px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.08); color: #5a6072;
}
.home-view .hub-ch-copy.is-disabled { cursor: not-allowed; opacity: 0.6; }

/* ---- Regions / 赛事中心 ---- */
.home-view .hub-regions { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.home-view .hub-region-card {
  padding: 18px 16px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start;
  cursor: pointer; color: inherit; text-align: left; min-height: 190px; overflow: hidden;
}
.home-view .hub-region-cn { background: linear-gradient(160deg, rgba(255, 70, 85, 0.22), rgba(20, 8, 10, 0.6)); }
.home-view .hub-region-pacific { background: linear-gradient(160deg, rgba(60, 110, 255, 0.22), rgba(8, 12, 24, 0.6)); }
.home-view .hub-region-americas { background: linear-gradient(160deg, rgba(255, 150, 40, 0.22), rgba(24, 14, 6, 0.6)); }
.home-view .hub-region-emea { background: linear-gradient(160deg, rgba(40, 200, 120, 0.2), rgba(6, 20, 14, 0.6)); }
.home-view .hub-region-champions { background: linear-gradient(160deg, rgba(200, 160, 60, 0.22), rgba(18, 14, 6, 0.7)); }
.home-view .hub-region-tag { font-size: 11px; font-weight: 800; letter-spacing: 1px; color: #fff; opacity: 0.8; }
.home-view .hub-region-name { color: #fff; font-size: 16px; }
.home-view .hub-region-stage { font-size: 12px; color: #fff; opacity: 0.85; }
.home-view .hub-region-city { font-size: 12px; color: rgba(255, 255, 255, 0.7); }
.home-view .hub-region-dates { font-size: 11px; color: rgba(255, 255, 255, 0.6); }
.home-view .hub-region-card .hub-region-cta { margin-top: auto; }

/* ---- 3-col data row ---- */
.home-view .hub-three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.home-view .hub-data-col {
  display: flex; flex-direction: column; gap: 14px; padding: 18px;
  background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.07); border-radius: 16px;
}
.home-view .hub-standings, .home-view .hub-recent { display: flex; flex-direction: column; gap: 8px; }
.home-view .hub-standing-row {
  display: grid; grid-template-columns: auto auto 1fr auto auto; align-items: center; gap: 8px;
  padding: 8px 6px; border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.home-view .hub-standing-rank { width: 20px; color: #ff6b76; font-weight: 800; font-size: 13px; }
.home-view .hub-standing-name { color: #fff; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-view .hub-standing-region { font-size: 11px; color: #8a90a0; }
.home-view .hub-standing-win { font-size: 13px; color: #fff; font-weight: 700; }
.home-view .hub-recent-row { padding: 8px 6px; border-radius: 10px; cursor: pointer; color: inherit; text-align: left; background: none; border: none; display: flex; flex-direction: column; gap: 4px; }
.home-view .hub-recent-row:hover { background: rgba(255, 255, 255, 0.04); }
.home-view .hub-recent-event { font-size: 11px; color: #8a90a0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-view .hub-recent-line { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
.home-view .hub-recent-team { color: #fff; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-view .hub-recent-team.is-right { text-align: right; }
.home-view .hub-recent-score { color: #ff6b76; font-weight: 800; font-size: 13px; }
.home-view .hub-news-pending { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 20px; }
.home-view .hub-news-icon { width: 34px; height: 34px; border-radius: 8px; background: rgba(255, 255, 255, 0.05); }

/* ---- APP banner ---- */
.home-view .hub-app-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 28px 32px; border-radius: 18px;
  background: linear-gradient(120deg, rgba(255, 70, 85, 0.14), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.home-view .hub-app-copy { display: flex; flex-direction: column; gap: 10px; }
.home-view .hub-app-copy h2 { margin: 0; color: #fff; font-size: 22px; }
.home-view .hub-app-copy p { margin: 0; color: #c2c7d4; font-size: 14px; max-width: 560px; }
.home-view .hub-app-btns { display: flex; gap: 12px; margin-top: 4px; }
.home-view .hub-app-btn {
  padding: 10px 22px; border-radius: 10px; font-size: 13px; font-weight: 700;
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); color: #8a90a0;
}
.home-view .hub-app-btn.is-disabled { cursor: not-allowed; opacity: 0.6; }
.home-view .hub-app-art { display: flex; gap: 8px; }
.home-view .hub-app-art span { width: 44px; height: 80px; border-radius: 10px; background: rgba(255, 255, 255, 0.06); }

/* ---- Footer ---- */
.home-view .hub-footer {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 24px;
  padding: 36px 0 8px; border-top: 1px solid rgba(255, 255, 255, 0.08); margin-top: 12px;
}
.home-view .hub-footer-col { display: flex; flex-direction: column; gap: 8px; }
.home-view .hub-footer-col strong { color: #fff; font-size: 14px; margin-bottom: 4px; }
.home-view .hub-footer-col a { color: #8a90a0; font-size: 13px; text-decoration: none; }
.home-view .hub-footer-col a:hover { color: #ff6b76; }
.home-view .hub-footer-brand p { color: #8a90a0; font-size: 12px; margin: 0; }
.home-view .hub-social-icons { display: flex; gap: 8px; }
.home-view .hub-social-icons i { width: 28px; height: 28px; border-radius: 8px; background: rgba(255, 255, 255, 0.06); }
.home-view .hub-footer-beian { font-size: 11px; color: #6a7080 !important; }
.home-view .hub-footer-social p { font-size: 11px; color: #6a7080; margin: 4px 0 0; }

/* ---- Mobile ≤720px ---- */
@media (max-width: 720px) {
  .home-view .hub-title { font-size: 40px; }
  .home-view .hub-focus { width: 100%; }
  .home-view .hub-live-grid { grid-template-columns: 1fr; }
  .home-view .hub-live-row { grid-auto-flow: column; grid-auto-columns: minmax(0, 78%); grid-template-columns: none; overflow-x: auto; overscroll-behavior-inline: contain; padding-bottom: 6px; scroll-snap-type: x mandatory; }
  .home-view .hub-live-row .hub-mini-match { scroll-snap-align: start; }
  .home-view .hub-players { grid-auto-flow: column; grid-auto-columns: 46%; grid-template-columns: none; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
  .home-view .hub-players .hub-player-card { scroll-snap-align: start; }
  .home-view .hub-two-col { grid-template-columns: 1fr; }
  .home-view .hub-crosshairs { grid-template-columns: repeat(2, 1fr); }
  .home-view .hub-gear { grid-template-columns: repeat(2, 1fr); }
  .home-view .hub-regions { grid-auto-flow: column; grid-auto-columns: 70%; grid-template-columns: none; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
  .home-view .hub-regions .hub-region-card { scroll-snap-align: start; }
  .home-view .hub-three-col { grid-template-columns: 1fr; }
  .home-view .hub-app-inner { flex-direction: column; align-items: flex-start; }
  .home-view .hub-app-art { display: none; }
  .home-view .hub-footer { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1024px) {
  .home-view .hero-inner, .home-view .light-section > .content-wrap { padding: 0 24px; }
  .home-view .hub-players { grid-template-columns: repeat(3, 1fr); }
  .home-view .hub-regions { grid-template-columns: repeat(3, 1fr); }
}

/* ===================================================================
   选手页 (players page) — 黑红电竞风，作用域限定 .pl-view
   =================================================================== */
.pl-view {
  --pl-red: #FF4655;
  --pl-text: #F5F5F7;
  --pl-muted: #9AA1AD;
  --pl-faint: #6F7683;
  --pl-card: rgba(255, 255, 255, 0.045);
  --pl-border: rgba(255, 255, 255, 0.08);
  position: relative;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(5, 6, 8, 0.1) 0%, #050608 660px),
    var(--asset-home-bg, url("/public/images/home-bg.png?v=20260612d")) top center / 100% auto no-repeat,
    radial-gradient(1100px 520px at 78% -8%, rgba(255, 70, 85, 0.16), transparent 60%),
    radial-gradient(900px 600px at 12% 6%, rgba(28, 42, 86, 0.45), transparent 60%),
    #050608;
  color: var(--pl-text);
  padding-bottom: 64px;
  overflow-x: hidden;
}
.pl-view .content-wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.pl-view.is-hidden { display: none; }
.pl-view .is-hidden { display: none !important; }
.pl-view .pl-muted { color: var(--pl-faint); }

/* §4 Hero */
.pl-hero { position: relative; overflow: hidden; }
.pl-hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(180deg, rgba(5, 6, 8, 0.24) 0%, rgba(5, 6, 8, 0.86) 92%),
    var(--asset-home-bg, url("/public/images/home-bg.png?v=20260612d")),
    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: cover, 100% auto, 46px 46px, 46px 46px;
  background-position: center, top center, center, center;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 92%);
          mask-image: linear-gradient(180deg, #000 0%, transparent 92%);
  opacity: 0.82;
}
.pl-hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 32px; align-items: center;
  min-height: 320px; padding-top: 40px; padding-bottom: 40px;
}
.pl-hero-title { font-size: clamp(30px, 4vw, 46px); font-weight: 800; letter-spacing: 0.5px; margin: 0 0 12px; }
.pl-hero-sub { color: var(--pl-muted); font-size: 16px; margin: 0 0 24px; }
.pl-search {
  display: flex; align-items: center; gap: 10px; max-width: 460px;
  background: rgba(0, 0, 0, 0.35); border: 1px solid var(--pl-border);
  border-radius: 12px; padding: 12px 16px; transition: border-color 0.2s, box-shadow 0.2s;
}
.pl-search:focus-within { border-color: rgba(255, 70, 85, 0.55); box-shadow: 0 0 0 3px rgba(255, 70, 85, 0.12); }
.pl-search-icon {
  width: 16px; height: 16px; flex: 0 0 auto; border: 2px solid var(--pl-faint);
  border-radius: 50%; position: relative;
}
.pl-search-icon::after { content: ""; position: absolute; right: -5px; bottom: -4px; width: 7px; height: 2px; background: var(--pl-faint); transform: rotate(45deg); }
.pl-search input { flex: 1; background: transparent; border: 0; outline: 0; color: var(--pl-text); font-size: 15px; }
.pl-search input::placeholder { color: var(--pl-faint); }
.pl-hero-visual {
  position: relative; height: 260px; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--pl-border);
  background:
    radial-gradient(420px 220px at 72% 22%, rgba(255, 70, 85, 0.30), transparent 62%),
    radial-gradient(360px 260px at 18% 82%, rgba(46, 92, 220, 0.30), transparent 60%),
    linear-gradient(160deg, #0b0e16, #050608);
}
.pl-hero-visual::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 34px 34px; opacity: 0.6;
}
.pl-hero-visual::after {
  content: ""; position: absolute; inset: 0; opacity: 0.5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

/* body */
.pl-body { padding-top: 28px; min-width: 0; }
.pl-section { margin-top: 40px; min-width: 0; }
.pl-section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.pl-section-head h2 { font-size: 22px; font-weight: 700; margin: 0; }
.pl-more {
  background: none; border: 0; color: var(--pl-muted); font-size: 14px; cursor: pointer;
  padding: 4px 2px; transition: color 0.2s;
}
.pl-more:hover { color: var(--pl-red); }
.pl-more.is-disabled, .pl-more:disabled { color: var(--pl-faint); cursor: default; opacity: 0.6; }
.pl-page-info { color: var(--pl-faint); font-size: 13px; }

/* §5 Type tabs */
.pl-tabs { display: flex; gap: 28px; border-bottom: 1px solid var(--pl-border); margin-bottom: 22px; }
.pl-tabs button {
  position: relative; background: none; border: 0; color: var(--pl-muted);
  font-size: 16px; font-weight: 600; padding: 12px 2px; cursor: pointer; transition: color 0.2s;
}
.pl-tabs button:hover { color: var(--pl-text); }
.pl-tabs button.is-active { color: var(--pl-text); }
.pl-tabs button.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--pl-red); border-radius: 2px;
}

/* §6-7 Filter row */
.pl-filter-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.pl-region-pills { display: flex; gap: 10px; flex-wrap: wrap; }
.pl-region-pill {
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--pl-border);
  color: var(--pl-muted); font-size: 13px; padding: 8px 16px; border-radius: 999px;
  cursor: pointer; white-space: nowrap; transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.pl-region-pill:hover { border-color: rgba(255, 70, 85, 0.4); color: var(--pl-text); }
.pl-region-pill.is-active { border-color: var(--pl-red); color: #fff; background: rgba(255, 70, 85, 0.12); }
.pl-filter-tools { display: flex; align-items: center; gap: 10px; }
.pl-select select {
  background: rgba(0, 0, 0, 0.35); border: 1px solid var(--pl-border); color: var(--pl-text);
  font-size: 13px; padding: 9px 14px; border-radius: 10px; cursor: pointer; outline: none;
}
.pl-select select option { background: #0b0e16; color: var(--pl-text); }
.pl-view-toggle { display: flex; gap: 4px; background: rgba(0, 0, 0, 0.3); border: 1px solid var(--pl-border); border-radius: 10px; padding: 3px; }
.pl-view-toggle button {
  display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 30px;
  background: none; border: 0; border-radius: 7px; cursor: pointer; color: var(--pl-faint); transition: background 0.2s, color 0.2s;
}
.pl-view-toggle button.is-active { background: rgba(255, 70, 85, 0.16); color: var(--pl-red); }
.pl-ic-grid, .pl-ic-list { display: block; width: 14px; height: 14px; position: relative; }
.pl-ic-grid { background:
  linear-gradient(currentColor, currentColor) 0 0/6px 6px no-repeat,
  linear-gradient(currentColor, currentColor) 8px 0/6px 6px no-repeat,
  linear-gradient(currentColor, currentColor) 0 8px/6px 6px no-repeat,
  linear-gradient(currentColor, currentColor) 8px 8px/6px 6px no-repeat; }
.pl-ic-list { background:
  linear-gradient(currentColor, currentColor) 0 1px/14px 2px no-repeat,
  linear-gradient(currentColor, currentColor) 0 6px/14px 2px no-repeat,
  linear-gradient(currentColor, currentColor) 0 11px/14px 2px no-repeat; }

/* §8 Top pros */
.pl-pros-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; min-width: 0; max-width: 100%; }
.pl-pro-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  min-height: 400px; padding: 22px 16px 20px; border-radius: 16px;
  background: var(--pl-card); border: 1px solid var(--pl-border); color: var(--pl-text);
  cursor: pointer; position: relative; transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.pl-pro-card:hover { transform: translateY(-3px); border-color: rgba(255, 70, 85, 0.4); }
.pl-pro-card.is-featured { border-color: rgba(255, 70, 85, 0.6); box-shadow: 0 0 0 1px rgba(255, 70, 85, 0.4), 0 18px 50px -24px rgba(255, 70, 85, 0.55); }
.pl-pro-rank {
  position: absolute; top: 14px; left: 14px; min-width: 26px; height: 26px; padding: 0 7px;
  display: inline-flex; align-items: center; justify-content: center; border-radius: 8px;
  background: rgba(0, 0, 0, 0.45); border: 1px solid var(--pl-border); color: var(--pl-muted); font-size: 13px; font-weight: 700;
}
.pl-pro-card.is-featured .pl-pro-rank { background: var(--pl-red); border-color: var(--pl-red); color: #fff; }
.pl-pro-avatar {
  width: 120px; height: 120px; border-radius: 50%; overflow: hidden; margin: 8px 0 16px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--pl-border);
}
.pl-pro-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.pl-pro-name { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.pl-pro-team { display: inline-flex; align-items: center; gap: 8px; color: var(--pl-muted); font-size: 14px; min-height: 22px; margin-bottom: 6px; }
.pl-pro-team-name { max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl-pro-region { color: var(--pl-faint); font-size: 13px; margin-bottom: 18px; }
.pl-pro-cta {
  margin-top: auto; display: inline-flex; align-items: center; justify-content: center;
  padding: 9px 22px; border-radius: 10px; font-size: 13px; font-weight: 600;
  background: rgba(255, 70, 85, 0.12); border: 1px solid rgba(255, 70, 85, 0.4); color: #fff;
}
.pl-pro-card:hover .pl-pro-cta { background: var(--pl-red); border-color: var(--pl-red); }

/* avatar fallback shells */
.pl-view .player-avatar-fallback { width: 100%; height: 100%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.06); }
.pl-view .player-avatar-fallback svg { width: 58%; height: 58%; fill: none; stroke: var(--pl-faint); stroke-width: 2.4; }

/* §9 Streamers placeholder */
.pl-streamers-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; min-width: 0; max-width: 100%; }
.pl-streamer-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 26px 18px; border-radius: 16px; background: var(--pl-card);
  border: 1px dashed var(--pl-border); min-height: 220px;
}
.pl-streamer-avatar { width: 72px; height: 72px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); margin-bottom: 16px; }
.pl-streamer-title { font-size: 16px; color: var(--pl-text); margin-bottom: 10px; }
.pl-streamer-sub { font-size: 13px; color: var(--pl-faint); line-height: 1.5; margin: 0 0 18px; max-width: 240px; }
.pl-streamer-soon {
  margin-top: auto; padding: 8px 18px; border-radius: 10px; font-size: 13px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--pl-border); color: var(--pl-faint); cursor: not-allowed;
}

/* §10 Table */
.pl-table-wrap { overflow-x: auto; max-width: 100%; min-width: 0; border: 1px solid var(--pl-border); border-radius: 16px; background: var(--pl-card); overscroll-behavior-inline: contain; }
.pl-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.pl-table thead th {
  text-align: left; font-size: 12px; font-weight: 600; letter-spacing: 0.4px; text-transform: uppercase;
  color: var(--pl-faint); padding: 14px 18px; border-bottom: 1px solid var(--pl-border); white-space: nowrap;
}
.pl-table tbody td { padding: 12px 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); font-size: 14px; color: var(--pl-text); vertical-align: middle; }
.pl-table tbody tr:last-child td { border-bottom: 0; }
.pl-table-row { cursor: pointer; transition: background 0.15s; }
.pl-table-row:hover { background: rgba(255, 70, 85, 0.06); }
.pl-td-player { display: inline-flex; align-items: center; gap: 12px; }
.pl-td-avatar { width: 38px; height: 38px; border-radius: 50%; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.06); flex: 0 0 auto; }
.pl-td-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.pl-td-name { font-weight: 600; }
.pl-td-team { display: inline-flex; align-items: center; gap: 8px; }
.pl-td-team span { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl-region-badge { display: inline-flex; padding: 4px 11px; border-radius: 7px; font-size: 12px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--pl-border); color: var(--pl-muted); }
.pl-row-btn {
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--pl-border); color: var(--pl-text);
  font-size: 13px; padding: 7px 16px; border-radius: 9px; cursor: pointer; white-space: nowrap; transition: background 0.2s, border-color 0.2s;
}
.pl-row-btn:hover { background: var(--pl-red); border-color: var(--pl-red); color: #fff; }
.pl-empty { text-align: center; padding: 48px 16px; color: var(--pl-muted); }
.pl-empty strong { display: block; font-size: 17px; color: var(--pl-text); margin-bottom: 8px; }
.pl-empty p { margin: 0; font-size: 14px; color: var(--pl-faint); }
.pl-discover-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.pl-discover-card {
  min-width: 0;
  min-height: 178px;
  padding: 16px 12px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  border: 1px solid var(--pl-border);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .024));
  color: var(--pl-text);
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.pl-discover-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 70, 85, .42);
  background: linear-gradient(180deg, rgba(255, 70, 85, .08), rgba(255, 255, 255, .028));
}
.pl-discover-avatar {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
}
.pl-discover-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.pl-discover-name {
  max-width: 100%;
  color: #fff;
  font-size: 15px;
  font-weight: 760;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pl-discover-team {
  max-width: 100%;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--pl-muted);
  font-size: 12px;
}
.pl-discover-team .match-team-badge { width: 22px !important; height: 22px !important; flex-basis: 22px !important; }
.pl-discover-team em { max-width: 92px; font-style: normal; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl-discover-team.is-empty { color: var(--pl-faint); }
.pl-pager { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 22px; }
.pl-pager-btn { background: rgba(255, 255, 255, 0.05); border: 1px solid var(--pl-border); color: var(--pl-text); font-size: 13px; padding: 8px 18px; border-radius: 9px; cursor: pointer; }
.pl-pager-btn:disabled { opacity: 0.4; cursor: default; }
.pl-pager-btn:not(:disabled):hover { border-color: rgba(255, 70, 85, 0.5); }
.pl-pager-info { color: var(--pl-faint); font-size: 13px; }
/* list-view mode: emphasise the table, hide the card grid above */
.pl-list-mode .pl-table { min-width: 640px; }

/* footer keeps home styling; ensure dark bg fits */
.pl-footer { margin-top: 56px; }

/* §15 Mobile */
@media (max-width: 900px) {
  .pl-hero-inner { grid-template-columns: 1fr; min-height: auto; gap: 22px; }
  .pl-hero-visual { height: 180px; }
  .pl-pros-grid { grid-auto-flow: column; grid-auto-columns: minmax(0, 78%); grid-template-columns: none; overflow-x: auto; overscroll-behavior-inline: contain; gap: 12px; padding-bottom: 8px; scroll-snap-type: x mandatory; }
  .pl-pros-grid .pl-pro-card { scroll-snap-align: start; min-height: 360px; }
  .pl-streamers-grid { grid-auto-flow: column; grid-auto-columns: minmax(0, 72%); grid-template-columns: none; overflow-x: auto; overscroll-behavior-inline: contain; gap: 12px; padding-bottom: 8px; scroll-snap-type: x mandatory; }
  .pl-streamers-grid .pl-streamer-card { scroll-snap-align: start; }
  .pl-filter-row { flex-direction: column; align-items: stretch; min-width: 0; }
  .pl-region-pills { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; min-width: 0; max-width: 100%; -webkit-overflow-scrolling: touch; }
  .pl-filter-tools { justify-content: space-between; min-width: 0; }
  .pl-discover-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .pl-view .content-wrap { padding-left: 16px; padding-right: 16px; }
  .pl-tabs { gap: 20px; }
  .pl-discover-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pl-discover-card { min-height: 160px; padding: 14px 10px; }
}

/* ====================================================================
   Phase D — 首页素材接入 (Hero bg / 焦点对决 versus bg / 赛事中心 横向卡片)
   每一层图片都叠在原有深色渐变之上：webp 缺失时自动回退到渐变，不会破版。
   素材目录：/assets/home/  (hero-bg.webp, match-card-bg.webp, event-*.webp)
   ==================================================================== */

/* ---- §二 Hero 微弱背景图 ---- */

/* ---- §三 焦点对决卡片 红/蓝 versus 背景（原图） ---- */
.home-view .hub-focus-card { position: relative; overflow: hidden; isolation: isolate; }
.home-view .hub-focus-card::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: var(--asset-match-card-bg, url("/assets/home/match-card-bg-opt.jpg"));
  background-size: cover; background-position: center;
}
.home-view .hub-focus-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  display: none;
}
.home-view .hub-focus-card.is-empty::before,
.home-view .hub-focus-card.is-empty::after { opacity: 0.25; }

/* ---- §五~§八 赛事中心 横向卡片 carousel ---- */
.home-view .hub-events-viewport { position: relative; }
.home-view .hub-regions {
  display: flex; gap: 16px; grid-template-columns: none;
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px 2px 12px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.home-view .hub-regions::-webkit-scrollbar { display: none; }
.home-view .hub-regions .hub-region-card {
  flex: 0 0 calc((100% - 48px) / 4);   /* 桌面端最多同屏 4 张 (3 个间距×16px) */
  scroll-snap-align: start;
  min-height: 230px; max-height: 250px;
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: 16px; justify-content: flex-end; gap: 6px;
}
/* 每个赛区一个底色兜底，图片缺失也保持主题 */
.home-view .evt-bg-cn { background: linear-gradient(160deg, rgba(255,70,85,0.32), rgba(20,8,10,0.88)); }
.home-view .evt-bg-pacific { background: linear-gradient(160deg, rgba(60,110,255,0.3), rgba(8,12,24,0.88)); }
.home-view .evt-bg-americas { background: linear-gradient(160deg, rgba(255,150,40,0.3), rgba(24,14,6,0.88)); }
.home-view .evt-bg-emea { background: linear-gradient(160deg, rgba(40,200,120,0.28), rgba(6,20,14,0.88)); }
.home-view .evt-bg-masters-santiago { background: linear-gradient(160deg, rgba(0,180,200,0.3), rgba(6,18,22,0.88)); }
.home-view .evt-bg-masters-london { background: linear-gradient(160deg, rgba(150,120,255,0.3), rgba(12,8,24,0.88)); }
.home-view .evt-bg-champions { background: linear-gradient(160deg, rgba(200,160,60,0.32), rgba(18,14,6,0.9)); }
/* 裁切后的赛事图 */
.home-view .hub-region-card.evt-bg::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  transition: transform 0.25s ease;
}
.home-view .hub-region-card.evt-bg::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(8,9,13,0.08) 0%, rgba(8,9,13,0.5) 52%, rgba(8,9,13,0.92) 100%);
}
.home-view .hub-region-card.evt-bg:hover::before { transform: scale(1.05); }
.home-view .evt-bg-cn::before { background-image: var(--asset-event-cn, url("assets/home/event-cn.webp")); }
.home-view .evt-bg-pacific::before { background-image: var(--asset-event-pacific, url("assets/home/event-pacific.webp")); }
.home-view .evt-bg-americas::before { background-image: var(--asset-event-americas, url("assets/home/event-americas.webp")); }
.home-view .evt-bg-emea::before { background-image: var(--asset-event-emea, url("assets/home/event-emea.webp")); }
.home-view .evt-bg-masters-santiago::before { background-image: var(--asset-event-masters-santiago, url("assets/home/event-masters-santiago.webp")); }
.home-view .evt-bg-masters-london::before { background-image: var(--asset-event-masters-london, url("assets/home/event-masters-london.webp")); }
.home-view .evt-bg-champions::before { background-image: var(--asset-event-champions, url("assets/home/event-champions.webp")); }
/* 卡片底部信息条 */
.home-view .hub-region-foot {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between;
  gap: 8px; width: 100%;
}
.home-view .hub-region-status {
  font-style: normal; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px;
}
.home-view .hub-region-status.is-live { background: rgba(255,70,85,0.22); color: #ff6b76; }
.home-view .hub-region-status.is-soon { background: rgba(255,255,255,0.14); color: #d7dbe6; }
.home-view .hub-region-status.is-done { background: rgba(255,255,255,0.08); color: #9aa0b0; }
.home-view .hub-region-card .hub-region-foot .hub-region-cta { margin-top: 0; padding: 7px 14px; }

/* 左右箭头 */
.home-view .hub-events-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(255,255,255,0.18); background: rgba(15,16,22,0.82);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.home-view .hub-events-arrow:hover { background: #ff4655; border-color: #ff4655; }
.home-view .hub-events-arrow.is-prev { left: -6px; }
.home-view .hub-events-arrow.is-next { right: -6px; }
.home-view .hub-events-arrow::before {
  content: ""; width: 9px; height: 9px; border-top: 2px solid #fff; border-right: 2px solid #fff;
}
.home-view .hub-events-arrow.is-prev::before { transform: rotate(-135deg); margin-left: 4px; }
.home-view .hub-events-arrow.is-next::before { transform: rotate(45deg); margin-right: 4px; }
.home-view .hub-events-viewport.at-start .is-prev,
.home-view .hub-events-viewport.at-end .is-next,
.home-view .hub-events-viewport.no-scroll .hub-events-arrow { opacity: 0; pointer-events: none; }

/* 赛事中心卡片在中等屏 ≤3、移动端 1.3 张 */
@media (max-width: 1024px) {
  .home-view .hub-regions .hub-region-card { flex: 0 0 calc((100% - 32px) / 3); }
}
@media (max-width: 720px) {
  .home-view .hub-regions { grid-auto-flow: unset; grid-auto-columns: unset; }
  .home-view .hub-regions .hub-region-card { flex: 0 0 76%; min-height: 210px; }
  .home-view .hub-events-arrow { display: none; }
}


/* Featured Banner Carousel */
.featured-carousel-wrap {
  width: 100%;
  max-width: 1200px;
  margin: -96px auto 28px;
  padding: 0 24px;
  position: relative;
  z-index: 5;
}
.featured-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 1440 / 320;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(135deg, #0B0B0F 0%, #12141a 100%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.featured-track {
  display: flex;
  transition: transform 600ms ease;
  height: 100%;
  width: 100%;
}
.featured-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0B0B0F 0%, #12141a 100%);
}
.featured-slide a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.featured-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.featured-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.7);
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
  backdrop-filter: blur(8px);
  line-height: 1;
}
.featured-nav:hover {
  background: rgba(255,255,255,0.22);
  color: #fff;
}
.featured-nav.prev { left: 16px; }
.featured-nav.next { right: 16px; }
.featured-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.featured-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  transition: background 0.3s ease;
  padding: 0;
}
.featured-dot.active { background: #FF4655; }
.featured-dot:hover { background: rgba(255,255,255,0.5); }
@media (max-width: 720px) {
  .featured-carousel-wrap { margin-top: -44px; border-radius: 0; }
  .featured-carousel { border-radius: 18px; }
  .featured-nav { width: 36px; height: 36px; font-size: 18px; }
  .featured-nav.prev { left: 10px; }
  .featured-nav.next { right: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .featured-track { transition: none; }
}

/* ===================================================================
 *  VCT 全球赛事中心（赛事页重构 · 2026-06-11b）
 *  视觉参考：VLR.GG + Valorant Esports 官网（Apple / Linear 质感）
 *  令牌：bg #050505 / #070707 / #0A0A0A · 强调 #FF4655
 *        卡片 border rgba(255,255,255,.06) · bg rgba(255,255,255,.02)
 *        backdrop blur(16px) · radius 20px · hover translateY(-4px) 300ms
 * =================================================================== */
.vct-page {
  --vct-bg: #050505;
  --vct-bg-2: #070707;
  --vct-bg-3: #0a0a0a;
  --vct-accent: #ff4655;
  --vct-card-bd: rgba(255, 255, 255, .06);
  --vct-card-bg: rgba(255, 255, 255, .02);
  --vct-radius: 20px;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.08) 0%, var(--vct-bg) 660px),
    var(--asset-home-bg, url("/public/images/home-bg.png?v=20260612d")) top center / 100% auto no-repeat,
    var(--vct-bg);
  color: #f3f4f6;
  min-height: 100vh;
}
.vct-page .content-wrap { max-width: 1280px; margin: 0 auto; padding: 0 28px; }
.vct-card,
.vct-region-card,
.vct-intl-card,
.vct-recent-card,
.vct-focus-card,
.vct-asset-card {
  border: 1px solid var(--vct-card-bd);
  background: var(--vct-card-bg);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-radius: var(--vct-radius);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

/* ============================ 一、Hero ============================ */
.vct-hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}
.vct-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.96) 0%, rgba(5, 5, 5, 0.78) 43%, rgba(5, 5, 5, 0.48) 100%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.1) 0%, #050505 100%),
    var(--asset-home-bg, url("/public/images/home-bg.png?v=20260612d")) top center / 100% auto no-repeat,
    radial-gradient(900px 500px at 12% 18%, rgba(255, 70, 85, .18), transparent 60%),
    radial-gradient(700px 420px at 88% 80%, rgba(255, 70, 85, .08), transparent 60%),
    linear-gradient(180deg, #070707 0%, #050505 100%);
}
.vct-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 40% 60%;
  align-items: center;
  gap: 48px;
  width: 100%;
  padding-top: 56px;
  padding-bottom: 56px;
}
.vct-hero-copy { display: flex; flex-direction: column; gap: 20px; }
.vct-kicker {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--vct-accent);
  background: rgba(255, 70, 85, .1);
  border: 1px solid rgba(255, 70, 85, .3);
  border-radius: 999px;
}
.vct-hero-title {
  margin: 0;
  font-size: 60px;
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -.01em;
  background: linear-gradient(180deg, #fff 0%, #c9ccd2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.vct-hero-sub { margin: 0; max-width: 460px; color: #9aa0aa; font-size: 16px; line-height: 1.7; }
.vct-hero-stats { display: flex; gap: 36px; margin-top: 4px; }
.vct-stat { display: flex; flex-direction: column; gap: 4px; }
.vct-stat b { font-size: 34px; font-weight: 800; color: #fff; line-height: 1; }
.vct-stat em { font-style: normal; font-size: 13px; color: #8b909a; letter-spacing: .04em; }
.vct-hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
.vct-hero-cta {
  appearance: none;
  border: none;
  cursor: pointer;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  border-radius: 12px;
  background: linear-gradient(135deg, #ff4655 0%, #c3162a 100%);
  box-shadow: 0 8px 24px rgba(255, 70, 85, .28);
  transition: transform .25s ease, box-shadow .25s ease;
}
.vct-hero-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(255, 70, 85, .4); }
.vct-hero-source { font-size: 12px; color: #6f747e; }

/* Hero 右侧赛季时间线卡片 */
.vct-hero-board {
  position: relative;
  padding: 32px 28px 26px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: rgba(8, 8, 8, .55);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  border-radius: 24px;
}
.vct-roadmap { position: relative; }
.vct-tl-track {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
}
.vct-tl-phase {
  position: relative;
  flex: 1 0 0;
  min-width: 110px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 12px 18px;
  text-align: center;
}
.vct-tl-phase::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  transform: translateX(-50%);
  background: var(--dot, var(--vct-accent));
  box-shadow: 0 0 0 4px rgba(255, 70, 85, .12), 0 0 14px var(--dot, var(--vct-accent));
}
.vct-tl-phase.is-red { --dot: #ff4655; }
.vct-tl-phase.is-purple { --dot: #9b6bff; }
.vct-tl-phase.is-blue { --dot: #19c3d6; }
.vct-tl-phase.is-gold { --dot: #f5c451; }
.vct-tl-phase strong { font-size: 13px; font-weight: 700; color: #fff; line-height: 1.3; }
.vct-tl-phase span { font-size: 11px; color: #8b909a; }
.vct-tl-phase em { font-style: normal; font-size: 11px; color: #6f747e; }
.vct-tl-arrow { align-self: center; color: rgba(255, 255, 255, .25); font-size: 18px; padding: 0 2px; }
.vct-tl-line {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 21px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 70, 85, .4), rgba(255, 255, 255, .14), rgba(255, 70, 85, .4), transparent);
}
.vct-region-legend { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 22px; justify-content: center; }
.vct-legend-item { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: #9aa0aa; font-weight: 600; }
.vct-legend-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--c, #ff4655); box-shadow: 0 0 8px var(--c, #ff4655); }

/* ============================ 通用区块 ============================ */
.vct-body { display: flex; flex-direction: column; gap: 56px; padding: 56px 28px 80px; }
.vct-block { display: flex; flex-direction: column; gap: 22px; }
.vct-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.vct-block-head h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.01em;
}
.vct-block-head h2::before {
  content: "";
  width: 4px;
  height: 22px;
  border-radius: 2px;
  background: linear-gradient(180deg, #ff4655, #c3162a);
}
.vct-head-link {
  appearance: none;
  border: none;
  background: none;
  cursor: pointer;
  color: #8b909a;
  font-size: 13px;
  font-weight: 600;
  transition: color .2s ease;
}
.vct-head-link:hover { color: var(--vct-accent); }
.vct-live-tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  color: #fff;
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--vct-accent);
  box-shadow: 0 0 14px rgba(255, 70, 85, .6);
  animation: vct-pulse 1.6s ease-in-out infinite;
}
@keyframes vct-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
.vct-empty,
.vct-region-empty {
  padding: 40px 20px;
  text-align: center;
  color: #6f747e;
  font-size: 14px;
  border: 1px dashed rgba(255, 255, 255, .08);
  border-radius: 16px;
  background: rgba(255, 255, 255, .015);
}
.vct-skeleton { display: flex; flex-direction: column; gap: 12px; }
.vct-skeleton-row {
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .07), rgba(255, 255, 255, .03));
  background-size: 200% 100%;
  animation: vct-shimmer 1.4s ease-in-out infinite;
}
@keyframes vct-shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ============================ 二、今日赛事 ============================ */
.vct-today-grid { display: grid; grid-template-columns: 65% 35%; gap: 20px; align-items: stretch; }
.vct-focus-card {
  position: relative;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  overflow: hidden;
  cursor: pointer;
  background:
    linear-gradient(135deg, rgba(255, 70, 85, .16) 0%, rgba(25, 60, 120, .22) 100%),
    rgba(255, 255, 255, .02);
}
.vct-focus-card.is-finished { background: linear-gradient(135deg, rgba(120, 60, 70, .14) 0%, rgba(40, 40, 50, .2) 100%), rgba(255, 255, 255, .02); }
.vct-focus-card:hover { transform: translateY(-4px); border-color: rgba(255, 70, 85, .35); box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
.vct-focus-overlay { position: absolute; inset: 0; background: radial-gradient(600px 300px at 80% 10%, rgba(255, 70, 85, .12), transparent 70%); pointer-events: none; }
.vct-focus-head { position: relative; z-index: 1; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.vct-focus-meta { display: flex; flex-direction: column; gap: 5px; }
.vct-focus-event { font-size: 15px; font-weight: 700; color: #fff; }
.vct-focus-stage { font-size: 12px; color: #9aa0aa; }
.vct-focus-pill { font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; color: #cfd3da; background: rgba(255, 255, 255, .08); }
.vct-focus-pill.is-live { color: #fff; background: var(--vct-accent); box-shadow: 0 0 14px rgba(255, 70, 85, .5); }
.vct-focus-board { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; padding: 12px 0; }
.vct-focus-team { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.vct-focus-team strong { font-size: 18px; font-weight: 800; color: #fff; }
.vct-focus-team .team-badge,
.vct-focus-team .team-logo { width: 64px; height: 64px; }
.vct-focus-score { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.vct-focus-score strong { font-size: 42px; font-weight: 800; color: #fff; letter-spacing: .02em; }
.vct-focus-score span { font-size: 12px; color: #9aa0aa; }
.vct-focus-foot { position: relative; z-index: 1; display: flex; justify-content: center; }
.vct-focus-watch {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  padding: 9px 20px;
  border-radius: 10px;
  background: rgba(255, 70, 85, .9);
}
.vct-focus-card.is-finished .vct-focus-watch { background: rgba(255, 255, 255, .1); }

.vct-today-rows { display: flex; flex-direction: column; gap: 10px; }
.vct-today-row {
  appearance: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  text-align: left;
  border: 1px solid var(--vct-card-bd);
  background: rgba(255, 255, 255, .02);
  border-radius: 14px;
  transition: border-color .25s ease, background .25s ease;
}
.vct-today-row:hover { border-color: rgba(255, 70, 85, .3); background: rgba(255, 70, 85, .05); }
.vct-today-when { display: flex; flex-direction: column; gap: 2px; }
.vct-today-when time { font-size: 14px; font-weight: 700; color: #fff; }
.vct-today-when em { font-style: normal; font-size: 11px; color: #8b909a; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vct-today-when i { font-style: normal; font-size: 10px; color: #6f747e; }
.vct-today-teams { display: flex; align-items: center; justify-content: center; gap: 10px; }
.vct-today-side { display: flex; align-items: center; }
.vct-today-side .team-badge, .vct-today-side .team-logo { width: 28px; height: 28px; }
.vct-today-vs { font-style: normal; font-size: 11px; color: #6f747e; }
.vct-today-status { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; color: #9aa0aa; background: rgba(255, 255, 255, .06); }
.vct-today-status.is-live { color: #fff; background: var(--vct-accent); }
.vct-today-status.is-finished { color: #7fce9b; background: rgba(76, 209, 122, .12); }

/* ============================ 三、最近结果 ============================ */
.vct-recent-scroller { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; }
.vct-recent-card {
  flex: 0 0 230px;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  cursor: pointer;
  text-align: left;
}
.vct-recent-card:hover { transform: translateY(-4px); border-color: rgba(255, 70, 85, .3); }
.vct-recent-card header { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.vct-recent-card header time { font-size: 11px; color: #6f747e; }
.vct-recent-card header em { font-style: normal; font-size: 11px; color: #8b909a; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vct-recent-body { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
.vct-recent-side { display: flex; align-items: center; gap: 8px; }
.vct-recent-side.is-right { justify-content: flex-end; }
.vct-recent-side strong { font-size: 14px; font-weight: 700; color: #b9bdc6; }
.vct-recent-side.is-win strong { color: #fff; }
.vct-recent-side .team-badge, .vct-recent-side .team-logo { width: 32px; height: 32px; }
.vct-recent-score { font-size: 20px; font-weight: 800; color: #fff; }

/* ============================ 四、全球赛季体系 ============================ */
.vct-season { position: relative; }
.vct-season-track { display: flex; align-items: stretch; gap: 0; overflow-x: auto; padding-bottom: 10px; scrollbar-width: thin; }
.vct-season-arrow { align-self: center; color: rgba(255, 255, 255, .22); font-size: 26px; padding: 0 6px; flex: 0 0 auto; }
.vct-asset-card { flex: 1 0 200px; min-width: 200px; padding: 0; cursor: pointer; overflow: hidden; }
.vct-asset-card:hover { transform: translateY(-4px); border-color: rgba(255, 70, 85, .4); box-shadow: 0 16px 36px rgba(0, 0, 0, .5); }
.vct-asset-media {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  aspect-ratio: 16 / 10;
  padding: 18px;
  background-size: cover;
  background-position: center;
}
.vct-asset-media.is-placeholder { background: linear-gradient(150deg, #0a0a0a 0%, #1a0709 60%, rgba(255, 70, 85, .28) 100%); }
.vct-asset-card.is-purple .vct-asset-media.is-placeholder { background: linear-gradient(150deg, #0a0a0a 0%, #140a22 60%, rgba(155, 107, 255, .3) 100%); }
.vct-asset-card.is-blue .vct-asset-media.is-placeholder { background: linear-gradient(150deg, #0a0a0a 0%, #07171a 60%, rgba(25, 195, 214, .28) 100%); }
.vct-asset-card.is-gold .vct-asset-media.is-placeholder { background: linear-gradient(150deg, #0a0a0a 0%, #1a1405 60%, rgba(245, 196, 81, .3) 100%); }
.vct-asset-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, .55)); }
.vct-asset-top, .vct-asset-bottom { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 3px; }
.vct-asset-bottom { flex-direction: row; align-items: center; justify-content: space-between; }
.vct-asset-top strong { font-size: 15px; font-weight: 800; color: #fff; line-height: 1.25; }
.vct-asset-top em { font-style: normal; font-size: 12px; color: rgba(255, 255, 255, .7); }
.vct-asset-bottom em { font-style: normal; font-size: 12px; color: rgba(255, 255, 255, .85); }
.vct-asset-bottom i { font-style: normal; font-size: 11px; font-weight: 700; color: #fff; padding: 3px 9px; border-radius: 6px; background: rgba(255, 70, 85, .85); }

/* ============================ 五、四大赛区 ============================ */
.vct-regions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.vct-region-card { padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.vct-region-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--rc, #ff4655) 45%, transparent); }
.vct-region-head { display: flex; align-items: center; gap: 12px; }
.vct-region-logo { width: 40px; height: 40px; border-radius: 11px; background: linear-gradient(135deg, color-mix(in srgb, var(--rc, #ff4655) 80%, #000), #0a0a0a); box-shadow: 0 0 0 1px rgba(255, 255, 255, .06), 0 0 16px color-mix(in srgb, var(--rc, #ff4655) 40%, transparent); }
.vct-region-name { display: flex; flex-direction: column; gap: 2px; }
.vct-region-name strong { font-size: 18px; font-weight: 800; color: #fff; }
.vct-region-name span { font-size: 11px; color: #8b909a; }
.vct-region-standings { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.vct-region-standings li { display: grid; grid-template-columns: 20px auto 1fr auto; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, .02); }
.vct-region-rank { font-size: 13px; font-weight: 800; color: var(--rc, #ff4655); text-align: center; }
.vct-region-standings .team-badge, .vct-region-standings .team-logo { width: 26px; height: 26px; }
.vct-region-standings strong { font-size: 13px; font-weight: 700; color: #e7e9ee; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vct-region-pts { font-size: 13px; font-weight: 800; color: #fff; }
.vct-region-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .06); }
.vct-region-foot span { font-size: 12px; color: #8b909a; }
.vct-region-foot strong { font-size: 14px; font-weight: 800; color: #fff; }

/* ============================ 六、国际赛事专区 ============================ */
.vct-intl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.vct-intl-card { overflow: hidden; display: flex; flex-direction: column; }
.vct-intl-card:hover { transform: translateY(-4px); border-color: rgba(255, 70, 85, .35); }
.vct-intl-media {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 150px;
  padding: 20px;
  background-size: cover;
  background-position: center;
}
.vct-intl-media.is-placeholder { background: linear-gradient(150deg, #0a0a0a 0%, #1a0709 55%, rgba(255, 70, 85, .3) 100%); }
.vct-intl-card.is-purple .vct-intl-media.is-placeholder { background: linear-gradient(150deg, #0a0a0a 0%, #140a22 55%, rgba(155, 107, 255, .32) 100%); }
.vct-intl-card.is-blue .vct-intl-media.is-placeholder { background: linear-gradient(150deg, #0a0a0a 0%, #07171a 55%, rgba(25, 195, 214, .3) 100%); }
.vct-intl-card.is-gold .vct-intl-media.is-placeholder { background: linear-gradient(150deg, #0a0a0a 0%, #1a1405 55%, rgba(245, 196, 81, .32) 100%); }
.vct-intl-media strong { position: relative; z-index: 1; font-size: 18px; font-weight: 800; color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, .6); }
.vct-intl-body { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; }
.vct-intl-meta { font-size: 13px; color: #9aa0aa; }
.vct-intl-enter { appearance: none; border: 1px solid rgba(255, 70, 85, .4); background: rgba(255, 70, 85, .1); color: #ff6b78; cursor: pointer; font-size: 13px; font-weight: 700; padding: 8px 14px; border-radius: 10px; transition: background .2s ease, color .2s ease; }
.vct-intl-enter:hover { background: var(--vct-accent); color: #fff; }

/* ============================ 七、冠军赛资格争夺 ============================ */
.vct-champ-race { display: block; }
/* 冠军赛积分领先队伍 —— 四大赛区并排榜 */
.vct-champ-board { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: start; }
.vct-champ-col {
  border: 1px solid var(--vct-card-bd);
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 70, 85, .08), transparent 34%),
    var(--vct-card-bg);
  border-radius: var(--vct-radius);
  overflow: hidden;
}
.vct-champ-col-head {
  font-size: 13px; font-weight: 800; color: #fff;
  padding: 14px 16px; background: rgba(255, 255, 255, .04);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.vct-champ-col-list { list-style: none; margin: 0; padding: 8px; display: flex; flex-direction: column; gap: 4px; counter-reset: champrank; }
.vct-champ-team {
  display: flex; align-items: center; gap: 8px;
  min-height: 48px;
  padding: 8px 10px; border-radius: 10px;
  transition: background .18s ease;
}
.vct-champ-team::before {
  counter-increment: champrank; content: counter(champrank);
  flex: 0 0 20px; text-align: center;
  font-size: 12px; font-weight: 700; color: #6f747e; font-variant-numeric: tabular-nums;
}
.vct-champ-team:nth-child(-n+3)::before { color: var(--vct-accent, #ff4655); }
.vct-champ-team:hover { background: rgba(255, 70, 85, .05); }
.vct-champ-team-name { display: flex; align-items: center; gap: 8px; min-width: 0; flex: 1; }
.vct-champ-team-name .team-badge, .vct-champ-team-name .team-logo { width: 28px !important; height: 28px !important; flex: 0 0 28px !important; }
.vct-champ-team-main { min-width: 0; display: grid; gap: 2px; }
.vct-champ-team-main strong { font-size: 13px; font-weight: 820; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vct-champ-team-main em { font-style: normal; font-size: 11px; color: #8b909a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vct-champ-team-pts { flex: 0 0 auto; font-size: 14px; font-weight: 850; color: #fff; font-variant-numeric: tabular-nums; }
.vct-champ-team-pts i { font-style: normal; font-size: 11px; font-weight: 600; color: #8b909a; margin-left: 3px; }
@media (max-width: 980px) { .vct-champ-board { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .vct-champ-board { grid-template-columns: 1fr; } }
.vct-race-table { border: 1px solid var(--vct-card-bd); background: var(--vct-card-bg); border-radius: var(--vct-radius); overflow: hidden; }
.vct-race-head, .vct-race-row {
  display: grid;
  grid-template-columns: 56px 1.4fr .8fr .9fr .9fr .9fr .8fr 1fr;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
}
.vct-race-head { font-size: 12px; font-weight: 700; color: #8b909a; background: rgba(255, 255, 255, .03); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.vct-race-row { font-size: 13px; color: #d6d9df; border-bottom: 1px solid rgba(255, 255, 255, .04); transition: background .2s ease; }
.vct-race-row:last-child { border-bottom: none; }
.vct-race-row:hover { background: rgba(255, 70, 85, .04); }
.vct-race-rank { font-size: 14px; font-weight: 800; color: #fff; }
.vct-race-team { display: flex; align-items: center; gap: 9px; }
.vct-race-team .team-badge, .vct-race-team .team-logo { width: 26px; height: 26px; }
.vct-race-team strong { font-size: 13px; font-weight: 700; color: #fff; }
.vct-race-region { font-size: 12px; color: #9aa0aa; }
.vct-race-total { font-size: 15px; font-weight: 800; color: #fff; }
.vct-race-dim { color: #6f747e; }
.vct-race-status { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; text-align: center; }
.vct-race-status.is-locked { color: #5fd38a; background: rgba(76, 209, 122, .14); }
.vct-race-status.is-safe { color: #a6e3b8; background: rgba(76, 209, 122, .08); }
.vct-race-status.is-danger { color: #f5b15a; background: rgba(245, 166, 35, .14); }
.vct-race-status.is-out { color: #ff7785; background: rgba(255, 70, 85, .14); }
.vct-race-panel { border: 1px solid var(--vct-card-bd); background: var(--vct-card-bg); border-radius: var(--vct-radius); padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.vct-race-panel h3 { margin: 0; font-size: 16px; font-weight: 800; color: #fff; }
.vct-race-panel p { margin: 0; font-size: 13px; color: #9aa0aa; line-height: 1.6; }
.vct-race-panel .vct-panel-sub { color: #c7cad1; font-weight: 600; margin-top: 4px; }
.vct-race-panel ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 5px; }
.vct-race-panel li { font-size: 12px; color: #9aa0aa; line-height: 1.5; }
.vct-panel-line { margin-top: 6px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .06); display: flex; flex-direction: column; gap: 12px; }
.vct-panel-legend { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.vct-panel-legend li { display: flex; align-items: center; gap: 7px; font-size: 12px; color: #b9bdc6; }
.vct-panel-legend i { width: 10px; height: 10px; border-radius: 3px; }
.vct-panel-legend .is-locked i { background: #5fd38a; }
.vct-panel-legend .is-safe i { background: rgba(76, 209, 122, .5); }
.vct-panel-legend .is-danger i { background: #f5a623; }
.vct-panel-legend .is-out i { background: var(--vct-accent); }
.vct-panel-note { display: flex; flex-direction: column; gap: 3px; }
.vct-panel-note span { font-size: 12px; color: #8b909a; }
.vct-panel-note strong { font-size: 18px; font-weight: 800; color: var(--vct-accent); }

/* ============================ 八、全球积分榜 ============================ */
.vct-standings-tabs { display: none; }
.vct-standings-tab {
  appearance: none;
  cursor: pointer;
  border: 1px solid var(--vct-card-bd);
  background: rgba(255, 255, 255, .02);
  color: #9aa0aa;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 999px;
  transition: all .2s ease;
}
.vct-standings-tab:hover { color: #fff; border-color: rgba(255, 70, 85, .3); }
.vct-standings-tab.is-active { color: #fff; background: var(--vct-accent); border-color: var(--vct-accent); box-shadow: 0 6px 18px rgba(255, 70, 85, .3); }
.vct-standings-table { border: 1px solid var(--vct-card-bd); background: var(--vct-card-bg); border-radius: var(--vct-radius); overflow: hidden; }
.vct-standings-head, .vct-standings-row { display: grid; align-items: center; gap: 8px; padding: 13px 18px; }
.vct-standings-table.is-teams .vct-standings-head,
.vct-standings-table.is-teams .vct-standings-row { grid-template-columns: 56px 1.7fr .8fr .9fr .8fr .9fr .8fr; }
.vct-standings-table.is-players .vct-standings-head,
.vct-standings-table.is-players .vct-standings-row { grid-template-columns: 56px 2fr 1fr 1fr; }
.vct-standings-head { font-size: 12px; font-weight: 700; color: #8b909a; background: rgba(255, 255, 255, .03); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.vct-standings-row { font-size: 13px; color: #d6d9df; border-bottom: 1px solid rgba(255, 255, 255, .04); transition: background .2s ease; }
.vct-standings-row:last-child { border-bottom: none; }
.vct-standings-row:hover { background: rgba(255, 70, 85, .04); }
.vct-standings-rank { font-size: 14px; font-weight: 800; color: #fff; }
.vct-standings-team { display: flex; align-items: center; gap: 9px; }
.vct-standings-team .team-badge, .vct-standings-team .team-logo { width: 26px; height: 26px; }
.vct-standings-team strong { font-size: 13px; font-weight: 700; color: #fff; }
.vct-standings-region { font-size: 12px; color: #9aa0aa; }
.vct-standings-pts { font-size: 14px; font-weight: 800; color: #fff; }
.vct-standings-rating { font-size: 13px; font-weight: 800; color: var(--vct-accent); }
.vct-standings-note { margin: 14px 2px 0; font-size: 12px; color: #6f747e; }
/* GPR 战力榜:趋势/展开/重试 */
.vct-gpr-trend { font-size: 12px; font-weight: 800; letter-spacing: .2px; }
.vct-gpr-trend.is-up { color: #3fd17a; }
.vct-gpr-trend.is-down { color: #ff5566; }
.vct-gpr-trend.is-flat { color: #767b85; }
.vct-gpr-trend.is-new { color: var(--vct-accent); font-size: 11px; }
.vct-standings-table.is-gpr .vct-standings-pts { color: var(--vct-accent); }
.vct-gpr-more { display: block; width: 100%; margin: 12px 0 0; padding: 11px; font-size: 13px; font-weight: 700; color: #cfd3da; background: rgba(255, 255, 255, .03); border: 1px solid var(--vct-card-bd); border-radius: var(--vct-radius); cursor: pointer; transition: all .2s ease; }
.vct-gpr-more:hover { color: #fff; border-color: rgba(255, 70, 85, .35); background: rgba(255, 70, 85, .06); }
.vct-gpr-retry { margin-left: 12px; padding: 6px 16px; font-size: 12px; font-weight: 700; color: #fff; background: var(--vct-accent); border: none; border-radius: 8px; cursor: pointer; }

/* ============================ 九、历届冠军 ============================ */
.vct-champions { position: relative; }
.vct-champ-track { display: flex; gap: 16px; overflow-x: auto; padding: 4px 0 14px; scroll-behavior: smooth; scrollbar-width: thin; }
.vct-champ-node {
  position: relative;
  flex: 0 0 224px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  padding: 24px 18px;
  border: 1px solid var(--vct-card-bd);
  background:
    radial-gradient(circle at 50% 0%, rgba(245, 196, 81, .12), transparent 42%),
    linear-gradient(180deg, rgba(245, 196, 81, .052), rgba(255, 255, 255, .02));
  border-radius: 18px;
  text-align: center;
  overflow: hidden;
}
.vct-champ-node::before {
  position: absolute;
  inset: 0;
  content: "";
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 38%);
  opacity: 0.5;
  pointer-events: none;
}
.vct-champ-node.is-tbd { background: linear-gradient(180deg, rgba(255, 70, 85, .05), rgba(255, 255, 255, .02)); }
.vct-champ-type {
  position: relative;
  z-index: 1;
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  border: 1px solid rgba(245, 196, 81, 0.24);
  border-radius: 999px;
  background: rgba(245, 196, 81, 0.08);
  color: #f5c451;
  padding: 0 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.vct-champ-year { position: relative; z-index: 1; font-size: 24px; font-weight: 880; color: #f5c451; letter-spacing: .02em; }
.vct-champ-node.is-tbd .vct-champ-year { color: var(--vct-accent); }
.vct-champ-event { position: relative; z-index: 1; min-height: 26px; font-size: 12px; color: #a7abb4; line-height: 1.35; }
.vct-champ-badge { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: 62px; height: 62px; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 18px; background: rgba(255, 255, 255, .04); }
.vct-champ-badge .team-badge, .vct-champ-badge .team-logo { width: 48px; height: 48px; }
.vct-champ-badge.is-gold { background: linear-gradient(135deg, rgba(245, 196, 81, .3), rgba(245, 196, 81, .08)); }
.vct-champ-badge.is-q { font-size: 28px; font-weight: 800; color: var(--vct-accent); background: rgba(255, 70, 85, .1); }
.vct-champ-team { position: relative; z-index: 1; min-height: 36px; display: grid; place-items: center; font-size: 15px; font-weight: 800; color: #fff; line-height: 1.25; }
.vct-champ-node.is-tbd .vct-champ-team { color: #9aa0aa; }
.vct-champ-final { position: relative; z-index: 1; color: #8b909a; font-size: 12px; font-variant-numeric: tabular-nums; }
.vct-champ-nav { display: flex; gap: 8px; justify-content: flex-end; margin-top: 8px; }
.vct-champ-nav button {
  appearance: none;
  cursor: pointer;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--vct-card-bd);
  background: rgba(255, 255, 255, .02);
  color: #cfd3da;
  font-size: 18px;
  transition: all .2s ease;
}
.vct-champ-nav button:hover { color: #fff; border-color: rgba(255, 70, 85, .4); background: rgba(255, 70, 85, .08); }

/* ============================ 响应式 ============================ */
@media (max-width: 1440px) {
  .vct-hero-title { font-size: 52px; }
  .vct-regions { grid-template-columns: repeat(4, 1fr); gap: 14px; }
}
@media (max-width: 1280px) {
  .vct-hero-inner { grid-template-columns: 42% 58%; gap: 32px; }
  .vct-hero-title { font-size: 46px; }
  .vct-champ-race { grid-template-columns: 1fr; }
  .vct-race-panel { order: -1; }
  .vct-asset-card { flex-basis: 180px; min-width: 180px; }
}
@media (max-width: 1024px) {
  .vct-hero { min-height: auto; }
  .vct-hero-inner { grid-template-columns: 1fr; gap: 36px; padding-top: 48px; padding-bottom: 48px; }
  .vct-hero-sub { max-width: none; }
  .vct-today-grid { grid-template-columns: 1fr; }
  .vct-regions { grid-template-columns: repeat(2, 1fr); }
  .vct-intl { grid-template-columns: 1fr; }
  .vct-race-head, .vct-race-row { grid-template-columns: 44px 1.3fr .7fr .8fr 1fr; }
  .vct-race-head span:nth-child(5), .vct-race-row span:nth-child(5),
  .vct-race-head span:nth-child(6), .vct-race-row span:nth-child(6),
  .vct-race-head span:nth-child(7), .vct-race-row span:nth-child(7) { display: none; }
  .vct-standings-table.is-teams .vct-standings-head,
  .vct-standings-table.is-teams .vct-standings-row { grid-template-columns: 40px 1.5fr .7fr .9fr .7fr; }
  .vct-standings-table.is-teams .vct-standings-head span:nth-child(5),
  .vct-standings-table.is-teams .vct-standings-row span:nth-child(5),
  .vct-standings-table.is-teams .vct-standings-head span:nth-child(6),
  .vct-standings-table.is-teams .vct-standings-row span:nth-child(6) { display: none; }
}
@media (max-width: 768px) {
  .vct-page .content-wrap { padding: 0 18px; }
  .vct-body { padding: 40px 18px 60px; gap: 44px; }
  .vct-hero-title { font-size: 38px; }
  .vct-hero-stats { gap: 24px; }
  .vct-stat b { font-size: 28px; }
  .vct-block-head h2 { font-size: 20px; }
  .vct-regions { grid-template-columns: 1fr; }
  .vct-focus-score strong { font-size: 34px; }
  .vct-tl-phase { min-width: 92px; }
  .vct-asset-card { flex-basis: 150px; min-width: 150px; }
}

/* ===================================================================
 * 比赛详情页专属重构：黑红数据页，仅作用于 /matches/:id
 * =================================================================== */
.match-detail-page {
  --md-bg: #050608;
  --md-card: rgba(255, 255, 255, 0.035);
  --md-card-strong: rgba(255, 255, 255, 0.055);
  --md-border: rgba(255, 255, 255, 0.08);
  --md-border-strong: rgba(255, 255, 255, 0.14);
  --md-red: #ff4655;
  --md-pos: #44d17a;
  --md-neg: #ff4d5e;
  --md-text: #ffffff;
  --md-muted: rgba(255, 255, 255, 0.58);
  --md-faint: rgba(255, 255, 255, 0.36);
  background: var(--md-bg);
  color: var(--md-text);
}

.match-detail-page .content-wrap {
  max-width: 1440px;
}

.match-detail-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 92px 0 18px;
  background: var(--md-bg);
  color: var(--md-text);
}

.match-detail-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(760px 360px at 12% 58%, rgba(255, 70, 85, 0.18), transparent 68%),
    radial-gradient(720px 340px at 86% 20%, rgba(255, 70, 85, 0.11), transparent 62%),
    linear-gradient(180deg, rgba(5, 6, 8, 0.42), #050608 94%),
    var(--asset-event-hero-bg, url("assets/images/event-hero-bg.webp")) center right / cover no-repeat;
  filter: brightness(0.62) saturate(1.08);
}

.match-detail-hero-inner {
  display: grid;
  gap: 18px;
}

.match-breadcrumb {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  color: var(--md-muted);
  font-size: 13px;
}

.match-breadcrumb button,
.team-logo-link,
.team-name-link,
.match-player-link {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  padding: 0;
}

.match-breadcrumb button:hover,
.team-name-link:hover,
.match-player-link:hover {
  color: var(--md-red);
}

.match-detail-cache {
  width: fit-content;
  padding: 8px 12px;
  border: 1px solid var(--md-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 720;
}

.match-head-card,
.match-detail-card {
  border: 1px solid var(--md-border);
  background: var(--md-card);
  color: var(--md-text);
}

.match-head-card {
  overflow: hidden;
  border-radius: 20px;
  box-shadow: none;
}

.match-head-meta {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 28px 14px;
  border-bottom: 1px solid var(--md-border);
}

.match-head-meta div {
  display: grid;
  gap: 7px;
}

.match-head-meta div:last-child {
  text-align: right;
}

.match-head-meta strong {
  color: var(--md-text);
  font-size: 21px;
  line-height: 1.35;
}

.match-head-meta span,
.match-head-meta time {
  color: var(--md-muted);
  font-size: 13px;
}

.match-head-vs {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(176px, auto) minmax(0, 1fr);
  gap: 30px;
  align-items: center;
  padding: 24px 42px 30px;
}

.match-head-team {
  display: grid;
  justify-items: center;
  gap: 9px;
  text-align: center;
  min-width: 0;
}

.match-head-team .match-team-badge {
  width: 86px !important;
  height: 86px !important;
  box-shadow: none;
}

.team-logo-link,
.team-name-link,
.match-player-link {
  cursor: pointer;
}

.team-name-link {
  color: var(--md-text);
  font-weight: 820;
  font-size: 19px;
}

.match-head-team > span {
  color: var(--md-muted);
  font-size: 13px;
  font-weight: 760;
}

.team-result {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 12px;
  font-style: normal;
  font-weight: 780;
}

.team-result.is-win {
  background: rgba(68, 209, 122, 0.12);
  color: var(--md-pos);
}

.team-result.is-loss {
  background: rgba(255, 77, 94, 0.12);
  color: var(--md-neg);
}

.match-head-score {
  display: grid;
  justify-items: center;
  gap: 10px;
  min-width: 176px;
}

.match-head-score span,
.match-head-score em {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-style: normal;
  font-weight: 760;
}

.match-head-score span.is-live {
  background: rgba(255, 70, 85, 0.16);
  color: var(--md-red);
}

.match-head-score span.is-finished {
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.82);
}

.match-head-score span.is-upcoming {
  background: rgba(255, 255, 255, 0.06);
  color: var(--md-muted);
}

.match-head-score strong {
  color: var(--md-text);
  font-size: 58px;
  line-height: 1;
  letter-spacing: 0;
}

.veto-strip {
  display: flex;
  gap: 0;
  overflow-x: auto;
  border-top: 1px solid var(--md-border);
  background: rgba(255, 255, 255, 0.025);
}

.veto-strip.is-empty {
  padding: 12px 18px;
  color: var(--md-muted);
}

.veto-map {
  display: inline-grid;
  grid-template-columns: 44px auto;
  grid-template-areas:
    "thumb meta"
    "thumb map";
  column-gap: 10px;
  row-gap: 2px;
  align-items: center;
  min-width: 160px;
  min-height: 72px;
  padding: 10px 18px;
  border-right: 1px solid var(--md-border);
  white-space: nowrap;
  font-size: 12px;
}

.veto-map-thumb {
  grid-area: thumb;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(255, 70, 85, 0.16), transparent 62%),
    #0b0d12;
}

.veto-map b,
.veto-map em {
  grid-area: meta;
  color: var(--md-muted);
  font-style: normal;
  font-weight: 700;
}

.veto-map b {
  margin-right: 4px;
  color: rgba(255, 255, 255, 0.82);
}

.veto-map strong {
  grid-area: map;
  color: var(--md-text);
  font-size: 13px;
}

.veto-map.is-ban .veto-map-thumb {
  background:
    linear-gradient(135deg, rgba(255, 77, 94, 0.18), transparent 62%),
    #0b0d12;
}

.veto-map.is-pick .veto-map-thumb {
  background:
    linear-gradient(135deg, rgba(68, 209, 122, 0.16), transparent 62%),
    #0b0d12;
}

.match-detail-content {
  padding: 32px 0 84px;
  background: var(--md-bg);
}

.match-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(320px, 3fr);
  gap: 28px;
  align-items: start;
  margin-left: -12px;
}

.match-detail-main,
.match-detail-side {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.detail-tabs {
  display: flex;
  gap: 28px;
  align-items: center;
  min-height: 52px;
  border-bottom: 1px solid var(--md-border);
}

.detail-tabs button {
  position: relative;
  min-width: 68px;
  min-height: 52px;
  border: 0;
  background: transparent;
  color: var(--md-muted);
  font-weight: 780;
}

.detail-tabs button.is-active {
  color: var(--md-red);
}

.detail-tabs button.is-active::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  content: "";
  background: var(--md-red);
}

.detail-filter-row,
.map-filter,
.side-filter {
  display: flex;
  gap: 10px;
  align-items: center;
}

.detail-filter-row {
  justify-content: space-between;
  flex-wrap: wrap;
}

.map-filter,
.side-filter {
  overflow-x: auto;
  padding-bottom: 2px;
}

.map-filter button,
.side-filter button,
.empty-detail-card button,
.source-link {
  min-height: 38px;
  border: 1px solid var(--md-border);
  border-radius: 12px;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  padding: 0 16px;
  font-size: 13px;
  font-weight: 760;
  white-space: nowrap;
}

.map-filter button:hover,
.side-filter button:hover,
.source-link:hover {
  border-color: rgba(255, 70, 85, 0.48);
  color: #fff;
}

.map-filter button.is-active,
.side-filter button.is-active {
  border-color: var(--md-red);
  background: var(--md-red);
  color: #fff;
}

.match-detail-card {
  border-radius: 18px;
  box-shadow: none;
}

.player-stats-card {
  overflow: hidden;
}

.team-table-title {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--md-border);
}

.team-table-title strong {
  color: var(--md-text);
  font-size: 16px;
}

.team-table-title .team-result {
  margin-left: auto;
}

.match-table-scroll {
  width: 100%;
  overflow-x: auto;
}

.match-player-table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 13px;
  font-feature-settings: "tnum" 1, "lnum" 1;
}

.match-player-table .col-player {
  width: 166px;
}

.match-player-table .col-agents {
  width: 70px;
}

.match-player-table .col-rating {
  width: 58px;
}

.match-player-table .col-acs {
  width: 64px;
}

.match-player-table .col-kda {
  width: 112px;
}

.match-player-table .col-diff {
  width: 60px;
}

.match-player-table .col-kast,
.match-player-table .col-adr,
.match-player-table .col-hs {
  width: 68px;
}

.match-player-table .col-fk,
.match-player-table .col-fd {
  width: 54px;
}

.match-player-table .col-fkdiff {
  width: 58px;
}

.match-player-table th,
.match-player-table td {
  height: 52px;
  padding: 0 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.82);
  text-align: right;
  white-space: nowrap;
  vertical-align: middle;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  line-height: 1;
}

.match-player-table thead th {
  height: 42px;
  background: rgba(255, 255, 255, 0.028);
  color: var(--md-muted);
  font-size: 12px;
  font-weight: 760;
  text-align: right;
}

.match-player-table th:first-child,
.match-player-table td:first-child {
  text-align: left;
}

.match-player-table th:nth-child(2),
.match-player-table td:nth-child(2) {
  text-align: center;
}

.match-player-table th:nth-child(5),
.match-player-table td:nth-child(5) {
  text-align: center;
}

.match-player-table td:nth-child(6),
.match-player-table td:nth-child(12) {
  font-weight: 760;
}

.match-player-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.04);
}

.match-player-table .player-cell {
  display: flex;
  gap: 8px;
  align-items: center;
  min-width: 0;
  text-align: left;
}

.country-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--md-muted);
  font-size: 0;
  font-weight: 820;
  flex: 0 0 auto;
}

.country-flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.country-flag.is-placeholder {
  color: var(--md-muted);
}

.match-player-link {
  min-width: 0;
  overflow: hidden;
  color: var(--md-text);
  font-weight: 780;
  text-overflow: ellipsis;
}

.mvp-tag {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  margin-left: auto;
  padding: 0 7px;
  border: 1px solid rgba(255, 70, 85, 0.28);
  border-radius: 999px;
  background: rgba(255, 70, 85, 0.09);
  color: var(--md-red);
  font-size: 10px;
  font-weight: 820;
}

.match-sort-button {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.match-player-table th:nth-child(5) .match-sort-button {
  justify-content: center;
}

.match-sort-button.is-active {
  color: var(--md-red);
}

.match-sort-button span {
  width: 10px;
  color: inherit;
}

.agent-list {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}

.agent-chip {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9px;
  background: #101115;
  color: #fff;
  font-size: 10px;
  font-weight: 820;
}

.agent-chip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.agent-chip.is-fallback {
  background: #101115;
}

.is-positive {
  color: var(--md-pos) !important;
}

.is-negative {
  color: var(--md-neg) !important;
}

.is-zero {
  color: var(--md-muted) !important;
}

.match-detail-side .match-detail-card {
  padding: 22px;
}

.match-detail-card h3 {
  margin: 0 0 16px;
  color: var(--md-text);
  font-size: 20px;
  line-height: 1.2;
}

.side-map-list,
.match-info-list {
  display: grid;
}

.side-map-row {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 52px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.side-map-row:first-child {
  border-top: 0;
}

.side-map-row > span {
  color: var(--md-muted);
  font-weight: 780;
}

.side-map-row > strong {
  min-width: 0;
  overflow: hidden;
  color: var(--md-text);
  font-weight: 780;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.side-map-row em {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--md-text);
  font-style: normal;
  font-weight: 820;
}

.side-map-row em b {
  min-width: 48px;
  text-align: center;
}

.match-info-list {
  gap: 13px;
  margin: 0;
}

.match-info-list div {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 12px;
}

.match-info-list dt {
  color: var(--md-muted);
}

.match-info-list dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 680;
  word-break: break-word;
}

.source-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: 20px;
  border-color: rgba(255, 70, 85, 0.62);
  color: var(--md-red);
  text-decoration: none;
}

.source-link::after {
  content: "↗";
  margin-left: 8px;
  font-size: 12px;
}

.empty-detail-card,
.match-detail-loading {
  display: grid;
  place-items: center;
  min-height: 240px;
  padding: 30px;
  text-align: center;
}

.empty-detail-card p {
  margin: 0;
  color: var(--md-muted);
  font-weight: 700;
}

@media (max-width: 1180px) {
  .match-detail-grid {
    grid-template-columns: 1fr;
    margin-left: 0;
  }

  .match-detail-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .match-detail-hero {
    padding: 82px 0 16px;
  }

  .match-detail-page .content-wrap {
    padding-left: 18px;
    padding-right: 18px;
  }

  .match-head-meta,
  .match-head-vs {
    grid-template-columns: 1fr;
  }

  .match-head-meta {
    display: grid;
    padding: 18px;
  }

  .match-head-meta div:last-child {
    text-align: left;
  }

  .match-head-vs {
    gap: 20px;
    padding: 22px 18px;
  }

  .match-head-score {
    order: -1;
  }

  .match-head-score strong {
    font-size: 48px;
  }

  .detail-filter-row {
    align-items: stretch;
  }

  .map-filter,
  .side-filter {
    width: 100%;
  }

  .match-detail-side {
    grid-template-columns: 1fr;
  }

  .side-map-row {
    grid-template-columns: 24px minmax(0, 1fr);
  }

  .side-map-row em {
    grid-column: 2;
    justify-self: start;
  }
}

.player-detail-page .pd-footer {
  width: 100%;
  box-sizing: border-box;
  margin-left: 0;
  margin-right: 0;
}

@media (max-width: 760px) {
  .player-detail-page .pd-footer {
    margin-left: 0;
    margin-right: 0;
  }
}

.comment-section {
  margin: 28px 0 0;
}

.comment-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.035);
  padding: 22px;
  color: #fff;
}

.comment-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.comment-head h2 {
  margin: 0 0 6px;
  font-size: 22px;
  letter-spacing: 0;
}

.comment-head p,
.comment-count,
.comment-editor-foot span,
.comment-meta time {
  color: rgba(255, 255, 255, 0.58);
}

.comment-head p,
.comment-count {
  margin: 0;
  font-size: 13px;
}

.comment-sort {
  display: inline-flex;
  gap: 6px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
}

.comment-sort button,
.comment-actions button,
.comment-more-replies,
.comment-load-more,
.comment-login-card button,
.comment-error button,
.comment-editor button {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  font: inherit;
}

.comment-sort button {
  padding: 7px 12px;
  font-size: 13px;
}

.comment-sort button.is-active,
.comment-editor button {
  border-color: rgba(255, 70, 85, 0.55);
  background: #ff4655;
  color: #fff;
}

.comment-editor,
.comment-login-card,
.comment-error {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.2);
}

.comment-login-card,
.comment-error {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.68);
}

.comment-editor {
  padding: 12px;
  margin-bottom: 16px;
}

.comment-editor textarea {
  width: 100%;
  min-height: 92px;
  resize: vertical;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  line-height: 1.7;
}

.comment-editor textarea::placeholder {
  color: rgba(255, 255, 255, 0.36);
}

.comment-editor-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
}

.comment-editor button,
.comment-login-card button,
.comment-error button {
  padding: 8px 14px;
  white-space: nowrap;
}

.comment-list {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.comment-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
}

.comment-item.is-reply {
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
}

.comment-avatar {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
}

.comment-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comment-avatar.has-image b {
  opacity: 0;
}

.comment-body {
  min-width: 0;
}

.comment-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 7px;
}

.comment-meta strong {
  font-size: 14px;
}

.comment-meta time {
  font-size: 12px;
}

.comment-body p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  line-height: 1.75;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.comment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.comment-actions button {
  padding: 5px 9px;
  font-size: 12px;
}

.comment-actions button.is-active {
  color: #ff4655;
  border-color: rgba(255, 70, 85, 0.42);
  background: rgba(255, 70, 85, 0.1);
}

.comment-replies {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.comment-reply-editor {
  margin-top: 12px;
}

.comment-reply-editor .comment-editor {
  margin-bottom: 0;
}

.comment-more-replies,
.comment-load-more {
  justify-self: start;
  margin-top: 10px;
  padding: 7px 11px;
  font-size: 12px;
}

.comment-load-more {
  width: 100%;
  justify-self: stretch;
  margin-top: 14px;
  padding: 10px 14px;
}

.comment-empty,
.comment-skeleton {
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 22px;
  color: rgba(255, 255, 255, 0.52);
  text-align: center;
}

.comment-skeleton {
  display: grid;
  gap: 10px;
}

.comment-skeleton span {
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,255,255,0.04), rgba(255,255,255,0.09), rgba(255,255,255,0.04));
}

.comment-skeleton span:nth-child(2) {
  width: 72%;
}

.comment-skeleton span:nth-child(3) {
  width: 48%;
}

.match-comments-content {
  padding-top: 0;
}

@media (max-width: 720px) {
  .comment-card {
    padding: 16px;
    border-radius: 18px;
  }

  .comment-head,
  .comment-login-card,
  .comment-error {
    align-items: stretch;
    flex-direction: column;
  }

  .comment-sort {
    align-self: flex-start;
  }

  .comment-item {
    grid-template-columns: 36px minmax(0, 1fr);
    padding: 12px;
  }

  .comment-avatar {
    width: 36px;
    height: 36px;
  }
}
