/* =========================================================
   GOODMINTON / COURT ARCHIVE
   Editorial sports archive for a badminton club.
   ========================================================= */

@font-face {
  font-family: 'Smiley Sans';
  src: url('/assets/smiley-sans.woff2') format('woff2');
  font-weight: 400 900;
  font-style: oblique 0deg 10deg;
  font-display: swap;
}

@font-face {
  font-family: 'Space Grotesk';
  src: url('/assets/space-grotesk-400.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('/assets/space-grotesk-500.ttf') format('truetype');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('/assets/space-grotesk-600.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('/assets/space-grotesk-700.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}

:root {
  --ink: #081a12;
  --ink-2: #0f2419;
  --ink-3: #173325;
  --paper: #f2efe4;
  --paper-2: #e8e3d5;
  --paper-3: #d9d3c1;
  --chalk: #fbf8ee;
  --acid: #d8ff47;
  --acid-deep: #b6e300;
  --orange: #ff5a36;
  --violet: #6d5df6;
  --muted: #74786d;
  --muted-2: #9a9b8e;
  --line: rgba(8, 26, 18, 0.14);
  --line-dark: rgba(242, 239, 228, 0.16);
  --display: 'Smiley Sans', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  --body: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
  --latin: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --page-pad: clamp(20px, 4.2vw, 72px);
  --max: 1440px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.16, 1.2, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.22;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.23'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
::selection { background: var(--acid); color: var(--ink); }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
p, h1, h2, h3, h4 { margin: 0; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }

/* ---------- utility ---------- */
.wrap { width: min(var(--max), calc(100% - var(--page-pad) * 2)); margin: 0 auto; }
.wrap-narrow { width: min(1080px, calc(100% - var(--page-pad) * 2)); margin: 0 auto; }
.display { font-family: var(--display); font-weight: 700; line-height: 0.92; letter-spacing: -0.035em; }
.latin { font-family: var(--latin); }
.mono { font-family: var(--latin); letter-spacing: 0.14em; text-transform: uppercase; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--latin); font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
}
.kicker::before { content: ''; width: 22px; height: 2px; background: currentColor; }
.eyebrow { font-family: var(--latin); font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.muted { color: var(--muted); }
.acid { color: var(--acid-deep); }
.section { padding: clamp(72px, 9vw, 132px) 0; position: relative; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: clamp(32px, 5vw, 64px); }
.section-title { font-family: var(--display); font-size: clamp(42px, 6vw, 92px); line-height: 0.95; letter-spacing: -0.035em; }
.section-intro { max-width: 420px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.rule { height: 1px; background: var(--line); width: 100%; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 24px; border: 1px solid var(--ink); border-radius: 999px;
  background: transparent; color: var(--ink); text-decoration: none;
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
  transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease), border-color .35s var(--ease);
}
.btn:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }
.btn-acid { background: var(--acid); border-color: var(--acid); color: var(--ink); }
.btn-acid:hover { background: var(--chalk); border-color: var(--chalk); color: var(--ink); }
.btn-ghost-light { border-color: rgba(242,239,228,.42); color: var(--paper); }
.btn-ghost-light:hover { background: var(--paper); color: var(--ink); }
.btn-sm { height: 40px; padding: 0 17px; font-size: 12px; }
.arrow-link { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-size: 13px; font-weight: 600; }
.arrow-link svg { transition: transform .3s var(--ease); }
.arrow-link:hover svg { transform: translate(4px, -4px); }

/* ---------- header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  color: var(--paper);
  transition: background .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(8, 26, 18, 0.88);
  border-bottom-color: rgba(242,239,228,.12);
  backdrop-filter: blur(18px) saturate(1.4);
}
.header-inner { height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; flex-shrink: 0; }
.brand img { width: 148px; height: auto; filter: brightness(0) invert(1); opacity: .96; }
.brand-mark { width: 34px; height: 34px; border: 1px solid rgba(242,239,228,.4); border-radius: 50%; display: grid; place-items: center; }
.brand-mark::after { content: ''; width: 8px; height: 8px; background: var(--acid); border-radius: 50%; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { color: rgba(242,239,228,.64); text-decoration: none; font-size: 12px; letter-spacing: .06em; transition: color .25s; }
.nav a:hover, .nav a.router-link-active { color: var(--paper); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-mini { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 15px; border: 1px solid rgba(242,239,228,.3); border-radius: 999px; color: var(--paper); text-decoration: none; font-size: 11px; letter-spacing: .04em; transition: .3s var(--ease); }
.header-mini:hover { background: var(--acid); border-color: var(--acid); color: var(--ink); }
.header-mini .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--acid); }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid rgba(242,239,228,.26); border-radius: 50%; background: transparent; color: var(--paper); }
.mobile-menu { display: none; }

/* ---------- hero ---------- */
.hero {
  min-height: 100svh; position: relative; overflow: hidden;
  background: var(--ink); color: var(--paper);
  display: flex; align-items: center;
  padding: 130px 0 60px;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.hero-grid {
  position: absolute; inset: 0; opacity: .28; pointer-events: none;
  background-image: linear-gradient(rgba(242,239,228,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(242,239,228,.09) 1px, transparent 1px);
  background-size: 8.333% 8.333%;
  mask-image: linear-gradient(90deg, transparent 0%, black 20%, black 80%, transparent 100%);
}
.hero::after {
  content: ''; position: absolute; width: 46vw; height: 46vw; right: -14vw; top: 2vw;
  border: 1px solid rgba(216,255,71,.18); border-radius: 50%; pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr); gap: 4vw; align-items: center; }
.hero-topline { display: flex; align-items: center; gap: 12px; color: rgba(242,239,228,.52); margin-bottom: 28px; }
.hero-topline .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 0 0 rgba(216,255,71,.4); animation: pulse 2s infinite; }
.hero-title { font-family: var(--display); font-size: clamp(62px, 9.4vw, 148px); line-height: .86; letter-spacing: -.025em; position: relative; z-index: 1; padding-left: .04em; max-width: 920px; }
.hero-title .line { display: block; white-space: nowrap; }
.hero-title .accent { color: var(--acid); position: relative; display: inline-block; }
.hero-title .accent::after { content: ''; position: absolute; left: 0; right: 0; bottom: -.04em; height: .07em; background: var(--acid); transform: rotate(-1.5deg); opacity: .7; }
.hero-sub { max-width: 470px; margin-top: 28px; color: rgba(242,239,228,.58); font-size: 15px; line-height: 1.9; letter-spacing: .02em; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 38px; }
.hero-note { margin-top: 28px; color: rgba(242,239,228,.34); font-size: 11px; letter-spacing: .06em; }
.hero-note b { color: rgba(242,239,228,.7); font-weight: 500; }

.hero-side { position: relative; z-index: 2; min-width: 0; }
.live-card {
  border: 1px solid rgba(242,239,228,.22);
  width: 100%;
  max-width: 430px;
  margin-left: auto;
  overflow: hidden; background: rgba(15,36,25,.58);
  backdrop-filter: blur(18px); padding: 22px; position: relative;
  box-shadow: 0 30px 70px rgba(0,0,0,.22);
}
.live-card::before { content: ''; position: absolute; top: -1px; left: -1px; width: 38px; height: 3px; background: var(--acid); }
.live-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 17px; border-bottom: 1px solid rgba(242,239,228,.14); }
.live-head .live-dot { color: var(--acid); font-family: var(--latin); font-size: 10px; letter-spacing: .16em; display: flex; align-items: center; gap: 8px; }
.live-head .live-dot::before { content: ''; width: 6px; height: 6px; background: var(--acid); border-radius: 50%; animation: pulse 1.8s infinite; }
.live-head .season { font-family: var(--latin); font-size: 10px; letter-spacing: .12em; color: rgba(242,239,228,.44); }
.live-score { padding: 24px 0 18px; display: flex; align-items: flex-end; justify-content: space-between; }
.live-score .num { font-family: var(--latin); font-size: clamp(58px, 6vw, 86px); line-height: .8; letter-spacing: -.06em; color: var(--acid); }
.live-score .label { text-align: right; font-size: 11px; line-height: 1.7; color: rgba(242,239,228,.48); }
.live-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(242,239,228,.14); padding-top: 18px; gap: 14px; }
.live-stats .v { font-family: var(--latin); font-size: 23px; color: var(--paper); }
.live-stats .k { margin-top: 5px; font-size: 10px; color: rgba(242,239,228,.38); letter-spacing: .04em; }
.live-foot { margin-top: 18px; display: flex; justify-content: space-between; align-items: center; color: rgba(242,239,228,.42); font-size: 10px; }
.live-foot .top-name { color: var(--paper); font-size: 12px; }
.hero-scroll { position: absolute; bottom: 28px; left: var(--page-pad); display: flex; align-items: center; gap: 14px; color: rgba(242,239,228,.36); font-family: var(--latin); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; z-index: 3; }
.hero-scroll .line { width: 48px; height: 1px; background: rgba(242,239,228,.24); position: relative; overflow: hidden; }
.hero-scroll .line::after { content: ''; position: absolute; inset: 0; background: var(--acid); animation: scrollline 2s infinite; }

/* ---------- ticker ---------- */
.ticker { background: var(--acid); color: var(--ink); overflow: hidden; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.ticker-track { display: flex; width: max-content; animation: ticker 28s linear infinite; }
.ticker-track:hover { animation-play-state: paused; }
.ticker-item { display: inline-flex; align-items: center; gap: 18px; padding: 12px 24px; font-family: var(--latin); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.ticker-item::after { content: '✦'; font-size: 13px; opacity: .5; }

/* ---------- stats band ---------- */
.manifesto { background: var(--paper); border-bottom: 1px solid var(--line); }
.manifesto-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 8vw; align-items: center; }
.manifesto-copy { max-width: 660px; }
.manifesto-copy h2 { font-family: var(--display); font-size: clamp(44px, 5.6vw, 82px); line-height: 1.02; letter-spacing: -.04em; margin: 18px 0 28px; }
.manifesto-copy p { color: var(--muted); font-size: 15px; line-height: 1.9; max-width: 480px; }
.manifesto-mark { font-family: var(--display); font-size: clamp(150px, 24vw, 360px); line-height: .7; color: transparent; -webkit-text-stroke: 1px rgba(8,26,18,.18); letter-spacing: -.08em; transform: rotate(-7deg); user-select: none; }
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat-cell { padding: 30px 24px 32px; border-right: 1px solid var(--line); position: relative; overflow: hidden; }
.stat-cell:last-child { border-right: 0; }
.stat-cell .idx { font-family: var(--latin); font-size: 10px; color: var(--muted-2); letter-spacing: .12em; }
.stat-cell .big { font-family: var(--latin); font-size: clamp(44px, 5vw, 76px); font-weight: 600; line-height: 1; letter-spacing: -.06em; margin-top: 22px; }
.stat-cell .big small { font-family: var(--body); font-size: 12px; letter-spacing: 0; color: var(--muted); margin-left: 5px; font-weight: 400; }
.stat-cell .cap { font-size: 11px; color: var(--muted); margin-top: 10px; }
.stat-cell::after { content: ''; position: absolute; right: 18px; bottom: 18px; width: 6px; height: 6px; border-radius: 50%; background: var(--line); }
.stat-cell:nth-child(2)::after { background: var(--acid-deep); }

/* ---------- podium ---------- */
.podium-section { background: var(--chalk); }
.podium-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 14px; align-items: end; }
.podium-card {
  position: relative; min-height: 380px; border: 1px solid var(--ink);
  background: var(--paper); display: flex; flex-direction: column; justify-content: flex-end;
  padding: 22px; overflow: hidden; text-decoration: none;
  transition: transform .5s var(--ease), background .5s var(--ease), color .5s var(--ease);
}
.podium-card:hover { transform: translateY(-7px); }
.podium-card.first { min-height: 470px; background: var(--ink); color: var(--paper); border-color: var(--ink); }
.podium-card.second { background: var(--acid); }
.podium-card.third { background: var(--paper-2); }
.podium-rank { position: absolute; top: 12px; right: 16px; font-family: var(--latin); font-size: clamp(62px, 8vw, 110px); line-height: 1; letter-spacing: -.08em; opacity: .15; }
.podium-card.first .podium-rank { color: var(--acid); opacity: .55; }
.podium-avatar { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 1px solid currentColor; margin-bottom: 22px; background: var(--paper-2); }
.podium-card.first .podium-avatar { width: 152px; height: 152px; }
.podium-name { font-family: var(--display); font-size: clamp(30px, 3.6vw, 48px); line-height: 1; letter-spacing: -.03em; }
.podium-meta { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 11px; opacity: .65; }
.podium-points { display: flex; align-items: baseline; gap: 7px; margin-top: 22px; font-family: var(--latin); }
.podium-points b { font-size: 40px; font-weight: 500; letter-spacing: -.06em; }
.podium-points span { font-size: 10px; opacity: .55; }
.podium-badge { display: inline-flex; width: max-content; border: 1px solid currentColor; padding: 4px 9px; border-radius: 999px; font-size: 9px; letter-spacing: .08em; margin-bottom: 18px; opacity: .8; }
.podium-shot { position: absolute; top: 70px; left: 24px; font-size: 11px; color: currentColor; opacity: .48; max-width: 140px; line-height: 1.7; }
.podium-card:hover .podium-shot { opacity: .8; }

/* ---------- leaderboard ---------- */
.rank-section { background: var(--paper); }
.rank-topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; flex-wrap: wrap; }
.season-switch { display: flex; gap: 2px; border: 1px solid var(--line); padding: 3px; border-radius: 999px; overflow-x: auto; }
.season-switch button { border: 0; background: transparent; padding: 7px 13px; border-radius: 999px; font-family: var(--latin); font-size: 10px; letter-spacing: .06em; color: var(--muted); white-space: nowrap; }
.season-switch button.active { background: var(--ink); color: var(--paper); }
.search-box { display: flex; align-items: center; gap: 9px; border-bottom: 1px solid var(--ink); min-width: 220px; padding: 5px 0; }
.search-box input { border: 0; background: transparent; outline: 0; width: 100%; font-size: 12px; padding: 5px 0; }
.search-box svg { opacity: .5; flex-shrink: 0; }
.rank-table { border-top: 1px solid var(--ink); }
.rank-row {
  display: grid; grid-template-columns: 54px minmax(0, 1.7fr) 100px 100px 112px 42px;
  gap: 16px; align-items: center; padding: 14px 6px; border-bottom: 1px solid var(--line);
  text-decoration: none; position: relative; transition: background .3s, padding .3s var(--ease);
}
.rank-row:hover { background: rgba(8,26,18,.035); padding-left: 13px; padding-right: 13px; }
.rank-row .pos { font-family: var(--latin); font-size: 13px; color: var(--muted); }
.rank-row:nth-child(-n+3) .pos { color: var(--ink); font-weight: 600; }
.rank-player { display: flex; align-items: center; gap: 13px; min-width: 0; }
.rank-player img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: var(--paper-2); flex-shrink: 0; }
.rank-player .name { font-weight: 500; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-player .sub { font-size: 10px; color: var(--muted); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rank-points { font-family: var(--latin); font-size: 20px; letter-spacing: -.04em; }
.rank-tier { display: inline-flex; align-items: center; gap: 7px; font-family: var(--latin); font-size: 11px; }
.tier-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--acid-deep); }
.rank-trend { display: flex; align-items: center; gap: 5px; font-family: var(--latin); font-size: 11px; color: var(--muted); }
.rank-arrow { opacity: .38; }
.rank-row:hover .rank-arrow { opacity: 1; transform: translate(2px, -2px); }
.rank-empty { padding: 50px 0; color: var(--muted); font-size: 13px; }

