/* ─────────────────────────────────────────────────────────────
   부천FC 1995 패밀리 · 앱 대문 (Bucheon FC Family App Home)
   - 정적 HTML/CSS/JS 전용
   - 외부 CDN/폰트 의존 없음
   - 기준 해상도 390×844, 360px 폭까지 안전
   - iOS/Android WebView safe-area 대응
   ───────────────────────────────────────────────────────────── */

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--w-paper);
  color: var(--w-ink);
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior-y: contain;
}
body {
  min-height: 100vh;
  min-height: 100dvh;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
  background: var(--w-paper);
  font-family:
    -apple-system, BlinkMacSystemFont,
    "Apple SD Gothic Neo", "Pretendard Variable", Pretendard,
    "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; padding: 0; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }

/* ─── Tokens ─── */
:root {
  --w-red:      #AF231C;
  --w-red-deep: #97201A;
  --w-red-ink:  #5E120C;
  --w-red-soft: #F7E4E2;
  --w-espresso: #121111;
  --w-black:    #121111;
  --w-heritage: #5BD3E4;
  --w-heritage-deep: #0C2128;
  --w-sat:      #2A6FDB;
  --w-cyan:     #15808F;
  --w-cyan-soft:#D5EEF1;
  --w-bone:     #F3EDDF;
  --w-paper:    #FAFAF6;
  --w-ink:      #14100E;
  --w-mute:     #6B5D52;
  --w-rule:     #E8E4DA;
  --w-card:     #FFFFFF;

  --native-safe-top: 0px;
  --native-safe-bottom: 0px;
  --safe-top: max(env(safe-area-inset-top, 0px), var(--native-safe-top));
  --safe-bottom: max(env(safe-area-inset-bottom, 0px), var(--native-safe-bottom), 8px);

  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --tile-radius: 22px;
  --tile-shadow: 0 1px 0 rgba(0,0,0,0.04), 0 12px 24px -16px rgba(28,18,14,0.18);
}

/* ─── Initial loading splash ─── */
.splash {
  position: fixed;
  inset: 0;
  min-height: 100vh;
  min-height: 100dvh;
  z-index: 100;
  background:
    radial-gradient(58% 42% at 50% 38%, rgba(255,255,255,0.14), transparent 62%),
    linear-gradient(180deg, #AF231C 0%, #A71F18 22%, #931C15 62%, #7E170F 100%);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: opacity 320ms cubic-bezier(.4,0,.2,1), transform 320ms cubic-bezier(.4,0,.2,1);
}
html:not([data-home-splash-seen="1"]):not([data-internal-transition]) #splash[aria-hidden="false"] + .wapp {
  background: var(--w-red);
}
html:not([data-home-splash-seen="1"]):not([data-internal-transition]) body:has(> #splash[aria-hidden="false"]) {
  background: var(--w-red);
}
.splash[aria-hidden="true"] {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateZ(0);
  transition: opacity 320ms cubic-bezier(.4,0,.2,1), transform 320ms cubic-bezier(.4,0,.2,1), visibility 0s linear 320ms;
}
.splash__grain {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(0deg, rgba(255,255,255,0.022) 0 1px, transparent 1px 3px);
  mix-blend-mode: overlay;
  opacity: 0.55;
  pointer-events: none;
  z-index: 4;
}
.splash__veil {
  position: absolute;
  inset: 0;
  background: radial-gradient(62% 52% at 50% 50%, transparent 0%, rgba(110,21,14,0.42) 100%);
  z-index: 3;
  pointer-events: none;
}
.splash__row {
  position: absolute;
  left: 0;
  right: 0;
  display: flex;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}
.splash__row span {
  font-weight: 900;
  font-style: italic;
  font-size: 180px;
  line-height: 0.75;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1.6px rgba(255,255,255,0.28);
  padding-right: 38px;
  flex-shrink: 0;
}
.splash__row--top { top: 10%; animation: marqueeL 14s linear infinite; }
.splash__row--mid { top: 40%; animation: marqueeR 22s linear infinite; }
.splash__row--mid span {
  font-size: 230px;
  -webkit-text-stroke: 2px rgba(255,255,255,0.10);
}
.splash__row--bot { bottom: 8%; animation: marqueeL 18s linear infinite; }
.splash__row--bot span {
  font-size: 150px;
  -webkit-text-stroke: 1.3px rgba(255,255,255,0.22);
}
@keyframes marqueeL {
  from { transform: translate3d(0,0,0); }
  to { transform: translate3d(-50%,0,0); }
}
@keyframes marqueeR {
  from { transform: translate3d(-50%,0,0); }
  to { transform: translate3d(0,0,0); }
}
.splash__center {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 0 24px;
}
.splash__emblem {
  width: 142px;
  height: 92px;
  object-fit: contain;
  filter: drop-shadow(0 12px 30px rgba(0,0,0,0.45)) drop-shadow(0 2px 0 rgba(0,0,0,0.25));
  animation: emblemPulse 2.4s ease-in-out infinite;
}
@keyframes emblemPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}
.splash__title {
  margin: 4px 0 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
  white-space: nowrap;
  text-shadow: 0 1px 0 rgba(0,0,0,0.25);
}
.splash__sub {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.20em;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  white-space: nowrap;
}
.splash__dots {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}
.splash__dots span {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #fff;
  opacity: 0.4;
  animation: dotPulse 1.1s ease-in-out infinite;
}
.splash__dots span:nth-child(2) { animation-delay: 0.16s; }
.splash__dots span:nth-child(3) { animation-delay: 0.32s; }
@keyframes dotPulse {
  0%, 100% { opacity: 0.35; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.15); }
}
.splash__foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(var(--safe-bottom) + 32px);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
}
.splash__foot::before,
.splash__foot::after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 1px;
  vertical-align: middle;
  background: rgba(255,255,255,0.34);
}
/* ─── Shell ─── */
.wapp {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  height: 100vh;
  height: 100dvh;
  display: flex; flex-direction: column;
  background: var(--w-paper);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.wapp__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(70% 50% at 100% 0%, rgba(175,35,28,0.06), transparent 60%),
    radial-gradient(60% 40% at 0% 100%, rgba(21,128,143,0.05), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
body[data-page],
body[data-page] * {
  -webkit-user-select: none !important;
  user-select: none !important;
  -webkit-touch-callout: none !important;
}
body[data-page] input,
body[data-page] textarea,
body[data-page] select,
body[data-page] [contenteditable],
body[data-page] [contenteditable="true"],
body[data-page] .selectable,
body[data-page] .selectable *,
body[data-page] .wappdialog__code-value {
  -webkit-user-select: text !important;
  user-select: text !important;
  -webkit-touch-callout: default !important;
}
.wtop,
.wgreet,
.wbody,
.wdock {
  transition: opacity 180ms ease, transform 180ms ease;
}
.wapp.is-booting .wtop,
.wapp.is-booting .wgreet,
.wapp.is-booting .wbody,
.wapp.is-booting .wdock {
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
}
.wapp.is-ready .wtop,
.wapp.is-ready .wgreet,
.wapp.is-ready .wbody,
.wapp.is-ready .wdock {
  opacity: 1;
  transform: translateY(0);
}
.wpull {
  position: absolute;
  top: calc(var(--safe-top) + 6px);
  left: 50%;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(20,16,14,0.86);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(20,16,14,0.20);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -46px) scale(0.96);
  transition: opacity 160ms ease, transform 160ms ease;
}
.wpull__spinner {
  width: 13px;
  height: 13px;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,0.42);
  border-top-color: #fff;
}
.wapp.is-pulling .wpull,
.wapp.is-refreshing .wpull {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}
.wapp.is-pull-ready .wpull {
  background: var(--w-red);
}
.wapp.is-refreshing .wpull__spinner {
  animation: w-spin 680ms linear infinite;
}
.wapp.is-pulling .wtop,
.wapp.is-pulling .wgreet,
.wapp.is-pulling .wbody {
  transform: translateY(var(--pull-distance, 0px));
  transition: none; /* 당기는 동안 손가락 1:1 추적 (브라우저 PTR처럼) */
}
.wapp.is-refreshing .wtop,
.wapp.is-refreshing .wgreet,
.wapp.is-refreshing .wbody {
  transform: translateY(var(--pull-distance, 0px));
  transition: transform 240ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
@keyframes w-spin {
  to { transform: rotate(360deg); }
}

/* ─── Top bar ─── */
.wtop {
  position: relative; z-index: 5;
  padding: calc(var(--safe-top) + 4px) 18px 6px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
}
.wtop__brand {
  display: flex; align-items: center; gap: 10px;
  min-width: 0;
}
.wtop__home-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}
.wtop__shield {
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.wtop__shield img { width: 100%; height: 100%; object-fit: contain; }
.wtop__name {
  font-size: 13px; font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--w-ink);
  line-height: 1.15;
  min-width: 0;
}
.wtop__name small {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px; font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--w-mute);
  margin-top: 2px;
  text-transform: uppercase;
}
.wtop__right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.wbtn {
  width: 36px; height: 36px;
  border-radius: 999px;
  background: var(--w-card);
  border: 1px solid var(--w-rule);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--w-ink);
  position: relative;
  box-shadow: 0 1px 0 rgba(0,0,0,0.02);
}
.wbtn--settings {
  width: 36px;
  min-width: 36px;
  padding: 0;
}
.wbtn--settings svg {
  flex-shrink: 0;
}
.wbtn--page-close {
  position: fixed;
  top: calc(var(--safe-top) + 8px);
  right: 18px;
  z-index: 45;
}
.wbtn--back:active {
  transform: translateX(-1px) scale(0.98);
}
.wbtn .dot {
  position: absolute; top: 7px; right: 7px;
  width: 7px; height: 7px; border-radius: 999px;
  background: var(--w-red);
  box-shadow: 0 0 0 2px var(--w-paper);
}
.wbtn .dot.is-hidden { display: none; }

/* ─── Greeting ─── */
.wgreet {
  padding: 10px 18px 6px;
  position: relative; z-index: 4;
}
.wgreet__eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--w-mute);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.wgreet__eyebrow .pulse {
  width: 7px; height: 7px; border-radius: 999px;
  background: var(--w-red);
  box-shadow: 0 0 0 3px rgba(175,35,28,0.18);
  animation: w-pulse 2s ease-in-out infinite;
}
@keyframes w-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(175,35,28,0.18); }
  50%      { box-shadow: 0 0 0 6px rgba(175,35,28,0.08); }
}
.wgreet__title {
  margin: 0;
  font-size: 26px; font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--w-ink);
  text-wrap: balance;
  word-break: keep-all;
}
.wgreet__title em {
  font-style: normal;
  color: var(--w-red);
}

/* ─── Body / scroll ─── */
.wbody {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior-y: contain; /* 당기기 새로고침과 겹치는 네이티브 바운스 억제 */
  position: relative; z-index: 4;
  padding: 8px 14px calc(var(--safe-bottom) + 90px);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.wbody[tabindex="-1"]:focus {
  outline: none;
}
.wbody::-webkit-scrollbar { display: none; }

/* ─── Section labels ─── */
.wsec {
  padding: 16px 4px 8px;
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 8px;
}
.wsec h3 {
  margin: 0;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.20em;
  color: var(--w-mute);
  text-transform: uppercase;
}
.wsec .count {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--w-mute);
}
.wsec .more {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--w-mute);
  text-decoration: none;
}

