/* ==========================================================================
   사커 매니아 - Design System
   Palette: Navy(#0B1E3D) + Red(#E4001B) + Gold(#FFC72C) accent
   Type: Black Han Sans(display) / Oswald(numbers, labels) / Noto Sans KR(body)
   Signature: Stadium scoreboard strip (LED-style live score ticker)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Gothic+A1:wght@700;800;900&family=Oswald:wght@400;500;600;700&family=Noto+Sans+KR:wght@400;500;700;900&display=swap');

:root {
  /* Color tokens */
  --navy-deep: #0a1830;
  --navy: #0e2447;
  --navy-light: #1a3766;
  --red: #e4001b;
  --red-dark: #a5000f;
  --gold: #ffc72c;
  --bg: #f3f4f7;
  --card-bg: #ffffff;
  --line: #e2e5ec;
  --text: #14161f;
  --text-soft: #5b6070;
  --text-invert: #f5f6fa;

  /* Type */
  --font-display: 'Gothic A1', sans-serif;
  --font-number: 'Oswald', sans-serif;
  --font-body: 'Noto Sans KR', sans-serif;

  /* Layout */
  --max-w: 1200px;
  --radius: 10px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

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

.site-header {
  background: var(--navy-deep);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--red);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 26px;
  color: var(--text-invert);
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo span { color: var(--red); }
.logo-mark {
  width: 30px;
  height: 30px;
  object-fit: contain;
  flex-shrink: 0;
}

.main-nav { display: flex; gap: 4px; }

.main-nav a {
  font-family: var(--font-number);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.5px;
  color: #b9c2d6;
  padding: 10px 16px;
  border-radius: 6px;
  transition: color 0.15s ease, background 0.15s ease;
  text-transform: uppercase;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--text-invert);
  background: var(--navy-light);
}

.main-nav a.active { color: var(--gold); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-invert);
  font-size: 24px;
  cursor: pointer;
}

@media (max-width: 900px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy-deep);
    flex-direction: column;
    padding: 8px 24px 16px;
    display: none;
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; }
}

/* ==========================================================================
   Scoreboard Strip — signature element
   Segmented LED-style live score ticker, like a stadium electronic board
   ========================================================================== */

.scoreboard {
  background: #f0f2f6;
  background-image:
    repeating-linear-gradient(0deg, rgba(10,24,48,0.05) 0px, rgba(10,24,48,0.05) 1px, transparent 1px, transparent 3px);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
}

.scoreboard-track {
  display: flex;
  gap: 0;
  padding: 10px 0;
  animation: scoreboard-scroll 38s linear infinite;
  width: max-content;
}

@keyframes scoreboard-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.score-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 22px;
  border-right: 1px solid var(--line);
  white-space: nowrap;
  font-family: var(--font-number);
}

.score-item .league-tag {
  font-size: 11px;
  color: #fff;
  background: var(--navy-deep);
  font-weight: 600;
  letter-spacing: 0.5px;
  border: none;
  padding: 2px 7px;
  border-radius: 3px;
}

.score-item .teams {
  color: var(--text, #14161f);
  font-size: 14px;
  font-weight: 500;
}

.score-item .score {
  color: var(--navy-deep);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 2px 8px;
  border-radius: 4px;
}

.score-item .live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 1.4s ease-in-out infinite;
}

