/* ==========================================================================
   yandextrtmty.com — yandex 入口导航
   视觉语言取自 yandex.com：白底、黑色文本、一支红色强调色、大圆角与胶囊控件
   ========================================================================== */

:root {
  --red: #fc3f1d;
  --red-600: #e33312;
  --red-ink: #c92c0c;
  --red-100: #ffe6e0;
  --red-050: #fff2ef;
  --ink: #17171a;
  --ink-2: #4d4d55;
  --ink-3: #7c7c86;
  --line: #e6e6ea;
  --line-2: #f0f0f3;
  --bg: #ffffff;
  --bg-soft: #f7f7f9;
  --card: #ffffff;
  --green: #0d8a5f;
  --green-bg: #e9f7f0;
  --amber: #a46700;
  --amber-bg: #fff4e0;
  --mute: #6b6b74;
  --mute-bg: #f1f1f4;
  --shadow-sm: 0 1px 2px rgba(20, 20, 25, 0.04), 0 10px 30px -18px rgba(20, 20, 25, 0.25);
  --shadow-md: 0 2px 8px rgba(20, 20, 25, 0.05), 0 28px 60px -30px rgba(20, 20, 25, 0.3);
  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1160px;
  --header-h: 68px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC",
    Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --red: #ff5a3c;
  --red-600: #ff7156;
  --red-ink: #ff8266;
  --red-100: rgba(255, 90, 60, 0.22);
  --red-050: rgba(255, 90, 60, 0.1);
  --ink: #f3f3f5;
  --ink-2: #b8b8c0;
  --ink-3: #8c8c95;
  --line: #2a2a30;
  --line-2: #232328;
  --bg: #0f0f11;
  --bg-soft: #16161a;
  --card: #19191d;
  --green: #4ade9e;
  --green-bg: rgba(74, 222, 158, 0.12);
  --amber: #f3b95b;
  --amber-bg: rgba(243, 185, 91, 0.12);
  --mute: #a3a3ac;
  --mute-bg: rgba(255, 255, 255, 0.06);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4), 0 10px 30px -18px rgba(0, 0, 0, 0.8);
  --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.45), 0 28px 60px -30px rgba(0, 0, 0, 0.9);
}

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

