:root {
  --xlcf-navy: #0f3460;
  --xlcf-deep: #16213e;
  --xlcf-ink: #1a1a2e;
  --xlcf-jade: #16c79a;
  --xlcf-rose: #e94560;
  --xlcf-mist: #a8dadc;
  --xlcf-paper: #f4f7fb;
  --xlcf-glass: rgba(255, 255, 255, 0.08);
  --xlcf-border: rgba(255, 255, 255, 0.14);
  --xlcf-shadow: 0 18px 48px rgba(15, 52, 96, 0.22);
  --xlcf-radius: 18px;
  --xlcf-header-h: 64px;
  --xlcf-sticky-h: 88px;
  --xlcf-max: 1120px;
  --xlcf-font: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--xlcf-font);
  color: #2b3348;
  background: var(--xlcf-paper);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
body.xlcf-menu-lock { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--xlcf-navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--xlcf-rose); }

.xlcf-top-shell {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(15, 52, 96, 0.98);
  border-bottom: 1px solid var(--xlcf-border);
}
.xlcf-header {
  position: relative;
  height: var(--xlcf-header-h);
  background: transparent;
  border: none;
  overflow: visible;
}
.xlcf-header-inner {
  max-width: var(--xlcf-max); margin: 0 auto; padding: 0 18px;
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.xlcf-brand {
  display: flex; align-items: center; gap: 10px;
  color: #fff; text-decoration: none; font-weight: 700;
}
.xlcf-brand img { width: 38px; height: 38px; }
.xlcf-nav-toggle {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; border: 1px solid var(--xlcf-border);
  border-radius: 12px; background: var(--xlcf-glass); cursor: pointer; padding: 10px;
}
.xlcf-nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; }
.xlcf-nav-panel {
  position: fixed;
  top: var(--xlcf-header-h);
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  background: rgba(22, 33, 62, 0.98);
  transform: translateX(100%);
  transition: transform 0.32s ease;
  z-index: 920;
  padding: 28px 24px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.xlcf-nav-panel.xlcf-nav-open { transform: translateX(0); }
.xlcf-nav-panel ul { list-style: none; margin: 0; padding: 0; }
.xlcf-nav-panel li + li { margin-top: 6px; }
.xlcf-nav-panel a {
  display: block; padding: 14px 16px; color: #fff; text-decoration: none;
  border-radius: 12px; font-size: 1.05rem;
}
.xlcf-nav-panel a:hover, .xlcf-nav-panel a[aria-current="page"] {
  background: rgba(22, 199, 154, 0.18); color: var(--xlcf-mist);
}
@media (min-width: 900px) {
  .xlcf-top-shell {
    display: flex;
    align-items: center;
    max-width: var(--xlcf-max);
    margin: 0 auto;
    padding: 0 18px;
    min-height: var(--xlcf-header-h);
  }
  .xlcf-header { flex: 1; min-width: 0; }
  .xlcf-header-inner { padding: 0; justify-content: flex-start; }
  .xlcf-nav-toggle { display: none; }
  .xlcf-nav-panel {
    position: static; top: auto; left: auto; right: auto; bottom: auto;
    width: auto; transform: none; background: transparent;
    padding: 0; overflow: visible; z-index: auto; flex-shrink: 0;
  }
  .xlcf-nav-panel ul { display: flex; gap: 6px; }
  .xlcf-nav-panel li + li { margin-top: 0; }
  .xlcf-nav-panel a { padding: 8px 14px; font-size: 0.95rem; }
}

/* 广告区统一样式（顶部 + 漂浮） */
.xlcf-ads-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px 6px;
  justify-items: center;
  align-items: start;
  margin: 10px 0;
}
.xlcf-ad-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 70px;
  box-sizing: border-box;
}
.xlcf-ad-link {
  display: inline-block;
  text-decoration: none;
  border-radius: 15px;
}
.xlcf-ad-link img {
  width: 65px;
  height: 65px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(24, 24, 24, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease;
  display: block;
  border: none;
  background: linear-gradient(135deg, #fff, #fff);
}
.xlcf-ad-link:hover img {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 10px 24px rgba(24, 24, 24, 0.18);
}
.xlcf-ad-caption {
  height: 15px;
  font-size: 11px;
  color: #666;
  text-align: center;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 2px;
}
@media (min-width: 900px) {
  .xlcf-ads-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); }
}

