:root {
  --blue: #0175ff;
  --blue-deep: #0062db;
  --ink: #16181d;
  --text: #3c4453;
  --muted: #6b7383;
  --line: #e6ebf2;
  --bg: #f5f8fc;
  --card: #ffffff;
  --pink: #e11d48;
  --shadow: 0 10px 30px rgba(22, 52, 98, 0.08);
  --radius: 16px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background:
    radial-gradient(880px 380px at 88% -40px, #e5f0ff 0%, rgba(229, 240, 255, 0) 70%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 320px);
  line-height: 1.7;
}
img { max-width: 100%; }
a { color: var(--blue); }
button, input { font-family: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: #fff;
  padding: 6px 10px;
  z-index: 30;
}
.skip:focus { top: 8px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 16px;
}
.brand-mark { width: 28px; height: 28px; display: block; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  text-decoration: none;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.03em;
}
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: #243044; text-decoration: none; font-size: 14px; }
.nav a.is-here { color: var(--blue); font-weight: 600; }
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  padding: 8px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: #1d2430;
  border-radius: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-deep); }
.btn-ghost { background: #fff; color: #1f2937; border-color: #d7deea; }
.btn-ghost:hover { border-color: #b7c3d6; }
.btn-lg { min-height: 48px; padding: 0 22px; font-size: 15px; }

.announce {
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
}
.hero { padding: 42px 0 18px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}
.title-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.title-row h1 { margin: 0; }
.badge {
  display: inline-block;
  margin-left: 0;
  padding: 2px 8px;
  border-radius: 999px;
  background: #ffe4ea;
  color: var(--pink);
  font-size: 12px;
  font-weight: 700;
  vertical-align: middle;
}
.hero h1 {
  margin: 0 0 8px;
  font-size: 48px;
  line-height: 1.2;
  letter-spacing: -0.03em;
  background: linear-gradient(100deg, #315bff 0%, #5b57f6 55%, #0175ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub { margin: 0 0 14px; font-size: 28px; font-weight: 750; letter-spacing: -0.03em; }
.hero p { margin: 0 0 12px; color: var(--text); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

.hero-art { position: relative; min-height: 280px; }
.window {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid #edf1f6;
}
.window-bar {
  display: flex;
  gap: 6px;
  padding: 12px 14px;
  background: #f4f7fb;
}
.window-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d5deea;
  display: block;
}
.window-bar i:nth-child(1) { background: #ffb4b4; }
.window-bar i:nth-child(2) { background: #ffe08a; }
.window-bar i:nth-child(3) { background: #b7ebc6; }
.window-body { padding: 22px 22px 28px; }
.fake-line {
  height: 10px;
  border-radius: 6px;
  background: #e8eef7;
  margin-bottom: 10px;
}
.fake-line.short { width: 62%; }
.fake-block {
  margin-top: 18px;
  height: 92px;
  border-radius: 12px;
  background: linear-gradient(135deg, #e8f2ff, #f7faff 60%, #fff);
  position: relative;
}
.cursor {
  position: absolute;
  right: 28px;
  bottom: 18px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 16px solid var(--blue);
  transform: rotate(-28deg);
}
.float-card {
  position: absolute;
  right: 8px;
  top: 28px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 12px 14px;
  font-size: 13px;
  color: #243044;
}
.float-card strong { display: block; color: var(--blue); font-size: 12px; }

.section { padding: 34px 0; }
.section h2 { margin: 0 0 8px; font-size: 30px; letter-spacing: -0.03em; line-height: 1.35; }
.section-intro { margin: 0 0 22px; color: var(--text); max-width: 720px; }
.center { text-align: center; }
.center .section-intro { margin-left: auto; margin-right: auto; }

.tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 8px 0 22px;
  flex-wrap: wrap;
}
.tab {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 8px 14px;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  font-size: 15px;
}
.tab.is-on { color: var(--blue); border-bottom-color: var(--blue); font-weight: 700; }
.tab-panel { display: none; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tab-panel.is-on { display: grid; }

.card, .edition-card, .review, .cert, .platform, .info-card {
  background: var(--card);
  border: 1px solid #eef2f7;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.edition-card {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 16px;
  min-height: 118px;
}
.edition-card h3 { margin: 0 0 6px; font-size: 18px; }
.edition-card p { margin: 0; color: var(--muted); font-size: 14px; }
.tag {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 6px;
  background: #e8f2ff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
  vertical-align: middle;
}
.tag-pink { background: #ffe8ee; color: var(--pink); }
.emoji {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #f3f7ff;
  display: grid;
  place-items: center;
  font-size: 20px;
  flex: none;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0;
  margin: 8px 0 0;
  list-style: none;
}
.stats li {
  background: #fff;
  border-radius: var(--radius);
  padding: 22px 18px;
  text-align: center;
  border: 1px solid #eef2f7;
}
.stats strong { display: block; font-size: 28px; color: var(--blue); letter-spacing: -0.03em; }
.stats span { color: var(--muted); font-size: 14px; }

.metric-row, .split-3, .split-4, .device-grid, .review-grid, .cert-grid, .platform-grid, .link-grid {
  display: grid;
  gap: 16px;
}
.metric-row { grid-template-columns: repeat(4, 1fr); margin-top: 18px; }
.metric {
  background: #f4f8ff;
  border-radius: 14px;
  padding: 16px;
}
.metric b { display: block; font-size: 22px; color: #14315f; }
.metric span { color: var(--muted); font-size: 13px; }
.split-3 { grid-template-columns: repeat(3, 1fr); }
.split-4 { grid-template-columns: repeat(4, 1fr); }
.device-grid { grid-template-columns: repeat(6, 1fr); }
.review-grid { grid-template-columns: repeat(4, 1fr); }
.cert-grid { grid-template-columns: repeat(4, 1fr); }
.platform-grid { grid-template-columns: repeat(3, 1fr); }
.link-grid { grid-template-columns: repeat(2, 1fr); }

.info-card, .review, .cert, .platform { padding: 18px; }
.info-card h3, .platform h2, .platform h3 { margin: 0 0 8px; font-size: 18px; }
.info-card p, .review p, .platform p { margin: 0; color: var(--text); font-size: 14px; }
.info-card ul, .plain-list { margin: 10px 0 0; padding-left: 18px; color: var(--text); }
.info-card li + li, .plain-list li + li { margin-top: 6px; }
.device {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #eef2f7;
  padding: 16px 10px;
  text-align: center;
  font-size: 14px;
}
.device span { display: block; font-size: 22px; margin-bottom: 6px; }
.review header { font-weight: 700; margin-bottom: 8px; }
.review header small { display: block; font-weight: 400; color: var(--muted); }
.cert { font-size: 14px; min-height: 72px; }

.band {
  margin: 20px 0 10px;
  padding: 36px 28px;
  border-radius: 20px;
  background: linear-gradient(120deg, #0175ff, #3d8bff 60%, #6aa6ff);
  color: #fff;
}
.band h2 { color: #fff; margin: 0 0 8px; }
.band p { margin: 0 0 18px; color: rgba(255,255,255,.92); }
.band .btn-ghost { color: var(--blue); }

.table-wrap { overflow-x: auto; background: #fff; border-radius: 16px; border: 1px solid #eef2f7; }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 14px; }
th { background: #f7faff; font-size: 14px; }
tr:last-child td { border-bottom: 0; }

.faq details {
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 10px;
}
.faq summary { cursor: pointer; font-weight: 650; }
.faq p { margin: 8px 0 0; color: var(--text); }

.page-hero { padding: 36px 0 10px; }
.page-hero h1 { margin: 0 0 10px; font-size: 36px; letter-spacing: -0.03em; }
.crumb { margin: 0 0 12px; color: var(--muted); font-size: 13px; }
.crumb a { color: var(--muted); text-decoration: none; }
.prose { width: min(780px, 100%); }
.prose h2 { font-size: 22px; margin: 28px 0 8px; }
.prose p { color: var(--text); margin: 0 0 12px; }
.prose ul { color: var(--text); padding-left: 18px; }
.daily-box {
  background: #f3f8ff;
  border: 1px solid #d7e6ff;
  border-radius: 14px;
  padding: 16px 18px;
  margin: 18px 0 8px;
}
.daily-label { margin: 0 0 8px; color: var(--blue); font-size: 13px; font-weight: 700; }
.related { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.related a {
  text-decoration: none;
  background: #fff;
  border: 1px solid #e6ebf2;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 14px;
}

.site-footer {
  margin-top: 30px;
  background: #0f1724;
  color: #c9d2e0;
  padding: 36px 0 18px;
}
.footer-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.site-footer h2 { margin: 0 0 10px; color: #fff; font-size: 14px; }
.site-footer a { display: block; color: #c9d2e0; text-decoration: none; font-size: 13px; margin: 6px 0; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: #8ea0b8;
  font-size: 12px;
}
.login-note {
  background: #fff;
  border-radius: 14px;
  padding: 16px 18px;
  border: 1px solid #e7eef8;
  margin: 8px 0 20px;
}

@media (max-width: 980px) {
  .hero-grid, .split-3, .split-4, .metric-row, .review-grid, .footer-grid { grid-template-columns: 1fr 1fr; }
  .device-grid, .cert-grid { grid-template-columns: repeat(3, 1fr); }
  .tab-panel { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 38px; }
  .hero-sub { font-size: 22px; }
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .header-bar { position: relative; }
  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(16, 40, 80, 0.14);
  }
  .nav.is-open { display: flex; }
  .nav a, .nav .btn { padding: 10px 8px; }
}
@media (max-width: 680px) {
  .hero-grid, .split-3, .split-4, .metric-row, .review-grid, .footer-grid, .platform-grid, .link-grid, .tab-panel, .stats {
    grid-template-columns: 1fr;
  }
  .device-grid, .cert-grid { grid-template-columns: 1fr 1fr; }
  .hero { padding-top: 22px; }
  .hero h1 { font-size: 32px; }
  .section h2, .page-hero h1 { font-size: 26px; }
  .float-card { position: static; margin-top: 12px; }
}
