/* 辣椒红龙鱼大全 — 首页/分类/详情共用样式
   视觉基线：03-ui/home-ui-desktop.png（1440×2160）
   分区预算与逐轮对比见 03-ui/compare-log.md */


* { box-sizing: border-box; }

.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;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family:'PingFang SC','Microsoft YaHei','Noto Sans SC',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 700; line-height: 1.25; margin: 0; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 40px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--accent);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--pill);
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
}

/* ---------------------------------------------------------- header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(18, 18, 19, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.brand-mark {
  width: 34px;
  height: 34px;
  color: var(--accent);
  flex: none;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong {
  font-family:'PingFang SC','Microsoft YaHei','Noto Sans SC',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.brand-text em {
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--muted);
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  flex-wrap: wrap;
}
.site-nav a {
  display: inline-block;
  padding: 7px 11px;
  border-radius: 7px;
  font-size: 13.5px;
  color: var(--body);
  white-space: nowrap;
  transition: color 0.18s ease, background 0.18s ease;
}
.site-nav a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.05); }
.site-nav a[aria-current="page"] {
  background: var(--accent);
  color: #fff;
  font-weight: 600;
}
.header-cta {
  flex: none;
  margin-left: 10px;
}
.nav-toggle {
  display: none;
  margin-left: auto;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  cursor: pointer;
}
.nav-toggle i {
  display: block;
  width: 16px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 5px 0 currentColor, 0 -5px 0 currentColor;
}

/* ---------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 22px;
  border-radius: var(--pill);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.btn svg { width: 14px; height: 14px; flex: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-bright); transform: translateY(-1px); }
.btn-ghost {
  border-color: rgba(245, 240, 234, 0.32);
  color: var(--ink);
  background: rgba(12, 12, 13, 0.35);
}
.btn-ghost:hover { border-color: var(--ink); background: rgba(255, 255, 255, 0.08); }
.btn-small { padding: 8px 16px; font-size: 13px; }

/* ---------------------------------------------------------- hero */
.hero {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #070606;
  border-bottom: 1px solid var(--line-soft);
}
.hero-media {
  position: absolute;
  inset: 0 0 0 auto;
  width: 72%;
  height: 100%;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 50%;
  opacity: 0.92;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, #080707 0%, rgba(8, 7, 7, 0.94) 36%, rgba(8, 7, 7, 0.52) 58%, rgba(8, 7, 7, 0.08) 82%, rgba(8, 7, 7, 0.2) 100%),
    linear-gradient(180deg, rgba(8, 7, 7, 0.7) 0%, transparent 34%, rgba(8, 7, 7, 0.5) 100%);
}
.hero-inner { position: relative; z-index: 2; padding-block: 30px 26px; }
.hero-copy { max-width: 660px; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family:'PingFang SC','Microsoft YaHei','Noto Sans SC',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;
  font-size: 11px;
  letter-spacing: 0.34em;
  color: var(--body);
  text-transform: uppercase;
}
.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 42px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent));
}
.eyebrow::after { background: linear-gradient(90deg, var(--accent), transparent); }
.eyebrow span { letter-spacing: 0.18em; color: var(--muted); }

