:root {
  --bg: #070b12;
  --panel: rgba(13, 20, 32, .82);
  --panel-strong: rgba(18, 28, 44, .94);
  --line: rgba(151, 173, 208, .16);
  --text: #f4f7fb;
  --muted: #93a0b5;
  --gold: #d8b66d;
  --gold-2: #f2dc9b;
  --blue: #3f84ff;
  --cyan: #5bdcff;
  --shadow: 0 28px 70px rgba(0, 0, 0, .34);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: linear-gradient(180deg, rgba(10, 18, 31, .66), rgba(7, 11, 18, .96) 56%, #060910), var(--bg);
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

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

button,
summary {
  font: inherit;
}

.stage-bg {
  position: fixed;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(91, 220, 255, .055) 1px, transparent 1px),
    linear-gradient(0deg, rgba(91, 220, 255, .045) 1px, transparent 1px),
    radial-gradient(circle at 50% 118%, rgba(63, 132, 255, .22), transparent 36rem);
  background-size: 72px 72px, 72px 72px, auto;
}

.stage-bg::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 18%, rgba(63, 132, 255, .16) 18% 18.4%, transparent 18.4% 42%, rgba(242, 220, 155, .12) 42% 42.35%, transparent 42.35%),
    linear-gradient(245deg, transparent 0 30%, rgba(91, 220, 255, .12) 30% 30.3%, transparent 30.3% 62%, rgba(63, 132, 255, .10) 62% 62.3%, transparent 62.3%);
  content: "";
}

.stage-bg::after {
  position: absolute;
  right: -16vw;
  bottom: -18vw;
  width: 62vw;
  height: 62vw;
  border: 1px solid rgba(91, 220, 255, .12);
  border-radius: 48px;
  background:
    linear-gradient(135deg, rgba(63, 132, 255, .16), transparent 46%),
    radial-gradient(circle at 50% 50%, rgba(242, 220, 155, .10), transparent 48%);
  clip-path: polygon(22% 0, 100% 0, 78% 100%, 0 100%);
  content: "";
  transform: rotate(-10deg);
}

.beam {
  position: absolute;
  top: -24vh;
  width: 16vw;
  height: 150vh;
  opacity: .62;
  filter: blur(18px);
  transform-origin: top;
}

.beam-a {
  left: 30vw;
  background: linear-gradient(180deg, rgba(91, 220, 255, .24), rgba(63, 132, 255, .06), transparent 72%);
  transform: rotate(22deg);
}

.beam-b {
  right: 18vw;
  background: linear-gradient(180deg, rgba(242, 220, 155, .20), rgba(63, 132, 255, .05), transparent 70%);
  transform: rotate(-18deg);
}

.halo {
  position: absolute;
  border: 1px solid rgba(91, 220, 255, .15);
  border-radius: 34px;
  background: rgba(255, 255, 255, .018);
  clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%);
}

.halo-a {
  top: 118px;
  right: 10vw;
  width: 290px;
  height: 190px;
  transform: rotate(-12deg);
}

.halo-b {
  left: 20vw;
  bottom: 8vh;
  width: 420px;
  height: 160px;
  border-color: rgba(242, 220, 155, .10);
  transform: rotate(8deg);
}

.app-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: 100vh;
}

.side-panel {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 28px;
  padding: 28px 18px;
  border-right: 1px solid rgba(151, 173, 208, .12);
  background: linear-gradient(180deg, rgba(15, 26, 43, .94), rgba(7, 12, 20, .92)), rgba(8, 13, 22, .88);
  backdrop-filter: blur(20px);
}

.mark {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 58px;
}

.mark span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(242, 220, 155, .44);
  border-radius: 18px 8px 18px 18px;
  color: var(--gold-2);
  font-weight: 900;
  background: linear-gradient(145deg, rgba(63, 132, 255, .24), rgba(216, 182, 109, .12));
}

.mark strong {
  line-height: 1.05;
  font-size: 14px;
  letter-spacing: .08em;
}

.side-nav {
  display: grid;
  align-content: start;
  gap: 8px;
}