html {
  color-scheme: light;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.72;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button,
input {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection {
  background: var(--red);
  color: #fff;
}

.container {
  width: min(var(--maxw), calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 18px;
  border-radius: 0 0 12px 12px;
  background: var(--ink);
  color: var(--bg);
  font-size: 14px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

/* ---------- 头部 ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid var(--line-2);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
}

html[data-theme="dark"] .site-header {
  background: rgba(15, 15, 17, 0.84);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 17px;
  flex: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--red);
  color: #fff;
  font-size: 21px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 6px 16px -8px rgba(252, 63, 29, 0.8);
}

.brand-text b {
  color: var(--red);
  font-weight: 800;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.nav a {
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--ink-2);
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease;
}

.nav a:hover {
  background: var(--bg-soft);
  color: var(--ink);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
}

.icon-btn {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.icon-btn:hover {
  background: var(--bg-soft);
  color: var(--ink);
}

.icon-btn svg {
  width: 19px;
  height: 19px;
}

.theme-toggle .sun {
  display: none;
}

html[data-theme="dark"] .theme-toggle .sun {
  display: block;
}

html[data-theme="dark"] .theme-toggle .moon {
  display: none;
}

.menu-btn {
  display: none;
}

.menu-btn .close {
  display: none;
}

.menu-btn[aria-expanded="true"] .menu {
  display: none;
}

.menu-btn[aria-expanded="true"] .close {
  display: block;
}

@media (max-width: 1080px) {
  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px 20px 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 12px 14px;
    font-size: 15px;
    border-radius: 12px;
  }

  .menu-btn {
    display: grid;
  }

  .header-tools {
    margin-left: auto;
  }

}

/* ---------- 首屏 ---------- */

.hero {
  position: relative;
  padding: 74px 0 54px;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -40% 20% auto;
  height: 560px;
  background: radial-gradient(closest-side, rgba(252, 63, 29, 0.16), transparent 72%);
  z-index: -1;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(23, 23, 26, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 20%, transparent 75%);
  z-index: -1;
  pointer-events: none;
}

html[data-theme="dark"] .hero::after {
  background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px);
}

.hero-inner {
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  font-size: 12.5px;
  color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}

.badge .pulse {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

.badge .pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--green);
  opacity: 0.5;
  animation: ping 2.4s ease-out infinite;
}

@keyframes ping {
  0% {
    transform: scale(0.6);
    opacity: 0.55;
  }
  70%,
  100% {
    transform: scale(1.7);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .badge .pulse::after {
    animation: none;
  }
}

.hero h1 {
  margin: 22px 0 18px;
  font-size: clamp(33px, 5.4vw, 62px);
  line-height: 1.1;
  letter-spacing: -0.045em;
  font-weight: 800;
}

.hero h1 .sfx {
  color: var(--red);
  letter-spacing: -0.03em;
}

.hero h1 .slash {
  color: var(--ink-3);
  opacity: 0.4;
  font-weight: 300;
  padding: 0 0.06em;
}

.hero-lead {
  max-width: 660px;
  margin: 0 auto;
  font-size: clamp(15px, 1.55vw, 17px);
  color: var(--ink-2);
}

.hero-lead strong {
  color: var(--ink);
  font-weight: 650;
}

.hero-cta {
  margin-top: 28px;
}

/* ---------- 通用区块 ---------- */

.section {
  padding: 74px 0;
  border-top: 1px solid var(--line-2);
}

.section--soft {
  background: var(--bg-soft);
}

.section-head {
  max-width: 720px;
  margin-bottom: 38px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-ink);
}

.eyebrow::before {
  content: "";
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.section h2 {
  margin: 12px 0 14px;
  font-size: clamp(25px, 3.3vw, 38px);
  line-height: 1.22;
  letter-spacing: -0.035em;
  font-weight: 800;
}

.section-head > p {
  margin: 0;
  color: var(--ink-2);
  font-size: 16px;
}

.section-head > p a {
  color: var(--red-ink);
  border-bottom: 1px solid var(--red-100);
}

.section-head > p a:hover {
  border-color: var(--red-ink);
}

.subhead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin: 0 0 18px;
}

.subhead h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.7;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.subhead .count {
  margin: 0;
  font-size: 13px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}

/* ---------- 入口卡片 ---------- */

.entries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(258px, 1fr));
  gap: 16px;
}

.entry {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.entry:hover,
.entry:focus-within {
  transform: translateY(-2px);
  border-color: var(--red-100);
  box-shadow: var(--shadow-md);
}

.entry.is-hidden {
  display: none;
}

.entry-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 2px;
}

.mono {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 9px;
  border-radius: 11px;
  background: var(--red-050);
  color: var(--red);
  font-family: var(--mono);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}

.status::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.status--ok {
  color: var(--green);
  background: var(--green-bg);
}

.status--warn {
  color: var(--amber);
  background: var(--amber-bg);
}

.status--mute {
  color: var(--mute);
  background: var(--mute-bg);
}

.entry h3 {
  margin: 0;
  font-size: 17px;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.entry h3 a {
  outline: none;
}

.entry h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
}

.entry-region {
  margin: -4px 0 0;
  font-size: 12.5px;
  color: var(--ink-3);
}

.entry-note {
  margin: 2px 0 0;
  font-size: 13.5px;
  line-height: 1.62;
  color: var(--ink-2);
}

