/* ============================================================
   开云推荐体育 xrmapyu.cn — 蓝白主题
   ============================================================ */
:root {
  --blue-deep:  #0d2b6e;
  --blue-mid:   #1565c0;
  --blue-light: #1e88e5;
  --blue-pale:  #e3f0ff;
  --blue-ghost: #f0f6ff;
  --white:      #ffffff;
  --text:       #1a2845;
  --text2:      #4a6490;
  --text3:      #8ba4c9;
  --border:     #d0e2f7;
  --red:        #e53935;
  --green:      #2e7d32;
  --gold:       #f59e0b;
  --shadow:     0 2px 12px rgba(21,101,192,.12);
  --shadow-lg:  0 6px 32px rgba(21,101,192,.18);
  --radius:     10px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
  background: var(--blue-ghost);
  color: var(--text);
  line-height: 1.6;
  font-size: 15px;
}

a { color: inherit; text-decoration: none; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 1.2rem; }

/* ── Navbar ── */
.navbar {
  background: var(--blue-deep);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 16px rgba(13,43,110,.4);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 62px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
}
.nav-logo img { display: block; }
.nav-links {
  display: flex; align-items: center; gap: 6px;
}
.nav-links a {
  color: rgba(255,255,255,.78);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  transition: background .2s, color .2s;
}
.nav-links a:hover, .nav-links a.active {
  background: rgba(255,255,255,.15);
  color: #fff;
}
.nav-links a.nav-cta {
  background: var(--blue-light);
  color: #fff;
  font-weight: 700;
}
.nav-links a.nav-cta:hover { background: #1976d2; }
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  color: #fff; font-size: 1.4rem; padding: 4px 8px;
}
@media(max-width:768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; flex-direction: column; gap: 4px;
    position: absolute; top: 62px; left: 0; right: 0;
    background: var(--blue-deep); padding: 1rem;
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; text-align: center; }
  .hide-sm { display: none !important; }
}