/* ---------- matches ---------- */
.matches-section { background: var(--ink); color: var(--paper); }
.matches-section .section-title { color: var(--paper); }
.matches-section .section-intro { color: rgba(242,239,228,.48); }
.match-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.match-card {
  border: 1px solid rgba(242,239,228,.18); padding: 22px; min-height: 285px;
  display: flex; flex-direction: column; justify-content: space-between;
  text-decoration: none; position: relative; overflow: hidden;
  transition: background .35s var(--ease), border-color .35s var(--ease), transform .45s var(--ease);
}
.match-card:hover { background: rgba(242,239,228,.06); border-color: rgba(216,255,71,.55); transform: translateY(-4px); }
.match-card .m-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.match-state { font-family: var(--latin); font-size: 9px; letter-spacing: .12em; color: var(--acid); display: flex; align-items: center; gap: 6px; }
.match-state::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--acid); }
.match-date { font-family: var(--latin); font-size: 10px; color: rgba(242,239,228,.36); letter-spacing: .08em; }
.match-card h3 { font-family: var(--display); font-size: 38px; letter-spacing: -.03em; line-height: 1; margin: 26px 0 12px; }
.match-place { font-size: 11px; color: rgba(242,239,228,.45); line-height: 1.6; }
.match-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-top: 28px; }
.match-count { display: flex; gap: 18px; }
.match-count b { display: block; font-family: var(--latin); font-size: 22px; font-weight: 500; }
.match-count span { display: block; font-size: 9px; color: rgba(242,239,228,.35); margin-top: 3px; letter-spacing: .06em; }
.match-go { width: 34px; height: 34px; border: 1px solid rgba(242,239,228,.32); border-radius: 50%; display: grid; place-items: center; transition: .3s; }
.match-card:hover .match-go { background: var(--acid); border-color: var(--acid); color: var(--ink); }
.match-card.empty { justify-content: center; align-items: center; color: rgba(242,239,228,.4); min-height: 285px; }