.hero h1 { margin-top: 12px; }
.hero-display {
  display: block;
  font-family:'PingFang SC','Microsoft YaHei','Noto Sans SC',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;
  font-size: clamp(44px, 4.8vw, 66px);
  line-height: 1.02;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.hero-display b { color: var(--accent); font-weight: 700; }
.hero-title {
  display: block;
  margin-top: 10px;
  font-family:'PingFang SC','Microsoft YaHei','Noto Sans SC',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;
  font-size: clamp(19px, 1.8vw, 25px);
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--accent-bright);
}
.hero-lead {
  max-width: 620px;
  margin-top: 12px;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--body);
}
.hero-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 34px;
  margin-top: 15px;
  padding-top: 12px;
  border-top: 1px solid rgba(245, 240, 234, 0.14);
  max-width: 640px;
}
.hero-stats li { display: flex; align-items: center; gap: 10px; }
.hero-stats svg { width: 26px; height: 26px; color: var(--accent-bright); flex: none; }
.stat-value {
  display: block;
  font-family:'PingFang SC','Microsoft YaHei','Noto Sans SC',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.stat-label { display: block; font-size: 11px; color: var(--muted); letter-spacing: 0.06em; }
.hero-note { margin-top: 7px; font-size: 10.8px; color: var(--muted-2); }

/* ---------------------------------------------------------- sections */
.section { padding-block: 20px; }
.section + .section { border-top: 1px solid var(--line-soft); }
.section-band { background: var(--bg-band); }
.section-head { margin-bottom: 12px; }
.section-head h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family:'PingFang SC','Microsoft YaHei','Noto Sans SC',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;
  font-size: clamp(20px, 1.7vw, 24px);
  letter-spacing: 0.02em;
}
.section-head h2::before {
  content: "";
  width: 4px;
  height: 20px;
  border-radius: 2px;
  background: var(--accent);
  flex: none;
}
.section-head p { margin-top: 5px; font-size: 13px; color: var(--muted); max-width: 760px; }
.section-head p em { font-style: normal; color: var(--accent-bright); }
.section-foot { display: flex; justify-content: flex-end; margin-top: 8px; }
.section-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  font-size: 13px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}
.section-link span {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--accent-bright);
}
.section-link:hover { border-color: var(--accent); background: var(--accent-wash); }

/* ---------------------------------------------------------- category grid */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 12px;
}
.cat-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-panel);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.cat-card:hover { transform: translateY(-3px); border-color: rgba(220, 46, 36, 0.55); }
.cat-thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #141314; }
.cat-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cat-num {
  position: absolute;
  left: 8px;
  top: 6px;
  font-family:'PingFang SC','Microsoft YaHei','Noto Sans SC',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: #fff;
  background: rgba(12, 10, 10, 0.72);
  border: 1px solid rgba(240, 80, 61, 0.5);
  border-radius: 4px;
  padding: 1px 5px;
}
.cat-body { padding: 8px 10px 10px; }
.cat-body h3 { font-size: 14px; letter-spacing: 0.02em; }
.cat-body p {
  margin-top: 3px;
  font-size: 10.8px;
  line-height: 1.42;
  color: var(--muted);
}

/* ---------------------------------------------------------- stages */
.stage-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.stage-card {
  position: relative;
  display: grid;
  grid-template-columns: 36% 1fr;
  align-items: stretch;
  background: var(--bg-panel);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  overflow: hidden;
  min-height: 108px;
}
.stage-card + .stage-card::before {
  content: "›";
  position: absolute;
  left: -13px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  font-size: 15px;
  color: var(--accent-bright);
  background: var(--bg);
  border-radius: 50%;
  border: 1px solid var(--line);
  z-index: 2;
}
.stage-media { overflow: hidden; background: #141314; }
.stage-media img { width: 100%; height: 100%; object-fit: cover; }
.stage-body { padding: 10px 13px 10px 11px; }
.stage-name {
  display: block;
  font-family:'PingFang SC','Microsoft YaHei','Noto Sans SC',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}
.stage-size {
  display: block;
  margin-top: 2px;
  font-family:'PingFang SC','Microsoft YaHei','Noto Sans SC',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;
  font-size: 12px;
  color: var(--accent-bright);
  letter-spacing: 0.04em;
}
.stage-body p { margin-top: 4px; font-size: 11px; line-height: 1.5; color: var(--muted); }

/* ---------------------------------------------------------- grading table */
.grading-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 9px; }
.grading-table-wrap {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-panel);
}
.grading-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.grading-table th {
  padding: 8px 14px;
  background: #5a1d18;
  color: #f7e9e2;
  font-weight: 600;
  text-align: left;
  letter-spacing: 0.04em;
  font-size: 12.5px;
}
.grading-table th:first-child { width: 20%; }
.grading-table th:nth-child(2) { width: 38%; }
.grading-table td {
  padding: 4px 14px;
  border-top: 1px solid var(--line-soft);
  color: var(--body);
  vertical-align: top;
  line-height: 1.6;
}
.grading-table tbody tr:nth-child(odd) { background: rgba(255, 255, 255, 0.018); }
.grading-table td:first-child { color: var(--ink); font-weight: 600; white-space: nowrap; }
.grading-note { font-size: 11px; line-height: 1.5; color: var(--muted-2); }

