/* 运动风 Sports Arena */
:root {
  --ink: #0b1f14;
  --muted: #4a6354;
  --rule: #0f3d28;
  --paper: #f3f7f4;
  --paper-deep: #e4efe8;
  --accent: #f97316;
  --accent-soft: #ffedd5;
  --live: #ef4444;
  --ok: #16a34a;
  --field: #166534;
  --field-deep: #0f3d28;
  --line: rgba(15, 61, 40, 0.14);
  --max: 1100px;
  --display: "Oswald", "Noto Sans SC", sans-serif;
  --sans: "Barlow", "Noto Sans SC", "PingFang SC", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.sport {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  background: var(--paper);
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; vertical-align: middle; }
button { font: inherit; cursor: pointer; }

.field-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 85% -10%, rgba(249, 115, 22, 0.18), transparent 45%),
    radial-gradient(ellipse at 10% 100%, rgba(22, 101, 52, 0.14), transparent 50%),
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 14px,
      rgba(22, 101, 52, 0.035) 14px,
      rgba(22, 101, 52, 0.035) 28px
    ),
    linear-gradient(180deg, #eef6f0 0%, var(--paper) 40%, #e8f0ea 100%);
}

.wrap { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

.site-header {
  border-bottom: 3px solid var(--field);
  background: linear-gradient(180deg, rgba(15, 61, 40, 0.96), rgba(22, 101, 52, 0.94));
  color: #f0fdf4;
  position: sticky;
  top: 0;
  z-index: 40;
  box-shadow: 0 8px 24px rgba(11, 31, 20, 0.18);
}
.site-header a { color: #ecfdf5; }
.site-header a:hover { color: #fdba74; }
.masthead {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 0 0.55rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.mast-date {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(236, 253, 245, 0.72);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  justify-self: center;
}
.brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid #fdba74;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(249,115,22,0.25);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text em {
  font-style: normal;
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  color: #fdba74;
  font-family: var(--display);
}
.brand-text b {
  font-family: var(--display);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: none;
}
.mast-tagline {
  margin: 0;
  justify-self: end;
  text-align: right;
  font-size: 0.78rem;
  color: rgba(236, 253, 245, 0.7);
  letter-spacing: 0.04em;
}
.nav-toggle {
  display: none;
  border: 1.5px solid #fdba74;
  background: transparent;
  color: #fff;
  padding: 0.35rem 0.7rem;
  border-radius: 4px;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  justify-content: center;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.main-nav a {
  padding: 0.7rem 1.15rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  font-family: var(--display);
  letter-spacing: 0.04em;
}
.main-nav a.on,
.main-nav a:hover {
  border-bottom-color: var(--accent);
  color: #fdba74;
}
.sub-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  padding: 0.55rem 0 0.7rem;
  font-size: 0.82rem;
  color: rgba(236, 253, 245, 0.75);
}
.sub-nav a.on { color: #fdba74; font-weight: 700; }

.site-main { padding: 1.5rem 0 3rem; }

.sport-hero, .mast-hero {
  text-align: center;
  padding: 2.4rem 1rem 2rem;
  margin-bottom: 1.5rem;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(15,61,40,0.95), rgba(22,101,52,0.88)),
    var(--field);
  color: #f0fdf4;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(15, 61, 40, 0.22);
}
.sport-hero::before, .mast-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(-25deg, transparent, transparent 18px, rgba(255,255,255,0.04) 18px, rgba(255,255,255,0.04) 36px);
  pointer-events: none;
}
.sport-hero > *, .mast-hero > * { position: relative; z-index: 1; }
.sport-hero .eyebrow, .mast-hero .eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fdba74;
  font-family: var(--display);
}
.sport-hero h1, .mast-hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.5rem, 7vw, 3.8rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-shadow: 0 4px 0 rgba(0,0,0,0.15);
}
.hero-kw {
  margin: 0.55rem 0 0.85rem;
  display: inline-block;
  font-family: var(--display);
  font-size: 1.25rem;
  letter-spacing: 0.12em;
  color: #fff7ed;
  background: rgba(249,115,22,0.95);
  padding: 0.25rem 0.85rem;
  border-radius: 4px;
}
.sport-hero .lead, .mast-hero .lead {
  margin: 0 auto;
  max-width: 38rem;
  color: rgba(240, 253, 244, 0.88);
  font-size: 0.98rem;
}
.hero-mini {
  padding: 0.5rem 0 1rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 1rem;
}
.hero-mini h1 {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: 1.85rem;
  letter-spacing: 0.04em;
}
.hero-mini p { margin: 0; color: var(--muted); font-size: 0.92rem; }