/* 전광판 속 주요 뉴스 항목 */
.score-item.news-item {
  cursor: pointer;
  transition: background 0.15s ease;
}
.score-item.news-item:hover {
  background: rgba(10,24,48,0.05);
}
.score-item.news-item .league-tag.news-tag {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
}
.score-item.news-item .teams {
  font-weight: 600;
  max-width: 360px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.score-item.score-empty {
  border-right: none;
  color: var(--text-soft);
  opacity: 0.8;
  padding: 6px 24px;
}
.score-item.score-empty .teams { color: inherit; font-weight: 400; }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

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

.hero {
  background: linear-gradient(160deg, rgba(10,24,48,0.15) 0%, rgba(10,24,48,0.35) 100%), url('../images/hero/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  color: var(--text-invert);
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 360px;
  height: 360px;
  border: 2px solid rgba(255,255,255,0.06);
  border-radius: 50%;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-family: var(--font-number);
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.35;
  letter-spacing: -0.5px;
  word-break: keep-all;
  margin-bottom: 18px;
}

.hero-title .accent { color: var(--red); }

.hero-desc {
  font-size: 16px;
  color: #c7cede;
  max-width: 560px;
  margin-bottom: 28px;
}

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

.btn {
  font-family: var(--font-number);
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 13px 26px;
  border-radius: 6px;
  font-size: 15px;
  transition: transform 0.15s ease, background 0.15s ease;
  display: inline-block;
}

.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: #ff2338; transform: translateY(-2px); }

.btn-ghost {
  border: 1.5px solid rgba(255,255,255,0.35);
  color: var(--text-invert);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }

/* ==========================================================================
   Section headers
   ========================================================================== */

.section { padding: 56px 0; }
.section.alt { background: #ebedf2; }

/* 광고 슬롯 */
.ad-slot {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}
.ad-slot-inner {
  min-height: 100px;
  background: #f0f2f6;
  border: 1.5px dashed #c7cbd6;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ad-slot-tag {
  position: absolute;
  top: 6px;
  left: 26px;
  font-size: 10px;
  font-weight: 700;
  color: #9199ad;
  letter-spacing: 1px;
  background: #fff;
  padding: 1px 6px;
  border-radius: 3px;
  border: 1px solid #d8dbe4;
}
.ad-slot-placeholder {
  font-size: 13px;
  color: #9199ad;
}
.ad-slot-inner.ad-slot-filled {
  background: none;
  border: none;
  padding: 0;
  overflow: hidden;
}
.ad-slot-inner.ad-slot-filled img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}
@media (min-width: 768px) {
  .ad-slot-inner { min-height: 140px; }
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 26px;
  border-bottom: 3px solid var(--navy-deep);
  padding-bottom: 14px;
}

.section-head .label-num {
  font-family: var(--font-number);
  font-size: 13px;
  color: var(--red);
  font-weight: 600;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 4px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 28px;
  line-height: 1.4;
  letter-spacing: -0.3px;
  word-break: keep-all;
  color: var(--text);
}

.section-head .more-link {
  font-family: var(--font-number);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--text-soft);
  padding-bottom: 2px;
}
.section-head .more-link:hover { color: var(--red); border-color: var(--red); }

/* ==========================================================================
   Card grid — league / category cards
   ========================================================================== */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.category-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(14,36,71,0.14);
}

.category-card .card-top {
  height: 108px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* 카테고리별 컬러 팔레트 */
.category-card.kor .card-top {
  background: linear-gradient(135deg, #ff4d4d 0%, #dc2626 100%);
}
.category-card.k1 .card-top {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}
.category-card.k2 .card-top {
  background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%);
}
.category-card.k34 .card-top {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}
.category-card.amateur .card-top {
  background: linear-gradient(135deg, #34a853 0%, #1e7a3a 100%);
}
.category-card.overseas .card-top {
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
}
.category-card.col .card-top {
  background: linear-gradient(135deg, #3a3d47 0%, #202226 100%);
}

/* K1 · K2 카드 — K리그 공식 로고를 배경에 엷게 */
.category-card.k1 .card-top::before,
.category-card.k2 .card-top::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/emblems/kleague-logo.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 150px;
  opacity: 0.45;
}

/* K3·K4 카드 — 두 리그 엠블럼을 나란히 진하게 */
.category-card.k34 .card-top::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/emblems/k3-emblem.png'), url('../images/emblems/k4-emblem.png');
  background-repeat: no-repeat, no-repeat;
  background-position: left 18% center, right 18% center;
  background-size: 90px, 90px;
  opacity: 0.55;
}

/* 해외파 카드 — 지구본 워터마크 */
.category-card.overseas .card-top::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/emblems/globe-watermark.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 165px;
  opacity: 0.38;
}

/* 국가대표 카드 — 태극기 워터마크 */
.category-card.kor .card-top::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../images/emblems/taegeukgi.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: 0.42;
}

.category-card .card-top .icon-num {
  font-family: var(--font-number);
  font-size: 42px;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  position: relative;
  z-index: 1;
}

.category-card.col .icon-num {
  font-size: 30px;
  letter-spacing: 1px;
}

