@charset "utf-8";

/* ==========================================================================
   漫画企业官网：编辑部杂志与分类目录视觉
   骨架：顶部单层导航 / 首页非对称拼贴网格 / 内页右侧浮动目录
   风格：几何扁平——直角、粗描边、色块，与 m1 的圆润暖色形成对照
   ========================================================================== */

:root {
  --ink: #2b2a4c;
  --ink-2: #3d3b6b;
  --ink-3: #524f8a;
  --accent: #ffd166;
  --accent-2: #8b87d6;
  --accent-wash: #fff6dd;
  --paper: #fdfcf7;
  --white: #ffffff;
  --text: #26253f;
  --text-soft: #5a5878;
  --text-faint: #706d8d;
  --line: #ddd9ea;
  --line-soft: #ebe8f4;
  --line-dark: rgba(253, 252, 247, 0.18);

  --shell-max: 1180px;
  --shell-pad: 1.5rem;
  --radius: 2px;
  --shadow: 6px 6px 0 rgba(43, 42, 76, 0.12);
  --font:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --num: "SF Mono", "DIN Alternate", Menlo, monospace;
  --gap: 4.5rem;
}

@media (min-width: 1024px) {
  :root {
    --shell-pad: 2rem;
    --gap: 6rem;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  overflow-wrap: break-word;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.01em;
}
h1 {
  font-size: clamp(1.75rem, 4.2vw, 2.6rem);
}
h2 {
  font-size: 1.3rem;
}
h3 {
  font-size: 1.08rem;
}
p {
  margin: 0 0 1.05em;
}
p:last-child {
  margin-bottom: 0;
}
a {
  color: var(--ink-2);
  text-decoration: none;
  transition: color 0.16s ease;
}
a:hover {
  color: var(--ink);
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
ul,
ol {
  margin: 0;
  padding: 0;
}
li {
  list-style: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
:focus-visible {
  outline: 3px solid var(--ink-3);
  outline-offset: 2px;
}

.shell {
  width: min(var(--shell-max), 100% - var(--shell-pad) * 2);
  margin-inline: auto;
}
.eyebrow {
  margin: 0 0 0.5rem;
  color: var(--ink-3);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: block;
}
.lede {
  font-size: 1.04rem;
  color: var(--text-soft);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 300;
  padding: 0.8rem 1.3rem;
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
  transition: top 0.18s ease;
}
.skip-link:focus {
  top: 0;
  color: var(--paper);
}

/* 按钮：方角 + 硬阴影 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 46px;
  padding: 0.65rem 1.35rem;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  font-size: 0.94rem;
  font-weight: 700;
  transition:
    transform 0.14s ease,
    box-shadow 0.14s ease;
}
.btn--accent {
  background: var(--accent);
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}
.btn--accent:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
  color: var(--ink);
}
.btn--ink {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 4px 4px 0 var(--accent-2);
}
.btn--ink:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--accent-2);
  color: var(--paper);
}
.btn--line {
  background: var(--white);
  color: var(--ink);
}
.btn--line:hover {
  background: var(--accent-wash);
  color: var(--ink);
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-height: 44px;
  color: var(--ink-3);
  font-weight: 700;
}
.arrow-link::after {
  content: "→";
  transition: transform 0.16s ease;
}
.arrow-link:hover::after {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   顶部单层导航
   -------------------------------------------------------------------------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
}
.topbar__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "brand spacer cta"
    "nav nav nav";
  align-items: center;
  column-gap: 1.5rem;
  padding-top: 0.65rem;
}
.brand {
  grid-area: brand;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  color: var(--ink);
}
.brand__mark {
  flex-shrink: 0;
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.18;
}
.brand__name {
  font-size: 1.1rem;
  font-weight: 800;
}
.brand__tag {
  color: var(--text-faint);
  font-size: 0.71rem;
}

.nav-toggle {
  display: none;
}
.topnav {
  grid-area: nav;
  margin-top: 0.55rem;
  border-top: 1px solid var(--line);
}
.topnav__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 48px;
}
.nav-item {
  position: relative;
}
.nav-item__row {
  display: flex;
  align-items: center;
}
.nav-item > a,
.nav-item__row > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 0.7rem;
  color: var(--text);
  font-size: 0.93rem;
  font-weight: 700;
  white-space: nowrap;
}
.nav-item > a:hover,
.nav-item__row > a:hover {
  color: var(--ink-3);
}
.topnav a[aria-current="page"] {
  color: var(--ink);
  box-shadow: inset 0 -4px 0 var(--accent);
}
.nav-item--current > .nav-item__row > a {
  color: var(--ink-3);
}
.nav-sub {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: 0;
  color: var(--text-faint);
  font-size: 0.8rem;
}
.nav-sub span {
  display: block;
  transition: transform 0.2s ease;
}
.nav-item--open .nav-sub span {
  transform: rotate(180deg);
}
.subnav {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  min-width: 11rem;
  padding: 0.35rem;
  background: var(--white);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(5px);
  transition:
    opacity 0.16s ease,
    transform 0.16s ease,
    visibility 0.16s;
}
.nav-item--group:hover .subnav,
.nav-item--group:focus-within .subnav,
.nav-item--open .subnav {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.subnav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 0.7rem;
  color: var(--text);
  font-size: 0.91rem;
}
.subnav a:hover {
  background: var(--accent-wash);
}
.topbar__cta {
  grid-area: cta;
  flex-shrink: 0;
}
.topnav__drawer {
  display: none;
}

@media (max-width: 1099px) {
  .topbar__inner {
    display: flex;
    min-height: 68px;
    padding-top: 0;
  }
  .brand {
    margin-right: auto;
  }
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    padding: 0;
    background: var(--white);
    border: 2px solid var(--ink);
  }
  .nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--ink);
    transition:
      transform 0.2s ease,
      opacity 0.2s ease;
  }
  [data-drawer-open="true"] .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  [data-drawer-open="true"] .nav-toggle span:nth-child(2) {
    opacity: 0;
  }
  [data-drawer-open="true"] .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  .topbar__cta {
    display: none;
  }
  .topnav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 0.5rem var(--shell-pad) 1.2rem;
    margin-top: 0;
    background: var(--paper);
    border-top: 0;
    border-bottom: 2px solid var(--ink);
    max-height: calc(100vh - 70px);
    overflow-y: auto;
  }
  [data-drawer-open="true"] .topnav {
    display: block;
  }
  .topnav__list {
    display: block;
    min-height: 0;
  }
  .nav-item {
    border-bottom: 1px solid var(--line);
  }
  .nav-item__row {
    justify-content: space-between;
  }
  .nav-item > a,
  .nav-item__row > a {
    flex: 1;
    min-height: 52px;
    padding-inline: 0;
    font-size: 1rem;
  }
  .topnav a[aria-current="page"] {
    box-shadow: none;
    color: var(--ink-3);
  }
  .nav-sub {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: none;
    border: 0;
    color: var(--text-faint);
    font-size: 0.8rem;
  }
  .nav-sub span {
    display: block;
    transition: transform 0.2s ease;
  }
  .nav-item--open .nav-sub span {
    transform: rotate(180deg);
  }
  .subnav {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
    min-width: 0;
    padding: 0 0 0.5rem 0.9rem;
    border: 0;
    border-left: 3px solid var(--accent);
    box-shadow: none;
  }
  .nav-item--open .subnav {
    display: block;
  }
  .nav-item--group:hover .subnav {
    display: none;
  }
  .nav-item--group.nav-item--open:hover .subnav {
    display: block;
  }
  .topnav__drawer {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    padding-top: 1rem;
  }
  .topnav__drawer .btn {
    flex: 1 1 8rem;
  }
}

/* --------------------------------------------------------------------------
   面包屑 / 横幅
   -------------------------------------------------------------------------- */

.crumb {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  font-size: 0.85rem;
}
.crumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem;
}
.crumb li {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.crumb li + li::before {
  content: "/";
  color: var(--text-faint);
}
.crumb a,
.crumb [aria-current="page"] {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.crumb a {
  color: var(--text-soft);
}
.crumb [aria-current="page"] {
  color: var(--ink);
  font-weight: 700;
}

.banner {
  padding: 2.6rem 0 2.2rem;
  background: var(--ink);
  color: rgba(253, 252, 247, 0.82);
}
.banner h1 {
  margin-bottom: 0.6rem;
  color: var(--paper);
}
.banner .eyebrow {
  color: var(--accent);
}
.banner__lede {
  max-width: 44rem;
  margin: 0;
  color: rgba(253, 252, 247, 0.8);
  font-size: 1.02rem;
}
.banner__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 2.4rem;
  margin: 1.5rem 0 0;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line-dark);
}
.banner__stats dt {
  color: rgba(253, 252, 247, 0.58);
  font-size: 0.79rem;
}
.banner__stats dd {
  margin: 0.1rem 0 0;
  color: var(--accent);
  font-family: var(--num);
  font-size: 1.2rem;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   首页：非对称拼贴
   -------------------------------------------------------------------------- */

.band {
  padding-block: var(--gap);
}
.band--white {
  background: var(--white);
}
.band--ink {
  background: var(--ink);
  color: rgba(253, 252, 247, 0.8);
}
.band--ink h2,
.band--ink h3 {
  color: var(--paper);
}
.band--ink .eyebrow {
  color: var(--accent);
}
.section-head {
  max-width: 44rem;
  margin-bottom: 2.1rem;
}
.section-head h2 {
  margin-bottom: 0.55rem;
  font-size: clamp(1.35rem, 2.8vw, 1.9rem);
}
.section-head p {
  margin: 0;
  color: var(--text-soft);
}
.band--ink .section-head p {
  color: rgba(253, 252, 247, 0.74);
}

.hero {
  padding: 3rem 0;
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: 1.05fr 1fr;
    gap: 3rem;
  }
}
.hero h1 {
  margin-bottom: 0.95rem;
  font-size: clamp(1.95rem, 4.6vw, 3rem);
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(transparent 62%, var(--accent) 62%);
}
.hero__lede {
  margin-bottom: 1.6rem;
  color: var(--text-soft);
  font-size: 1.05rem;
}
.hero__fig {
  margin: 0;
  border: 2px solid var(--ink);
  box-shadow: var(--shadow);
}
.hero__fig img {
  width: 100%;
  aspect-ratio: 3 / 2;
  max-height: 340px;
  object-fit: cover;
}

/* 拼贴：大格 + 小格混排，非等分 */
.mosaic {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 760px) {
  .mosaic {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(150px, auto);
  }
  .mosaic > :nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
  }
  .mosaic > :nth-child(2) {
    grid-column: span 2;
  }
  .mosaic > :nth-child(3) {
    grid-column: span 1;
  }
  .mosaic > :nth-child(4) {
    grid-column: span 1;
  }
}
.tile {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.2rem 1.3rem;
  background: var(--white);
  border: 2px solid var(--ink);
  transition:
    transform 0.14s ease,
    box-shadow 0.14s ease;
}
.tile:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--ink);
}
.tile .icon {
  color: var(--ink-3);
  margin-bottom: 0.6rem;
}
.tile h3 {
  margin-bottom: 0.3rem;
  font-size: 1.02rem;
}
.tile p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.6;
}
.tile--accent {
  background: var(--accent);
}
.tile--ink {
  background: var(--ink);
}
.tile--ink h3 {
  color: var(--paper);
}
.tile--ink p {
  color: rgba(253, 252, 247, 0.78);
}
.tile--ink .icon {
  color: var(--accent);
}

