:root {
  --bg: #090707;
  --bg-deep: #040202;
  --panel: rgba(21, 11, 10, 0.88);
  --panel-soft: rgba(30, 18, 16, 0.76);
  --line: rgba(255, 196, 86, 0.16);
  --line-strong: rgba(255, 196, 86, 0.34);
  --text: #fff6dc;
  --muted: #d9c9a5;
  --accent: #ff5f32;
  --accent-hot: #ffb44b;
  --emerald: #5ee6b1;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 97, 47, 0.22), transparent 28%),
    radial-gradient(circle at 80% 12%, rgba(255, 180, 75, 0.18), transparent 25%),
    radial-gradient(circle at 50% 100%, rgba(94, 230, 177, 0.08), transparent 30%),
    linear-gradient(180deg, #130908 0%, #090606 50%, #050404 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 42%, rgba(255, 255, 255, 0.045) 46%, transparent 50%),
    linear-gradient(160deg, transparent 0 65%, rgba(255, 170, 55, 0.05) 70%, transparent 74%);
  pointer-events: none;
}

.page-noise {
  position: fixed;
  inset: 0;
  opacity: 0.07;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.28) 1px, transparent 1px);
  background-size: 5px 5px;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  width: min(1380px, calc(100vw - 24px));
  margin: 14px auto 0;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(15, 8, 8, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.brand {
  color: #fff0c8;
  text-decoration: none;
  font: 700 1.1rem "Cinzel", serif;
  letter-spacing: 0.08em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
}

.site-nav a:hover {
  color: #fff;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: #fff1c9;
  transition: transform 220ms ease, opacity 220ms ease;
}

.page-shell {
  width: min(1380px, calc(100vw - 24px));
  margin: 16px auto 32px;
  display: grid;
  gap: 18px;
}

.hero-panel,
.poster-panel,
.rulebook-panel,
.lottery-panel,
.titles-panel,
.podium-panel,
.standings-panel,
.matches-panel,
.inventory-panel,
.tiers-panel,
.closing-line {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(34, 17, 15, 0.88), rgba(10, 6, 6, 0.94)),
    var(--panel);
  box-shadow: var(--shadow);
}

.hero-panel::before,
.poster-panel::before,
.rulebook-panel::before,
.lottery-panel::before,
.titles-panel::before,
.podium-panel::before,
.standings-panel::before,
.matches-panel::before,
.inventory-panel::before,
.tiers-panel::before,
.closing-line::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 36%);
  pointer-events: none;
}

.hero-panel {
  padding: 34px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  background:
    radial-gradient(circle at top right, rgba(255, 187, 75, 0.18), transparent 26%),
    linear-gradient(180deg, rgba(34, 17, 15, 0.88), rgba(10, 6, 6, 0.94)),
    var(--panel);
}

.eyebrow,
.season-tag,
.callout-label,
.rule-index,
.item-band,
.mini-kicker {
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-hot);
  font-size: 0.78rem;
  font-weight: 700;
}

.season-tag {
  display: inline-flex;
  padding: 7px 12px;
  border: 1px solid rgba(255, 196, 86, 0.3);
  border-radius: 999px;
  background: rgba(255, 196, 86, 0.07);
  color: #ffe3a5;
  font-size: 0.75rem;
}

.hero-copy h1,
.section-heading h2,
.preview-copy h3,
.rule-card h3 {
  margin: 0;
}

.hero-copy h1 {
  margin-top: 14px;
  font-family: "Bebas Neue", "Arial Narrow", sans-serif;
  font-size: clamp(4.5rem, 10vw, 8rem);
  line-height: 0.88;
  letter-spacing: 0.05em;
  color: #fff0c6;
  text-shadow: 0 16px 30px rgba(0, 0, 0, 0.4);
}

.hero-logo-lockup {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 14px;
}

.hero-logo-mark {
  width: 90px;
  height: 90px;
  display: grid;
  place-items: center;
  border-radius: 26px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 228, 163, 0.9), rgba(255, 180, 75, 0.35) 40%, rgba(255, 95, 50, 0.2) 70%, transparent 100%),
    linear-gradient(145deg, rgba(255, 99, 49, 0.26), rgba(255, 187, 75, 0.1));
  border: 1px solid rgba(255, 206, 125, 0.42);
  box-shadow: inset 0 1px 18px rgba(255, 255, 255, 0.14), 0 20px 40px rgba(0, 0, 0, 0.24);
  font: 700 2.5rem "Cinzel", serif;
  color: #3d1206;
}

.hero-logo-copy p {
  margin: 0 0 4px;
  color: #f3c96f;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.hero-logo-copy h1 {
  margin-top: 0;
}

.hero-slogan,
.callout-card p,
.rule-card p,
.section-note,
.event-intro-card p,
.event-info-card p,
.preview-market-name,
.item-market-name,
.item-footer a,
.inventory-empty,
.closing-line p {
  color: var(--muted);
}

.hero-slogan {
  max-width: 680px;
  margin: 14px 0 0;
  font-size: clamp(1rem, 1.8vw, 1.14rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.hero-goals {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-goals span {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #ffe3a7;
  font-size: 0.88rem;
}

.hero-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #fff2cc;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.04);
}

.hero-link.primary {
  border-color: transparent;
  background: linear-gradient(90deg, var(--accent), var(--accent-hot));
  color: #331405;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  background: #120a08;
}

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

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.44)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.08), transparent 35%);
}

.hero-visual-badge {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 1;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: rgba(9, 6, 6, 0.6);
  backdrop-filter: blur(10px);
}

.hero-visual-badge span {
  display: block;
  color: #f4c76e;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-visual-badge strong {
  display: block;
  margin-top: 8px;
  font-size: 1.08rem;
}

.callout-card,
.rule-card,
.tier-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.hero-callouts {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.callout-card {
  padding: 18px 18px 16px;
  border-radius: 20px;
}

.callout-card.featured {
  background: linear-gradient(180deg, rgba(255, 99, 49, 0.12), rgba(255, 196, 86, 0.08));
  border-color: rgba(255, 196, 86, 0.24);
}

.callout-label {
  display: block;
  margin-bottom: 8px;
  color: #ffd98a;
  font-size: 0.74rem;
  font-weight: 700;
}

.callout-card strong {
  display: block;
  font-size: 1.18rem;
}

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

.section-heading h2 {
  font-family: "Cinzel", serif;
  font-size: clamp(1.5rem, 2vw, 2.2rem);
  color: #fff0cb;
}

.section-note {
  margin: 0;
  max-width: 420px;
  line-height: 1.6;
  text-align: right;
}

.rulebook-panel,
.lottery-panel,
.titles-panel,
.podium-panel,
.standings-panel,
.poster-panel,
.event-panel,
.inventory-panel,
.tiers-panel {
  padding: 26px;
}

.event-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at top right, rgba(94, 230, 177, 0.08), transparent 24%),
    linear-gradient(180deg, rgba(18, 12, 12, 0.88), rgba(8, 6, 6, 0.96));
  box-shadow: var(--shadow);
}

.event-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 36%);
  pointer-events: none;
}

.poster-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
}

.poster-card {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.04);
}

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

.poster-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.72));
}

.poster-copy {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 1;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(10, 7, 7, 0.56);
  backdrop-filter: blur(8px);
}

.poster-copy h3,
.poster-copy p {
  margin: 0;
}

.poster-copy h3 {
  margin-top: 8px;
  font-size: 1.12rem;
}

.poster-copy p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.65;
}

.event-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.95fr 0.95fr;
  gap: 14px;
}

.event-intro-card,
.event-info-card {
  position: relative;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
}

.event-intro-card {
  background:
    radial-gradient(circle at top right, rgba(255, 180, 75, 0.12), transparent 28%),
    rgba(255, 255, 255, 0.04);
}

.event-intro-card h3,
.event-info-card h3,
.event-checklist li {
  margin: 0;
}

.event-intro-card h3,
.event-info-card h3 {
  font-size: 1.18rem;
}

.event-intro-card p {
  margin: 12px 0 0;
  line-height: 1.72;
}

.goal-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.goal-pill {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 180, 75, 0.08);
  border: 1px solid rgba(255, 196, 86, 0.24);
  color: #ffe0a4;
  font-size: 0.88rem;
}

.event-checklist {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.event-checklist li {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  line-height: 1.6;
}

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

.title-card {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(94, 230, 177, 0.08), transparent 28%),
    rgba(255, 255, 255, 0.04);
}

.title-card h3,
.title-card p {
  margin: 0;
}

.title-card h3 {
  font-size: 1.05rem;
}

.title-card p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.65;
}

.lottery-layout {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  gap: 16px;
}

.lottery-machine,
.odds-panel,
.history-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
}