/* ---------------------------------------------------------- latest grid */
.latest-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 11px;
}
.latest-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-panel);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.latest-card:hover { transform: translateY(-3px); border-color: rgba(220, 46, 36, 0.5); }
.latest-thumb { aspect-ratio: 16 / 9; overflow: hidden; background: #141314; }
.latest-thumb img { width: 100%; height: 100%; object-fit: cover; }
.latest-body { display: flex; flex-direction: column; gap: 3px; padding: 7px 9px 9px; }
.tag {
  align-self: flex-start;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--accent-bright);
  border: 1px solid rgba(240, 80, 61, 0.36);
  border-radius: 4px;
  padding: 1px 6px;
}
.latest-body h3 { font-size: 11.5px; line-height: 1.38; letter-spacing: 0.01em; }
.latest-body p { font-size: 10.2px; line-height: 1.4; color: var(--muted); }
.latest-time {
  margin-top: auto;
  padding-top: 1px;
  font-family:'PingFang SC','Microsoft YaHei','Noto Sans SC',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;
  font-size: 10px;
  color: var(--muted-2);
}

/* ---------------------------------------------------------- checklist + faq */
.check-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 22px;
  align-items: start;
}
.check-panel {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
}
.check-panel h2 { font-family:'PingFang SC','Microsoft YaHei','Noto Sans SC',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif; font-size: 20px; letter-spacing: 0.02em; }
.check-panel > p { margin-top: 6px; font-size: 13px; color: var(--muted); }
.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 16px;
  margin-top: 13px;
}
.check-item label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--body);
}
.check-item label:hover span { color: var(--ink); }
.check-item input {
  appearance: none;
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
  border: 1px solid #4a4548;
  border-radius: 4px;
  background: #141314;
  flex: none;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.check-item input:checked {
  background: var(--accent) url("../images/check.svg") center / 12px no-repeat;
  border-color: var(--accent);
}
.check-item input:checked + span { color: var(--muted-2); text-decoration: line-through; }
.check-foot {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
  padding-top: 11px;
  border-top: 1px solid var(--line-soft);
}
.check-progress { flex: 1; }
.check-progress span { font-size: 12px; color: var(--muted); }
.check-progress b { font-family:'PingFang SC','Microsoft YaHei','Noto Sans SC',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif; color: var(--accent-bright); font-size: 14px; }
.progress-track {
  display: block;
  height: 5px;
  margin-top: 7px;
  background: #262426;
  border-radius: 999px;
  overflow: hidden;
}
.progress-bar { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent-bright)); transition: width 0.25s ease; }
.check-reset {
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: transparent;
  font-size: 12px;
  color: var(--body);
  cursor: pointer;
}
.check-reset:hover { border-color: var(--accent); color: var(--ink); }

.faq h2 { font-family:'PingFang SC','Microsoft YaHei','Noto Sans SC',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif; font-size: 20px; letter-spacing: 0.02em; margin-bottom: 10px; }
.faq-item {
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: var(--bg-panel);
  margin-bottom: 5px;
  overflow: hidden;
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 14px;
  font-size: 12.8px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family:'PingFang SC','Microsoft YaHei','Noto Sans SC',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;
  font-size: 16px;
  color: var(--accent-bright);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding: 0 14px 11px; font-size: 11.8px; line-height: 1.6; color: var(--muted); }