.entry-go {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1.5px solid var(--red);
  border-radius: 999px;
  background: transparent;
  font-size: 12.5px;
  font-weight: 650;
  line-height: 1.4;
  color: var(--red-ink);
  pointer-events: none;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.entry > .entry-go {
  align-self: flex-start;
}

.entry-go svg {
  width: 14px;
  height: 14px;
  transition: transform 0.18s ease;
}

.entry:hover .entry-go,
.entry:focus-within .entry-go {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.entry:hover .entry-go svg {
  transform: translateX(3px);
}

.entry-foot {
  margin: 18px 0 0;
  font-size: 13px;
  color: var(--ink-3);
}

.entry-foot code {
  padding: 1px 6px;
  border-radius: 6px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 12px;
}

/* ---------- 时间线 ---------- */

.diagnose {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  align-items: start;
}

.timeline {
  position: relative;
  margin: 0;
  padding: 4px 0 4px 26px;
  list-style: none;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(var(--red), var(--line) 85%);
  border-radius: 2px;
}

.tl-item {
  position: relative;
  padding-bottom: 22px;
}

.tl-item:last-child {
  padding-bottom: 0;
}

.tl-item::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 7px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--red);
  box-shadow: 0 0 0 4px var(--bg);
}

.tl-date {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--red-ink);
  letter-spacing: 0.01em;
}

.tl-item p {
  margin: 4px 0 0;
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.65;
}

.cause-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.cause {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.cause-no {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--red-ink);
  letter-spacing: 0.08em;
}

.cause h3 {
  margin: 6px 0 6px;
  font-size: 16px;
  letter-spacing: -0.015em;
}

.cause p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--ink-2);
}

/* ---------- 表格 ---------- */

.table-wrap {
  margin-top: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
}

.table-scroll {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 620px;
}

caption {
  padding: 16px 20px 0;
  text-align: left;
  font-size: 13px;
  color: var(--ink-3);
}

th,
td {
  padding: 13px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line-2);
}

thead th {
  background: var(--bg-soft);
  font-size: 12.5px;
  font-weight: 650;
  color: var(--ink-3);
  white-space: nowrap;
}

tbody tr:last-child td {
  border-bottom: 0;
}

tbody tr:hover td {
  background: var(--red-050);
}

td code,
th code {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--ink);
  background: var(--bg-soft);
  border: 1px solid var(--line-2);
  border-radius: 5px;
  padding: 1px 5px;
}

.verdict {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}

.verdict--ok {
  color: var(--green);
}

.verdict--warn {
  color: var(--amber);
}

.verdict--no {
  color: var(--red-ink);
}

/* ---------- 图片与图注 ---------- */

.figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
}

.figure > a {
  display: block;
  background: var(--bg-soft);
  padding: 14px;
}

.figure img {
  width: 100%;
  border-radius: 8px;
}

.figure figcaption {
  padding: 12px 16px 14px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--ink-3);
  border-top: 1px solid var(--line-2);
}

.figure figcaption b {
  color: var(--ink-2);
  font-weight: 600;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.split--verify {
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 32px;
}

.verify-side {
  display: grid;
  gap: 16px;
  align-content: start;
}

.note-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--red);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--card);
}

.note-card h3 {
  margin: 0 0 8px;
  font-size: 15.5px;
}

.note-card p {
  margin: 0;
  font-size: 14px;
  color: var(--ink-2);
}

.callout {
  margin: 26px 0 0;
  overflow-wrap: anywhere;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  background: var(--red-050);
  border: 1px solid var(--red-100);
  font-size: 14px;
  color: var(--ink-2);
}

.callout b {
  color: var(--ink);
}

.code {
  display: block;
  margin: 0 0 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #17171a;
  color: #f4f4f5;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.6;
  overflow-x: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

html[data-theme="dark"] .code {
  background: #0a0a0c;
  border: 1px solid var(--line);
}

.code .hl {
  color: #ff8a6e;
}

.inline-code {
  font-family: var(--mono);
  font-size: 0.9em;
  padding: 1px 6px;
  border-radius: 5px;
  background: var(--bg-soft);
  border: 1px solid var(--line-2);
  white-space: nowrap;
}

.steps {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 26px;
}

.steps li {
  position: relative;
  counter-increment: step;
  padding-left: 40px;
  font-size: 14px;
  color: var(--ink-2);
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 1px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--card);
  border: 1.5px solid var(--red);
  color: var(--red);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
}

