/* 插画风 · 龙珠直播 */
:root {
  --bg0: #fff6ea;
  --bg1: #ffe8d2;
  --ink: #1f2a37;
  --muted: #5d6b7a;
  --accent: #ff6b4a;
  --accent2: #2eb8a0;
  --live: #e11d48;
  --panel: rgba(255, 252, 247, 0.92);
  --panel-strong: #fffdf9;
  --line: rgba(255, 107, 74, 0.22);
  --sky: #7ec8ff;
  --sun: #ffd166;
  --max: 1120px;
  --display: "Fredoka", "Noto Sans SC", sans-serif;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --radius: 22px;
  --shadow: 0 14px 36px rgba(255, 107, 74, 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 280px at 8% 12%, rgba(126, 200, 255, 0.45), transparent 70%),
    radial-gradient(circle 320px at 92% 8%, rgba(255, 209, 102, 0.5), transparent 68%),
    radial-gradient(circle 360px at 78% 88%, rgba(46, 184, 160, 0.28), transparent 70%),
    radial-gradient(circle 260px at 12% 82%, rgba(255, 107, 74, 0.2), transparent 68%),
    linear-gradient(180deg, #fff9f0 0%, var(--bg0) 40%, var(--bg1) 100%);
}
.bg-illust::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 42% 58% 55% 45% / 48% 42% 58% 52%;
  background: rgba(126, 200, 255, 0.35);
  top: 18%;
  left: -40px;
  transform: rotate(-12deg);
}
.bg-illust::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 58% 42% 48% 52% / 42% 55% 45% 58%;
  background: rgba(255, 209, 102, 0.32);
  bottom: 8%;
  right: -50px;
  transform: rotate(18deg);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 249, 240, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 3px solid rgba(255, 107, 74, 0.18);
  box-shadow: 0 10px 28px rgba(255, 107, 74, 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: 16px;
  background: #fff;
  border: 3px solid #fff;
  box-shadow: 0 6px 0 rgba(255, 107, 74, 0.25), 0 10px 22px rgba(46, 184, 160, 0.2);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text em {
  font-style: normal;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: var(--accent2);
  font-family: var(--display);
  font-weight: 600;
}
.brand-text b {
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.nav-toggle {
  display: none;
  border: 2px solid var(--line);
  background: #fff;
  color: var(--ink);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-weight: 700;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: center;
  padding: 0.15rem 0 0.45rem;
}
.main-nav a {
  padding: 0.55rem 1.05rem;
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 999px;
  border: 2px solid transparent;
  background: transparent;
}
.main-nav a.on,
.main-nav a:hover {
  background: #fff;
  color: var(--accent);
  border-color: rgba(255, 107, 74, 0.35);
  box-shadow: 0 6px 0 rgba(255, 107, 74, 0.15);
}
.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);
}
.sub-nav a.on { color: var(--accent); font-weight: 700; }

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

.glass-panel,
.hero.glass-panel,
.about.glass-panel,
.faq.glass-panel {
  background: var(--panel);
  border: 3px solid #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow), 0 8px 0 rgba(255, 107, 74, 0.1);
  padding: 1.35rem 1.4rem;
  margin: 1.25rem 0;
  position: relative;
  overflow: hidden;
}
.glass-panel::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -30px;
  width: 140px;
  height: 140px;
  border-radius: 45% 55% 60% 40% / 50% 40% 60% 50%;
  background: rgba(126, 200, 255, 0.35);
  pointer-events: none;
}
.glass-panel::after {
  content: "";
  position: absolute;
  bottom: -40px;
  left: -20px;
  width: 110px;
  height: 110px;
  border-radius: 55% 45% 40% 60% / 45% 55% 45% 55%;
  background: rgba(255, 209, 102, 0.35);
  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.1em;
  color: var(--muted);
  position: relative;
  z-index: 1;
}
.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.2rem, 6.5vw, 3.4rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: var(--ink);
  position: relative;
  z-index: 1;
}
.hero-kw {
  margin: 0.7rem 0 0.85rem;
  display: inline-block;
  font-size: 0.98rem;
  font-weight: 800;
  color: #fff;
  padding: 0.35rem 1.05rem;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--accent), #ff8f6b);
  box-shadow: 0 8px 0 rgba(225, 29, 72, 0.18);
  position: relative;
  z-index: 1;
}
.hero .lead {
  margin: 0 auto;
  max-width: 42rem;
  color: var(--muted);
  font-size: 0.95rem;
  position: relative;
  z-index: 1;
}
.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.35rem;
  font-weight: 700;
  font-family: var(--display);
  letter-spacing: 0.02em;
}
.sec-title span {
  border-bottom: 4px solid var(--sun);
  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 #fff;
  padding: 0.35rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 999px;
  background: var(--panel);
  box-shadow: 0 4px 0 rgba(46, 184, 160, 0.15);
}
.chip.on, .chip:hover {
  background: var(--accent2);
  border-color: var(--accent2);
  color: #fff;
}

.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 #fff;
  padding: 0.45rem 0.55rem;
  background: var(--panel);
  border-radius: 16px;
  box-shadow: 0 4px 0 rgba(255, 107, 74, 0.1);
}
.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(--accent);
  background: #fff3ee;
  color: var(--accent);
}
.date-item.on span { color: rgba(255, 107, 74, 0.75); }