body.home .mosaic > .tile:first-child {
  background:
    linear-gradient(145deg, transparent 0 58%, rgba(255, 209, 102, 0.16) 58% 63%, transparent 63%), var(--ink);
}

body.home .mosaic > .tile:first-child h3 {
  color: var(--paper);
}

body.home .mosaic > .tile:first-child p {
  color: rgba(253, 252, 247, 0.76);
}

body.home .mosaic > .tile:first-child .icon {
  color: var(--accent);
}

/* 题材条：斜切色块，非等分方格 */
.genre-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.genre-chip {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1 1 150px;
  min-height: 84px;
  padding: 0.8rem 1rem;
  background: var(--white);
  border: 2px solid var(--ink);
}
.genre-chip:hover {
  background: var(--accent-wash);
}
.genre-chip strong {
  color: var(--ink);
  font-size: 1.02rem;
}
.genre-chip span {
  color: var(--text-faint);
  font-size: 0.8rem;
  line-height: 1.45;
}
.genre-chip:nth-child(2n) {
  background: var(--accent-wash);
}
.genre-chip:nth-child(2n):hover {
  background: var(--accent);
}

/* 卡片 */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.3rem;
}
@media (min-width: 700px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1080px) {
  .card-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 2px solid var(--ink);
  transition:
    transform 0.14s ease,
    box-shadow 0.14s ease;
}
.card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--ink);
}
.card__fig {
  background: var(--ink);
  border-bottom: 2px solid var(--ink);
}
.card__fig img {
  width: 100%;
}
.card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.05rem 1.2rem 1.25rem;
}
.card__kind {
  color: var(--ink-3);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.8rem;
  margin-bottom: 0.4rem;
  color: var(--text-faint);
  font-size: 0.79rem;
}
.card h3 {
  margin: 0.28rem 0 0.42rem;
  font-size: 1.04rem;
}
.card h3 a {
  color: var(--ink);
}
.card h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.card p {
  flex: 1;
  margin-bottom: 0.55rem;
  color: var(--text-soft);
  font-size: 0.91rem;
}