.category-card .overseas-label {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.category-card .overseas-label .big {
  font-size: 44px;
  font-weight: 800;
}
.category-card .overseas-label .small {
  font-size: 22px;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
}

.category-card .card-body { padding: 18px 20px 22px; }

.category-card h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 17.5px;
  letter-spacing: -0.2px;
  margin-bottom: 6px;
}

.category-card p {
  font-size: 13.5px;
  color: var(--text-soft);
}

/* ==========================================================================
   News list — card-based article rows
   ========================================================================== */

.news-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
}

.news-feature {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.news-feature .thumb {
  height: 280px;
  background: linear-gradient(135deg, var(--navy-light), var(--navy-deep));
}

.news-feature .body { padding: 22px 24px 26px; }

.tag-pill {
  display: inline-block;
  font-family: var(--font-number);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #fff;
  background: var(--red);
  padding: 3px 9px;
  border-radius: 3px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.news-feature h3 {
  font-size: 21px;
  font-weight: 900;
  margin-bottom: 8px;
  line-height: 1.4;
}

.news-feature p { color: var(--text-soft); font-size: 14px; }

.news-side { display: flex; flex-direction: column; gap: 14px; }

.news-row {
  display: flex;
  gap: 14px;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  transition: box-shadow 0.15s ease;
}
.news-row:hover { box-shadow: 0 6px 16px rgba(14,36,71,0.10); }

.news-row .thumb-sm {
  width: 84px;
  height: 64px;
  border-radius: 6px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--navy-light), var(--navy));
}

.news-row .info h4 {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 6px;
}

.news-row .info .meta {
  font-family: var(--font-number);
  font-size: 11px;
  color: var(--text-soft);
  letter-spacing: 0.3px;
}

/* ==========================================================================
   Standings snapshot
   ========================================================================== */

.standings-wrap {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.standings-tabs {
  display: flex;
  background: var(--navy-deep);
}

.standings-tabs button {
  font-family: var(--font-number);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.5px;
  color: #9fabc4;
  background: none;
  border: none;
  padding: 13px 22px;
  cursor: pointer;
  border-bottom: 3px solid transparent;
}

.standings-tabs button.active {
  color: #fff;
  border-bottom-color: var(--red);
  background: rgba(255,255,255,0.04);
}

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

table.standings th {
  font-family: var(--font-number);
  font-size: 11.5px;
  letter-spacing: 0.5px;
  color: var(--text-soft);
  text-transform: uppercase;
  text-align: center;
  padding: 12px 8px;
  border-bottom: 2px solid var(--line);
}

table.standings th:first-child,
table.standings td:first-child { text-align: left; padding-left: 20px; }

table.standings td {
  text-align: center;
  padding: 11px 8px;
  font-size: 13.5px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-number);
}

