:root {
  --primary-50: #ecfdf5;
  --primary-100: #d1fae5;
  --primary-200: #a7f3d0;
  --primary-400: #34d399;
  --primary-500: #10b981;
  --primary-600: #059669;
  --primary-700: #047857;
  --teal-500: #14b8a6;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --white: #fff;
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-500: #f59e0b;
  --rose-50: #fff1f2;
  --rose-500: #f43f5e;
  --blue-50: #eff6ff;
  --blue-500: #3b82f6;
  --purple-50: #faf5ff;
  --purple-500: #a855f7;
  --radius-sm: 10px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, .06), 0 1px 2px rgba(15, 23, 42, .04);
  --shadow-soft: 0 10px 40px -10px rgba(15, 23, 42, .08);
  --shadow-card: 0 4px 20px -4px rgba(15, 23, 42, .06);
  --shadow-hover: 0 16px 40px -12px rgba(5, 150, 105, .18);
  --container: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--slate-700);
  background: var(--slate-50);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
img, svg { max-width: 100%; }
::selection { background: var(--primary-100); color: var(--primary-700); }

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}
.container.narrow { width: min(calc(100% - 32px), 980px); }

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 999;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--slate-900);
  color: white;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

/* Header: follows the uploaded gkzs.net visual system */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--slate-100);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  min-width: 230px;
}
.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 23px;
  background: linear-gradient(145deg, var(--primary-500), var(--primary-600));
  box-shadow: 0 0 20px rgba(16, 185, 129, .17);
  transition: transform .3s ease, box-shadow .3s ease;
}
.brand:hover .brand-icon { transform: scale(1.055); box-shadow: 0 8px 22px rgba(16,185,129,.22); }
.brand-copy { display: flex; flex-direction: column; line-height: 1; }
.brand-mark {
  color: var(--slate-800);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.03em;
}
.brand-mark::after { content: ""; }
.brand-domain {
  margin-top: 6px;
  color: var(--slate-500);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .09em;
}
.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}
.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--slate-600);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: color .25s ease, background .25s ease, box-shadow .25s ease, transform .25s ease;
}
.main-nav a:hover,
.main-nav a.is-active {
  color: var(--primary-600);
  background: var(--primary-50);
  box-shadow: 0 4px 12px rgba(16,185,129,.13);
  transform: translateY(-1px);
}
.menu-button {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--slate-600);
  font-size: 25px;
  line-height: 1;
}
.menu-button:hover { background: var(--primary-50); color: var(--primary-600); }

.topic-bar {
  border-top: 1px solid var(--slate-100);
  background: rgba(248,250,252,.90);
}
.topic-inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 13px;
}
.topic-inner > strong {
  color: var(--primary-700);
  font-weight: 800;
}
.topic-inner nav { display: flex; gap: 6px; align-items: center; }
.topic-inner nav a {
  padding: 6px 11px;
  border-radius: 999px;
  color: var(--slate-500);
  font-weight: 600;
  transition: .2s ease;
}
.topic-inner nav a:hover { color: var(--primary-600); background: var(--primary-50); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border-bottom: 1px solid var(--slate-100);
}
.hero::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -280px;
  transform: translateX(-50%);
  width: 1100px;
  height: 680px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16,185,129,.15) 0%, rgba(255,255,255,0) 70%);
  pointer-events: none;
}
.hero-glow { display: none; }
.hero-inner {
  position: relative;
  z-index: 1;
  padding: 74px 0 68px;
  text-align: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid var(--primary-100);
  border-radius: 999px;
  background: rgba(236,253,245,.82);
  color: var(--primary-700);
  font-size: 13px;
  font-weight: 700;
}
.eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-500);
  box-shadow: 0 0 0 5px rgba(16,185,129,.10);
}
.hero h1 {
  margin: 22px 0 18px;
  color: var(--slate-800);
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -.045em;
}
.hero h1::after {
  content: "";
  display: block;
  width: 92px;
  height: 4px;
  margin: 18px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary-600), var(--teal-500));
}
.hero-lead {
  max-width: 800px;
  margin: 0 auto;
  color: var(--slate-500);
  font-size: 18px;
  line-height: 1.8;
  font-weight: 400;
}
.status-grid {
  max-width: 960px;
  margin: 38px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.status-card {
  position: relative;
  overflow: hidden;
  padding: 22px 18px;
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.94);
  box-shadow: var(--shadow-card);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.status-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-500), var(--teal-500));
  opacity: .92;
}
.status-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: var(--primary-100); }
.status-label, .status-note { display: block; }
.status-label { color: var(--slate-400); font-size: 12px; font-weight: 700; letter-spacing: .06em; }
.status-value { display: block; margin-top: 6px; color: var(--slate-800); font-size: 21px; font-weight: 800; }
.status-value.status-pending { color: var(--primary-600); }
.status-note { margin-top: 5px; color: var(--slate-400); font-size: 12px; }
.verified-date { margin: 20px 0 0; color: var(--slate-400); font-size: 13px; }