.lottery-machine {
  padding: 20px;
}

.redeem-panel {
  margin-bottom: 16px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(255, 189, 73, 0.12), transparent 26%),
    rgba(255, 255, 255, 0.04);
}

.luck-panel {
  margin-bottom: 16px;
  padding: 20px;
  border: 1px solid rgba(244, 199, 110, 0.26);
  background:
    radial-gradient(circle at 86% 10%, rgba(244, 199, 110, 0.18), transparent 30%),
    linear-gradient(135deg, rgba(124, 23, 16, 0.3), rgba(255, 255, 255, 0.03));
}

.luck-copy h3,
.luck-copy p {
  margin: 0;
}

.luck-copy h3 {
  font-size: 1.32rem;
}

.luck-copy p {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.65;
}

.luck-actions {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.luck-actions .lottery-btn {
  min-width: 128px;
}

.luck-status {
  min-height: 24px;
  margin-top: 12px;
  color: #ffe2a7;
  font-size: 0.92rem;
}

.luck-status.is-success {
  color: #96f0c9;
}

.luck-status.is-error {
  color: #ff9c82;
}

.luck-result {
  margin-top: 14px;
}

.luck-summary {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
  color: var(--muted);
}

.luck-summary strong {
  color: #f4c76e;
}

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

.luck-grid.is-single {
  grid-template-columns: minmax(0, 1fr);
}

.luck-card {
  position: relative;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(4, 10, 11, 0.42);
}

.luck-card img {
  width: 76px;
  height: 76px;
  object-fit: cover;
}

.luck-card strong,
.luck-card span,
.luck-card small {
  display: block;
}

.luck-card span,
.luck-card small {
  margin-top: 5px;
  color: var(--muted);
}

.luck-card small {
  font-size: 0.76rem;
}

.luck-index {
  position: absolute;
  top: 6px;
  right: 8px;
  color: rgba(244, 199, 110, 0.7) !important;
  font: 700 0.72rem "Cinzel", serif;
}

.redeem-copy h3,
.redeem-copy p {
  margin: 0;
}

.redeem-copy h3 {
  font-size: 1.18rem;
}

.redeem-copy p {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.6;
}

.redeem-form {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: end;
}

.redeem-box {
  margin: 0;
}

.redeem-status {
  margin-top: 12px;
  min-height: 24px;
  color: #ffe2a7;
  font-size: 0.92rem;
  line-height: 1.5;
}

.redeem-status.is-error {
  color: #ff9c82;
}

.redeem-status.is-success {
  color: #96f0c9;
}

.lottery-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.lottery-btn {
  padding: 13px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font: inherit;
  cursor: pointer;
}

.lottery-btn.primary {
  background: linear-gradient(90deg, var(--accent), var(--accent-hot));
  color: #301305;
  border-color: transparent;
  font-weight: 700;
}

.lottery-btn.ghost {
  color: #ffd89b;
}

.lottery-meta {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.lottery-result {
  margin-top: 18px;
  min-height: 330px;
  padding: 18px;
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(255, 189, 73, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.12));
}

.lottery-placeholder {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.draw-highlight {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
}

.draw-highlight img {
  width: 100%;
  aspect-ratio: 1;
  display: block;
  object-fit: cover;
  border-radius: 20px;
}

.draw-copy h3,
.draw-copy p,
.draw-mini-grid h4,
.draw-mini-grid p {
  margin: 0;
}

.draw-copy h3 {
  font-size: 1.4rem;
}

.draw-copy p {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.65;
}

.draw-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.draw-badge {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #ffe2a7;
  font-size: 0.86rem;
}

.draw-mini-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.draw-mini-grid article {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.draw-mini-grid h4 {
  color: #f4c76e;
  font-size: 0.82rem;
}

.draw-mini-grid p {
  margin-top: 6px;
  font: 700 1.06rem "Cinzel", serif;
}

.draw-list {
  display: grid;
  gap: 10px;
}

.draw-row {
  display: grid;
  grid-template-columns: 68px 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.draw-row img {
  width: 68px;
  height: 68px;
  object-fit: cover;
  border-radius: 14px;
}

.draw-row strong,
.draw-row span,
.odds-panel h3,
.history-card h3 {
  margin: 0;
}

.draw-row span {
  color: var(--muted);
  font-size: 0.88rem;
}

.odds-panel {
  padding: 20px;
}

.odds-probabilities {
  margin: 16px 0 0;
  display: grid;
  gap: 10px;
}

.odds-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.odds-row strong,
.odds-row span,
.odds-row small,
.odds-note {
  display: block;
}

.odds-row strong {
  font-size: 0.98rem;
}

.odds-row span,
.odds-note,
.odds-row small {
  color: var(--muted);
  line-height: 1.6;
}

.odds-row small {
  margin-top: 4px;
  font-size: 0.82rem;
}

.odds-rate {
  align-self: center;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255, 180, 75, 0.1);
  color: #ffe1a7;
  font: 700 1rem "Cinzel", serif;
}

.odds-note {
  margin: 14px 0 0;
}

.draw-history {
  margin-top: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.history-card {
  padding: 18px;
}

.history-list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.history-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.92rem;
}

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

.rule-card {
  min-height: 184px;
  padding: 18px;
  border-radius: 22px;
}

.rule-card.accent {
  background: linear-gradient(180deg, rgba(255, 180, 75, 0.11), rgba(255, 255, 255, 0.04));
  border-color: rgba(255, 180, 75, 0.28);
}

.rule-index {
  display: inline-flex;
  margin-bottom: 10px;
  color: #ffcc6f;
  font-size: 0.78rem;
  font-weight: 700;
}

.rule-card h3 {
  font-size: 1.05rem;
}

.rule-card p {
  margin: 10px 0 0;
  line-height: 1.65;
}

.inventory-tools {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 14px;
}

.search-box,
.filter-box {
  display: grid;
  gap: 8px;
}

.search-box span,
.filter-box span {
  color: #f3c96f;
  font-size: 0.82rem;
}

.search-box input,
.filter-box select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.22);
  color: var(--text);
  font: inherit;
}

.search-box input:focus,
.filter-box select:focus {
  outline: 2px solid rgba(255, 180, 75, 0.28);
  outline-offset: 2px;
}

.inventory-meta {
  margin: 16px 0 18px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #ffe5aa;
  font-size: 0.88rem;
}

.inventory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 14px;
}

.item-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  cursor: pointer;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.item-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 196, 86, 0.28);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.26);
}

.item-image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: 18px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 195, 84, 0.18), transparent 38%),
    linear-gradient(180deg, #33201a 0%, #141111 100%);
}

.item-image-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.item-band {
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(7, 7, 7, 0.72);
  color: #fff4cf;
  font-size: 0.7rem;
  font-weight: 700;
}

.item-copy {
  display: grid;
  gap: 6px;
}

.item-name {
  margin: 0;
  font-size: 1rem;
  line-height: 1.4;
}

.item-market-name {
  margin: 0;
  min-height: 40px;
  font-size: 0.84rem;
  line-height: 1.5;
}

.item-pricing {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
}

.item-cny {
  font: 700 1.34rem "Cinzel", serif;
  color: #fff;
}

.item-usd {
  color: #ffcf80;
  font-size: 0.9rem;
}

.item-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.82rem;
}

.item-sponsor {
  margin: 2px 0 0;
  padding-top: 8px;
  border-top: 1px solid rgba(219, 164, 60, 0.16);
  color: #c9b78f;
  font-size: 0.78rem;
}

.item-card.is-claimed {
  border-color: rgba(196, 62, 47, 0.52);
  background: linear-gradient(180deg, rgba(92, 22, 18, 0.28), #090a0a);
}

.item-card.is-claimed .item-image-wrap img {
  filter: grayscale(0.68) brightness(0.52);
}

.item-claimed-badge {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 11px 8px;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(91, 14, 11, 0.96), rgba(181, 47, 35, 0.94));
  color: #fff1d1;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.item-claimed-player {
  margin: 0;
  color: #d47768;
  font-size: 0.78rem;
}

.item-claimed-player strong {
  color: #f2c1a9;
}

.item-footer a {
  color: #88efc4;
  text-decoration: none;
}

.item-footer a:hover {
  color: #c4ffe9;
}

.inventory-empty {
  grid-column: 1 / -1;
  padding: 26px 20px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  text-align: center;
}

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

.tier-card {
  padding: 18px;
  border-radius: 22px;
}

.tier-card h3,
.tier-card p {
  margin: 0;
}

.tier-card h3 {
  font-size: 1rem;
}

.tier-card p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.6;
}

.mini-kicker {
  display: block;
  margin-bottom: 8px;
  color: #ffcf80;
  font-size: 0.72rem;
  font-weight: 700;
}