.side-nav a {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  gap: 12px;
  row-gap: 2px;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: #c9d3e3;
  font-size: 13px;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.side-nav a:hover,
.side-nav a.is-active {
  border-color: rgba(91, 220, 255, .24);
  color: #fff;
  background: rgba(63, 132, 255, .12);
}

.side-nav span {
  grid-row: 1 / 3;
  color: var(--gold-2);
  font-weight: 900;
}

.side-nav b {
  min-width: 0;
  font: inherit;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.side-nav small {
  grid-column: 2;
  color: var(--muted);
  font-size: 11px;
}

.side-meta {
  display: grid;
  gap: 3px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--muted);
  font-size: 12px;
}

.side-meta b {
  color: var(--text);
}

.dashboard {
  min-width: 0;
  padding: 28px clamp(18px, 2.6vw, 38px) 56px;
}

.topbar {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 108px;
  margin-bottom: 32px;
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .04);
}

.menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
}

.kicker {
  margin: 0 0 6px;
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: clamp(46px, 5.4vw, 78px);
  line-height: .95;
  letter-spacing: 0;
}

.tab-page {
  display: none;
}

.tab-page.is-active {
  display: block;
}

.podium-strip {
  display: grid;
  grid-template-columns: minmax(260px, .95fr) minmax(420px, 1.35fr) minmax(260px, .95fr);
  gap: 18px;
  align-items: stretch;
  margin: 0 0 22px;
}

.podium-hero,
.king-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(151, 173, 208, .18);
  border-radius: 28px;
  box-shadow: 0 18px 54px rgba(0, 0, 0, .25);
}

.podium-hero {
  min-height: 220px;
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  align-items: end;
  padding: 22px;
}

.champion-card {
  min-height: 272px;
  grid-template-columns: 142px 1fr;
  border-color: rgba(242, 220, 155, .36);
  border-radius: 38px;
  box-shadow: 0 32px 90px rgba(0, 0, 0, .42), 0 0 76px rgba(216, 182, 109, .18);
  transform: translateY(-8px);
}

.podium-hero::before,
.king-card::before {
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(242, 220, 155, .22), rgba(91, 220, 255, .07) 42%, transparent 68%);
  content: "";
}

.champion-card::after {
  position: absolute;
  top: 18px;
  right: 22px;
  color: rgba(255, 255, 255, .075);
  content: "CROWN";
  font-size: clamp(52px, 7vw, 104px);
  font-weight: 900;
  line-height: .8;
}

.podium-hero img {
  position: relative;
  z-index: 1;
  width: 92px;
  height: 92px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 24px;
  object-fit: cover;
}

.champion-card img {
  width: 142px;
  height: 142px;
  border-radius: 34px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .28);
}

.podium-hero div,
.king-card strong,
.king-card small,
.king-card span {
  position: relative;
  z-index: 1;
}

.podium-label,
.crown-mark {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 20px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #07101c;
  background: rgba(229, 239, 255, .88);
  font-size: 12px;
  font-weight: 900;
}

.crown-mark {
  padding-left: 34px;
  background: linear-gradient(180deg, #fff0b8, #c89f56);
}

.crown-mark::before {
  position: absolute;
  left: 11px;
  top: 4px;
  color: #7a4c09;
  content: "♛";
  font-size: 20px;
  line-height: 1;
}

.podium-hero strong {
  display: block;
  margin-bottom: 4px;
  font-size: 28px;
  line-height: 1.08;
}

.champion-card strong {
  font-size: clamp(42px, 5.6vw, 78px);
  text-shadow: 0 14px 36px rgba(0, 0, 0, .45);
}

.podium-hero small,
.king-card small {
  color: #d4deec;
}

.podium-hero p {
  margin: 10px 0 0;
  color: rgba(231, 239, 252, .82);
  font-size: 14px;
}

.champion-card p {
  max-width: 520px;
  font-size: 16px;
}

.king-card {
  min-height: 220px;
  padding: 24px;
  align-self: stretch;
}

.king-card strong {
  display: block;
  margin: 42px 0 4px;
  font-size: 30px;
}

.home-overview {
  display: grid;
  grid-template-columns: minmax(360px, 1.15fr) minmax(300px, .9fr) minmax(300px, .95fr);
  gap: 18px;
  align-items: stretch;
}

.next-match-panel,
.current-summary-panel,
.recent-champs-panel {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  padding: 24px;
  border: 1px solid rgba(151, 173, 208, .16);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(91, 220, 255, .08), transparent 44%),
    rgba(13, 20, 32, .74);
  box-shadow: 0 20px 56px rgba(0, 0, 0, .18);
}

.next-match-panel {
  background:
    linear-gradient(135deg, rgba(242, 220, 155, .13), transparent 52%),
    rgba(18, 28, 44, .78);
}