/* Shared sections */
.section { padding: 72px 0; background: #fff; }
.section + .section:not(.section-muted):not(.section-accent) { border-top: 1px solid var(--slate-50); }
.section-muted { background: var(--slate-50); }
.section-query { background: linear-gradient(180deg, #fff 0%, var(--slate-50) 100%); }
.section-heading { max-width: 760px; margin-bottom: 30px; }
.section-heading.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-600);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
}
.section-kicker::before {
  content: "";
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: var(--primary-500);
}
.section-heading.center .section-kicker::before { display: none; }
.section-heading h2,
.current-copy h2,
.content-panel h2,
.bookmark-copy h2,
.data-note h2 {
  margin: 8px 0 10px;
  color: var(--slate-800);
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.3;
  letter-spacing: -.025em;
}
.section-heading p,
.current-copy p,
.content-panel > p,
.bookmark-copy > p,
.data-note > p {
  margin: 0;
  color: var(--slate-500);
  font-size: 15px;
  line-height: 1.85;
}

/* Query */
.query-panel {
  position: relative;
  overflow: hidden;
  padding: 34px;
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.query-panel::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  right: -130px;
  top: -180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16,185,129,.11), transparent 67%);
  pointer-events: none;
}
.query-topline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--slate-500);
  font-size: 13px;
  font-weight: 700;
}
.query-status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber-500); box-shadow: 0 0 0 5px var(--amber-50); }
.search-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 10px 30px rgba(15,23,42,.05);
  overflow: hidden;
}
.search-shell.is-disabled { background: var(--slate-50); }
.search-icon { display: grid; place-items: center; color: var(--slate-400); font-size: 23px; }
.search-shell input {
  min-width: 0;
  width: 100%;
  height: 64px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--slate-600);
  font-size: 16px;
}
.search-shell input::placeholder { color: var(--slate-400); }
.search-shell button {
  height: 48px;
  margin-right: 8px;
  padding: 0 24px;
  border: 0;
  border-radius: 12px;
  background: var(--slate-200);
  color: var(--slate-400);
  font-weight: 700;
  cursor: not-allowed;
}
.query-help { margin: 12px 0 0; color: var(--slate-400); font-size: 13px; text-align: center; }
.future-query-grid { margin-top: 30px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.future-card {
  padding: 22px;
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-lg);
  background: var(--slate-50);
  transition: .25s ease;
}
.future-card:hover { border-color: var(--primary-100); background: var(--primary-50); transform: translateY(-2px); }
.future-index { display: block; color: var(--primary-500); font-size: 12px; font-weight: 800; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }
.future-card strong { display: block; margin-top: 8px; color: var(--slate-800); font-size: 16px; }
.future-card p { margin: 6px 0 0; color: var(--slate-500); font-size: 13px; line-height: 1.7; }

