/* =========================================================
   战术档案 / VALORANT FIELD MANUAL
   Design tokens, layout, components
   ========================================================= */

:root {
  --bg: #0b1015;
  --bg-2: #0c141b;
  --panel: #111c24;
  --panel-2: #16242e;
  --paper: #ece8e1;
  --paper-dim: #c8c4bb;
  --muted: #8b9aa4;
  --muted-2: #6e7d87;
  --red: #ff4655;
  --red-deep: #c21e33;
  --mint: #7ef2d0;
  --gold: #e8c170;
  --line: rgba(236, 232, 225, 0.13);
  --line-strong: rgba(236, 232, 225, 0.28);
  --font-body: "Noto Sans SC", "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
  --font-display: "Bahnschrift", "Bahnschrift SemiCondensed", "Arial Narrow", "Impact", "Noto Sans SC", sans-serif;
  --font-mono: "Cascadia Mono", "Consolas", "SFMono-Regular", monospace;
  --container: 1240px;
  --pad: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  scrollbar-color: var(--red) #0a0f14;
  scrollbar-width: thin;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 900;
  pointer-events: none;
  background-image: url("../assets/noise.png");
  background-size: 180px 180px;
  opacity: 0.055;
  mix-blend-mode: overlay;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

::selection {
  background: var(--red);
  color: #fff;
}

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

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
  color: inherit;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 4px;
}

.container {
  width: min(calc(100% - var(--pad) * 2), var(--container));
  margin-inline: auto;
}

.icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  flex-shrink: 0;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 1000;
  background: var(--paper);
  color: var(--bg);
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 16px;
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  z-index: 130;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--red);
  box-shadow: 0 0 12px rgba(255, 70, 85, 0.55);
}

/* =========================================================
   Type + shared components
   ========================================================= */

.section {
  position: relative;
  padding: clamp(88px, 11vw, 150px) 0;
}

.section-head {
  margin-bottom: clamp(44px, 6vw, 76px);
}

.section-index {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--red);
  text-transform: uppercase;
}

.section-index span {
  color: var(--muted);
  font-weight: 400;
}

.section-head-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(28px, 4vw, 60px);
  align-items: end;
  margin-top: 24px;
}

h2 {
  font-size: clamp(38px, 5.2vw, 72px);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.section-sub {
  max-width: 520px;
  color: var(--muted);
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.9;
}

.kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--red);
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--paper-dim);
  text-transform: uppercase;
}

.eyebrow-line {
  width: 28px;
  height: 1px;
  background: var(--red);
  flex-shrink: 0;
}

.live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(255, 70, 85, 0.5);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 14px 22px;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.035em;
  line-height: 1;
  clip-path: polygon(0 0, calc(100% - 11px) 0, 100% 11px, 100% 100%, 0 100%);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn .icon {
  width: 17px;
  height: 17px;
  transition: transform 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:hover .icon {
  transform: translateX(4px);
}

.btn-primary {
  background: var(--red);
  color: #fff;
}

.btn-primary:hover {
  background: #ff5c69;
}

.btn-ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.02);
  color: var(--paper);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--paper-dim);
}

.btn-light {
  background: var(--paper);
  color: var(--bg);
}

.btn-light:hover {
  background: #fff;
}

.tiny-note {
  font-size: 10px;
  line-height: 1.6;
  color: var(--muted-2);
  margin-top: 12px;
  letter-spacing: 0.02em;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  transition-delay: var(--delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.tilt {
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
  transition: transform 0.3s var(--ease);
  will-change: transform;
}

/* =========================================================
   Header
   ========================================================= */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 110;
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(8, 13, 18, 0.86);
  border-color: var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header-inner {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand-mark {
  width: 33px;
  height: 33px;
  color: var(--red);
  flex-shrink: 0;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.brand-text strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1.1;
}

.brand-text small {
  display: block;
  margin-top: 3px;
  font-family: var(--font-display);
  font-size: 7px;
  letter-spacing: 0.17em;
  color: var(--muted);
  white-space: nowrap;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.desktop-nav a {
  position: relative;
  padding: 10px 13px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--paper-dim);
  transition: color 0.2s var(--ease);
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 3px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

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

.desktop-nav a.is-active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.season-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--paper-dim);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.season-chip:hover {
  border-color: rgba(255, 70, 85, 0.55);
  color: var(--paper);
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--paper);
}

.menu-toggle .icon {
  width: 18px;
  height: 18px;
}

/* Mobile menu */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 22px var(--pad) 28px;
  background:
    radial-gradient(circle at 85% 10%, rgba(255, 70, 85, 0.16), transparent 40%),
    rgba(7, 12, 17, 0.985);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease), transform 0.3s var(--ease);
}

body.menu-open .mobile-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.mobile-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.mobile-menu-label {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.mobile-close {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
}

.mobile-menu nav {
  margin-top: clamp(54px, 11vh, 110px);
  display: flex;
  flex-direction: column;
}

.mobile-menu nav a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(32px, 8vw, 54px);
  font-weight: 900;
  letter-spacing: -0.045em;
  transition: color 0.2s var(--ease), padding-left 0.25s var(--ease);
}

.mobile-menu nav a span {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--red);
}

.mobile-menu nav a:hover {
  color: var(--red);
  padding-left: 8px;
}

.mobile-menu-foot {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: auto;
  padding-top: 24px;
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: clip;
  padding: clamp(112px, 15vh, 168px) 0 0;
  background:
    radial-gradient(circle at 78% 38%, rgba(255, 70, 85, 0.11), transparent 38%),
    linear-gradient(180deg, #0b1015 0%, #0a1015 72%, #0c141b 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-word {
  position: absolute;
  right: -2.5vw;
  top: 15%;
  font-family: var(--font-display);
  font-size: clamp(120px, 19vw, 280px);
  font-stretch: condensed;
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.055em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(236, 232, 225, 0.07);
  transform: rotate(-5deg);
  white-space: nowrap;
  user-select: none;
}

.hero-v {
  position: absolute;
  right: 1vw;
  top: 8%;
  font-family: var(--font-display);
  font-size: clamp(340px, 54vw, 760px);
  font-weight: 700;
  line-height: 0.8;
  color: rgba(255, 70, 85, 0.025);
  -webkit-text-stroke: 1px rgba(255, 70, 85, 0.06);
  user-select: none;
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(236, 232, 225, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(236, 232, 225, 0.045) 1px, transparent 1px);
  background-size: 86px 86px;
  mask-image: radial-gradient(ellipse at 60% 45%, #000 10%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 45%, #000 10%, transparent 72%);
  opacity: 0.75;
}

.hero-glow {
  position: absolute;
  width: 720px;
  height: 720px;
  right: -120px;
  top: 3%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 70, 85, 0.22), rgba(255, 70, 85, 0.03) 48%, transparent 70%);
  filter: blur(24px);
}