table.standings td.team-name {
  font-family: var(--font-body);
  font-weight: 700;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* 팀 엠블럼 공통 스타일 */
.team-logo {
  object-fit: contain;
  vertical-align: -5px;
  flex-shrink: 0;
  margin-right: 6px;
}
.score-item .teams .team-logo { margin-right: 4px; vertical-align: -4px; }
.s-match .team-logo { margin-right: 4px; vertical-align: -5px; }
.promo-team .team-logo { margin-right: 6px; vertical-align: -6px; }

table.standings tr:hover { background: #f7f8fb; }

table.standings .rank {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: var(--navy-deep);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

table.standings tr:nth-child(-n+2) .rank { background: var(--red); }

table.standings td.pts { font-weight: 700; color: var(--navy-deep); }

/* ==========================================================================
   Page hero (sub-pages)
   ========================================================================== */

.page-hero {
  color: var(--text-invert);
  padding: 48px 0 42px;
}

.page-hero-inner .hero-eyebrow { margin-bottom: 10px; }

.page-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.4;
  letter-spacing: -0.3px;
  word-break: keep-all;
  margin-bottom: 10px;
}

.page-desc { color: #c7cede; font-size: 15px; max-width: 560px; }

/* ==========================================================================
   Match card (next match highlight)
   ========================================================================== */

.match-card {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy));
  border-radius: var(--radius);
  padding: 28px 32px;
  color: #fff;
}

.match-comp {
  font-family: var(--font-number);
  font-size: 12.5px;
  letter-spacing: 0.5px;
  color: var(--gold);
  text-align: center;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.match-teams {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.match-teams .team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
}

.team-badge {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-number);
  font-weight: 700;
  font-size: 15px;
}

.team-badge.alt { background: var(--navy-light); }

.match-vs {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.vs-txt {
  font-family: var(--font-number);
  font-size: 26px;
  font-weight: 700;
  color: var(--gold);
}

.vs-date, .vs-venue {
  font-family: var(--font-number);
  font-size: 12px;
  color: #a9b3c9;
}

@media (max-width: 600px) {
  .match-teams { gap: 18px; }
  .team-badge { width: 48px; height: 48px; font-size: 12px; }
  .vs-txt { font-size: 20px; }
}

/* ==========================================================================
   Schedule list
   ========================================================================== */

.schedule-list { display: flex; flex-direction: column; gap: 12px; }

.schedule-row {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.schedule-row .sr-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 16px;
  background: var(--navy);
  color: #fff;
}

.schedule-row.upcoming .sr-head { background: var(--red); }

.schedule-row .s-date {
  font-family: var(--font-number);
  font-size: 12.5px;
  color: #fff;
}

.schedule-row .s-comp {
  font-size: 11.5px;
  color: rgba(255,255,255,0.85);
}

.schedule-row .sr-body {
  padding: 14px 16px 16px;
}

.schedule-row .s-match {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-family: var(--font-number);
  font-size: 15px;
  font-weight: 500;
}

.schedule-row .s-match b { font-size: 19px; font-weight: 700; }

.schedule-row .sr-badge-wrap {
  text-align: center;
  margin-top: 12px;
}

.schedule-row .s-result {
  font-family: var(--font-number);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
  letter-spacing: 0.5px;
  display: inline-block;
}

.s-result.win { background: #e6f4ea; color: #1a7a3c; }
.s-result.draw { background: #eef0f3; color: #5b6070; }
.s-result.loss { background: #fce8e8; color: var(--red-dark); }
.s-result.soon { background: #fff4d9; color: #a67200; }

/* ==========================================================================
   Squad grid
   ========================================================================== */

.squad-tabs { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }

.squad-tabs button {
  font-family: var(--font-number);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 9px 18px;
  border-radius: 20px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--text-soft);
  cursor: pointer;
  transition: all 0.15s ease;
}

.squad-tabs button.active,
.squad-tabs button:hover {
  background: var(--navy-deep);
  color: #fff;
  border-color: var(--navy-deep);
}

.squad-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
}

.player-card {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 14px 16px;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.player-card:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(14,36,71,0.12); }

.player-photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-light), var(--navy-deep));
  color: #fff;
  font-family: var(--font-number);
  font-weight: 700;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}
.player-photo.photo {
  object-fit: cover;
  background: #eee;
}

.player-card h4 { font-size: 14.5px; font-weight: 900; margin-bottom: 4px; }
.player-card .p-team { font-size: 11.5px; color: var(--text-soft); }
.player-card .p-meta { font-size: 10.5px; color: var(--text-soft); opacity: 0.75; display: block; margin-bottom: 2px; }
.player-card .p-pos {
  display: inline-block;
  font-family: var(--font-number);
  font-size: 10px;
  font-weight: 700;
  color: var(--red);
  background: rgba(228,0,27,0.08);
  padding: 2px 8px;
  border-radius: 10px;
  margin-bottom: 8px;
}

/* ==========================================================================
   Stat strip
   ========================================================================== */

.stat-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2px;
  background: var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.stat-box {
  background: var(--card-bg);
  padding: 26px 10px;
  text-align: center;
}

.stat-box .stat-num {
  display: block;
  font-family: var(--font-number);
  font-size: 30px;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 4px;
}

.stat-box .stat-label {
  font-size: 12.5px;
  color: var(--text-soft);
}

@media (max-width: 700px) {
  .stat-strip { grid-template-columns: repeat(3, 1fr); }
}

.round-tag {
  font-family: var(--font-number);
  font-size: 12.5px;
  color: var(--text-soft);
}

.standings-legend {
  display: flex;
  gap: 24px;
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--text-soft);
}

.standings-legend .dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  margin-right: 6px;
  vertical-align: middle;
}