.xlcf-sticky-bar {
  position: fixed;
  top: var(--xlcf-header-h);
  left: 0;
  right: 0;
  z-index: 860;
  background: rgba(244, 247, 251, 0.98);
  border-bottom: 1px solid rgba(15, 52, 96, 0.1);
  padding: 0 12px;
  visibility: hidden;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease, max-height 0.28s ease, padding 0.28s ease;
}
.xlcf-sticky-bar.xlcf-sticky-visible {
  visibility: visible;
  opacity: 1;
  max-height: 220px;
  padding: 8px 12px;
  overflow: visible;
  pointer-events: auto;
}
.xlcf-sticky-bar .xlcf-ads-grid {
  max-width: var(--xlcf-max);
  margin: 0 auto;
}
body.xlcf-has-sticky main {
  scroll-margin-top: calc(var(--xlcf-header-h) + var(--xlcf-sticky-live-h, 0px));
}
.xlcf-promo-wrap { max-width: var(--xlcf-max); margin: 0 auto; padding: 12px 18px 0; }

.xlcf-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(145deg, var(--xlcf-ink) 0%, var(--xlcf-navy) 45%, #1b4332 100%);
  color: #fff; padding: 48px 18px 64px;
}
.xlcf-hero::before {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 199, 154, 0.35), transparent 68%);
  top: -120px; right: -80px; pointer-events: none;
}
.xlcf-hero-inner {
  position: relative; z-index: 1; max-width: var(--xlcf-max); margin: 0 auto;
  display: grid; gap: 32px; align-items: center;
}
.xlcf-hero h1 { margin: 0 0 16px; font-size: clamp(1.65rem, 5vw, 2.35rem); line-height: 1.3; }
.xlcf-hero-lead { margin: 0; color: var(--xlcf-mist); font-size: 1.02rem; max-width: 36em; }
.xlcf-hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.xlcf-hero-tags span {
  padding: 6px 14px; border-radius: 999px; background: var(--xlcf-glass);
  border: 1px solid var(--xlcf-border); font-size: 0.85rem;
}
.xlcf-hero-visual {
  justify-self: center; width: min(280px, 72vw);
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.35));
  animation: xlcf-float 5s ease-in-out infinite;
}
@keyframes xlcf-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@media (min-width: 860px) {
  .xlcf-hero { padding: 72px 24px 88px; }
  .xlcf-hero-inner { grid-template-columns: 1.1fr 0.9fr; }
}