.hero-scan {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(180deg, transparent 0 3px, rgba(0, 0, 0, 0.12) 3px 4px);
  opacity: 0.3;
  mix-blend-mode: multiply;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(350px, 0.78fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
}

.hero-copy {
  padding-bottom: 12px;
}

.hero-kicker {
  margin: 22px 0 12px;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.28em;
  color: var(--red);
}

.hero-title {
  font-size: clamp(64px, 9.6vw, 138px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.075em;
  text-wrap: balance;
}

.hero-title::after {
  content: "";
  display: block;
  width: clamp(56px, 8vw, 104px);
  height: 4px;
  margin-top: 22px;
  background: var(--red);
}

.hero-lead {
  margin-top: 26px;
  max-width: 600px;
  font-size: clamp(17px, 1.65vw, 22px);
  line-height: 1.75;
  color: var(--paper);
}

.hero-sub {
  max-width: 520px;
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 26px;
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-visual {
  position: relative;
  justify-self: end;
  width: min(100%, 466px);
  padding: 0 14px 14px 0;
}

.hero-frame {
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 32px, 100% 100%, 0 100%);
  background: linear-gradient(155deg, #1a2a35, #091015 65%);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.5);
}

.hero-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, transparent 56%, rgba(7, 12, 17, 0.85) 100%),
    linear-gradient(90deg, rgba(7, 12, 17, 0.4), transparent 30%);
  pointer-events: none;
}

.hero-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border: 1px solid rgba(255, 70, 85, 0.28);
  clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 32px, 100% 100%, 0 100%);
  pointer-events: none;
}

.hero-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  filter: contrast(1.03) saturate(0.95);
}

.frame-lines {
  position: absolute;
  inset: 10px;
  z-index: 4;
  border-top: 1px solid rgba(236, 232, 225, 0.18);
  border-left: 1px solid rgba(236, 232, 225, 0.18);
  pointer-events: none;
}

.hud {
  position: absolute;
  z-index: 5;
  font-family: var(--font-display);
  font-size: 8px;
  letter-spacing: 0.16em;
  color: rgba(236, 232, 225, 0.6);
  text-transform: uppercase;
  pointer-events: none;
}

.hud-top {
  top: 14px;
  left: 16px;
}

.hud-left {
  left: 16px;
  top: 45%;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.hud-right {
  right: 16px;
  top: 34%;
  color: var(--red);
}

.hud-bottom {
  right: 16px;
  bottom: 70px;
}

.frame-caption {
  position: absolute;
  z-index: 6;
  left: 18px;
  right: 18px;
  bottom: 16px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding-top: 12px;
  border-top: 1px solid rgba(236, 232, 225, 0.18);
}

.frame-caption span {
  font-family: var(--font-display);
  font-size: 8px;
  letter-spacing: 0.14em;
  color: rgba(236, 232, 225, 0.7);
}

.frame-caption strong {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  line-height: 0.8;
  color: var(--red);
}

.frame-corner {
  position: absolute;
  z-index: 6;
  width: 24px;
  height: 24px;
  pointer-events: none;
}

.corner-tl {
  top: 9px;
  left: 9px;
  border-top: 2px solid var(--red);
  border-left: 2px solid var(--red);
}

.corner-br {
  right: 9px;
  bottom: 9px;
  border-right: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
}

.floating-tag {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 7;
  padding: 7px 10px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-display);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-rail {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: 20px;
  align-items: center;
  margin-top: clamp(38px, 5vw, 66px);
  padding: 20px 0 24px;
  border-top: 1px solid var(--line);
}

.rail-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}

.rail-stat span {
  display: block;
  margin-top: 4px;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.scroll-cue {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 8px;
  letter-spacing: 0.15em;
  color: var(--muted);
  white-space: nowrap;
}

.scroll-line {
  position: relative;
  display: block;
  width: 54px;
  height: 1px;
  background: var(--line-strong);
  overflow: hidden;
}

.scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--red);
  transform: translateX(-100%);
  animation: scrollLine 2.6s var(--ease) infinite;
}

.scroll-cue:hover {
  color: var(--paper);
}

/* =========================================================
   Ticker
   ========================================================= */

.ticker {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  height: 42px;
  overflow: hidden;
  background: var(--red);
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 26px;
  width: max-content;
  white-space: nowrap;
  animation: marquee 34s linear infinite;
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

.ticker span {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.ticker i {
  width: 5px;
  height: 5px;
  background: #fff;
  transform: rotate(45deg);
  opacity: 0.6;
  flex-shrink: 0;
}

/* =========================================================
   About
   ========================================================= */

.section-about {
  background: linear-gradient(180deg, #0b1015 0%, #0c141b 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: clamp(34px, 6vw, 80px);
  align-items: center;
}

.about-lead {
  max-width: 640px;
  margin-bottom: 26px;
  font-size: clamp(23px, 2.5vw, 35px);
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.about-lead em {
  color: var(--red);
  font-style: normal;
}

.about-copy > p:not(.about-lead) {
  max-width: 620px;
  margin-bottom: 15px;
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--muted);
}

.rule-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.rule-chips span {
  padding: 8px 11px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
  font-size: 11px;
  color: var(--paper-dim);
}

.rule-chips b {
  margin-right: 5px;
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--red);
}

.match-card {
  position: relative;
  padding: 20px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(150deg, #172630, #0b131a 70%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.36);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
}

.match-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 64px;
  height: 3px;
  background: var(--red);
}

.match-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.13em;
  color: var(--muted);
}

.match-mode {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--paper);
}

.match-score {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 18px 0 12px;
  text-align: center;
}