.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;
  padding: 2px;
  border: 2px solid #fff;
  box-shadow: 0 3px 0 rgba(0,0,0,0.05);
}
.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.55rem;
}
.match-card {
  display: grid;
  grid-template-columns: 7.8rem 1fr auto 1fr auto;
  gap: 0.55rem;
  align-items: center;
  padding: 0.8rem 0.9rem;
  border: 3px solid #fff;
  border-radius: 18px;
  background: var(--panel);
  box-shadow: 0 8px 0 rgba(255, 107, 74, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.match-card:hover {
  background: var(--panel-strong);
  color: inherit;
  transform: translateY(-3px);
  box-shadow: 0 12px 0 rgba(46, 184, 160, 0.15);
}
.match-card.is-live {
  border-color: rgba(225, 29, 72, 0.35);
  background: #fff1f3;
  box-shadow: 0 8px 0 rgba(225, 29, 72, 0.12);
}
.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: 2px solid #fff;
  border-radius: 50%;
  padding: 2px;
  box-shadow: 0 3px 0 rgba(0,0,0,0.06);
}
.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.25rem;
  font-weight: 700;
  min-width: 3.2rem;
  text-align: center;
  letter-spacing: 0.04em;
  color: var(--accent);
}
.mc-btn {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  border: 2px solid var(--accent2);
  padding: 0.32rem 0.65rem;
  white-space: nowrap;
  border-radius: 999px;
  background: rgba(46, 184, 160, 0.12);
  color: var(--accent2);
}
.is-live .mc-btn {
  background: var(--live);
  border-color: var(--live);
  color: #fff;
}

.vlist { display: flex; flex-direction: column; gap: 0.45rem; }
.vrow {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0.9rem;
  border: 3px solid #fff;
  border-radius: 16px;
  background: var(--panel);
  font-size: 0.95rem;
  box-shadow: 0 6px 0 rgba(126, 200, 255, 0.15);
}
.vrow:hover { border-color: var(--sky); 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: 3px solid #fff;
  border-radius: 18px;
  background: var(--panel);
  box-shadow: 0 8px 0 rgba(255, 209, 102, 0.18);
}
.news-card:hover { border-color: var(--sun); color: inherit; }
.news-card img {
  width: 110px;
  height: 78px;
  object-fit: cover;
  border-radius: 14px;
  background: #f0f4f8;
}
.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.5rem;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1;
}
.about h3 {
  margin: 1.1rem 0 0.4rem;
  font-size: 1rem;
  color: var(--accent);
  position: relative;
  z-index: 1;
}
.about p {
  margin: 0.4rem 0;
  color: var(--muted);
  position: relative;
  z-index: 1;
}

.faq details {
  border-bottom: 2px dashed rgba(255, 107, 74, 0.2);
  padding: 0.65rem 0;
  position: relative;
  z-index: 1;
}
.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(--accent);
  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 rgba(255, 107, 74, 0.3);
  border-radius: 18px;
  background: var(--panel);
}

.match-detail {
  text-align: center;
  padding: 1.2rem 1rem 1.5rem;
  margin-bottom: 1.5rem;
  border: 3px solid #fff;
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}
.match-detail .kicker {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.match-detail h1 {
  margin: 0.4rem 0 1.2rem;
  font-size: clamp(1.35rem, 4vw, 1.9rem);
  font-family: var(--display);
}
.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: 3px solid #fff;
  border-radius: 50%;
  padding: 4px;
  box-shadow: 0 6px 0 rgba(0,0,0,0.06);
}
.md-board .mid b {
  display: block;
  font-family: var(--display);
  font-size: 2rem;
  color: var(--accent);
}
.badge {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: #fff;
}
.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: 2px solid var(--accent2);
  padding: 0.45rem 1.1rem;
  font-weight: 800;
  font-size: 0.88rem;
  border-radius: 999px;
  background: rgba(46, 184, 160, 0.12);
  color: var(--accent2);
}
.sig:hover {
  background: var(--accent2);
  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;
  font-family: var(--display);
}
.meta-box {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  font-size: 0.78rem;
  color: var(--muted);
  padding: 0.75rem 0.9rem;
  border: 3px solid #fff;
  border-radius: 16px;
  background: var(--panel);
  margin-bottom: 1rem;
  box-shadow: 0 6px 0 rgba(126, 200, 255, 0.12);
}
.article .cover { margin: 0 0 1rem; }
.article .cover img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: 18px;
  border: 3px solid #fff;
  box-shadow: var(--shadow);
}
.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: 14px;
  border: 3px solid #fff;
}
.pn {
  display: grid;
  gap: 0.65rem;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 2px dashed rgba(255, 107, 74, 0.25);
}
.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 #fff;
  border-radius: 12px;
  font-size: 0.88rem;
  background: var(--panel);
  box-shadow: 0 4px 0 rgba(0,0,0,0.04);
}
.pager .on {
  background: linear-gradient(120deg, var(--accent), #ff8f6b);
  color: #fff;
  border-color: transparent;
  font-weight: 800;
}

.friends {
  border-top: 3px solid rgba(255, 107, 74, 0.15);
  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.06em;
  font-size: 0.75rem;
  color: var(--accent);
}
.friends a { color: var(--muted); }
.friends a:hover { color: var(--accent2); }

.site-footer {
  border-top: 3px solid rgba(46, 184, 160, 0.18);
  padding: 1.25rem 0 2rem;
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
  background: rgba(255, 252, 247, 0.85);
}
.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: 14px;
    padding: 0.8rem 0.9rem;
    border: 2px solid #fff;
    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.2rem; }
  .hero { padding: 1.4rem 1rem 1.2rem; }
  .vrow { flex-direction: column; gap: 0.25rem; }
  .bg-illust::before, .bg-illust::after { opacity: 0.55; }
}