/* light-page match cards (MatchesPage) */
.page-section .match-card {
  border-color: var(--ink);
  color: var(--ink);
}
.page-section .match-card .match-state { color: var(--acid-deep); }
.page-section .match-card .match-date { color: var(--muted); }
.page-section .match-card .match-place { color: var(--muted); }
.page-section .match-card .match-count span { color: var(--muted); }
.page-section .match-card .match-go { border-color: rgba(8,26,18,.35); }
.page-section .match-card:hover {
  background: var(--ink);
  color: var(--paper);
}
.page-section .match-card:hover .match-state { color: var(--acid); }
.page-section .match-card:hover .match-date,
.page-section .match-card:hover .match-place,
.page-section .match-card:hover .match-count span { color: rgba(242,239,228,.46); }
.page-section .match-card:hover .match-go { border-color: rgba(242,239,228,.35); }
.page-section .match-card:hover .match-go { background: var(--acid); border-color: var(--acid); color: var(--ink); }

/* injected lesson html */
.lesson-html p { color: var(--muted); font-size: 14px; line-height: 1.95; margin-bottom: 14px; }
.lesson-html ul { margin: 10px 0 16px; }
.lesson-html li { color: var(--muted); font-size: 13px; line-height: 1.8; padding-left: 18px; position: relative; margin-bottom: 8px; }
.lesson-html li::before { content: '—'; position: absolute; left: 0; color: var(--acid-deep); }

/* ---------- player feature ---------- */
.feature-section { background: var(--paper); overflow: hidden; }
.feature-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 6vw; align-items: center; }
.feature-portrait { position: relative; min-height: 520px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); background: var(--paper-2); overflow: hidden; }
.feature-portrait::before { content: ''; position: absolute; width: 70%; height: 70%; border: 1px solid rgba(8,26,18,.12); border-radius: 50%; }
.feature-portrait::after { content: 'PLAYER / 01'; position: absolute; top: 20px; left: 22px; font-family: var(--latin); font-size: 9px; letter-spacing: .18em; color: var(--muted); }
.feature-portrait img { width: 78%; height: 78%; object-fit: cover; border-radius: 50%; border: 1px solid var(--ink); position: relative; z-index: 1; filter: grayscale(.1) contrast(1.02); }
.feature-portrait .portrait-caption { position: absolute; bottom: 20px; left: 22px; right: 22px; display: flex; justify-content: space-between; font-family: var(--latin); font-size: 9px; letter-spacing: .12em; color: var(--muted); }
.feature-content h2 { font-family: var(--display); font-size: clamp(54px, 7vw, 104px); line-height: .9; letter-spacing: -.05em; margin: 18px 0 18px; }
.feature-content .quote { font-size: 18px; color: var(--muted); line-height: 1.85; max-width: 430px; border-left: 2px solid var(--acid-deep); padding-left: 20px; }
.feature-numbers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; }
.feature-numbers b { display: block; font-family: var(--latin); font-size: 32px; font-weight: 500; letter-spacing: -.04em; }
.feature-numbers span { display: block; font-size: 10px; color: var(--muted); margin-top: 5px; }
.feature-radar { max-width: 320px; margin-left: auto; }