.next-match-panel::after,
.current-summary-panel::after,
.recent-champs-panel::after {
  position: absolute;
  right: -90px;
  bottom: -120px;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(91, 220, 255, .13);
  border-radius: 36px;
  background: linear-gradient(135deg, rgba(91, 220, 255, .08), rgba(242, 220, 155, .05));
  clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%);
  content: "";
  transform: rotate(-10deg);
}

.home-overview h2 {
  position: relative;
  z-index: 1;
  margin: 0 0 18px;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.05;
}

.match-meta-grid,
.next-match-extra,
.summary-list,
.champion-timeline {
  position: relative;
  z-index: 1;
}

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

.match-meta-grid div,
.summary-list div,
.champion-timeline li {
  min-height: 72px;
  padding: 15px 16px;
  border: 1px solid rgba(151, 173, 208, .12);
  border-radius: 20px;
  background: rgba(255, 255, 255, .045);
}

.match-meta-grid span,
.summary-list span,
.champion-timeline span {
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
}

.match-meta-grid strong,
.summary-list strong,
.summary-list small,
.champion-timeline strong,
.champion-timeline small {
  display: block;
}

.match-meta-grid strong,
.summary-list strong,
.champion-timeline strong {
  margin-top: 7px;
  color: #fff;
  font-size: 19px;
  line-height: 1.12;
}

.summary-list,
.champion-timeline {
  display: grid;
  gap: 10px;
}

.champion-timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}

.summary-list small,
.champion-timeline small {
  margin-top: 4px;
  color: #c8d3e3;
}

.next-match-extra {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.signup-meter {
  display: grid;
  gap: 12px;
  min-height: 74px;
  padding: 15px 16px;
  border: 1px solid rgba(242, 220, 155, .16);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(242, 220, 155, .10), transparent 56%),
    rgba(255, 255, 255, .045);
}

.signup-meter div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.signup-meter span,
.match-flow-mini span {
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
}

.signup-meter strong {
  color: #fff;
  font-size: 20px;
  line-height: 1;
}

.signup-meter b {
  overflow: hidden;
  display: block;
  height: 9px;
  border-radius: 999px;
  background: rgba(151, 173, 208, .14);
}

.signup-meter i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold-2), var(--cyan));
  box-shadow: 0 0 18px rgba(91, 220, 255, .24);
}

.match-flow-mini {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.match-flow-mini li {
  min-height: 86px;
  padding: 15px;
  border: 1px solid rgba(151, 173, 208, .12);
  border-radius: 18px;
  background: rgba(7, 12, 20, .28);
}

.match-flow-mini strong {
  display: block;
  margin-top: 9px;
  color: #fff;
  font-size: 17px;
  line-height: 1.12;
}

.signup-panel {
  position: relative;
  overflow: hidden;
  margin-top: 18px;
  padding: 24px;
  border: 1px solid rgba(151, 173, 208, .16);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(91, 220, 255, .08), transparent 36%),
    linear-gradient(225deg, rgba(242, 220, 155, .08), transparent 42%),
    rgba(13, 20, 32, .72);
  box-shadow: 0 20px 56px rgba(0, 0, 0, .18);
}

.signup-panel::after {
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 360px;
  height: 260px;
  border: 1px solid rgba(91, 220, 255, .12);
  border-radius: 36px;
  background: linear-gradient(135deg, rgba(91, 220, 255, .08), rgba(242, 220, 155, .05));
  clip-path: polygon(16% 0, 100% 0, 84% 100%, 0 100%);
  content: "";
  transform: rotate(-8deg);
}

.signup-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.signup-head h2 {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.05;
}

.signup-count {
  min-width: 128px;
  padding: 10px 14px;
  border: 1px solid rgba(242, 220, 155, .24);
  border-radius: 18px;
  background: rgba(7, 12, 20, .36);
  text-align: right;
}

.signup-count span,
.signup-count small {
  color: var(--muted);
  font-size: 12px;
}

.signup-count strong {
  margin: 0 5px;
  color: var(--gold-2);
  font-size: 30px;
  line-height: 1;
}

.signup-table {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
}

.signup-row {
  display: grid;
  grid-template-columns: 120px minmax(180px, 1fr) minmax(180px, .8fr);
  align-items: center;
  min-height: 68px;
  padding: 0 18px;
  border: 1px solid rgba(151, 173, 208, .12);
  border-radius: 20px;
  background: rgba(255, 255, 255, .045);
}