.closing-line {
  padding: 18px 24px;
  text-align: center;
  background:
    linear-gradient(90deg, rgba(255, 94, 44, 0.2), rgba(255, 196, 86, 0.12)),
    rgba(21, 8, 8, 0.92);
}

.closing-line p {
  margin: 0;
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.preview-dialog {
  display: none;
  width: min(980px, calc(100vw - 28px));
  max-height: min(90dvh, 820px);
  padding: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(28, 16, 14, 0.96), rgba(7, 5, 5, 0.98));
  color: var(--text);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5);
}

.preview-dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
}

.preview-dialog[open] {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
}

.preview-dialog.is-open {
  position: fixed;
  inset: 50% auto auto 50%;
  z-index: 40;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  transform: translate(-50%, -50%);
}

.dialog-close {
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.46);
  color: #fff4d1;
  font-size: 1.5rem;
  cursor: pointer;
  touch-action: manipulation;
}

.preview-media-wrap {
  min-height: 420px;
  background:
    radial-gradient(circle at 40% 20%, rgba(255, 183, 71, 0.22), transparent 28%),
    linear-gradient(180deg, #35201d 0%, #0e0c0d 100%);
}

.preview-media-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.preview-copy {
  padding: 34px 28px 28px;
}

.preview-market-name {
  margin: 10px 0 0;
  line-height: 1.6;
}

.preview-pricing {
  margin-top: 22px;
  display: grid;
  gap: 12px;
}

.preview-pricing div {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
}

.preview-pricing span {
  display: block;
  color: #f4c76e;
  font-size: 0.82rem;
}

.preview-pricing strong {
  display: block;
  margin-top: 8px;
  font: 700 1.28rem "Cinzel", serif;
}

.steam-link {
  display: inline-flex;
  margin-top: 24px;
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-hot));
  color: #2e1403;
  text-decoration: none;
  font-weight: 700;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 620ms ease,
    transform 620ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hero-panel,
  .poster-grid,
  .preview-dialog[open] {
    grid-template-columns: 1fr;
  }

  .event-layout,
  .lottery-layout,
  .titles-grid,
  .podium-grid,
  .rules-grid,
  .tier-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .inventory-tools {
    grid-template-columns: 1fr 1fr;
  }

  .search-box {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .topbar {
    border-radius: 28px;
  }

  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    padding: 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(15, 8, 8, 0.95);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
  }

  .hero-panel,
  .poster-panel,
  .rulebook-panel,
  .lottery-panel,
  .titles-panel,
  .podium-panel,
  .standings-panel,
  .event-panel,
  .inventory-panel,
  .tiers-panel {
    padding: 20px;
  }

  .hero-callouts,
  .draw-history,
  .event-layout,
  .standings-layout,
  .standings-metrics,
  .titles-grid,
  .podium-grid,
  .rules-grid,
  .inventory-tools,
  .tier-grid {
    grid-template-columns: 1fr;
  }

  .redeem-form {
    grid-template-columns: 1fr;
  }

  .metric-card {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metric-card:last-child {
    border-bottom: 0;
  }

  .luck-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-note {
    max-width: none;
    text-align: left;
  }
}

@media (max-width: 560px) {
  .topbar,
  .page-shell {
    width: min(100vw - 16px, 100%);
  }

  .topbar {
    margin-top: 8px;
    padding: 12px 14px;
  }

  .hero-copy h1 {
    font-size: 4.1rem;
  }

  .hero-logo-lockup {
    align-items: flex-start;
  }

  .draw-highlight,
  .draw-row {
    grid-template-columns: 1fr;
  }

  .inventory-grid {
    grid-template-columns: 1fr 1fr;
  }

  .preview-dialog[open] {
    width: calc(100vw - 16px);
    max-height: calc(100dvh - 16px);
    margin: 8px auto;
    border-radius: 18px;
  }

  .preview-copy {
    padding: 22px 18px 20px;
  }

  .dialog-close {
    position: sticky;
    top: 10px;
    right: 10px;
    justify-self: end;
    grid-column: 1;
    grid-row: 1;
    margin: 10px 10px -58px 0;
    z-index: 5;
  }

  .preview-media-wrap {
    min-height: 240px;
    max-height: 42dvh;
  }

  .preview-media-wrap img {
    object-fit: contain;
  }
}

