:root {
  --bg0: #0a0806;
  --bg1: #16110c;
  --panel: rgba(28, 22, 16, 0.88);
  --panel-border: rgba(201, 162, 77, 0.28);
  --text: #f5ecd0;
  --muted: #b8a88a;
  --gold: #c9a24d;
  --gold2: #e6c87a;
  --live: #e85d5d;
  --ok: #6dbf8a;
  --wait: #d4a84b;
  --line: rgba(201, 162, 77, 0.18);
  --max: 1120px;
  --display: "Cormorant Garamond", "Noto Serif SC", serif;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --radius: 12px;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
}

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

.lux-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 520px at 8% -8%, rgba(201, 162, 77, 0.22), transparent 58%),
    radial-gradient(700px 480px at 92% 6%, rgba(120, 80, 30, 0.28), transparent 55%),
    radial-gradient(600px 420px at 50% 110%, rgba(201, 162, 77, 0.08), transparent 50%),
    linear-gradient(165deg, #080604, var(--bg1) 50%, #0c0906);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(10, 8, 6, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  margin-bottom: 1.2rem;
}
.masthead {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 0 0.5rem;
}
.mast-date {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  justify-self: center;
}
.brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 77, 0.15);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text em {
  font-style: normal;
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--gold);
}
.brand-text b {
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--text);
}
.mast-tagline {
  margin: 0;
  text-align: right;
  font-size: 12px;
  color: var(--muted);
}
.nav-toggle {
  display: none;
  border: 1px solid var(--panel-border);
  background: var(--panel);
  color: var(--gold2);
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.2rem;
  padding: 0.35rem 0 0.7rem;
  border-top: 1px solid var(--line);
}
.main-nav a {
  padding: 0.4rem 0.85rem;
  color: var(--muted);
  font-weight: 500;
  border-bottom: 2px solid transparent;
}
.main-nav a.on,
.main-nav a:hover {
  color: var(--gold2);
  border-bottom-color: var(--gold);
}
.sub-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0 0 0.85rem;
}
.sub-nav a {
  font-size: 12px;
  padding: 0.25rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
}
.sub-nav a.on,
.sub-nav a:hover {
  border-color: var(--gold);
  color: var(--gold2);
  background: rgba(201, 162, 77, 0.1);
}

.site-main { padding-bottom: 2.5rem; }

.hero {
  text-align: center;
  padding: 2.2rem 1rem 1.6rem;
  margin-bottom: 1.2rem;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(201, 162, 77, 0.12), transparent 55%),
    var(--panel);
  box-shadow: var(--shadow);
}
.eyebrow {
  margin: 0 0 0.5rem;
  color: var(--gold);
  letter-spacing: 0.12em;
  font-size: 12px;
  text-transform: uppercase;
}
.mast-hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.04em;
}
.hero-kw {
  margin: 0.35rem 0 0.7rem;
  font-family: var(--display);
  font-size: 1.35rem;
  color: var(--gold2);
}
.lead, .hero-mini p {
  margin: 0 auto;
  max-width: 42rem;
  color: var(--muted);
}
.hero-mini {
  margin: 0.5rem 0 1rem;
}
.hero-mini h1 {
  margin: 0 0 0.4rem;
  font-family: var(--display);
  font-size: 1.8rem;
  color: var(--gold2);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.2rem;
}
.chip {
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  background: rgba(255,255,255,0.02);
}
.chip.on, .chip:hover {
  border-color: var(--gold);
  color: #1a140c;
  background: linear-gradient(120deg, var(--gold2), var(--gold));
}

.sec { margin: 1.6rem 0; }
.sec-title {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin: 0 0 0.9rem;
  font-family: var(--display);
  font-size: 1.55rem;
  color: var(--text);
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.45rem;
}
.sec-title small {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--muted);
  font-weight: 400;
}