.signup-row-head {
  min-height: 42px;
  border-color: rgba(242, 220, 155, .16);
  background: rgba(242, 220, 155, .06);
}

.signup-row span,
.signup-row-head span {
  color: #d7e2f2;
  font-size: 15px;
  font-weight: 800;
}

.signup-row-head span {
  color: var(--gold-2);
  font-size: 12px;
  letter-spacing: .08em;
}

.signup-row strong {
  color: var(--gold-2);
  font-size: 26px;
  line-height: 1;
}

.signup-row b {
  color: #fff;
  font-size: 22px;
  line-height: 1.1;
}

.rules-reward {
  display: grid;
  grid-template-columns: minmax(320px, .9fr) minmax(420px, 1.1fr);
  gap: 18px;
  margin-bottom: 30px;
}

.rules-panel,
.reward-panel {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(151, 173, 208, .16);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(91, 220, 255, .08), transparent 42%),
    rgba(13, 20, 32, .78);
  box-shadow: 0 20px 56px rgba(0, 0, 0, .20);
}

.rules-panel::after,
.reward-panel::after {
  position: absolute;
  right: -90px;
  bottom: -110px;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(242, 220, 155, .16), transparent 68%);
  content: "";
}

.rules-panel h2,
.reward-panel h2 {
  margin: 0 0 16px;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.08;
}

.rules-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
}

.rules-grid div {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 52px;
  padding: 11px 13px;
  border: 1px solid rgba(151, 173, 208, .11);
  border-radius: 18px;
  background: rgba(255, 255, 255, .045);
}

.rules-grid span,
.reward-card span,
.first-winners span {
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
}

.rules-grid strong {
  color: #edf4ff;
  font-size: 15px;
}

.reward-list {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.reward-card {
  min-height: 126px;
  padding: 18px;
  border: 1px solid rgba(151, 173, 208, .12);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .06), transparent 48%),
    rgba(255, 255, 255, .045);
}

.reward-card.champion-prize {
  border-color: rgba(242, 220, 155, .32);
  background:
    linear-gradient(135deg, rgba(242, 220, 155, .22), transparent 54%),
    rgba(255, 255, 255, .055);
}

.reward-card.join-prize {
  min-height: 104px;
}

.reward-card strong {
  display: block;
  margin: 12px 0 4px;
  color: #fff;
  font-size: 24px;
  line-height: 1.08;
}

.reward-card small {
  color: #d4deec;
}

.rules-extra {
  display: grid;
  grid-template-columns: minmax(420px, .95fr) minmax(420px, 1.05fr);
  gap: 18px;
  margin-top: 18px;
}

.timeline-panel,
.notice-panel {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  padding: 24px;
  border: 1px solid rgba(151, 173, 208, .16);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(242, 220, 155, .08), transparent 44%),
    rgba(13, 20, 32, .72);
  box-shadow: 0 20px 56px rgba(0, 0, 0, .18);
}

.timeline-panel::after,
.notice-panel::after {
  position: absolute;
  right: -120px;
  bottom: -130px;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(91, 220, 255, .14);
  border-radius: 38px;
  background: linear-gradient(135deg, rgba(91, 220, 255, .08), rgba(242, 220, 155, .04));
  clip-path: polygon(16% 0, 100% 0, 82% 100%, 0 100%);
  content: "";
  transform: rotate(-10deg);
}

.timeline-panel h3,
.notice-panel h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 16px;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.08;
}

.timeline-list {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline-list li,
.notice-grid div {
  min-height: 92px;
  padding: 16px;
  border: 1px solid rgba(151, 173, 208, .12);
  border-radius: 20px;
  background: rgba(255, 255, 255, .045);
}

.timeline-list span,
.notice-grid span {
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
}

.timeline-list strong,
.timeline-list small,
.notice-grid strong {
  display: block;
}

.timeline-list strong,
.notice-grid strong {
  margin-top: 8px;
  color: #fff;
  font-size: 18px;
  line-height: 1.12;
}

.timeline-list small {
  margin-top: 6px;
  color: #c8d3e3;
}

.notice-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.first-winners {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
  padding: 13px;
  border: 1px solid rgba(242, 220, 155, .18);
  border-radius: 999px;
  background: rgba(7, 12, 20, .42);
}

.first-winners b {
  padding: 7px 10px;
  border-radius: 999px;
  color: #fff4cf;
  background: rgba(242, 220, 155, .09);
  font-size: 13px;
}

.season-stack {
  display: grid;
  gap: 30px;
}

.season-board {
  padding: clamp(16px, 2.5vw, 26px);
  border: 1px solid rgba(151, 173, 208, .18);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(91, 220, 255, .08), transparent 36%),
    rgba(13, 20, 32, .80);
  box-shadow: var(--shadow);
}

