/* Hallmark · macrostructure: Shelter Field Manual · tone: 末日生存 / 据点探索 · anchor hue: 营灯琥珀 */
/* Hallmark · pre-emit critique: P5 H4 E4 S5 R4 V5 · nav: custom · footer: custom · mobile: pass pending QA */
/*
视觉方向：DL 同人商店风 / DLsite 经典详情页（粉蓝清爽）
主色：浅米色 #F6F4EF / 粉色 #D95F8F / 明橙 #F08A2A / 墨色 #333333
*/
:root {
  --page: #f6f4ef;
  --paper: #ffffff;
  --ink: #333333;
  --muted: #777777;
  --panel: #f7f9ff;
  --panel-2: #eef4ff;
  --line: #e2e0d8;
  --pink: #d95f8f;
  --pink-2: #f07aad;
  --orange: #f08a2a;
  --orange-2: #ffb25a;
  --blue: #4b9ad4;
  --green: #3cb371;
  --shadow: 0 2px 8px rgba(90,60,40,.08);
  --red: #d95f8f;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "Noto Sans SC", "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;
  line-height: 1.55;
  font-size: 14px;
}
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--pink); text-decoration: underline; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; }
.site-shell { min-height: 100vh; padding-top: 54px; }

.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(217,95,143,.15);
}
.nav-wrap {
  width: min(1080px, calc(100% - 20px));
  margin: 0 auto;
  min-height: 54px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.brand { display: flex; align-items: center; min-width: 0; }
.brand-logo { width: min(148px, 38vw); height: auto; border-radius: 2px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; }
.nav-links a {
  color: #555;
  font-size: 13px; font-weight: 600;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  text-decoration: none;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--pink);
  border-bottom-color: var(--pink);
  text-decoration: none;
}

.cta-button, .ghost-button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px; padding: 0 16px;
  border-radius: 3px; font-weight: 700; letter-spacing: .02em;
  text-decoration: none !important;
  transition: filter .15s ease, transform .15s ease;
}
.cta-button {
  background: linear-gradient(180deg, #ffb84d, var(--orange));
  color: #fff !important;
  border: 1px solid #e67800;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35);
  text-shadow: 0 1px 0 rgba(0,0,0,.12);
}
.cta-button:hover { filter: brightness(1.05); transform: translateY(-1px); }
.cta-glow { position: relative; overflow: hidden; }
.cta-glow::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(255,255,255,.4) 48%, transparent 70%);
  transform: translateX(-120%);
  animation: shine 2.6s ease-in-out infinite;
}
@keyframes shine {
  0%, 60% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}