/* ---------- mini program ---------- */
.mini-section { background: var(--acid); color: var(--ink); position: relative; overflow: hidden; }
.mini-section::before { content: 'GOODMINTON'; position: absolute; right: -2vw; bottom: -1vw; font-family: var(--display); font-size: 15vw; opacity: .055; letter-spacing: -.07em; pointer-events: none; }
.mini-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 8vw; align-items: center; position: relative; z-index: 1; }
.mini-copy h2 { font-family: var(--display); font-size: clamp(48px, 6.4vw, 100px); line-height: .9; letter-spacing: -.05em; margin: 16px 0 24px; }
.mini-copy p { max-width: 460px; font-size: 15px; line-height: 1.9; }
.mini-features { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 32px; }
.mini-features span { border: 1px solid rgba(8,26,18,.28); border-radius: 999px; padding: 7px 12px; font-size: 11px; }
.mini-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.mini-actions .btn:not(.btn-acid) { border-color: var(--ink); }
.mini-actions .btn:not(.btn-acid):hover { background: var(--ink); color: var(--acid); }
.mini-qr-wrap { justify-self: center; width: min(340px, 100%); position: relative; }
.phone-card { border: 1px solid var(--ink); background: var(--paper); padding: 18px; box-shadow: 12px 12px 0 rgba(8,26,18,.16); transform: rotate(2.5deg); transition: transform .5s var(--ease); }
.phone-card:hover { transform: rotate(0deg) translateY(-5px); }
.phone-screen { background: var(--ink); color: var(--paper); padding: 18px; min-height: 230px; display: flex; flex-direction: column; justify-content: space-between; }
.phone-screen .tiny { font-family: var(--latin); font-size: 8px; letter-spacing: .16em; color: rgba(242,239,228,.5); }
.phone-screen .p-title { font-family: var(--display); font-size: 30px; line-height: .95; letter-spacing: -.02em; margin: 30px 0 12px; }
.phone-screen .p-line { height: 1px; background: rgba(242,239,228,.18); margin: 10px 0; }
.phone-screen .p-row { display: flex; justify-content: space-between; font-family: var(--latin); font-size: 10px; color: rgba(242,239,228,.55); }
.qr-box { margin-top: 18px; display: flex; gap: 14px; align-items: center; }
.qr-code { width: 92px; height: 92px; background: var(--chalk); border: 1px solid var(--ink); display: grid; place-items: center; overflow: hidden; flex-shrink: 0; }
.qr-code img { width: 100%; height: 100%; object-fit: cover; }
.qr-fallback { font-family: var(--latin); font-size: 8px; text-align: center; letter-spacing: .08em; padding: 6px; }
.qr-label { font-size: 11px; line-height: 1.6; }
.qr-label b { display: block; font-size: 12px; margin-bottom: 4px; }
.qr-label span { color: rgba(8,26,18,.58); font-size: 10px; }

/* ---------- academy & rules teasers ---------- */
.two-col-section { background: var(--chalk); }
.two-col-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.feature-tile {
  border: 1px solid var(--ink); padding: clamp(24px, 4vw, 48px); min-height: 360px;
  display: flex; flex-direction: column; justify-content: space-between; text-decoration: none;
  position: relative; overflow: hidden; transition: background .35s var(--ease), color .35s var(--ease);
}
.feature-tile:hover { background: var(--ink); color: var(--paper); }
.feature-tile:hover .tile-arrow { background: var(--acid); color: var(--ink); border-color: var(--acid); }
.feature-tile .tile-no { font-family: var(--latin); font-size: 10px; letter-spacing: .14em; opacity: .5; }
.feature-tile h3 { font-family: var(--display); font-size: clamp(38px, 4.8vw, 64px); line-height: .95; letter-spacing: -.03em; margin: 16px 0; }
.feature-tile p { color: var(--muted); font-size: 13px; line-height: 1.8; max-width: 380px; }
.feature-tile:hover p { color: rgba(242,239,228,.55); }
.tile-arrow { width: 42px; height: 42px; border: 1px solid var(--ink); border-radius: 50%; display: grid; place-items: center; margin-top: 24px; transition: .3s; }
.feature-tile .tile-bg { position: absolute; right: -10px; bottom: -50px; font-family: var(--display); font-size: 180px; line-height: 1; opacity: .035; pointer-events: none; }
.feature-tile.academy { background: var(--paper); }
.feature-tile.rules { background: var(--paper-2); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding: 70px 0 24px; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.5fr .7fr .7fr; gap: 4vw; padding-bottom: 60px; border-bottom: 1px solid rgba(242,239,228,.14); }
.footer-brand img { width: 160px; filter: brightness(0) invert(1); opacity: .94; margin-bottom: 22px; }
.footer-brand p { color: rgba(242,239,228,.44); font-size: 13px; line-height: 1.8; max-width: 340px; }
.footer-col h4 { font-family: var(--latin); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: rgba(242,239,228,.36); margin-bottom: 18px; }
.footer-col a { display: block; color: rgba(242,239,228,.64); text-decoration: none; font-size: 13px; margin-bottom: 11px; transition: color .2s; }
.footer-col a:hover { color: var(--acid); }
.footer-bottom { padding-top: 22px; display: flex; justify-content: space-between; gap: 20px; color: rgba(242,239,228,.3); font-family: var(--latin); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.footer-bottom .court-line { flex: 1; height: 1px; background: rgba(242,239,228,.14); align-self: center; max-width: 280px; }

/* ---------- inner page shells ---------- */
.inner-hero { background: var(--ink); color: var(--paper); padding: 150px 0 64px; position: relative; overflow: hidden; }
.inner-hero::after { content: ''; position: absolute; right: -8vw; top: -8vw; width: 35vw; height: 35vw; border: 1px solid rgba(242,239,228,.12); border-radius: 50%; }
.inner-hero .kicker { color: var(--acid); margin-bottom: 22px; }
.inner-title { font-family: var(--display); font-size: clamp(58px, 9vw, 132px); line-height: .88; letter-spacing: -.05em; position: relative; z-index: 1; padding-left: .05em; }
.inner-desc { max-width: 550px; margin-top: 24px; color: rgba(242,239,228,.5); font-size: 14px; line-height: 1.9; }
.inner-meta { margin-top: 30px; display: flex; gap: 26px; flex-wrap: wrap; color: rgba(242,239,228,.36); font-family: var(--latin); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.inner-meta b { color: rgba(242,239,228,.72); font-weight: 500; }
.page-section { padding: clamp(42px, 6vw, 80px) 0; }
.page-section.alt { background: var(--chalk); }
.page-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }
.page-toolbar h2 { font-family: var(--display); font-size: 34px; letter-spacing: -.02em; }
.page-toolbar .count { font-family: var(--latin); font-size: 10px; color: var(--muted); letter-spacing: .08em; }

/* ---------- match detail ---------- */
.match-detail-head { background: var(--ink); color: var(--paper); padding: 140px 0 56px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: rgba(242,239,228,.44); text-decoration: none; font-family: var(--latin); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 26px; }
.back-link:hover { color: var(--paper); }
.match-detail-title { font-family: var(--display); font-size: clamp(48px, 8vw, 108px); line-height: .9; letter-spacing: -.05em; }
.match-detail-meta { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 22px; color: rgba(242,239,228,.42); font-size: 11px; }
.match-detail-meta b { color: rgba(242,239,228,.8); font-weight: 500; }
.detail-score { display: grid; grid-template-columns: 1fr auto 1fr; gap: 22px; align-items: center; padding: 42px 0; border-bottom: 1px solid var(--line); }
.detail-side { display: flex; align-items: center; gap: 18px; }
.detail-side.right { justify-content: flex-end; text-align: right; }
.detail-side .side-avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 1px solid var(--ink); }
.detail-side .side-name { font-family: var(--display); font-size: clamp(30px, 4vw, 56px); letter-spacing: -.03em; }
.detail-side .side-sub { font-size: 10px; color: var(--muted); margin-top: 5px; }
.detail-vs { font-family: var(--latin); font-size: 10px; letter-spacing: .16em; opacity: .35; }
.games-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 38px; }
.game-card { border: 1px solid var(--ink); padding: 20px; background: var(--chalk); }
.game-card .g-top { display: flex; justify-content: space-between; font-family: var(--latin); font-size: 9px; letter-spacing: .1em; color: var(--muted); }
.game-card .g-score { display: flex; align-items: baseline; gap: 12px; margin: 22px 0 14px; font-family: var(--latin); }
.game-card .g-score b { font-size: 54px; line-height: .8; font-weight: 500; letter-spacing: -.05em; }
.game-card .g-score span { opacity: .25; }
.game-card .g-teams { font-size: 11px; color: var(--muted); line-height: 1.7; }
.game-card .g-win { color: var(--acid-deep); }
.detail-list { border-top: 1px solid var(--line); }
.detail-list-row { display: grid; grid-template-columns: 72px minmax(0,1fr) 100px 90px; gap: 16px; padding: 16px 4px; border-bottom: 1px solid var(--line); align-items: center; font-size: 12px; }
.detail-list-row .idx { font-family: var(--latin); font-size: 10px; color: var(--muted); }
.detail-list-row .players { display: flex; flex-wrap: wrap; gap: 5px 12px; color: var(--muted); }
.detail-list-row .time { font-family: var(--latin); font-size: 10px; color: var(--muted); }