/* ─── Widget grid ─── */
.wgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.wtile {
  background: var(--w-card);
  border-radius: var(--tile-radius);
  border: 1px solid var(--w-rule);
  padding: 14px;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  box-shadow: var(--tile-shadow);
  display: flex; flex-direction: column;
  min-width: 0;
}
.wtile__kicker {
  font-family: var(--font-mono);
  font-size: 9.5px; font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--w-mute);
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 6px;
}
.wtile__kicker .glyph {
  width: 14px; height: 14px;
  display: inline-flex; align-items: center; justify-content: center;
}

/* ─── Match widget (display only, no link) ─── */
.wmatch {
  background: linear-gradient(168deg, var(--w-red-deep) 0%, var(--w-red) 55%, var(--w-red-ink) 100%);
  color: #fff;
  border: none;
  padding: 16px 18px 18px;
  min-height: 188px;
  margin-top: 4px;
}
.wmatch::before {
  content: "1995";
  position: absolute;
  right: -18px; bottom: -32px;
  font-weight: 900; font-style: italic;
  font-size: 150px;
  line-height: 0.78;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.18);
  z-index: 0;
  pointer-events: none;
}
.wmatch__head {
  display: flex; align-items: center; justify-content: space-between;
  position: relative; z-index: 1;
  gap: 8px;
}
.wmatch__league {
  font-family: var(--font-mono);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
}
.wmatch__chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 9px 4px 8px;
  background: rgba(0,0,0,0.32);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.10em;
  color: #fff;
  white-space: nowrap;
}
.wmatch__chip .pulse {
  width: 6px; height: 6px; border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 8px rgba(255,255,255,0.9);
}
.wmatch__teams {
  margin-top: 14px;
  display: flex; align-items: center; gap: 14px;
  position: relative; z-index: 1;
}
.wmatch__crest {
  width: 56px; height: 56px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.wmatch__crest img {
  width: 100%; height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.4));
}
.wmatch__vsblock {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column;
  gap: 4px;
}
.wmatch__vsblock .home {
  font-size: 23px; font-weight: 900;
  letter-spacing: -0.025em;
  color: #fff;
  line-height: 1.1;
}
.wmatch__vsblock .vs {
  font-family: var(--font-mono);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.65);
  margin: 4px 0;
}
.wmatch__vsblock .away {
  font-size: 15px; font-weight: 700;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,0.82);
  line-height: 1.1;
}
.wmatch__foot {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed rgba(255,255,255,0.22);
  display: flex; align-items: center; justify-content: space-between;
  position: relative; z-index: 1;
  gap: 10px;
}
.wmatch__when {
  display: flex; flex-direction: column; gap: 2px;
  min-width: 0;
}
.wmatch__when b {
  font-size: 13.5px; font-weight: 800;
  letter-spacing: -0.018em;
}
.wmatch__when small {
  font-size: 11px; font-weight: 500;
  color: rgba(255,255,255,0.7);
}
.wticket {
  flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 3px;
  padding: 9px 11px 9px 14px;
  background: #fff;
  color: #161311;
  border-radius: 999px;
  font-size: 13px; font-weight: 800;
  letter-spacing: -0.01em;
  white-space: nowrap;
  text-decoration: none;
  box-shadow: 0 4px 13px rgba(0,0,0,0.22);
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.wticket:active {
  transform: scale(0.96);
  box-shadow: 0 2px 7px rgba(0,0,0,0.2);
}
.wticket__chev {
  display: inline-flex;
  color: rgba(22,19,17,0.55);
  margin-right: -1px;
}

/* ─── Stat widgets ─── */
.wstat {
  min-height: 100px;
  justify-content: space-between;
}
.wstat__big {
  margin-top: 6px;
  font-size: 32px; font-weight: 900;
  letter-spacing: -0.035em;
  color: var(--w-ink);
  line-height: 1;
  display: flex; align-items: baseline; gap: 4px;
}
.wstat__big sub {
  font-size: 12px; font-weight: 700;
  color: var(--w-mute);
  bottom: 0;
}
.wstat__sub {
  margin-top: 6px;
  font-size: 11px; font-weight: 500;
  color: var(--w-mute);
  line-height: 1.4;
}
.wstat--red {
  background: var(--w-red);
  color: #fff;
}
.wstat--red .wtile__kicker { color: rgba(255,255,255,0.78); }
.wstat--red .wstat__big { color: #fff; }
.wstat--red .wstat__big sub { color: rgba(255,255,255,0.7); }
.wstat--red .wstat__sub { color: rgba(255,255,255,0.78); }
.wstat--bone {
  background: var(--w-bone);
  border-color: #E0D5BF;
}

/* ─── Family sites tiles ─── */
.wdest {
  position: relative;
  min-height: 140px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--w-rule);
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(175,35,28,0.14);
}
.wdest__art,
.wdest__body {
  pointer-events: none;
}
.wdest:not(.wdest--wide) {
  aspect-ratio: 1 / 1;
  min-height: 0;
}
.wdest:not(.wdest--wide) .wdest__art {
  flex: 1;
  height: auto;
  min-height: 0;
}
.wdest__art {
  height: 78px;
  position: relative;
  overflow: hidden;
  background-color: #1a0a0e;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.wdest__art img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.wdest--hermes .wdest__art img {
  width: 64%; height: auto;
  object-fit: contain;
}
.wdest__body { padding: 12px 14px 14px; }
.wdest__kicker {
  font-family: var(--font-mono);
  font-size: 9.5px; font-weight: 700;
  letter-spacing: 0.10em;
  color: var(--w-mute);
  text-transform: uppercase;
  display: flex; align-items: center; gap: 6px;
}
.wdest__kicker .dot {
  width: 5px; height: 5px; border-radius: 999px;
  background: currentColor;
  flex-shrink: 0;
}
.wdest--hermes .wdest__kicker  { color: var(--w-red-deep); }
.wdest--reds .wdest__kicker    { color: var(--w-red-deep); }
.wdest--history .wdest__kicker { color: var(--w-cyan); }
.wdest__title {
  margin-top: 6px;
  font-size: 15px; font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--w-ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.wdest__caption {
  margin-top: 3px;
  font-size: 11px;
  color: var(--w-mute);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.wdest--wide {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  min-height: 96px;
}
.wdest--wide .wdest__art {
  width: 120px;
  height: auto;
  flex-shrink: 0;
}
.wdest--wide .wdest__body {
  flex: 1;
  padding: 12px 14px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ─── Home parking CTA ─── */
.wparking {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  padding: 12px 14px;
  background: var(--w-espresso);
  color: #fff;
  border-radius: 16px;
  text-decoration: none;
  box-shadow: var(--tile-shadow);
}
.wparking__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,0.10);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}
.wparking__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.wparking__label {
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: -0.018em;
  color: #fff;
}
.wparking__sub {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wparking__chev {
  color: rgba(255,255,255,0.6);
  flex-shrink: 0;
  display: inline-flex;
}

.wmatch-combo {
  margin-top: 4px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--tile-shadow);
}
.wmatch-combo .wmatch {
  border-radius: 22px 22px 0 0;
  margin-top: 0;
  box-shadow: none;
}
.wmatch-combo .wparking {
  margin-top: 0;
  border-radius: 0 0 22px 22px;
  box-shadow: none;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.wmatch-combo .wh2h {
  border-radius: 0 0 22px 22px;
}
body[data-page="home"] .wmatch::before {
  right: -4px;
  bottom: -26px;
  font-size: 96px;
  -webkit-text-stroke-width: 1.2px;
}
body[data-page="match"] [data-mount="match-hero"] .wmatch:not(.wlive-hero) .wmatch__teams {
  margin-top: 15px;
}
body[data-page="match"] [data-mount="match-hero"] .wmatch:not(.wlive-hero) .wmatch__vsblock .home {
  font-size: 30px;
  letter-spacing: -0.035em;
  line-height: 1;
}
body[data-page="match"] [data-mount="match-hero"] .wmatch:not(.wlive-hero) .wmatch__vsblock .away {
  font-size: 19px;
  font-weight: 800;
}
body[data-page="match"] [data-mount="match-hero"] .wmatch:not(.wlive-hero) .wmatch__vsblock .vs {
  font-size: 12px;
  margin: 5px 0;
}
body[data-page="match"] [data-mount="match-hero"] .wmatch:not(.wlive-hero) .wmatch__when b {
  font-size: 17px;
}
.wh2h {
  background: var(--w-espresso);
  color: rgba(255,255,255,0.92);
  padding: 15px 17px 17px;
  border-top: 1px solid rgba(255,255,255,0.10);
}
.wh2h__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.wh2h__title {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.62);
  min-width: 0;
}
.wh2h__title small {
  font-family: inherit;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(255,255,255,0.66);
}
.wh2h__vs {
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.70);
}
.wh2h__vs b {
  color: #fff;
  font-weight: 800;
}
.wh2h__grid {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 13px;
}
.wh2h__total {
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: center;
  padding-right: 14px;
  border-right: 1px solid rgba(255,255,255,0.10);
  flex-shrink: 0;
}
.wh2h__total-num {
  font-size: 30px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1;
}
.wh2h__total-lab {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.50);
}
.wh2h__wdl {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.wh2h__cell {
  border-radius: 13px;
  padding: 11px 4px 9px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: rgba(255,255,255,0.08);
}
.wh2h__cell b {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
  color: #fff;
}
.wh2h__cell span {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.62);
}
.wh2h__cell--w {
  background: var(--w-red);
}
.wh2h__cell--w b {
  color: #fff;
}
.wh2h__cell--w span {
  color: rgba(255,255,255,0.82);
}
.wh2h__cell--d {
  background: #2A2828;
}
.wh2h__cell--l {
  background: transparent;
  border: 1px dashed rgba(255,255,255,0.24);
}
.wh2h__cell--l b {
  color: rgba(255,255,255,0.78);
}
.wh2h__recent {
  margin-top: 15px;
}
.wh2h__recent-lab {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.50);
}
.wh2h__dots {
  display: flex;
  gap: 7px;
  margin-top: 8px;
}
.rdot {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.rdot .pill {
  width: 100%;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
}
.rdot--w .pill {
  background: var(--w-red);
  color: #fff;
}
.rdot--d .pill {
  background: #C9A24A;
  color: #1A1310;
}
.rdot--l .pill {
  background: transparent;
  border: 1px dashed rgba(255,255,255,0.26);
  color: rgba(255,255,255,0.66);
}
.rdot small {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: rgba(255,255,255,0.50);
  letter-spacing: 0.02em;
}
/* ─── Home fan site list ─── */
.wfan {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--w-card);
  border: 1px solid var(--w-rule);
  border-radius: 16px;
  margin-bottom: 8px;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--tile-shadow);
}
.wfanempty {
  padding: 14px 16px;
  background: rgba(255,255,255,0.58);
  border: 1px dashed #D8D0C2;
  border-radius: 16px;
  color: var(--w-mute);
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
  word-break: keep-all;
}
.wfan__badge {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
  background: var(--w-mute);
}
.wfan[data-platform="instagram"] .wfan__badge { background: linear-gradient(135deg, #FA7E1E 0%, #D62976 50%, #962FBF 100%); }
.wfan[data-platform="youtube"] .wfan__badge { background: #FF0000; }
.wfan[data-platform="kakao_openchat"] .wfan__badge { color: #3A1D1D; background: #FEE500; }
.wfan[data-platform="twitter"] .wfan__badge,
.wfan[data-platform="threads"] .wfan__badge,
.wfan[data-platform="tiktok"] .wfan__badge { background: #14100E; }
.wfan[data-platform="blog"] .wfan__badge { background: #5B6E59; }
.wfan__badge--image,
.wfan[data-platform] .wfan__badge--image {
  padding: 0;
  background: #fff;
  border: 1px solid rgba(20,16,14,0.12);
  overflow: hidden;
}
.wfan__badge--image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 9px;
}
.wfan__badge--platform,
.wfan[data-platform] .wfan__badge--platform {
  padding: 0;
  background: transparent;
  border-color: transparent;
}
.wfan__badge--platform img {
  object-fit: contain;
  border-radius: 10px;
}
.wfan__body { flex: 1; min-width: 0; }
.wfan__name {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.018em;
  color: var(--w-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wfan__caption {
  margin-top: 3px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--w-mute);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wfan__platform {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--w-ink);
}
.wfan[data-platform="instagram"] .wfan__platform { color: #D62976; }
.wfan[data-platform="youtube"] .wfan__platform { color: #AF231C; }
.wfan[data-platform="kakao_openchat"] .wfan__platform { color: #3A1D1D; }
.wfan__sep { color: rgba(0,0,0,0.18); }
.wfan__chev {
  color: rgba(0,0,0,0.32);
  flex-shrink: 0;
  display: inline-flex;
}
.wfan-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  background: transparent;
  border: 1px dashed var(--w-rule);
  border-radius: 14px;
  margin-bottom: 8px;
  text-decoration: none;
  color: var(--w-mute);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}
.wfan-more:hover { color: var(--w-ink); border-color: var(--w-mute); }
.wpanel__body .wfan-more {
  margin: 4px 10px 6px;
  background: transparent;
}

/* ─── Home fan site application CTA ─── */
.wapply {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 14px;
  padding: 18px;
  background: var(--w-card);
  border: 2px dashed var(--w-red);
  border-radius: 18px;
  text-decoration: none;
  color: inherit;
}
.wapply__eyebrow {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--w-red);
  text-transform: uppercase;
}
.wapply__title {
  margin-top: 4px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.022em;
  line-height: 1.3;
  color: var(--w-ink);
  word-break: keep-all;
}
.wapply__sub {
  margin-top: 4px;
  font-size: 12px;
  color: var(--w-mute);
  line-height: 1.5;
  word-break: keep-all;
}
.wapply__btn {
  margin-top: 12px;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px 8px 16px;
  background: var(--w-red);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: -0.005em;
  border-radius: 999px;
}

/* ─── Fan site application form ─── */
.wapply-head {
  padding: 4px 4px 12px;
}
.wapply-head__sub {
  margin: 0;
  font-size: 13px;
  color: var(--w-mute);
  line-height: 1.55;
  word-break: keep-all;
}
.winfo {
  margin: 0 0 14px;
  padding: 12px 14px;
  border: 1px solid rgba(175,35,28,0.14);
  border-radius: 14px;
  background: rgba(255,255,255,0.62);
  color: var(--w-mute);
  font-size: 11.5px;
  line-height: 1.55;
  word-break: keep-all;
}
.wform {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.wform__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.wform__label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--w-mute);
  text-transform: uppercase;
}
.wform__label .req {
  color: var(--w-red);
  margin-left: 2px;
}
.wform__fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.wform__choices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(138px, 1fr));
  gap: 8px;
}
.wform-choice {
  position: relative;
  min-width: 0;
}
.wform-choice input {
  position: absolute;
  inset: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.wform-choice span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--w-rule);
  border-radius: 12px;
  background: var(--w-card);
  color: var(--w-ink);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.25;
  letter-spacing: 0;
  text-align: center;
  word-break: keep-all;
  box-sizing: border-box;
}
.wform-choice input:checked + span {
  border-color: rgba(175,35,28,0.58);
  background: rgba(175,35,28,0.10);
  color: var(--w-red-deep);
  box-shadow: 0 0 0 3px rgba(175,35,28,0.10);
}
.wform-choice input:focus-visible + span {
  outline: 2px solid rgba(175,35,28,0.42);
  outline-offset: 2px;
}
.wform__input,
.wform__select,
.wform__textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--w-card);
  border: 1px solid var(--w-rule);
  border-radius: 12px;
  font: inherit;
  font-size: 14px;
  color: var(--w-ink);
  letter-spacing: -0.01em;
  -webkit-appearance: none;
  appearance: none;
}
.wform__textarea {
  min-height: 96px;
  resize: vertical;
  line-height: 1.5;
}
.wform__select {
  background-image:
    linear-gradient(45deg, transparent 50%, var(--w-mute) 50%),
    linear-gradient(135deg, var(--w-mute) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 36px;
}
.wform__input-row {
  display: flex;
  align-items: stretch;
  gap: 8px;
  min-width: 0;
}
.wform__input-row .wform__input {
  flex: 1 1 auto;
  min-width: 0;
}
.wform__input-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}
.wform__input-actions--single {
  grid-template-columns: 1fr;
}
.wform__paste,
.wform__clear {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid rgba(175,35,28,0.22);
  border-radius: 12px;
  background: #fff;
  color: var(--w-red);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  white-space: normal;
  word-break: keep-all;
  cursor: pointer;
}
.wform__clear {
  border-color: rgba(20,16,14,0.14);
  color: var(--w-mute);
}
.wform__paste:disabled,
.wform__clear:disabled {
  opacity: 0.56;
  cursor: wait;
}
.wform__input:focus,
.wform__select:focus,
.wform__textarea:focus {
  outline: none;
  border-color: var(--w-red);
  box-shadow: 0 0 0 3px rgba(175,35,28,0.12);
}
.wform__hint {
  font-size: 11px;
  color: var(--w-mute);
  line-height: 1.4;
}
.wform__consent {
  min-width: 0;
  margin: 4px 0 0;
  padding: 14px 16px;
  border: 1px solid rgba(175,35,28,0.16);
  border-radius: 14px;
  background: rgba(255,255,255,0.55);
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.wform__consent-title {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--w-mute);
  text-transform: uppercase;
  padding: 0;
}
.wform__consent-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 44px;
  padding: 5px 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--w-ink);
  word-break: keep-all;
  cursor: pointer;
}
.wform__consent-item:focus-within {
  outline: 2px solid rgba(175,35,28,0.32);
  outline-offset: 3px;
  border-radius: 8px;
}
.wform__consent-item input[type="checkbox"] {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--w-red);
}
.wform__consent-note {
  margin: 2px 0 0;
  font-size: 11px;
  line-height: 1.5;
  color: var(--w-mute);
  word-break: keep-all;
}
.wform__consent-note a {
  color: var(--w-red);
  text-decoration: none;
  font-weight: 600;
}
.wform__submit {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 18px;
  background: var(--w-red);
  color: #fff;
  border: none;
  border-radius: 14px;
  font: inherit;
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: -0.012em;
  cursor: pointer;
}
.wform__submit:hover { background: var(--w-red-deep); }
.wform__cancel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  padding: 12px 18px;
  background: transparent;
  color: var(--w-mute);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.005em;
}
.wform__manage-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  padding: 8px 18px;
  color: var(--w-mute);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 600;
}
.wpanel__manage {
  display: block;
  margin: 0 10px;
  padding: 2px 6px 12px;
  text-align: center;
  color: var(--w-red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.wpanel__manage:active { color: var(--w-red-deep); }
.wform__file-row {
  display: flex;
  align-items: stretch;
  gap: 8px;
}
.wform__file-pick {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
}
.wform__file-input {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.wform__file {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  height: 100%;
  padding: 12px;
  background: var(--w-card);
  border: 1px dashed #D8D0C2;
  border-radius: 14px;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
}
.wform__file:hover {
  border-color: var(--w-red);
  background: #fff;
}
.wform__file-input:focus + .wform__file {
  border-color: var(--w-red);
  box-shadow: 0 0 0 3px rgba(175,35,28,0.12);
}
.wform__file:focus-visible {
  outline: none;
  border-color: var(--w-red);
  box-shadow: 0 0 0 3px rgba(175,35,28,0.12);
}
.wform__file-preview {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--w-bone);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.wform__file-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wform__file-placeholder {
  font-size: 26px;
  font-weight: 300;
  color: var(--w-mute);
}
.wform__file-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.wform__file-name {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--w-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wform__file--has .wform__file-name { color: var(--w-red-deep); }
.wform__file-hint {
  font-size: 11px;
  color: var(--w-mute);
  line-height: 1.35;
}
.wform__file-clear {
  display: none;
  align-self: center;
  padding: 6px 8px;
  border-radius: 8px;
  background: var(--w-bone);
  color: var(--w-mute);
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}
.wform__file--has + .wform__file-clear { display: inline-block; }

.wpanel {
  margin-top: 14px;
  background: var(--w-card);
  border: 1px solid var(--w-rule);
  border-radius: 22px;
  padding: 4px 0;
  box-shadow: var(--tile-shadow);
  overflow: hidden;
}
.wpanel--official {
  background: var(--w-card);
  border-color: var(--w-rule);
  margin-top: 12px;
}
.wpanel--official .wpanel__eyebrow { color: var(--w-red-deep); }
.wpanel--official .wpanel__title { color: var(--w-ink); }
.wpanel--official .wpanel__sub { color: var(--w-mute); }
.wpanel--official .wpanel__count { color: var(--w-mute); }
.wpanel--official .wpanel__body { padding: 0 12px 14px; }
.wpanel--official .wpanel__body .wgrid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 10px;
  margin: 0;
}
.wpanel--official .wpanel__body .wdest {
  box-shadow: 0 1px 0 rgba(0,0,0,0.04), 0 8px 16px -12px rgba(28,18,14,0.16);
}
.wpanel--official .wpanel__body .wdest__art { height: auto; }
.wpanel--official .wpanel__body .wdest__body { padding: 10px 10px 11px; }
.wpanel--official .wpanel__body .wdest__title { font-size: 13px; }
.wpanel--official .wpanel__body .wdest__caption { font-size: 10px; }
.wpanel--official .wpanel__body .wdest__kicker { font-size: 8.5px; }
.wpanel--official .wpanel__body [data-mount="stats"] { margin-top: -1px; }
.wpanel--official .wpanel__body .wdest--history {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  box-shadow: none;
}
.wpanel--official .wpanel__body .wsince {
  margin-top: 0;
  border: 1px solid var(--w-rule);
  border-top: 0;
  border-radius: 0 0 18px 18px;
  overflow: hidden;
  clip-path: inset(0 round 0 0 18px 18px);
}
.wpanel__head {
  padding: 16px 18px 10px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.wpanel__title-block { min-width: 0; }
.wpanel__eyebrow {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--w-red);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.wpanel__eyebrow::before {
  content: "";
  width: 14px;
  height: 1.5px;
  background: var(--w-red);
  display: inline-block;
}
.wpanel__title {
  margin: 4px 0 0;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.022em;
  color: var(--w-ink);
  line-height: 1.25;
  word-break: keep-all;
}
.wpanel__sub {
  margin: 4px 0 0;
  font-size: 11.5px;
  color: var(--w-mute);
  line-height: 1.5;
}
.wpanel__count {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--w-mute);
  flex-shrink: 0;
  padding-top: 4px;
}
.wpanel__body {
  padding: 0 8px 8px;
}
.wpanel__body .wfan {
  background: transparent;
  border: none;
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 0;
  box-shadow: none;
}
.wpanel__body .wfan + .wfan {
  border-top: 1px dashed var(--w-rule);
  border-radius: 0;
}
.wpanel__body .wfan:hover {
  background: rgba(0,0,0,0.02);
}
.wpanel__apply {
  margin: 6px 10px 12px;
  padding: 14px 16px;
  background: #fff;
  border: 2px dashed var(--w-red);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  gap: 12px;
}
.wpanel__apply-body { flex: 1; min-width: 0; }
.wpanel__apply-label {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.018em;
  color: var(--w-ink);
}
.wpanel__apply-sub {
  margin-top: 3px;
  font-size: 11.5px;
  color: var(--w-mute);
  line-height: 1.4;
  word-break: keep-all;
}
.wpanel__apply-arrow {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--w-red);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.wpanel-divider {
  margin: 18px 8px 6px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--w-mute);
  display: flex;
  align-items: center;
  gap: 10px;
}
.wpanel-divider::before,
.wpanel-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--w-rule), transparent);
}
/* ─── Feed widget ─── */
.wfeed {
  padding: 4px 0;
  border-radius: var(--tile-radius);
  background: var(--w-card);
  border: 1px solid var(--w-rule);
  overflow: hidden;
  box-shadow: var(--tile-shadow);
}
.wfeed__group {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px 6px;
  font-size: 11.5px; font-weight: 800;
  letter-spacing: -0.005em;
  color: var(--w-ink);
}
.wfeed__group .src-dot {
  width: 8px; height: 8px; border-radius: 999px;
  flex-shrink: 0;
  background: var(--w-mute);
}
.wfeed__group[data-src="hermes"]  .src-dot { background: var(--w-red); }
.wfeed__group[data-src="reds"]    .src-dot { background: #FF6E7C; }
.wfeed__group[data-src="history"] .src-dot { background: var(--w-cyan); }
.wfeed__group .domain {
  font-family: var(--font-mono);
  font-size: 9.5px; font-weight: 600;
  color: var(--w-mute);
}
.wfeed__group .rule {
  flex: 1; height: 1px;
  background: var(--w-rule);
}
.wpost {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 16px;
  text-decoration: none; color: inherit;
  position: relative;
}
.wpost + .wpost { border-top: 1px solid var(--w-rule); }
.wpost__body { flex: 1; min-width: 0; }
.wpost__title {
  font-size: 13.5px; font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--w-ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.wpost__meta {
  margin-top: 3px;
  display: flex; align-items: center; gap: 6px;
  font-size: 11px;
  color: var(--w-mute);
  white-space: nowrap;
}
.wpost__meta .dot { color: rgba(0,0,0,0.18); }
.wpost__meta .count {
  font-family: var(--font-mono);
  font-size: 10.5px;
}
.wpost__chev {
  color: rgba(0,0,0,0.32);
  flex-shrink: 0;
  display: inline-flex;
}

/* ─── Archive feature card ─── */
.warchive {
  position: relative;
  background: linear-gradient(165deg, #0e2230 0%, #0a1721 100%);
  color: #fff;
  border: none;
  padding: 16px 18px 18px;
  min-height: 168px;
  text-decoration: none;
}
.warchive::before {
  content: "1995";
  position: absolute;
  right: -12px; bottom: -34px;
  font-weight: 900; font-style: italic;
  font-size: 130px;
  line-height: 0.78;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1.4px rgba(91,211,228,0.28);
  pointer-events: none;
}
.warchive .wtile__kicker { color: var(--w-heritage); }
.warchive__date {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(217,205,180,0.65);
  margin-top: 10px;
}
.warchive__title {
  margin-top: 4px;
  font-size: 17px; font-weight: 800;
  letter-spacing: -0.022em;
  line-height: 1.3;
  color: #fff;
  word-break: keep-all;
}
.warchive__cta {
  margin-top: 12px;
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px 6px 13px;
  background: rgba(91,211,228,0.18);
  border: 1px solid rgba(91,211,228,0.42);
  border-radius: 999px;
  font-size: 11.5px; font-weight: 600;
  color: #d6f0f5;
  position: relative;
}

/* ─── Footer ─── */
.wfoot {
  margin-top: 18px;
  padding: 14px 4px 4px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.10em;
  color: var(--w-mute);
  display: flex; flex-direction: column;
  align-items: center; gap: 8px;
  border-top: 1px dashed var(--w-rule);
}
.wfoot .links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.wfoot a { color: var(--w-mute); text-decoration: none; }

/* ─── Bottom dock (visual only on home) ─── */
.wdock {
  position: absolute;
  left: 14px; right: 14px;
  bottom: calc(var(--safe-bottom) + 12px);
  z-index: 30;
  height: 62px;
  border-radius: 22px;
  padding: 6px;
  display: flex; align-items: center; justify-content: space-between;
  background: var(--w-espresso);
  border: 1px solid var(--w-red);
  box-shadow: 0 18px 40px rgba(12,10,10,0.30);
}
.wdock__btn {
  flex: 1;
  height: 50px;
  display: inline-flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 3px;
  border-radius: 16px;
  color: rgba(255,255,255,0.55);
  font-size: 10px; font-weight: 600;
  letter-spacing: -0.005em;
}
.wdock__btn--active {
  color: #fff;
  background: var(--w-red);
}

/* ─── Notices panel (toggled by bell) ─── */
.wnotice {
  position: absolute;
  top: calc(var(--safe-top) + 56px);
  right: 14px;
  width: min(320px, calc(100vw - 28px));
  max-height: 60vh;
  overflow-y: auto;
  background: var(--w-card);
  border: 1px solid var(--w-rule);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(20,12,8,0.22);
  z-index: 60;
  transform: translateY(-8px) scale(0.96);
  opacity: 0;
  pointer-events: none;
  transform-origin: top right;
  transition: transform 200ms cubic-bezier(.2,.7,.3,1), opacity 180ms ease;
}
.wnotice.is-open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}
.wnotice__head {
  padding: 14px 16px 8px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
}
.wnotice__title {
  font-size: 13px; font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--w-ink);
}
.wnotice__head-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.wnotice__count {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--w-mute);
}
.wnotice__textbtn {
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--w-bone);
  color: var(--w-ink);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}