.match-team span {
  display: block;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.match-team strong {
  display: block;
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.match-team.is-def strong {
  color: var(--red);
}

.score-colon {
  padding: 0 12px;
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--muted-2);
}

.match-round {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 8px;
  letter-spacing: 0.11em;
  color: var(--muted);
}

.spike-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--red);
}

.spike-status i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 1.1s infinite;
}

.spike-status b {
  color: var(--paper);
  font-weight: 500;
}

.match-players {
  padding: 6px 0 1px;
}

.player {
  display: grid;
  grid-template-columns: 26px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(236, 232, 225, 0.07);
}

.avatar {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-left: 2px solid var(--red);
  background: #21323d;
  font-family: var(--font-display);
  font-size: 10px;
  color: var(--paper);
}

.avatar.a2 { border-color: var(--mint); }
.avatar.a3 { border-color: var(--gold); }
.avatar.a4 { border-color: #7ca8ff; }
.avatar.a5 { border-color: #ff9c5c; }

.pname {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--paper-dim);
}

.pstat {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.match-foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  font-family: var(--font-display);
  font-size: 8px;
  letter-spacing: 0.1em;
  color: var(--muted-2);
}

.round-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(44px, 6vw, 80px);
  border: 1px solid var(--line);
  background: var(--line);
}

.flow-card {
  position: relative;
  padding: 24px 21px;
  background: var(--bg);
  transition: background 0.25s var(--ease);
}

.flow-card:hover {
  background: var(--panel);
}

.flow-no {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--red);
}

.flow-card h3 {
  margin: 15px 0 7px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.flow-card p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}

/* =========================================================
   Modes
   ========================================================= */

.section-modes {
  background: #0c141b;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.mode-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.filter-btn {
  padding: 9px 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
  font-size: 11px;
  color: var(--muted);
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.filter-btn span {
  margin-left: 3px;
  font-family: var(--font-display);
  font-size: 9px;
  color: var(--red);
}

.filter-btn:hover {
  border-color: var(--line-strong);
  color: var(--paper);
}

.filter-btn.is-active {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--bg);
}

.filter-btn.is-active span {
  color: var(--red);
}

.mode-count {
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

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

.mode-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 310px;
  padding: 23px;
  border: 1px solid var(--line);
  background: linear-gradient(155deg, rgba(22, 36, 46, 0.72), rgba(11, 19, 26, 0.94));
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
}

.mode-card::after {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(255, 70, 85, 0.16), transparent 68%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}

.mode-card:hover,
.mode-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(255, 70, 85, 0.52);
  background: linear-gradient(155deg, rgba(28, 44, 55, 0.85), rgba(12, 21, 28, 0.98));
}

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

.mode-card.is-hidden {
  display: none;
}

.mode-card-head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
}

.mode-no {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.mode-tag {
  padding: 2px 6px;
  border: 1px solid rgba(255, 70, 85, 0.28);
  font-size: 9px;
  letter-spacing: 0.05em;
  color: var(--red);
}

.mode-icon {
  width: 25px;
  height: 25px;
  margin-left: auto;
  color: var(--muted);
  transition: color 0.25s var(--ease), transform 0.25s var(--ease);
}

.mode-card:hover .mode-icon {
  color: var(--red);
  transform: rotate(-7deg) scale(1.06);
}

.mode-card h3 {
  font-size: 23px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.mode-en {
  margin: 3px 0 12px;
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.mode-desc {
  margin-bottom: 18px;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--muted);
}

.mode-meta {
  display: flex;
  gap: 26px;
  margin-top: auto;
  padding: 11px 0;
  border-top: 1px solid var(--line);
}

.mode-meta span {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.mode-meta small {
  font-size: 9px;
  color: var(--muted-2);
}

.mode-meta b {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--paper);
}

.mode-win {
  margin: 7px 0 14px;
  font-size: 10px;
  line-height: 1.6;
  color: var(--paper-dim);
  opacity: 0.75;
}

.mode-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--paper);
  opacity: 0.6;
  transition: color 0.2s var(--ease), opacity 0.2s var(--ease);
}

.mode-cta .icon {
  width: 14px;
  height: 14px;
}

.mode-card:hover .mode-cta {
  color: var(--red);
  opacity: 1;
}

.mode-note {
  margin-top: 18px;
  font-size: 10px;
  color: var(--muted-2);
  letter-spacing: 0.02em;
}

/* Standard mode feature */

.standard-block {
  margin-top: clamp(62px, 9vw, 108px);
  padding-top: clamp(38px, 6vw, 62px);
  border-top: 1px solid var(--line);
}

.standard-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 28px;
}

.standard-head h3 {
  margin-top: 9px;
  font-size: clamp(28px, 3.4vw, 46px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.standard-head > p {
  max-width: 420px;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--muted);
}

.standard-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.04fr 1.04fr;
  gap: 13px;
}

.standard-score {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 28px;
  background: var(--red);
  color: #fff;
}

.standard-score::after {
  content: "";
  position: absolute;
  right: -55px;
  bottom: -80px;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  transform: rotate(45deg);
}

.score-label {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.2em;
  opacity: 0.82;
}

.standard-score > strong {
  position: relative;
  z-index: 1;
  margin: 8px 0 16px;
  font-family: var(--font-display);
  font-size: clamp(78px, 9vw, 132px);
  font-weight: 700;
  line-height: 0.82;
  letter-spacing: -0.05em;
}

.standard-score > p {
  position: relative;
  z-index: 1;
  max-width: 280px;
  font-size: 12px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
}

.score-rule {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 10px;
}

.score-rule:first-of-type {
  margin-top: 26px;
}

.score-rule b {
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.side-card {
  display: flex;
  flex-direction: column;
  padding: 27px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.side-defense {
  background: linear-gradient(160deg, #172630, #0f1a22);
}

.side-label {
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--red);
}

.side-card h4 {
  margin: 13px 0 11px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.03em;
}

.side-card > p {
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--muted);
}

.side-card ul {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 17px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.side-card li {
  position: relative;
  padding-left: 14px;
  font-size: 11px;
  line-height: 1.7;
  color: var(--paper-dim);
}

.side-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 5px;
  height: 5px;
  border: 1px solid var(--red);
}

.economy-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-top: 0;
}

.economy-strip > div {
  padding: 16px 20px;
  border-right: 1px solid var(--line);
}