/* ---------- player page ---------- */
.player-hero { background: var(--ink); color: var(--paper); padding: 136px 0 0; overflow: hidden; }
.player-hero-grid { display: grid; grid-template-columns: 260px 1fr auto; gap: 4vw; align-items: end; }
.player-photo { width: 220px; height: 260px; border: 1px solid rgba(242,239,228,.3); overflow: hidden; position: relative; background: var(--ink-2); }
.player-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8) contrast(1.04); }
.player-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(8,26,18,.5)); }
.player-name { font-family: var(--display); font-size: clamp(64px, 10vw, 142px); line-height: .82; letter-spacing: -.06em; margin: 14px 0 16px; }
.player-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.player-tags span { border: 1px solid rgba(242,239,228,.24); padding: 6px 10px; border-radius: 999px; font-size: 10px; color: rgba(242,239,228,.6); }
.player-hero-side { text-align: right; padding-bottom: 10px; }
.player-rank-big { font-family: var(--latin); font-size: clamp(76px, 10vw, 140px); line-height: .8; letter-spacing: -.08em; color: var(--acid); }
.player-hero-side .label { margin-top: 8px; font-size: 10px; color: rgba(242,239,228,.4); letter-spacing: .06em; }
.player-statbar { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(242,239,228,.16); margin-top: 46px; }
.player-statbar .cell { padding: 20px 0 24px; border-right: 1px solid rgba(242,239,228,.12); }
.player-statbar .cell:last-child { border-right: 0; }
.player-statbar b { display: block; font-family: var(--latin); font-size: 34px; font-weight: 500; letter-spacing: -.04em; }
.player-statbar span { display: block; margin-top: 6px; font-size: 9px; color: rgba(242,239,228,.38); }
.player-body { display: grid; grid-template-columns: 1.15fr .85fr; gap: 5vw; align-items: start; }
.panel { border: 1px solid var(--line); background: var(--chalk); padding: clamp(20px, 3vw, 32px); }
.panel-title { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 22px; }
.panel-title h3 { font-family: var(--display); font-size: 25px; letter-spacing: -.02em; }
.panel-title .tiny { font-family: var(--latin); font-size: 9px; color: var(--muted); letter-spacing: .08em; }
.radar-wrap { display: flex; justify-content: center; padding: 8px 0; }
.player-chart { width: 100%; height: auto; overflow: visible; }
.stats-rows { display: grid; gap: 0; }
.stats-row { display: flex; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.stats-row:last-child { border-bottom: 0; }
.stats-row span:first-child { color: var(--muted); }
.stats-row b { font-family: var(--latin); font-weight: 500; }
.tier-track { display: flex; align-items: center; gap: 5px; margin-top: 8px; }
.tier-track span { height: 5px; flex: 1; background: var(--paper-3); }
.tier-track span.on { background: var(--ink); }
.tier-track span.current { background: var(--acid-deep); }
.recent-list { border-top: 1px solid var(--line); }
.recent-row { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; align-items: center; }
.recent-row:hover .recent-title { color: var(--acid-deep); }
.recent-title { font-size: 13px; font-weight: 500; }
.recent-meta { margin-top: 4px; font-size: 10px; color: var(--muted); }
.recent-score { font-family: var(--latin); font-size: 13px; }
.badge-strip { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.badge-strip span { border: 1px solid var(--line); padding: 5px 9px; border-radius: 999px; font-size: 10px; color: var(--muted); }

/* ---------- players list ---------- */
.players-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.player-card { border: 1px solid var(--line); padding: 18px; text-decoration: none; background: var(--chalk); transition: .35s var(--ease); }
.player-card:hover { background: var(--ink); color: var(--paper); transform: translateY(-4px); }
.player-card-top { display: flex; align-items: center; gap: 12px; }
.player-card img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); }
.player-card .p-name { font-weight: 600; font-size: 15px; }
.player-card .p-meta { font-size: 10px; color: var(--muted); margin-top: 4px; }
.player-card:hover .p-meta { color: rgba(242,239,228,.5); }
.player-card-foot { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 22px; }
.player-card-foot .points { font-family: var(--latin); font-size: 24px; }
.player-card-foot .tier { font-family: var(--latin); font-size: 10px; opacity: .55; }