/* --------------------------------------------------------------------------
   内页：全宽正文 + 右侧浮动目录
   -------------------------------------------------------------------------- */

.layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-block: 2.4rem var(--gap);
  align-items: start;
}
/* 只有带右侧目录的页面才分两栏，其余保持全宽 */
@media (min-width: 1000px) {
  .layout--aside {
    grid-template-columns: minmax(0, 1fr) 244px;
    gap: 3rem;
  }
}

.layout__main > * + * {
  margin-top: 2.3rem;
}

.aside {
  order: -1;
}
@media (min-width: 1000px) {
  .aside {
    order: 0;
    position: sticky;
    top: 92px;
  }
}
.aside__inner {
  background: var(--white);
  border: 2px solid var(--ink);
}
.aside__title {
  padding: 0.75rem 1.1rem;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.93rem;
}
.aside__list {
  padding: 0.4rem;
}
.aside__list a {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0 0.75rem;
  color: var(--text);
  font-size: 0.92rem;
}
.aside__list a:hover {
  background: var(--accent-wash);
}
.aside__list a[aria-current="page"] {
  background: var(--accent);
  font-weight: 700;
}
.aside__note {
  padding: 1rem 1.1rem 1.15rem;
  border-top: 2px solid var(--ink);
  background: var(--accent-wash);
}
.aside__note h3 {
  margin-bottom: 0.35rem;
  font-size: 0.93rem;
}
.aside__note p {
  margin-bottom: 0.5rem;
  color: var(--text-soft);
  font-size: 0.85rem;
  line-height: 1.6;
}

.panel {
  padding: 1.5rem;
  background: var(--white);
  border: 2px solid var(--ink);
}
@media (min-width: 640px) {
  .panel {
    padding: 1.9rem 2.1rem;
  }
}

.prose h2 {
  margin: 1.9rem 0 0.75rem;
  padding-left: 0.75rem;
  border-left: 5px solid var(--accent);
  font-size: 1.3rem;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose p {
  color: var(--text-soft);
}
.prose ul,
.prose ol {
  margin: 0 0 1.05em;
  padding-left: 1.3rem;
}
.prose li {
  margin-bottom: 0.45rem;
  color: var(--text-soft);
  list-style: disc;
}
.prose ol > li {
  list-style: decimal;
}
.prose strong {
  color: var(--ink);
}

.sec-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.45rem;
  border-bottom: 3px solid var(--accent);
  font-size: 1.3rem;
}
.sec-title .icon {
  color: var(--ink-3);
}

.feat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}
@media (min-width: 640px) {
  .feat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.feat-item {
  display: flex;
  min-width: 0;
  gap: 0.85rem;
  padding: 1.1rem 1.2rem;
  background: var(--white);
  border: 2px solid var(--ink);
}
.feat-item > div {
  min-width: 0;
}
.feat-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  background: var(--accent);
  color: var(--ink);
}
.feat-item h3 {
  margin-bottom: 0.28rem;
  font-size: 0.99rem;
}
.feat-item p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.89rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.detail-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}
@media (min-width: 820px) {
  .detail-hero {
    grid-template-columns: 1fr 1fr;
    gap: 2.2rem;
  }
}
.detail-fig {
  margin: 0;
  background: var(--ink);
  border: 2px solid var(--ink);
}
.detail-fig img {
  width: 100%;
}
.detail-fig figcaption {
  padding: 0.6rem 1rem;
  color: rgba(253, 252, 247, 0.64);
  font-size: 0.83rem;
}
.detail-sum h2 {
  margin-bottom: 0.65rem;
}
.detail-sum p {
  color: var(--text-soft);
}
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.95rem;
}
.tag-row li {
  padding: 0.22rem 0.65rem;
  background: var(--accent);
  color: var(--ink);
  font-size: 0.81rem;
  font-weight: 700;
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 2px solid var(--ink);
  font-size: 0.91rem;
}
.spec-table caption {
  padding-bottom: 0.55rem;
  color: var(--text-faint);
  font-size: 0.84rem;
  text-align: left;
}
.spec-table th,
.spec-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.spec-table thead th {
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
  white-space: nowrap;
}
.spec-table tbody th {
  width: 30%;
  color: var(--ink);
  font-weight: 700;
}
.spec-table td {
  color: var(--text-soft);
}
.spec-table tbody tr:last-child th,
.spec-table tbody tr:last-child td {
  border-bottom: 0;
}

.steps {
  counter-reset: st;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 760px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}
.steps li {
  counter-increment: st;
  position: relative;
  padding: 1.1rem 1.2rem 1.1rem 3.2rem;
  background: var(--white);
  border: 2px solid var(--ink);
}
.steps li::before {
  content: counter(st, decimal-leading-zero);
  position: absolute;
  left: 1.15rem;
  top: 1.1rem;
  color: var(--ink-3);
  font-family: var(--num);
  font-size: 0.86rem;
  font-weight: 700;
}
.steps h3 {
  margin-bottom: 0.28rem;
  font-size: 0.98rem;
}
.steps p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.88rem;
  line-height: 1.6;
}