@media (max-width: 1080px) {
  .match-card summary {
    grid-template-columns: minmax(170px, 1fr) minmax(250px, 1fr) 28px;
  }

  .match-team-signal {
    justify-content: flex-start;
  }

  .match-team-signal.is-dire {
    grid-column: 1 / 2;
  }

  .match-badges {
    grid-column: 2 / 3;
    justify-content: flex-start;
  }

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

@media (max-width: 720px) {
  .match-card summary {
    grid-template-columns: 1fr 28px;
    gap: 12px;
  }

  .match-summary-main,
  .match-team-signal,
  .match-scoreline,
  .match-badges {
    grid-column: 1 / 2;
  }

  .match-card summary::after {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .match-scoreline {
    justify-content: flex-start;
    gap: 18px;
  }

  .match-scoreline span {
    min-width: 42px;
    font-size: 2rem;
  }

  .match-pagination {
    align-items: stretch;
  }

  .match-pagination div {
    justify-content: flex-start;
  }

  .match-team-head,
  .match-player-table {
    font-size: 0.8rem;
  }

  .match-player-table {
    min-width: 880px;
  }
}

@media (max-width: 1080px) {
  .match-card summary {
    grid-template-columns: minmax(170px, 1fr) minmax(250px, 1fr) 28px;
  }

  .match-team-signal {
    justify-content: flex-start;
  }

  .match-team-signal.is-dire {
    grid-column: 1 / 2;
  }

  .match-badges {
    grid-column: 2 / 3;
    justify-content: flex-start;
  }

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

@media (max-width: 720px) {
  .match-card summary {
    grid-template-columns: 1fr 28px;
    gap: 12px;
  }

  .match-summary-main,
  .match-team-signal,
  .match-scoreline,
  .match-badges {
    grid-column: 1 / 2;
  }

  .match-card summary::after {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .match-scoreline {
    justify-content: flex-start;
    gap: 18px;
  }

  .match-scoreline span {
    min-width: 42px;
    font-size: 2rem;
  }

  .match-pagination {
    align-items: stretch;
  }

  .match-pagination div {
    justify-content: flex-start;
  }

  .match-team-head,
  .match-player-table {
    font-size: 0.8rem;
  }

  .match-player-table {
    min-width: 880px;
  }
}

@media (max-width: 440px) {
  .inventory-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* 2026 tournament visual refresh */
:root {
  --bg: #050607;
  --bg-deep: #020303;
  --panel: rgba(10, 11, 12, 0.96);
  --panel-soft: rgba(17, 17, 17, 0.92);
  --line: rgba(211, 156, 54, 0.22);
  --line-strong: rgba(237, 184, 73, 0.64);
  --text: #f5ead1;
  --muted: #b8ae9d;
  --accent: #aa2017;
  --accent-hot: #e9b348;
  --emerald: #d4a83f;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.48);
  --radius: 4px;
}

body {
  background:
    radial-gradient(circle at 76% 4%, rgba(138, 31, 20, 0.16), transparent 27%),
    linear-gradient(180deg, #08090a 0%, #040506 45%, #020303 100%);
}

body::before {
  opacity: 0.5;
  background:
    linear-gradient(105deg, transparent 0 48%, rgba(220, 158, 47, 0.025) 49%, transparent 50%),
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px);
  background-size: auto, 5px 5px;
}

.page-noise {
  opacity: 0.035;
  background-size: 7px 7px;
}

.topbar {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 14px max(24px, calc((100vw - 1380px) / 2));
  border: 0;
  border-bottom: 1px solid rgba(220, 164, 58, 0.28);
  border-radius: 0;
  background: rgba(3, 4, 5, 0.92);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Noto Sans SC", sans-serif;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.site-nav {
  gap: 28px;
}

.site-nav a {
  position: relative;
  padding: 10px 0;
  color: #d0c6b4;
  font-size: 0.88rem;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 3px;
  height: 1px;
  background: var(--accent-hot);
  transition: right 180ms ease;
}

.site-nav a:hover::after {
  right: 0;
}

.page-shell {
  width: min(1440px, 100%);
  margin: 0 auto;
  gap: 0;
}

.hero-panel,
.poster-panel,
.event-panel,
.rulebook-panel,
.titles-panel,
.podium-panel,
.matches-panel,
.inventory-panel,
.lottery-panel,
.tiers-panel,
.closing-line {
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}

.hero-panel {
  min-height: 720px;
  padding: 54px clamp(24px, 5vw, 72px) 42px;
  grid-template-columns: minmax(430px, 0.78fr) minmax(320px, 1.22fr);
  align-items: center;
  gap: 34px;
  background:
    linear-gradient(90deg, #060708 0%, rgba(6, 7, 8, 0.98) 31%, rgba(6, 7, 8, 0.72) 51%, rgba(6, 7, 8, 0.12) 78%),
    linear-gradient(180deg, rgba(6, 7, 8, 0.08) 55%, #060708 100%),
    url("/assets/xuanchuantu1.webp") center right / cover no-repeat,
    #060708;
}

.hero-panel::before {
  background:
    radial-gradient(circle at 22% 42%, rgba(143, 30, 20, 0.13), transparent 35%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025), transparent 42%);
}

.hero-copy {
  grid-column: 1;
  z-index: 2;
}

.hero-logo-lockup {
  gap: 20px;
  margin: 0;
}

.hero-event-logo {
  width: 116px;
  height: 116px;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.38));
}

.hero-logo-copy p {
  margin: 0 0 5px;
  color: #d9ad52;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.26em;
}

.hero-logo-copy h1 {
  font-size: clamp(4.8rem, 8vw, 7.4rem);
  line-height: 0.86;
  color: #ebc468;
  background: linear-gradient(180deg, #fff0b5 2%, #d59b34 56%, #f4d47b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-motto {
  margin: 30px 0 0;
  font: 900 clamp(1.7rem, 3vw, 2.65rem) "Noto Sans SC", sans-serif;
  letter-spacing: -0.02em;
  color: #f0d28a;
}

.hero-motto em {
  color: #dc4938;
  font-style: italic;
}

.hero-slogan {
  max-width: 520px;
  margin-top: 16px;
  color: #c8bead;
  font-size: 1.02rem;
}

.hero-link {
  min-width: 190px;
  padding: 15px 20px;
  justify-content: space-between;
  border-radius: 0;
  border-color: rgba(221, 168, 67, 0.58);
  color: #e9c572;
  background: rgba(7, 8, 9, 0.78);
  font-weight: 700;
}

.hero-link.primary {
  background: linear-gradient(180deg, #f1cc76, #c68c27);
  color: #1d1307;
}

.hero-visual {
  min-height: 570px;
  border: 1px solid rgba(222, 166, 55, 0.4);
  border-radius: 0;
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 8% 100%, 0 88%, 0 12%);
  box-shadow: -28px 0 55px rgba(0, 0, 0, 0.38);
}

.hero-visual img {
  object-position: center;
}

.hero-visual::after {
  background: linear-gradient(90deg, rgba(5, 6, 7, 0.52), transparent 18%);
}

.hero-callouts {
  display: none;
}

.poster-panel,
.event-panel,
.rulebook-panel,
.titles-panel,
.podium-panel,
.inventory-panel,
.lottery-panel,
.tiers-panel {
  padding: 72px clamp(24px, 5vw, 72px);
  background: #070809;
}

.section-heading {
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.section-heading h2 {
  font: 900 clamp(2rem, 4vw, 3.3rem) "Noto Sans SC", sans-serif;
  letter-spacing: 0.04em;
  color: #ebc871;
}

.eyebrow {
  color: #b94333;
  letter-spacing: 0.22em;
}

.poster-grid {
  display: block;
  background: transparent;
  border: 1px solid var(--line);
}

.poster-card {
  min-height: 430px;
  border: 0;
  border-radius: 0;
}

.poster-card.spotlight {
  min-height: clamp(420px, 53vw, 720px);
}

.poster-card.spotlight img {
  object-position: center;
}

.poster-copy {
  left: 0;
  right: 0;
  bottom: 0;
  padding: 22px 24px;
  border-radius: 0;
  background: linear-gradient(180deg, transparent, rgba(3, 4, 5, 0.94));
  backdrop-filter: none;
}

.event-panel {
  background:
    radial-gradient(circle at 100% 70%, rgba(118, 25, 17, 0.12), transparent 28%),
    #0a0a0b;
}

.event-layout {
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  gap: 0;
  border: 1px solid var(--line);
}

.event-timebar {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(150px, 0.7fr) 1px minmax(150px, 0.7fr);
  align-items: center;
  gap: 28px;
  margin-bottom: 14px;
  padding: 18px 24px;
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(143, 29, 22, 0.25), transparent 48%),
    #08090a;
}

.event-time-title strong,
.event-time-item strong,
.event-time-item span {
  display: block;
}

.event-time-title strong {
  margin-top: 5px;
  color: #e9c46e;
  font-size: 1.3rem;
}

.event-time-item span {
  color: var(--muted);
  font-size: 0.82rem;
}

.event-time-item strong {
  margin-top: 5px;
  color: #f6d785;
  font-size: 1.05rem;
}

.event-time-divider {
  width: 1px;
  height: 42px;
  background: var(--line);
}

.season-finished-banner {
  position: relative;
  margin-bottom: 14px;
  padding: 20px 24px;
  border: 1px solid rgba(235, 198, 108, 0.32);
  background:
    linear-gradient(90deg, rgba(179, 43, 32, 0.24), rgba(235, 198, 108, 0.08) 52%, transparent),
    #08090a;
  overflow: hidden;
}

.season-finished-banner::after {
  content: "FINAL";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(235, 198, 108, 0.08);
  font: 900 clamp(3rem, 9vw, 6.5rem) "Bebas Neue", sans-serif;
  letter-spacing: 0.08em;
  pointer-events: none;
}

.season-finished-banner strong,
.season-finished-banner p {
  position: relative;
  z-index: 1;
}

.season-finished-banner strong {
  display: block;
  margin-top: 4px;
  color: #f6d785;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.season-finished-banner p {
  max-width: 760px;
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.event-intro-card,
.event-info-card {
  min-height: 290px;
  padding: 30px;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.event-info-card:last-child {
  border-right: 0;
}

.event-intro-card h3 {
  font-size: 2rem;
  color: #ebc66c;
}

.goal-pill-row {
  margin-top: 26px;
}

.goal-pill {
  border-radius: 0;
  border-color: var(--line);
  background: #111;
}

.event-checklist li {
  position: relative;
  padding: 12px 0 12px 20px;
  border-bottom: 1px solid rgba(221, 167, 62, 0.12);
  border-radius: 0;
  background: transparent;
}

.event-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 21px;
  width: 7px;
  height: 7px;
  background: #b32b20;
  transform: rotate(45deg);
}

.rules-grid {
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}

.rule-card {
  min-height: 0;
  display: grid;
  grid-template-columns: 100px 220px 1fr;
  align-items: center;
  gap: 26px;
  padding: 18px 22px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: linear-gradient(90deg, rgba(130, 26, 18, 0.16), transparent 24%);
}

.rule-card.accent {
  border-color: var(--line);
  background: linear-gradient(90deg, rgba(172, 42, 27, 0.25), transparent 30%);
}

.rule-index {
  margin: 0;
  padding: 10px 16px;
  justify-content: center;
  background: #8f1d16;
  clip-path: polygon(8% 0, 100% 0, 90% 100%, 0 100%);
  color: #f6d785;
  font: 900 1.3rem "Cinzel", serif;
}

.rule-card h3 {
  color: #e9c46e;
  font-size: 1.05rem;
}

.rule-card p {
  margin: 0;
}

.rule-quote-art {
  grid-column: 1 / -1;
  width: 100%;
  display: block;
  aspect-ratio: 3 / 1;
  object-fit: cover;
  margin: 4px 0 0;
  border: 1px solid rgba(233, 196, 110, 0.38);
}

.titles-panel {
  background: #050607;
}

.podium-panel {
  background:
    radial-gradient(circle at 50% 0, rgba(222, 166, 55, 0.12), transparent 30%),
    #08090a;
}

.podium-policy {
  padding: 22px 26px;
  border: 1px solid rgba(222, 166, 55, 0.36);
  background: linear-gradient(100deg, rgba(143, 29, 22, 0.28), transparent 65%);
}

.podium-policy h3,
.podium-policy p,
.podium-card h3,
.podium-card p {
  margin: 0;
}

.podium-policy h3 {
  margin-top: 8px;
  color: #e9c46e;
}

.podium-policy p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.7;
}

.podium-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: 14px;
  margin-top: 18px;
}

.podium-card {
  position: relative;
  min-height: 230px;
  padding: 30px 26px 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  color: #c9d0d5;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), transparent 55%),
    #0b0c0d;
}

.podium-card::after {
  content: "";
  position: absolute;
  right: -36px;
  bottom: -48px;
  width: 150px;
  height: 150px;
  border: 1px solid currentColor;
  opacity: 0.12;
  transform: rotate(45deg);
}

.podium-card.champion {
  min-height: 270px;
  border-color: rgba(239, 191, 82, 0.65);
  color: #f1c766;
  background:
    radial-gradient(circle at 80% 10%, rgba(239, 191, 82, 0.2), transparent 34%),
    linear-gradient(145deg, rgba(143, 29, 22, 0.3), transparent 65%),
    #0b0c0d;
}

.podium-card.third-place {
  color: #c98b58;
}

.podium-rank {
  display: block;
  font: 900 clamp(3.2rem, 6vw, 5.8rem) "Cinzel", serif;
  line-height: 0.85;
  opacity: 0.22;
}

.podium-card h3 {
  margin-top: 14px;
  color: currentColor;
  font-size: 1.7rem;
}

.podium-card strong {
  display: block;
  margin-top: 18px;
  color: #f2d68f;
  font-size: 1.05rem;
}

.podium-card p {
  margin-top: 10px;
  color: var(--muted);
}

.standings-panel {
  background:
    radial-gradient(circle at 88% 0, rgba(94, 230, 177, 0.1), transparent 28%),
    #090a0b;
}

.standings-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 14px;
}

.season-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: 100%;
  margin: 0 0 16px;
  padding: 6px;
  border: 1px solid rgba(233, 196, 110, 0.2);
  background:
    radial-gradient(circle at 20% 0, rgba(233, 196, 110, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025);
}

.season-tab {
  flex: 0 0 auto;
  min-width: 130px;
  padding: 12px 20px;
  border: 0;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-weight: 900;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.season-tab:hover {
  color: #ffe4a8;
  background: rgba(255, 255, 255, 0.04);
}

.season-tab.is-active {
  color: #241005;
  background: linear-gradient(180deg, rgba(255, 243, 180, 0.95), rgba(197, 116, 45, 0.95));
  box-shadow: 0 10px 24px rgba(143, 29, 22, 0.22);
  transform: translateY(-1px);
}

.season-tab-panel[hidden] {
  display: none;
}

.standings-card,
.metric-card {
  position: relative;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.standings-card {
  min-width: 0;
  padding: 22px;
}

.title-board-shell {
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0, rgba(233, 196, 110, 0.12), transparent 32%),
    radial-gradient(circle at 0 100%, rgba(143, 29, 22, 0.2), transparent 34%),
    rgba(255, 255, 255, 0.028);
}

.standings-card-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.standings-card h3,
.metric-card h3,
.standings-card-head h3 {
  margin: 0;
  color: #e8c36d;
}

.standings-status {
  padding: 7px 10px;
  border: 1px solid rgba(233, 196, 110, 0.3);
  color: #f6d785;
  background: rgba(143, 29, 22, 0.18);
  font-size: 0.82rem;
  white-space: nowrap;
}

.standings-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(233, 196, 110, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
}

.standings-table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
}

.standings-table th,
.standings-table td {
  padding: 13px 14px;
  border-bottom: 1px solid rgba(233, 196, 110, 0.12);
  text-align: left;
  white-space: nowrap;
}

.standings-table th {
  color: #ffcf75;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  background: rgba(0, 0, 0, 0.18);
}

.standings-table tbody tr {
  transition: background 160ms ease;
}

.standings-table tbody tr:hover {
  background: rgba(233, 196, 110, 0.055);
}

.standings-table tbody tr.is-top-1 {
  background:
    linear-gradient(90deg, rgba(233, 196, 110, 0.16), transparent 52%),
    rgba(255, 255, 255, 0.02);
}

.standings-table tbody tr.is-top-2,
.standings-table tbody tr.is-top-3 {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.055), transparent 48%);
}

.standing-rank-badge {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(233, 196, 110, 0.32);
  color: #f6d785;
  background: rgba(0, 0, 0, 0.28);
  font: 900 0.88rem "Cinzel", serif;
}

.is-top-1 .standing-rank-badge {
  color: #2c1306;
  border-color: transparent;
  background: linear-gradient(180deg, #ffe6a5, #c77930);
  box-shadow: 0 0 18px rgba(233, 196, 110, 0.28);
}

.standing-player {
  color: #fff0cb;
}

.standing-points {
  color: #f3c667;
  font-size: 1.08rem;
}

.standing-draws {
  display: inline-flex;
  min-width: 42px;
  justify-content: center;
  padding: 5px 9px;
  border: 1px solid rgba(94, 230, 177, 0.2);
  color: #b8ffd9;
  background: rgba(94, 230, 177, 0.075);
  font-weight: 900;
}

.standings-empty-row td {
  color: var(--muted);
  text-align: center;
  white-space: normal;
}

.score-rule-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.score-rule-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(233, 196, 110, 0.12);
}

.score-rule-list li:last-child {
  border-bottom: 0;
}

.score-rule-list strong {
  color: #fff0cb;
}

.score-rule-list span {
  color: #f6d785;
  white-space: nowrap;
}

.score-note {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.standings-metrics {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
}

.metric-card {
  min-height: 190px;
  padding: 22px;
  border: 0;
  border-right: 1px solid var(--line);
}

.metric-card:last-child {
  border-right: 0;
}

.metric-card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.title-policy-card {
  grid-column: 1 / -1;
  border-color: rgba(233, 196, 110, 0.42);
  background:
    linear-gradient(100deg, rgba(143, 29, 22, 0.28), transparent 60%),
    rgba(255, 255, 255, 0.035);
}

.title-card .title-meme {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  margin: 14px 0 0;
  padding: 7px 11px;
  border: 1px solid rgba(233, 196, 110, 0.28);
  border-left: 3px solid #a72b20;
  border-radius: 2px;
  color: #f6d785;
  background: linear-gradient(90deg, rgba(143, 29, 22, 0.24), rgba(143, 29, 22, 0.06));
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
}

.titles-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
}

.title-card {
  min-height: 250px;
  padding: 24px 26px;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.title-card:last-child {
  border-right: 0;
}

.title-card:nth-child(4),
.title-card:nth-child(7),
.title-card:nth-child(10) {
  border-right: 0;
}

.title-card:nth-child(n + 5) {
  border-top: 1px solid var(--line);
}

.title-card-wide {
  grid-column: span 2;
}

.title-card h3 {
  color: #e8c36d;
}

.title-boards {
  margin-top: 0;
  display: block;
}

.title-board-card,
.title-board-empty {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(233, 196, 110, 0.18);
  background:
    radial-gradient(circle at top right, rgba(167, 43, 32, 0.18), transparent 36%),
    rgba(255, 255, 255, 0.035);
  padding: 18px;
}

.title-board-card {
  min-width: 0;
}

.title-board-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, #f3c667, #8f1d16);
  opacity: 0.85;
}

.title-board-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
  gap: 18px;
  align-items: stretch;
}