.economy-strip > div:last-child {
  border-right: 0;
}

.economy-strip span {
  display: block;
  font-size: 9px;
  color: var(--muted);
}

.economy-strip strong {
  display: inline-block;
  margin-top: 3px;
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 700;
  line-height: 1;
}

.economy-strip small {
  margin-left: 5px;
  font-family: var(--font-display);
  font-size: 7px;
  letter-spacing: 0.1em;
  color: var(--red);
}

.quick-table-wrap {
  margin-top: 56px;
  border: 1px solid var(--line);
}

.table-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}

.table-head h3 {
  font-size: 17px;
  font-weight: 700;
}

.table-head span {
  font-family: var(--font-display);
  font-size: 8px;
  letter-spacing: 0.15em;
  color: var(--muted);
}

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

.quick-table {
  width: 100%;
  min-width: 710px;
  border-collapse: collapse;
  font-size: 12px;
}

.quick-table th {
  padding: 11px 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  font-family: var(--font-display);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-align: left;
  color: var(--red);
}

.quick-table td {
  padding: 13px 20px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

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

.quick-table tbody tr:hover td {
  background: rgba(255, 255, 255, 0.025);
}

.quick-table td b {
  display: block;
  color: var(--paper);
  font-weight: 700;
}

.quick-table td span {
  display: block;
  margin-top: 1px;
  font-family: var(--font-display);
  font-size: 8px;
  letter-spacing: 0.08em;
  color: var(--muted-2);
}

/* =========================================================
   Basics
   ========================================================= */

.section-basics {
  background: var(--bg);
}

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

.role-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 23px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(22, 36, 46, 0.62), rgba(10, 17, 23, 0.92));
  overflow: hidden;
}

.role-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--red), transparent);
  transform: scaleX(0.22);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.role-card:hover::before {
  transform: scaleX(1);
}

.role-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.role-top .icon {
  width: 23px;
  height: 23px;
  color: var(--red);
}

.role-card h3 {
  margin: 21px 0 1px;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.role-en {
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.role-card > p:not(.role-en) {
  margin-top: 13px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}

.role-foot {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  color: var(--paper-dim);
}

.role-foot b {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--red);
}

.skill-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin: clamp(48px, 7vw, 78px) 0 20px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
}

.skill-head h3 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.skill-head span {
  font-family: var(--font-display);
  font-size: 8px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.skill-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 11px;
}

.skill-card {
  grid-column: span 2;
  padding: 21px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.skill-card:nth-child(4),
.skill-card:nth-child(5) {
  grid-column: span 3;
}

.skill-card:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
}

.skill-card > span {
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--red);
}

.skill-card h4 {
  margin: 11px 0 7px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.skill-card p {
  font-size: 11.5px;
  line-height: 1.8;
  color: var(--muted);
}

.skill-card small {
  display: block;
  margin-top: 13px;
  padding-top: 9px;
  border-top: 1px solid var(--line);
  font-size: 9px;
  line-height: 1.5;
  color: var(--paper-dim);
  opacity: 0.72;
}

.map-check-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 13px;
  align-items: stretch;
  margin-top: clamp(48px, 7vw, 78px);
}

.map-panel {
  padding: 23px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, #101c25, #0a1117);
}

.map-panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 15px;
}

.map-panel-head h3 {
  margin-top: 5px;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.route-tabs {
  display: flex;
  gap: 4px;
}

.route-btn {
  padding: 6px 9px;
  border: 1px solid var(--line);
  font-size: 10px;
  color: var(--muted);
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.route-btn:hover {
  color: var(--paper);
  border-color: var(--line-strong);
}

.route-btn.is-active {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

.map-canvas {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0c141b;
}

.map-canvas svg {
  width: 100%;
  height: auto;
}

.route {
  opacity: 0.1;
  transition: opacity 0.35s var(--ease);
}

.route.is-active {
  opacity: 1;
}

.route path {
  animation: dash 14s linear infinite;
}

.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 9px 13px;
  border-top: 1px solid var(--line);
  font-size: 9px;
  color: var(--muted);
}

.map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.map-legend .line {
  width: 17px;
  height: 2px;
  background: var(--red);
}

.map-legend .line.gray {
  background: var(--muted-2);
}

.map-legend .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}

.map-caption {
  min-height: 3.4em;
  margin-top: 13px;
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
}

.checklist-panel {
  display: flex;
  flex-direction: column;
  padding: 23px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, #172630, #0e1820);
}

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

.checklist-head h3 {
  margin-top: 5px;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.checklist-progress {
  flex-shrink: 0;
  padding: 4px 8px;
  border: 1px solid rgba(255, 70, 85, 0.35);
  font-family: var(--font-display);
  font-size: 11px;
  color: var(--red);
}

.checklist-sub {
  margin: 12px 0 16px;
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
}

.checklist {
  display: flex;
  flex-direction: column;
}

.checklist label {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  line-height: 1.6;
  color: var(--paper-dim);
  cursor: pointer;
}

.checklist input {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
}

.checklist .box {
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  margin-top: 2px;
  border: 1px solid var(--line-strong);
  flex-shrink: 0;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.checklist .box .icon {
  width: 11px;
  height: 11px;
  color: #fff;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

.checklist input:focus-visible + .box {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
}

.checklist input:checked + .box {
  border-color: var(--red);
  background: var(--red);
}

.checklist input:checked + .box .icon {
  opacity: 1;
  transform: scale(1);
}

.checklist input:checked ~ span:last-child {
  color: var(--muted-2);
  text-decoration: line-through;
  text-decoration-color: rgba(255, 70, 85, 0.65);
}

.checklist label b {
  margin-right: 4px;
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--red);
}

.check-reset {
  align-self: flex-start;
  margin-top: 14px;
  padding-bottom: 1px;
  border-bottom: 1px solid var(--line-strong);
  font-size: 10px;
  color: var(--muted);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.check-reset:hover {
  color: var(--red);
  border-color: var(--red);
}

.checklist-tip {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.checklist-tip span {
  flex-shrink: 0;
  margin-top: 1px;
  padding: 2px 5px;
  border: 1px solid rgba(255, 70, 85, 0.32);
  font-family: var(--font-display);
  font-size: 8px;
  letter-spacing: 0.1em;
  color: var(--red);
}

.checklist-tip p {
  font-size: 10px;
  line-height: 1.7;
  color: var(--muted);
}

/* =========================================================
   Esports
   ========================================================= */

.section-esports {
  position: relative;
  overflow: hidden;
  background: #080d12;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.esports-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.esports-bg > span {
  position: absolute;
  right: -4vw;
  top: 3%;
  font-family: var(--font-display);
  font-size: clamp(220px, 42vw, 620px);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.04em;
  color: rgba(255, 70, 85, 0.022);
  -webkit-text-stroke: 1px rgba(255, 70, 85, 0.055);
  user-select: none;
}

.esports-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(236, 232, 225, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(236, 232, 225, 0.035) 1px, transparent 1px);
  background-size: 94px 94px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 76%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 76%);
}

.section-esports .container {
  position: relative;
  z-index: 1;
}

.champions-banner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(280px, 0.78fr);
  gap: clamp(30px, 4vw, 54px);
  align-items: center;
  margin-bottom: clamp(64px, 9vw, 110px);
  padding: clamp(28px, 4vw, 52px);
  overflow: hidden;
  background:
    linear-gradient(120deg, #b41b2d 0%, #e03244 45%, #821121 100%);
  box-shadow: 0 30px 80px rgba(120, 8, 24, 0.25);
}

.champions-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  mix-blend-mode: overlay;
  opacity: 0.35;
  pointer-events: none;
}

.banner-copy {
  position: relative;
  z-index: 2;
}

.banner-copy .eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

.banner-copy .eyebrow-line {
  background: rgba(255, 255, 255, 0.82);
}

.banner-copy h3 {
  margin: 13px 0 18px;
  font-size: clamp(38px, 5vw, 70px);
  font-weight: 900;
  line-height: 1.03;
  letter-spacing: -0.06em;
}

.banner-copy h3 em {
  color: #10171d;
  font-style: normal;
}

.banner-copy > p:not(.eyebrow) {
  max-width: 580px;
  font-size: 13px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.88);
}

.banner-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 21px 0 24px;
}