.aud-list {
  display: grid;
  border-top: 2px solid var(--ink);
}
.aud-list div {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
.aud-list dt {
  margin-bottom: 0.18rem;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.94rem;
}
.aud-list dd {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.89rem;
}

.rel-rail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}
@media (min-width: 640px) {
  .rel-rail {
    grid-template-columns: repeat(2, 1fr);
  }
}
.rel-rail a {
  display: block;
  padding: 1rem 1.2rem;
  background: var(--white);
  border: 2px solid var(--ink);
}
.rel-rail a:hover {
  background: var(--accent-wash);
}
.rel-rail span {
  display: block;
  margin-bottom: 0.18rem;
  color: var(--text-faint);
  font-size: 0.79rem;
}
.rel-rail strong {
  color: var(--ink);
  font-size: 0.96rem;
}

.cmp {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}
@media (min-width: 760px) {
  .cmp {
    grid-template-columns: repeat(2, 1fr);
  }
}
.cmp-col {
  padding: 1.3rem 1.4rem;
  border: 2px solid var(--ink);
}
.cmp-col--do {
  background: var(--accent-wash);
}
.cmp-col--dont {
  background: var(--white);
}
.cmp-col h3 {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
  font-size: 1rem;
}
.cmp-col li {
  position: relative;
  padding-left: 1.3rem;
  margin-bottom: 0.45rem;
  color: var(--text-soft);
  font-size: 0.91rem;
}
.cmp-col li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 800;
}
.cmp-col--do li::before {
  content: "✓";
  color: var(--ink-3);
}
.cmp-col--dont li::before {
  content: "×";
  color: var(--text-faint);
}

.zig {
  display: grid;
  gap: 2.4rem;
}
.zig__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
  align-items: center;
}
@media (min-width: 860px) {
  .zig__row {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.6rem;
  }
  .zig__row:nth-child(even) .zig__fig {
    order: 2;
  }
}
.zig__fig {
  margin: 0;
  background: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: var(--shadow);
}
.zig__fig img {
  width: 100%;
}
.zig__body h3 {
  margin-bottom: 0.6rem;
  font-size: clamp(1.12rem, 2.2vw, 1.4rem);
}
.zig__body p {
  color: var(--text-soft);
}
.zig__pts {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.95rem;
}
.zig__pts li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--text-soft);
  font-size: 0.91rem;
}
.zig__pts .icon {
  width: 18px;
  height: 18px;
  margin-top: 0.32rem;
  color: var(--ink-3);
}

.empty {
  padding: 2.2rem 1.4rem;
  background: var(--white);
  border: 2px dashed var(--ink);
  text-align: center;
}
.empty h3 {
  margin-bottom: 0.35rem;
}
.empty p {
  max-width: 32rem;
  margin-inline: auto;
  color: var(--text-soft);
}

.pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.8rem;
}
.pager a,
.pager span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding-inline: 0.6rem;
  background: var(--white);
  border: 2px solid var(--ink);
  font-size: 0.89rem;
  font-weight: 700;
  color: var(--text);
}
.pager [aria-current="page"] {
  background: var(--accent);
}
.pager .off {
  color: var(--text-faint);
  border-color: var(--line);
}

.art-head {
  padding-bottom: 1.2rem;
  border-bottom: 2px solid var(--ink);
}
.art-head h1 {
  margin-bottom: 0.6rem;
}
.art-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.2rem;
  color: var(--text-faint);
  font-size: 0.86rem;
}
.art-fig {
  margin: 1.6rem 0;
  background: var(--ink);
  border: 2px solid var(--ink);
}
.art-fig img {
  width: 100%;
}
.art-fig figcaption {
  padding: 0.5rem 1rem;
  color: rgba(253, 252, 247, 0.62);
  font-size: 0.82rem;
}

.faq-group + .faq-group {
  margin-top: 2.3rem;
}
.faq-item {
  background: var(--white);
  border: 2px solid var(--ink);
}
.faq-item + .faq-item {
  margin-top: 0.55rem;
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  min-height: 52px;
  padding: 0.8rem 1.1rem;
  background: none;
  border: 0;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 700;
  text-align: left;
  line-height: 1.5;
}
.faq-q:hover {
  background: var(--accent-wash);
}
.faq-mark {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--ink);
  font-size: 0.93rem;
  line-height: 1;
}
.faq-a {
  padding: 0 1.1rem 1rem;
  color: var(--text-soft);
  font-size: 0.93rem;
}
.faq-a[hidden] {
  display: none;
}

.notice {
  padding: 1rem 1.2rem;
  background: var(--accent-wash);
  border: 2px solid var(--ink);
  color: var(--ink-2);
  font-size: 0.92rem;
}
.notice p:last-child {
  margin-bottom: 0;
}

.next-step {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 1.6rem;
  background: var(--ink);
  color: rgba(253, 252, 247, 0.8);
}
.next-step h2 {
  margin-bottom: 0.2rem;
  color: var(--paper);
  font-size: 1.3rem;
}
.next-step p {
  margin: 0;
  font-size: 0.91rem;
}
.next-step__t {
  flex: 1 1 18rem;
}

.toc {
  padding: 1.2rem 1.4rem;
  background: var(--white);
  border: 2px solid var(--ink);
  border-left: 6px solid var(--accent);
}
.toc h2 {
  margin-bottom: 0.55rem;
}
.toc ol {
  display: grid;
  counter-reset: tc;
}
@media (min-width: 640px) {
  .toc ol {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 1.3rem;
  }
}
.toc li {
  counter-increment: tc;
}
.toc a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  color: var(--text);
  font-size: 0.91rem;
}
.toc a::before {
  content: counter(tc, decimal-leading-zero);
  color: var(--ink-3);
  font-family: var(--num);
  font-size: 0.77rem;
}

.facts {
  display: grid;
  border-top: 2px solid var(--ink);
}
.facts div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
}
.facts dt {
  min-width: 7rem;
  color: var(--text-faint);
  font-size: 0.86rem;
}
.facts dd {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.92rem;
}

.log {
  display: grid;
  border-top: 2px solid var(--ink);
}
.log li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.log__hd {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 1rem;
  margin-bottom: 0.3rem;
}
.log__ver {
  padding: 0.1rem 0.55rem;
  background: var(--accent);
  color: var(--ink);
  font-family: var(--num);
  font-size: 0.84rem;
  font-weight: 700;
}
.log__hd time {
  color: var(--text-faint);
  font-size: 0.84rem;
}
.log li p:last-child {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.91rem;
  line-height: 1.68;
}