.wnotice__textbtn--icon {
  width: 28px;
  min-width: 28px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.wnotice__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 16px;
  border-top: 1px solid var(--w-rule);
  color: inherit;
  text-decoration: none;
}
.wnotice__item:last-child { padding-bottom: 14px; }
.wnotice__link {
  display: block;
  flex: 1;
  min-width: 0;
  color: inherit;
  text-decoration: none;
  position: relative;
  z-index: 1;
}
.wnotice__item-title {
  font-size: 13px; font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--w-ink);
  line-height: 1.35;
}
.wnotice__item-meta {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--w-mute);
  letter-spacing: 0.02em;
}
.wnotice__delete {
  flex-shrink: 0;
  min-height: 28px;
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--w-bone);
  color: var(--w-mute);
  font-size: 11px;
  font-weight: 800;
  position: relative;
  z-index: 2;
}
.wnotice__empty {
  padding: 24px 16px;
  text-align: center;
  font-size: 12px;
  color: var(--w-mute);
}
.wpushset {
  padding: 4px 16px 16px;
}
.wpushset__row {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--w-rule);
}
.wpushset__copy {
  min-width: 0;
  display: block;
}
.wpushset__copy strong {
  display: block;
  color: var(--w-ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}
.wpushset__copy small {
  display: block;
  margin-top: 4px;
  color: var(--w-mute);
  font-size: 11px;
  line-height: 1.3;
}
.wpushset__switch {
  width: 46px;
  height: 28px;
  flex: 0 0 46px;
  position: relative;
  display: inline-flex;
}
.wpushset__switch input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}
.wpushset__switch span {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #D9D3C9;
  transition: background 160ms ease;
}
.wpushset__switch span::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 5px rgba(20,12,8,0.18);
  transition: transform 160ms ease;
}
.wpushset__switch input:checked + span {
  background: var(--w-red);
}
.wpushset__switch input:checked + span::after {
  transform: translateX(18px);
}

