/* =============================================
   QiuQiu Esports — Design System

   设计参考：blast.tv / ESL / PGL
   核心原则：编辑性 / 数据优先 / 克制
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow+Condensed:wght@400;500;600;700&family=Inter:wght@400;500;600&family=Noto+Sans+SC:wght@400;500;700&display=swap');

/* ─── 设计标记 ─────────────────────────────── */
:root {
  /* 背景层级 */
  --black:     #0A0A0A;
  --surface:   #111111;
  --surface-2: #181818;
  --surface-3: #212121;

  /* 边框 */
  --line:      rgba(255,255,255,0.06);
  --line-2:    rgba(255,255,255,0.12);
  --line-3:    rgba(255,255,255,0.25);

  /* 强调色 — 克制使用 */
  --pink:      #FF1F5A;
  --pink-dim:  rgba(255,31,90,0.12);
  --blue:      #1D6FFF;
  --blue-dim:  rgba(29,111,255,0.12);

  /* 文字 */
  --white:     #FFFFFF;
  --grey-1:    #C0C0C0;
  --grey-2:    #777777;
  --grey-3:    #404040;

  /* 状态 */
  --live:      #22C55E;
  --live-dim:  rgba(34,197,94,0.12);

  /* 字体 */
  --f-display:  'Bebas Neue', 'Barlow Condensed', 'Noto Sans SC', sans-serif;
  --f-heading:  'Barlow Condensed', 'Noto Sans SC', sans-serif;
  --f-body:     'Inter', 'Noto Sans SC', sans-serif;

  --max-w: 1200px;
  --header-h: 60px;
}

/* ─── Reset ──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 15px; }
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--f-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ─── Layout ─────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}
.section      { padding: 72px 0; border-top: 1px solid var(--line); }
.section-sm   { padding: 48px 0; }
.section--alt { background: var(--surface); border-color: var(--line-2); }

/* ─── 区块标题 ───────────────────────────────── */
.block-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-heading);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey-2);
  margin-bottom: 28px;
}
.block-label::before {
  content: '';
  display: block;
  width: 16px;
  height: 2px;
  background: var(--pink);
  flex-shrink: 0;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 14px;
}
.section-header h2 {
  font-family: var(--f-heading);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  padding-left: 12px;
  border-left: 2px solid var(--pink);
}
.section-header a {
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grey-2);
  transition: color 0.15s;
}
.section-header a:hover { color: var(--white); }

/* ─── Buttons ────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 20px;
  font-family: var(--f-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--pink);
  color: #fff;
  border-color: var(--pink);
}
.btn-primary:hover { background: #e01550; border-color: #e01550; color: #fff; }

.btn-ghost {
  background: transparent;
  color: var(--grey-1);
  border-color: var(--line-2);
}
.btn-ghost:hover { border-color: var(--line-3); color: var(--white); }

.btn-sm { padding: 6px 14px; font-size: 12px; }

/* ─── Status dot / badge ─────────────────────── */
.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--f-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.status--upcoming .status-dot { background: var(--blue); }
.status--upcoming             { color: var(--blue); }
.status--ongoing  .status-dot { background: var(--live); box-shadow: 0 0 0 3px var(--live-dim); }
.status--ongoing              { color: var(--live); }
.status--completed .status-dot { background: var(--grey-3); }
.status--completed             { color: var(--grey-2); }

/* ═══════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════ */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(10,10,10,0.95);
  border-bottom: 1px solid var(--line-2);
  backdrop-filter: blur(8px);
}
#site-header .container { height: 100%; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
}
.logo-wordmark {
  font-family: var(--f-display);
  font-size: 26px;
  letter-spacing: 0.06em;
  color: var(--white);
  line-height: 1;
}
.logo-wordmark em {
  font-style: normal;
  color: var(--pink);
}
.logo-divider {
  width: 1px;
  height: 18px;
  background: var(--line-2);
  margin: 0 14px;
}
.logo-sub {
  font-family: var(--f-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-2);
}