.search-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.4rem;
}
.search-form__f {
  flex: 1 1 14rem;
}
.search-form label {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
}
.search-form input[type="search"] {
  width: 100%;
  min-height: 48px;
  padding: 0.5rem 0.85rem;
  background: var(--white);
  border: 2px solid var(--ink);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
}
.search-form input[type="search"]:focus {
  outline: 3px solid var(--accent);
}
.search-form__s {
  display: flex;
  align-items: flex-end;
}
.search-sum {
  margin-bottom: 1rem;
  color: var(--text-soft);
  font-size: 0.93rem;
}
.search-hint ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.55rem;
}
.search-hint a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 0.8rem;
  background: var(--white);
  border: 2px solid var(--ink);
  font-size: 0.88rem;
}
.search-hint a:hover {
  background: var(--accent-wash);
}
.search-res {
  display: grid;
  gap: 0.85rem;
}
.search-res li {
  padding: 1rem 1.2rem;
  background: var(--white);
  border: 2px solid var(--ink);
}
.search-res h2,
.search-res h3 {
  margin-bottom: 0.28rem;
  font-size: 1rem;
}
.search-res p {
  margin: 0 0 0.3rem;
  color: var(--text-soft);
  font-size: 0.9rem;
}
.search-res .path {
  color: var(--text-faint);
  font-size: 0.8rem;
}

.map-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.3rem;
}
@media (min-width: 640px) {
  .map-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .map-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.map-block {
  padding: 1.25rem 1.4rem;
  background: var(--white);
  border: 2px solid var(--ink);
}
.map-block h2 {
  margin-bottom: 0.6rem;
}
.map-block li a {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--text);
  font-size: 0.92rem;
  border-bottom: 1px solid var(--line-soft);
}
.map-block li:last-child a {
  border-bottom: 0;
}
.map-block li a:hover {
  color: var(--ink-3);
}

.err {
  padding-block: calc(var(--gap) * 0.9);
  text-align: center;
}
.err__code {
  margin-bottom: 0.6rem;
  color: var(--ink-3);
  font-family: var(--num);
  font-size: clamp(3.4rem, 13vw, 5.6rem);
  font-weight: 800;
  line-height: 1;
}
.err h1 {
  margin-bottom: 0.65rem;
}
.err p {
  max-width: 34rem;
  margin-inline: auto;
  color: var(--text-soft);
}
.err .btn-row {
  justify-content: center;
  margin-top: 1.4rem;
}
.err-routes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.8rem;
  max-width: 44rem;
  margin: 2.2rem auto 0;
  text-align: left;
}
.err-routes a {
  display: block;
  padding: 0.9rem 1rem;
  background: var(--white);
  border: 2px solid var(--ink);
  font-weight: 700;
}
.err-routes a:hover {
  background: var(--accent-wash);
}
.err-routes span {
  display: block;
  margin-top: 0.12rem;
  color: var(--text-faint);
  font-size: 0.82rem;
  font-weight: 400;
}

/* 页脚 */
.site-footer {
  background: var(--ink);
  color: rgba(253, 252, 247, 0.72);
  font-size: 0.9rem;
  border-top: 4px solid var(--accent);
}
.site-footer__main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem 1.2rem;
  padding-block: 2.5rem 1.9rem;
}
@media (min-width: 640px) {
  .site-footer__main {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}
@media (min-width: 1024px) {
  .site-footer__main {
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 2.3rem;
  }
  .footer-brand {
    grid-column: auto;
  }
}
.footer-brand__mark {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  color: var(--paper);
  font-size: 1.04rem;
  font-weight: 800;
}
.footer-brand__mark svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
.footer-brand__intro {
  max-width: 34rem;
  margin: 0 0 0.4rem;
  color: rgba(253, 252, 247, 0.72);
  line-height: 1.78;
}
.footer-brand dl {
  margin: 0;
  display: grid;
}
.footer-brand dl div {
  display: flex;
  gap: 0.5rem;
  padding: 0.18rem 0;
}
.footer-brand dt {
  flex-shrink: 0;
  color: rgba(253, 252, 247, 0.5);
}
.footer-brand dd {
  margin: 0;
  color: rgba(253, 252, 247, 0.86);
  word-break: break-all;
}
.footer-brand__more {
  margin: 0.3rem 0 0;
}
.footer-brand__more a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--accent);
  font-size: 0.89rem;
}
.footer-nav h2 {
  margin-bottom: 0.4rem;
  color: var(--paper);
  font-size: 0.95rem;
}
.footer-nav h2 a {
  color: inherit;
}
.footer-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: rgba(253, 252, 247, 0.72);
}
.footer-nav a:hover {
  color: var(--accent);
}
.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1.4rem;
  padding-block: 1rem;
  border-top: 1px solid var(--line-dark);
  font-size: 0.84rem;
}
.site-footer__legal p {
  margin: 0;
}
.site-footer__legal nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 1.1rem;
}
.site-footer__legal a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
  color: rgba(253, 252, 247, 0.72);
}
.site-footer__legal a:hover {
  color: var(--accent);
}
@media (min-width: 1024px) {
  .footer-nav a,
  .site-footer__legal a,
  .footer-brand__more a {
    min-height: 34px;
  }
}

.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background: var(--accent);
  border: 2px solid var(--ink);
  color: var(--ink);
  font-size: 1.05rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
@media (min-width: 1024px) {
  .back-to-top {
    right: 1.6rem;
    bottom: 1.6rem;
  }
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .btn:hover,
  .tile:hover,
  .card:hover {
    transform: none;
  }
}

/* 面包屑里的短链接（如「首页」）横向也要够 44 */
.crumb a,
.crumb [aria-current="page"] {
  min-width: 44px;
  justify-content: center;
  padding-inline: 4px;
}

/* --------------------------------------------------------------------------
   首页节奏件：主场景大图 / 编号要点 / 资讯列表
   与卡片网格交替出现，避免整页都是等高卡片墙
   -------------------------------------------------------------------------- */

.scene-feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
  border: 2px solid var(--ink);
  background: var(--white);
}
@media (min-width: 860px) {
  .scene-feature {
    grid-template-columns: 1.15fr 1fr;
    gap: 0;
  }
}
.scene-feature__fig {
  margin: 0;
  background: var(--ink);
}
.scene-feature__fig img {
  width: 100%;
}
.scene-feature__body {
  padding: 1.6rem 1.8rem;
}
.scene-feature__body h3 {
  margin: 0.3rem 0 0.5rem;
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
}
.scene-feature__body p {
  color: var(--text-soft);
}