.banner-tags span {
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.07em;
  color: rgba(255, 255, 255, 0.9);
}

.banner-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.24);
}

.banner-stats > div {
  padding: 20px;
  background: rgba(70, 8, 17, 0.28);
  backdrop-filter: blur(4px);
}

.banner-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.8vw, 50px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}

.banner-stats span {
  display: block;
  margin-top: 3px;
  font-size: 9px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.78);
}

.banner-mark {
  position: absolute;
  right: -1%;
  bottom: -9%;
  z-index: 1;
  font-family: var(--font-display);
  line-height: 0.75;
  text-align: right;
  opacity: 0.12;
  pointer-events: none;
  user-select: none;
}

.banner-mark span {
  display: block;
  font-size: clamp(100px, 18vw, 250px);
  font-weight: 700;
}

.banner-mark b {
  display: block;
  font-size: clamp(28px, 5vw, 70px);
  font-weight: 600;
  letter-spacing: 0.1em;
}

.banner-mark i {
  display: block;
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.4em;
}

/* Timeline */

.timeline-block {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(36px, 6vw, 82px);
  margin-bottom: clamp(64px, 9vw, 110px);
}

.timeline-intro {
  position: sticky;
  top: 108px;
  align-self: start;
}

.timeline-intro h3 {
  margin: 11px 0 16px;
  font-size: clamp(29px, 4vw, 49px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.timeline-intro > p {
  max-width: 380px;
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--muted);
}

.timeline-key {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 21px;
  font-size: 9px;
  color: var(--muted);
}

.timeline-key span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.dot.red { background: var(--red); }
.dot.gray { background: var(--muted); }

.timeline {
  position: relative;
  padding-left: 27px;
  border-left: 1px solid var(--line);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 20px;
  padding-bottom: 27px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -31px;
  top: 7px;
  width: 7px;
  height: 7px;
  border: 1px solid var(--muted);
  border-radius: 50%;
  background: var(--bg);
}

.timeline-item.is-highlight::before {
  border-color: var(--red);
  background: var(--red);
  box-shadow: 0 0 0 5px rgba(255, 70, 85, 0.12);
}

.timeline-date {
  padding-top: 1px;
  font-family: var(--font-display);
  font-size: 10px;
  line-height: 1.45;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.timeline-date span {
  display: block;
  color: var(--red);
}

.timeline-date b {
  font-weight: 400;
  opacity: 0.55;
}

.timeline-content {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.timeline-item:last-child .timeline-content {
  border-bottom: 0;
}

.tl-tag {
  display: inline-block;
  margin-bottom: 7px;
  padding: 2px 5px;
  border: 1px solid rgba(255, 70, 85, 0.32);
  font-size: 8px;
  letter-spacing: 0.06em;
  color: var(--red);
}

.tl-tag.cn {
  border-color: rgba(126, 242, 208, 0.28);
  color: var(--mint);
}

.tl-tag.next {
  border-color: rgba(232, 193, 112, 0.3);
  color: var(--gold);
}

.timeline-content h4 {
  margin-bottom: 6px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.timeline-content p {
  max-width: 600px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}

.tl-place {
  display: block;
  margin-top: 9px;
  font-family: var(--font-display);
  font-size: 8px;
  letter-spacing: 0.11em;
  color: var(--paper-dim);
  opacity: 0.55;
}

/* Events */

.event-head,
.moments-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 19px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--line);
}

.event-head h3,
.moments-head h3 {
  font-size: clamp(23px, 3vw, 33px);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.event-head span,
.moments-head span {
  font-family: var(--font-display);
  font-size: 8px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  margin-bottom: clamp(64px, 9vw, 110px);
}

.event-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 23px;
  border: 1px solid var(--line);
  background: rgba(17, 28, 36, 0.62);
  overflow: hidden;
}

.event-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: var(--line);
  transition: background 0.25s var(--ease);
}

.event-card:hover::after {
  background: var(--red);
}

.event-card.is-featured {
  border-color: rgba(255, 70, 85, 0.4);
  background: linear-gradient(160deg, rgba(255, 70, 85, 0.11), rgba(17, 28, 36, 0.72));
}

.event-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-family: var(--font-display);
  font-size: 8px;
  letter-spacing: 0.11em;
  color: var(--muted);
}