/* Current round card */
.current-card {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(360px, .8fr);
  gap: 34px;
  align-items: center;
  padding: 38px;
  border: 1px solid var(--primary-100);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--primary-50), #fff 58%, #f0fdfa);
  box-shadow: var(--shadow-soft);
}
.current-actions { margin-top: 24px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease, color .22s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--primary-600); box-shadow: 0 8px 20px rgba(5,150,105,.18); }
.button-primary:hover { background: var(--primary-700); box-shadow: 0 12px 24px rgba(5,150,105,.24); }
.button-secondary { color: #fff; background: var(--primary-600); border-color: var(--primary-600); }
.button-secondary:hover { background: var(--primary-700); border-color: var(--primary-700); }
.button-ghost { color: var(--primary-700); background: #fff; border-color: var(--primary-200); }
.button-ghost:hover { background: var(--primary-50); border-color: var(--primary-500); }
.text-link, .source-link { color: var(--primary-600); font-weight: 700; font-size: 14px; }
.text-link:hover, .source-link:hover { color: var(--primary-700); text-decoration: underline; text-underline-offset: 3px; }
.stat-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid var(--primary-100);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.9);
  box-shadow: var(--shadow-card);
}
.stat-item { padding: 30px 12px; text-align: center; }
.stat-item + .stat-item { border-left: 1px solid var(--primary-100); }
.stat-item strong { display: block; color: var(--primary-600); font-size: 34px; line-height: 1; font-weight: 800; letter-spacing: -.03em; }
.stat-item span { display: block; margin-top: 9px; color: var(--slate-500); font-size: 13px; font-weight: 600; }
.notice-card {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 42px minmax(0,1fr);
  gap: 16px;
  padding: 22px 24px;
  border: 1px solid var(--amber-100);
  border-radius: var(--radius-lg);
  background: var(--amber-50);
}
.notice-icon { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--amber-500); font-weight: 900; box-shadow: var(--shadow-sm); }
.notice-card h3 { margin: 0 0 4px; color: var(--slate-800); font-size: 16px; }
.notice-card p { margin: 0; color: var(--slate-600); font-size: 14px; line-height: 1.8; }