.numbered {
  counter-reset: nb;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 2rem;
  border-top: 2px solid var(--ink);
}
@media (min-width: 760px) {
  .numbered {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 2.4rem;
  }
}
@media (min-width: 1080px) {
  .numbered {
    grid-template-columns: repeat(5, 1fr);
    column-gap: 1.4rem;
  }
}
.numbered li {
  counter-increment: nb;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}
.numbered li::before {
  content: counter(nb, decimal-leading-zero);
  display: block;
  margin-bottom: 0.35rem;
  color: var(--ink-3);
  font-family: var(--num);
  font-size: 0.82rem;
  font-weight: 700;
}
.numbered__kind {
  display: inline-block;
  margin-bottom: 0.25rem;
  padding: 0.1rem 0.5rem;
  background: var(--accent);
  color: var(--ink);
  font-size: 0.71rem;
  font-weight: 700;
}
.numbered strong {
  display: block;
  margin-bottom: 0.22rem;
  color: var(--ink);
  font-size: 0.98rem;
}
.numbered p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.87rem;
  line-height: 1.6;
}

.post-list {
  display: grid;
  gap: 0;
  border-top: 2px solid var(--ink);
}
.post-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 1.3rem 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}
@media (min-width: 700px) {
  .post-row {
    grid-template-columns: 216px minmax(0, 1fr);
    gap: 1.6rem;
    align-items: center;
  }
}
.post-row__fig {
  margin: 0;
  background: var(--ink);
  border: 2px solid var(--ink);
  overflow: hidden;
}
.post-row__fig img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.post-row__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.9rem;
  margin-bottom: 0.35rem;
  color: var(--text-faint);
  font-size: 0.81rem;
}
.post-row h3 {
  margin-bottom: 0.35rem;
  font-size: 1.1rem;
}
.post-row h3 a {
  color: var(--ink);
}
.post-row h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.post-row p:last-child {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.93rem;
}

/* ---------- 作品库：横向条目 + 表格式更新表 ---------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(330px, 100%), 1fr));
  gap: 1rem;
}
.work-card {
  display: grid;
  grid-template-columns: 74px 1fr;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.work-card__cover {
  position: relative;
  isolation: isolate;
  margin: 0;
  display: grid;
  place-items: center;
  background: var(--cover, var(--accent));
  border-right: 2px solid var(--ink);
  overflow: hidden;
}
.work-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.work-card__cover::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 140%;
  height: 2px;
  background: rgba(255, 255, 255, 0.72);
  transform: rotate(-36deg);
}
.work-card__cover span {
  font-size: 1.9rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 2px 2px 0 rgba(25, 24, 48, 0.28);
}
.work-card__body {
  padding: 0.85rem 1rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.work-card__meta {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-faint);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.work-card__genre {
  background: var(--ink);
  color: var(--white);
  padding: 0.1rem 0.45rem;
  font-weight: 600;
  letter-spacing: 0;
}
.work-card h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
}
.work-card__brief {
  margin: 0;
  font-size: 0.84rem;
  color: var(--text-soft);
  line-height: 1.6;
}
.work-card__foot {
  margin: 0.25rem 0 0;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.76rem;
  color: var(--text-faint);
  font-family: var(--num);
}
.upd {
  margin-top: 2.6rem;
  border: 2px solid var(--ink);
  background: var(--white);
}
.upd__title {
  margin: 0;
  padding: 0.7rem 1rem;
  font-size: 0.95rem;
  background: var(--ink);
  color: var(--white);
  letter-spacing: 0.05em;
}
.upd__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.upd__list li {
  display: grid;
  grid-template-columns: 5rem 1fr auto auto;
  gap: 1rem;
  align-items: center;
  padding: 0.62rem 1rem;
  font-size: 0.89rem;
}
.upd__list li:nth-child(odd) {
  background: var(--accent-wash);
}
.upd__genre {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--g, var(--ink-3));
}
.upd__list strong {
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.upd__ch,
.upd__list time {
  font-family: var(--num);
  font-size: 0.8rem;
  color: var(--text-faint);
}
.statbar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 0;
}
.statbar div {
  text-align: left;
  padding: 0 1.2rem;
  border-left: 2px solid var(--accent);
}
.statbar div:first-child {
  padding-left: 0;
  border-left: 0;
}
.statbar dt {
  font-size: 0.8rem;
  color: rgba(253, 252, 247, 0.66);
  margin: 0 0 0.3rem;
}
.statbar dd {
  margin: 0;
  font-family: var(--num);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
}
@media (max-width: 720px) {
  .work-card {
    grid-template-columns: 58px 1fr;
  }
  .statbar {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem 0;
  }
  .statbar div:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }
  .upd__list li {
    grid-template-columns: 1fr auto;
    grid-template-areas: "t c" "g d";
    row-gap: 0.2rem;
  }
  .upd__list strong {
    grid-area: t;
  }
  .upd__ch {
    grid-area: c;
  }
  .upd__genre {
    grid-area: g;
  }
  .upd__list time {
    grid-area: d;
  }
}

/* 首页窄屏按“目录页”排版：能力卡变成索引行，资讯变成期刊目录。 */
@media (max-width: 699px) {
  body.home .band {
    padding-block: 2.7rem;
  }

  body.home .section-head {
    margin-bottom: 1.4rem;
  }

  body.home .genre-strip {
    flex-wrap: nowrap;
    margin-inline: calc(var(--shell-pad) * -1);
    padding: 0 var(--shell-pad) 0.75rem;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: thin;
  }

  body.home .genre-chip {
    flex: 0 0 min(62vw, 14rem);
    scroll-snap-align: start;
  }

  body.home .mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  body.home .tile {
    min-height: 144px;
    padding: 0.95rem;
  }

  body.home .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  body.home .work-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }

  body.home .work-card__cover {
    min-height: 82px;
    border-right: 0;
    border-bottom: 2px solid var(--ink);
  }

  body.home .work-card__body {
    padding: 0.75rem;
  }

  body.home .work-card__foot {
    display: block;
  }

  body.home .work-card__foot span:first-child {
    display: none;
  }

  body.home .card-grid {
    gap: 0;
    border-top: 2px solid var(--ink);
  }

  body.home .card {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    border-top: 0;
  }

  body.home .card:hover {
    transform: none;
    box-shadow: none;
  }

  body.home .card__fig {
    border-right: 2px solid var(--ink);
    border-bottom: 0;
  }

  body.home .card__fig img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  body.home .card__body {
    padding: 0.9rem 1rem 1rem;
  }

  body.home .post-list {
    counter-reset: journal;
  }

  body.home .post-row {
    counter-increment: journal;
    grid-template-columns: 3rem minmax(0, 1fr);
    gap: 0.8rem;
    padding-block: 1.05rem;
  }

  body.home .post-row::before {
    content: counter(journal, decimal-leading-zero);
    color: var(--ink-3);
    font-family: var(--num);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.06em;
  }

  body.home .post-row__fig {
    display: none;
  }

  body.home .post-row__body {
    min-width: 0;
  }

  body.home .scene-feature {
    gap: 1.25rem;
  }

  body.home .numbered {
    margin-top: 1.5rem;
  }
}