.ghost-button {
  background: #fff;
  color: var(--pink) !important;
  border: 1px solid var(--pink);
}
.ghost-button.dark {
  color: var(--ink) !important;
  border-color: #bbb;
}
.ghost-button:hover { background: #fff5f8; }

.section-inner { width: min(1080px, calc(100% - 20px)); margin: 0 auto; }
section { padding: 28px 0; }
.section-title {
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--pink);
  max-width: none;
}
.section-title h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #444;
  display: inline-block;
  padding: 0 2px 2px;
}
.section-title p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.hero {
  position: relative;
  min-height: 0;
  color: var(--ink);
  overflow: visible;
  background: transparent;
  padding: 16px 0 8px;
}
.hero-bg { display: none; }
.hero-content {
  position: relative;
  z-index: 1;
  padding: 0;
  width: min(1080px, calc(100% - 20px));
  margin: 0 auto;
}
.work-crumb {
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
  font-size: 12px; color: var(--muted); margin-bottom: 10px;
}
.work-crumb a { color: var(--blue); }
.work-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 18px;
  align-items: start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 14px;
  box-shadow: var(--shadow);
}
.work-cover {
  position: relative;
  border: 1px solid var(--line);
  background: #faf7f2;
  border-radius: 3px;
  overflow: hidden;
}
.work-cover > img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.cover-badges {
  position: absolute; top: 8px; left: 8px;
  display: flex; flex-wrap: wrap; gap: 4px;
}
.badge, .hot-badge, .sale-badge {
  display: inline-flex; align-items: center;
  padding: 2px 7px;
  border-radius: 2px;
  font-size: 11px; font-weight: 800;
  line-height: 1.4;
}
.badge { background: var(--pink); color: #fff; margin-bottom: 0; border: 0; }
.hot-badge { background: var(--orange); color: #fff; }
.sale-badge { background: #222; color: #fff; }
.preview-col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin-top: 6px;
}
.preview-item {
  position: relative;
  padding: 0; border: 1px solid var(--line);
  background: #111;
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 16/10;
}
.preview-item img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: .92;
  transition: opacity .15s ease, transform .15s ease;
}
.preview-item:hover img { opacity: 1; transform: scale(1.04); }
.preview-item::after {
  content: "预览";
  position: absolute; left: 4px; bottom: 4px;
  padding: 1px 5px;
  border-radius: 2px;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  backdrop-filter: blur(4px);
  pointer-events: none;
}
.preview-item.play::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.35));
  pointer-events: none;
}
.preview-item.play .play-ico {
  position: absolute;
  right: 4px; top: 4px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(217,95,143,.88);
  z-index: 1;
  box-shadow: 0 1px 4px rgba(0,0,0,.25);
}
.preview-item.play .play-ico::before {
  content: "";
  position: absolute;
  left: 7px; top: 5px;
  border-style: solid;
  border-width: 4px 0 4px 6px;
  border-color: transparent transparent transparent #fff;
}