.season-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
  margin-bottom: 18px;
}

.season-no {
  color: var(--gold-2);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
}

.season-head h3 {
  margin: 8px 0 6px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1;
}

.season-head p {
  margin-bottom: 0;
  color: var(--muted);
}

.season-podium {
  display: grid;
  grid-template-columns: 1.28fr 1fr 1fr;
  gap: 14px;
}

.season-podium-strip {
  max-width: min(1180px, 100%);
}

.mini-medal {
  min-width: 0;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 52px 72px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 76px;
  padding: 12px 14px;
  border: 1px solid rgba(151, 173, 208, .14);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(91, 220, 255, .08), transparent 48%),
    rgba(255, 255, 255, .045);
}

.mini-medal.gold {
  border-color: rgba(242, 220, 155, .28);
  background:
    linear-gradient(135deg, rgba(242, 220, 155, .18), transparent 54%),
    rgba(255, 255, 255, .052);
}

.mini-medal img {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  object-fit: cover;
}

.mini-medal span {
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 900;
}

.mini-medal strong {
  font-size: 19px;
  overflow-wrap: anywhere;
}

.season-champion-strip {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 64px 76px minmax(160px, 1fr) auto;
  gap: 14px;
  align-items: center;
  width: min(720px, 100%);
  min-height: 92px;
  padding: 14px 18px;
  border: 1px solid rgba(242, 220, 155, .32);
  border-radius: 28px;
  box-shadow: 0 20px 54px rgba(0, 0, 0, .24), 0 0 46px rgba(216, 182, 109, .10);
}

.season-champion-strip::before {
  position: absolute;
  right: -54px;
  bottom: -72px;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(242, 220, 155, .28), transparent 68%);
  content: "";
}

.season-champion-strip img,
.season-champion-strip span,
.season-champion-strip strong,
.season-champion-strip small {
  position: relative;
  z-index: 1;
}

.season-champion-strip img {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  object-fit: cover;
}

.season-champion-strip span {
  display: inline-flex;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  color: #07101c;
  background: linear-gradient(180deg, #fff0b8, #c89f56);
  font-weight: 900;
}

.season-champion-strip strong {
  font-size: 30px;
  line-height: 1;
}

.season-champion-strip small {
  justify-self: end;
  color: #fff2ca;
  font-weight: 800;
}

.season-note {
  width: min(780px, 100%);
  padding: 13px 16px;
  border: 1px solid rgba(242, 220, 155, .22);
  border-radius: 999px;
  color: #fff4cf;
  background:
    linear-gradient(135deg, rgba(242, 220, 155, .12), transparent),
    rgba(7, 12, 20, .44);
  font-weight: 900;
}

.bracket-map {
  position: relative;
  overflow-x: auto;
  width: 100%;
  height: var(--bracket-height);
  min-height: var(--bracket-height);
  padding: 34px 8px 22px;
}

.bracket-highlights {
  position: absolute;
  top: 116px;
  left: 1688px;
  z-index: 4;
  display: grid;
  gap: 12px;
  width: 310px;
  pointer-events: none;
}

.highlight-card,
.highlight-stats {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(151, 173, 208, .16);
  border-radius: 22px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .20);
}

.highlight-card {
  min-height: 132px;
  padding: 18px;
}

.highlight-card::after {
  position: absolute;
  right: 12px;
  bottom: 6px;
  color: rgba(255, 255, 255, .08);
  content: var(--job);
  font-size: 34px;
  font-weight: 900;
}

.highlight-card span,
.highlight-stats span {
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
}

.highlight-card strong,
.highlight-card small,
.highlight-card span {
  position: relative;
  z-index: 1;
  display: block;
}

.highlight-card strong {
  margin: 22px 0 5px;
  color: #fff;
  font-size: 28px;
  line-height: 1;
}

.highlight-card small {
  color: #dce6f5;
}

.highlight-stats {
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, .055);
}

.highlight-stats div {
  padding: 13px 16px;
  background: rgba(7, 12, 20, .42);
}

.highlight-stats strong {
  display: block;
  margin-top: 4px;
  color: #fff;
  font-size: 16px;
  overflow-wrap: anywhere;
}