/* ─── Backdrop for notices ─── */
.wbackdrop {
  position: absolute; inset: 0;
  background: transparent;
  z-index: 55;
  display: none;
}
.wbackdrop.is-open { display: block; }

/* ─── 360px width safety ─── */
@media (max-width: 380px) {
  .wgreet__title { font-size: 24px; }
  .wmatch__vsblock .home { font-size: 21px; }
  body[data-page="match"] [data-mount="match-hero"] .wmatch:not(.wlive-hero) .wmatch__vsblock .home { font-size: 27px; }
  body[data-page="match"] [data-mount="match-hero"] .wmatch:not(.wlive-hero) .wmatch__vsblock .away { font-size: 17px; }
  .wstat__big { font-size: 28px; }
  .wdest--wide .wdest__art { width: 100px; }
}

/* ─── Live match card ─── */
.wmatch--live,
.wmatch--ht,
.wmatch--ft {
  position: relative;
  overflow: hidden;
}
.wmatch--live {
  background:
    radial-gradient(120% 70% at 6% 0%, rgba(175,35,28,0.34), transparent 55%),
    linear-gradient(165deg, #2A1714 0%, var(--w-espresso) 58%, #170F0C 100%);
}
.wmatch--ht {
  background:
    radial-gradient(120% 70% at 6% 0%, rgba(21,128,143,0.22), transparent 55%),
    linear-gradient(165deg, #241813 0%, var(--w-espresso) 58%, #170F0C 100%);
}
.wmatch--ft {
  background: linear-gradient(165deg, #241813 0%, var(--w-espresso) 60%, #150E0B 100%);
}
.wmatch--ft::before { opacity: 0.06; }
.wlive-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 9px 4px 7px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px; font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
}
.wlive-badge--live {
  background: #fff;
  color: var(--w-red);
  box-shadow: 0 0 0 0 rgba(255,255,255,0.45);
  animation: wlive-pulse 1.8s ease-out infinite;
}
.wlive-badge--live .pulse,
.wlive-badge--ht .pulse {
  width: 6px; height: 6px; border-radius: 999px;
}
.wlive-badge--live .pulse { background: var(--w-red); }
.wlive-badge--ht {
  background: rgba(255,255,255,0.92);
  color: #1f4f57;
}
.wlive-badge--ht .pulse { background: var(--w-cyan); }
.wlive-badge--ft {
  background: rgba(255,255,255,0.16);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.22);
}
@keyframes wlive-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,255,255,0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(255,255,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}
.wlive-status {
  font-family: var(--font-mono);
  font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.86);
  white-space: nowrap;
  line-height: 1;
}
.wmatch__head--live { align-items: flex-start; }
.wmatch__head--live .wlive-cluster {
  display: inline-flex; flex-direction: column; align-items: flex-end; gap: 4px;
  min-width: 0;
}
.wlive-score {
  position: relative; z-index: 1;
  margin-top: 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  grid-template-areas: "home score away";
  align-items: center;
  gap: 10px;
}
.wlive-score__teams {
  display: contents;
}
.wlive-team {
  min-width: 0;
  display: flex; flex-direction: column;
  gap: 4px;
}
.wlive-team__row {
  display: flex; align-items: center; gap: 8px;
  min-width: 0;
}
.wlive-team__name {
  font-size: 13px; font-weight: 700;
  letter-spacing: -0.018em;
  color: rgba(255,255,255,0.7);
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  flex: 1;
}
.wlive-team--home { grid-area: home; }
.wlive-team--away { grid-area: away; }
.wlive-team__role {
  font-family: var(--font-mono);
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  line-height: 1;
}
.wlive-team--away { align-items: flex-end; text-align: right; }
.wlive-team--away .wlive-team__row { flex-direction: row-reverse; }
.wlive-team--away .wlive-team__name { text-align: right; }
.wlive-team--ours .wlive-team__name {
  font-size: 16px; font-weight: 900;
  letter-spacing: -0.025em;
  color: #fff;
}
.wlive-team--ours .wlive-team__role { color: #ffd6dc; }
.wlive-score__board {
  grid-area: score;
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-top: 0;
  justify-content: center;
}
.wlive-score__num {
  font-size: 34px; font-weight: 900;
  letter-spacing: -0.03em;
  color: rgba(255,255,255,0.5);
  line-height: 1;
  text-shadow: 0 2px 16px rgba(0,0,0,0.20);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}
.wlive-score__num--home,
.wlive-score__num--away { text-align: center; padding: 0; }
.wlive-score__num--ours,
.wlive-score__num--lead { color: #fff; }
.wlive-score__colon {
  font-size: 22px; font-weight: 700;
  color: rgba(255,255,255,0.4);
  letter-spacing: -0.04em;
  transform: none;
  text-align: center;
  line-height: 1;
}
.wmatch--ft .wlive-score__num,
.wmatch--ft .wlive-score__num--ours,
.wmatch--ft .wlive-score__num--lead { color: #fff; }
.wmatch--ft .wlive-score__num--lost { color: rgba(255,255,255,0.42); }
.wlive-result {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 11px;
  border-radius: 8px;
  font-size: 12px; font-weight: 900;
  letter-spacing: 0.02em;
  white-space: nowrap;
  line-height: 1;
}
.wlive-result--w { background: #fff; color: var(--w-red-deep); }
.wlive-result--d { background: rgba(255,255,255,0.18); color: #fff; }
.wlive-result--l {
  background: rgba(20,16,14,0.55);
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.18);
}
.wmatch__foot--live {
  margin-top: 14px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
  border-top: 1px solid rgba(255,255,255,0.16);
  padding-top: 12px;
  position: relative; z-index: 1;
}
.wlive-update {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.68);
}
.wlive-update__dot {
  width: 5px; height: 5px; border-radius: 999px;
  background: rgba(255,255,255,0.58);
}
.wmatch--live .wlive-update__dot {
  background: #ffd0d8;
  animation: wlive-blink 1.4s ease-in-out infinite;
}
@keyframes wlive-blink {
  0%, 100% { opacity: 0.4; }
  50%      { opacity: 1; }
}
.wlive-venue {
  font-family: var(--font-mono);
  font-size: 10px; font-weight: 600;
  color: rgba(255,255,255,0.78);
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
  min-width: 0;
}
.wlive-hero { margin-top: 4px; }
.wlive-hero .wlive-score {
  margin-top: 16px;
  gap: 10px;
}
.wlive-hero .wlive-score__num { font-size: 34px; }
.wlive-hero .wlive-score__colon { font-size: 22px; transform: none; }
.wlive-hero .wlive-team__name { font-size: 13px; }
.wlive-hero .wlive-team--ours .wlive-team__name { font-size: 16px; }
.wlive-hero .wmatch__head--live { align-items: center; }
.wlive-scorers {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.16);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  position: relative; z-index: 1;
}
.wlive-scorers__col { min-width: 0; }
.wlive-scorers__col--away { text-align: right; }
.wlive-scorers__head {
  font-family: var(--font-mono);
  font-size: 9.5px; font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.wlive-scorers__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 4px;
}
.wlive-scorers__list li {
  font-size: 12px; font-weight: 600;
  color: rgba(255,255,255,0.88);
  letter-spacing: -0.012em;
  line-height: 1.25;
  display: inline-flex; align-items: baseline; gap: 6px;
}
.wlive-scorers__col--away .wlive-scorers__list li { justify-content: flex-end; }
.wlive-scorers__list .min {
  font-family: var(--font-mono);
  font-size: 10.5px; font-weight: 700;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.wlive-scorers__empty {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.04em;
}
.wlive-scorers__col--ours .wlive-scorers__head { color: #ffd0d8; }
.wlive-scorers__col--ours .wlive-scorers__list li { color: #fff; }
.wlive-note {
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(0,0,0,0.18);
  font-family: var(--font-mono);
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.62);
  display: flex; align-items: center; gap: 6px;
  position: relative; z-index: 1;
}
.wlive-note__bullet {
  width: 4px; height: 4px; border-radius: 999px;
  background: rgba(255,255,255,0.45);
  flex-shrink: 0;
}
.wlive-after {
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--w-bone);
  border: 1px solid #E0D5BF;
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
}
.wlive-after__body { min-width: 0; }
.wlive-after__kicker {
  font-family: var(--font-mono);
  font-size: 9.5px; font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--w-red-deep);
  text-transform: uppercase;
  margin-bottom: 3px;
}
.wlive-after__title {
  font-size: 13.5px; font-weight: 800;
  letter-spacing: -0.018em;
  color: var(--w-ink);
}
.wlive-after__sub {
  font-size: 11px; color: var(--w-mute);
  margin-top: 2px;
}
.wlive-after__chev {
  width: 28px; height: 28px;
  border-radius: 999px;
  background: var(--w-paper);
  border: 1px solid var(--w-rule);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--w-mute);
  flex-shrink: 0;
}
@media (max-width: 380px) {
  .wlive-score__num,
  .wlive-hero .wlive-score__num   { font-size: 32px; }
  .wlive-score__colon,
  .wlive-hero .wlive-score__colon { font-size: 20px; }
  .wlive-team--ours .wlive-team__name { font-size: 15px; }
  .wlive-hero .wlive-team--ours .wlive-team__name { font-size: 16px; }
  .wlive-scorers { gap: 10px; }
  .wlive-scorers__list li { font-size: 11.5px; }
}

/* ═══════════════════════════════════════════════════════════════
   TAB SCREENS — Match · Feed · Archive
   ═══════════════════════════════════════════════════════════════ */

/* ─── Enable dock links ─── */
a.wdock__btn,
button.wdock__btn { text-decoration: none; cursor: pointer; }

.wsince {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  padding: 12px 16px;
  background: linear-gradient(90deg, #15808F 0%, #8F212A 50%, var(--w-red) 100%);
  color: #fff;
  border-radius: 16px;
  box-shadow: var(--tile-shadow);
}
.wsince__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.wsince__label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #FFD93D;
}
.wsince__sub {
  font-size: 11.5px;
  color: #FFD93D;
  letter-spacing: -0.005em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wsince__count {
  font-size: 20px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.025em;
  color: #fff;
  line-height: 1;
  flex-shrink: 0;
  display: flex;
  align-items: baseline;
  gap: 3px;
}
.wsince__unit {
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  color: rgba(255,255,255,0.78);
}

/* ─── Filter chips ─── */
.wchips {
  display: flex; gap: 8px;
  margin-inline: -14px;
  padding: 4px 14px 10px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 14px;
  -webkit-overflow-scrolling: touch;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 30px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 30px), transparent 100%);
}
.wchips::-webkit-scrollbar { display: none; }
.wchip {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px 7px 10px;
  background: var(--w-card);
  border: 1px solid var(--w-rule);
  border-radius: 999px;
  font-size: 12px; font-weight: 600;
  color: var(--w-ink);
  letter-spacing: -0.005em;
  scroll-snap-align: start;
  white-space: nowrap;
}
.wchip .dot {
  width: 7px; height: 7px; border-radius: 999px;
  background: var(--w-mute);
  flex-shrink: 0;
}
.wchip .num {
  margin-left: 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--w-mute);
}
.wchip--active {
  background: var(--w-espresso);
  color: #fff;
  border-color: var(--w-espresso);
}
.wchip--active .dot { background: #fff; }
.wchip--active .num { color: rgba(255,255,255,0.6); }
.wchip[data-src="hermes"]  .dot { background: var(--w-red); }
.wchip[data-src="reds"]    .dot { background: #FF6E7C; }
.wchip[data-src="history"] .dot { background: var(--w-cyan); }

/* ─── Hot carousel ─── */
.wcarousel {
  display: flex; gap: 10px;
  margin-inline: -14px;
  padding: 2px 14px 8px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 14px;
  -webkit-overflow-scrolling: touch;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 34px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 34px), transparent 100%);
}
.wcarousel::-webkit-scrollbar { display: none; }
.whot {
  flex: 0 0 220px;
  min-height: 168px;
  border-radius: var(--tile-radius);
  background: var(--w-card);
  border: 1px solid var(--w-rule);
  padding: 12px;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative;
  overflow: hidden;
  scroll-snap-align: start;
  box-shadow: var(--tile-shadow);
}
.whot--ink {
  background: var(--w-espresso);
  color: #fff;
  border-color: var(--w-espresso);
}
.whot--ink .whot__src   { color: rgba(255,255,255,0.65); }
.whot--ink .whot__meta  { color: rgba(255,255,255,0.55); }
.whot--ink .whot__meta .author { color: rgba(255,255,255,0.82); }
.whot--ink .whot__meta .dot { color: rgba(255,255,255,0.25); }
.whot--blocked {
  background: var(--w-bone);
  border-color: var(--w-rule);
  color: var(--w-ink);
}
.whot__rank {
  position: absolute;
  top: 12px; right: 14px;
  font-family: var(--font-mono);
  font-size: 28px; font-weight: 900;
  letter-spacing: -0.04em;
  color: rgba(0,0,0,0.10);
  line-height: 1;
}
.whot--ink .whot__rank { color: rgba(255,255,255,0.20); }
.wugc-card__main,
.wfanpost__link {
  color: inherit;
  text-decoration: none;
}
.whot__main {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  position: relative;
  z-index: 1;
}
.whot__src {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono);
  font-size: 9.5px; font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--w-mute);
  text-transform: uppercase;
}
.whot__src .dot {
  width: 7px; height: 7px; border-radius: 999px;
  background: var(--w-mute);
  flex-shrink: 0;
}
.whot__src[data-src="hermes"]  .dot { background: var(--w-red); }
.whot__src[data-src="reds"]    .dot { background: #FF6E7C; }
.whot__src[data-src="history"] .dot { background: var(--w-cyan); }
.whot__title {
  font-size: 15px; font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: inherit;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: keep-all;
}
.whot__meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.02em;
  color: var(--w-mute);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.whot__meta .dot { color: rgba(0,0,0,0.18); }
.whot__meta .author { font-weight: 800; color: var(--w-red-deep); }
.whot__title--blocked {
  color: var(--w-ink);
}
.whot__meta--blocked {
  color: var(--w-mute);
  font-family: inherit;
  font-size: 11.5px;
  letter-spacing: 0;
  line-height: 1.45;
}

/* ─── Day group label ─── */
.wday {
  padding: 16px 4px 8px;
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 8px;
}
.wday h4 {
  margin: 0;
  font-size: 15px; font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--w-ink);
}
.wday .count {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--w-mute);
}