.xlcf-wrap { max-width: var(--xlcf-max); margin: 0 auto; padding: 0 18px; }
.xlcf-section { padding: 52px 0; }
.xlcf-section-alt { background: linear-gradient(180deg, #fff 0%, #eef3f9 100%); }
.xlcf-section h2 { margin: 0 0 12px; font-size: clamp(1.35rem, 3.5vw, 1.75rem); color: var(--xlcf-navy); }
.xlcf-section h3 { margin: 28px 0 10px; font-size: 1.15rem; color: var(--xlcf-deep); }
.xlcf-section p { margin: 0 0 14px; }
.xlcf-kicker {
  display: inline-block; margin-bottom: 10px; font-size: 0.82rem;
  letter-spacing: 0.12em; color: var(--xlcf-jade); font-weight: 600;
}

.xlcf-split { display: grid; gap: 28px; align-items: center; }
.xlcf-split-media {
  border-radius: calc(var(--xlcf-radius) + 6px); overflow: hidden;
  box-shadow: var(--xlcf-shadow); border: 1px solid rgba(15, 52, 96, 0.08);
}
@media (min-width: 768px) {
  .xlcf-split { grid-template-columns: 1fr 1fr; }
  .xlcf-split-reverse .xlcf-split-media { order: 2; }
}

.xlcf-card-grid { display: grid; gap: 18px; margin-top: 24px; }
@media (min-width: 600px) { .xlcf-card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .xlcf-card-grid-3 { grid-template-columns: repeat(3, 1fr); } }
.xlcf-card {
  background: #fff; border-radius: var(--xlcf-radius); padding: 22px 20px;
  border: 1px solid rgba(15, 52, 96, 0.08); box-shadow: 0 8px 24px rgba(15, 52, 96, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.xlcf-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(15, 52, 96, 0.12); }
.xlcf-card img { width: 52px; height: 52px; margin-bottom: 12px; border-radius: 12px; object-fit: cover; }
.xlcf-card h3 { margin: 0 0 8px; font-size: 1.05rem; }
.xlcf-card p { margin: 0; font-size: 0.94rem; color: #4a5568; }

.xlcf-ribbon {
  background: linear-gradient(120deg, rgba(15, 52, 96, 0.94), rgba(22, 199, 154, 0.85));
  color: #fff; border-radius: var(--xlcf-radius); padding: 28px 24px; margin: 32px 0;
}
.xlcf-ribbon h3 { color: #fff; margin-top: 0; }
.xlcf-prose { font-size: 0.98rem; }
.xlcf-prose ul { padding-left: 1.2em; margin: 0 0 16px; }

.xlcf-cta-band { text-align: center; padding: 48px 18px; background: var(--xlcf-deep); color: #fff; }
.xlcf-cta-band h2 { color: #fff; margin-bottom: 10px; }
.xlcf-btn {
  display: inline-block; margin-top: 16px; padding: 14px 32px; border-radius: 999px;
  background: linear-gradient(135deg, var(--xlcf-jade), #0d9b74); color: #fff;
  text-decoration: none; font-weight: 600;
  box-shadow: 0 8px 24px rgba(22, 199, 154, 0.35);
  transition: transform 0.2s ease;
}
.xlcf-btn:hover { color: #fff; transform: translateY(-2px); }

.xlcf-crumb { max-width: var(--xlcf-max); margin: 0 auto; padding: 16px 18px 0; font-size: 0.88rem; color: #667; }
.xlcf-crumb a { color: var(--xlcf-navy); text-decoration: none; }
.xlcf-crumb span { margin: 0 6px; color: #aab; }

.xlcf-page-hero {
  background: linear-gradient(135deg, var(--xlcf-navy), var(--xlcf-deep));
  color: #fff; padding: 40px 18px 48px;
}
.xlcf-page-hero h1 { max-width: var(--xlcf-max); margin: 0 auto; font-size: clamp(1.5rem, 4vw, 2rem); }
.xlcf-legal { max-width: 820px; margin: 0 auto; padding: 36px 18px 64px; }
.xlcf-legal h2 { margin-top: 36px; font-size: 1.25rem; color: var(--xlcf-navy); }
.xlcf-legal h3 { margin-top: 22px; font-size: 1.05rem; }

.xlcf-footer { background: var(--xlcf-ink); color: rgba(255, 255, 255, 0.75); padding: 36px 18px; font-size: 0.9rem; }
.xlcf-footer-inner { max-width: var(--xlcf-max); margin: 0 auto; }
.xlcf-footer-nav { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 18px; }
.xlcf-footer-nav a { color: #fff; text-decoration: none; opacity: 0.88; }
.xlcf-footer-nav a:hover { opacity: 1; color: var(--xlcf-mist); }
.xlcf-footer-copy { margin: 0; font-size: 0.82rem; opacity: 0.6; }

.xlcf-error { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 48px 18px; }
.xlcf-error-code {
  font-size: 5rem; font-weight: 800; line-height: 1;
  background: linear-gradient(135deg, var(--xlcf-jade), var(--xlcf-rose));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.xlcf-reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.55s ease, transform 0.55s ease; }
.xlcf-reveal-on { opacity: 1; transform: translateY(0); }