/* ---------- 栏目页作品卡片 ---------- */
.ex-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}
.ex-list li {
  display: grid;
  grid-template-columns: minmax(6rem, 9rem) 1fr;
  gap: 1rem;
  align-items: baseline;
  padding: 0.75rem 0.9rem;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}
.ex-list strong {
  font-size: 0.95rem;
}
.ex-list span {
  font-size: 0.87rem;
  color: var(--text-soft);
  line-height: 1.65;
}
@media (max-width: 640px) {
  .ex-list li {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

/* ---------- 内页统一开场导语 ---------- */
.page-intro {
  margin: 0 0 1.9rem;
  max-width: 62ch;
  color: var(--text-soft);
  font-size: 1.02rem;
  line-height: 1.85;
}

/* ========================================================================
   漫画编辑部语言：期刊目录、栏目索引与阅读手记
   ======================================================================== */

.section-head--issue {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.7fr);
  gap: 2rem;
  align-items: end;
  padding-bottom: 1rem;
  border-bottom: 4px solid var(--ink);
}

.section-head--issue > p {
  max-width: 34rem;
}

.issue-shelf {
  overflow: hidden;
}

.work-grid--issue {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 2px solid var(--ink);
}

.work-grid--issue .work-card {
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr);
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: none;
}

.work-grid--issue .work-card__cover {
  min-height: 100%;
  border-right: 2px solid var(--ink);
  border-bottom: 0;
}

.work-grid--issue .work-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-grid--issue .work-card__body {
  padding: 0.9rem;
}

.work-grid--issue .work-card h3 {
  font-size: 1rem;
}

.work-grid--issue .work-card__brief {
  font-size: 0.875rem;
  line-height: 1.55;
}

.issue-shelf__action {
  margin-top: 1.5rem;
  justify-content: flex-end;
}

.banner--issue,
.banner--reader {
  position: relative;
  overflow: hidden;
}

.banner--issue::after,
.banner--reader::after {
  position: absolute;
  right: max(1rem, calc((100% - var(--shell-max)) / 2));
  bottom: -0.25em;
  color: rgba(255, 209, 102, 0.18);
  font-family: var(--num);
  font-size: clamp(4rem, 11vw, 9rem);
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
}

.banner--issue::after {
  content: "09";
}

.banner--reader::after {
  content: "READ";
  font-size: clamp(3.2rem, 8vw, 7rem);
}

.editorial-shelf,
.reader-edition {
  padding-block: 3rem var(--gap);
}

.magazine-lead {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.75fr);
  gap: 0;
  margin-bottom: 3rem;
  border: 2px solid var(--ink);
}

.magazine-lead figure {
  margin: 0;
  border-right: 2px solid var(--ink);
}

.magazine-lead img {
  width: 100%;
  height: 100%;
  min-height: 22rem;
  object-fit: cover;
}

.magazine-lead > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.4rem, 4vw, 3rem);
  background: var(--accent-wash);
}

.magazine-lead h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.edition-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 2px solid var(--ink);
}

.edition-column {
  padding: 1.2rem;
  border-right: 2px solid var(--ink);
}

.edition-column:last-child {
  border-right: 0;
}

.edition-column > header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.7rem;
  border-bottom: 4px solid var(--ink);
}

.edition-column > header span,
.index-entry p,
.reader-notes article > span {
  color: var(--ink-3);
  font-family: var(--num);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.index-entry {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 0.8rem;
  padding-block: 1rem;
  border-bottom: 1px solid var(--line);
}

.index-entry img {
  width: 100%;
  height: 5.8rem;
  object-fit: cover;
  border: 1px solid var(--ink);
}

.index-entry p {
  margin: 0;
}

.index-entry h3 {
  margin: 0.12rem 0 0.25rem;
  font-size: 0.98rem;
}

.index-entry div > span {
  display: block;
  color: var(--text-soft);
  font-size: 0.875rem;
  line-height: 1.5;
}

.next-step--editorial {
  margin-top: 3rem;
  border: 2px solid var(--ink);
  background: var(--accent);
  box-shadow: 7px 7px 0 var(--ink);
}

.reader-spread {
  display: grid;
  grid-template-columns: minmax(18rem, 0.72fr) minmax(0, 1.28fr);
  border: 2px solid var(--ink);
}

.reader-spread__copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--accent-wash);
  border-right: 2px solid var(--ink);
}

.reader-spread__copy > span {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: var(--accent-2);
  font-family: var(--num);
  font-size: 2.5rem;
  font-weight: 800;
}

.reader-spread__copy h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.reader-spread figure {
  margin: 0;
}

.reader-spread img {
  width: 100%;
  height: 100%;
  min-height: 24rem;
  object-fit: cover;
}

.reader-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 2rem;
  border-top: 4px solid var(--ink);
  border-left: 2px solid var(--ink);
}

.reader-notes article {
  min-height: 13rem;
  padding: 1.5rem;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.reader-notes article:nth-child(2),
.reader-notes article:nth-child(3) {
  background: var(--white);
}

.reader-notes h2 {
  margin: 1rem 0 0.45rem;
  font-size: 1.18rem;
}

.reader-notes p {
  color: var(--text-soft);
}

.reader-index {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 2rem;
  align-items: start;
  margin-top: 3rem;
}

.reader-index dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  border: 2px solid var(--ink);
}

