:root {
  --bg0: #fff6f0;
  --bg1: #ffe9dc;
  --ink: #2b2140;
  --muted: #7a6a88;
  --accent: #ff6b6b;
  --accent2: #5b8def;
  --live: #e63956;
  --panel: rgba(255, 255, 255, 0.86);
  --panel-strong: rgba(255, 248, 242, 0.96);
  --line: rgba(91, 141, 239, 0.22);
  --max: 1120px;
  --display: "Fredoka", "Nunito", "Noto Sans SC", sans-serif;
  --sans: "Nunito", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --radius: 22px;
  --shadow: 0 14px 36px rgba(91, 80, 140, 0.12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.illust {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  background: var(--bg0);
  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-illust {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 180, 120, 0.55), transparent 42%),
    radial-gradient(circle at 88% 12%, rgba(120, 180, 255, 0.42), transparent 40%),
    radial-gradient(circle at 70% 78%, rgba(255, 140, 180, 0.35), transparent 45%),
    radial-gradient(circle at 20% 85%, rgba(170, 230, 160, 0.32), transparent 40%),
    linear-gradient(180deg, #fff8f2 0%, #ffe8d8 45%, #f3e9ff 100%);
}
.bg-illust::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.55;
  background-image:
    radial-gradient(circle at 25% 30%, rgba(255,107,107,0.12) 0 18px, transparent 19px),
    radial-gradient(circle at 70% 55%, rgba(91,141,239,0.12) 0 14px, transparent 15px),
    radial-gradient(circle at 45% 75%, rgba(255,193,7,0.14) 0 10px, transparent 11px);
  background-size: 140px 140px, 110px 110px, 90px 90px;
  animation: blob-drift 18s ease-in-out infinite alternate;
}
.bg-illust::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -40px;
  top: 120px;
  border-radius: 42% 58% 60% 40% / 45% 42% 58% 55%;
  background: rgba(255, 255, 255, 0.35);
  filter: blur(2px);
  pointer-events: none;
  animation: blob-morph 12s ease-in-out infinite;
}
@keyframes blob-drift {
  from { transform: translateY(0); }
  to { transform: translateY(-18px); }
}
@keyframes blob-morph {
  0% { border-radius: 42% 58% 60% 40% / 45% 42% 58% 55%; transform: rotate(0deg); }
  50% { border-radius: 58% 42% 40% 60% / 55% 48% 52% 45%; transform: rotate(8deg); }
  100% { border-radius: 42% 58% 60% 40% / 45% 42% 58% 55%; transform: rotate(0deg); }
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 250, 246, 0.82);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(91, 80, 140, 0.08);
}
.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0 0.55rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.brand img {
  width: 48px;
  height: 48px;
  border-radius: 40% 60% 55% 45% / 50% 40% 60% 50%;
  background: #fff;
  border: 3px solid #fff;
  box-shadow: 0 6px 16px rgba(255, 107, 107, 0.35);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text em {
  font-style: normal;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--accent);
  font-family: var(--display);
  font-weight: 700;
}
.brand-text b {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.nav-toggle {
  display: none;
  border: 0;
  background: linear-gradient(135deg, #ff8a7a, #5b8def);
  color: #fff;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(91, 141, 239, 0.28);
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: center;
  padding: 0.15rem 0 0.45rem;
}
.main-nav a {
  padding: 0.5rem 0.95rem;
  font-weight: 800;
  font-size: 0.92rem;
  border-radius: 999px;
  border: 2px solid transparent;
  background: rgba(255,255,255,0.45);
}
.main-nav a.on,
.main-nav a:hover {
  background: linear-gradient(135deg, #ff8a7a, #ff6b6b);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 18px rgba(255, 107, 107, 0.28);
}
.sub-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  padding: 0.35rem 0 0.75rem;
  font-size: 0.82rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.sub-nav a.on { color: var(--accent); font-weight: 700; }

.site-main { padding: 1.4rem 0 3rem; position: relative; z-index: 1; }

.glass-panel,
.hero.glass-panel,
.about.glass-panel,
.faq.glass-panel {
  background: var(--panel);
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.35rem 1.4rem;
  margin: 1.25rem 0;
  position: relative;
  overflow: hidden;
}
.glass-panel::before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  right: -20px;
  top: -30px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,180,120,0.35), transparent 70%);
  pointer-events: none;
}