/* ─── Feed posts (full-width on Feed page) ─── */
.wfeedpost {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  padding: 10px 12px;
  background: var(--w-card);
  border: 1px solid var(--w-rule);
  border-radius: 16px;
  margin-bottom: 6px;
  box-shadow: var(--tile-shadow);
  position: relative;
}
.wfeedpost__main {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.wfeedpost__bar {
  width: 7px;
  flex-shrink: 0;
  align-self: stretch;
  border-radius: 4px;
  margin: 4px 0;
  background: var(--w-mute);
}
.wfeedpost[data-src="hermes"]  .wfeedpost__bar { background: var(--w-red); }
.wfeedpost[data-src="reds"]    .wfeedpost__bar { background: #FF6E7C; }
.wfeedpost[data-src="history"] .wfeedpost__bar { background: var(--w-cyan); }
.wfeedpost--blocked {
  background: var(--w-bone);
}
.wfeedpost--blocked .wfeedpost__bar {
  background: var(--w-mute);
}
.wfeedpost__body {
  flex: 1;
  min-width: 0;
  display: grid;
  grid-template-rows: 18px 16px 15px;
  row-gap: 2px;
}
.wfeedpost__title {
  font-size: 13.5px; font-weight: 700;
  line-height: 18px;
  letter-spacing: 0;
  color: var(--w-ink);
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  word-break: normal;
}
.wfeedpost__author {
  min-width: 0;
  min-height: 16px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11.5px;
  font-weight: 800;
  line-height: 16px;
  color: var(--w-ink-sub);
}
.wfeedpost__meta {
  display: flex; align-items: center; gap: 5px;
  min-width: 0;
  min-height: 15px;
  overflow: hidden;
  white-space: nowrap;
  font-size: 10.8px;
  line-height: 15px;
  color: var(--w-mute);
  flex-wrap: nowrap;
}
.wfeedpost__meta > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 0 0 auto;
}
.wfeedpost__meta .src {
  max-width: 38%;
  font-weight: 700;
  flex-shrink: 1;
}
.wfeedpost__meta .board {
  max-width: 30%;
  flex-shrink: 1;
}
.wfeedpost[data-src="hermes"]  .wfeedpost__meta .src { color: var(--w-red-deep); }
.wfeedpost[data-src="reds"]    .wfeedpost__meta .src { color: var(--w-red-deep); }
.wfeedpost[data-src="history"] .wfeedpost__meta .src { color: var(--w-cyan); }
.wfeedpost__meta .dot { color: rgba(0,0,0,0.18); }
.wfeedpost__meta .count { font-family: var(--font-mono); font-size: 10.5px; }
.wfeedpost__chev { color: rgba(0,0,0,0.32); flex-shrink: 0; display: inline-flex; }
.wfeedpost__title--blocked {
  color: var(--w-ink);
}
.wfeedpost__author--blocked {
  color: var(--w-mute);
  font-weight: 700;
}

/* ─── Feed fan channel posts ─── */
.wfanpost-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 2px;
}
.wfanpost {
  aspect-ratio: 1 / 1;
  background: var(--w-card);
  border: 1px solid var(--w-rule);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--tile-shadow);
  overflow: hidden;
  position: relative;
}
.wfanpost__link {
  min-height: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.wfanpost__thumb {
  flex: 1.05;
  position: relative;
  background-color: var(--w-bone);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 10px;
  overflow: hidden;
}
.wfanpost__thumb-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.wfanpost[data-platform="instagram"] .wfanpost__thumb { background: linear-gradient(135deg, #FA7E1E 0%, #D62976 50%, #962FBF 100%); }
.wfanpost[data-platform="youtube"] .wfanpost__thumb { background: linear-gradient(135deg, #FF4D4D 0%, #AF231C 100%); }
.wfanpost[data-platform="kakao_openchat"] .wfanpost__thumb { background: linear-gradient(135deg, #FEE500 0%, #F2C400 100%); }
.wfanpost[data-platform="blog"] .wfanpost__thumb { background: linear-gradient(135deg, #6B8C5B 0%, #3F5040 100%); }
.wfanpost[data-platform="threads"] .wfanpost__thumb { background: linear-gradient(135deg, #3A3A3A 0%, #0A0A0A 100%); }
.wfanpost[data-platform="tiktok"] .wfanpost__thumb { background: linear-gradient(135deg, #25F4EE 0%, #1A1A1A 60%, #FE2C55 110%); }
.wfanpost[data-platform="twitter"] .wfanpost__thumb { background: linear-gradient(135deg, #1DA1F2 0%, #0A6FAA 100%); }
.wfanpost__thumb-glyph {
  position: absolute;
  right: -8px;
  bottom: -22px;
  font-family: var(--font-mono);
  font-size: 70px;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: rgba(255,255,255,0.18);
  line-height: 1;
  pointer-events: none;
}
.wfanpost__platform-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  background: rgba(255,255,255,0.94);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--w-ink);
  z-index: 1;
}
.wfanpost__platform-chip .dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--w-mute);
  flex-shrink: 0;
}
.wfanpost[data-platform="instagram"] .wfanpost__platform-chip .dot { background: #D62976; }
.wfanpost[data-platform="youtube"] .wfanpost__platform-chip .dot { background: #AF231C; }
.wfanpost[data-platform="kakao_openchat"] .wfanpost__platform-chip .dot { background: #3A1D1D; }
.wfanpost[data-platform="blog"] .wfanpost__platform-chip .dot { background: #5B6E59; }
.wfanpost[data-platform="threads"] .wfanpost__platform-chip .dot { background: #14100E; }
.wfanpost[data-platform="tiktok"] .wfanpost__platform-chip .dot { background: #25F4EE; }
.wfanpost[data-platform="twitter"] .wfanpost__platform-chip .dot { background: #1DA1F2; }
.wfanpost__info {
  padding: 9px 11px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--w-card);
}
.wfanpost__title {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--w-ink);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: keep-all;
}
.wfanpost__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 10.5px;
  color: var(--w-mute);
}
.wfanpost__channel {
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--w-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.wfanpost__time {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.02em;
  color: var(--w-mute);
  flex-shrink: 0;
}
.wfanpost-more {
  grid-column: 1 / -1;
  min-height: 46px;
  border: 1px solid var(--w-rule);
  border-radius: 12px;
  background: var(--w-espresso);
  color: #fff;
  font: inherit;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: var(--tile-shadow);
}
.wfanpost-more small {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: rgba(255,255,255,0.64);
}

.wugc-policy-note {
  width: 100%;
  padding: 22px 18px;
  border: 1px solid var(--w-rule);
  border-radius: 16px;
  background: var(--w-card);
  color: var(--w-mute);
  font-size: 13px;
  line-height: 1.55;
  text-align: center;
  box-shadow: var(--tile-shadow);
}
.wugc-modal {
  position: fixed;
  inset: 0;
  z-index: 160;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--safe-top) + 18px) 22px calc(var(--safe-bottom) + 18px);
}
.wugc-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20,16,14,0.54);
  backdrop-filter: blur(6px);
}
.wugc-modal__box {
  position: relative;
  width: min(360px, 100%);
  max-height: min(620px, calc(100svh - var(--safe-top) - var(--safe-bottom) - 36px));
  overflow: auto;
  padding: 22px 20px 18px;
  border: 1px solid var(--w-rule);
  border-radius: 18px;
  background: var(--w-card);
  color: var(--w-ink);
  box-shadow: 0 24px 70px rgba(20,12,8,0.30);
}
.wugc-modal__box h2 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 850;
  letter-spacing: 0;
}
.wugc-modal__box p {
  margin: 0 0 16px;
  color: var(--w-mute);
  font-size: 13px;
  line-height: 1.58;
  word-break: keep-all;
}
.wugc-check,
.wugc-radio,
.wugc-field {
  display: flex;
  gap: 10px;
  color: var(--w-ink);
  font-size: 13px;
  line-height: 1.45;
}
.wugc-check,
.wugc-radio {
  align-items: flex-start;
  margin: 10px 0;
}
.wugc-check input,
.wugc-radio input {
  margin-top: 3px;
  flex-shrink: 0;
}
.wugc-field {
  flex-direction: column;
  margin: 12px 0;
  font-weight: 800;
}
.wugc-choice-group {
  display: grid;
  gap: 8px;
}
.wugc-choice {
  position: relative;
  display: block;
  min-width: 0;
  font-weight: 800;
}
.wugc-choice input {
  position: absolute;
  inset: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.wugc-choice span {
  display: block;
  min-height: 42px;
  padding: 11px 12px;
  border: 1px solid var(--w-rule);
  border-radius: 12px;
  background: var(--w-paper);
  color: var(--w-ink);
  font-size: 13px;
  line-height: 1.35;
  letter-spacing: 0;
  word-break: keep-all;
  box-sizing: border-box;
}
.wugc-choice input:checked + span {
  border-color: rgba(175,35,28,0.58);
  background: rgba(175,35,28,0.10);
  color: var(--w-red-deep);
}
.wugc-choice input:focus-visible + span {
  outline: 2px solid rgba(175,35,28,0.42);
  outline-offset: 2px;
}
.wugc-field select,
.wugc-field textarea {
  width: 100%;
  border: 1px solid var(--w-rule);
  border-radius: 12px;
  background: var(--w-paper);
  color: var(--w-ink);
  font: inherit;
  font-size: 13px;
  padding: 11px 12px;
}
.wugc-field textarea {
  resize: vertical;
  min-height: 92px;
}
.wugc-policy-link {
  display: inline-flex;
  margin-top: 4px;
  color: var(--w-red-deep);
  font-size: 12.5px;
  font-weight: 800;
  text-decoration: none;
}
.wugc-modal__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 18px;
}
.wugc-modal__primary,
.wugc-modal__secondary {
  min-height: 44px;
  border: 0;
  border-radius: 13px;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
}
.wugc-modal__primary {
  background: var(--w-red);
  color: #fff;
}
.wugc-modal__primary:disabled {
  opacity: 0.42;
}
.wugc-modal__secondary {
  background: var(--w-bone);
  color: var(--w-ink);
}
.wugc-modal__status {
  margin: 12px 0 0;
  padding: 10px 12px;
  border: 1px solid rgba(175,35,28,0.16);
  border-radius: 12px;
  background: rgba(175,35,28,0.08);
  color: var(--w-red-deep);
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.45;
  word-break: keep-all;
}
.wugc-modal__status[hidden] {
  display: none;
}
.wugc-modal__status[data-kind="error"] {
  border-color: rgba(175,35,28,0.28);
  background: rgba(175,35,28,0.12);
}

.wempty {
  padding: 60px 16px; text-align: center;
  color: var(--w-mute); font-size: 13px;
}

/* ─── Match — countdown row ─── */
.wcount {
  display: flex; gap: 8px;
  margin-top: 12px;
  position: relative; z-index: 1;
}
.wcount__cell {
  flex: 1;
  background: rgba(0,0,0,0.28);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 14px;
  padding: 8px 4px;
  text-align: center;
}
.wcount__num {
  font-size: 22px; font-weight: 900;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1;
}
.wcount__lab {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 8.5px; font-weight: 700;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
}

/* ─── Match — schedule list / date anchor ─── */
.wsched {
  background: var(--w-card);
  border: 1px solid var(--w-rule);
  border-radius: var(--tile-radius);
  overflow: hidden;
  box-shadow: var(--tile-shadow);
}

.wmonths {
  display: grid;
  gap: 14px;
}
.wmonth {
  background: var(--w-card);
  border: 1px solid var(--w-rule);
  border-radius: var(--tile-radius);
  overflow: hidden;
  box-shadow: var(--tile-shadow);
}
.wmonth__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 15px 11px;
  background: linear-gradient(180deg, #FFF8F6 0%, #FFFFFF 100%);
  border-bottom: 1px solid var(--w-rule);
}
.wmonth__head h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0;
  color: var(--w-red-deep);
}
.wmonth__head span {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--w-mute);
}
.wmonth__list {
  background: var(--w-card);
}
.wseason-note {
  margin: 2px 4px 0;
  padding: 12px 14px;
  border: 1px dashed var(--w-rule);
  border-radius: 14px;
  background: #FFFCF8;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0;
  color: var(--w-mute);
  text-align: center;
}

.wsa__row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 13px 15px;
}
.wsa__row + .wsa__row {
  border-top: 1px solid var(--w-rule);
}

.wsa__date {
  text-align: center;
  line-height: 1;
}
.wsa__date b {
  display: block;
  font-size: 23px;
  font-weight: 900;
  letter-spacing: 0;
  color: var(--w-ink);
}
.wsa__date span {
  display: block;
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--w-mute);
}
.wsa__date i {
  font-style: normal;
  color: var(--w-ink);
}
.wsa__date i.is-sat {
  color: var(--w-sat);
}
.wsa__date i.is-sun {
  color: var(--w-red);
}

.wsa__main {
  min-width: 0;
}
.wsa__mu {
  min-width: 0;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--w-ink);
  line-height: 1.18;
  text-align: center;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.wsa__team {
  font-weight: 700;
}
.wsa__team--ours {
  color: var(--w-red);
  font-weight: 900;
}
.wsa__vs {
  margin: 0 7px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--w-mute);
  white-space: nowrap;
}

.wsa__meta {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0;
  color: var(--w-mute);
}
.wsa__meta > span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wsa__ha {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0;
  padding: 2px 7px;
  border-radius: 5px;
}
.wsa__ha--home {
  background: var(--w-red-soft);
  color: var(--w-red-deep);
}
.wsa__ha--away {
  background: var(--w-bone);
  color: var(--w-mute);
}

.wsa__time {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  color: var(--w-ink);
  white-space: nowrap;
}

.wsa__res {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0;
}
.wsa__res--w {
  background: var(--w-red);
  color: #fff;
}
.wsa__res--d {
  background: #E5DCC8;
  color: var(--w-ink);
}
.wsa__res--l {
  background: transparent;
  border: 1px dashed var(--w-rule);
  color: var(--w-mute);
}

/* ─── Match — standings table ─── */
.wstand {
  background: var(--w-card);
  border: 1px solid var(--w-espresso);
  border-radius: var(--tile-radius);
  overflow: hidden;
  box-shadow: var(--tile-shadow);
}
.wstand__head,
.wstand__row {
  display: grid;
  grid-template-columns: 30px minmax(72px, 1fr) 36px repeat(5, 24px);
  align-items: center;
  gap: 5px;
  padding: 10px 12px;
  font-size: 12px;
}
.wstand__head {
  background: var(--w-espresso);
  font-size: 10.5px; font-weight: 800;
  letter-spacing: 0;
  color: #fff;
  text-transform: none;
}
.wstand__row + .wstand__row { border-top: 1px solid var(--w-rule); }
.wstand__row--me {
  background: #AF231C;
  font-weight: 800;
  color: #fff;
}
.wstand__row--me .wstand__name,
.wstand__row--me .wstand__rank,
.wstand__row--me .wstand__pts,
.wstand__row--me .wstand__col {
  color: #fff;
  font-weight: 800;
}
.wstand__rank {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--w-mute);
  text-align: center;
}
.wstand__name {
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--w-ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.wstand__col {
  font-family: var(--font-mono);
  text-align: center;
  font-size: 10.5px;
  color: var(--w-mute);
}
.wstand__pts {
  font-family: var(--font-mono);
  font-weight: 900;
  text-align: center;
  color: var(--w-ink);
  letter-spacing: -0.02em;
}

/* ─── Archive — timeline ─── */
.wtline {
  position: relative;
  padding: 8px 0 2px 30px;
}
.wtline::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 14px; bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--w-cyan) 0%, var(--w-cyan) 36%, var(--w-red) 36%, var(--w-red) 100%);
  border-radius: 2px;
}
.wtline__node {
  position: relative;
  padding: 8px 0 18px;
}
.wtline__node::before {
  content: "";
  position: absolute;
  left: -27px; top: 13px;
  width: 14px; height: 14px;
  border-radius: 999px;
  background: var(--w-paper);
  border: 3px solid var(--w-red);
  box-shadow: 0 0 0 2px var(--w-paper);
}
.wtline__node[data-tone="cyan"]::before { border-color: var(--w-cyan); }
.wtline__node[data-tone="ink"]::before  { border-color: var(--w-red); }
.wtline__year {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.10em;
  color: var(--w-mute);
}
.wtline__title {
  margin-top: 3px;
  font-size: 15px; font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--w-ink);
  line-height: 1.25;
  word-break: keep-all;
}
.wtline__cap {
  margin-top: 3px;
  font-size: 12px;
  color: var(--w-mute);
  line-height: 1.45;
  word-break: keep-all;
}

/* ─── Archive — categories grid ─── */
.wcatgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.wcat {
  background: var(--w-card);
  border: 1px solid var(--w-rule);
  border-radius: 18px;
  padding: 14px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--tile-shadow);
  min-height: 112px;
  display: flex; flex-direction: column;
  justify-content: space-between;
}
.wcat__num {
  position: absolute;
  right: 10px; top: 6px;
  font-family: var(--font-mono);
  font-size: 36px; font-weight: 900;
  letter-spacing: -0.04em;
  color: rgba(0,0,0,0.07);
  line-height: 1;
}
.wcat__label {
  font-family: var(--font-mono);
  font-size: 9.5px; font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--w-mute);
  text-transform: uppercase;
}
.wcat__title {
  font-size: 16px; font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--w-ink);
  line-height: 1.2;
}
.wcat__sub {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--w-mute);
  letter-spacing: 0.04em;
}
.wcat[data-tone="cyan"] { background: #DDF2F4; border-color: #BFE0E4; }
.wcat[data-tone="bone"] { background: var(--w-bone); border-color: #E0D5BF; }
.wcat[data-tone="ink"]  {
  background: var(--w-espresso);
  border-color: var(--w-espresso);
  color: #fff;
}
.wcat[data-tone="ink"] .wcat__label { color: rgba(255,255,255,0.65); }
.wcat[data-tone="ink"] .wcat__title { color: #fff; }
.wcat[data-tone="ink"] .wcat__sub   { color: rgba(255,255,255,0.55); }
.wcat[data-tone="ink"] .wcat__num   { color: rgba(255,255,255,0.10); }

/* ─── Archive — big hero ─── */
.warxhero {
  position: relative;
  background: linear-gradient(165deg, #0e2230 0%, #0a1721 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 26px;
  padding: 22px 22px 22px;
  overflow: hidden;
  min-height: 200px;
  display: flex; flex-direction: column; justify-content: flex-end;
  box-shadow: var(--tile-shadow);
}
.warxhero::before {
  content: "1995";
  position: absolute;
  right: -20px; top: -28px;
  font-weight: 900; font-style: italic;
  font-size: 200px;
  line-height: 0.78;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1.8px rgba(91,211,228,0.35);
  pointer-events: none;
}
.warxhero__kicker {
  font-family: var(--font-mono);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--w-heritage);
  text-transform: uppercase;
  position: relative;
}
.warxhero__title {
  margin: 8px 0 0;
  font-size: 26px; font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  position: relative;
  word-break: keep-all;
}
.warxhero__sub {
  margin: 8px 0 0;
  font-size: 12.5px;
  color: rgba(220,240,245,0.72);
  line-height: 1.5;
  max-width: 88%;
  position: relative;
  word-break: keep-all;
}
.warxhero__cta {
  margin-top: 14px;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(91,211,228,0.16);
  border: 1px solid rgba(91,211,228,0.38);
  color: #d6f0f5;
  font-size: 11.5px;
  font-weight: 700;
  position: relative;
}

/* ─── Archive — bottom site link row ─── */
.warxlink {
  margin-top: 14px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px;
  background: var(--w-card);
  border: 1px solid var(--w-rule);
  border-radius: 18px;
  box-shadow: var(--tile-shadow);
}
.warxlink__label {
  font-family: var(--font-mono);
  font-size: 9.5px; font-weight: 700;
  letter-spacing: 0.10em;
  color: var(--w-mute);
  text-transform: uppercase;
}
.warxlink__title {
  margin-top: 4px;
  font-size: 15px; font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--w-ink);
}
.warxlink__chev {
  width: 32px; height: 32px; border-radius: 999px;
  background: var(--w-espresso); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* ─── Page title (used on tab pages) ─── */
.wpage-title {
  margin: 0;
  font-size: 26px; font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--w-ink);
  word-break: keep-all;
}
.wpage-title em { font-style: normal; color: var(--w-red); }


/* ─── App dialog (custom replacement for native alert) ─── */
.wappdialog {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50%;
  width: min(480px, 100vw);
  transform: translateX(-50%);
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: calc(var(--safe-top) + 18px) 24px calc(var(--safe-bottom) + 18px);
}
.wappdialog.is-open { display: flex; }
.wappdialog__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20,16,14,0.52);
  backdrop-filter: blur(5px);
}
.wappdialog__box {
  position: relative;
  width: min(320px, 100%);
  padding: 22px 20px 18px;
  border-radius: 20px;
  background: var(--w-card);
  border: 1px solid var(--w-rule);
  box-shadow: 0 24px 70px rgba(20,12,8,0.28);
  color: var(--w-ink);
}
.wappdialog__title {
  margin: 0;
  font-size: 17px;
  font-weight: 850;
  letter-spacing: -0.02em;
  color: var(--w-ink);
}
.wappdialog__message {
  margin: 10px 0 18px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--w-mute);
  word-break: keep-all;
  white-space: pre-line;
}
.wappdialog__code {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  margin: 0 0 16px;
  padding: 14px 12px;
  border: 1px solid var(--w-rule);
  border-radius: 12px;
  background: var(--w-card);
  text-align: center;
}
.wappdialog__code[hidden] {
  display: none;
}
.wappdialog__code-value {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(13px, 4.4vw, 18px);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--w-ink);
  white-space: nowrap;
  user-select: all !important;
  -webkit-user-select: all !important;
  -webkit-touch-callout: default !important;
}
.wappdialog__copy {
  align-self: center;
  border: 0;
  border-radius: 10px;
  padding: 9px 22px;
  background: var(--w-red);
  color: #fff;
  font: inherit;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
}
.wappdialog__copy:active { filter: brightness(0.92); }
.wappdialog__button {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 14px;
  background: var(--w-red);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
}
.wappdialog[data-kind="error"] .wappdialog__button { background: var(--w-espresso); }