.dot.afc { background: var(--red); }
.dot.relegation-dot { background: #8a8f9c; }

table.standings.full tr.relegation td.rank {
  background: #8a8f9c;
}

table.standings.full tr.relegation .rank { background: #8a8f9c; }

/* ==========================================================================
   Ranking columns (top scorers / assists)
   ========================================================================== */

.ranking-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.ranking-col {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
}

.ranking-title {
  font-family: var(--font-body);
  font-weight: 900;
  font-size: 16px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--navy-deep);
}

.ranking-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.ranking-list li:last-child { border-bottom: none; }

.ranking-list .r-pos {
  font-family: var(--font-number);
  font-weight: 700;
  font-size: 13px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--text-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ranking-list li:first-child .r-pos { background: var(--gold); color: var(--navy-deep); }

.ranking-list .r-name {
  flex: 1;
  font-size: 14px;
  font-weight: 700;
}
.ranking-list .r-name em {
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  color: var(--text-soft);
  margin-left: 6px;
}

.ranking-list .r-val {
  font-family: var(--font-number);
  font-weight: 700;
  font-size: 14px;
  color: var(--red);
}

@media (max-width: 700px) {
  .ranking-cols { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Promotion race strip (K리그2)
   ========================================================================== */

.promo-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.promo-card {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-left: 4px solid var(--text-soft);
  border-radius: 8px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.promo-card.direct { border-left-color: var(--red); }
.promo-card.playoff { border-left-color: var(--gold); }
.promo-card.watch { border-left-color: #8a8f9c; }

.promo-tag {
  font-family: var(--font-number);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-soft);
  text-transform: uppercase;
}

.promo-team { font-size: 17px; font-weight: 900; }

.promo-note {
  font-family: var(--font-number);
  font-size: 12.5px;
  color: var(--text-soft);
}

table.standings.full tr.promotion .rank { background: var(--red); }
table.standings.full tr.playoff-row .rank { background: var(--gold); color: var(--navy-deep); }

.dot.promotion-dot { background: var(--red); }
.dot.playoff-dot { background: var(--gold); }

/* ==========================================================================
   League switch tabs (K3·K4)
   ========================================================================== */

.league-switch { display: flex; gap: 10px; margin-bottom: 30px; }

.league-switch button {
  font-family: var(--font-number);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.5px;
  padding: 11px 26px;
  border-radius: 8px;
  border: 2px solid var(--line);
  background: #fff;
  color: var(--text-soft);
  cursor: pointer;
  transition: all 0.15s ease;
}

.league-switch button.active {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  color: #fff;
}

/* ==========================================================================
   Local story cards (K3·K4)
   ========================================================================== */

.local-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.local-card {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.local-card:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(14,36,71,0.12); }

.local-thumb {
  height: 150px;
  background: linear-gradient(135deg, var(--navy-light), var(--navy-deep));
}

.local-body { padding: 18px 20px 20px; }
.local-body h3 { font-size: 15.5px; font-weight: 900; margin: 8px 0 8px; line-height: 1.4; }
.local-body p { font-size: 13px; color: var(--text-soft); }

/* ==========================================================================
   Club chip directory (K3·K4)
   ========================================================================== */

.club-chip-grid { display: flex; flex-wrap: wrap; gap: 10px; }

.club-chip {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 20px;
  background: var(--card-bg);
  border: 1.5px solid var(--line);
  color: var(--text);
  cursor: pointer;
  transition: all 0.15s ease;
}
.club-chip:hover { border-color: var(--red); color: var(--red); }

/* ==========================================================================
   Korean players abroad strip (해외축구)
   ========================================================================== */

.player-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.ov-player-card {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.ov-player-card:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(14,36,71,0.12); }

.ov-player-photo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff;
  font-family: var(--font-number);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.ov-player-card h4 { font-size: 15px; font-weight: 900; margin-bottom: 4px; }
.ov-player-card .ov-team { font-size: 11px; color: var(--text-soft); display: block; margin-bottom: 10px; }

.ov-stats {
  display: flex;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-number);
  font-size: 12px;
  font-weight: 700;
  color: var(--navy-deep);
}
.ov-stats span {
  background: var(--bg);
  padding: 3px 9px;
  border-radius: 4px;
}

/* ==========================================================================
   Wide news list (used standalone, no feature article)
   ========================================================================== */

.news-side.wide { max-width: 720px; }

/* ==========================================================================
   Column filter chips
   ========================================================================== */

.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }

.filter-chip {
  font-family: var(--font-number);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 9px 16px;
  border-radius: 4px;
  border: 2px solid transparent;
  background: var(--red);
  color: #fff;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
  display: inline-block;
}

.filter-chip:hover { opacity: 0.85; }
.filter-chip.active { border-color: var(--navy-deep); }

.filter-chip.filter-choi { background: #1d6fd8; }
.filter-chip.filter-kim { background: #0f6e56; }
.filter-chip.filter-mine { background: #b8860b; }
.filter-chip.filter-obit { background: var(--navy-deep); }

/* ==========================================================================
   Featured column article
   ========================================================================== */

.col-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.col-feature-thumb {
  height: 320px;
  background: linear-gradient(135deg, var(--navy-light), var(--navy-deep));
}

.col-feature-body { padding: 8px 32px 8px 0; }

.col-feature-body h2 {
  font-size: 25px;
  font-weight: 900;
  line-height: 1.4;
  margin: 12px 0 14px;
}

.col-feature-body p {
  font-size: 14.5px;
  color: var(--text-soft);
  margin-bottom: 18px;
}

.col-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-number);
  font-size: 12px;
  color: var(--text-soft);
}
.col-meta .author { font-weight: 700; color: var(--text); font-size: 20px; }

@media (max-width: 800px) {
  .col-feature { grid-template-columns: 1fr; }
  .col-feature-body { padding: 8px 20px 24px; }
  .col-feature-thumb { height: 220px; }
}

/* ==========================================================================
   Column card grid
   ========================================================================== */

.col-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}

.col-card {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.col-card:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(14,36,71,0.12); }

.col-card-thumb {
  height: 160px;
  background: linear-gradient(135deg, var(--red-dark), var(--navy-deep));
}

.col-card-body { padding: 18px 20px 20px; }

.tag-pill.alt { background: var(--navy-deep); }

.col-card-body h3 {
  font-size: 15.5px;
  font-weight: 900;
  line-height: 1.4;
  margin: 8px 0 8px;
}

.col-card-body p {
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 12px;
}

/* ==========================================================================
   Data room search & placeholder note
   ========================================================================== */

.dr-search-box {
  display: flex;
  gap: 10px;
  max-width: 560px;
}

.dr-search-input {
  flex: 1;
  padding: 14px 18px;
  border-radius: 8px;
  border: 1.5px solid var(--line);
  font-family: var(--font-body);
  font-size: 14px;
}
.dr-search-input:focus { outline: none; border-color: var(--navy-deep); }

.dr-search-btn { padding: 14px 26px; }

.dr-placeholder-note {
  margin-top: 28px;
  padding: 16px 20px;
  border-radius: 8px;
  background: #fff4d9;
  border: 1px solid #f0d999;
  font-size: 13.5px;
  color: #7a5c00;
}

/* ==========================================================================
   Home video section
   ========================================================================== */

.home-video-wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  align-items: center;
}

.home-video-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
}

.home-video-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

.home-video-info h3 {
  font-size: 19px;
  font-weight: 900;
  margin: 10px 0 10px;
  line-height: 1.4;
}

.home-video-info p {
  font-size: 14px;
  color: var(--text-soft);
}

@media (max-width: 800px) {
  .home-video-wrap { grid-template-columns: 1fr; }
}

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

.site-footer {
  background: var(--navy-deep);
  color: #8b96b3;
  padding: 40px 0 26px;
  margin-top: 40px;
  border-top: 3px solid var(--red);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 30px;
}

.footer-grid .logo { margin-bottom: 12px; }
.footer-grid p.desc { font-size: 13px; line-height: 1.7; max-width: 280px; }

.footer-col h5 {
  font-family: var(--font-number);
  font-size: 13px;
  letter-spacing: 0.5px;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.footer-col ul li { margin-bottom: 9px; font-size: 13.5px; }
.footer-col ul li a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  font-size: 12.5px;
  font-family: var(--font-number);
  letter-spacing: 0.3px;
}

@media (max-width: 900px) {
  .news-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 44px 0 40px; }
}