.hero {
  text-align: center;
  padding: 2rem 1.4rem 1.7rem;
}
.hero .eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 700;
}
.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.2rem, 6.5vw, 3.2rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: var(--ink);
}
.hero-kw {
  margin: 0.7rem 0 0.85rem;
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  padding: 0.35rem 1.05rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff8a7a, #5b8def);
  border: 0;
  box-shadow: 0 8px 18px rgba(91, 141, 239, 0.25);
}
.hero .lead {
  margin: 0 auto;
  max-width: 42rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.hero-mini {
  padding: 0.35rem 0 1rem;
  margin-bottom: 0.75rem;
}
.hero-mini h1 {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: 1.75rem;
  letter-spacing: 0.02em;
}
.hero-mini p { margin: 0; color: var(--muted); font-size: 0.92rem; }

.sec { margin: 1.6rem 0; }
.sec-title {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin: 0 0 1rem;
  font-size: 1.3rem;
  font-weight: 700;
  font-family: var(--display);
}
.sec-title span {
  border-bottom: 3px solid var(--accent);
  padding-bottom: 0.1rem;
}
.sec-title small {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1rem 0 1.25rem;
}
.chip {
  border: 2px solid var(--ink);
  padding: 0.28rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 16px;
  background: var(--panel);
}
.chip.on, .chip:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--ink);
}

.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: 2px solid var(--line);
  padding: 0.45rem 0.55rem;
  background: var(--panel);
  border-radius: 16px;
}
.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(--accent2);
  color: #fff;
}
.date-item.on span { color: rgba(255,255,255,0.85); }

.league-block { margin-bottom: 1.2rem; }
.league-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.55rem;
  font-size: 0.95rem;
  font-weight: 700;
}
.league-title img {
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 1px;
}
.league-title small {
  margin-left: auto;
  font-weight: 500;
  color: var(--muted);
  font-size: 0.75rem;
}

.match-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.match-card {
  display: grid;
  grid-template-columns: 7.8rem 1fr auto 1fr auto;
  gap: 0.55rem;
  align-items: center;
  padding: 0.75rem 0.85rem;
  border: 2px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.match-card:hover {
  background: var(--panel-strong);
  border-color: var(--accent2);
  color: inherit;
}
.match-card.is-live {
  border-color: var(--live);
  background: rgba(255, 107, 107, 0.12);
  box-shadow: inset 4px 0 0 var(--live);
}
.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%;
  padding: 2px;
}
.mc-team strong {
  font-size: 0.92rem;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mc-score {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 700;
  min-width: 3.2rem;
  text-align: center;
  color: var(--accent2);
}
.mc-btn {
  font-size: 0.72rem;
  font-weight: 800;
  border: 2px solid var(--ink);
  padding: 0.28rem 0.55rem;
  white-space: nowrap;
  border-radius: 16px;
  background: rgba(91, 141, 239, 0.12);
  color: var(--accent);
}
.is-live .mc-btn {
  background: var(--live);
  border-color: var(--ink);
  color: #fff;
}

.vlist { display: flex; flex-direction: column; gap: 0.4rem; }
.vrow {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0.9rem;
  border: 2px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  font-size: 0.95rem;
}
.vrow:hover { border-color: var(--accent2); color: inherit; }
.vrow time { color: var(--muted); font-size: 0.8rem; flex-shrink: 0; }

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}
.news-card {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 0.75rem;
  padding: 0.75rem;
  border: 2px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
}
.news-card:hover { border-color: var(--accent2); color: inherit; }
.news-card img {
  width: 110px;
  height: 78px;
  object-fit: cover;
  border-radius: 12px;
  background: var(--panel-strong);
  border: 1px solid var(--line);
}
.news-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}
.news-card time { font-size: 0.75rem; color: var(--muted); }
.news-card p { margin: 0 0 0.35rem; color: var(--muted); font-size: 0.85rem; }