/* Nav */
.primary-nav {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}
.primary-nav li a {
  display: block;
  padding: 0 16px;
  height: var(--header-h);
  line-height: var(--header-h);
  font-family: var(--f-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--grey-2);
  border-bottom: 2px solid transparent;
  transition: all 0.15s;
}
.primary-nav li a:hover,
.primary-nav li.current-menu-item a,
.primary-nav li.current-page-ancestor a {
  color: var(--white);
  border-bottom-color: var(--pink);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--grey-1);
}

/* ═══════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════ */
#hero {
  padding-top: var(--header-h);
  height: 100vh;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--line-2);
  position: relative;
  overflow: hidden;
}

/* 撑满剩余空间的内容区 */
.hero-body {
  flex: 1;
  display: flex;
  align-items: center;
}

/* 背景水印 */
.hero-bg-text {
  position: absolute;
  right: -2vw;
  bottom: -0.08em;
  font-family: var(--f-display);
  font-size: 28vw;
  line-height: 1;
  color: rgba(255,255,255,0.025);
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.02em;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 0;
  width: 100%;
}

/* ── 滚动提示 ── */
.scroll-hint {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-bottom: 28px;
  flex-shrink: 0;
  opacity: 1;
  transition: opacity 0.5s ease;
}
.scroll-hint.is-hidden { opacity: 0; pointer-events: none; }

.scroll-hint__track {
  width: 1px;
  height: 48px;
  background: var(--line-2);
  position: relative;
  overflow: hidden;
}
.scroll-hint__dot {
  position: absolute;
  top: -18px;
  left: 0;
  width: 1px;
  height: 18px;
  background: linear-gradient(to bottom, transparent, var(--grey-1));
  animation: scrollDrop 1.8s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}
@keyframes scrollDrop {
  0%   { top: -18px; opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { top: 48px;  opacity: 0; }
}

.scroll-hint__label {
  font-family: var(--f-body);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey-3);
}

.hero-eyebrow {
  font-family: var(--f-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey-2);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--pink);
}

.hero-title {
  font-family: var(--f-display);
  font-size: clamp(64px, 10vw, 128px);
  line-height: 0.92;
  letter-spacing: 0.01em;
  color: var(--white);
  margin-bottom: 28px;
}
.hero-title .accent { color: var(--pink); }

