/* ============================================================
   xmjbet.com — 「桂黄 · 苍青 · 月白」清朗主题（全新原创骨架）
   基调：月白浅底 #f6f5ef / 苍青主字 #2e4a52 / 桂黄点缀 #c98a1b
   ============================================================ */
:root {
  --paper: #f6f5ef;
  --paper-warm: #f1ecdd;
  --card: #fffdf6;
  --cyan: #2e4a52;
  --cyan-deep: #223a41;
  --cyan-soft: #5c7a82;
  --cyan-line: #cfdad6;
  --osman: #c98a1b;
  --osman-deep: #a86f0e;
  --osman-wash: rgba(201, 138, 27, 0.10);
  --ink: #26403f;
  --muted: #6a7f80;
  --radius: 14px;
  --shadow: 0 12px 30px rgba(46, 74, 82, 0.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(1000px 420px at 88% -120px, rgba(201, 138, 27, 0.10), transparent 62%),
    radial-gradient(860px 420px at 4% 16%, rgba(46, 74, 82, 0.06), transparent 58%),
    var(--paper);
  color: var(--ink);
  font-family: "Noto Sans CJK SC", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--osman-deep); text-decoration: none; }
a:hover { color: var(--osman); }
p { margin: 0 0 14px; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { line-height: 1.32; margin: 0 0 12px; color: var(--cyan-deep); font-weight: 700; }
h1 { font-size: clamp(28px, 4.6vw, 42px); }
h2 { font-size: clamp(22px, 3.2vw, 29px); }
h3 { font-size: 18px; }
:focus-visible { outline: 2px solid var(--osman); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1160px, 92vw); margin: 0 auto; }