.league-block { margin-bottom: 1.1rem; }
.league-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.55rem;
  font-size: 1rem;
  color: var(--gold2);
}
.league-title img { width: 18px; height: 18px; object-fit: contain; }
.league-title small {
  margin-left: auto;
  color: var(--muted);
  font-weight: 400;
  font-size: 12px;
}
.match-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.match-card {
  display: grid;
  grid-template-columns: 7.5rem minmax(0,1fr) 4.2rem minmax(0,1fr) 4.8rem;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--panel);
  transition: border-color .2s, transform .2s;
}
.match-card:hover {
  border-color: var(--gold);
  transform: translateY(-1px);
}
.mc-time { display: flex; flex-direction: column; gap: 0.15rem; }
.mc-full { font-size: 12px; color: var(--muted); font-weight: 500; }
.mc-st { font-size: 11px; font-style: normal; color: var(--wait); }
.is-live .mc-st { color: var(--live); }
.is-done .mc-st { color: var(--ok); }
.mc-team {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
}
.mc-team.away { justify-content: flex-end; }
.mc-team img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}
.mc-team strong {
  font-size: 14px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mc-score {
  text-align: center;
  font-family: var(--display);
  font-size: 1.15rem;
  color: var(--gold2);
  font-weight: 700;
}
.mc-btn {
  text-align: center;
  font-size: 12px;
  padding: 0.3rem 0.4rem;
  border-radius: 999px;
  border: 1px solid var(--gold);
  color: var(--gold2);
}
.is-live .mc-btn {
  background: linear-gradient(120deg, #c44, #e85d5d);
  border-color: transparent;
  color: #fff;
}

.date-bar {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  margin: 0 0 1rem;
  padding-bottom: 0.2rem;
}
.date-item {
  flex: 0 0 auto;
  min-width: 4.6rem;
  text-align: center;
  padding: 0.45rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
}
.date-item b { display: block; color: var(--text); }
.date-item span { font-size: 11px; }
.date-item.on {
  border-color: var(--gold);
  background: rgba(201, 162, 77, 0.14);
  color: var(--gold2);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}
.news-card {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 0.75rem;
  padding: 0.7rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}
.news-card img {
  width: 110px;
  height: 78px;
  object-fit: cover;
  border-radius: 8px;
  background: #1a1510;
}
.news-card h3 {
  margin: 0 0 0.35rem;
  font-size: 15px;
  line-height: 1.4;
}
.news-card p, .news-card time {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

.vlist { display: flex; flex-direction: column; gap: 0.4rem; }
.vrow {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
}
.vrow time { color: var(--muted); font-size: 12px; white-space: nowrap; }

.lux-panel {
  margin: 1.6rem 0;
  padding: 1.2rem 1.25rem;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  background: var(--panel);
}
.lux-panel h2 {
  margin: 0 0 0.8rem;
  font-family: var(--display);
  color: var(--gold2);
}
.lux-panel h3 {
  margin: 1rem 0 0.4rem;
  font-size: 1rem;
  color: var(--gold);
}
.lux-panel p { margin: 0.4rem 0; color: var(--muted); }
.faq details {
  border-top: 1px solid var(--line);
  padding: 0.65rem 0;
}
.faq summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 600;
}
.faq details p { margin: 0.45rem 0 0; }

.friends {
  border-top: 1px solid var(--line);
  padding: 0.9rem 0;
  background: rgba(0,0,0,0.25);
}
.friends .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  align-items: center;
}
.friends .lab { color: var(--gold); font-size: 13px; }
.friends a { color: var(--muted); font-size: 13px; }
.site-footer {
  padding: 1.2rem 0 2rem;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}
.site-footer p { margin: 0.35rem 0; }

.crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.4rem 0 1rem;
  font-size: 13px;
  color: var(--muted);
}
.crumb a { color: var(--gold2); }

.pager {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
  margin: 1.2rem 0;
}
.pager a, .pager span {
  min-width: 2rem;
  text-align: center;
  padding: 0.35rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.pager .on {
  background: var(--gold);
  color: #1a140c;
  border-color: var(--gold);
}

.match-detail {
  text-align: center;
  padding: 1.4rem 1rem;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  background: var(--panel);
  margin-bottom: 1.2rem;
}
.match-detail .kicker { color: var(--muted); margin: 0 0 0.5rem; }
.match-detail h1 {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-size: clamp(1.4rem, 4vw, 2rem);
}
.md-board {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}
.md-board .side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
}
.md-board .mid b {
  display: block;
  font-family: var(--display);
  font-size: 2rem;
  color: var(--gold2);
}
.badge {
  display: inline-block;
  margin-top: 0.35rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid var(--line);
}
.badge.live { color: var(--live); border-color: var(--live); }
.badge.done { color: var(--ok); border-color: var(--ok); }
.badge.wait { color: var(--wait); border-color: var(--wait); }
.signals {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin: 0.8rem 0;
}
.sig {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--gold);
  color: var(--gold2);
  font-weight: 600;
}
.sig:hover {
  background: linear-gradient(120deg, var(--gold2), var(--gold));
  color: #1a140c;
}
.tip { color: var(--muted); font-size: 13px; }

.article {
  padding: 1.2rem 1.25rem;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  background: var(--panel);
}
.article h1 {
  margin: 0 0 0.8rem;
  font-family: var(--display);
  font-size: clamp(1.4rem, 4vw, 1.9rem);
  line-height: 1.35;
}
.meta-box {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.9rem;
  margin-bottom: 1rem;
  padding: 0.7rem 0.85rem;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 12px;
}
.article .cover { margin: 0 0 1rem; }
.article .cover img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: 10px;
}
.article .content { color: #e8dcc0; line-height: 1.85; }
.article .content p { margin: 0.75rem 0; }
.article .content img { border-radius: 8px; }
.lead-note {
  color: var(--muted) !important;
  font-size: 14px;
  border-left: 3px solid var(--gold);
  padding-left: 0.8rem;
}
.pn {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.pn a { color: var(--gold2); }
.pn .muted { color: var(--muted); }

.empty {
  padding: 1.5rem;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 10px;
}

@media (max-width: 860px) {
  .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; text-align: left; }
  .nav-toggle { grid-area: toggle; display: inline-flex; }
  .main-nav {
    display: none;
    flex-direction: column;
    padding-bottom: 0.8rem;
  }
  .main-nav.open { display: flex; }
  .match-card {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "time btn"
      "home score"
      "away score";
  }
  .mc-time { grid-area: time; }
  .mc-team.home { grid-area: home; }
  .mc-team.away { grid-area: away; justify-content: flex-start; }
  .mc-score { grid-area: score; align-self: center; }
  .mc-btn { grid-area: btn; justify-self: end; }
  .news-grid { grid-template-columns: 1fr; }
  .pn { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .news-card { grid-template-columns: 88px 1fr; }
  .news-card img { width: 88px; height: 66px; }
  .vrow { flex-direction: column; gap: 0.25rem; }
  .brand-text b { font-size: 1.25rem; }
  .sub-nav { gap: 0.3rem; }
}