.hero-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.hero-tagline {
  font-size: 14px;
  color: var(--grey-2);
  max-width: 400px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════
   TOURNAMENT LIST ROW
   ═══════════════════════════════════════════════ */
.t-list { display: flex; flex-direction: column; }

.t-list-header {
  display: grid;
  grid-template-columns: 1fr 108px 120px 84px 80px;
  gap: 0 24px;
  padding: 10px 0 10px 16px;
  border-bottom: 1px solid var(--line-2);
  font-family: var(--f-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-3);
}

.t-row {
  display: grid;
  grid-template-columns: 1fr 108px 120px 84px 80px;
  align-items: center;
  gap: 0 24px;
  padding: 16px 0 16px 14px;
  border-bottom: 1px solid var(--line);
  border-left: 2px solid transparent;
  transition: background 0.15s, border-left-color 0.15s;
  color: inherit;
}
.t-row:hover { background: var(--surface-3); }

/* 左侧状态色条 */
.t-row.is-upcoming  { border-left-color: var(--blue); }
.t-row.is-ongoing   { border-left-color: var(--live); }
.t-row.is-completed { border-left-color: var(--grey-3); }

/* 名称列：含主标题 + 下方 tags */
.t-row__name { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.t-row__name-title {
  font-family: var(--f-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none;
}
.t-row__name-title:hover { color: var(--grey-1); }
.t-row__tags { display: flex; align-items: center; gap: 8px; }

/* 游戏标签 */
.t-game-tag {
  font-family: var(--f-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--grey-3);
  border: 1px solid var(--grey-3);
  padding: 1px 5px;
  border-radius: 1px;
  text-transform: uppercase;
  line-height: 1.4;
}

.t-row__date,
.t-row__location {
  font-size: 13px;
  color: var(--grey-2);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.t-row__prize {
  font-family: var(--f-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.t-row__action { display: flex; justify-content: flex-end; }

/* ─── 赛事卡片（仅在首页大版本用） ─────────── */
.t-card {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s;
}
.t-card:hover { border-color: var(--line-3); }

.t-card__banner {
  width: 100%;
  aspect-ratio: 21/9;
  object-fit: cover;
  background: var(--surface-2);
}
.t-card__banner-placeholder {
  width: 100%;
  aspect-ratio: 21/9;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.t-card__banner-placeholder span {
  font-family: var(--f-display);
  font-size: 48px;
  color: var(--grey-3);
  letter-spacing: 0.1em;
}

.t-card__body { padding: 20px 22px 22px; flex: 1; display: flex; flex-direction: column; gap: 14px; }

.t-card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }

.t-card__title {
  font-family: var(--f-heading);
  font-size: 19px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.01em;
  line-height: 1.25;
}
.t-card__title a { color: inherit; }
.t-card__title a:hover { color: var(--grey-1); }

.t-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.t-meta-item { display: flex; flex-direction: column; gap: 2px; }
.t-meta-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-3);
}
.t-meta-value { font-size: 13px; font-weight: 600; color: var(--grey-1); }
.t-meta-value--accent { color: var(--white); }

.t-card__footer { display: flex; gap: 8px; margin-top: auto; }

/* ═══════════════════════════════════════════════
   RESULTS LIST
   ═══════════════════════════════════════════════ */
.result-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
}
.result-row:hover { background: var(--surface-2); }
.result-row__info { flex: 1; }
.result-row__name {
  font-family: var(--f-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 3px;
}
.result-row__meta { font-size: 12px; color: var(--grey-2); }
.result-row__arrow {
  color: var(--grey-3);
  font-size: 18px;
  transition: transform 0.15s, color 0.15s;
}
.result-row:hover .result-row__arrow { color: var(--grey-1); transform: translateX(3px); }

/* ═══════════════════════════════════════════════
   NEWS
   ═══════════════════════════════════════════════ */

/* Featured (首页第一篇) */
.news-featured {
  display: grid;
  grid-template-columns: 58% 42%;
  gap: 0;
  border: 1px solid var(--line-2);
  overflow: hidden;
  margin-bottom: 1px;
  text-decoration: none;
  color: inherit;
  background: var(--surface-2);
  transition: border-color 0.15s;
}
.news-featured:hover { border-color: var(--line-3); }
.news-featured__img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  background: var(--surface-2);
  display: block;
}
.news-featured__body {
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-left: 1px solid var(--line-2);
}
.news-featured__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.news-featured__date {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--grey-3);
}
.news-featured__cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pink);
  background: var(--pink-dim);
  padding: 2px 7px;
  border-radius: 1px;
}
.news-featured__title {
  font-family: var(--f-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}
.news-featured__excerpt { font-size: 13px; color: var(--grey-2); line-height: 1.7; }
.news-featured__readmore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-2);
  transition: color 0.15s;
}
.news-featured:hover .news-featured__readmore { color: var(--white); }

/* News list */
.news-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.news-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
}
.news-row:hover { background: var(--surface-3); }
.news-row__img {
  width: 96px;
  height: 62px;
  object-fit: cover;
  background: var(--surface-2);
  flex-shrink: 0;
}
.news-row__content { flex: 1; min-width: 0; }
.news-row__meta { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; }
.news-row__date { font-size: 11px; color: var(--grey-3); letter-spacing: 0.04em; white-space: nowrap; }
.news-row__cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pink);
}
.news-row__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--grey-1);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.news-row:hover .news-row__title { color: var(--white); }
.news-row__arrow { color: var(--grey-3); font-size: 16px; flex-shrink: 0; transition: color 0.15s, transform 0.15s; }
.news-row:hover .news-row__arrow { color: var(--grey-1); transform: translateX(3px); }