/* ── Ticker ── */
.ticker-wrap {
  background: var(--blue-mid);
  overflow: hidden; display: flex; align-items: center;
  height: 36px;
}
.ticker-badge {
  background: var(--red);
  color: #fff; font-size: 11px; font-weight: 700;
  padding: 2px 10px; white-space: nowrap;
  flex-shrink: 0; height: 100%;
  display: flex; align-items: center;
}
.ticker-track {
  overflow: hidden; flex: 1;
}
.ticker-inner {
  display: inline-flex; gap: 0;
  animation: scroll-x 38s linear infinite;
  white-space: nowrap;
}
.ticker-item {
  color: rgba(255,255,255,.9);
  font-size: 13px; padding: 0 2.5rem;
}
.ticker-item::before { content: '·'; margin-right: 2.5rem; color: rgba(255,255,255,.4); }
@keyframes scroll-x { from { transform: translateX(0) } to { transform: translateX(-50%) } }

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-mid) 60%, var(--blue-light) 100%);
  padding: 3.5rem 0 3rem;
  position: relative; overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 3rem;
}
.hero-text { flex: 1; }
.hero-eyebrow {
  display: inline-block;
  background: rgba(255,255,255,.15);
  color: rgba(255,255,255,.9);
  font-size: 12px; font-weight: 600;
  padding: 4px 12px; border-radius: 20px;
  margin-bottom: 1rem; letter-spacing: .5px;
}
.hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900; color: #fff;
  line-height: 1.2; margin-bottom: .8rem;
}
.hero h1 span { color: #7ec8ff; }
.hero-desc {
  color: rgba(255,255,255,.75);
  font-size: 1rem; max-width: 540px; margin-bottom: 1.6rem;
}
.hero-btns { display: flex; gap: .8rem; flex-wrap: wrap; }
.btn-primary {
  background: #fff; color: var(--blue-mid);
  font-weight: 700; font-size: 14px;
  padding: .65rem 1.4rem; border-radius: 8px;
  transition: box-shadow .2s, transform .15s;
}
.btn-primary:hover { box-shadow: 0 4px 16px rgba(255,255,255,.3); transform: translateY(-1px); }
.btn-outline {
  background: rgba(255,255,255,.12);
  color: #fff; font-weight: 600; font-size: 14px;
  padding: .65rem 1.4rem; border-radius: 8px;
  border: 1px solid rgba(255,255,255,.3);
  transition: background .2s;
}
.btn-outline:hover { background: rgba(255,255,255,.22); }
.hero-stats {
  display: flex; gap: 2rem; flex-wrap: wrap; margin-top: 2rem;
}
.hero-stat-val { font-size: 1.6rem; font-weight: 800; color: #7ec8ff; }
.hero-stat-label { font-size: 11px; color: rgba(255,255,255,.6); margin-top: 2px; }
.hero-badge {
  flex-shrink: 0;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 16px; padding: 2rem;
  text-align: center; min-width: 200px;
}
.hero-badge-icon { font-size: 3.5rem; line-height: 1; margin-bottom: .8rem; }
.hero-badge-title { color: #fff; font-weight: 800; font-size: 1.1rem; }
.hero-badge-sub { color: rgba(255,255,255,.6); font-size: .8rem; margin-top: .3rem; }
@media(max-width:768px) {
  .hero-badge { display: none; }
  .hero-inner { flex-direction: column; gap: 1.5rem; }
}

/* ── Section wrapper ── */
.section { padding: 3rem 0; }
.section-alt { background: var(--white); }
.section-title {
  font-size: 1.3rem; font-weight: 800;
  color: var(--blue-deep); margin-bottom: 1.4rem;
  display: flex; align-items: center; gap: .5rem;
}
.section-title::after {
  content: ''; flex: 1; height: 2px;
  background: linear-gradient(to right, var(--blue-pale), transparent);
  margin-left: .8rem;
}
.section-meta {
  font-size: 13px; color: var(--text3); margin-left: auto; font-weight: 400;
}

/* ── Pick Cards (推荐) ── */
.picks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1rem;
}
.pick-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-top: 4px solid var(--blue-mid);
  padding: 1.2rem;
  transition: box-shadow .2s, transform .15s;
}
.pick-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.pick-card.vip-card { border-top-color: var(--gold); }
.pick-league {
  font-size: 11px; font-weight: 700;
  color: var(--blue-mid); letter-spacing: .4px;
  margin-bottom: .5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.pick-badge {
  display: inline-block; font-size: 10px; font-weight: 700;
  padding: 1px 7px; border-radius: 4px;
}
.pick-badge.free { background: #e3f2fd; color: var(--blue-mid); }
.pick-badge.vip  { background: #fff8e1; color: #b45309; }
.pick-teams {
  display: flex; align-items: center;
  justify-content: space-between; gap: .5rem;
  margin: .6rem 0;
}
.pick-team { font-size: 1rem; font-weight: 800; color: var(--text); }
.pick-vs { font-size: 11px; color: var(--text3); font-weight: 700; }
.pick-time { font-size: 12px; color: var(--text3); margin-bottom: .6rem; }
.pick-rec-row {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--blue-ghost); border-radius: 6px;
  padding: .5rem .8rem; margin: .5rem 0;
}
.pick-rec-label { font-size: 11px; color: var(--text2); }
.pick-rec-val { font-size: 1rem; font-weight: 800; color: var(--blue-mid); }
.pick-conf { font-size: 12px; color: var(--gold); }
.pick-note { font-size: 12px; color: var(--text2); line-height: 1.5; margin-top: .5rem; }

/* ── News ── */
.news-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 1.2rem;
}
@media(max-width:900px) { .news-layout { grid-template-columns: 1fr; } }
.news-featured {
  background: var(--white);
  border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden;
}
.news-featured-body { padding: 1.5rem; }
.news-tag {
  display: inline-block; background: var(--blue-pale);
  color: var(--blue-mid); font-size: 11px; font-weight: 700;
  padding: 2px 9px; border-radius: 4px; margin-bottom: .8rem;
}
.news-featured-title {
  font-size: 1.25rem; font-weight: 800;
  color: var(--text); line-height: 1.4; margin-bottom: .6rem;
}
.news-featured-desc { font-size: 13px; color: var(--text2); line-height: 1.6; margin-bottom: 1rem; }
.news-featured-meta { font-size: 12px; color: var(--text3); }
.news-list {
  display: flex; flex-direction: column; gap: .7rem;
}
.news-item {
  background: var(--white);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: .9rem 1rem;
  display: flex; gap: .8rem; align-items: flex-start;
  transition: box-shadow .2s;
}
.news-item:hover { box-shadow: var(--shadow-lg); }
.news-item-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--blue-light); flex-shrink: 0; margin-top: 6px;
}
.news-item-body { flex: 1; }
.news-item-title { font-size: 13px; font-weight: 700; color: var(--text); line-height: 1.4; margin-bottom: .3rem; }
.news-item-meta { font-size: 11px; color: var(--text3); }