/* ═══════════════════════════════════════════════════════════
   DARK THEME — :root[data-theme="dark"] 로 제어 (theme.js)
   시스템 추종 + 수동 토글. 중성 차콜에 아주 약한 레드 언더톤을 더한 다크 표면.
   ═══════════════════════════════════════════════════════════ */
:root[data-theme="dark"] {
  --w-paper:     #0C0A0A;
  --w-card:      #151414;
  --w-ink:       #F3F1F0;
  --w-ink-sub:   #C8C2C0;
  --w-mute:      #98908D;
  --w-rule:      #2A2828;
  --w-bone:      #1D1B1B;
  --w-espresso:  #121111;
  --w-red-soft:  #2A1716;
  --w-cyan-soft: #10282D;
  --w-red-text:  #FF8A80;
  --w-red-deep-text: #FF9B91;
  --w-cyan-text: #63D7DD;
  --w-sat-text:  #8AB4FF;
  --tile-shadow: 0 1px 0 rgba(0,0,0,0.40), 0 16px 30px -20px rgba(0,0,0,0.80);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --w-paper: #0C0A0A; --w-card: #151414; --w-ink: #F3F1F0; --w-ink-sub: #C8C2C0;
    --w-mute: #98908D; --w-rule: #2A2828; --w-bone: #1D1B1B; --w-espresso: #121111;
    --w-red-soft: #2A1716; --w-cyan-soft: #10282D;
    --w-red-text: #FF8A80; --w-red-deep-text: #FF9B91; --w-cyan-text: #63D7DD; --w-sat-text: #8AB4FF;
  }
}
:root[data-theme="dark"],
:root[data-theme="dark"] body { background: var(--w-paper); }
:root[data-theme="dark"] .wapp__bg {
  background: transparent;
}