/* 가로형 푸터 (footballist 스타일 참고) */
.footer-v3-header {
  text-align: center;
  margin-bottom: 8px;
}
.footer-v3-header .logo {
  justify-content: center;
  font-size: 22px;
}
.footer-v3-tagline {
  font-size: 12px;
  letter-spacing: 3px;
  color: #8b96b3;
  margin-top: 6px;
}
.footer-v3-divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--red);
  margin: 18px auto;
}
.footer-v3-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-v3-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.footer-v3-links a {
  color: #c3cadd;
  font-size: 13px;
  letter-spacing: 0.4px;
  padding: 6px 16px;
  position: relative;
}
.footer-v3-links a:first-child { padding-left: 0; }
.footer-v3-links a:hover { color: #fff; }
.footer-v3-links a:not(:first-child)::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 11px;
  background: rgba(255,255,255,0.2);
}
.footer-v3-info {
  font-size: 12.5px;
  color: #8b96b3;
  line-height: 1.7;
  text-align: center;
}
.footer-v3-info .line { min-height: 15px; }
.footer-v3-copy {
  margin-top: 12px;
  font-size: 12.5px;
  color: #8b96b3;
  font-family: var(--font-number);
  letter-spacing: 0.5px;
  text-align: center;
}
@media (max-width: 600px) {
  .footer-v3-links a { padding: 6px 12px; }
  .footer-v3-links a:not(:first-child)::before { display: none; }
}