.title-board-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.title-board-head h3 {
  margin: 6px 0 0;
  color: #f3c667;
}

.title-board-head strong {
  flex: 0 0 auto;
  padding: 7px 10px;
  color: #2b1208;
  background: #e8c36d;
  font-size: 0.82rem;
}

.title-board-card .title-meme {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  margin: 10px 0 0;
  padding: 7px 10px;
  border: 1px solid rgba(233, 196, 110, 0.22);
  color: #ffe0a0;
  background: rgba(143, 29, 22, 0.16);
  font-weight: 900;
  line-height: 1.4;
}

.title-board-leader {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid rgba(233, 196, 110, 0.18);
  background:
    linear-gradient(90deg, rgba(233, 196, 110, 0.12), rgba(255, 255, 255, 0.025)),
    rgba(0, 0, 0, 0.16);
}

.title-board-leader span,
.title-board-leader strong,
.title-board-leader em {
  display: block;
}

.title-board-leader span {
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
}

.title-board-leader strong {
  margin-top: 5px;
  color: #fff0cb;
  font-size: 1.15rem;
}

.title-board-leader em {
  margin-top: 5px;
  color: #f3c667;
  font-style: normal;
  font-weight: 900;
}

.title-board-list {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.title-board-list li {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 11px 0;
  border-top: 1px solid rgba(233, 196, 110, 0.12);
}

.title-board-list li.is-ineligible {
  opacity: 0.62;
}

.board-rank {
  display: inline-flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(233, 196, 110, 0.22);
  color: #f6d785;
  font-weight: 900;
}

.board-player {
  min-width: 0;
  color: #fff0cb;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.title-board-list strong,
.board-value {
  color: #f3c667;
  text-align: right;
}

.title-board-list small {
  color: var(--muted);
  font-weight: 700;
}

.title-board-list em {
  grid-column: 2;
  color: var(--muted);
  font-size: 0.78rem;
  font-style: normal;
}

.board-eligibility {
  justify-self: end;
  color: #b8ffd9;
  font-size: 0.78rem;
}

.title-board-list li.is-ineligible .board-eligibility {
  color: #e2b06b;
}

.title-board-note,
.title-board-empty {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.title-rule-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(233, 196, 110, 0.18);
  background:
    radial-gradient(circle at 100% 0, rgba(243, 198, 103, 0.16), transparent 38%),
    linear-gradient(180deg, rgba(143, 29, 22, 0.2), rgba(255, 255, 255, 0.03)),
    rgba(0, 0, 0, 0.16);
  padding: 18px;
}

.title-rule-card::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 86px;
  height: 86px;
  border: 1px solid rgba(233, 196, 110, 0.16);
  transform: rotate(12deg);
  opacity: 0.28;
}

.title-rule-card h3 {
  margin: 8px 0 0;
  color: #f3c667;
}

.title-rule-text {
  margin: 14px 0 0;
  color: #fff0cb;
  font-size: 1.03rem;
  font-weight: 800;
  line-height: 1.75;
}

.title-rule-meta {
  position: relative;
  z-index: 1;
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
}

.title-rule-meta div {
  padding: 11px 12px;
  border: 1px solid rgba(233, 196, 110, 0.14);
  background: rgba(0, 0, 0, 0.18);
}

.title-rule-meta dt {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.title-rule-meta dd {
  margin: 5px 0 0;
  color: #f6d785;
  font-weight: 900;
  line-height: 1.55;
}

.match-center {
  overflow: hidden;
}

.match-overview {
  display: grid;
  grid-template-columns: 0.8fr 1fr 1.3fr;
  gap: 12px;
  margin-bottom: 14px;
}

.match-overview article {
  position: relative;
  overflow: hidden;
  padding: 16px 18px;
  border: 1px solid rgba(233, 196, 110, 0.16);
  background:
    radial-gradient(circle at 100% 0, rgba(243, 198, 103, 0.12), transparent 44%),
    rgba(0, 0, 0, 0.18);
}

.match-overview article::after {
  content: "";
  position: absolute;
  inset: auto 16px 0 16px;
  height: 2px;
  background: linear-gradient(90deg, rgba(243, 198, 103, 0.7), transparent);
}

.match-overview span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.match-overview strong {
  display: block;
  margin-top: 8px;
  color: #f6d785;
  font-size: clamp(1.05rem, 1.9vw, 1.55rem);
  line-height: 1.25;
}

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

.match-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(233, 196, 110, 0.14);
  background:
    linear-gradient(90deg, rgba(143, 29, 22, 0.16), transparent 58%),
    rgba(0, 0, 0, 0.24);
}

.match-pagination span {
  color: var(--muted);
  font-size: 0.9rem;
}

.match-pagination div {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.match-pagination button {
  min-width: 38px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 207, 128, 0.22);
  background: rgba(255, 255, 255, 0.05);
  color: #ffdf9b;
  font: inherit;
  cursor: pointer;
}

.match-pagination button.is-current {
  background: linear-gradient(180deg, #e6b559, #8d1c16);
  color: #170706;
  font-weight: 900;
}

.match-pagination button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.match-page-ellipsis {
  color: rgba(255, 223, 155, 0.5);
}

.match-empty {
  padding: 24px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  color: var(--muted);
  text-align: center;
}

.match-card {
  border: 1px solid rgba(233, 196, 110, 0.14);
  border-radius: 0;
  background:
    radial-gradient(circle at 16% 0%, rgba(94, 230, 177, 0.08), transparent 30%),
    linear-gradient(135deg, rgba(10, 22, 26, 0.92), rgba(11, 8, 8, 0.94));
  overflow: hidden;
}

.match-card summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(210px, 0.72fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px 20px 18px 22px;
  cursor: pointer;
  list-style: none;
  border-left: 3px solid rgba(243, 198, 103, 0.72);
}

.match-card summary::-webkit-details-marker {
  display: none;
}

.match-card summary::after {
  content: "展开";
  justify-self: end;
  padding: 8px 11px;
  border: 1px solid rgba(243, 198, 103, 0.22);
  background: rgba(255, 255, 255, 0.04);
  color: #ffdf9b;
  font-size: 0.78rem;
}

.match-card[open] summary::after {
  content: "收起";
}

.match-summary-main h4,
.match-summary-main p {
  margin: 0;
}

.match-summary-main h4 {
  font-size: 1.25rem;
}

.match-summary-main p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.9rem;
}

.match-summary-main p span {
  margin-left: 10px;
  padding-left: 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.match-scoreline {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.32);
  color: var(--muted);
  font: 700 1.18rem "Cinzel", serif;
  white-space: nowrap;
}

.match-scoreline strong {
  color: rgba(255, 255, 255, 0.28);
}

.match-scoreline .is-win {
  color: #ffe19d;
}

.match-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.match-badge {
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.06);
  color: #d8c7a2;
  font-size: 0.78rem;
}