/* 网格卡片 (存档页用) */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1px; background: var(--line-2); }
.news-card {
  background: var(--surface);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
}
.news-card:hover { background: var(--surface-2); }
.news-card__img { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: var(--surface-2); }
.news-card__body { padding: 18px 20px; flex: 1; display: flex; flex-direction: column; }
.news-card__date { font-size: 11px; color: var(--grey-3); letter-spacing: 0.06em; margin-bottom: 8px; }
.news-card__title { font-family: var(--f-heading); font-size: 17px; font-weight: 700; color: var(--white); line-height: 1.3; margin-bottom: 8px; }
.news-card__excerpt { font-size: 13px; color: var(--grey-2); line-height: 1.6; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Template part card (used by get_template_part) */
.news-card-wrap { text-decoration: none; color: inherit; display: flex; flex-direction: column; background: var(--surface); }

/* ═══════════════════════════════════════════════
   SPONSORS
   ═══════════════════════════════════════════════ */
#sponsors {
  border-top: 1px solid var(--line-2);
  padding: 40px 0;
  background: var(--surface);
}
.sponsors-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.sponsors-label {
  font-family: var(--f-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey-3);
  white-space: nowrap;
  flex-shrink: 0;
}
.sponsors-divider { flex: 1; height: 1px; background: var(--line); }

.sponsors-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.sponsor-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  border-right: 1px solid var(--line);
  text-decoration: none;
  transition: opacity 0.2s;
  opacity: 0.4;
  min-height: 64px;
}
.sponsor-item:last-child { border-right: none; }
.sponsor-item:hover { opacity: 1; }
.sponsor-item img {
  max-height: 32px;
  width: auto;
  filter: grayscale(100%);
  transition: filter 0.25s;
}
.sponsor-item:hover img { filter: grayscale(0%); }
.sponsor-item.is-title img { max-height: 44px; }
.sponsor-name {
  font-family: var(--f-heading);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grey-2);
}

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
#site-footer {
  border-top: 1px solid var(--line-2);
  padding: 40px 0 28px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 36px;
}
.footer-brand { max-width: 260px; }
.footer-desc { font-size: 13px; color: var(--grey-2); line-height: 1.7; margin-top: 12px; }
.footer-nav h4 {
  font-family: var(--f-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-3);
  margin-bottom: 14px;
}
.footer-nav ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-nav ul a { font-size: 14px; color: var(--grey-2); transition: color 0.15s; }
.footer-nav ul a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-copy { font-size: 12px; color: var(--grey-3); }

/* ═══════════════════════════════════════════════
   PAGE BANNER (比赛/文章详情页顶部)
   ═══════════════════════════════════════════════ */
.page-banner {
  padding-top: var(--header-h);
  background: var(--surface);
  border-bottom: 1px solid var(--line-2);
  position: relative;
  overflow: hidden;
}
.page-banner__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.08;
}
.page-banner__inner {
  position: relative;
  z-index: 1;
  padding: 40px 0 36px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--grey-3);
  margin-bottom: 14px;
}
.breadcrumb a { color: var(--grey-3); transition: color 0.15s; }
.breadcrumb a:hover { color: var(--grey-1); }
.breadcrumb .sep { color: var(--grey-3); }

.page-title {
  font-family: var(--f-display);
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: 0.01em;
  line-height: 1;
  margin-bottom: 16px;
}
.page-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}
.page-meta-item { font-size: 13px; color: var(--grey-2); }

/* ═══════════════════════════════════════════════
   TOURNAMENT SINGLE
   ═══════════════════════════════════════════════ */
.tournament-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: flex-start;
  padding: 56px 0;
}
.tournament-sidebar { position: sticky; top: calc(var(--header-h) + 20px); }

.sidebar-card {
  background: var(--surface);
  border: 1px solid var(--line-2);
  padding: 22px;
  margin-bottom: 16px;
}
.sidebar-title {
  font-family: var(--f-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-3);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}
.info-list { display: flex; flex-direction: column; gap: 12px; }
.info-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.info-label { font-size: 12px; color: var(--grey-2); }
.info-value { font-size: 13px; font-weight: 600; color: var(--white); text-align: right; }

