:root {
  --ink: #141414;
  --muted: #5c5c5c;
  --paper: #f7f5f1;
  --surface: #ffffff;
  --line: #d9d4cb;
  --accent: #c8102e;
  --accent-deep: #8b0a1e;
  --live: #c8102e;
  --max: 1080px;
  --display: "Playfair Display", "Noto Serif SC", "Songti SC", serif;
  --sans: "Source Sans 3", "Noto Sans SC", "PingFang SC", sans-serif;
  --rule: 1.5px solid var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.min {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  background:
    linear-gradient(90deg, transparent 49.6%, rgba(200,16,46,0.04) 49.6%, rgba(200,16,46,0.04) 50.4%, transparent 50.4%),
    radial-gradient(ellipse 80% 50% at 0% 0%, rgba(200,16,46,0.06), transparent 55%),
    linear-gradient(180deg, #fbf9f6 0%, var(--paper) 45%, #f3efe8 100%);
  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; }

.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 31px,
      rgba(20,20,20,0.025) 31px,
      rgba(20,20,20,0.025) 32px
    );
  opacity: 0.55;
}

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

.site-header {
  background: rgba(247, 245, 241, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: var(--rule);
  position: sticky;
  top: 0;
  z-index: 40;
}
.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0 0.65rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.brand img {
  width: 48px;
  height: 48px;
  border-radius: 0;
  background: var(--surface);
  border: 1.5px solid var(--ink);
  object-fit: cover;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text em {
  font-style: normal;
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}
.brand-text b {
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.nav-toggle {
  display: none;
  border: 1.5px solid var(--ink);
  background: var(--surface);
  padding: 0.4rem 0.75rem;
  border-radius: 0;
  color: var(--ink);
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  padding-bottom: 0.35rem;
  border-top: 1px solid var(--line);
  padding-top: 0.35rem;
}
.main-nav a {
  padding: 0.5rem 0.95rem;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  border-bottom: 2px solid transparent;
}
.main-nav a.on,
.main-nav a:hover {
  color: var(--ink);
  border-bottom-color: var(--accent);
  background: transparent;
}
.sub-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  padding: 0.35rem 0 0.85rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: 1px dashed var(--line);
}
.sub-nav a.on { color: var(--accent); font-weight: 700; }

.site-main { padding: 1.4rem 0 3rem; }
.crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.crumb a:hover { color: var(--accent); }

.hero.mast-hero {
  padding: 1.6rem 0 1.8rem;
  border-bottom: var(--rule);
  margin-bottom: 1.4rem;
  text-align: left;
}
.hero .issue {
  margin: 0 0 0.55rem;
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
}
.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.hero-kw {
  margin: 0.55rem 0 0.75rem;
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 0.15rem;
}
.hero .lead {
  margin: 0;
  max-width: 36rem;
  color: var(--muted);
  font-size: 1.02rem;
}

.hero-mini {
  padding: 0.4rem 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: clamp(1.6rem, 3.5vw, 2.2rem);
}
.hero-mini p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.sec { margin: 1.75rem 0; }
.sec-title {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin: 0 0 0.95rem;
  padding-bottom: 0.45rem;
  border-bottom: var(--rule);
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 700;
}
.sec-title small {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.2rem;
}
.chip {
  padding: 0.35rem 0.85rem;
  border: 1.5px solid var(--ink);
  background: transparent;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.chip.on,
.chip:hover {
  background: var(--ink);
  color: #fff;
}

.date-bar {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding: 0.2rem 0 1rem;
  margin-bottom: 0.5rem;
  -webkit-overflow-scrolling: touch;
}
.date-item {
  flex: 0 0 auto;
  min-width: 4.4rem;
  text-align: center;
  padding: 0.55rem 0.65rem;
  border: 1.5px solid var(--line);
  background: var(--surface);
}
.date-item b { display: block; font-size: 0.95rem; }
.date-item span { font-size: 0.72rem; color: var(--muted); }
.date-item.on {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}
.date-item.on span { color: rgba(255,255,255,0.72); }

.league-block { margin: 0 0 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.06em;
  text-transform: uppercase;
}
.league-title img { width: 18px; height: 18px; object-fit: contain; }
.league-title small {
  margin-left: auto;
  font-weight: 600;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0;
  text-transform: none;
}

.match-list {
  display: flex;
  flex-direction: column;
  border-top: 1.5px solid var(--ink);
}
.match-card {
  display: grid;
  grid-template-columns: 7.5rem 1fr auto 1fr auto;
  align-items: center;
  gap: 0.55rem 0.75rem;
  padding: 0.75rem 0.35rem;
  border-bottom: 1px solid var(--line);
  background: transparent;
  transition: background 0.15s ease;
}
.match-card:hover { background: rgba(200,16,46,0.04); color: inherit; }
.mc-time { display: flex; flex-direction: column; gap: 0.15rem; }
.mc-full { font-size: 0.78rem; font-weight: 700; line-height: 1.25; }
.mc-st {
  font-style: normal;
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.match-card.is-live .mc-st { color: var(--live); font-weight: 700; }
.mc-team {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  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;
}
.mc-team strong {
  font-size: 0.92rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mc-score {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
  min-width: 3.2rem;
  text-align: center;
}
.mc-btn {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.55rem;
  border: 1.5px solid var(--ink);
  white-space: nowrap;
}
.match-card.is-live .mc-btn {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

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

.vlist { display: flex; flex-direction: column; border-top: var(--rule); }
.vrow {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0.2rem;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}
.vrow time { flex-shrink: 0; color: var(--muted); font-size: 0.82rem; font-weight: 500; }

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 1.25rem;
}
.news-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}
.news-card img {
  width: 120px;
  height: 80px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: #eee;
}
.news-card h3 {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: 1.05rem;
  line-height: 1.35;
  font-weight: 700;
}
.news-card time { font-size: 0.78rem; color: var(--muted); }

.mag-panel {
  margin: 2rem 0;
  padding: 1.4rem 0 0;
  border-top: var(--rule);
}
.mag-panel h2 {
  margin: 0 0 0.85rem;
  font-family: var(--display);
  font-size: 1.65rem;
}
.mag-panel h3 {
  margin: 1.1rem 0 0.4rem;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.mag-panel p { margin: 0.4rem 0; color: #2a2a2a; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 0.75rem 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq details p { margin: 0.55rem 0 0; color: var(--muted); }

.match-detail {
  padding: 0.5rem 0 1.5rem;
  border-bottom: var(--rule);
  margin-bottom: 1.5rem;
}
.match-detail .kicker {
  margin: 0 0 0.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}
.match-detail h1 {
  margin: 0 0 1.2rem;
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}
.md-board {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1.2rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 1rem;
}
.md-board .side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  text-align: center;
}
.md-board .side img { width: 64px; height: 64px; object-fit: contain; }
.md-board .mid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
}
.md-board .mid b {
  font-family: var(--display);
  font-size: 2rem;
}
.badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.55rem;
  border: 1.5px solid var(--ink);
}
.badge.live { background: var(--accent); color: #fff; border-color: var(--accent); }
.signals { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-bottom: 0.85rem; }
.sig {
  padding: 0.55rem 1.1rem;
  border: 1.5px solid var(--ink);
  font-weight: 700;
  letter-spacing: 0.06em;
}
.sig:hover { background: var(--ink); color: #fff; }
.tip { color: var(--muted); font-size: 0.88rem; }

.article h1 {
  margin: 0 0 0.85rem;
  font-family: var(--display);
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  line-height: 1.25;
}
.meta-box {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  padding: 0.75rem 0;
  margin-bottom: 1rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--muted);
}
.article .cover { margin: 0 0 1rem; }
.article .cover img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border: 1px solid var(--line);
}
.article .content { font-size: 1.02rem; }
.article .content p { margin: 0.85rem 0; }
.article .content img { margin: 0.75rem 0; border: 1px solid var(--line); }
.pn {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: var(--rule);
}
.pn a { font-weight: 700; font-size: 0.9rem; }
.pn .muted { color: var(--muted); font-size: 0.9rem; }

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

.friends {
  border-top: var(--rule);
  padding: 0.95rem 0;
  background: var(--surface);
  font-size: 0.85rem;
}
.friends .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 1rem;
}
.friends .lab {
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--muted);
}
.friends a { color: var(--muted); }
.friends a:hover { color: var(--accent); }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.4rem 0 2rem;
  color: var(--muted);
  font-size: 0.82rem;
  background: #efebe4;
}
.site-footer p { margin: 0.35rem 0; max-width: 48rem; }

@media (max-width: 820px) {
  .news-grid { grid-template-columns: 1fr; }
  .match-card {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "time btn"
      "home home"
      "score score"
      "away away";
  }
  .mc-time { grid-area: time; }
  .mc-btn { grid-area: btn; justify-self: end; align-self: start; }
  .mc-team.home { grid-area: home; }
  .mc-score { grid-area: score; justify-self: center; }
  .mc-team.away { grid-area: away; justify-content: flex-start; text-align: left; }
  .nav-toggle { display: inline-block; }
  .main-nav {
    display: none;
    flex-direction: column;
    padding: 0.5rem 0 0.85rem;
  }
  .main-nav.open { display: flex; }
  body.nav-open { overflow: hidden; }
  .sub-nav { display: none; }
  body.nav-open .sub-nav {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
  }
  .pn { grid-template-columns: 1fr; }
  .md-board { gap: 0.55rem; }
  .md-board .mid b { font-size: 1.55rem; }
  .news-card { grid-template-columns: 96px 1fr; }
  .news-card img { width: 96px; height: 72px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.1rem; }
  .brand-text b { font-size: 1.2rem; }
  .mc-team strong { font-size: 0.88rem; }
}