.steps b {
  color: var(--ink);
  font-weight: 650;
}

/* ---------- 图片搜索 ---------- */

.feature-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
}

.feature-list svg {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--red);
  margin-top: 3px;
}

.feature-list b {
  display: block;
  font-size: 14.5px;
  margin-bottom: 2px;
}

.feature-list span {
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.6;
}

/* ---------- FAQ ---------- */

.faq {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 40px 20px 0;
  font-size: 16px;
  font-weight: 650;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 26px;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--ink-3);
  border-bottom: 2px solid var(--ink-3);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: rotate(-135deg);
  top: 30px;
}

.faq details[open] summary::after {
  border-color: var(--red-ink);
}

.faq .answer {
  max-width: 840px;
  padding: 0 40px 22px 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ink-2);
}

.faq .answer p {
  margin: 0 0 8px;
}

.faq .answer p:last-child {
  margin-bottom: 0;
}

/* ---------- 关于 ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 28px;
  align-items: start;
}

.about-copy p {
  margin: 0 0 14px;
  color: var(--ink-2);
}

.about-copy strong {
  color: var(--ink);
}

.update-log {
  margin: 0;
  padding: 22px;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}

.update-log h3 {
  margin: 0 0 12px;
  font-size: 15px;
}

.update-log li {
  display: flex;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px dashed var(--line);
  font-size: 13px;
  color: var(--ink-2);
}

.update-log li:first-of-type {
  border-top: 0;
}

.update-log time {
  flex: none;
  font-family: var(--mono);
  color: var(--red-ink);
  font-size: 12px;
  padding-top: 1px;
}

/* ---------- 页脚 ---------- */

.site-footer {
  margin-top: 10px;
  padding: 56px 0 96px;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 32px;
}

.footer-brand p {
  margin: 14px 0 0;
  max-width: 300px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-3);
}

.footer-col h3 {
  margin: 4px 0 12px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 700;
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col li {
  margin: 8px 0;
}

.footer-col a {
  font-size: 13.5px;
  color: var(--ink-2);
}

.footer-col a:hover {
  color: var(--red-ink);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink-3);
}

.footer-bottom a {
  color: var(--ink-2);
}

.footer-bottom a:hover {
  color: var(--red);
}

/* ---------- 跳转确认页 ---------- */

.go-main {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100dvh - var(--header-h));
  padding: 56px 0 72px;
  overflow: hidden;
}

.go-main::before {
  content: "";
  position: absolute;
  inset: -40% 25% auto;
  height: 480px;
  background: radial-gradient(closest-side, rgba(252, 63, 29, 0.14), transparent 72%);
  pointer-events: none;
}

.go-layout {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
}

.go-card {
  padding: 34px clamp(22px, 4vw, 40px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
}

.go-card .eyebrow {
  margin-bottom: 14px;
}

.go-card h1 {
  margin: 0 0 10px;
  font-size: clamp(26px, 3.6vw, 38px);
  line-height: 1.2;
  letter-spacing: -0.035em;
  font-weight: 800;
}

.go-host {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 7px;
  margin: 4px 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-soft);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
}

.go-host .mono {
  height: 30px;
  min-width: 30px;
  font-size: 11.5px;
  border-radius: 8px;
}

.go-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 4px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 650;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all 0.18s ease;
}

.btn svg {
  width: 17px;
  height: 17px;
}

.btn-primary {
  background: var(--red);
  color: #fff;
}

.btn-primary:hover {
  background: var(--red-600);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--ink-3);
  background: var(--bg-soft);
}

.go-note {
  margin: 18px 0 0;
  font-size: 12.5px;
  color: var(--ink-3);
}

.go-error {
  display: none;
  padding: 16px 18px;
  margin: 0 0 18px;
  border-radius: 12px;
  background: var(--amber-bg);
  color: var(--amber);
  font-size: 13.5px;
}

.go-error.is-on {
  display: block;
}

/* ---------- 404 ---------- */