.reader-index dl > div {
  padding: 1rem;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.reader-index dt {
  font-size: 0.78rem;
  font-weight: 800;
}

.reader-index dd {
  margin: 0.25rem 0 0;
  color: var(--text-soft);
  font-size: 0.88rem;
}

@media (max-width: 960px) {
  .work-grid--issue {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .edition-column,
  .edition-column:last-child {
    border-right: 0;
    border-bottom: 2px solid var(--ink);
  }

  .edition-column:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 720px) {
  .section-head--issue,
  .magazine-lead,
  .reader-spread,
  .reader-index {
    grid-template-columns: 1fr;
  }

  .magazine-lead figure,
  .reader-spread__copy {
    border-right: 0;
    border-bottom: 2px solid var(--ink);
  }

  .magazine-lead img,
  .reader-spread img {
    min-height: 0;
    aspect-ratio: 3 / 2;
  }

  .reader-notes {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .work-grid--issue {
    grid-template-columns: 1fr;
  }

  .work-grid--issue .work-card {
    grid-template-columns: 7rem minmax(0, 1fr);
  }

  .reader-index dl {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 699px) {
  body.home .work-grid--issue,
  body.home .card-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: min(84vw, 22rem);
    grid-template-columns: none;
    gap: 1rem;
    margin-inline: calc(var(--shell-pad) * -1);
    padding: 0 var(--shell-pad) 0.8rem;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: thin;
    border: 0;
  }

  body.home .work-grid--issue .work-card,
  body.home .card-grid .card {
    scroll-snap-align: start;
    border: 2px solid var(--ink);
  }
}

.err--issue {
  min-height: 68vh;
  display: grid;
  align-items: center;
  padding-block: 3rem;
  background: var(--accent-wash);
}

.missing-issue {
  border: 2px solid var(--ink);
  background: var(--paper);
  box-shadow: 9px 9px 0 var(--ink);
}

.missing-issue__mast {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1rem;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--num);
  letter-spacing: 0.08em;
}

.missing-issue__mast strong {
  color: var(--accent);
}

.missing-issue__body {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
}

.missing-issue__body > div {
  padding: clamp(1.5rem, 5vw, 4rem);
  border-right: 2px solid var(--ink);
}

.missing-issue__body h1 {
  margin-bottom: 0.8rem;
}

.missing-issue__body > div > p:not(.eyebrow) {
  color: var(--text-soft);
}

.missing-issue__body .btn-row {
  margin-top: 1.5rem;
}

.missing-issue__links {
  display: grid;
}

.missing-issue__links a {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  align-content: center;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--ink);
}

.missing-issue__links a:last-child {
  border-bottom: 0;
}

.missing-issue__links span {
  grid-row: 1 / 3;
  color: var(--ink-3);
  font-family: var(--num);
  font-weight: 800;
}

.missing-issue__links small {
  color: var(--text-soft);
}

@media (max-width: 720px) {
  .missing-issue__body {
    grid-template-columns: 1fr;
  }

  .missing-issue__body > div {
    border-right: 0;
    border-bottom: 2px solid var(--ink);
  }
}

/* Reading support: existing HTML remains usable without JavaScript. */
[hidden] {
  display: none !important;
}

.brand-note {
  display: grid;
  grid-template-columns: minmax(12rem, 0.7fr) minmax(0, 1.3fr);
  gap: 2rem;
  align-items: start;
}

.brand-note h2 {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.4;
}

.brand-note p:not(.eyebrow) {
  color: var(--text-soft);
  line-height: 1.85;
}

.brand-note--spine {
  border-left: 5px solid var(--accent);
  padding-left: 1.5rem;
}

.brand-note--editor {
  padding: 1.5rem;
  border: 2px solid var(--ink);
  border-top-width: 6px;
  background: var(--accent-wash);
}

.brand-note .btn-row {
  gap: 0.7rem 1.5rem;
  margin-top: 0.8rem;
}

.contact-action {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
  text-decoration: underline;
  text-underline-offset: 0.22em;
  overflow-wrap: anywhere;
}

.shelf-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 0.85rem;
  margin: 1.5rem 0 2rem;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.shelf-filter > div:first-child {
  flex: 1 1 14rem;
}

.shelf-filter label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
  font-weight: 700;
}

.shelf-filter input,
.shelf-filter select {
  min-height: 44px;
  max-width: 100%;
  width: 100%;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--text);
  font: inherit;
}

.filter-status,
.filter-empty {
  flex-basis: 100%;
  margin: 0;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.article-toc {
  margin: 0 0 1.5rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  background: var(--white);
}

.article-toc h2 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.article-toc ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.article-toc a,
.work-card h3 a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.article-toc a {
  font-size: 0.94rem;
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

[id^="reading-"],
[data-shelf-item] {
  scroll-margin-top: 7.5rem;
}

[data-shelf-item]:target {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.search-pages {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.search-pages span {
  color: var(--text-soft);
}

@media (max-width: 699px) {
  .brand-note {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.5rem;
  }

  .brand-note--editor {
    padding: 1rem;
  }

  .article-toc {
    padding: 0.8rem 1rem;
  }

  .article-toc ol {
    display: block;
  }

  .shelf-filter {
    padding: 0.9rem;
  }

  .shelf-filter > div:first-child {
    flex-basis: 100%;
  }

  body.home .work-card__brief {
    display: block;
  }
}

.shelf-filter fieldset {
  flex-basis: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  border: 0;
}

.shelf-filter legend {
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
  font-weight: 700;
}

.shelf-filter fieldset label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 44px;
  margin: 0;
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.shelf-filter input[type="radio"] {
  width: 1rem;
  height: 1rem;
  min-height: 0;
  margin: 0;
  padding: 0;
  accent-color: var(--ink);
}

.shelf-filter fieldset label:has(input:checked) {
  background: var(--accent-wash);
  border-color: var(--ink);
}

.hero h1 em {
  display: block;
  margin-top: 0.2em;
}

/* 动态数据缺图时由文字占满原网格，不保留空图列。 */
.hero__grid > div:only-child,
.zig__body:only-child,
.detail-sum:only-child,
.detail-fig:only-child {
  grid-column: 1 / -1;
}

.spec-table td strong {
  display: block;
  font-weight: 600;
}

.table-wrap:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