.bracket-map::before {
  display: block;
  width: var(--bracket-width);
  height: var(--bracket-height);
  content: "";
}

.bracket-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--bracket-width);
  height: var(--bracket-height);
  overflow: visible;
  pointer-events: none;
}

.bracket-lines path {
  fill: none;
  stroke: rgba(91, 220, 255, .62);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgba(91, 220, 255, .16));
}

.bracket-label {
  position: absolute;
  top: 0;
  color: #e7effc;
  font-size: 15px;
  font-weight: 900;
}

.bracket-slot {
  position: absolute;
  transform: translateY(-50%);
  z-index: 2;
}

.bracket-slot.champion-round {
  z-index: 3;
}

.match-node {
  position: relative;
  display: grid;
  gap: 5px;
  min-height: auto;
  align-content: center;
}

.final-score {
  justify-self: start;
  padding: 9px 16px;
  border-radius: 999px;
  color: #07101c;
  background: linear-gradient(180deg, #fff0b8, #c89f56);
  font-size: 22px;
}

.player-chip {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 64px;
  padding: 9px 11px;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .16);
}

.r16 .player-chip {
  grid-template-columns: 28px 1fr;
  min-height: 34px;
  padding: 3px 6px;
  border-radius: 12px;
  gap: 6px;
}

.r8 .player-chip {
  grid-template-columns: 38px 1fr;
  min-height: 52px;
  padding: 7px 9px;
  border-radius: 17px;
}

.r4 .player-chip {
  grid-template-columns: 44px 1fr;
  min-height: 62px;
}

.r2 .player-chip,
.champion-round .player-chip {
  grid-template-columns: 56px 1fr;
  min-height: 78px;
  padding: 12px 14px;
  border-radius: 24px;
}

.champion-round .player-chip {
  border-color: rgba(242, 220, 155, .42);
  background:
    linear-gradient(135deg, rgba(242, 220, 155, .30), rgba(242, 220, 155, .10) 50%, rgba(255, 255, 255, .04)),
    rgba(42, 32, 18, .88);
  box-shadow: 0 0 0 1px rgba(242, 220, 155, .10), 0 18px 44px rgba(216, 182, 109, .16);
}

.player-chip::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(7, 11, 18, .82), rgba(7, 11, 18, .34)),
    var(--job-art, radial-gradient(circle at 80% 50%, rgba(255, 255, 255, .10), transparent 46%));
  background-position: center, right center;
  background-size: cover, auto 120%;
  background-repeat: no-repeat;
  content: "";
  opacity: .92;
}

.player-chip img {
  position: relative;
  z-index: 1;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  object-fit: cover;
}

.r16 .player-chip img {
  width: 28px;
  height: 28px;
  border-radius: 9px;
}

.r8 .player-chip img {
  width: 38px;
  height: 38px;
  border-radius: 12px;
}

.r2 .player-chip img,
.champion-round .player-chip img {
  width: 56px;
  height: 56px;
  border-radius: 18px;
}

.player-chip em {
  position: absolute;
  z-index: 2;
  top: 7px;
  right: 9px;
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  color: #08111d;
  background: rgba(242, 220, 155, .86);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.player-chip span {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.player-chip strong,
.player-chip small {
  display: block;
  overflow-wrap: anywhere;
}

.player-chip strong {
  color: #fff;
  font-size: 14px;
}

.player-chip small {
  color: rgba(245, 248, 255, .78);
  font-size: 12px;
}

.r16 .player-chip strong {
  font-size: 11px;
}

.r16 .player-chip small {
  display: none;
}

.r8 .player-chip strong {
  font-size: 13px;
}

.r8 .player-chip small {
  font-size: 11px;
}

.r2 .player-chip strong,
.champion-round .player-chip strong {
  font-size: 19px;
}

.r2 .player-chip small,
.champion-round .player-chip small {
  font-size: 13px;
}

.player-chip.is-winner {
  border-color: rgba(242, 220, 155, .34);
  box-shadow: 0 0 0 1px rgba(242, 220, 155, .08), 0 18px 42px rgba(216, 182, 109, .12);
}

.participants-panel {
  margin-top: 18px;
  border: 1px solid rgba(151, 173, 208, .14);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(91, 220, 255, .05), transparent 42%), rgba(7, 12, 20, .62);
  overflow: hidden;
}

.participants-panel summary {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 18px;
  cursor: pointer;
  list-style: none;
  color: #edf4ff;
  font-weight: 800;
}

.participants-panel summary::-webkit-details-marker {
  display: none;
}

.participants-panel summary::after {
  margin-left: auto;
  color: var(--cyan);
  content: "+";
  font-size: 24px;
  line-height: 1;
}

.participants-panel[open] summary::after {
  content: "-";
}

.participants-panel b {
  margin-left: auto;
  color: var(--muted);
  font-size: 13px;
}

.participant-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 14px;
  background: rgba(255, 255, 255, .025);
  list-style: none;
}