/* ── Schedule & Results (赛程/赛果) ── */
.match-tabs {
  display: flex; gap: .5rem; margin-bottom: 1.2rem; flex-wrap: wrap;
}
.match-tab {
  background: var(--white); border: 1.5px solid var(--border);
  color: var(--text2); font-size: 13px; font-weight: 600;
  padding: .4rem 1rem; border-radius: 6px; cursor: pointer;
  transition: all .2s;
}
.match-tab.active, .match-tab:hover {
  background: var(--blue-mid); border-color: var(--blue-mid);
  color: #fff;
}
.match-table { width: 100%; border-collapse: collapse; }
.match-table th {
  background: var(--blue-deep); color: rgba(255,255,255,.8);
  font-size: 11px; font-weight: 700; letter-spacing: .5px;
  padding: .6rem .8rem; text-align: left;
}
.match-table th:nth-child(3),
.match-table th:nth-child(4),
.match-table th:nth-child(5) { text-align: center; }
.match-table td {
  padding: .7rem .8rem; border-bottom: 1px solid var(--border);
  font-size: 13px; vertical-align: middle;
}
.match-table tr:last-child td { border-bottom: none; }
.match-table tr:nth-child(even) td { background: var(--blue-ghost); }
.match-table td:nth-child(3),
.match-table td:nth-child(4),
.match-table td:nth-child(5) { text-align: center; }
.score-cell {
  font-weight: 800; font-size: 1rem; color: var(--blue-deep);
  letter-spacing: 2px;
}
.score-upcoming { color: var(--text3); font-size: 13px; font-weight: 600; }
.match-stage { font-size: 11px; color: var(--text3); }
.win-badge {
  display: inline-block; font-size: 10px; font-weight: 700;
  padding: 1px 6px; border-radius: 3px;
}
.win-badge.w { background: #e8f5e9; color: var(--green); }
.win-badge.l { background: #ffebee; color: var(--red); }
.win-badge.d { background: #f5f5f5; color: #555; }
.table-wrap {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; overflow-x: auto;
}
.match-league-header {
  background: var(--blue-pale);
  padding: .5rem .8rem;
  font-size: 12px; font-weight: 700;
  color: var(--blue-deep);
  border-bottom: 1px solid var(--border);
}

/* ── Hot Picks Banner ── */
.hot-banner {
  background: linear-gradient(90deg, var(--blue-deep), var(--blue-mid));
  border-radius: var(--radius); padding: 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem;
}
.hot-banner-text h2 { color: #fff; font-size: 1.1rem; font-weight: 800; margin-bottom: .2rem; }
.hot-banner-text p { color: rgba(255,255,255,.7); font-size: 13px; }
.hot-banner a {
  background: #fff; color: var(--blue-mid);
  font-weight: 700; font-size: 13px;
  padding: .6rem 1.4rem; border-radius: 7px;
  white-space: nowrap;
}
.hot-banner a:hover { background: var(--blue-pale); }

/* ── Guide nav ── */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: .7rem;
}
.guide-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: .8rem 1rem;
  font-size: 13px; font-weight: 600; color: var(--text);
  display: flex; align-items: center; gap: .6rem;
  transition: border-color .2s, background .2s;
}
.guide-card:hover {
  border-color: var(--blue-mid);
  background: var(--blue-ghost); color: var(--blue-mid);
}

/* ── Footer ── */
footer {
  background: var(--blue-deep);
  color: rgba(255,255,255,.65);
  padding: 2.5rem 0 1.5rem;
  margin-top: 3rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem; margin-bottom: 2rem;
}
@media(max-width:768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-brand { font-size: 1.1rem; font-weight: 800; color: #fff; margin-bottom: .5rem; }
.footer-desc { font-size: 12px; line-height: 1.7; }
.footer-kw { font-size: 11px; color: rgba(255,255,255,.4); margin-top: .5rem; }
.footer-col h4 { color: #fff; font-size: 13px; margin-bottom: .7rem; }
.footer-col a {
  display: block; font-size: 12px; color: rgba(255,255,255,.55);
  margin-bottom: .35rem; transition: color .15s;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem;
  font-size: 11px; color: rgba(255,255,255,.35);
}

/* ── Flash ── */
.flash {
  padding: .6rem 1rem; border-radius: 6px;
  font-size: 13px; margin-bottom: .8rem;
}
.flash.info { background: var(--blue-pale); color: var(--blue-mid); }

/* ── Article pages ── */
.art-wrap { max-width: 900px; margin: 0 auto; padding: 1.5rem 1.2rem 3rem; }
.breadcrumb {
  display: flex; align-items: center; gap: .4rem;
  font-size: 12px; color: var(--text3); margin-bottom: 1.2rem;
}
.breadcrumb a { color: var(--blue-mid); }
.bc-sep { color: var(--text3); }
.art-hero-box {
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-mid));
  border-radius: 12px; padding: 2rem;
  margin-bottom: 1.5rem;
}
.art-eyebrow {
  display: inline-block; background: rgba(255,255,255,.15);
  color: rgba(255,255,255,.9); font-size: 11px; font-weight: 700;
  padding: 3px 10px; border-radius: 20px; margin-bottom: .8rem;
}
.art-h1 { font-size: clamp(1.3rem, 3vw, 1.8rem); font-weight: 900; color: #fff; margin-bottom: .5rem; }
.art-desc { font-size: 13px; color: rgba(255,255,255,.75); }
.art-body { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.5rem; }
.art-h2 { font-size: 1.1rem; font-weight: 800; color: var(--blue-deep); margin: 1.4rem 0 .7rem; border-left: 4px solid var(--blue-mid); padding-left: .6rem; }
.art-h3 { font-size: .95rem; font-weight: 700; color: var(--text); margin: 1rem 0 .4rem; }
.art-p { font-size: 13px; color: var(--text2); line-height: 1.8; margin-bottom: .7rem; }
.art-list { padding-left: 1.2rem; margin-bottom: .7rem; }
.art-list li { font-size: 13px; color: var(--text2); line-height: 1.8; margin-bottom: .3rem; }
.art-cta {
  background: linear-gradient(90deg, var(--blue-deep), var(--blue-mid));
  border-radius: var(--radius); padding: 1.2rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem; margin-top: 1.5rem;
}
.art-cta-text { color: #fff; font-weight: 700; font-size: .95rem; }
.art-cta-btn {
  background: #fff; color: var(--blue-mid);
  font-weight: 700; font-size: 13px;
  padding: .55rem 1.2rem; border-radius: 7px;
}
.faq-item {
  border: 1px solid var(--border); border-radius: 7px;
  margin-bottom: .6rem; overflow: hidden;
}
.faq-q {
  padding: .8rem 1rem; font-size: 13px; font-weight: 700;
  cursor: pointer; list-style: none;
  background: var(--blue-ghost); color: var(--text);
}
.faq-q::-webkit-details-marker { display: none; }
.faq-a {
  padding: .8rem 1rem; font-size: 13px;
  color: var(--text2); line-height: 1.7;
  border-top: 1px solid var(--border);
}
.related-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: .7rem; margin-top: .8rem;
}
.related-card {
  background: var(--blue-ghost); border: 1.5px solid var(--border);
  border-radius: 8px; padding: .7rem .9rem;
  font-size: 12px; font-weight: 600; color: var(--text);
  display: flex; flex-direction: column; gap: .2rem;
  transition: border-color .2s;
}
.related-card:hover { border-color: var(--blue-mid); color: var(--blue-mid); }
.rc-eyebrow { font-size: 10px; color: var(--text3); }