/* ---------- 顶部信息条 ---------- */
.topline { background: var(--cyan-deep); color: #e8efee; font-size: 13px; }
.topline .wrap { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; justify-content: space-between; padding: 7px 0; }
.topline a { border: 1px solid rgba(201, 138, 27, 0.75); border-radius: 999px; padding: 2px 12px; font-size: 12px; color: #f0d9a0; white-space: nowrap; }

/* ---------- 页头与导航 ---------- */
.site-head { position: sticky; top: 0; z-index: 60; background: rgba(246, 245, 239, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--cyan-line); }
.nav { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; width: min(1160px, 92vw); margin: 0 auto; padding: 12px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 700; color: var(--cyan-deep); }
.brand:hover { color: var(--cyan-deep); }
.mark { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(150deg, var(--osman), var(--osman-deep)); color: #fffaf0; font-size: 13px; font-weight: 800; letter-spacing: 1px; box-shadow: 0 6px 14px rgba(201, 138, 27, 0.35); }
.site-nav { display: block; }
.nav-list { display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; }
.nav-list a { display: inline-block; padding: 7px 11px; border-radius: 9px; color: var(--cyan); font-size: 14px; }
.nav-list a:hover { color: var(--cyan-deep); background: rgba(46, 74, 82, 0.08); }
.nav-list a.active { color: var(--osman-deep); background: var(--osman-wash); }
.nav-toggle { display: none; align-items: center; justify-content: center; flex-direction: column; gap: 5px; width: 42px; height: 42px; padding: 0; margin-left: auto; background: rgba(46, 74, 82, 0.06); border: 1px solid var(--cyan-line); border-radius: 10px; cursor: pointer; }
.nav-toggle-bar { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--cyan); transition: transform 0.25s ease, opacity 0.25s ease; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 面包屑 ---------- */
.crumbs { padding: 14px 0 0; font-size: 13px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs .sep { margin: 0 8px; color: var(--osman); }

/* ---------- Hero ---------- */
.hero { padding: 54px 0 60px; border-bottom: 1px solid var(--cyan-line); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.hero-copy { min-width: 0; }
.kicker { display: inline-block; margin-bottom: 14px; padding: 4px 14px; border: 1px solid rgba(201, 138, 27, 0.6); border-radius: 999px; color: var(--osman-deep); font-size: 13px; letter-spacing: 2px; background: var(--osman-wash); }
.hero .sub { max-width: 560px; color: var(--muted); font-size: 16.5px; }
.hero-note { margin-top: 16px; font-size: 13px; color: var(--muted); }
.btn { display: inline-block; padding: 13px 30px; border-radius: 999px; background: linear-gradient(140deg, var(--osman), var(--osman-deep)); color: #fffaf0; font-size: 16px; font-weight: 700; box-shadow: 0 10px 24px rgba(168, 111, 14, 0.28); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.btn:hover { color: #fffaf0; transform: translateY(-2px); box-shadow: 0 14px 28px rgba(168, 111, 14, 0.36); }
.btn-honey { background: var(--cyan-deep); box-shadow: none; }
.btn-honey:hover { background: var(--cyan); }
.hero-media { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 18px; border: 1px solid var(--cyan-line); box-shadow: var(--shadow); }
.corner-tag { position: absolute; top: 14px; right: 14px; padding: 4px 12px; border-radius: 999px; background: rgba(255, 253, 246, 0.92); border: 1px solid rgba(201, 138, 27, 0.55); color: var(--cyan-deep); font-size: 12px; letter-spacing: 1px; }

/* ---------- 区块通用 ---------- */
.section { padding: 56px 0; }
.section.tone-warm { background: linear-gradient(180deg, rgba(241, 236, 221, 0.85), rgba(241, 236, 221, 0.35)); border-top: 1px solid var(--cyan-line); border-bottom: 1px solid var(--cyan-line); }
.section.tone-cyan { background: var(--cyan-deep); }
.section.tone-cyan h2, .section.tone-cyan h3, .section.tone-cyan .kicker { color: #f2e8cf; }
.section.tone-cyan .kicker { border-color: rgba(240, 217, 160, 0.6); background: rgba(240, 217, 160, 0.12); }
.section.tone-cyan p, .section.tone-cyan td, .section.tone-cyan .faq-a { color: #b9cbcb; }
.section.tone-cyan .panel, .section.tone-cyan .card, .section.tone-cyan .stat,
.section.tone-cyan .faq-item, .section.tone-cyan .step, .section.tone-cyan .big-list li {
  background: rgba(255, 253, 246, 0.06); border-color: rgba(207, 218, 214, 0.28);
}
.section.tone-cyan .card p, .section.tone-cyan .step p, .section.tone-cyan .tl-item p,
.section.tone-cyan .big-list b, .section.tone-cyan .big-list p, .section.tone-cyan .quote p,
.section.tone-cyan .banner p, .section.tone-cyan .entry-card p, .section.tone-cyan .check-list li { color: #b9cbcb; }
.section.tone-cyan .big-list b, .section.tone-cyan .quote p, .section.tone-cyan .entry-card h2,
.section.tone-cyan .entry-card .kicker, .section.tone-cyan .banner h3, .section.tone-cyan .check-list li,
.section.tone-cyan .faq-q { color: #f2e8cf; }
.section.tone-cyan .stat b { color: #f0d9a0; }
.section.tone-cyan .faq-q { color: #f2e8cf; }
.section.tone-cyan .banner { background: rgba(240, 217, 160, 0.08); border-color: rgba(240, 217, 160, 0.4); }
.section.tone-cyan .chips a { background: rgba(255, 253, 246, 0.07); color: #b9cbcb; border-color: rgba(207, 218, 214, 0.3); }
.section.tone-cyan .chips a.hot { color: #f0d9a0; border-color: rgba(240, 217, 160, 0.55); }
.section-head { max-width: 780px; margin-bottom: 30px; }
.section-head .rule { width: 56px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--osman), var(--cyan-soft)); margin: 6px 0 16px; }
.section-head p { color: var(--muted); }

/* ---------- 面板/卡片 ---------- */
.panel { background: var(--card); border: 1px solid var(--cyan-line); border-radius: var(--radius); padding: 26px 28px; box-shadow: var(--shadow); }
.panel p:last-child { margin-bottom: 0; }
.card-grid { display: grid; gap: 18px; }
.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: var(--card); border: 1px solid var(--cyan-line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); transition: transform 0.2s ease, border-color 0.2s ease; }
.card:hover { transform: translateY(-3px); border-color: rgba(201, 138, 27, 0.6); }
.card .icon { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 12px; border-radius: 50%; background: var(--osman-wash); border: 1px solid rgba(201, 138, 27, 0.4); color: var(--osman-deep); font-size: 20px; }
.card p { color: var(--muted); font-size: 14.5px; margin-bottom: 8px; }
.tag { display: inline-block; padding: 2px 10px; border-radius: 999px; background: rgba(46, 74, 82, 0.07); border: 1px solid var(--cyan-line); color: var(--cyan-soft); font-size: 12px; }

/* ---------- 数据条 ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.stat { text-align: center; padding: 24px 12px; background: var(--card); border: 1px solid var(--cyan-line); border-radius: var(--radius); }
.stat b { display: block; font-size: 30px; color: var(--osman-deep); letter-spacing: 1px; }
.stat span { font-size: 13.5px; color: var(--muted); }

/* ---------- 步骤 ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: st; }
.step { position: relative; padding: 22px 20px 18px; background: var(--card); border: 1px solid var(--cyan-line); border-radius: var(--radius); }
.step::before { counter-increment: st; content: counter(st, decimal-leading-zero); position: absolute; top: -14px; left: 16px; padding: 2px 10px; border-radius: 999px; background: linear-gradient(140deg, var(--osman), var(--osman-deep)); color: #fffaf0; font-size: 12.5px; font-weight: 800; }
.step p { color: var(--muted); font-size: 14px; margin-bottom: 0; }

/* ---------- 时间线 ---------- */
.timeline { position: relative; margin-left: 10px; padding-left: 26px; border-left: 2px dashed var(--cyan-line); }
.tl-item { position: relative; padding: 0 0 26px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: -34px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--osman); box-shadow: 0 0 0 4px var(--osman-wash); }
.tl-item p { color: var(--muted); font-size: 14.5px; margin-bottom: 0; }

/* ---------- 双栏 ---------- */
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 22px; align-items: start; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; padding: 11px 14px; margin-bottom: 10px; background: var(--card); border: 1px solid var(--cyan-line); border-radius: 12px; font-size: 14.5px; }
.check-list .dot { color: var(--osman-deep); font-weight: 800; }

/* ---------- 表格 ---------- */
.table-card { overflow-x: auto; border: 1px solid var(--cyan-line); border-radius: var(--radius); background: var(--card); }
table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 14.5px; }
th, td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--cyan-line); }
th { color: var(--cyan-deep); font-weight: 700; background: rgba(201, 138, 27, 0.10); }
tr:last-child td { border-bottom: none; }
td { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-item { background: var(--card); border: 1px solid var(--cyan-line); border-radius: 12px; padding: 18px 20px; margin-bottom: 12px; }
.faq-q { font-weight: 700; color: var(--cyan-deep); margin-bottom: 6px; }
.faq-q::before { content: "问 "; color: var(--osman-deep); font-weight: 800; }
.faq-a { color: var(--muted); margin-bottom: 0; font-size: 14.5px; }
.faq-a::before { content: "答 "; color: var(--cyan-soft); font-weight: 800; }

/* ---------- 引言 ---------- */
.quote-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.quote { background: var(--card); border-left: 3px solid var(--osman); border-radius: 0 var(--radius) var(--radius) 0; padding: 20px 22px; box-shadow: var(--shadow); }
.quote p { color: var(--ink); margin-bottom: 8px; }
.quote .who { font-size: 13px; color: var(--muted); }

/* ---------- 编号大列表 ---------- */
.big-list li { display: flex; gap: 16px; padding: 16px 18px; margin-bottom: 12px; background: var(--card); border: 1px solid var(--cyan-line); border-radius: var(--radius); }
.big-list .no { flex: 0 0 auto; display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--osman-wash); border: 1px solid rgba(201, 138, 27, 0.4); color: var(--osman-deep); font-weight: 800; font-size: 14px; }
.big-list b { color: var(--cyan-deep); }
.big-list p { color: var(--muted); font-size: 14px; margin: 4px 0 0; }

/* ---------- 入口卡 ---------- */
.entry-card { position: relative; overflow: hidden; background: linear-gradient(150deg, var(--cyan-deep), #2c4f57); border-radius: 18px; padding: 34px 32px; box-shadow: var(--shadow); color: #dce8e6; }
.entry-card h2, .entry-card .kicker { color: #f2e8cf; }
.entry-card .kicker { border-color: rgba(240, 217, 160, 0.6); background: rgba(240, 217, 160, 0.12); }
.entry-card::after { content: ""; position: absolute; right: -70px; top: -70px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(240, 217, 160, 0.22), transparent 70%); }
.contact-line { color: #f2e8cf; font-weight: 700; }
.entry-actions { margin-top: 22px; }
.hint { font-size: 13px; color: #b9cbcb; margin-bottom: 0; }

/* ---------- 横幅 ---------- */
.banner { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; justify-content: space-between; background: linear-gradient(120deg, rgba(201, 138, 27, 0.14), rgba(46, 74, 82, 0.08)); border: 1px solid rgba(201, 138, 27, 0.5); border-radius: 18px; padding: 28px 30px; }
.banner h3 { margin-bottom: 6px; }
.banner p { color: var(--muted); margin-bottom: 0; max-width: 640px; }

/* ---------- 标签云 ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--cyan-line); background: var(--card); color: var(--cyan); font-size: 14px; }
.chips a:hover { border-color: rgba(201, 138, 27, 0.6); color: var(--osman-deep); }
.chips a.hot { border-color: rgba(201, 138, 27, 0.6); color: var(--osman-deep); background: var(--osman-wash); }

/* ---------- 页脚 ---------- */
.site-foot { margin-top: 30px; border-top: 1px solid var(--cyan-line); background: var(--cyan-deep); padding: 44px 0 26px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 30px; }
.foot-brand { font-size: 17px; font-weight: 700; color: #f2e8cf; margin-bottom: 10px; }
.site-foot p, .site-foot li { color: #b9cbcb; font-size: 13.5px; }
.site-foot h4 { color: #f2e8cf; font-size: 15px; margin-bottom: 12px; }
.site-foot a { color: #e8c877; }
.foot-links li { margin-bottom: 7px; }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; margin-top: 30px; padding-top: 18px; border-top: 1px solid rgba(207, 218, 214, 0.25); font-size: 12.5px; color: #b9cbcb; }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .cols-4, .stat-grid, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav { flex-wrap: wrap; }
  .nav-toggle { display: flex; }
  .site-nav { display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0; width: min(1160px, 92vw); margin: 0 auto; background: rgba(246, 245, 239, 0.98); border: 1px solid var(--cyan-line); border-radius: 14px; box-shadow: var(--shadow); padding: 10px 12px; z-index: 70; }
  .site-nav.open { display: block; }
  .nav-list { display: flex; flex-direction: column; align-items: stretch; gap: 2px; }
  .nav-list a { display: block; padding: 11px 14px; font-size: 15px; border-radius: 10px; }
  .hero { padding: 34px 0 42px; }
  .quote-grid, .cols-2, .cols-3, .cols-4, .stat-grid, .steps { grid-template-columns: 1fr; }
  .banner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  body { font-size: 15px; }
  .section { padding: 42px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- 页脚更新日期(新鲜度信号) ---------- */
.site-updated{font-size:13px;line-height:1.7;opacity:.72;margin-top:10px}

/* ---------- 语义主区 ---------- */
.site-main{display:block}

/* ---------- 正文配图 ---------- */
.fig{margin:22px 0;padding:0}
.fig img{width:100%;height:auto;border-radius:12px;display:block;box-shadow:0 6px 18px rgba(0,0,0,.18)}
.fig figcaption{margin-top:8px;font-size:14.5px;line-height:1.7;opacity:.78;text-align:center}