/* ---------- rules page ---------- */
.rules-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; }
.rule-lab { border: 1px solid var(--ink); background: var(--chalk); overflow: hidden; }
.lab-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.lab-head h3 { font-family: var(--latin); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.rule-version { display: flex; gap: 2px; border: 1px solid var(--line); padding: 2px; border-radius: 999px; }
.rule-version button { border: 0; background: transparent; padding: 6px 10px; border-radius: 999px; font-family: var(--latin); font-size: 9px; color: var(--muted); }
.rule-version button.active { background: var(--ink); color: var(--paper); }
.scoreboard { padding: 26px 22px 22px; }
.scoreboard-top { display: flex; justify-content: space-between; color: var(--muted); font-family: var(--latin); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.score-team { display: flex; align-items: center; justify-content: space-between; padding: 15px 0; border-bottom: 1px solid var(--line); }
.score-team:last-of-type { border-bottom: 0; }
.score-team .t-name { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 14px; }
.score-team .serve { width: 6px; height: 6px; border-radius: 50%; background: var(--acid-deep); }
.score-team .t-score { font-family: var(--latin); font-size: 48px; line-height: .8; letter-spacing: -.06em; }
.score-status { margin-top: 16px; padding: 12px; border: 1px dashed var(--line); font-size: 11px; color: var(--muted); text-align: center; }
.score-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.score-actions button { border: 1px solid var(--ink); background: transparent; height: 40px; font-size: 11px; font-weight: 600; transition: .25s; }
.score-actions button:hover { background: var(--ink); color: var(--paper); }
.score-actions .reset { grid-column: 1 / -1; border-color: var(--line); color: var(--muted); height: 32px; }
.lab-foot { padding: 13px 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; font-family: var(--latin); font-size: 9px; color: var(--muted); }
.court-wrap { border: 1px solid var(--line); background: var(--chalk); padding: 20px; }
.court-wrap h3 { font-family: var(--display); font-size: 24px; margin-bottom: 14px; }
.court-svg { width: 100%; height: auto; }
.court-caption { margin-top: 14px; font-size: 10px; color: var(--muted); line-height: 1.7; }
.rule-notes { display: grid; gap: 12px; margin-top: 14px; }
.rule-note { border: 1px solid var(--line); padding: 16px; background: var(--paper); }
.rule-note b { display: block; font-size: 12px; margin-bottom: 6px; }
.rule-note p { color: var(--muted); font-size: 11px; line-height: 1.7; }
.rule-accordion { border-top: 1px solid var(--ink); }
.rule-acc { border-bottom: 1px solid var(--line); }
.rule-acc button { width: 100%; border: 0; background: transparent; display: flex; justify-content: space-between; align-items: center; padding: 20px 0; text-align: left; font-size: 15px; font-weight: 500; }
.rule-acc button span:last-child { color: var(--muted); font-family: var(--latin); font-size: 18px; }
.rule-acc-body { padding: 0 0 22px; color: var(--muted); font-size: 13px; line-height: 1.85; max-width: 780px; }
.rule-acc-body ul { display: grid; gap: 8px; margin-top: 10px; }
.rule-acc-body li { padding-left: 14px; position: relative; }
.rule-acc-body li::before { content: '—'; position: absolute; left: 0; color: var(--acid-deep); }
.quiz-card { border: 1px solid var(--ink); padding: 24px; background: var(--acid); }
.quiz-card h3 { font-family: var(--display); font-size: 32px; line-height: 1; margin-bottom: 8px; }
.quiz-card .q { font-size: 13px; font-weight: 500; margin: 22px 0 12px; }
.quiz-options { display: grid; gap: 7px; }
.quiz-options button { border: 1px solid rgba(8,26,18,.25); background: rgba(251,248,238,.42); padding: 10px 12px; text-align: left; font-size: 12px; transition: .2s; }
.quiz-options button:hover { background: var(--chalk); }
.quiz-options button.correct { background: var(--ink); color: var(--acid); border-color: var(--ink); }
.quiz-options button.wrong { background: var(--orange); border-color: var(--orange); color: var(--chalk); }
.quiz-feedback { margin-top: 12px; font-size: 11px; line-height: 1.7; min-height: 20px; }

/* ---------- academy ---------- */
.academy-intro { display: grid; grid-template-columns: .8fr 1.2fr; gap: 5vw; align-items: end; margin-bottom: 52px; }
.academy-intro h2 { font-family: var(--display); font-size: clamp(46px, 6vw, 86px); line-height: .92; letter-spacing: -.04em; }
.academy-intro p { color: var(--muted); font-size: 14px; line-height: 1.9; max-width: 520px; }
.academy-progress { display: flex; align-items: center; gap: 14px; margin-top: 24px; font-family: var(--latin); font-size: 10px; color: var(--muted); }
.progress-bar { flex: 1; height: 4px; background: var(--paper-3); max-width: 260px; position: relative; }
.progress-bar i { position: absolute; inset: 0 auto 0 0; background: var(--ink); width: 0; transition: width .6s var(--ease); }
.module-list { border-top: 1px solid var(--ink); }
.module-row { display: grid; grid-template-columns: 70px 1.1fr 1.3fr 110px; gap: 24px; padding: 26px 4px; border-bottom: 1px solid var(--line); text-decoration: none; align-items: start; transition: background .3s, padding .3s; }
.module-row:hover { background: rgba(8,26,18,.035); padding-left: 14px; padding-right: 14px; }
.module-row .m-no { font-family: var(--latin); font-size: 11px; color: var(--muted); padding-top: 5px; }
.module-row h3 { font-family: var(--display); font-size: 30px; line-height: 1; letter-spacing: -.02em; }
.module-row .m-desc { font-size: 12px; color: var(--muted); line-height: 1.8; }
.module-row .m-meta { font-family: var(--latin); font-size: 9px; color: var(--muted); text-align: right; }
.module-row .m-arrow { display: inline-block; margin-top: 7px; opacity: .4; }
.lesson-layout { display: grid; grid-template-columns: 1.1fr .55fr; gap: 4vw; align-items: start; }
.lesson-body h2 { font-family: var(--display); font-size: clamp(42px, 5.6vw, 74px); line-height: .94; letter-spacing: -.04em; margin: 12px 0 24px; }
.lesson-body h3 { font-family: var(--display); font-size: 28px; margin: 32px 0 12px; }
.lesson-body p { color: var(--muted); font-size: 14px; line-height: 1.95; margin-bottom: 14px; max-width: 720px; }
.lesson-body li { color: var(--muted); font-size: 13px; line-height: 1.8; padding-left: 18px; position: relative; margin-bottom: 8px; }
.lesson-body li::before { content: '—'; position: absolute; left: 0; color: var(--acid-deep); }
.lesson-side { border: 1px solid var(--ink); background: var(--chalk); padding: 22px; position: sticky; top: 104px; }
.lesson-side h4 { font-family: var(--latin); font-size: 9px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 14px; }
.lesson-side .drill { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 0; margin: 16px 0; }
.lesson-side .drill b { display: block; font-size: 12px; margin-bottom: 7px; }
.lesson-side .drill p { font-size: 11px; color: var(--muted); line-height: 1.7; }
.check-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; font-size: 12px; color: var(--muted); cursor: pointer; }
.check-row input { accent-color: var(--ink); width: 15px; height: 15px; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5vw; align-items: center; }
.about-copy h2 { font-family: var(--display); font-size: clamp(50px, 6.5vw, 94px); line-height: .92; letter-spacing: -.04em; margin: 16px 0 24px; }
.about-copy p { color: var(--muted); font-size: 14px; line-height: 1.95; max-width: 520px; margin-bottom: 12px; }
.about-facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); margin-top: 28px; }
.about-facts .f { padding: 18px 12px 0 0; }
.about-facts b { display: block; font-family: var(--latin); font-size: 32px; font-weight: 500; }
.about-facts span { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; }
.about-poster { background: var(--ink); color: var(--paper); padding: 28px; min-height: 480px; position: relative; overflow: hidden; }
.about-poster::before { content: ''; position: absolute; width: 330px; height: 330px; border: 1px solid rgba(216,255,71,.25); border-radius: 50%; left: -100px; bottom: -100px; }
.about-poster .poster-title { font-family: var(--display); font-size: 84px; line-height: .82; letter-spacing: -.06em; position: relative; z-index: 1; margin-top: 80px; }
.about-poster .poster-sub { position: relative; z-index: 1; margin-top: 26px; color: rgba(242,239,228,.48); font-size: 12px; line-height: 1.8; max-width: 260px; }
.about-poster .poster-stat { position: absolute; bottom: 24px; right: 24px; text-align: right; z-index: 1; }
.about-poster .poster-stat b { display: block; font-family: var(--latin); font-size: 70px; line-height: .8; color: var(--acid); }
.about-poster .poster-stat span { font-size: 9px; color: rgba(242,239,228,.4); letter-spacing: .1em; }