/* Timeline */
.timeline { position: relative; margin-top: 12px; }
.timeline::before { content: ""; position: absolute; left: 59px; top: 32px; bottom: 32px; width: 2px; background: linear-gradient(var(--primary-200), var(--slate-200)); }
.timeline-item { position: relative; display: grid; grid-template-columns: 120px minmax(0,1fr); gap: 24px; margin-bottom: 18px; }
.timeline-marker {
  position: relative;
  z-index: 1;
  align-self: start;
  width: 78px;
  margin: 18px 0 0 20px;
  padding: 8px 10px;
  border: 1px solid var(--slate-200);
  border-radius: 999px;
  background: #fff;
  color: var(--slate-600);
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}
.timeline-content {
  padding: 24px 26px;
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-card);
  transition: .25s ease;
}
.timeline-content:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); border-color: var(--primary-100); }
.timeline-content h3 { margin: 0 0 8px; color: var(--slate-800); font-size: 18px; }
.timeline-content p { margin: 0; color: var(--slate-500); font-size: 14px; line-height: 1.8; }
.source-link { display: inline-flex; margin-top: 12px; }
.source-list { display: flex; flex-wrap: wrap; gap: 14px; }
.timeline-item.is-current .timeline-marker { color: #fff; background: var(--primary-600); border-color: var(--primary-600); box-shadow: 0 4px 14px rgba(5,150,105,.2); }
.timeline-item.is-current .timeline-content { border-color: var(--primary-100); background: linear-gradient(135deg, var(--primary-50), #fff); }
.timeline-item.timeline-future .timeline-marker { border-style: dashed; color: var(--primary-600); }

/* Two-column knowledge cards */
.two-column { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.content-panel {
  padding: 30px;
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-card);
}
.content-panel > p + p { margin-top: 14px; }
.caution-text { padding: 14px 16px; border-radius: 12px; background: var(--amber-50); border: 1px solid var(--amber-100); color: var(--slate-600) !important; }
.mini-list { margin-top: 20px; display: grid; gap: 12px; }
.mini-list > div { display: grid; grid-template-columns: 40px minmax(0,1fr); gap: 12px; align-items: start; padding: 13px 14px; border-radius: 12px; background: var(--slate-50); }
.mini-list span { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--primary-50); color: var(--primary-600); font-size: 11px; font-weight: 800; }
.mini-list p { margin: 0; color: var(--slate-600); font-size: 14px; line-height: 1.75; }
.mini-list strong { color: var(--slate-800); }

/* Related data network */
.section-accent {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #047857, #059669 48%, #0f766e);
}
.section-accent::before { content: ""; position: absolute; width: 520px; height: 520px; left: -220px; top: -280px; border-radius: 50%; background: rgba(255,255,255,.07); }
.section-accent::after { content: ""; position: absolute; width: 420px; height: 420px; right: -170px; bottom: -260px; border-radius: 50%; background: rgba(255,255,255,.05); }
.section-accent > .container { position: relative; z-index: 1; }
.light-heading .section-kicker { color: #d1fae5; }
.light-heading h2 { color: #fff; }
.light-heading p { color: rgba(255,255,255,.75); }
.related-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 14px; }
.related-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.96);
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
  transition: transform .25s ease, box-shadow .25s ease;
}
.related-card:hover { transform: translateY(-5px); box-shadow: 0 18px 34px rgba(0,0,0,.13); }
.related-card > span { color: var(--primary-600); font-size: 12px; font-weight: 800; }
.related-card strong { display: block; margin-top: 9px; color: var(--slate-800); font-size: 18px; line-height: 1.4; }
.related-card p { margin: 9px 0 0; color: var(--slate-500); font-size: 13px; line-height: 1.75; }
.related-card b { margin-top: auto; padding-top: 18px; color: var(--primary-600); font-size: 13px; }

/* Bookmark */
.bookmark-section { background: #fff; }
.bookmark-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 34px 38px;
  border: 1px solid var(--primary-100);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--primary-50), #fff 60%);
  box-shadow: var(--shadow-soft);
}
.bookmark-copy { max-width: 760px; }
.bookmark-url { margin-top: 18px; display: inline-flex; padding: 10px 14px; border: 1px solid var(--primary-100); border-radius: 10px; background: #fff; color: var(--primary-700); font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 13px; }
.bookmark-tip { margin: 10px 0 0; color: var(--slate-400); font-size: 12px; }
kbd { padding: 2px 6px; border: 1px solid var(--slate-300); border-bottom-width: 2px; border-radius: 5px; background: #fff; color: var(--slate-600); font-size: 11px; }
.bookmark-actions { flex: 0 0 auto; display: flex; flex-direction: column; gap: 10px; min-width: 180px; }

/* FAQ */
.faq-list { display: grid; gap: 12px; }
.faq-list details {
  border: 1px solid var(--slate-100);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq-list details[open] { border-color: var(--primary-100); box-shadow: 0 12px 28px -14px rgba(5,150,105,.25); }
.faq-list summary {
  position: relative;
  list-style: none;
  padding: 19px 54px 19px 20px;
  color: var(--slate-800);
  font-weight: 700;
  cursor: pointer;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary-50);
  color: var(--primary-600);
  font-size: 18px;
  font-weight: 500;
}
.faq-list details[open] summary::after { content: "−"; background: var(--primary-600); color: #fff; }
.faq-answer { padding: 0 20px 20px; color: var(--slate-500); font-size: 14px; line-height: 1.85; }
.faq-answer a { color: var(--primary-600); font-weight: 700; }

/* Data notes */
.data-note-section { background: #fff; }
.data-note {
  padding: 30px;
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-xl);
  background: var(--slate-50);
}
.data-note h2 { font-size: 22px; }
.data-note > p + p { margin-top: 10px; }
.source-buttons { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; }
.source-buttons a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--slate-200); border-radius: 10px; background: #fff; color: var(--slate-600); font-size: 13px; font-weight: 700; transition: .2s ease; }
.source-buttons a:hover { color: var(--primary-700); border-color: var(--primary-200); background: var(--primary-50); }

/* Footer */
.site-footer {
  padding: 58px 0 26px;
  background: var(--slate-900);
  color: var(--slate-300);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 70px; }
.footer-brand > a { display: inline-flex; align-items: center; gap: 9px; color: #fff; font-size: 22px; font-weight: 800; }
.footer-brand > a::before {
  content: "";
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--primary-600) center/17px no-repeat;
  box-shadow: 0 0 18px rgba(16,185,129,.13);
}
.footer-brand > span { color: var(--slate-400); font-size: 15px; }
.footer-brand p { max-width: 570px; margin: 15px 0 0; color: var(--slate-400); font-size: 13px; line-height: 1.8; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-links h3 { margin: 0 0 5px; color: #fff; font-size: 15px; }
.footer-links a { position: relative; color: var(--slate-400); font-size: 13px; transition: color .25s ease; }
.footer-links a:hover { color: var(--primary-400); }
.footer-links a::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px; background: var(--primary-400); transition: width .25s ease; }
.footer-links a:hover::after { width: 100%; }
.footer-bottom { margin-top: 38px; padding-top: 24px; border-top: 1px solid var(--slate-800); display: flex; justify-content: space-between; align-items: center; gap: 24px; color: var(--slate-500); font-size: 12px; }
.footer-bottom p { margin: 0; }
.footer-bottom span { color: var(--slate-600); margin-left: 8px; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 99;
  transform: translate(-50%, 18px);
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--slate-900);
  color: #fff;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  box-shadow: 0 12px 28px rgba(15,23,42,.22);
}
.toast.is-visible { opacity: 1; transform: translate(-50%,0); }

@media (max-width: 1100px) {
  .brand { min-width: auto; }
  .main-nav a { padding-inline: 12px; font-size: 13px; }
  .related-grid { grid-template-columns: repeat(3, 1fr); }
  .current-card { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .header-inner { min-height: 72px; }
  .menu-button { display: inline-grid; place-items: center; }
  .main-nav {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 70px;
    z-index: 60;
    padding: 12px;
    border: 1px solid var(--slate-100);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(15,23,42,.14);
    flex-direction: column;
    align-items: stretch;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { justify-content: flex-start; min-height: 44px; border-radius: 11px; }
  .topic-inner { overflow-x: auto; justify-content: flex-start; }
  .topic-inner nav { min-width: max-content; }
  .topic-inner > strong { flex: 0 0 auto; }
  .status-grid { grid-template-columns: 1fr; max-width: 650px; }
  .future-query-grid { grid-template-columns: repeat(2, 1fr); }
  .two-column { grid-template-columns: 1fr; }
  .bookmark-card { align-items: flex-start; flex-direction: column; }
  .bookmark-actions { flex-direction: row; min-width: 0; width: 100%; }
  .bookmark-actions .button { flex: 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .container, .container.narrow { width: min(calc(100% - 24px), var(--container)); }
  .site-header { position: sticky; }
  .header-inner { gap: 10px; }
  .brand-icon { width: 38px; height: 38px; border-radius: 11px; font-size: 20px; }
  .brand-mark { font-size: 20px; }
  .brand-domain { font-size: 10px; margin-top: 5px; }
  .topic-inner { min-height: 40px; }
  .topic-inner nav a { padding: 5px 8px; font-size: 12px; }
  .hero-inner { padding: 54px 0 50px; }
  .hero h1 { font-size: 35px; }
  .hero-lead { font-size: 15px; line-height: 1.8; }
  .status-grid { margin-top: 28px; }
  .status-card { padding: 18px; }
  .section { padding: 52px 0; }
  .section-heading h2, .current-copy h2, .content-panel h2, .bookmark-copy h2 { font-size: 25px; }
  .query-panel, .current-card, .content-panel, .bookmark-card, .data-note { padding: 22px; border-radius: 16px; }
  .search-shell { grid-template-columns: 44px minmax(0,1fr); }
  .search-shell button { display: none; }
  .search-shell input { height: 58px; font-size: 14px; }
  .future-query-grid { grid-template-columns: 1fr; }
  .stat-board { grid-template-columns: 1fr; }
  .stat-item + .stat-item { border-left: 0; border-top: 1px solid var(--primary-100); }
  .notice-card { grid-template-columns: 34px minmax(0,1fr); padding: 18px; }
  .timeline::before { left: 17px; }
  .timeline-item { grid-template-columns: 1fr; gap: 8px; padding-left: 38px; }
  .timeline-marker { width: auto; margin: 0; justify-self: start; padding: 5px 10px; }
  .timeline-content { padding: 20px; }
  .related-grid { grid-template-columns: 1fr; }
  .related-card { min-height: auto; }
  .bookmark-actions { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { margin-top: 30px; }
  .footer-bottom span { display: block; margin-left: 0; margin-top: 4px; }
}