.match-badge.is-award {
  color: #ffe29e;
  border: 1px solid rgba(243, 198, 103, 0.22);
}

.match-badge.is-comeback {
  color: #7ff5c2;
  border: 1px solid rgba(127, 245, 194, 0.25);
}

.match-detail {
  display: grid;
  gap: 14px;
  padding: 0 16px 18px;
}

.match-team {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.18);
}

.match-team.is-radiant {
  border-left: 4px solid #77e4a0;
}

.match-team.is-dire {
  border-left: 4px solid #d75b4f;
}

.match-team.is-winner {
  box-shadow: inset 0 0 0 1px rgba(255, 207, 128, 0.2);
}

.match-team-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 14px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.055), transparent),
    rgba(255, 255, 255, 0.025);
}

.match-team-head strong {
  color: #fff2c7;
}

.match-team-head span {
  color: var(--muted);
  font-size: 0.9rem;
}

.match-table-wrap {
  overflow-x: auto;
  scrollbar-color: rgba(243, 198, 103, 0.48) rgba(255, 255, 255, 0.05);
}

.match-player-table {
  width: 100%;
  min-width: 1120px;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.match-player-table th,
.match-player-table td {
  padding: 11px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-align: left;
  white-space: nowrap;
}

.match-player-table th {
  color: #ffcf80;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.22);
}

.match-player-table td {
  color: #e7dfd1;
}

.match-player-table th:first-child,
.match-player-table td:first-child {
  position: sticky;
  left: 0;
  z-index: 1;
  min-width: 168px;
  background: #101011;
}

.match-player-table th:nth-child(n+3),
.match-player-table td:nth-child(n+3) {
  text-align: right;
}

.match-player-table th:last-child,
.match-player-table td:last-child {
  text-align: center;
}

.match-player-table tr:last-child td {
  border-bottom: 0;
}

.match-player-table tr.is-winner td {
  background: rgba(255, 207, 128, 0.03);
}

.match-player-table small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.72rem;
}

.hero-chip {
  display: inline-flex;
  padding: 5px 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff0c2;
}

.pending-stat {
  color: #b8a37b;
  font-size: 0.78rem;
}