/* ---------------------------------------------------------- notice */
.notice {
  background: var(--cream);
  color: var(--cream-ink);
}
.notice-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-block: 13px;
  font-size: 13px;
}
.notice svg { width: 18px; height: 18px; flex: none; color: #8a241b; }
.notice strong { font-weight: 700; }

/* ---------------------------------------------------------- footer */
.site-footer {
  background: #0c0c0d;
  border-top: 1px solid var(--line-soft);
  padding-top: 18px;
  color: var(--muted);
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 30px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line-soft);
}
.footer-brand { display: flex; align-items: flex-start; gap: 10px; }
.footer-brand .brand-mark { width: 30px; height: 30px; }
.footer-brand strong {
  display: block;
  font-family:'PingFang SC','Microsoft YaHei','Noto Sans SC',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;
  font-size: 16px;
  color: var(--ink);
}
.footer-brand p { margin-top: 4px; font-size: 11.8px; line-height: 1.6; max-width: 320px; }
.footer-col h3 { font-size: 12px; letter-spacing: 0.16em; color: var(--ink); font-weight: 600; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 10px; font-size: 12.5px; }
.footer-links a:hover { color: var(--ink); }
.footer-col ul li { margin-top: 6px; font-size: 12px; }
.footer-bottom {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-block: 8px;
  font-size: 11.5px;
  color: var(--muted-2);
}
.to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  color: var(--body);
  font-size: 12px;
}
.to-top:hover { border-color: var(--accent); color: var(--ink); }

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

/* ---------------------------------------------------------- responsive */
@media (max-width: 1279px) {
  .wrap { padding-inline: 28px; }
  .cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .latest-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .site-nav a { padding: 7px 9px; font-size: 13px; }
  .hero-media { width: 78%; }
  .article-layout { grid-template-columns: 210px minmax(0, 1fr); gap: 26px; }
  .article-body { grid-template-columns: minmax(0, 1fr); }
  .key-points { position: static; }
}

@media (max-width: 1023px) {
  .hero { min-height: 0; }
  .hero-inner { padding-block: 38px 34px; }
  .hero-media { width: 100%; opacity: 0.55; }
  .hero::after { background: linear-gradient(180deg, rgba(8, 7, 7, 0.86), rgba(8, 7, 7, 0.72) 58%, #080707 100%); }
  .hero-copy { max-width: 640px; }
  .hero-actions { justify-content: flex-start; }
  .stage-list { grid-template-columns: 1fr; gap: 12px; }
  .stage-card + .stage-card::before { display: none; }
  .stage-card { min-height: 0; }
  .check-grid { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .toc { position: static; }
  .entry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .header-inner { min-height: 60px; gap: 14px; }
  .site-nav {
    position: fixed;
    inset: 60px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px 20px 22px;
    background: #141415;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 40px -20px rgba(0, 0, 0, 0.9);
    max-height: calc(100vh - 60px);
    overflow: auto;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 11px 12px; font-size: 14px; border-radius: 8px; }
  .header-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .section { padding-block: 26px; }
  .grading-table-wrap { overflow-x: auto; }
  .grading-table { min-width: 640px; }
  .article-layout { padding-block: 22px 28px; }
  .related-grid { grid-template-columns: 1fr; }
  .related-card { padding: 10px; }
}

@media (max-width: 640px) {
  body { font-size: 14px; }
  .wrap { padding-inline: 18px; }
  .hero-inner { padding-block: 30px 28px; }
  .hero-display { font-size: clamp(40px, 12vw, 54px); }
  .hero-title { font-size: 19px; }
  .hero-stats { gap: 12px 22px; }
  .stat-value { font-size: 15px; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .latest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .check-list { grid-template-columns: 1fr; }
  .check-panel { padding: 18px; }
  .stage-card { grid-template-columns: 1fr; }
  .stage-media { aspect-ratio: 16 / 9; }
  .stage-body { padding: 12px 14px 14px; }
  .entry-grid { grid-template-columns: 1fr; gap: 14px; }
  .toolbar { align-items: flex-start; }
  .footer-top { grid-template-columns: 1fr; gap: 18px; }
  .footer-bottom { flex-direction: column-reverse; align-items: flex-start; }
  .article-meta { gap: 8px; }
  .article-cover { aspect-ratio: 16 / 9; }
  .notice-inner { font-size: 12px; align-items: flex-start; }
  .page-hero { padding-block: 22px; }
  .hero-actions { gap: 9px; }
  .btn { padding: 10px 18px; font-size: 13px; }
}