/* ---------- misc states ---------- */
.loading-page { min-height: 70vh; display: grid; place-items: center; background: var(--ink); color: var(--paper); }
.loader { width: 46px; height: 46px; border: 1px solid rgba(242,239,228,.2); border-top-color: var(--acid); border-radius: 50%; animation: spin 1s linear infinite; }
.error-box { padding: 22px; border: 1px solid var(--line); background: var(--chalk); font-size: 12px; color: var(--muted); line-height: 1.8; }
.empty-state { border: 1px dashed var(--line); padding: 38px; text-align: center; color: var(--muted); font-size: 13px; }
.notfound { min-height: 78vh; background: var(--ink); color: var(--paper); display: grid; place-items: center; text-align: center; padding-top: 80px; }
.notfound h1 { font-family: var(--display); font-size: clamp(100px, 20vw, 280px); line-height: .7; color: var(--acid); letter-spacing: -.08em; }
.notfound p { color: rgba(242,239,228,.5); margin: 26px 0; }

/* ---------- animations ---------- */
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .55; transform: scale(.7); } }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes scrollline { 0% { transform: translateX(-100%); } 50% { transform: translateX(0); } 100% { transform: translateX(100%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-12px) rotate(1.5deg); } }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }

/* ---------- route transitions ---------- */
.page-enter-active, .page-leave-active { transition: opacity .35s var(--ease), transform .35s var(--ease); }
.page-enter-from { opacity: 0; transform: translateY(10px); }
.page-leave-to { opacity: 0; transform: translateY(-6px); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1.2fr .8fr; gap: 4vw; }
  .hero-title { font-size: clamp(68px, 12vw, 150px); }
  .podium-grid { grid-template-columns: 1fr 1fr; }
  .podium-card.first { grid-row: span 2; min-height: 100%; }
  .match-grid { grid-template-columns: 1fr 1fr; }
  .match-card:last-child:nth-child(odd) { grid-column: span 2; }
  .feature-grid, .mini-grid, .about-grid, .academy-intro { gap: 4vw; }
  .players-grid { grid-template-columns: repeat(3, 1fr); }
  .rank-row { grid-template-columns: 44px minmax(0, 1.5fr) 80px 84px 92px 30px; gap: 10px; }
  .rules-layout { grid-template-columns: 1fr; }
  .lesson-layout { grid-template-columns: 1fr; }
  .lesson-side { position: static; }
}
@media (max-width: 760px) {
  :root { --page-pad: 18px; }
  .header-inner { height: 68px; }
  .brand img { width: 100px; }
  .brand-mark { width: 28px; height: 28px; }
  .nav { display: none; }
  .header-mini { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .mobile-menu {
    display: block; position: fixed; inset: 68px 0 auto; z-index: 99;
    background: rgba(8,26,18,.97); backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(242,239,228,.14);
    padding: 18px var(--page-pad) 26px;
  }
  .mobile-menu a { display: block; color: var(--paper); text-decoration: none; font-family: var(--display); font-size: 32px; padding: 9px 0; border-bottom: 1px solid rgba(242,239,228,.1); }
  .hero { padding: 98px 0 50px; min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 38px; align-items: start; }
  .hero-title { font-size: clamp(54px, 15vw, 98px); padding-left: .02em; }
  .hero-sub { margin-top: 24px; font-size: 13px; }
  .hero-ctas { margin-top: 26px; }
  .hero-ctas .btn { height: 46px; padding: 0 18px; font-size: 12px; }
  .hero-side { max-width: 420px; }
  .hero-scroll { display: none; }
  .stat-band { grid-template-columns: 1fr 1fr; }
  .stat-cell:nth-child(2) { border-right: 0; }
  .stat-cell:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .stat-cell { padding: 22px 16px; }
  .section-head { display: block; }
  .section-intro { margin-top: 18px; max-width: none; }
  .manifesto-grid { grid-template-columns: 1fr; gap: 26px; }
  .manifesto-mark { font-size: 180px; text-align: right; margin-top: -10px; }
  .podium-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; padding-bottom: 8px; margin-right: calc(var(--page-pad) * -1); }
  .podium-card, .podium-card.first { min-width: 270px; min-height: 330px; scroll-snap-align: start; }
  .podium-card.first { min-height: 330px; }
  .podium-avatar, .podium-card.first .podium-avatar { width: 92px; height: 92px; }
  .rank-row { grid-template-columns: 35px minmax(0,1.4fr) 72px 54px 24px; padding: 12px 0; }
  .rank-row .rank-tier, .rank-row .rank-trend { display: none; }
  .rank-points { font-size: 17px; }
  .rank-player img { width: 31px; height: 31px; }
  .rank-player .name { font-size: 13px; }
  .match-grid { grid-template-columns: 1fr; }
  .match-card { min-height: 240px; }
  .match-card:last-child:nth-child(odd) { grid-column: auto; }
  .match-card h3 { font-size: 34px; }
  .feature-grid, .mini-grid, .about-grid { grid-template-columns: 1fr; }
  .feature-portrait { min-height: 330px; }
  .feature-portrait img { width: 62%; height: 62%; }
  .feature-content h2 { font-size: 58px; }
  .feature-radar { margin: 20px auto 0; }
  .mini-section { padding: 64px 0; }
  .mini-qr-wrap { width: 100%; max-width: 340px; justify-self: start; margin-top: 24px; }
  .two-col-grid { grid-template-columns: 1fr; }
  .feature-tile { min-height: 280px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-wrap: wrap; }
  .inner-hero { padding: 110px 0 44px; }
  .inner-title { font-size: clamp(46px, 15vw, 88px); padding-left: .03em; }
  .player-hero-grid { grid-template-columns: 120px 1fr; gap: 18px; }
  .player-photo { width: 120px; height: 150px; }
  .player-hero-side { grid-column: 1 / -1; text-align: left; display: flex; align-items: flex-end; gap: 14px; padding: 0 0 18px; }
  .player-rank-big { font-size: 60px; }
  .player-statbar { margin-top: 22px; grid-template-columns: repeat(2, 1fr); }
  .player-statbar .cell:nth-child(2) { border-right: 0; }
  .player-statbar .cell:nth-child(-n+2) { border-bottom: 1px solid rgba(242,239,228,.12); }
  .player-body { grid-template-columns: 1fr; }
  .players-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-side .side-avatar { width: 46px; height: 46px; }
  .detail-side .side-name { font-size: 28px; }
  .detail-score { gap: 8px; padding: 30px 0; }
  .games-grid { grid-template-columns: 1fr; }
  .detail-list-row { grid-template-columns: 38px minmax(0,1fr) 66px; }
  .detail-list-row .time { display: none; }
  .academy-intro { grid-template-columns: 1fr; margin-bottom: 28px; }
  .module-row { grid-template-columns: 40px 1fr; gap: 10px 14px; padding: 20px 0; }
  .module-row .m-desc, .module-row .m-meta { grid-column: 2; }
  .module-row .m-meta { text-align: left; margin-top: -5px; }
  .module-row .m-arrow { display: none; }
  .quiz-card { padding: 18px; }
  .scoreboard { padding: 18px; }
  .lab-head { padding: 14px 18px; }
  .lab-foot { padding: 11px 18px; }
  .about-poster { min-height: 380px; }
  .about-poster .poster-title { font-size: 62px; }
  .notfound h1 { font-size: 130px; }
}
@media (max-width: 420px) {
  .hero-title { font-size: 54px; }
  .hero-ctas .btn { width: 100%; }
  .podium-card, .podium-card.first { min-width: 245px; }
  .players-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .live-card { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- BWF world stage ---------- */
.bwf-hero .inner-title { max-width: 1000px; }
.bwf-toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 30px; }
.bwf-section-title { font-family: var(--display); font-size: clamp(42px, 5.6vw, 82px); line-height: .93; letter-spacing: -.04em; }
.bwf-toolbar-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.bwf-rank-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 14px; align-items: start; }
.bwf-podium { display: grid; gap: 10px; }
.bwf-podium-card { border: 1px solid var(--ink); padding: 22px; position: relative; overflow: hidden; min-height: 150px; }
.bwf-podium-card:nth-child(1) { background: var(--acid); }
.bwf-podium-card:nth-child(2) { background: var(--paper); }
.bwf-podium-card:nth-child(3) { background: var(--paper-2); }
.bwf-rank-no { position: absolute; right: 16px; top: 4px; font-family: var(--latin); font-size: 70px; line-height: 1; letter-spacing: -.08em; opacity: .14; }
.bwf-flag-wrap { display: flex; align-items: center; gap: 7px; font-size: 10px; color: var(--muted); }
.bwf-flag-wrap img { width: 20px; height: 14px; object-fit: cover; border: 1px solid var(--line); }
.bwf-name { font-family: var(--display); font-size: clamp(28px, 3vw, 40px); line-height: 1; letter-spacing: -.02em; margin-top: 15px; }
.bwf-points { font-family: var(--latin); font-size: 25px; letter-spacing: -.04em; margin-top: 9px; }
.bwf-points small { font-size: 9px; letter-spacing: .08em; color: var(--muted); }
.bwf-place { position: absolute; right: 18px; bottom: 14px; font-family: var(--latin); font-size: 8px; letter-spacing: .1em; color: var(--muted); }
.bwf-rank-table { border-top: 1px solid var(--ink); }
.bwf-rank-row { display: grid; grid-template-columns: 38px minmax(0,1fr) auto; gap: 12px; align-items: center; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.bwf-rank-row:hover { background: rgba(8,26,18,.035); padding-left: 10px; padding-right: 10px; }
.bwf-rank-pos { font-family: var(--latin); font-size: 10px; color: var(--muted); }
.bwf-rank-player { display: flex; align-items: center; gap: 9px; min-width: 0; font-size: 13px; font-weight: 500; }
.bwf-rank-player img { width: 22px; height: 15px; object-fit: cover; border: 1px solid var(--line); flex-shrink: 0; }
.bwf-rank-player small { font-size: 9px; color: var(--muted); font-weight: 400; }
.bwf-rank-points { font-family: var(--latin); font-size: 14px; letter-spacing: -.02em; }
.bwf-source-line { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 16px; color: var(--muted); font-size: 10px; line-height: 1.6; }
.bwf-source-live { display: inline-flex; align-items: center; gap: 6px; font-family: var(--latin); letter-spacing: .08em; }
.bwf-source-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted-2); }
.bwf-source-live.on { color: var(--acid-deep); }
.bwf-source-live.on i { background: var(--acid-deep); animation: pulse 1.8s infinite; }
.bwf-live-strip { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; border: 1px solid var(--ink); padding: 13px 16px; margin-bottom: 16px; background: var(--chalk); font-size: 11px; }
.bwf-live-strip b { font-weight: 600; }
.bwf-live-strip > span:nth-child(3) { color: var(--muted); }
.bwf-live-strip .arrow-link { margin-left: auto; font-size: 11px; }
.bwf-live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--acid-deep); animation: pulse 1.8s infinite; }
.bwf-event-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.bwf-event-card { border: 1px solid var(--ink); padding: 20px; background: var(--chalk); text-decoration: none; color: var(--ink); display: flex; flex-direction: column; min-height: 350px; transition: transform .4s var(--ease), background .4s var(--ease), color .4s var(--ease); }
.bwf-event-card:hover { background: var(--ink); color: var(--paper); transform: translateY(-4px); }
.bwf-event-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.bwf-tier { border: 1px solid var(--ink); padding: 4px 8px; border-radius: 999px; font-family: var(--latin); font-size: 8px; letter-spacing: .1em; }
.bwf-tier.tier-500 { background: var(--acid); }
.bwf-tier.tier-300 { background: var(--paper-2); }
.bwf-event-card:hover .bwf-tier { border-color: rgba(242,239,228,.4); color: var(--paper); }
.bwf-event-date { font-family: var(--latin); font-size: 9px; color: var(--muted); }
.bwf-event-card:hover .bwf-event-date { color: rgba(242,239,228,.46); }
.bwf-event-card h3 { font-family: var(--display); font-size: 31px; line-height: .98; letter-spacing: -.02em; margin: 22px 0 8px; }
.bwf-event-meta { display: flex; gap: 12px; font-size: 9px; color: var(--muted); }
.bwf-event-card:hover .bwf-event-meta { color: rgba(242,239,228,.46); }
.bwf-event-results { border-top: 1px solid var(--line); margin-top: 18px; }
.bwf-event-card:hover .bwf-event-results { border-color: rgba(242,239,228,.16); }
.bwf-result-row { display: grid; grid-template-columns: 36px minmax(0,1fr) auto; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 10px; align-items: center; }
.bwf-event-card:hover .bwf-result-row { border-color: rgba(242,239,228,.1); }
.bwf-result-time { font-family: var(--latin); color: var(--muted); }
.bwf-result-teams { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); }
.bwf-result-teams i { font-style: normal; opacity: .4; margin: 0 3px; }
.bwf-event-card:hover .bwf-result-time, .bwf-event-card:hover .bwf-result-teams { color: rgba(242,239,228,.46); }
.bwf-result-score { font-family: var(--latin); font-size: 12px; }
.bwf-event-foot { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 9px; margin-top: auto; padding-top: 18px; }
.bwf-event-card:hover .bwf-event-foot { color: var(--acid); }
.bwf-data-note { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; line-height: 1.8; }
.bwf-data-note a { text-decoration: underline; }
.bwf-official { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.bwf-official p { max-width: 460px; color: var(--muted); font-size: 14px; line-height: 1.9; margin-top: 20px; }
.bwf-official-actions { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 1080px) {
  .bwf-rank-layout { grid-template-columns: 1fr; }
  .bwf-podium { grid-template-columns: repeat(3, 1fr); }
  .bwf-podium-card { min-height: 160px; }
  .bwf-event-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .bwf-podium { grid-template-columns: 1fr; }
  .bwf-podium-card { min-height: 135px; }
  .bwf-rank-no { font-size: 56px; }
  .bwf-event-grid { grid-template-columns: 1fr; }
  .bwf-event-card { min-height: 320px; }
  .bwf-event-card h3 { font-size: 30px; }
  .bwf-toolbar { display: block; }
  .bwf-toolbar-actions { margin-top: 16px; justify-content: space-between; }
  .bwf-section-title { font-size: 44px; }
  .bwf-live-strip .arrow-link { margin-left: 0; width: 100%; }
  .bwf-official { display: block; }
  .bwf-official-actions { margin-top: 24px; }
}