/* ==========================================================================
   Mobile polish — table scroll, tap targets, spacing
   ========================================================================== */

@media (max-width: 760px) {
  /* 순위표: 컬럼 많은 표는 가로 스크롤 처리 */
  .standings-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  table.standings { min-width: 560px; }
  table.standings.full { min-width: 680px; }

  .container { padding: 0 16px; }
  .section { padding: 40px 0; }

  .section-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  .section-head h2 { font-size: 24px; }

  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .squad-grid { grid-template-columns: repeat(2, 1fr); }

  .col-grid { grid-template-columns: 1fr; }
  .local-grid { grid-template-columns: 1fr; }
  .player-strip { grid-template-columns: repeat(2, 1fr); }

  .dr-search-box { flex-direction: column; }
  .dr-search-btn { width: 100%; }

  .promo-strip { grid-template-columns: 1fr 1fr; }

  .hero-title { font-size: 30px; }
  .hero-desc { font-size: 14px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; }

  /* 모바일 폰트 사이즈 전반 축소 */
  .page-title { font-size: 24px; }
  .page-desc { font-size: 13.5px; }
  .section-head h2 { font-size: 20px; }
  .news-feature h3 { font-size: 17px; }
  .category-card .card-top .icon-num { font-size: 30px; }
  .category-card .overseas-label .big { font-size: 32px; }
  .category-card .overseas-label .small { font-size: 16px; }
  .category-card h3 { font-size: 16px; }
  .obit-title-main { font-size: 20px; }
}

@media (max-width: 420px) {
  .card-grid { grid-template-columns: 1fr; }
  .squad-grid { grid-template-columns: repeat(2, 1fr); }
  .player-strip { grid-template-columns: 1fr; }
  .promo-strip { grid-template-columns: 1fr; }
  .hero-title { font-size: 26px; }
  .page-title { font-size: 22px; }
}

/* 리그 페이지 - 주요 리포트 섹션 */
.report-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.report-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.report-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(14,36,71,0.14);
}
.report-thumb {
  height: 130px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  background-size: cover;
  background-position: center;
}
.report-body { padding: 16px 18px 18px; }
.report-body h3 {
  font-size: 15.5px;
  font-weight: 800;
  margin: 8px 0 6px;
  line-height: 1.4;
}
.report-body p {
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 10px;
  line-height: 1.6;
}
.report-date {
  font-family: var(--font-number);
  font-size: 11.5px;
  color: var(--text-soft);
}

/* K리그2 - 올해의 K2 글 박스 */
.k2-yearly-story {
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: var(--radius);
  padding: 28px 32px;
}
.k2-yearly-story .tag-pill { margin-bottom: 14px; }
.k2-yearly-story p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 14px;
}
.k2-yearly-story p:last-child { margin-bottom: 0; }
.k2-yearly-story strong { color: var(--red); }

/* K리그2 하단 - 짧은 한 줄 요약 */
.k2-oneline-summary {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
}
.k2-oneline-summary .tag-pill { flex-shrink: 0; }