:root[data-theme="dark"] .wstat--bone,
:root[data-theme="dark"] .wlive-after,
:root[data-theme="dark"] .wcat[data-tone="bone"] { border-color: var(--w-rule); }
:root[data-theme="dark"] .wfanempty,
:root[data-theme="dark"] .winfo,
:root[data-theme="dark"] .wform__consent,
:root[data-theme="dark"] .wseason-note { background: rgba(255,255,255,0.03); }
:root[data-theme="dark"] .wform__paste,
:root[data-theme="dark"] .wform__clear,
:root[data-theme="dark"] .wpanel__apply,
:root[data-theme="dark"] .igc-input,
:root[data-theme="dark"] .igc-paste,
:root[data-theme="dark"] .igc-clear,
:root[data-theme="dark"] .igc-btn--secondary,
:root[data-theme="dark"] .igc-row,
:root[data-theme="dark"] .igc-list,
:root[data-theme="dark"] .wmanage-copy,
:root[data-theme="dark"] .wmanage__secondary,
:root[data-theme="dark"] .wmanage-ig__guide,
:root[data-theme="dark"] .wmanage-channel {
  background: var(--w-card);
}
:root[data-theme="dark"] .wmanage-ig__guide--quiet {
  background: transparent;
  border-color: transparent;
  color: var(--w-mute);
}
:root[data-theme="dark"] .wform__file,
:root[data-theme="dark"] .igc-clear,
:root[data-theme="dark"] .igc-footer-note,
:root[data-theme="dark"] .wmanage-copy {
  border-color: var(--w-rule);
}
:root[data-theme="dark"] .wform__file:hover,
:root[data-theme="dark"] .wpanel__body .wfan:hover,
:root[data-theme="dark"] .whomenotice__item:active,
:root[data-theme="dark"] .wmanage-copy:active,
:root[data-theme="dark"] .wmanage__secondary:active {
  background: rgba(255,255,255,0.05);
}