.participant-grid li {
  min-width: 0;
}

.participant-grid .player-chip {
  min-height: 58px;
  grid-template-columns: 40px 1fr;
  border-radius: 18px;
}

.participant-grid img {
  width: 40px;
  height: 40px;
  border-radius: 13px;
}

.card-rarity-green {
  background:
    linear-gradient(135deg, rgba(124, 224, 151, .22), rgba(124, 224, 151, .07) 48%, rgba(255, 255, 255, .035)),
    rgba(14, 32, 28, .88);
}

.card-rarity-blue {
  background:
    linear-gradient(135deg, rgba(112, 171, 255, .24), rgba(112, 171, 255, .075) 48%, rgba(255, 255, 255, .035)),
    rgba(13, 27, 45, .88);
}

.card-rarity-purple {
  background:
    linear-gradient(135deg, rgba(181, 142, 255, .24), rgba(181, 142, 255, .075) 48%, rgba(255, 255, 255, .035)),
    rgba(28, 22, 48, .88);
}

.card-rarity-pink {
  background:
    linear-gradient(135deg, rgba(255, 151, 210, .22), rgba(255, 151, 210, .075) 48%, rgba(255, 255, 255, .035)),
    rgba(45, 20, 38, .88);
}

.card-rarity-gold {
  background:
    linear-gradient(135deg, rgba(242, 220, 155, .30), rgba(242, 220, 155, .10) 50%, rgba(255, 255, 255, .04)),
    rgba(42, 32, 18, .88);
}

.job-swordman {
  --job: "剑魂";
  --job-art: radial-gradient(circle at 80% 50%, rgba(205, 230, 255, .30), transparent 30%), url("https://dnf.fandom.com/zh/wiki/Special:Redirect/file/Advcha%20%E5%89%91%E9%AD%82.png");
}
.job-ranger {
  --job: "漫游";
  --job-art: radial-gradient(circle at 80% 50%, rgba(190, 170, 255, .32), transparent 30%), url("https://dnf.fandom.com/zh/wiki/Special:Redirect/file/Advcha%20%E6%BC%AB%E6%B8%B8%E6%9E%AA%E6%89%8B%28%E7%94%B7%29.png");
}
.job-striker {
  --job: "武神";
  --job-art: radial-gradient(circle at 80% 50%, rgba(255, 170, 218, .32), transparent 30%), url("https://dnf.fandom.com/zh/wiki/Special:Redirect/file/Advcha%20%E6%95%A3%E6%89%93%28%E5%A5%B3%29.png");
}
.job-asura {
  --job: "阿修罗";
  --job-art: radial-gradient(circle at 80% 50%, rgba(120, 170, 255, .32), transparent 30%), url("https://dnf.fandom.com/zh/wiki/Special:Redirect/file/Advcha%20%E9%98%BF%E4%BF%AE%E7%BD%97.png");
}
.job-berserker {
  --job: "狂战";
  --job-art: radial-gradient(circle at 80% 50%, rgba(255, 210, 130, .30), transparent 30%), url("https://dnf.fandom.com/zh/wiki/Special:Redirect/file/Advcha%20%E7%8B%82%E6%88%98%E5%A3%AB.png");
}
.job-mechanic {
  --job: "机械";
  --job-art: radial-gradient(circle at 80% 50%, rgba(130, 190, 255, .30), transparent 30%), url("https://dnf.fandom.com/zh/wiki/Special:Redirect/file/Advcha%20%E6%9C%BA%E6%A2%B0%E5%B8%88%28%E7%94%B7%29.png");
}
.job-infighter {
  --job: "蓝拳";
  --job-art: radial-gradient(circle at 80% 50%, rgba(185, 155, 255, .32), transparent 30%), url("https://dnf.fandom.com/zh/wiki/Special:Redirect/file/Advcha%20%E8%93%9D%E6%8B%B3%E5%9C%A3%E4%BD%BF.png");
}
.job-elemental {
  --job: "元素";
  --job-art: radial-gradient(circle at 80% 50%, rgba(255, 160, 220, .30), transparent 30%), url("https://dnf.fandom.com/zh/wiki/Special:Redirect/file/Advcha%20%E5%85%83%E7%B4%A0%E5%B8%88.png");
}
.job-grappler { --job: "柔道"; --job-art: radial-gradient(circle at 82% 50%, rgba(130, 230, 160, .32), transparent 34%); }
.job-soul { --job: "鬼泣"; --job-art: radial-gradient(circle at 82% 50%, rgba(170, 120, 255, .34), transparent 34%); }
.job-spitfire { --job: "弹药"; --job-art: radial-gradient(circle at 82% 50%, rgba(130, 190, 255, .34), transparent 34%); }
.job-exorcist { --job: "驱魔"; --job-art: radial-gradient(circle at 82% 50%, rgba(130, 230, 160, .32), transparent 34%); }
.job-nen { --job: "气功"; --job-art: radial-gradient(circle at 82% 50%, rgba(130, 230, 160, .32), transparent 34%); }
.job-rogue { --job: "刺客"; --job-art: radial-gradient(circle at 82% 50%, rgba(170, 120, 255, .34), transparent 34%); }
.job-crusader { --job: "圣骑"; --job-art: radial-gradient(circle at 82% 50%, rgba(130, 230, 160, .32), transparent 34%); }
.job-launcher { --job: "大枪"; --job-art: radial-gradient(circle at 82% 50%, rgba(130, 190, 255, .34), transparent 34%); }
.job-witch { --job: "魔道"; --job-art: radial-gradient(circle at 82% 50%, rgba(255, 160, 220, .30), transparent 34%); }
.job-brawler { --job: "街霸"; --job-art: radial-gradient(circle at 82% 50%, rgba(130, 230, 160, .32), transparent 34%); }
.job-summoner { --job: "召唤"; --job-art: radial-gradient(circle at 82% 50%, rgba(130, 190, 255, .34), transparent 34%); }
.job-battlemage { --job: "战法"; --job-art: radial-gradient(circle at 82% 50%, rgba(255, 160, 220, .30), transparent 34%); }
.job-necro { --job: "死灵"; --job-art: radial-gradient(circle at 82% 50%, rgba(170, 120, 255, .34), transparent 34%); }

