/* 龙门直播网 · 插画风 */
:root {
  --ink: #1c3a6e;
  --ink-soft: #3a547e;
  --orange: #ff7a2e;
  --coral: #ff5a6a;
  --teal: #2ea8a0;
  --cream: #fff4d6;
  --sand: #ffe8c2;
  --sky: #d9f0ff;
  --mint: #d8f5e8;
  --paper: #fffaf0;
  --line: rgba(28, 58, 110, 0.12);
  --shadow: 0 12px 32px rgba(28, 58, 110, 0.08);
  --radius: 18px;
  --font-display: 'Hiragino Sans GB', 'PingFang SC', 'Microsoft YaHei', 'WenQuanYi Micro Hei', sans-serif;
  --font-body: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: linear-gradient(180deg, var(--sky) 0%, var(--cream) 42%, var(--mint) 100%);
  min-height: 100vh;
  position: relative;
  line-height: 1.65;
}
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--orange); }
img { max-width: 100%; height: auto; vertical-align: middle; }
.wrap { width: min(1180px, 94%); margin: 0 auto; }

.illus-bg { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.blob {
  position: absolute; border-radius: 50%;
  filter: blur(8px); opacity: 0.45;
}
.b1 { width: 280px; height: 280px; background: #ffd5a8; top: -40px; left: -60px; }
.b2 { width: 220px; height: 220px; background: #b8e8ff; top: 30%; right: -50px; }
.b3 { width: 180px; height: 180px; background: #c9f5d8; bottom: 10%; left: 20%; }
.deco { position: absolute; opacity: 0.18; width: 64px; height: 64px; }
.deco-ball { top: 18%; left: 8%; transform: rotate(-12deg); }
.deco-trophy { bottom: 22%; right: 10%; transform: rotate(8deg); }

.site-header, .second-header, .site-main, .site-footer { position: relative; z-index: 1; }

.site-header {
  background: rgba(255, 250, 240, 0.86);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid rgba(255, 122, 46, 0.18);
  position: sticky; top: 0; z-index: 20;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0; gap: 16px;
}
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 22px; color: var(--ink); }
.logo img { display: block; border-radius: 10px; }
.logo-text { white-space: nowrap; }
.main-nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.main-nav a {
  font-weight: 500; padding: 6px 4px; position: relative;
}
.main-nav a.active, .main-nav a:hover { color: var(--orange); }
.main-nav a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 3px; border-radius: 3px; background: var(--orange);
}
.nav-toggle {
  display: none; border: 0; background: var(--cream); color: var(--ink);
  font-size: 22px; width: 42px; height: 42px; border-radius: 12px; cursor: pointer;
}

.second-header {
  background: linear-gradient(90deg, #fff0d4, #e8f8ff);
  border-bottom: 1px dashed var(--line);
}
.second-inner {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 10px 0; font-size: 14px;
}
.second-inner a {
  padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,0.7);
  border: 1px solid var(--line);
}
.hot-ico { flex-shrink: 0; }

.site-main { padding: 22px 0 48px; }
.layout { display: grid; grid-template-columns: 1fr 320px; gap: 22px; }
.panel {
  background: rgba(255, 250, 240, 0.92);
  border: 2px solid rgba(255, 122, 46, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.panel-tit {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 18px;
  font-family: var(--font-display);
  font-size: 20px;
  background: linear-gradient(90deg, #ffe0b8, #dff4ff);
  border-bottom: 1px solid var(--line);
}
.panel-tit img { width: 22px; height: 22px; }
.panel-body { padding: 12px 14px 16px; }

.match-item {
  display: grid;
  grid-template-columns: 110px 1fr 88px;
  gap: 10px;
  align-items: center;
  padding: 12px 8px;
  border-bottom: 1px dashed var(--line);
}
.match-item:last-child { border-bottom: 0; }
.info_left { display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.info_left .time { font-weight: 700; color: var(--ink); }
.info_left .time em { display: block; font-style: normal; font-weight: 400; color: var(--ink-soft); font-size: 12px; }
.info_left .league a {
  display: inline-block; padding: 2px 8px; border-radius: 8px;
  background: var(--sand); font-size: 12px;
}
.info_center {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center;
}
.home, .away { display: flex; align-items: center; gap: 8px; min-width: 0; }
.away { justify-content: flex-end; }
.home .text, .away .text {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 500;
}
.home img, .away img { width: 36px; height: 36px; border-radius: 50%; background: #fff; object-fit: cover; flex-shrink: 0; }
.score .fenge {
  display: inline-block; min-width: 54px; text-align: center;
  font-family: var(--font-display); font-size: 18px; color: var(--coral);
}
.btn-watch {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; padding: 8px 0; border-radius: 12px; font-size: 13px; font-weight: 700;
  background: var(--cream); border: 1px solid var(--line);
}
.btn-watch.st-live { background: var(--orange); color: #fff; border-color: transparent; animation: pulse 1.6s infinite; }
.btn-watch.st-soon { background: #e8f8ff; color: var(--ink); }
.btn-watch.st-end { background: #eee; color: #777; }
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

.hot-leagues {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.hot-leagues a {
  text-align: center; padding: 10px 6px; border-radius: 14px;
  background: linear-gradient(180deg, #fff, var(--cream));
  border: 1px solid var(--line);
  transition: transform .2s ease;
}
.hot-leagues a:hover { transform: translateY(-3px); }
.hot-leagues .pic {
  width: 56px; height: 56px; margin: 0 auto 6px;
  border-radius: 50%; overflow: hidden; background: #fff;
  display: grid; place-items: center;
}
.hot-leagues img { width: 48px; height: 48px; object-fit: contain; }
.hot-leagues p { margin: 0; font-size: 13px; }

.news-list { list-style: none; margin: 0; padding: 0; }
.news-list li { padding: 10px 0; border-bottom: 1px dashed var(--line); }
.news-list li:last-child { border-bottom: 0; }
.news-list a { display: block; font-size: 14px; }
.news-list time { display: block; color: var(--ink-soft); font-size: 12px; margin-top: 4px; }

.hero-banner {
  margin-bottom: 22px;
  padding: 28px 26px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 85% 20%, rgba(255,122,46,.25), transparent 40%),
    linear-gradient(135deg, #fff4d6, #d9f0ff 55%, #d8f5e8);
  border: 2px solid rgba(255,122,46,0.15);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-banner h1 {
  margin: 0 0 8px; font-family: var(--font-display); font-size: clamp(28px, 4vw, 40px);
  color: var(--ink);
}
.hero-banner p { margin: 0; max-width: 640px; color: var(--ink-soft); }

.section-block { margin-top: 22px; }
.about-box, .faq-box { padding: 8px 4px; }
.about-box h3 { font-family: var(--font-display); color: var(--orange); margin: 18px 0 8px; }
.faq-item { margin-bottom: 12px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,0.65); border: 1px solid var(--line); }
.faq-item h4 { margin: 0 0 6px; font-size: 15px; }
.faq-item p { margin: 0; color: var(--ink-soft); font-size: 14px; }

.breadcrumb { font-size: 13px; color: var(--ink-soft); margin-bottom: 14px; }
.breadcrumb a { color: var(--ink-soft); }

.detail-card { padding: 20px; }
.match-vs {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center;
  text-align: center; padding: 20px 0;
}
.match-vs .team img { width: 72px; height: 72px; border-radius: 50%; background: #fff; }
.match-vs .team strong { display: block; margin-top: 8px; font-size: 16px; }
.match-vs .mid .score-big { font-family: var(--font-display); font-size: 36px; color: var(--coral); }
.match-meta { text-align: center; color: var(--ink-soft); margin-bottom: 18px; }
.signal-list { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 18px 0; }
.signal-list a {
  padding: 10px 18px; border-radius: 12px; background: var(--orange); color: #fff; font-weight: 700;
}
.signal-list a:hover { color: #fff; filter: brightness(1.05); }

.article-cover { border-radius: 14px; overflow: hidden; margin-bottom: 16px; }
.article-meta {
  display: flex; flex-wrap: wrap; gap: 10px 16px; font-size: 13px; color: var(--ink-soft);
  margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px dashed var(--line);
}
.article-content { font-size: 15px; }
.article-content p { margin: 0 0 14px; }
.pager { display: flex; justify-content: space-between; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.pager a { padding: 8px 12px; border-radius: 10px; background: var(--cream); border: 1px solid var(--line); font-size: 13px; }

.site-footer {
  background: #1c3a6e; color: rgba(255,255,255,0.85); padding: 28px 0 36px; margin-top: 20px;
}
.site-footer a { color: #ffd5a8; }
.site-footer a:hover { color: #fff; }
.footer-desc { margin: 0 0 12px; font-size: 13px; line-height: 1.7; }
.friend-links { font-size: 13px; margin-bottom: 10px; }
.friend-links a { margin-right: 12px; }
.copyright { margin: 0; font-size: 12px; opacity: 0.75; }

.empty { padding: 30px; text-align: center; color: var(--ink-soft); }

@media (max-width: 960px) {
  .layout { grid-template-columns: 1fr; }
  .match-item { grid-template-columns: 90px 1fr 72px; }
}
@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .main-nav {
    display: none; position: absolute; top: 64px; left: 3%; right: 3%;
    background: var(--paper); border-radius: 14px; padding: 12px;
    flex-direction: column; box-shadow: var(--shadow); border: 1px solid var(--line);
  }
  .main-nav.open { display: flex; }
  .logo-text { font-size: 18px; }
  .match-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .info_right { width: 100%; }
  .info_center { grid-template-columns: 1fr; text-align: center; }
  .home, .away { justify-content: center; }
  .away { flex-direction: row-reverse; }
  .hero-banner { padding: 20px 16px; }
  .hot-leagues { grid-template-columns: repeat(3, 1fr); }
}