.work-meta h1 {
  margin: 0 0 4px;
  font-size: clamp(20px, 2.6vw, 26px);
  line-height: 1.3;
  font-weight: 900;
  color: #2b2b2b;
  text-shadow: none;
}
.work-meta .en {
  display: block;
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 500;
  color: #999;
  letter-spacing: .04em;
}
.hero-lead {
  max-width: none;
  margin: 0 0 10px;
  font-size: 13px;
  color: #555;
  line-height: 1.65;
}
.popularity-row {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  margin-bottom: 10px;
}
.rate-box {
  display: inline-flex; align-items: baseline; gap: 4px;
  padding: 3px 8px;
  background: #fff4e8;
  border: 1px solid #ffd7a8;
  border-radius: 2px;
  color: var(--orange);
  font-weight: 800;
}
.rate-box strong { font-size: 18px; }
.rate-box span { font-size: 11px; color: #a65a00; font-weight: 600; }

.tag-stack {
  display: flex; flex-wrap: wrap; gap: 5px;
  margin: 0 0 12px;
}
.tag-stack .tag {
  margin: 0;
  padding: 2px 8px;
  border-radius: 2px;
  font-size: 11px;
  font-weight: 700;
  background: #f3f3f3;
  color: #555;
  border: 1px solid #e2e2e2;
}
.tag-stack .tag.pink { background: #ffe4ee; color: var(--pink); border-color: #f7c0d2; }
.tag-stack .tag.orange { background: #fff0dd; color: #d36b00; border-color: #ffd3a0; }
.tag-stack .tag.blue { background: #e8f3fb; color: #2f74a8; border-color: #c5dff2; }
.tag-stack .tag.green { background: #e8f8ef; color: #2e8b57; border-color: #bde8cd; }

.metric-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 6px;
  max-width: none;
  margin-bottom: 12px;
}
.metric {
  background: #faf7f2;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 7px 6px;
  text-align: center;
}
.metric strong { display: block; font-size: 14px; color: var(--pink); }
.metric span { font-size: 11px; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.buy-bar {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  margin-top: 10px;
  padding: 10px;
  background: linear-gradient(180deg, #fff8fb, #fff);
  border: 1px solid #f2c9d8;
  border-radius: 3px;
}
.price-block { min-width: 110px; }
.price-block .label { font-size: 11px; color: var(--muted); }
.price-block .price {
  font-size: 22px; font-weight: 900; color: var(--pink); line-height: 1.1;
}
.price-block .note { font-size: 11px; color: var(--orange); font-weight: 700; }

.info-box { margin-top: 12px; position: relative; z-index: 2; }
.info-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0,1fr));
  gap: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  box-shadow: none;
}
.info-grid div {
  background: var(--paper);
  padding: 10px 12px;
  border-right: 1px solid var(--line);
}
.info-grid div:last-child { border-right: 0; }
.info-grid span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 2px;
}
.info-grid strong { font-size: 13px; color: #444; }

.dark-band {
  background: #fff;
  color: var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.dark-band .section-title h2 { color: #444; }
.dark-band .section-title p,
.dark-band .muted,
.dark-band p { color: var(--muted); }
.dark-band strong { color: #333; }

.story-copy {
  max-width: none;
  margin: 0;
  text-align: left;
  font-size: 13.5px;
  line-height: 1.8;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 14px 16px;
}
.story-copy p { margin: 0 0 10px; color: #555; }
.story-copy p:last-child { margin-bottom: 0; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 8px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 12px 12px 10px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.feature-card:hover {
  transform: none;
  box-shadow: var(--shadow);
  border-color: var(--pink);
}
.feature-card .icon {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 2px;
  background: #ffe4ee;
  color: var(--pink);
  font-weight: 900;
  font-size: 12px;
  margin-bottom: 8px;
}
.feature-card h3 { margin: 0 0 4px; font-size: 14px; color: #444; }
.feature-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 6px;
}
.gallery-grid button {
  position: relative;
  padding: 0; border: 1px solid var(--line); background: #111;
  border-radius: 2px; overflow: hidden;
  box-shadow: none;
}
.gallery-grid img {
  width: 100%; aspect-ratio: 16/10; object-fit: cover;
  opacity: .95;
  transition: transform .2s ease, opacity .2s ease;
}
.gallery-grid button:hover img {
  transform: scale(1.03);
  opacity: 1;
  filter: none;
}
.gallery-grid button::after {
  content: "预览";
  position: absolute; left: 5px; bottom: 5px;
  padding: 1px 5px;
  border-radius: 2px;
  background: rgba(0,0,0,.5);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  pointer-events: none;
}

.download-band { background: #fff8f0; color: var(--ink); border-top: 1px solid #ffe0b8; border-bottom: 1px solid #ffe0b8; }
.download-panel {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  flex-wrap: wrap;
  padding: 14px 16px;
  border: 1px solid #ffd09a;
  border-radius: 3px;
  background: linear-gradient(180deg, #fff, #fff7ec);
}
.download-panel h2 { margin: 0 0 2px; font-size: 16px; color: #444; }
.download-panel p { margin: 0; color: var(--muted); font-size: 12px; }

.timeline { display: grid; gap: 8px; }
.timeline-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 10px;
  padding: 10px 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--pink);
  border-radius: 2px;
}
.timeline-item time { font-weight: 700; color: var(--pink); font-size: 12px; }
.timeline-item strong { display: block; margin-bottom: 2px; font-size: 13px; }
.timeline-item p { margin: 0; color: var(--muted); font-size: 12px; }

.accordion { display: grid; gap: 6px; }
.acc-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
}
.acc-item button {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #faf7f2;
  border: 0;
  text-align: left;
  font-weight: 700;
  font-size: 13px;
}
.acc-body { display: none; padding: 0 12px 10px; color: var(--muted); font-size: 12.5px; }
.acc-item.open .acc-body { display: block; }
.acc-item.open button { color: var(--pink); background: #fff5f8; }

.review-score {
  display: flex; align-items: baseline; gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.review-score strong { font-size: 32px; color: var(--orange); }
.review-score span { color: var(--muted); font-size: 12px; }
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 8px;
}
.review-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 12px;
  animation: rise .45s ease both;
}
.review-card:nth-child(2) { animation-delay: .05s; }
.review-card:nth-child(3) { animation-delay: .1s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.stars { color: var(--orange); letter-spacing: 1px; margin-bottom: 4px; font-size: 12px; }
.review-card p { margin: 0 0 8px; color: #555; font-size: 12.5px; }
.review-card span { color: var(--muted); font-size: 11px; }

.faq-list { display: grid; gap: 6px; }
.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: transparent;
  border: 0;
  text-align: left;
}
.faq-question h3 { margin: 0; font-size: 13px; font-weight: 700; }
.faq-icon {
  width: 22px; height: 22px;
  border-radius: 2px;
  display: grid; place-items: center;
  background: var(--pink); color: #fff;
  flex-shrink: 0;
  font-size: 14px;
}
.faq-answer {
  display: none;
  padding: 0 12px 10px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 12.5px;
}
.faq-item.open .faq-answer { display: block; }

.final-cta {
  text-align: center;
  background: #fff;
  border-top: 2px solid var(--pink);
}
.final-cta h2 { margin: 0 0 6px; font-size: 20px; color: #444; }
.final-cta p { margin: 0 auto 14px; max-width: 560px; color: var(--muted); font-size: 13px; }
.final-actions { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.tiny-note { margin-top: 10px; font-size: 11px; color: var(--muted); }

.footer {
  background: #4a4450;
  color: rgba(255,255,255,.82);
  padding: 28px 0 16px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 18px;
  margin-bottom: 16px;
}
.footer h2, .footer h3 { margin: 0 0 8px; color: #fff; font-size: 14px; }
.footer p { margin: 0 0 8px; color: rgba(255,255,255,.7); font-size: 12px; }
.footer-links { display: grid; gap: 4px; }
.footer-links a { color: rgba(255,255,255,.8); font-size: 12px; text-decoration: none; }
.footer-links a:hover { color: var(--orange-2); }
.footer-bottom {
  width: min(1080px, calc(100% - 20px));
  margin: 0 auto;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: 11px;
  color: rgba(255,255,255,.5);
}
.tiny { font-size: 11px !important; }

.lightbox {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(0,0,0,.82);
  display: none;
  align-items: center; justify-content: center;
  padding: 20px;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: min(1000px, 92vw);
  max-height: 82vh;
  border-radius: 2px;
}
.lightbox-close, .lightbox-nav {
  position: absolute;
  background: rgba(217,95,143,.9);
  color: #fff;
  border: 0;
  border-radius: 2px;
  min-height: 36px;
  padding: 0 12px;
}
.lightbox-close { top: 14px; right: 14px; }
.lightbox-prev { left: 14px; }
.lightbox-next { right: 14px; }

.page-hero {
  padding: 18px 0 12px;
  background: #fff;
  color: var(--ink);
  border-bottom: 2px solid var(--pink);
}
.page-hero h1 { margin: 0 0 4px; font-size: clamp(20px, 3vw, 26px); color: #333; }
.page-hero p { margin: 0; color: var(--muted); max-width: 720px; font-size: 13px; }

.platform-grid, .req-grid, .guide-cards, .article-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 8px;
}
.panel-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 12px;
  box-shadow: none;
}
.panel-card h3 { margin: 0 0 4px; font-size: 14px; }
.panel-card p { margin: 0 0 10px; color: var(--muted); font-size: 12px; }
.tag {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 2px;
  background: var(--pink);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 6px;
}
.steps { display: grid; gap: 8px; counter-reset: step; color: var(--ink); }
.step {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px;
  align-items: start;
}
.step strong {
  display: block;
  color: #333;
  font-size: 14px;
}
.step p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  width: 28px; height: 28px;
  border-radius: 2px;
  display: grid; place-items: center;
  background: var(--orange);
  color: #fff;
  font-weight: 900;
  font-size: 12px;
}
.req-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.req-table th, .req-table td {
  border: 1px solid var(--line);
  padding: 7px 8px;
  text-align: left;
}
.req-table th { background: #faf7f2; color: #666; font-weight: 700; }

.gallery-tabs {
  display: flex; flex-wrap: wrap; gap: 4px;
  margin-bottom: 10px;
}
.gallery-tabs button {
  min-height: 30px;
  padding: 0 10px;
  border-radius: 2px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 600;
  font-size: 12px;
  color: #555;
}
.gallery-tabs button.active {
  background: var(--pink);
  color: #fff;
  border-color: var(--pink);
}

.toc {
  display: flex; flex-wrap: wrap; gap: 4px;
  margin-bottom: 12px;
}
.toc a {
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: #fff;
  font-size: 12px;
  color: #555;
  text-decoration: none;
}
.toc a:hover { border-color: var(--pink); color: var(--pink); }

.guide-cards { grid-template-columns: repeat(2, minmax(0,1fr)); }
.guide-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 12px;
  text-align: left;
  transition: border-color .15s ease;
}
.guide-card:hover {
  transform: none;
  box-shadow: var(--shadow);
  border-color: var(--pink);
}
.guide-card .icon {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  background: #ffe4ee;
  color: var(--pink);
  border-radius: 2px;
  font-weight: 900;
  font-size: 12px;
  margin-bottom: 8px;
}
.guide-card h3 { margin: 0 0 4px; font-size: 14px; }
.guide-card p { margin: 0 0 8px; color: var(--muted); font-size: 12px; }
.guide-card .linkish { color: var(--pink); font-weight: 700; font-size: 12px; }

.chapter {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 14px;
  margin-bottom: 8px;
}
.chapter h2 { margin: 0 0 8px; font-size: 16px; color: #444; border-left: 3px solid var(--pink); padding-left: 8px; }
.chapter ol, .chapter ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: 13px; }
.chapter li { margin-bottom: 4px; }
.save-tip {
  margin-top: 8px;
  padding: 8px 10px;
  background: #fff4e8;
  border-left: 3px solid var(--orange);
  color: #8a5200;
  font-size: 12px;
}

.modal {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(0,0,0,.55);
  display: none;
  align-items: center; justify-content: center;
  padding: 16px;
}
.modal.open { display: flex; }
.modal-panel {
  width: min(720px, 100%);
  max-height: 86vh;
  overflow: auto;
  background: #fff;
  border-radius: 3px;
  padding: 16px;
  border-top: 3px solid var(--pink);
}
.modal-panel h3 { margin: 0 0 8px; }
.modal-panel p { color: var(--muted); font-size: 13px; }
.modal-close {
  float: right;
  border: 0;
  background: var(--pink);
  color: #fff;
  border-radius: 2px;
  min-height: 30px;
  padding: 0 10px;
  font-size: 12px;
}
.data-table { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: 12.5px; }
.data-table th, .data-table td {
  border: 1px solid var(--line);
  padding: 6px 8px;
  text-align: left;
}
.data-table th { background: #faf7f2; }

.article-body { max-width: 820px; }
.article-body h2 {
  margin: 18px 0 6px;
  font-size: 16px;
  border-left: 3px solid var(--pink);
  padding-left: 8px;
}
.article-body p, .article-body li { color: #555; font-size: 13.5px; }
.article-body ul, .article-body ol { padding-left: 18px; }
.checklist { list-style: none; padding: 0; }
.checklist li {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 2px;
  margin-bottom: 5px;
  background: #fff;
  font-size: 13px;
}
.checklist li::before { content: "✓ "; color: var(--pink); font-weight: 900; }

@media (max-width: 1024px) {
  .work-layout { grid-template-columns: 260px 1fr; }
  .metric-row, .info-grid, .feature-grid, .gallery-grid, .review-grid, .footer-grid,
  .platform-grid, .req-grid, .guide-cards, .article-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
  .gallery-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .work-layout { grid-template-columns: 1fr; }
  .preview-col { grid-template-columns: repeat(4, 1fr); }
  .metric-row, .info-grid, .feature-grid, .gallery-grid, .review-grid, .footer-grid,
  .platform-grid, .req-grid, .guide-cards, .article-grid, .timeline-item {
    grid-template-columns: 1fr;
  }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  section { padding: 20px 0; }
}

:root {
  --hallmark-paper: #111512; --hallmark-paper-2: #222923; --hallmark-ink: #17202b; --hallmark-ink-2: #465464;
  --hallmark-rule: color-mix(in srgb, var(--hallmark-ink) 18%, var(--hallmark-paper));
  --hallmark-accent: #d79f4e; --hallmark-accent-2: #91ad9e; --hallmark-accent-ink: #17202b; --hallmark-light: #fffaf0; --hallmark-contrast-ink: #fffaf0; --hallmark-focus: #d79f4e;
  --hallmark-display: "Noto Serif SC", "Songti SC", serif; --hallmark-body: "Noto Sans SC", "Hiragino Sans", system-ui, sans-serif; --hallmark-mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --hallmark-space-xs: .5rem; --hallmark-space-sm: 1rem; --hallmark-space-md: 1.5rem; --hallmark-space-lg: 2rem; --hallmark-space-xl: 4rem;
  --hallmark-ease-out: cubic-bezier(.16, 1, .3, 1);
}
html, body { overflow-x: clip; }
body.dw9 { --dw-page: var(--hallmark-paper); --dw-paper: var(--hallmark-paper-2); --dw-accent: var(--hallmark-accent); --dw-accent-2: var(--hallmark-accent-2); background: var(--hallmark-paper); color: var(--hallmark-ink); font-family: var(--hallmark-body); }
body.dw9 main { display: flex; flex-direction: column; }
body.dw9 main > section[data-section="hero"] { order: 1; }
body.dw9 main > section[data-section="updates"] { order: 2; }
body.dw9 main > section[data-section="story"] { order: 3; }
body.dw9 main > section[data-section="info"] { order: 4; }
body.dw9 main > section[data-section="features"] { order: 5; }
body.dw9 main > section[data-section="gallery"] { order: 6; }
body.dw9 main > section[data-section="reviews"] { order: 7; }
body.dw9 main > section[data-section="articles"] { order: 8; }
body.dw9 main > section[data-section="faq"] { order: 9; }
body.dw9 main > section[data-section="download"] { order: 10; }
body.dw9 main > section[data-section="cta"] { order: 11; }
body.dw9 .topbar { background: color-mix(in srgb, var(--hallmark-paper-2) 94%, transparent); border-bottom: 1px solid var(--hallmark-rule); box-shadow: none; backdrop-filter: blur(14px); }
body.dw9 .nav-wrap { min-height: 64px; max-width: 1180px; }
body.dw9 .nav-links a { color: var(--hallmark-ink-2); border-bottom-color: transparent; font-family: var(--hallmark-mono); letter-spacing: .04em; white-space: nowrap; }
body.dw9 .nav-links a:hover, body.dw9 .nav-links a.active { color: var(--hallmark-accent); border-bottom-color: var(--hallmark-accent); }
body.dw9 .hero { background-image: linear-gradient(90deg, color-mix(in srgb, var(--hallmark-paper) 91%, transparent), color-mix(in srgb, var(--hallmark-paper) 38%, transparent)), url('../images/jiangshishenghuo-atmosphere.webp'); background-size: cover; background-position: center; padding-block: 2rem 4rem; }
body.dw9 .hero-content, body.dw9 .section-inner { max-width: 1180px; }
body.dw9 .work-layout { background: color-mix(in srgb, var(--hallmark-paper-2) 84%, transparent); border: 1px solid var(--hallmark-rule); border-radius: 0; box-shadow: 0 18px 48px color-mix(in srgb, var(--hallmark-ink) 12%, transparent); }
body.dw9 .work-meta { background: var(--hallmark-paper-2); color: var(--hallmark-ink); }
body.dw9 .work-meta h1, body.dw9 h2, body.dw9 h3 { font-family: var(--hallmark-display); font-style: normal; overflow-wrap: anywhere; min-width: 0; }
body.dw9 .section-title { border-bottom-color: var(--hallmark-accent); }
body.dw9 .section-title h2 { font-size: clamp(1.6rem, 4vw, 3.2rem); line-height: 1.05; }
body.dw9 .cta-button { background: var(--hallmark-accent); border-color: var(--hallmark-accent); color: var(--hallmark-accent-ink) !important; border-radius: 0; }
body.dw9 .ghost-button { color: var(--hallmark-accent) !important; border-color: var(--hallmark-accent); border-radius: 0; }
body.dw9 .tag.pink, body.dw9 .hot-badge { background: var(--hallmark-accent); border-color: var(--hallmark-accent); }
body.dw9 .dark-band { background: color-mix(in srgb, var(--hallmark-ink) 92%, var(--hallmark-paper)); color: var(--hallmark-light); }
body.dw9 .dark-band .section-title h2, body.dw9 .dark-band .section-title p { color: var(--hallmark-light); }
body.dw9 .footer { border-top-color: var(--hallmark-accent); background: color-mix(in srgb, var(--hallmark-paper-2) 92%, var(--hallmark-accent)); color: var(--hallmark-contrast-ink); }
body.dw9 .footer a, body.dw9 .footer p, body.dw9 .footer h2, body.dw9 .footer h3 { color: var(--hallmark-contrast-ink); }
body.dw9 .faq-question:focus-visible, body.dw9 a:focus-visible, body.dw9 button:focus-visible { outline: 2px solid var(--hallmark-focus); outline-offset: 2px; }
body.dw9 .topbar,body.dw9 .nav-wrap,body.dw9 .nav-links a{color:var(--hallmark-light)} body.dw9 .hero{color:var(--hallmark-light);background-color:var(--hallmark-ink)} body.dw9 .hero .work-crumb,body.dw9 .hero .work-crumb a,body.dw9 .hero .hero-lead,body.dw9 .work-meta,body.dw9 .work-meta h1,body.dw9 .work-meta h1 .en{color:var(--hallmark-light)!important} body.dw9 .metric{color:var(--hallmark-ink)} body.dw9 .topbar{position:sticky} body.dw9 .work-layout{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);background:color-mix(in srgb,var(--hallmark-ink) 84%,transparent)} body.dw9 .info-grid{grid-template-columns:repeat(3,minmax(0,1fr));border-block:2px solid var(--hallmark-accent)} body.dw9 .section-title{position:sticky;top:4.5rem;align-self:flex-start;max-width:20rem} body.dw9 .cta-button{min-height:48px;padding-inline:1.5rem}
@media (max-width:760px) {
  body.dw9 .nav-wrap { min-height:58px; flex-wrap:wrap; padding-block:.5rem; }
  body.dw9 .nav-links { order:3; width:100%; overflow-x:auto; flex-wrap:nowrap; padding-bottom:.25rem; }
  body.dw9 .work-layout, body.dw9 .work-cover-wrap, body.dw9 .info-grid, body.dw9 .metric-row, body.dw9 .feature-grid { grid-template-columns:minmax(0,1fr); }
  body.dw9 .section-title { position:static; display:block; max-width:none; }
  body.dw9 .story-copy { columns:auto; }
  body.dw9 .work-meta { margin:0; width:auto; padding:1rem; }
}
@media (prefers-reduced-motion:reduce) { body.dw9 *,body.dw9 *::before,body.dw9 *::after { animation-duration:.01ms!important; transition-duration:.01ms!important; } }