.matches-panel {
  scroll-margin-top: 88px;
  background:
    radial-gradient(circle at 82% 7%, rgba(229, 52, 36, 0.14), transparent 24%),
    radial-gradient(circle at 16% 18%, rgba(112, 219, 129, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(6, 12, 19, 0.94), rgba(4, 7, 11, 0.98));
}

.matches-panel .section-heading {
  align-items: flex-start;
  border-bottom: 1px solid rgba(148, 173, 184, 0.16);
  padding-bottom: 18px;
}

.matches-panel .section-heading h2 {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #ffd373;
  text-shadow: 0 0 24px rgba(255, 94, 49, 0.25);
}

.matches-panel .section-heading h2::before {
  content: "";
  width: 38px;
  height: 38px;
  background:
    linear-gradient(135deg, rgba(255, 86, 49, 0.95), rgba(127, 19, 19, 0.8));
  clip-path: polygon(12% 10%, 88% 10%, 88% 24%, 57% 24%, 88% 58%, 88% 90%, 12% 90%, 12% 76%, 44% 76%, 12% 42%);
  box-shadow: 0 0 26px rgba(255, 58, 31, 0.45);
}

.matches-panel .section-note {
  max-width: 420px;
  color: rgba(198, 210, 212, 0.72);
}

.match-overview {
  display: none;
}

.match-center {
  border-color: rgba(102, 121, 134, 0.24);
  background:
    linear-gradient(180deg, rgba(16, 29, 40, 0.9), rgba(6, 12, 18, 0.94)),
    #070d13;
  box-shadow:
    0 22px 70px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.match-center .standings-card-head {
  display: none;
}

.match-list {
  gap: 8px;
}

.match-pagination {
  min-height: 58px;
  padding: 12px 16px;
  border: 1px solid rgba(115, 135, 150, 0.22);
  background:
    linear-gradient(90deg, rgba(19, 38, 52, 0.86), rgba(10, 18, 27, 0.94)),
    #09111a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.match-pagination span {
  color: #c2cbd1;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
}

.match-pagination button {
  min-width: 42px;
  border-radius: 4px;
  border-color: rgba(105, 124, 138, 0.36);
  background: rgba(8, 16, 24, 0.76);
  color: #d9e4e8;
  font-size: 0.88rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.match-pagination button:not(:disabled):hover {
  border-color: rgba(255, 82, 62, 0.72);
  color: #fff3df;
}

.match-pagination button.is-current {
  border-color: rgba(255, 111, 83, 0.92);
  background: linear-gradient(180deg, rgba(151, 41, 38, 0.92), rgba(100, 20, 24, 0.96));
  color: #fff0df;
  box-shadow: 0 0 24px rgba(210, 46, 38, 0.24);
}

.match-card {
  border: 1px solid rgba(96, 116, 130, 0.35);
  background:
    linear-gradient(90deg, rgba(16, 32, 44, 0.92), rgba(8, 15, 23, 0.96)),
    #08111a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.match-card[open] {
  border-color: rgba(239, 45, 42, 0.95);
  box-shadow:
    0 0 0 1px rgba(255, 45, 38, 0.34),
    0 18px 48px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.match-card summary {
  grid-template-columns: minmax(170px, 0.8fr) minmax(120px, 0.5fr) minmax(250px, 0.72fr) minmax(120px, 0.5fr) minmax(180px, 0.72fr) 28px;
  gap: 18px;
  min-height: 74px;
  padding: 12px 16px 12px 18px;
  border-left: 0;
}

.match-card summary::after {
  content: "";
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-right: 2px solid #e8f0f1;
  border-bottom: 2px solid #e8f0f1;
  background: transparent;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.match-card[open] summary::after {
  content: "";
  transform: rotate(225deg) translate(-2px, -2px);
}

.match-summary-main h4 {
  color: #d7e4e8;
  font: 800 0.95rem "Rajdhani", "Noto Sans SC", sans-serif;
  letter-spacing: 0.02em;
}

.match-summary-main p {
  margin-top: 7px;
  color: rgba(188, 205, 212, 0.62);
  font-size: 0.84rem;
}

.match-team-signal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(179, 199, 204, 0.74);
  font-weight: 900;
}

.match-team-signal b {
  color: inherit;
  font-size: 1rem;
}

.match-team-signal em {
  padding: 3px 7px;
  border-radius: 3px;
  border: 1px solid currentColor;
  font-style: normal;
  font-size: 0.74rem;
  line-height: 1;
}

.match-team-signal.is-win {
  color: #83d760;
}

.match-team-signal.is-dire.is-win,
.match-team-signal.is-dire {
  color: #ff514d;
}

.team-mark {
  width: 34px;
  height: 34px;
  opacity: 0.9;
  filter: drop-shadow(0 0 12px currentColor);
}

.team-mark.is-radiant {
  color: #8fd86b;
  background: currentColor;
  clip-path: polygon(50% 0, 62% 28%, 92% 16%, 74% 46%, 100% 56%, 67% 62%, 78% 100%, 50% 72%, 22% 100%, 33% 62%, 0 56%, 26% 46%, 8% 16%, 38% 28%);
}

.team-mark.is-dire {
  color: #ff4540;
  background: currentColor;
  clip-path: polygon(50% 0, 62% 25%, 88% 8%, 76% 36%, 100% 40%, 74% 55%, 90% 82%, 60% 70%, 50% 100%, 40% 70%, 10% 82%, 26% 55%, 0 40%, 24% 36%, 12% 8%, 38% 25%);
}

.match-scoreline {
  justify-content: center;
  gap: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: "Rajdhani", "Noto Sans SC", sans-serif;
}

.match-scoreline span {
  min-width: 54px;
  color: #89969d;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  font-weight: 800;
  line-height: 1;
  text-align: center;
}

.match-scoreline span:first-child.is-win {
  color: #82d460;
  text-shadow: 0 0 18px rgba(130, 212, 96, 0.32);
}

.match-scoreline span:last-child.is-win {
  color: #ff514d;
  text-shadow: 0 0 18px rgba(255, 81, 77, 0.32);
}

.match-scoreline strong {
  display: grid;
  gap: 3px;
  min-width: 72px;
  color: #e8eef0;
  font-size: 1rem;
  line-height: 1.05;
  text-align: center;
}

.match-scoreline small {
  color: rgba(188, 205, 212, 0.62);
  font-size: 0.74rem;
  font-weight: 700;
}

.match-badges {
  justify-content: flex-end;
}

.match-badge {
  border: 1px solid rgba(255, 207, 111, 0.42);
  border-radius: 999px;
  background: rgba(8, 14, 20, 0.8);
  color: #ffd56e;
  font-weight: 900;
}

.match-badge b {
  color: #fff2bd;
}

.match-detail {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 0 14px 16px;
}

.match-team {
  border-color: rgba(100, 120, 134, 0.26);
  background: rgba(6, 11, 17, 0.72);
}

.match-team.is-radiant {
  border-left: 0;
  border-color: rgba(72, 176, 101, 0.38);
}

.match-team.is-dire {
  border-left: 0;
  border-color: rgba(212, 61, 55, 0.42);
}

.match-team.is-winner {
  box-shadow: none;
}

.match-team-head {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.match-team.is-radiant .match-team-head {
  background: linear-gradient(100deg, rgba(27, 96, 46, 0.56), rgba(10, 21, 26, 0.9));
}

.match-team.is-dire .match-team-head {
  background: linear-gradient(100deg, rgba(105, 30, 28, 0.6), rgba(18, 15, 20, 0.92));
}

.match-team-head strong {
  color: #ecf6ef;
  font-size: 1rem;
}

.match-team-head strong small {
  margin-left: 6px;
  color: rgba(236, 246, 239, 0.65);
  font-size: 0.82rem;
}

.match-team-head span {
  color: #ffd56e;
  font-weight: 800;
}

.match-table-wrap {
  scrollbar-color: rgba(255, 207, 111, 0.52) rgba(255, 255, 255, 0.04);
}

.match-player-table {
  min-width: 720px;
  font-family: "Rajdhani", "Noto Sans SC", sans-serif;
  font-size: 0.78rem;
}

.match-player-table th,
.match-player-table td {
  padding: 7px 6px;
  border-color: rgba(121, 144, 158, 0.14);
}

.match-player-table th {
  color: rgba(211, 224, 229, 0.68);
  background: rgba(3, 8, 13, 0.38);
  font-size: 0.68rem;
}

.match-player-table td {
  color: #dfe9ea;
  font-weight: 700;
}

.match-player-table th:first-child,
.match-player-table td:first-child {
  min-width: 108px;
  background: #0a1118;
}

.match-player-name {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.match-team.is-radiant .match-player-name strong {
  color: #81d25f;
}

.match-team.is-dire .match-player-name strong {
  color: #ff6a5f;
}

.role-crown {
  display: inline-flex;
  align-items: center;
  padding: 2px 5px;
  border: 1px solid rgba(255, 183, 63, 0.7);
  border-radius: 4px;
  color: #ffca69;
  font-size: 0.64rem;
  font-style: normal;
  line-height: 1;
}

.role-crown.is-svp {
  border-color: rgba(91, 165, 255, 0.72);
  color: #8fc5ff;
}

.match-hero {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 92px;
}

.match-hero img {
  width: 28px;
  height: 28px;
  border-radius: 3px;
  object-fit: cover;
  background: #111a23;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.match-hero span {
  color: #d7e4e8;
}

.kda-line {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 900;
}

.kda-line b {
  color: #eaf4f4;
}

.kda-line .k {
  color: #6ee477;
}

.kda-line .d {
  color: #ff514d;
}

.kda-line i {
  color: rgba(217, 229, 232, 0.46);
  font-style: normal;
}

.inventory-panel {
  background:
    radial-gradient(circle at 50% 0, rgba(150, 37, 24, 0.1), transparent 24%),
    #090a0b;
}

.inventory-tools {
  grid-template-columns: 1.7fr repeat(3, 0.8fr);
  gap: 12px;
}

.search-box input,
.filter-box select {
  border-radius: 0;
  border-color: rgba(220, 165, 60, 0.3);
  background: #101112;
}

.inventory-meta {
  justify-content: flex-start;
}

.meta-chip {
  border-radius: 0;
  border-color: var(--line);
  background: transparent;
}

.inventory-grid {
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
  gap: 10px;
}

.item-card {
  gap: 10px;
  padding: 10px;
  border-radius: 0;
  border-color: rgba(219, 164, 60, 0.25);
  background: linear-gradient(180deg, #141414, #090a0a);
}

.item-card:hover {
  transform: translateY(-5px);
  border-color: #d2a445;
  box-shadow: 0 20px 34px rgba(0, 0, 0, 0.46);
}

.item-image-wrap {
  border-radius: 0;
  background: #111;
}

.item-band {
  border-radius: 0;
  background: rgba(5, 5, 5, 0.84);
  color: #e6bd63;
}

.item-cny {
  color: #e9c36b;
}

.lottery-panel {
  background:
    radial-gradient(circle at 8% 65%, rgba(138, 24, 16, 0.18), transparent 28%),
    #060708;
}

.lottery-layout {
  grid-template-columns: 0.86fr 1.14fr;
  gap: 14px;
}

.lottery-machine,
.odds-panel,
.history-card {
  border-radius: 0;
  border-color: rgba(222, 167, 62, 0.34);
  background: #0d0e0f;
}

.odds-panel {
  order: 2;
}

.lottery-machine {
  order: 1;
}

.redeem-panel {
  border-radius: 0;
  border-color: var(--line);
  background: linear-gradient(135deg, rgba(124, 23, 16, 0.2), transparent 55%);
}

.redeem-form {
  grid-template-columns: 1fr 150px;
}

.lottery-btn {
  border-radius: 0;
}

.lottery-btn.primary {
  background: linear-gradient(180deg, #a9251c, #68130f);
  color: #f8d77f;
  border: 1px solid #ca6c34;
}

.lottery-result {
  border: 1px solid var(--line);
  border-radius: 0;
  background: #0a0b0c;
}

.odds-row {
  grid-template-columns: minmax(0, 1fr) 84px;
  border-radius: 0;
  border-bottom: 1px solid rgba(218, 163, 61, 0.16);
  background: transparent;
}

.odds-meter {
  height: 8px;
  margin-top: 10px;
  overflow: hidden;
  background: #242220;
}

.odds-meter span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #8d1c16, #e2ac42);
}

.odds-rate {
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #e5b858;
  text-align: right;
}

.history-list li {
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(220, 165, 60, 0.1);
}

.history-list li.history-prize-card {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid rgba(220, 165, 60, 0.18);
  background:
    radial-gradient(circle at 100% 0, rgba(226, 172, 66, 0.12), transparent 42%),
    rgba(255, 255, 255, 0.025);
}

.history-prize-card img {
  width: 78px;
  height: 78px;
  display: block;
  object-fit: cover;
  border: 1px solid rgba(226, 172, 66, 0.28);
  background: #050607;
}

.history-prize-copy {
  min-width: 0;
}

.history-prize-copy span,
.history-prize-copy strong,
.history-prize-copy small,
.history-prize-copy em {
  display: block;
}

.history-prize-copy span {
  color: #f1d28b;
  font-weight: 800;
}

.history-prize-copy strong {
  margin-top: 4px;
  overflow: hidden;
  color: var(--text);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.history-prize-copy small,
.history-prize-copy em {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
  font-style: normal;
}

.history-prize-copy em {
  color: #dca53c;
}

@media (min-width: 1081px) {
  .history-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 721px) and (max-width: 1080px) {
  .history-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.tier-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
}

.tier-card {
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.tier-card:last-child {
  border-right: 0;
}

.closing-line {
  padding: 30px;
  background: #090706;
}

@media (max-width: 1080px) {
  .hero-panel {
    grid-template-columns: 1fr;
    background:
      linear-gradient(180deg, rgba(5, 6, 7, 0.18) 0%, rgba(5, 6, 7, 0.86) 48%, #060708 76%),
      url("/assets/xuanchuantu1.webp") center top / auto 520px no-repeat,
      #060708;
  }

  .hero-copy {
    max-width: 620px;
    padding: 390px 0 20px;
  }

  .event-layout,
  .standings-layout,
  .standings-metrics,
  .match-overview,
  .title-boards,
  .lottery-layout {
    grid-template-columns: 1fr;
  }

  .event-timebar {
    grid-template-columns: 1fr 1fr;
  }

  .event-time-title {
    grid-column: 1 / -1;
  }

  .event-time-divider {
    display: none;
  }

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

  .title-boards {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .title-board-layout {
    grid-template-columns: 1fr;
  }

  .match-card summary {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .match-card summary::after {
    justify-self: start;
  }

  .match-scoreline {
    justify-content: center;
  }

  .match-badges {
    justify-content: flex-start;
  }

  .match-pagination {
    align-items: flex-start;
    flex-direction: column;
  }

  .match-pagination div {
    justify-content: flex-start;
  }

}

@media (max-width: 820px) {
  .topbar {
    padding: 10px 16px;
  }

  .site-nav {
    background: rgba(5, 6, 7, 0.98);
    border-radius: 0;
  }

  .hero-panel,
  .poster-panel,
  .event-panel,
  .rulebook-panel,
  .titles-panel,
  .podium-panel,
  .standings-panel,
  .matches-panel,
  .inventory-panel,
  .lottery-panel,
  .tiers-panel {
    padding: 44px 18px;
  }

  .hero-logo-lockup {
    align-items: center;
  }

  .hero-event-logo {
    width: 86px;
    height: 86px;
  }

  .hero-logo-copy h1 {
    font-size: clamp(3.5rem, 16vw, 5rem);
  }

  .hero-visual {
    min-height: 340px;
    clip-path: none;
  }

  .rule-card {
    grid-template-columns: 70px 1fr;
    gap: 12px 18px;
  }

  .rule-card p {
    grid-column: 2;
  }

  .titles-grid,
  .podium-grid,
  .standings-metrics,
  .tier-grid {
    grid-template-columns: 1fr;
  }

  .season-tabs {
    width: 100%;
  }

  .season-tab {
    min-width: 0;
  }

  .match-card summary {
    padding: 16px;
  }

  .match-detail {
    padding: 0 10px 14px;
  }

  .title-card,
  .metric-card,
  .tier-card {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .title-card-wide {
    grid-column: auto;
    min-height: 250px;
  }

  .title-rule-card {
    padding: 16px;
  }

}

@media (max-width: 560px) {
  .brand span {
    font-size: 0.95rem;
  }

  .hero-panel {
    min-height: auto;
    padding-top: 32px;
    background:
      linear-gradient(180deg, rgba(5, 6, 7, 0.12) 0%, rgba(5, 6, 7, 0.9) 34%, #060708 55%),
      url("/assets/xuanchuantu1.webp") center top / auto 340px no-repeat,
      #060708;
  }

  .hero-copy {
    padding-top: 250px;
  }

  .hero-logo-lockup {
    gap: 8px;
  }

  .hero-event-logo {
    width: 72px;
    height: 72px;
  }

  .hero-motto {
    font-size: 1.55rem;
  }

  .hero-actions {
    display: grid;
  }

  .hero-link {
    width: 100%;
  }

  .poster-grid {
    grid-template-columns: 1fr;
  }

  .poster-card {
    min-height: 300px;
  }

  .inventory-grid {
    grid-template-columns: 1fr 1fr;
  }

  .redeem-form {
    grid-template-columns: 1fr;
  }

  .title-board-card,
  .title-board-empty {
    padding: 16px;
  }

  .title-board-head {
    display: grid;
  }

  .title-board-head strong {
    width: fit-content;
  }

  .title-board-list li {
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .board-value,
  .board-eligibility {
    grid-column: 2;
    justify-self: start;
    text-align: left;
  }
}

@media (max-width: 1080px) {
  .match-card summary {
    grid-template-columns: minmax(170px, 1fr) minmax(250px, 1fr) 28px;
  }

  .match-team-signal {
    justify-content: flex-start;
  }

  .match-team-signal.is-dire {
    grid-column: 1 / 2;
  }

  .match-badges {
    grid-column: 2 / 3;
    justify-content: flex-start;
  }

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

@media (max-width: 720px) {
  .match-card summary {
    grid-template-columns: 1fr 28px;
    gap: 12px;
  }

  .match-summary-main,
  .match-team-signal,
  .match-scoreline,
  .match-badges {
    grid-column: 1 / 2;
  }

  .match-card summary::after {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .match-scoreline {
    justify-content: flex-start;
    gap: 18px;
  }

  .match-scoreline span {
    min-width: 42px;
    font-size: 2rem;
  }

  .match-pagination {
    align-items: stretch;
  }

  .match-pagination div {
    justify-content: flex-start;
  }

  .match-team-head,
  .match-player-table {
    font-size: 0.8rem;
  }

  .match-player-table {
    min-width: 720px;
  }
}

.is-visible {
  opacity: 1;
  transform: translateY(0);
}