:root[data-theme="dark"] .wgreet__title em,
:root[data-theme="dark"] .wapply__eyebrow,
:root[data-theme="dark"] .wform__paste,
:root[data-theme="dark"] .wform__consent-note a,
:root[data-theme="dark"] .wpanel__eyebrow,
:root[data-theme="dark"] .wpage-title em,
:root[data-theme="dark"] .wform__hint a,
:root[data-theme="dark"] .wform__consent a,
:root[data-theme="dark"] .wform__label .req,
:root[data-theme="dark"] .wsa__team--ours,
:root[data-theme="dark"] .wsa__date i.is-sun,
:root[data-theme="dark"] .wmanage__status.is-error,
:root[data-theme="dark"] .wmanage__danger,
:root[data-theme="dark"] .wmanage-badge {
  color: var(--w-red-text);
}
:root[data-theme="dark"] .wpanel__manage {
  color: #FFD93D;
}
:root[data-theme="dark"] .wpanel__manage:active {
  color: #FEE500;
}
:root[data-theme="dark"] .wdest--hermes .wdest__kicker,
:root[data-theme="dark"] .wdest--reds .wdest__kicker,
:root[data-theme="dark"] .wpanel--official .wpanel__eyebrow,
:root[data-theme="dark"] .wfeedpost[data-src="hermes"] .wfeedpost__meta .src,
:root[data-theme="dark"] .wfeedpost[data-src="reds"] .wfeedpost__meta .src,
:root[data-theme="dark"] .wmonth__head h4,
:root[data-theme="dark"] .wform__file--has .wform__file-name,
:root[data-theme="dark"] .wsa__ha--home {
  color: var(--w-red-deep-text);
}
:root[data-theme="dark"] .wdest--history .wdest__kicker,
:root[data-theme="dark"] .wfeedpost[data-src="history"] .wfeedpost__meta .src {
  color: var(--w-cyan-text);
}

:root[data-theme="dark"] .wmonth__head {
  background: linear-gradient(180deg, rgba(255,255,255,0.045) 0%, rgba(255,255,255,0.018) 100%);
  border-bottom-color: var(--w-rule);
}
:root[data-theme="dark"] .wcat[data-tone="cyan"] {
  background: var(--w-cyan-soft);
  border-color: #214A47;
}
:root[data-theme="dark"] .wfan__sep,
:root[data-theme="dark"] .wpost__meta .dot,
:root[data-theme="dark"] .wfeedpost__meta .dot { color: rgba(255,255,255,0.22); }
:root[data-theme="dark"] .wfan[data-platform] .wfan__platform { color: var(--w-ink-sub); }
:root[data-theme="dark"] .wfanpost__platform-chip {
  background: rgba(12,10,10,0.72);
  border: 1px solid rgba(255,255,255,0.16);
  color: var(--w-ink-sub);
}
:root[data-theme="dark"] .wfanpost__platform-chip .dot {
  box-shadow: 0 0 0 1px rgba(255,255,255,0.30);
}
:root[data-theme="dark"] .wfanpost[data-platform="kakao_openchat"] .wfanpost__platform-chip .dot { background: #FEE500; }
:root[data-theme="dark"] .wfanpost[data-platform="threads"] .wfanpost__platform-chip .dot { background: #F3F1F0; }
:root[data-theme="dark"] .wform-choice span,
:root[data-theme="dark"] .wugc-choice span {
  background: #141111;
  color: var(--w-ink);
  border-color: rgba(255,255,255,0.14);
}
:root[data-theme="dark"] .wform-choice input:checked + span,
:root[data-theme="dark"] .wugc-choice input:checked + span {
  background: rgba(175,35,28,0.22);
  color: #F3D7D5;
  border-color: rgba(240,167,162,0.60);
  box-shadow: 0 0 0 3px rgba(175,35,28,0.18);
}
:root[data-theme="dark"] .wugc-field select,
:root[data-theme="dark"] .wugc-field textarea {
  background: #0C0A0A;
  color: var(--w-ink);
  border-color: rgba(255,255,255,0.14);
}
:root[data-theme="dark"] .wugc-modal__secondary {
  background: #24201E;
  color: var(--w-ink);
}
:root[data-theme="dark"] .wugc-policy-link {
  color: #F0A7A2;
}
:root[data-theme="dark"] .wfan__chev,
:root[data-theme="dark"] .wpost__chev,
:root[data-theme="dark"] .wfeedpost__chev,
:root[data-theme="dark"] .whomenotice__chev { color: rgba(255,255,255,0.34); }
:root[data-theme="dark"] .wsa__date i.is-sat { color: var(--w-sat-text); }
:root[data-theme="dark"] .whot__rank { color: rgba(255,255,255,0.07); }
:root[data-theme="dark"] .wcat[data-tone="cyan"] .wcat__num,
:root[data-theme="dark"] .wcat[data-tone="bone"] .wcat__num { color: rgba(255,255,255,0.06); }
:root[data-theme="dark"] .wfan[data-platform="twitter"] .wfan__badge,
:root[data-theme="dark"] .wfan[data-platform="threads"] .wfan__badge,
:root[data-theme="dark"] .wfan[data-platform="tiktok"] .wfan__badge { background: var(--w-bone); }
:root[data-theme="dark"] .wh2h__cell--d {
  background: var(--w-bone);
}
:root[data-theme="dark"] .wlive-result--d {
  background: var(--w-bone);
  color: var(--w-ink-sub);
  border: 1px solid var(--w-rule);
}
:root[data-theme="dark"] .wsa__res--d {
  background: var(--w-bone);
  color: rgba(255,255,255,0.62);
  border: 1px solid var(--w-rule);
}
:root[data-theme="dark"] .igc-status.is-ok,
:root[data-theme="dark"] .wmanage__status.is-ok { color: #53C293; }
:root[data-theme="dark"] .igc-row i,
:root[data-theme="dark"] .wmanage-channel i { color: rgba(255,255,255,0.34); }

:root[data-theme="dark"] .wdock {
  border-color: var(--w-red);
  box-shadow: 0 18px 40px rgba(0,0,0,0.46);
}
:root[data-theme="dark"] .wdock__btn { color: rgba(255,255,255,0.60); }
:root[data-theme="dark"] .wdock__btn--active {
  background: var(--w-red);
  color: #fff;
}
:root[data-theme="dark"] .wpushset__switch span {
  background: var(--w-rule);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}
:root[data-theme="dark"] .wpushset__switch span::after {
  background: #AFA7A4;
  box-shadow: 0 2px 6px rgba(0,0,0,0.48);
}
:root[data-theme="dark"] .wpushset__switch input:checked + span {
  background: var(--w-red);
}
:root[data-theme="dark"] .wmatch--live {
  background:
    radial-gradient(120% 70% at 6% 0%, rgba(175,35,28,0.12), transparent 58%),
    linear-gradient(165deg, var(--w-card) 0%, var(--w-espresso) 62%, var(--w-paper) 100%);
}
:root[data-theme="dark"] .wmatch--ht {
  background:
    radial-gradient(120% 70% at 6% 0%, rgba(99,215,221,0.08), transparent 58%),
    linear-gradient(165deg, var(--w-card) 0%, var(--w-espresso) 62%, var(--w-paper) 100%);
}
:root[data-theme="dark"] .wmatch--ft {
  background: linear-gradient(165deg, var(--w-card) 0%, var(--w-espresso) 62%, var(--w-paper) 100%);
}
/* ─── 설정 패널: 테마 스위처 ─── */
.wpushset__label {
  font-family: var(--font-mono);
  font-size: 9.5px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--w-mute);
  padding: 2px 2px 8px;
}
.wpushset__label + .wpushset__label,
.wthemeset + .wpushset__label { margin-top: 14px; }
.wthemeset { display: flex; gap: 6px; }
.wthemeset__seg {
  flex: 1;
  min-height: 44px;
  padding: 8px 6px;
  border-radius: 12px;
  border: 1px solid var(--w-rule);
  background: var(--w-paper);
  color: var(--w-mute);
  font-size: 12.5px; font-weight: 700;
  letter-spacing: -0.01em;
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  cursor: pointer;
  transition: background 140ms ease, color 140ms ease, border-color 140ms ease;
}
.wthemeset__seg .ic { width: 15px; height: 15px; flex-shrink: 0; }
.wthemeset__seg.is-active {
  background: var(--w-ink);
  color: var(--w-paper);
  border-color: var(--w-ink);
}
