:root {
  --sea: #1565c0;
  --sea-deep: #0c3f73;
  --ink: #1b2430;
  --muted: #5c6b7c;
  --bg: #f4f7fb;
  --card: #ffffff;
  --line: #e3eaf2;
  --soft: #e8f1fb;
  --warn: #8a4b12;
  --warn-bg: #fff6ea;
  --max: 1080px;
  --read: 820px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 17px;
  line-height: 1.85;
}
a { color: var(--sea-deep); }
a:hover { color: var(--sea); }
img { max-width: 100%; height: auto; }
#ads img { max-width: 65px; width: 65px; height: 65px; aspect-ratio: 1 / 1; object-fit: cover; }
#ads figure { margin: 0; }

.top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  background: linear-gradient(180deg, #0c3f73 0%, #1565c0 100%);
  color: #fff;
}
body { padding-top: var(--header-h, 118px); }
.top-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 20px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  min-width: 0;
  overflow: hidden;
}
.brand > span { min-width: 0; overflow: hidden; }
.brand img {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #fff;
}
.brand strong {
  display: block;
  font-size: 18px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand span { display: block; font-size: 12px; opacity: 0.85; }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 11px 10px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.18s ease, opacity 0.18s ease;
}
.top.is-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.top.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.top.is-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.menu {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  justify-content: flex-end;
}
.menu a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  padding: 4px 2px;
  border-bottom: 2px solid transparent;
}
.menu a[aria-current="page"] { border-bottom-color: #fff; font-weight: 700; }

.age {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px 12px;
  color: #e7f0fb;
  font-size: 13px;
}

.ad-fixed {
  position: sticky;
  top: var(--header-h, 118px);
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 20px rgba(16, 42, 74, 0.06);
}

.wrap {
  max-width: var(--read);
  margin: 0 auto;
  padding: 28px 20px 64px;
}
.hero {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px 26px 8px;
  margin-bottom: 22px;
}
.kicker {
  margin: 0 0 8px;
  color: var(--sea);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
h1 { font-size: 32px; line-height: 1.35; margin: 0 0 12px; }
h2 { font-size: 24px; line-height: 1.4; margin: 36px 0 12px; }
h3 { font-size: 18px; margin: 0 0 8px; }
p { margin: 0 0 14px; }
.lead { font-size: 18px; color: #243246; }

.glance {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 18px 0 8px;
}
.glance div {
  background: var(--soft);
  border-radius: 12px;
  padding: 12px;
}
.glance strong { display: block; font-size: 15px; }
.glance span { display: block; color: var(--muted); font-size: 13px; line-height: 1.5; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 28px;
  align-items: start;
  margin: 28px 0;
}
.shot {
  margin: 0;
  position: sticky;
  top: calc(var(--header-h, 118px) + 12px);
  background: #101826;
  border-radius: 26px;
  padding: 10px 10px 12px;
  box-shadow: 0 16px 36px rgba(12, 36, 64, 0.16);
}
.shot img {
  display: block;
  width: 100%;
  border-radius: 16px;
}
.shot figcaption {
  color: #d7e4f4;
  font-size: 13px;
  line-height: 1.65;
  padding: 8px 6px 2px;
}
.note {
  background: var(--warn-bg);
  color: var(--warn);
  border-radius: 12px;
  padding: 12px 14px;
  margin: 0 0 14px;
  font-size: 15px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 18px 6px;
  margin: 16px 0;
}
ol.steps, ul.clean { margin: 0 0 14px; padding-left: 1.2em; }
ol.steps li, ul.clean li { margin: 0 0 8px; }
.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 14px;
  margin: 0 0 10px;
}
.faq summary { cursor: pointer; font-weight: 700; }
.foot {
  border-top: 1px solid var(--line);
  background: #fff;
}
.foot-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px 20px 32px;
  color: var(--muted);
  font-size: 14px;
}
.foot a { margin-right: 14px; }
.error-box {
  min-height: 46vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.error-box strong {
  font-size: 56px;
  line-height: 1;
  color: var(--sea);
}

@media (max-width: 800px) {
  h1 { font-size: 26px; }
  .top-inner { flex-wrap: nowrap; align-items: center; }
  .brand { flex: 1 1 auto; }
  .brand img { width: 42px; height: 42px; }
  .brand strong { font-size: 16px; }
  .nav-toggle { display: inline-flex; flex: 0 0 44px; }
  .menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 6px 18px 12px;
    background: #0c3f73;
    box-shadow: 0 16px 28px rgba(7, 28, 52, 0.28);
  }
  .top.is-open .menu { display: flex; }
  .menu a {
    padding: 12px 2px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 16px;
  }
  .menu a[aria-current="page"] { border-bottom-color: rgba(255, 255, 255, 0.16); }
  .glance { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .shot { position: static; max-width: 360px; margin: 0 auto; }
  .hero, .wrap { padding-left: 16px; padding-right: 16px; }
}