.player-chip::after,
.podium-hero::after,
.king-card::after {
  position: absolute;
  right: 12px;
  bottom: 5px;
  z-index: 0;
  color: rgba(255, 255, 255, .08);
  content: var(--job);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

@media (max-width: 1280px) {
  .podium-strip,
  .season-head,
  .home-overview {
    grid-template-columns: 1fr;
  }

  .champion-card {
    transform: none;
  }

  .bracket-map {
    grid-template-columns: 188px 230px 280px 330px 360px;
  }
}

@media (max-width: 980px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .side-panel {
    position: fixed;
    z-index: 30;
    inset: 0 auto 0 0;
    width: min(280px, 86vw);
    transform: translateX(-100%);
    transition: transform .2s ease;
  }

  .side-panel.is-open {
    transform: translateX(0);
  }

  .menu-btn {
    display: block;
  }

  .topbar {
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 118px;
    padding-right: 0;
  }

  .podium-hero,
  .champion-card,
  .season-podium,
  .rules-reward,
  .rules-extra,
  .reward-list,
  .signup-row,
  .participant-grid {
    grid-template-columns: 1fr;
  }

  .signup-row {
    gap: 5px;
    padding: 14px 16px;
  }

  .signup-row-head {
    display: none;
  }

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

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

  .podium-hero img,
  .champion-card img {
    width: 104px;
    height: 104px;
  }
}

@media (max-width: 680px) {
  .dashboard {
    padding: 18px 14px 44px;
  }

  h1 {
    font-size: clamp(36px, 12vw, 52px);
  }

  .topbar {
    min-height: 0;
  }

  .podium-hero,
  .champion-card {
    min-height: 0;
    border-radius: 24px;
  }

  .season-board {
    border-radius: 26px;
  }

  .rules-panel,
  .reward-panel {
    padding: 18px;
    border-radius: 26px;
  }

  .rules-grid div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .first-winners {
    border-radius: 22px;
  }

  .season-note {
    border-radius: 20px;
  }

  .timeline-list,
  .notice-grid {
    grid-template-columns: 1fr;
  }
}