.error-page {
  min-height: 56vh;
  display: grid;
  place-items: center;
  padding: 60px 0;
  text-align: center;
}

.error-page .code-big {
  font-family: var(--mono);
  font-size: clamp(56px, 12vw, 110px);
  font-weight: 700;
  line-height: 1;
  color: var(--red);
  letter-spacing: -0.06em;
}

.error-page h1 {
  margin: 10px 0 8px;
  font-size: clamp(24px, 4vw, 32px);
  letter-spacing: -0.03em;
}

.error-page p {
  margin: 0 0 22px;
  color: var(--ink-2);
}

/* ---------- 进场动效 ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- 响应式 ---------- */

@media (max-width: 1000px) {
  .diagnose,
  .about-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .split,
  .split--verify {
    grid-template-columns: 1fr;
  }

  .split--verify .figure {
    max-width: 380px;
  }

  .cause-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

@media (max-width: 720px) {
  .container {
    width: calc(100% - 36px);
  }

  .hero {
    padding: 46px 0 40px;
  }

  .hero h1 {
    letter-spacing: -0.035em;
  }

  .section {
    padding: 52px 0;
  }

  .cause-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .entries-grid {
    grid-template-columns: 1fr;
  }

  .subhead {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 26px 20px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    margin-top: 28px;
  }

  .go-card {
    border-radius: 20px;
  }

  .btn {
    flex: 1;
    padding: 0 18px;
  }
}

@media (max-width: 380px) {
  .brand-text {
    font-size: 15px;
  }

}


/* ---------- 工具类 ---------- */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

[hidden] {
  display: none !important;
}

/* ---------- 通栏入口卡片 ---------- */

.entry--wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px 22px;
  padding: 24px 28px;
}

.entry--wide .mono {
  width: 52px;
  height: 52px;
  font-size: 14px;
}

.entry--wide h3 {
  font-size: 18px;
}

.entry--wide .entry-region {
  margin: 2px 0 0;
}

.entry--wide .entry-note {
  margin-top: 6px;
  max-width: 720px;
}

.wide-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.wide-side .entry-go {
  margin-top: 0;
}

@media (max-width: 720px) {
  .entry--wide {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 20px;
  }

  .entry--wide .entry-note {
    max-width: none;
  }

  .wide-side {
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-top: 6px;
  }
}


/* ---------- 移动端表格：行转块，避免横向截断 ---------- */

@media (max-width: 640px) {
  .table-scroll {
    overflow-x: visible;
  }

  .table-scroll table {
    min-width: 0;
    width: 100%;
  }

  .table-scroll thead {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .table-scroll tbody,
  .table-scroll tr,
  .table-scroll td {
    display: block;
  }

  .table-scroll tbody tr {
    padding: 13px 18px;
    border-bottom: 1px solid var(--line-2);
  }

  .table-scroll tbody tr:last-child {
    border-bottom: 0;
  }

  .table-scroll td {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 10px;
    padding: 5px 0;
    border: 0;
    font-size: 13.5px;
    justify-items: start;
    align-items: start;
  }

  .table-scroll td::before {
    content: attr(data-label);
    color: var(--ink-3);
    font-size: 12px;
    font-weight: 600;
    padding-top: 2px;
  }

  .table-scroll tbody tr:hover td {
    background: transparent;
  }

  .table-scroll caption {
    padding: 14px 18px 4px;
  }
}


.verdict-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-top: 10px;
}

.domain-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.domain-list li {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.5;
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--card);
  white-space: nowrap;
}


/* ---------- 回到顶部 ---------- */

.to-top {
  position: fixed;
  right: 22px;
  bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--card);
  color: var(--ink-2);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s,
    color 0.18s ease, border-color 0.18s ease;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  color: var(--red-ink);
  border-color: var(--red-100);
  transform: translateY(-2px);
}

.to-top:active {
  transform: translateY(0);
}

.to-top svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 720px) {
  .site-footer {
    padding-bottom: 96px;
  }

  .to-top {
    right: 18px;
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .to-top {
    transition: none;
  }
}