.event-card h4 {
  margin: 21px 0 3px;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.event-place {
  font-size: 11px;
  color: var(--muted);
}

.event-result {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin: 18px 0 11px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
}

.event-result span {
  font-size: 9px;
  color: var(--muted);
}

.event-result strong {
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--red);
}

.event-note {
  margin-top: auto;
  font-size: 11px;
  line-height: 1.75;
  color: var(--muted);
}

/* Teams */

.teams-block {
  margin-bottom: clamp(64px, 9vw, 110px);
}

.teams-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 23px;
}

.teams-head h3 {
  margin-top: 9px;
  font-size: clamp(29px, 4vw, 47px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.teams-head p {
  max-width: 450px;
  justify-self: end;
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}

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

.team-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 98px;
  padding: 17px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.team-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.035);
}

.team-card.seed-1,
.team-card.seed-2,
.team-card.seed-3,
.team-card.seed-4 {
  border-color: rgba(255, 70, 85, 0.34);
  background: linear-gradient(160deg, rgba(255, 70, 85, 0.08), rgba(255, 255, 255, 0.012));
}

.team-abbr {
  font-family: var(--font-display);
  font-size: 29px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
}

.team-full {
  display: block;
  margin-top: 7px;
  font-size: 9px;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.seed-badge {
  position: absolute;
  top: 11px;
  right: 11px;
  padding: 1px 4px;
  border: 1px solid rgba(255, 70, 85, 0.38);
  font-family: var(--font-display);
  font-size: 9px;
  color: var(--red);
}

/* Format + moments */

.format-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: clamp(64px, 9vw, 110px);
  border: 1px solid var(--line);
  background: var(--line);
}

.format-card {
  padding: 23px;
  background: #0b1218;
}

.format-card > span {
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--red);
}

.format-card h4 {
  margin: 12px 0 7px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.format-card p {
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
}

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

.moment-card {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(17, 28, 36, 0.55);
  overflow: hidden;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.moment-card:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
}

.moment-no {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--red);
}

.moment-card h4 {
  margin: 12px 0 7px;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.moment-card p {
  font-size: 11.5px;
  line-height: 1.8;
  color: var(--muted);
}

.next-season {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: clamp(48px, 7vw, 80px);
  padding: clamp(28px, 4vw, 44px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.next-copy h3 {
  margin: 9px 0 11px;
  font-size: clamp(28px, 4vw, 47px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.next-copy p {
  max-width: 560px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}

.next-mark {
  flex-shrink: 0;
  text-align: right;
  font-family: var(--font-display);
  line-height: 0.8;
}

.next-mark strong {
  font-size: clamp(80px, 10vw, 138px);
  font-weight: 700;
  color: var(--red);
}

.next-mark span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--paper-dim);
}

.next-mark i {
  display: block;
  margin-top: 11px;
  font-size: 9px;
  font-style: normal;
  letter-spacing: 0.2em;
  color: var(--muted);
}

/* =========================================================
   Watch
   ========================================================= */

.section-watch {
  background: linear-gradient(180deg, #0b1015, #0c141b);
}

.watch-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
  margin-bottom: 56px;
}

.watch-step {
  position: relative;
  min-height: 235px;
  padding: 27px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.watch-step:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
}

.step-no {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--red);
}

.watch-step h3 {
  margin: 24px 0 9px;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.watch-step p {
  font-size: 11.5px;
  line-height: 1.8;
  color: var(--muted);
}

.terms-block {
  margin-bottom: 56px;
  padding: clamp(20px, 3vw, 31px);
  border: 1px solid var(--line);
}

.terms-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 17px;
}

.terms-head h3 {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.terms-head span {
  font-family: var(--font-display);
  font-size: 8px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

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

.term {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 15px 17px;
  background: #0d161d;
}

.term b {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--red);
}

.term span {
  font-size: 10px;
  line-height: 1.6;
  color: var(--muted);
}

.watch-links {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(30px, 6vw, 70px);
  align-items: start;
  padding-top: 38px;
  border-top: 1px solid var(--line);
}

.watch-links-copy h3 {
  margin: 9px 0 13px;
  font-size: clamp(27px, 3.6vw, 43px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.05em;
}

.watch-links-copy p {
  max-width: 360px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}

.link-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.link-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.25s var(--ease), border-color 0.25s var(--ease);
}

.link-list a:hover {
  padding-left: 8px;
  border-color: var(--red);
}

.link-list b {
  display: block;
  margin-bottom: 1px;
  font-size: 14px;
  font-weight: 700;
}

.link-list small {
  display: block;
  font-size: 10px;
  color: var(--muted);
}

.link-list .icon {
  width: 17px;
  height: 17px;
  color: var(--muted);
  transition: color 0.2s var(--ease);
}

.link-list a:hover .icon {
  color: var(--red);
}

/* =========================================================
   Rating
   ========================================================= */

.section-rate {
  background: linear-gradient(180deg, #0c141b 0%, #0b1015 100%);
  border-top: 1px solid var(--line);
}

.rate-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  border: 1px solid var(--line);
  background: linear-gradient(145deg, #15242e, #0a1117 72%);
  overflow: hidden;
}

.rate-copy {
  position: relative;
  padding: clamp(24px, 4vw, 44px);
}

.rate-copy::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 72px;
  background: var(--gold);
}

.rate-copy > h3 {
  margin: 11px 0 8px;
  font-size: clamp(26px, 3.4vw, 42px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.045em;
}

.rate-desc {
  max-width: 430px;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--muted);
}

.rating-widget {
  margin-top: 28px;
}

.rating-stars {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.rating-star {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid transparent;
  color: #3f4d56;
  cursor: pointer;
  transition: color 0.2s var(--ease), transform 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.rating-star svg {
  width: 41px;
  height: 41px;
  fill: currentColor;
  filter: drop-shadow(0 0 0 rgba(232, 193, 112, 0));
  transition: filter 0.2s var(--ease);
}

.rating-star:hover,
.rating-star:focus-visible {
  color: var(--gold);
  transform: translateY(-2px);
}

.rating-star:hover svg,
.rating-star:focus-visible svg,
.rating-star.is-filled svg {
  filter: drop-shadow(0 0 9px rgba(232, 193, 112, 0.22));
}

.rating-star.is-filled {
  color: var(--gold);
}

.rating-star.is-selected {
  border-color: rgba(232, 193, 112, 0.45);
  background: rgba(232, 193, 112, 0.06);
}

.rating-star:disabled {
  cursor: default;
  transform: none;
}

.rating-star:disabled:not(.is-selected) {
  opacity: 0.42;
}

.rating-hint {
  min-height: 1.5em;
  margin-top: 7px;
  font-size: 11.5px;
  line-height: 1.6;
  color: var(--muted);
}

.rating-widget.is-rated .rating-hint {
  color: var(--gold);
}

.rating-widget.is-error .rating-hint {
  color: var(--red);
}

.rating-widget.is-loading .rating-star {
  cursor: wait;
}

.rating-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 20px;
  font-size: 9px;
  line-height: 1.6;
  color: var(--muted-2);
}

.rating-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.rating-meta .live-dot {
  width: 5px;
  height: 5px;
  background: var(--mint);
  animation: none;
  box-shadow: none;
}

.rate-summary {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 4vw, 40px);
  border-left: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.018);
}

.rate-average-row {
  display: flex;
  align-items: flex-end;
  gap: 18px;
}

.rate-average {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--font-display);
  line-height: 0.8;
}

.rate-average strong {
  font-size: clamp(66px, 8vw, 98px);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--paper);
}

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