.about h2, .faq h2 {
  margin: 0 0 0.85rem;
  font-family: var(--display);
  font-size: 1.45rem;
}
.about h3 {
  margin: 1.1rem 0 0.4rem;
  font-size: 1rem;
  color: var(--accent);
}
.about p { margin: 0.4rem 0; color: var(--muted); }

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 0.65rem 0;
}
.faq details:last-child { border-bottom: 0; }
.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.02rem;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "+ ";
  color: var(--accent2);
  font-family: var(--display);
}
.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: 2px dashed var(--line);
  border-radius: 16px;
  background: var(--panel);
}

.match-detail {
  text-align: center;
  padding: 1.2rem 1rem 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255,255,255,0.85);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}
.match-detail .kicker {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.match-detail h1 {
  margin: 0.4rem 0 1.2rem;
  font-size: clamp(1.35rem, 4vw, 1.9rem);
}
.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: 2px solid var(--line);
  border-radius: 50%;
  padding: 4px;
}
.md-board .mid b {
  display: block;
  font-family: var(--display);
  font-size: 2rem;
  color: var(--accent2);
}
.badge {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border: 2px solid var(--ink);
  border-radius: 16px;
}
.badge.live { background: var(--live); color: #fff; border-color: var(--ink); }
.signals { display: flex; justify-content: center; gap: 0.55rem; flex-wrap: wrap; }
.sig {
  border: 2px solid var(--ink);
  padding: 0.45rem 1.1rem;
  font-weight: 800;
  font-size: 0.88rem;
  border-radius: 16px;
  background: rgba(91, 141, 239, 0.12);
  color: var(--accent);
}
.sig:hover {
  background: 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-size: clamp(1.4rem, 4vw, 1.85rem);
  line-height: 1.3;
}
.meta-box {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  font-size: 0.78rem;
  color: var(--muted);
  padding: 0.75rem 0.9rem;
  border: 2px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  margin-bottom: 1rem;
}
.article .cover { margin: 0 0 1rem; }
.article .cover img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: 16px;
  border: 2px solid var(--line);
}
.article .content {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--ink);
}
.article .content p { margin: 0.85rem 0; }
.article .content img {
  margin: 0.5rem 0;
  border-radius: 16px;
  border: 1px solid var(--line);
}
.pn {
  display: grid;
  gap: 0.65rem;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 2px solid var(--line);
}
.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: 2px solid var(--line);
  border-radius: 16px;
  font-size: 0.88rem;
  background: var(--panel);
}
.pager .on {
  background: linear-gradient(135deg, #ff8a7a, #5b8def);
  color: #fff;
  border-color: transparent;
  font-weight: 800;
}

.friends {
  border-top: 1px solid var(--line);
  padding: 0.9rem 0;
  font-size: 0.85rem;
  background: rgba(255,255,255,0.55);
}
.friends .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 1rem;
}
.friends .lab {
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 0.75rem;
  color: var(--ink);
}
.friends a { color: var(--muted); }
.friends a:hover { color: var(--accent); }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.25rem 0 2rem;
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
  background: linear-gradient(180deg, rgba(255,255,255,0.2), rgba(243,233,255,0.7));
}
.site-footer p { margin: 0.35rem 0; }
.site-footer .foot-desc {
  max-width: 48rem;
  margin: 0 auto 0.75rem;
  color: var(--muted);
}

@media (max-width: 820px) {
  .nav-toggle { display: inline-block; }
  .main-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 0.75rem;
  }
  .main-nav.open { display: flex; }
  .main-nav a {
    border-radius: 16px;
    padding: 0.8rem 0.9rem;
    border: 2px solid var(--line);
    background: var(--panel);
  }
  .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 { grid-template-columns: 88px 1fr; }
  .news-card img { width: 88px; height: 66px; }
  .md-board { gap: 0.5rem; }
  .md-board .side strong { font-size: 0.9rem; }
  .glass-panel { padding: 1.1rem; }
}

@media (max-width: 480px) {
  .wrap { width: min(100% - 1.15rem, var(--max)); }
  .brand-text b { font-size: 1.15rem; }
  .hero { padding: 1.4rem 1rem 1.2rem; }
  .vrow { flex-direction: column; gap: 0.25rem; }
}