.sec { margin: 1.75rem 0; }
.sec-title {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin: 0 0 1rem;
  font-family: var(--display);
  font-size: 1.55rem;
  letter-spacing: 0.04em;
  border-left: 5px solid var(--accent);
  padding: 0.25rem 0 0.25rem 0.75rem;
  background: linear-gradient(90deg, rgba(22,101,52,0.08), transparent);
}
.sec-title span { letter-spacing: 0.04em; }
.sec-title small {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1rem 0 1.25rem;
}
.chip {
  border: 1.5px solid var(--field);
  padding: 0.28rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 6px;
  background: #fff;
  font-family: var(--display);
  letter-spacing: 0.04em;
}
.chip.on, .chip:hover {
  background: var(--field);
  color: #fff;
  border-color: var(--field);
}

.date-bar {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  padding: 0.4rem 0 1rem;
  -webkit-overflow-scrolling: touch;
}
.date-item {
  flex: 0 0 auto;
  min-width: 4.6rem;
  text-align: center;
  border: 1px solid var(--line);
  padding: 0.45rem 0.55rem;
  background: #fff;
  border-radius: 8px;
}
.date-item b { display: block; font-size: 0.95rem; font-family: var(--display); }
.date-item span { font-size: 0.72rem; color: var(--muted); }
.date-item.on {
  border-color: var(--field);
  background: var(--field);
  color: #fff;
}
.date-item.on span { color: rgba(255,255,255,0.75); }

.league-block { margin-bottom: 1.35rem; }
.league-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.55rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-family: var(--display);
}
.league-title img { border-radius: 4px; }
.league-title small {
  margin-left: auto;
  font-weight: 500;
  color: var(--muted);
  font-size: 0.75rem;
  font-family: var(--sans);
}