.rate-average-info {
  padding-bottom: 5px;
}

.rating-average-stars {
  display: flex;
  gap: 3px;
  color: var(--gold);
}

.rating-average-stars svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  opacity: 0.2;
  transition: opacity 0.3s var(--ease);
}

.rating-average-stars svg.is-filled {
  opacity: 1;
}

#rating-count {
  margin-top: 4px;
  font-size: 10px;
  color: var(--muted);
}

.rating-bars {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 22px;
}

.rating-bar {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) 36px;
  gap: 8px;
  align-items: center;
  font-family: var(--font-display);
  font-size: 9px;
  color: var(--muted);
}

.rating-bar .bar {
  height: 5px;
  overflow: hidden;
  background: rgba(236, 232, 225, 0.08);
}

.rating-bar .bar i {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), #f7d998);
  transition: width 0.6s var(--ease);
}

.rating-bar b {
  font-weight: 500;
  text-align: right;
  color: var(--paper-dim);
}

.rating-note {
  margin-top: 20px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  font-size: 9px;
  line-height: 1.7;
  color: var(--muted-2);
}

@media (max-width: 960px) {
  .rate-panel {
    grid-template-columns: 1fr;
  }

  .rate-summary {
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

@media (max-width: 520px) {
  .rating-star {
    width: 44px;
    height: 44px;
  }

  .rating-star svg {
    width: 35px;
    height: 35px;
  }

  .rate-average strong {
    font-size: 58px;
  }

  .rate-summary,
  .rate-copy {
    padding: 22px 18px;
  }
}

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  position: relative;
  overflow: hidden;
  padding: clamp(60px, 8vw, 100px) 0 24px;
  background: #070b0f;
  border-top: 1px solid var(--line);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -120px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 70, 85, 0.1), transparent 68%);
  pointer-events: none;
}

.footer-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 46px;
  border-bottom: 1px solid var(--line);
}

.footer-big {
  margin-top: 8px;
  font-size: clamp(54px, 9vw, 118px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.075em;
}

.footer-big em {
  color: var(--red);
  font-style: normal;
}

.footer-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.65fr 1.15fr 1fr;
  gap: 38px;
  padding: 46px 0;
}

.footer-brand p {
  max-width: 250px;
  margin-top: 15px;
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
}

.footer-update {
  display: inline-block;
  margin-top: 17px;
  padding: 4px 6px;
  border: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 8px;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.footer-col h4 {
  margin-bottom: 13px;
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--red);
}

.footer-col a,
.footer-col p {
  display: block;
  margin-bottom: 7px;
  font-size: 10.5px;
  line-height: 1.7;
  color: var(--muted);
  transition: color 0.2s var(--ease);
}

.footer-col a:hover {
  color: var(--paper);
}

.footer-sources a {
  font-size: 10px;
}

.footer-legal p {
  font-size: 9.5px;
  line-height: 1.7;
  color: #6d7b85;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding-top: 19px;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 8px;
  letter-spacing: 0.1em;
  color: #5f6d77;
}

.footer-bottom a:hover {
  color: var(--red);
}

/* =========================================================
   Dialog + utility widgets
   ========================================================= */

.mode-dialog {
  width: min(720px, calc(100vw - 30px));
  max-height: min(84vh, 760px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 1px solid var(--line-strong);
  background: linear-gradient(160deg, #15242e, #0b1218);
  color: var(--paper);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7);
}

.mode-dialog::backdrop {
  background: rgba(4, 8, 11, 0.82);
  backdrop-filter: blur(8px);
}

.dialog-inner {
  position: relative;
  padding: clamp(24px, 4vw, 40px);
}

.dialog-close {
  position: absolute;
  top: 17px;
  right: 17px;
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border: 1px solid var(--line);
  color: var(--paper-dim);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.dialog-close:hover {
  border-color: var(--red);
  color: var(--red);
}

.dialog-close .icon {
  width: 16px;
  height: 16px;
}

.dialog-top {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-right: 40px;
  font-family: var(--font-display);
  font-size: 8px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.dialog-cat {
  padding: 2px 5px;
  border: 1px solid rgba(255, 70, 85, 0.3);
  color: var(--red);
}

.dialog-inner h3 {
  margin: 17px 0 2px;
  font-size: clamp(29px, 4vw, 43px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.dialog-en {
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.dialog-desc {
  margin: 16px 0;
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--muted);
}

.dialog-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 19px 0 23px;
  border: 1px solid var(--line);
  background: var(--line);
}

.dialog-stats > div {
  padding: 13px;
  background: #0d161d;
}

.dialog-stats small {
  display: block;
  font-size: 8px;
  color: var(--muted);
}

.dialog-stats b {
  display: block;
  margin-top: 1px;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
}

.dialog-body {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
}

.dialog-body h4 {
  margin-bottom: 7px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--red);
}

.dialog-body p {
  font-size: 11.5px;
  line-height: 1.8;
  color: var(--muted);
}

.dialog-body ul {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.dialog-body li {
  position: relative;
  padding-left: 13px;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--paper-dim);
}

.dialog-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 4px;
  height: 4px;
  border: 1px solid var(--red);
}

.dialog-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  margin-top: 24px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  font-size: 9px;
  color: var(--muted-2);
}

.dialog-back {
  color: var(--paper);
  border-bottom: 1px solid var(--red);
  white-space: nowrap;
}

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border: 1px solid var(--line-strong);
  background: rgba(11, 16, 21, 0.82);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s var(--ease), visibility 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.2s var(--ease);
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  border-color: var(--red);
}