.reg-card { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.reg-qr-img {
  width: 156px;
  height: 156px;
  object-fit: contain;
  background: #fff;
  padding: 8px;
}
.reg-hint { font-size: 11px; color: var(--grey-3); text-align: center; line-height: 1.5; }

.content-card {
  background: var(--surface);
  border: 1px solid var(--line-2);
  padding: 28px 32px;
  margin-bottom: 20px;
}
.content-card h3 {
  font-family: var(--f-heading);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  color: var(--white);
}
.content-card p, .content-card li { color: var(--grey-1); font-size: 14px; line-height: 1.8; margin-bottom: 12px; }

/* ═══════════════════════════════════════════════
   ARTICLE (新闻详情)
   ═══════════════════════════════════════════════ */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 40px;
  align-items: flex-start;
  padding: 56px 0;
}
.article-body {
  background: var(--surface);
  border: 1px solid var(--line-2);
  padding: 32px 36px;
}
.article-body h2, .article-body h3 { font-family: var(--f-heading); font-weight: 700; margin: 24px 0 12px; color: var(--white); }
.article-body p { color: var(--grey-1); margin-bottom: 16px; line-height: 1.8; font-size: 15px; }
.article-body a { color: var(--blue); }
.article-body a:hover { color: var(--white); }
.article-body img { border-radius: 2px; margin: 20px 0; }
.article-body blockquote {
  border-left: 2px solid var(--pink);
  padding: 10px 20px;
  margin: 20px 0;
  background: var(--surface-2);
  color: var(--grey-1);
}

/* ═══════════════════════════════════════════════
   ARCHIVE PAGE
   ═══════════════════════════════════════════════ */
.archive-header {
  padding-top: var(--header-h);
  background: var(--surface);
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 32px;
  padding-top: calc(var(--header-h) + 36px);
}
.archive-header h1 {
  font-family: var(--f-display);
  font-size: clamp(36px, 5vw, 52px);
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}
.archive-header p { font-size: 14px; color: var(--grey-2); }

/* Filter tabs */
.filter-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 0;
  border-bottom: 1px solid var(--line-2);
  margin-top: 28px;
}
.filter-tab {
  padding: 10px 18px;
  font-family: var(--f-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grey-2);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all 0.15s;
}
.filter-tab:hover { color: var(--white); }
.filter-tab.active { color: var(--white); border-bottom-color: var(--pink); }

/* No posts */
.no-posts { text-align: center; padding: 80px 20px; }
.no-posts h3 { font-family: var(--f-heading); font-size: 20px; font-weight: 700; color: var(--grey-2); margin-bottom: 8px; }
.no-posts p { color: var(--grey-3); font-size: 14px; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 4px; margin-top: 48px; }
.pagination a, .pagination span {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  font-size: 13px; font-weight: 600;
  border: 1px solid var(--line-2);
  color: var(--grey-2);
  text-decoration: none;
  transition: all 0.15s;
}
.pagination a:hover { border-color: var(--line-3); color: var(--white); }
.pagination .current { background: var(--pink); border-color: var(--pink); color: #fff; }

/* ═══════════════════════════════════════════════
   404
   ═══════════════════════════════════════════════ */
.not-found {
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--header-h);
}
.not-found__code {
  font-family: var(--f-display);
  font-size: 120px;
  line-height: 1;
  color: var(--surface-3);
  margin-bottom: 8px;
}
.not-found__title { font-family: var(--f-heading); font-size: 26px; font-weight: 700; margin-bottom: 10px; }
.not-found__text { font-size: 14px; color: var(--grey-2); margin-bottom: 28px; }

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .tournament-layout,
  .article-layout { grid-template-columns: 1fr; }
  .tournament-sidebar { position: static; }
  .news-featured { grid-template-columns: 1fr; }
  .news-featured__img { height: 200px; }
}

@media (max-width: 768px) {
  :root { --header-h: 56px; }
  .container { padding: 0 20px; }
  .section { padding: 52px 0; }

  .primary-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    background: rgba(10,10,10,0.98);
    border-bottom: 1px solid var(--line-2);
    padding: 12px 0;
    gap: 0;
  }
  .primary-nav.open { display: flex; }
  .primary-nav li a { height: auto; line-height: 1; padding: 12px 24px; border-bottom: none; }
  .nav-toggle { display: flex; }

  .t-list-header { display: none; }
  .t-row { grid-template-columns: 1fr auto; gap: 8px; padding-left: 10px; }
  .t-row__date, .t-row__location, .t-row__prize { display: none; }
  .t-row__action { align-self: center; }

  .footer-inner { flex-direction: column; gap: 24px; }

  .hero-title { font-size: 58px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-title { font-size: 48px; }
}