.match-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.match-card {
  display: grid;
  grid-template-columns: 7.5rem 1fr auto 1fr auto;
  gap: 0.55rem;
  align-items: center;
  padding: 0.75rem 0.75rem;
  border-bottom: 1px solid var(--line);
  background: transparent;
  transition: background 0.2s;
}
.match-card:last-child { border-bottom: 0; }
.match-card:hover { background: rgba(22,101,52,0.05); color: inherit; }
.match-card.is-live { background: rgba(239, 68, 68, 0.06); }
.mc-time { display: flex; flex-direction: column; gap: 0.15rem; }
.mc-full { font-size: 0.78rem; font-weight: 600; white-space: nowrap; }
.mc-st {
  font-style: normal;
  font-size: 0.7rem;
  color: var(--muted);
}
.is-live .mc-st { color: var(--live); font-weight: 700; }
.mc-team {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
}
.mc-team.away { justify-content: flex-end; text-align: right; }
.mc-team img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.mc-team strong {
  font-size: 0.92rem;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mc-score {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 700;
  min-width: 3.2rem;
  text-align: center;
  letter-spacing: 0.04em;
}
.mc-btn {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  border: 1.5px solid var(--field);
  padding: 0.32rem 0.6rem;
  white-space: nowrap;
  border-radius: 4px;
  background: #fff;
  color: var(--field);
  font-family: var(--display);
}
.is-live .mc-btn {
  background: var(--live);
  border-color: var(--live);
  color: #fff;
}

.vlist {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.vrow {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.vrow:last-child { border-bottom: 0; }
.vrow time { color: var(--muted); font-size: 0.8rem; flex-shrink: 0; }

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 1.25rem;
}
.news-card {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 0.75rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.news-card img {
  width: 110px;
  height: 78px;
  object-fit: cover;
  border-radius: 8px;
  background: var(--paper-deep);
}
.news-card h3 {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.02em;
}
.news-card time { font-size: 0.75rem; color: var(--muted); }

.sport-panel, .mag-panel {
  margin: 2rem 0;
  padding: 1.35rem 1.25rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(15, 61, 40, 0.05);
}
.sport-panel h2, .mag-panel h2 {
  margin: 0 0 0.85rem;
  font-family: var(--display);
  font-size: 1.55rem;
  letter-spacing: 0.04em;
  color: var(--field-deep);
}
.sport-panel h3, .mag-panel h3 {
  margin: 1.1rem 0 0.4rem;
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: var(--field);
  font-family: var(--display);
}
.sport-panel p, .mag-panel p { margin: 0.4rem 0; color: #2d3f34; }

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 0.65rem 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-family: var(--display);
  font-size: 1.05rem;
  list-style: none;
  letter-spacing: 0.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "▶ ";
  color: var(--accent);
  font-size: 0.75em;
}
.faq details[open] summary::before { content: "▼ "; }
.faq details p { margin: 0.45rem 0 0.2rem; color: var(--muted); font-size: 0.95rem; }

.crumb {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.crumb a:hover { color: var(--accent); }
.crumb span { margin: 0 0.25rem; }

.empty {
  padding: 2rem 1rem;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 12px;
  background: #fff;
}

.match-detail {
  text-align: center;
  padding: 1.25rem 1rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  margin-bottom: 1.5rem;
}
.match-detail .kicker {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
  font-family: var(--display);
}
.match-detail h1 {
  margin: 0.4rem 0 1.2rem;
  font-family: var(--display);
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  letter-spacing: 0.03em;
}
.md-board {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.25rem;
}
.md-board .side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
}
.md-board .side img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
  padding: 4px;
}
.md-board .mid b {
  display: block;
  font-family: var(--display);
  font-size: 2rem;
  letter-spacing: 0.04em;
}
.badge {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-family: var(--display);
}
.badge.live { background: var(--live); color: #fff; border-color: var(--live); }
.signals { display: flex; justify-content: center; gap: 0.55rem; flex-wrap: wrap; }
.sig {
  border: 1.5px solid var(--field);
  padding: 0.45rem 1.1rem;
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: 6px;
  background: var(--field);
  color: #fff;
  font-family: var(--display);
  letter-spacing: 0.04em;
}
.sig:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.tip { margin: 1rem auto 0; max-width: 32rem; font-size: 0.85rem; color: var(--muted); }

.article h1 {
  margin: 0 0 0.75rem;
  font-family: var(--display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  line-height: 1.3;
  letter-spacing: 0.02em;
}
.meta-box {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  font-size: 0.78rem;
  color: var(--muted);
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-deep);
  margin-bottom: 1rem;
}
.article .cover { margin: 0 0 1rem; }
.article .cover img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: 12px;
}
.article .content {
  font-size: 1.02rem;
  line-height: 1.8;
}
.article .content p { margin: 0.85rem 0; }
.article .content img { margin: 0.5rem 0; border-radius: 8px; }
.pn {
  display: grid;
  gap: 0.65rem;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 3px solid var(--field);
}
.pn a { font-size: 0.92rem; }
.pn .muted { color: var(--muted); }

.pager {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
  margin: 1.5rem 0;
}
.pager a, .pager span {
  min-width: 2.2rem;
  text-align: center;
  padding: 0.35rem 0.55rem;
  border: 1px solid var(--line);
  font-size: 0.88rem;
  border-radius: 6px;
  background: #fff;
}
.pager .on { background: var(--field); color: #fff; border-color: var(--field); }

.friends {
  border-top: 1px solid var(--line);
  padding: 0.85rem 0;
  font-size: 0.85rem;
  background: var(--paper-deep);
}
.friends .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 1rem;
}
.friends .lab {
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  text-transform: uppercase;
  font-family: var(--display);
  color: var(--field);
}
.friends a { color: var(--muted); }
.friends a:hover { color: var(--accent); }

.site-footer {
  border-top: 4px solid var(--field);
  padding: 1.25rem 0 2rem;
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
  background: linear-gradient(180deg, #e8f0ea, #dce8e0);
}
.site-footer p { margin: 0.35rem 0; }

.news-list { display: flex; flex-direction: column; gap: 0.65rem; }
.news-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0.85rem;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.news-row img {
  width: 120px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}
.news-row h3 {
  margin: 0 0 0.3rem;
  font-family: var(--display);
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}
.video-list a {
  display: block;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  margin-bottom: 0.55rem;
}

@media (max-width: 820px) {
  .masthead {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "date toggle"
      "brand brand"
      "tag tag";
  }
  .mast-date { grid-area: date; }
  .brand { grid-area: brand; justify-self: start; }
  .mast-tagline { grid-area: tag; justify-self: start; text-align: left; }
  .nav-toggle { display: inline-block; grid-area: toggle; justify-self: end; }
  .main-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    border-bottom: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 0.85rem 0;
  }
  .match-card {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "time btn"
      "home score"
      "away score";
    gap: 0.35rem 0.5rem;
  }
  .mc-time { grid-area: time; }
  .mc-team.home { grid-area: home; }
  .mc-team.away { grid-area: away; justify-content: flex-start; text-align: left; }
  .mc-score { grid-area: score; align-self: center; }
  .mc-btn { grid-area: btn; justify-self: end; }
  .news-grid { grid-template-columns: 1fr; }
  .news-card, .news-row { grid-template-columns: 88px 1fr; }
  .news-card img, .news-row img { width: 88px; height: 66px; }
  .md-board { gap: 0.5rem; }
  .md-board .side strong { font-size: 0.9rem; }
}

@media (max-width: 480px) {
  .wrap { width: min(100% - 1.25rem, var(--max)); }
  .brand-text b { font-size: 1.35rem; }
  .sport-hero, .mast-hero { padding: 1.6rem 0.85rem 1.35rem; border-radius: 12px; }
  .vrow { flex-direction: column; gap: 0.25rem; }
}