.to-top .icon {
  width: 17px;
  height: 17px;
  transform: rotate(180deg);
}

/* =========================================================
   Animations
   ========================================================= */

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 70, 85, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(255, 70, 85, 0); }
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

@keyframes scrollLine {
  0% { transform: translateX(-100%); }
  55% { transform: translateX(0); }
  100% { transform: translateX(100%); }
}

@keyframes dash {
  to { stroke-dashoffset: -220; }
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1120px) {
  .desktop-nav a {
    padding-inline: 10px;
  }

  .desktop-nav a::after {
    left: 10px;
    right: 10px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  }

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

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

  .role-card {
    min-height: 260px;
  }

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

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

  .footer-grid {
    grid-template-columns: 1.1fr 0.7fr 1fr 0.9fr;
    gap: 24px;
  }
}

@media (max-width: 960px) {
  .desktop-nav,
  .season-chip {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .hero {
    min-height: auto;
    padding-top: 118px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    justify-self: start;
    width: min(78%, 440px);
  }

  .hero-rail {
    margin-top: 34px;
  }

  .section-head-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .section-sub {
    max-width: 620px;
  }

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

  .match-card {
    max-width: 520px;
  }

  .round-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .standard-score {
    grid-column: span 2;
  }

  .standard-score > p {
    max-width: 420px;
  }

  .standard-score .score-rule:first-of-type {
    margin-top: 22px;
  }

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

  .skill-card,
  .skill-card:nth-child(4),
  .skill-card:nth-child(5) {
    grid-column: span 1;
  }

  .map-check-grid {
    grid-template-columns: 1fr;
  }

  .champions-banner {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .banner-stats {
    max-width: 420px;
  }

  .timeline-block {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .timeline-intro {
    position: static;
  }

  .timeline-intro > p {
    max-width: 620px;
  }

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

  .event-card {
    min-height: 0;
  }

  .teams-head {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .teams-head p {
    justify-self: start;
    max-width: 620px;
  }

  .watch-steps {
    grid-template-columns: 1fr;
  }

  .watch-step {
    min-height: 0;
  }

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

  .watch-links {
    grid-template-columns: 1fr;
  }

  .footer-top {
    align-items: start;
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 720px) {
  .header-inner {
    height: 68px;
  }

  .hero {
    padding-top: 100px;
  }

  .hero-title {
    font-size: clamp(58px, 14vw, 92px);
  }

  .hero-visual {
    width: min(100%, 420px);
  }

  .hero-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 20px;
  }

  .scroll-cue {
    display: none;
  }

  .rail-stat strong {
    font-size: 26px;
  }

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

  .mode-card {
    min-height: 290px;
  }

  .standard-head {
    align-items: start;
    flex-direction: column;
    gap: 12px;
  }

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

  .standard-score {
    grid-column: auto;
  }

  .economy-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .economy-strip > div:nth-child(2) {
    border-right: 0;
  }

  .economy-strip > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

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

  .role-card {
    min-height: 240px;
  }

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

  .event-head,
  .moments-head,
  .skill-head,
  .terms-head {
    align-items: start;
    flex-direction: column;
    gap: 5px;
  }

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

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

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

  .next-season {
    align-items: start;
    flex-direction: column;
  }

  .next-mark {
    text-align: left;
  }

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

  .dialog-body {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 7px;
  }
}

@media (max-width: 520px) {
  :root {
    --pad: 18px;
  }

  .brand-text small {
    display: none;
  }

  .hero-kicker {
    letter-spacing: 0.2em;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-sub {
    font-size: 12.5px;
  }

  .hero-actions .btn {
    flex: 1;
    min-width: 145px;
  }

  .hero-meta {
    gap: 9px 14px;
    font-size: 8px;
  }

  .hero-visual {
    width: 100%;
    padding-right: 8px;
  }

  .match-score .match-team strong {
    font-size: 56px;
  }

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

  .filter-group {
    flex-wrap: wrap;
    width: 100%;
    overflow: visible;
  }

  .filter-btn {
    white-space: nowrap;
    padding: 8px 10px;
  }

  .mode-count {
    display: none;
  }

  .standard-score {
    padding: 23px;
  }

  .side-card {
    padding: 23px;
  }

  .economy-strip strong {
    font-size: 23px;
  }

  .table-head {
    flex-direction: column;
    align-items: start;
    gap: 3px;
  }

  .map-panel,
  .checklist-panel {
    padding: 18px;
  }

  .map-panel-head {
    align-items: start;
    flex-direction: column;
  }

  .champions-banner {
    padding: 24px 20px;
  }

  .banner-copy h3 {
    font-size: clamp(35px, 11vw, 48px);
  }

  .banner-stats {
    grid-template-columns: 1fr 1fr;
  }

  .banner-stats > div {
    padding: 15px;
  }

  .timeline {
    padding-left: 21px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 3px;
    padding-left: 0;
    padding-bottom: 23px;
  }

  .timeline-item::before {
    left: -25px;
    top: 5px;
  }

  .timeline-date {
    display: flex;
    align-items: baseline;
    gap: 6px;
  }

  .timeline-date b {
    display: none;
  }

  .timeline-content h4 {
    font-size: 18px;
  }

  .team-abbr {
    font-size: 25px;
  }

  .term {
    padding: 13px 15px;
  }

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

  .dialog-stats > div {
    padding: 10px 9px;
  }

  .dialog-stats b {
    font-size: 12.5px;
  }

  .dialog-inner {
    padding: 22px 18px;
  }

  .dialog-foot {
    flex-direction: column;
  }

  .to-top {
    right: 14px;
    bottom: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
