/*
 * Works V2
 * Editorial production archive / contact-sheet magazine.
 * The page alternates paper and ink bands; repeated catalog objects are the
 * only card surfaces. Decoration stays structural and restrained.
 */

:root {
  color-scheme: light;
  --ink-950: #171815;
  --ink-900: #20211e;
  --ink-800: #2c2d29;
  --ink-700: #3d3f39;
  --paper-50: #f7f5ef;
  --paper-100: #f0ede4;
  --paper-200: #e2ddd1;
  --paper-300: #cec7b8;
  --brass-050: #f4eee0;
  --brass-100: #e6dbc2;
  --brass-300: #e0c386;
  --brass-400: #c9973f;
  --brass-500: #a67b32;
  --brass-600: #856025;
  --rust-500: #a34f31;
  --rust-600: #823b25;
  --error-600: #8e382f;
  --line-dark: #4a4b45;
  --line-paper: #cfc8ba;
  --text-on-dark: #f7f4ec;
  --text-dim-dark: #c2beb3;
  --text-on-paper: #20211e;
  --text-dim-paper: #65645e;
  --text-strong: #171815;
  /* 语义层：页面/色带/卡片/页头/状态条。亮色=暖纸黄铜，暗色由下方 data-theme 重映射 */
  --tabs-edge-shadow: rgba(32, 33, 30, 0.2);
  --page-bg: var(--paper-50);
  --page-text: var(--text-on-paper);
  --page-strong: var(--text-strong);
  --page-dim: var(--text-dim-paper);
  --page-line: var(--line-paper);
  --page-link: var(--rust-600);
  --page-link-hover: var(--rust-500);
  --page-accent: var(--rust-600);
  --band-bg: var(--paper-100);
  --band-text: var(--text-on-paper);
  --band-dim: var(--text-dim-paper);
  --band-line: var(--line-paper);
  --band-link: var(--rust-600);
  --band-accent: var(--rust-600);
  --header-bg: var(--paper-50);
  --header-text: var(--text-strong);
  --header-dim: var(--text-dim-paper);
  --header-line: var(--line-paper);
  --status-bg: var(--paper-100);
  --status-text: var(--text-dim-paper);
  --status-line: var(--line-paper);
  --page-hover-bg: var(--paper-100);
  --header-accent: var(--brass-600);
  --band-soft: #4e4e49;
  /* 铜带：浅铜色信息带（免费批 / 资源包提示 / 人格状态），暗色下沉为墨带 */
  --copper-bg: var(--brass-100);
  --copper-text: var(--text-strong);
  --copper-dim: #5b584e;
  --copper-line: #d8caa9;
  --copper-accent: var(--rust-600);
  --content-max: 1200px;
  --reading-max: 780px;
  --page-gutter: 24px;
  --focus: #c58f37;
  --radius-card: 4px;
  --radius-control: 4px;
  --font-sans: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  --font-display: "Songti SC", "Noto Serif CJK SC", "STSong", Georgia, serif;
  /* 间距阶梯：区块节奏与卡片内距统一从这里取值 */
  --space-1: 6px;
  --space-2: 10px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 34px;
  --space-6: 46px;
  --space-7: 62px;
  --space-8: 88px;
  /* 字号阶梯 */
  --text-xs: 0.72rem;
  --text-sm: 0.85rem;
  --text-base: 1rem;
  --text-md: 1.15rem;
  --text-lg: 1.4rem;
  --text-xl: 1.75rem;
  --text-display: 3rem;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --text-strong: #f7f4ec;
  --text-on-paper: var(--text-on-dark);
  --text-dim-paper: var(--text-dim-dark);
  --line-paper: rgba(255, 255, 255, 0.12);
  --paper-50: rgba(28, 30, 26, 0.85);
  --paper-100: rgba(22, 24, 20, 0.9);
  --paper-200: rgba(36, 38, 32, 0.95);
  --paper-300: rgba(48, 50, 44, 0.95);
  --tabs-edge-shadow: rgba(0, 0, 0, 0.6);
  --page-bg: var(--ink-950);
  --page-text: var(--text-on-dark);
  --page-strong: var(--text-on-dark);
  --page-dim: var(--text-dim-dark);
  --page-line: var(--line-dark);
  --page-link: var(--brass-400);
  --page-link-hover: var(--brass-300);
  --page-accent: var(--brass-400);
  --band-bg: var(--ink-900);
  --band-text: var(--text-on-dark);
  --band-dim: var(--text-dim-dark);
  --band-line: var(--line-dark);
  --band-link: var(--brass-400);
  --band-accent: var(--brass-400);
  --header-bg: var(--ink-900);
  --header-text: var(--text-on-dark);
  --header-dim: var(--text-dim-dark);
  --header-line: var(--line-dark);
  --status-bg: var(--ink-800);
  --status-text: var(--brass-300);
  --status-line: var(--line-dark);
  --page-hover-bg: var(--ink-800);
  --header-accent: var(--brass-300);
  --band-soft: var(--text-dim-dark);
  --copper-bg: var(--ink-900);
  --copper-text: var(--text-on-dark);
  --copper-dim: var(--text-dim-dark);
  --copper-line: var(--line-dark);
  --copper-accent: var(--brass-400);
  --focus: #d8a94e;
}

/* 墨面上的纸面通知带下沉为墨底锈边 */
html[data-theme="dark"] .notice-band {
  border-color: #4a3b34;
  border-left-color: var(--rust-500);
  background: #2c2320;
}

html[data-theme="dark"] .notice-band p {
  color: #c9b8ae;
}

/* 暗色里输入控件落在墨页 / 墨页头上，翻为墨面控件 */
html[data-theme="dark"] input,
html[data-theme="dark"] select {
  border-color: var(--line-dark);
  background: var(--ink-800);
  color: var(--text-on-dark);
}

html[data-theme="dark"] input::placeholder {
  color: var(--text-dim-dark);
}

html[data-theme="dark"] input:hover,
html[data-theme="dark"] select:hover {
  border-color: var(--text-dim-dark);
}

/* 徽章在暗色里原本一直用 --brass-600 / --rust-600（为浅色底调的），实测
   「免费可下载」这一枚在墨底上只有 **3.14:1**（12.6px 粗体，需要 4.5:1）——
   而它恰好是名录页最要紧的一个信号，却是卡片上最暗的东西。
   同时 .badge--sage 和 .badge--brass 取值完全相同，四种变体实际只有两种颜色，
   用得最多的 sage（24 处）根本不表达任何区别。
   暗色下改成三种真的分得开、也真的看得清的色族：
     brass 琥珀 = 你现在就能拿走的（免费可下载 / 整包下载）
     sage  灰绿 = 中性状态说明
     rust  赤陶 = 关着的 / 边界 / 尚未开放
   实测对比度：琥珀 9.3:1、灰绿 7.2:1、赤陶 6.0:1。 */
html[data-theme="dark"] .badge--brass {
  color: var(--brass-300);
}

html[data-theme="dark"] .badge--sage {
  color: #9fb39a;
}

html[data-theme="dark"] .badge--rust {
  color: #d98b6a;
}

/* 实心徽章要压过上面那条 brass 提亮（否则琥珀字压琥珀底 = 看不见）。 */
html[data-theme="dark"] .badge--brass.badge--solid {
  background: var(--brass-300);
  color: #221a09;
  border-color: transparent;
}

/* 墨徽章在墨面上提亮；纸卡内的墨徽章保持墨色（卡片在暗色里仍是纸面） */
html[data-theme="dark"] .badge--ink {
  color: var(--text-dim-dark);
}

html[data-theme="dark"] .section--paper-strong .badge--ink,
html[data-theme="dark"] .empty-state .badge--ink,
html[data-theme="dark"] .no-script .badge--ink,
html[data-theme="dark"] .account-empty .badge--ink,
html[data-theme="dark"] .release-summary .badge--ink,
html[data-theme="dark"] .mast-plate .badge--ink,
html[data-theme="dark"] .cover-actor-card .badge--ink,
html[data-theme="dark"] .credit-card .badge--ink,
html[data-theme="dark"] .format-sample .badge--ink,
html[data-theme="dark"] .pricing-plan .badge--ink,
html[data-theme="dark"] .free-drop-calendar .badge--ink,
html[data-theme="dark"] .production-pack-card .badge--ink,
html[data-theme="dark"] .persona-resource-visual-index .badge--ink,
html[data-theme="dark"] .production-pack-consumption__profile .badge--ink,
html[data-theme="dark"] .production-pack-agent-path .badge--ink,
html[data-theme="dark"] .production-path-card .badge--ink,
html[data-theme="dark"] .casting-guide .badge--ink,
html[data-theme="dark"] .world-preview-band .badge--ink,
html[data-theme="dark"] .world-relation-card .badge--ink,
html[data-theme="dark"] .scene-quote .badge--ink,
html[data-theme="dark"] .portrayal-card .badge--ink,
html[data-theme="dark"] .artifact-use .badge--ink,
html[data-theme="dark"] .method-card .badge--ink,
html[data-theme="dark"] .verification-details .badge--ink,
html[data-theme="dark"] .world-card .badge--ink,
html[data-theme="dark"] .detail-mast .badge--ink,
html[data-theme="dark"] .production-pack-detail .badge--ink,
html[data-theme="dark"] .persona-resource-detail .badge--ink {
  color: var(--ink-700);
}

/* 页头登录按钮：墨压墨时补一道墨面描边 */
html[data-theme="dark"] .site-nav__actions .button--ink {
  border-color: var(--line-dark);
}

/* 墨面上的锈红徽章提亮（纸卡内的不受影响） */
html[data-theme="dark"] .prose-panel .badge--rust {
  color: #d98a63;
}

.theme-toggle {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--header-line);
  border-radius: 999px;
  background: transparent;
  color: var(--header-dim);
  font-size: 0.95rem;
  line-height: 1;
  transition: border-color 140ms ease, color 140ms ease;
}

.theme-toggle:hover {
  border-color: var(--brass-500);
  color: var(--header-accent);
}

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

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--page-bg);
  color: var(--page-text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

body,
button,
input,
select,
textarea {
  font-family: var(--font-sans);
}

button,
input,
select,
textarea {
  font-size: 1rem;
  letter-spacing: 0;
}

button,
select {
  cursor: pointer;
}

button:disabled,
select:disabled,
input:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

figure,
blockquote,
dl,
dd {
  margin: 0;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

ul,
ol {
  margin-top: 0;
}

a {
  color: var(--page-link);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--page-link-hover);
}

::selection {
  background: var(--brass-500);
  color: var(--ink-950);
}

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

[hidden] {
  display: none !important;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 12px;
  min-height: 44px;
  padding: 10px 16px;
  background: var(--paper-50);
  color: var(--text-strong);
  border: 2px solid var(--brass-500);
  border-radius: var(--radius-control);
  transform: translateY(-140%);
  transition: transform 140ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* Shared shell */

.eco-nav {
  min-height: 34px;
  background: var(--ink-950);
  border-bottom: 1px solid var(--line-dark);
  color: var(--text-dim-dark);
}

.eco-nav__inner {
  width: min(calc(100% - (var(--page-gutter) * 2)), var(--content-max));
  min-height: 34px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

.eco-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  color: var(--text-dim-dark);
  font-size: 0.75rem;
  line-height: 1.2;
  text-decoration: none;
}

.eco-nav a:hover {
  color: var(--text-on-dark);
}

.eco-nav a[aria-current="page"] {
  color: #d9bb7c;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-line);
}

.site-header__inner {
  position: relative;
  width: min(calc(100% - (var(--page-gutter) * 2)), var(--content-max));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 214px;
  color: var(--header-text);
  text-decoration: none;
}

.site-brand:hover {
  color: var(--header-text);
}

.site-brand__mark {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--brass-500);
  background: var(--rust-500);
  color: var(--text-on-dark);
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1;
}

.site-brand__copy {
  display: grid;
  min-width: 0;
  line-height: 1.25;
}

.site-brand__copy strong {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
}

.site-brand__copy small {
  margin-top: 2px;
  color: var(--header-dim);
  font-size: 0.7rem;
}

.site-nav {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
}

.site-nav > a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 7px;
  border-bottom: 3px solid transparent;
  color: var(--header-dim);
  font-size: 0.78rem;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: color 140ms ease, border-color 140ms ease;
}

.site-nav > a:hover {
  color: var(--header-text);
  border-bottom-color: var(--header-line);
}

.site-nav > a[aria-current="page"] {
  color: var(--header-text);
  border-bottom-color: var(--brass-500);
  font-weight: 700;
}

.site-nav__actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
  padding-left: 12px;
  border-left: 1px solid var(--header-line);
}

.site-nav__actions .button {
  min-width: 64px;
  padding-inline: 12px;
  font-size: 0.78rem;
}

/* 页头里的 quiet 按钮随页头 token（卡片里的仍走纸面规） */
.site-nav__actions .button--quiet {
  border-color: var(--header-line);
  color: var(--header-text);
}

.site-nav__actions .button--quiet:hover {
  background: var(--page-hover-bg);
  border-color: var(--header-dim);
  color: var(--header-text);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  padding: 10px;
  border: 1px solid var(--header-line);
  border-radius: var(--radius-control);
  background: transparent;
  color: var(--header-text);
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
}

.nav-toggle span + span {
  margin-top: 5px;
}

.site-status {
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px var(--page-gutter);
  background: var(--status-bg);
  border-bottom: 1px solid var(--status-line);
  color: var(--status-text);
  font-size: 0.72rem;
  line-height: 1.35;
  text-align: center;
}

/* Shared controls and labels */

.button {
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-control);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

.button:hover {
  text-decoration: none;
}

.button--brass {
  background: var(--brass-500);
  border-color: var(--brass-500);
  color: var(--ink-950);
}

.button--brass:hover {
  background: #b88a38;
  border-color: #b88a38;
  color: var(--ink-950);
}

.button--ink {
  background: var(--ink-950);
  border-color: var(--ink-950);
  color: var(--text-on-dark);
}

.button--ink:hover {
  background: var(--rust-600);
  border-color: var(--rust-600);
  color: var(--text-on-dark);
}

.button--paper {
  background: var(--paper-100);
  border-color: var(--line-paper);
  color: var(--page-strong);
}

.button--paper:hover {
  background: var(--brass-500);
  border-color: var(--brass-500);
  color: var(--ink-950);
}

.button--quiet {
  background: rgba(207, 179, 110, 0.08);
  border-color: rgba(207, 179, 110, 0.4);
  color: var(--brass-600);
  font-weight: 600;
}

.button--quiet:hover {
  background: var(--brass-500);
  border-color: var(--brass-500);
  color: var(--ink-950);
}

html[data-theme="dark"] .button--paper {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--text-on-dark);
}

html[data-theme="dark"] .button--paper:hover {
  background: var(--brass-500);
  border-color: var(--brass-500);
  color: var(--ink-950);
}

html[data-theme="dark"] .button--quiet {
  background: rgba(207, 179, 110, 0.14);
  border-color: rgba(224, 195, 134, 0.45);
  color: var(--brass-200);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

html[data-theme="dark"] .button--quiet:hover {
  background: var(--brass-500);
  border-color: var(--brass-500);
  color: var(--ink-950);
  box-shadow: 0 4px 14px rgba(184, 134, 11, 0.4);
}

.button--outline-light {
  background: transparent;
  border-color: rgba(247, 244, 236, 0.72);
  color: var(--text-on-dark);
}

.button--outline-light:hover {
  background: var(--brass-500);
  border-color: var(--brass-500);
  color: var(--ink-950);
}

html[data-theme="dark"] .button--outline-light {
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--text-on-dark);
}

html[data-theme="dark"] .button--outline-light:hover {
  background: var(--brass-500);
  border-color: var(--brass-500);
  color: var(--ink-950);
}

.badge {
  width: fit-content;
  max-width: 100%;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border: 1px solid currentColor;
  border-radius: 3px;
  background: transparent;
  color: var(--brass-600);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.2;
}

.badge--ink {
  color: var(--ink-700);
}

.badge--paper {
  color: #f0dba9;
}

.badge--brass {
  color: var(--brass-600);
}

.badge--rust {
  color: var(--rust-600);
}

.badge--sage {
  color: var(--brass-600);
}

/* 「免费可下载」是名录页唯一一个"你现在就能拿走"的信号，全站只有它填色。
   其余徽章一律描边——同一张卡上只允许一个实心块，否则又变成"什么都重要"。 */
.badge--solid {
  border-color: transparent;
  background: var(--brass-300);
  color: #221a09;
}

.text-link,
.back-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--page-accent);
  font-size: 0.82rem;
  font-weight: 700;
}

.back-link::before {
  content: "\2190";
  margin-right: 7px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--page-accent);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0;
}

.muted,
.microcopy,
.legal-copy,
.status-message {
  color: var(--page-dim);
}

.microcopy,
.legal-copy {
  font-size: 0.78rem;
  line-height: 1.6;
}

.microcopy {
  margin: 8px 0 0;
}

.legal-copy {
  max-width: 78ch;
  margin: 24px 0 0;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 3px 8px;
  border: 1px solid var(--page-line);
  border-radius: 999px;
  color: var(--page-dim);
  font-size: 0.7rem;
  line-height: 1.2;
}

input,
select {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid #aaa495;
  border-radius: var(--radius-control);
  background: #ffffff;
  color: var(--text-strong);
}

/* 下拉框原本用系统默认外观：箭头是操作系统画的灰色小三角，和这一套琥珀色控件
   完全不搭，而且和旁边输入框的行高/内缩对不齐。改成自绘箭头（用主题色），
   并给右侧留出箭头的位置。 */
select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 38px;
  background-image:
    linear-gradient(45deg, transparent 50%, currentColor 50%),
    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position:
    calc(100% - 20px) calc(50% + 1px),
    calc(100% - 14px) calc(50% + 1px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  cursor: pointer;
}

select:focus-visible {
  border-color: var(--brass-400);
}

/* 展开后的选项列表由系统绘制，只能靠这两条影响配色，尽量别让它闪成白底 */
select option {
  background: var(--ink-800);
  color: var(--text-on-dark);
}

input::placeholder {
  color: #77766f;
  opacity: 1;
}

input:hover,
select:hover {
  border-color: var(--ink-700);
}

/* Page framing */

main {
  display: block;
  min-height: 58vh;
  background: var(--page-bg);
}

main > * {
  min-width: 0;
}

.content-width,
.page-intro,
.notice-band,
.not-found,
.search-page {
  width: min(calc(100% - (var(--page-gutter) * 2)), var(--content-max));
  margin-inline: auto;
}

.content-width--reading {
  width: min(calc(100% - (var(--page-gutter) * 2)), var(--reading-max));
}

.page-intro {
  padding-top: 58px;
  padding-bottom: 42px;
  border-bottom: 1px solid var(--page-line);
}

.page-title,
.detail-title,
.hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0;
}

/* 标题的行宽原来用 ch —— 那是拉丁排版的习惯（1ch = 数字 "0" 的宽度）。
   中文一个字约 1em，差不多是 2ch，所以「18ch」对中文标题其实只有九个字的余量：
   《空椅》· 演员宇宙连载 在这里被迫折行，而且中文没有词边界，折点落在
   「演／员」中间。标题按 em 给行宽，才是按"能放几个字"给的。 */
.page-title {
  max-width: 16em;
  font-size: 3rem;
  line-height: 1.12;
}

.page-deck {
  max-width: 72ch;
  margin: 16px 0 0;
  color: var(--page-dim);
  font-size: 1rem;
  line-height: 1.8;
}

.section {
  padding-top: var(--space-7);
  padding-bottom: var(--space-7);
}

.section--ink {
  width: 100%;
  background: var(--ink-900);
  color: var(--text-on-dark);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.section--paper-strong {
  width: 100%;
  background: var(--band-bg);
  color: var(--band-text);
  border-top: 1px solid var(--band-line);
  border-bottom: 1px solid var(--band-line);
}

#view {
  counter-reset: section;
}

.section-head {
  min-width: 0;
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--page-line);
  counter-increment: section;
}

.section-head::before {
  content: counter(section, decimal-leading-zero);
  flex: none;
  color: var(--brass-500);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.section-head .text-link {
  margin-left: auto;
}

.section-head--bare {
  counter-increment: none;
}

.section-head--bare::before {
  content: none;
}

.section--ink .section-head {
  border-bottom-color: var(--line-dark);
}

.section--ink .section-head::before {
  color: #e0c386;
}

.section--ink .section-head .text-link,
.section--ink .section-copy {
  color: var(--text-dim-dark);
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.75rem;
  line-height: 1.25;
}

.section-title--sub {
  margin-top: 42px;
  font-size: 1.35rem;
}

.section-copy {
  max-width: 76ch;
  margin: -8px 0 24px;
  color: var(--page-dim);
}

/* .section-copy 的 -8px 上边距是为 .section-head（自带下边距）配的。可 section-title 也会
   不带 section-head 单独出现（订阅价值中心 / 演员声口区 / 资料库导语），此时段落会顶进
   标题的行内——截图里「订阅价值中心」和正文几乎叠在一起。紧跟标题时给回正常间距。 */
.section-title + .section-copy {
  margin-top: 12px;
}

/* 名录页顶部那句"现在能带走的是这几位"。原先整页没有"下载/免费"字样,
   16 位里只有 2 位可下,而最显眼的四张封面卡都不可下载。 */
.actor-free-hint {
  margin-top: 4px;
}

.actor-free-hint .section-copy {
  margin-bottom: 20px;
}

.empty-state,
.no-script,
.account-empty,
.release-summary {
  padding: 24px;
  border: 1px solid var(--line-paper);
  border-left: 4px solid var(--brass-600);
  border-radius: var(--radius-card);
  background: var(--paper-100);
}

.empty-state {
  grid-column: 1 / -1;
  min-height: 140px;
  display: grid;
  align-content: center;
}

.empty-state strong,
.empty-state h2,
.account-empty h2,
.release-summary h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.empty-state p,
.account-empty p,
.release-summary p {
  margin: 8px 0 0;
  color: var(--text-dim-paper);
}

.page-loading,
.status-message {
  width: min(calc(100% - (var(--page-gutter) * 2)), var(--content-max));
  min-height: 280px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  text-align: center;
}

.no-script {
  width: min(calc(100% - (var(--page-gutter) * 2)), var(--content-max));
  margin: 40px auto;
}

.not-found {
  min-height: 58vh;
  padding-top: 90px;
  padding-bottom: 90px;
}

.not-found .button {
  margin-top: 24px;
}

/* Image system */

.asset-image {
  position: relative;
  min-width: 0;
  overflow: hidden;
  margin: 0;
  border-radius: 2px;
  background: var(--ink-800);
  color: var(--text-dim-dark);
  isolation: isolate;
}

.asset-image--portrait {
  aspect-ratio: 3 / 4;
}

.asset-image--poster {
  aspect-ratio: 2 / 3;
}

.asset-image--square {
  aspect-ratio: 1;
}

.asset-image--landscape {
  aspect-ratio: 16 / 9;
}

.asset-image--hero {
  aspect-ratio: 16 / 10;
}

.asset-image--pack-portrait {
  aspect-ratio: 9 / 16;
}

.asset-image__media,
.asset-image__fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.asset-image__media {
  object-fit: cover;
  object-position: center 24%;
}

.asset-image--poster .asset-image__media {
  object-position: center top;
}

.asset-image__fallback {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 6px;
  padding: 16px;
  background: var(--ink-800);
  color: var(--text-dim-dark);
  font-size: 0.78rem;
  text-align: center;
}

.asset-image__fallback-kind {
  color: #f0dba9;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.asset-image__fallback-note {
  font-size: 0.72rem;
}

.asset-image.is-unavailable {
  border: 1px solid var(--line-dark);
}

.asset-image__caption {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 7px 10px;
  background: rgba(23, 24, 21, 0.88);
  color: var(--text-on-dark);
  font-size: 0.68rem;
  line-height: 1.35;
}

/* Home */

.hero-band {
  overflow: hidden;
  background: var(--ink-950);
  color: var(--text-on-dark);
}

.hero-band__inner {
  width: min(calc(100% - (var(--page-gutter) * 2)), var(--content-max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 420px);
  gap: 50px;
  align-items: center;
  padding: 64px 0 58px;
}

.hero-band__copy {
  min-width: 0;
}

.hero-band .eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #e0c386;
  font-size: 0.85rem;
  margin: 0;
}

.hero-band .eyebrow::before {
  content: "";
  flex: none;
  width: 36px;
  height: 1px;
  background: #e0c386;
}

.hero-title {
  /* 同上：12ch 对中文只有六个字，「创师 Works 资源库」因此被折成两行。
     改 em 之后按字算，一行放得下。 */
  max-width: 11em;
  margin-top: 14px;
  color: var(--text-on-dark);
  font-size: clamp(2.8rem, 4.8vw, 4.2rem);
  line-height: 1.08;
}

.hero-lead {
  max-width: 48ch;
  margin: 16px 0 22px;
  color: #e5e1d7;
  font-size: 1.02rem;
  line-height: 1.75;
}

/* 第二段是给已经知道 Character Card / JSON 的读者的技术锚点：
   与第一段的日常语言分开，专业术语就不会挡在所有人的第一句话前面 */
.hero-lead--sub {
  margin-top: -8px;
  color: var(--text-dim-dark, #c2beb3);
  font-size: 0.94rem;
}

.hero-plate {
  width: 100%;
  max-width: 420px;
  min-width: 0;
  margin: 0 auto;
  padding: 12px;
  border: 1px solid rgba(224, 195, 134, 0.5);
  background: rgba(247, 245, 239, 0.05);
}

.hero-plate .asset-image {
  border-radius: 4px;
}

.hero-plate__caption {
  padding-top: 10px;
  color: var(--text-dim-dark);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-align: center;
}

/* 纸面画版：与 hero-plate 同装帧，落在浅色面上 */

.mast-plate {
  min-width: 0;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--paper-300);
  background: var(--paper-100);
}

.mast-plate .asset-image {
  border-radius: 0;
}

.mast-plate__caption {
  padding-top: 10px;
  color: var(--text-dim-paper);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-align: right;
}

/* 详情 mast 的 eyebrow 与 hero 同规：前置黄铜短线 */

.detail-mast .eyebrow,
.production-mast .eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
}

.detail-mast .eyebrow::before,
.production-mast .eyebrow::before {
  content: "";
  flex: none;
  width: 38px;
  height: 1px;
  background: var(--brass-500);
}

.production-mast .eyebrow::before {
  background: #d9bb7c;
}

.cover-actors {
  padding-top: 34px;
}

/* 封面演员是 flagship 的数量说了算（现在 4 位），不是固定三列。
   固定 3 列时第 4 张会单独占一行、右边空掉三分之二，整块看着像没做完。
   按条数选列数：4 张走两行两列（成方阵），其余按 3 列。 */
.cover-actors__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

/* 按条数选列数只在宽屏生效。窄屏那条 `grid-template-columns: 1fr` 写在
   @media 里但选择器只有一个类，属性选择器（0-2-0）会压过它——真机上就卡在
   两列 158px 的小方块。所以这两条自己加 min-width 闸，把窄屏让回去。 */
@media (min-width: 721px) {
  .cover-actors__grid[data-count="1"] {
    grid-template-columns: minmax(0, 520px);
  }

  .cover-actors__grid[data-count="2"],
  .cover-actors__grid[data-count="4"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.cover-actor-card {
  min-width: 0;
  display: block;
  border: 1px solid var(--line-paper);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--paper-50);
  color: var(--text-on-paper);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.cover-actor-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(23, 24, 21, 0.14);
}

.cover-actor-card .asset-image {
  border-radius: 0;
}

.cover-actor-card__copy {
  padding: 18px 20px 22px;
  border-top: 3px solid var(--brass-500);
}

.cover-actor-card__kicker {
  margin: 0;
  color: var(--brass-600);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cover-actor-card__copy h3 {
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1.15;
}

.cover-actor-card__headline {
  margin: 10px 0 0;
  color: var(--text-dim-paper);
  font-size: 0.84rem;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.global-search {
  width: min(100%, 660px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.global-search__input {
  min-width: 0;
  min-height: 48px;
  border-color: transparent;
  background: rgba(247, 245, 239, 0.96);
}

.global-search .button {
  min-height: 48px;
}

.global-search--compact {
  width: 100%;
  max-width: 760px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.hero-release {
  margin: 18px 0 0;
  color: #d0ccc2;
  font-size: 0.72rem;
}

.release-band {
  background: var(--ink-950);
  color: var(--text-on-dark);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.stats-strip__item {
  min-width: 0;
  min-height: 92px;
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 16px 20px;
  border-left: 1px solid var(--line-dark);
}

.stats-strip__item:last-child {
  border-right: 1px solid var(--line-dark);
}

.stats-strip dt {
  color: var(--text-dim-dark);
  font-size: 0.7rem;
}

.stats-strip dd {
  color: #e0c386;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1;
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-paper);
}

.path-link {
  min-width: 0;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  border-right: 1px solid var(--line-paper);
  border-bottom: 1px solid var(--line-paper);
  color: var(--text-strong);
  text-decoration: none;
  transition: background-color 140ms ease, color 140ms ease;
}

.path-link:first-child {
  border-left: 1px solid var(--line-paper);
}

.path-link:hover {
  background: var(--brass-050);
  color: var(--text-strong);
}

.path-link__index {
  color: var(--rust-600);
  font-family: var(--font-display);
  font-size: 0.82rem;
}

.path-link strong {
  margin-top: auto;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.path-link p {
  margin: 7px 0 0;
  color: var(--text-dim-paper);
  font-size: 0.8rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.contact-sheet,
.production-grid,
.asset-grid,
.cast-grid,
.credit-grid,
.format-grid,
.showcase-grid,
.pricing-grid {
  display: grid;
  gap: 16px;
}

.contact-sheet {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.catalog-card,
.asset-card,
.cast-card,
.credit-card,
.format-sample,
.showcase-item,
.pricing-plan {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line-paper);
  border-radius: var(--radius-card);
  background: var(--paper-50);
}

.catalog-card,
.credit-card {
  display: flex;
  flex-direction: column;
  color: var(--text-strong);
  text-decoration: none;
  transition: border-color 140ms ease, background-color 140ms ease;
}

.catalog-card:hover,
.credit-card:hover,
.actor-card:hover,
.cover-actor-card:hover {
  border-color: var(--brass-400);
  background: var(--paper-100);
  color: var(--page-strong);
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

html[data-theme="dark"] .catalog-card,
html[data-theme="dark"] .credit-card,
html[data-theme="dark"] .actor-card,
html[data-theme="dark"] .cover-actor-card {
  border-color: rgba(255, 255, 255, 0.1);
  background: linear-gradient(175deg, rgba(28, 30, 26, 0.9), rgba(16, 17, 14, 0.98));
  color: #f7f4ec;
}

html[data-theme="dark"] .catalog-card:hover,
html[data-theme="dark"] .credit-card:hover,
html[data-theme="dark"] .actor-card:hover,
html[data-theme="dark"] .cover-actor-card:hover {
  border-color: var(--brass-400);
  background: linear-gradient(175deg, rgba(42, 45, 38, 0.95), rgba(24, 26, 22, 0.98));
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 20px rgba(207, 179, 110, 0.12);
}

html[data-theme="dark"] .catalog-card:hover .catalog-card__title,
html[data-theme="dark"] .actor-card:hover .catalog-card__title,
html[data-theme="dark"] .cover-actor-card:hover h3 {
  color: var(--brass-300);
}

.catalog-card__body,
.asset-card__body,
.cast-card__copy,
.credit-card__copy,
.portrayal-card__copy,
.showcase-item__copy {
  min-width: 0;
  padding: 14px;
}

.catalog-card__meta {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0 0 7px;
  color: var(--rust-600);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.35;
}

.section--ink .catalog-card__meta {
  color: #d9bb7c;
}

.catalog-card__title,
.asset-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.12rem;
  line-height: 1.25;
}

.catalog-card__copy {
  margin: 8px 0 0;
  color: var(--text-dim-paper);
  font-size: 0.78rem;
  line-height: 1.55;
}

.section--ink .catalog-card__copy {
  color: var(--text-dim-dark);
}

.catalog-card .tags {
  margin-top: 12px;
}

.section--ink .tag {
  border-color: var(--line-dark);
  color: var(--text-dim-dark);
}

.production-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.guide-teaser {
  padding: 54px 0;
  background: #d8c28f;
  color: var(--ink-950);
  border-top: 1px solid #bea66d;
  border-bottom: 1px solid #bea66d;
}

.guide-teaser__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.8fr);
  gap: 60px;
  align-items: end;
}

.guide-teaser .eyebrow {
  color: var(--rust-600);
}

.guide-teaser .page-deck {
  color: #4e483d;
}

.guide-teaser__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.usage-list {
  border-top: 1px solid #9d895d;
}

.usage-list > div {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #aa976a;
  font-size: 0.78rem;
}

.usage-list dt {
  color: #655a45;
}

.usage-list dd {
  font-weight: 700;
}

/* Monthly free collection */

.free-drop-band {
  padding: 58px 0;
  background: var(--copper-bg);
  color: var(--copper-text);
  border-top: 1px solid var(--copper-line);
  border-bottom: 1px solid var(--copper-line);
}

.free-drop-band__head {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.7fr);
  gap: 48px;
  align-items: end;
}

.free-drop-band__action {
  min-width: 0;
  padding-left: 24px;
  border-left: 3px solid var(--brass-600);
}

.free-drop-band__action .button {
  width: 100%;
  margin-top: 14px;
}

.free-drop-sheet {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.free-drop-sheet__item {
  min-width: 0;
  color: var(--copper-text);
  text-decoration: none;
}

.free-drop-sheet__item:hover {
  color: var(--copper-accent);
}

.free-drop-sheet__item span {
  display: block;
  padding: 7px 2px 0;
  font-size: 0.72rem;
  font-weight: 700;
}

/* Forward editorial calendar: planned rows stay discoverable without becoming claims. */

.free-drop-calendar {
  padding: 58px 0 64px;
  background: var(--band-bg);
  border-bottom: 1px solid var(--band-line);
}

.free-drop-calendar__intro {
  max-width: 760px;
}

.free-drop-calendar__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.free-drop-calendar__item {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line-paper);
  background: var(--paper-50);
}

.free-drop-calendar__item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.free-drop-calendar__item h3 {
  margin: 16px 0 8px;
  font-size: 1.15rem;
  line-height: 1.3;
}

.free-drop-calendar__assets {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin-top: 18px;
}

.free-drop-calendar__asset {
  min-width: 0;
  color: var(--text-strong);
  text-decoration: none;
}

.free-drop-calendar__asset:hover {
  color: var(--rust-600);
}

.free-drop-calendar__asset span {
  display: block;
  padding-top: 5px;
  overflow: hidden;
  font-size: 0.64rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.free-drop-calendar__bridge {
  display: grid;
  gap: 5px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line-paper);
}

/* 世界动态 · 娱乐圈沙盒（排班表 + 官方动态流） */
.world-live {
  padding: 58px 0 64px;
  background: var(--band-bg);
  border-bottom: 1px solid var(--band-line);
}

.world-live__intro {
  max-width: 760px;
}

.world-live__timeline {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-paper);
}

.world-live__item {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-paper);
}

.world-live__date {
  min-width: 40px;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
}

.world-live__body {
  min-width: 0;
  flex: 1;
}

.world-live__body h3 {
  margin: 0 0 4px;
  font-size: 1.02rem;
  line-height: 1.35;
}

.world-live__body p {
  margin: 0;
}

.world-live__next {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line-paper);
  color: var(--text-muted);
}

.world-live__next-item {
  margin: 4px 0;
  font-size: 0.9rem;
}

.free-drop-calendar__closed {
  margin: 14px 0 0;
  color: var(--band-dim);
  font-size: 0.72rem;
}

/* Production starter packs */

.production-pack-intro {
  padding: 20px 0;
  background: var(--copper-bg);
  border-top: 1px solid var(--copper-line);
  border-bottom: 1px solid var(--copper-line);
}

.production-pack-intro__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.production-pack-intro__inner p {
  margin: 0;
  color: var(--copper-dim);
  font-size: 0.82rem;
}

.pack-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 18px;
}

.pack-jump__link {
  padding: 7px 14px;
  border: 1px solid var(--brass-600);
  border-radius: 999px;
  background: transparent;
  color: var(--brass-600);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 140ms ease, color 140ms ease;
}

.pack-jump__link:hover {
  background: var(--brass-600);
  color: var(--text-on-dark);
}

#packs-candidate,
#packs-current,
#packs-history {
  scroll-margin-top: 96px;
}

.production-pack-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.production-pack-grid--candidate {
  grid-template-columns: 1fr;
}

.section-copy + .production-pack-grid {
  margin-top: 22px;
}

.production-pack-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line-paper);
  border-radius: var(--radius-card);
  background: var(--paper-50);
}

.production-pack-card--candidate {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
}

.production-pack-card__preview {
  display: block;
  color: inherit;
  text-decoration: none;
}

.production-candidate-status {
  min-height: 100%;
  display: grid;
  align-content: center;
  padding: 28px;
  background: var(--ink-900);
  color: var(--text-on-dark);
}

.production-candidate-status__kicker {
  margin: 0 0 10px;
  color: var(--brass-300);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.production-candidate-status__count {
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 1;
}

.production-candidate-status__summary {
  margin: 12px 0 22px;
  color: var(--text-dim-dark);
  font-size: 0.8rem;
}

.production-candidate-status__ledger {
  display: grid;
  margin: 0;
  border-top: 1px solid var(--line-dark);
}

.production-candidate-status__ledger > div {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(90px, 0.7fr) minmax(0, 1.3fr);
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line-dark);
}

.production-candidate-status__ledger dt,
.production-candidate-status__ledger dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 0.74rem;
}

.production-candidate-status__ledger dt {
  color: var(--text-dim-dark);
}

.production-candidate-status__ledger dd {
  color: var(--text-on-dark);
  font-weight: 700;
}

.production-candidate-status--detail {
  min-height: 430px;
}

.production-pack-card__preview .asset-image {
  aspect-ratio: 4 / 3;
  border-radius: 0;
}

.persona-resource-card {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
}
.persona-resource-card .production-pack-card__preview {
  width: 140px;
  height: 100%;
}
.persona-resource-card .production-pack-card__preview .asset-image {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
}
.persona-resource-card .production-pack-card__preview .asset-image__media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.production-pack-preview--pixel .asset-image__media {
  object-fit: contain;
  object-position: center;
  background: var(--ink-950);
}

.production-pack-card__preview:hover .production-pack-preview--pixel .asset-image__media {
  transform: none;
}

.production-pack-card__body {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.production-pack-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.production-pack-card__title {
  color: var(--text-strong);
  font-family: var(--font-display);
  font-size: 1.34rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}

.production-pack-card__title:hover {
  color: var(--rust-600);
}

.production-pack-card__copy {
  margin: 10px 0 0;
  color: var(--text-dim-paper);
  font-size: 0.84rem;
}

.production-pack-card__candidate-note {
  margin: 0 0 18px;
  padding: 10px 12px;
  border-left: 3px solid var(--brass-600);
  background: var(--brass-050);
  color: var(--ink-700);
  font-size: 0.78rem;
}

.production-pack-card__includes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px 20px;
  margin: 16px 0 20px;
  padding-left: 1.1rem;
  color: var(--ink-700);
  font-size: 0.76rem;
}

.production-pack-guides {
  margin-top: 2px;
  padding-top: 14px;
  border-top: 1px solid var(--line-paper);
}

.production-pack-guides__label {
  margin: 0 0 7px;
  color: var(--text-dim-paper);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.production-pack-guides__list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 1rem;
  color: var(--ink-700);
  font-size: 0.76rem;
}

.production-pack-guides__list .text-link {
  font-weight: 700;
}

.production-pack-guides__list .microcopy {
  margin: 3px 0 0;
}

.production-pack-guides__more {
  color: var(--text-dim-paper);
  font-size: 0.7rem;
}

.production-pack-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.production-pack-actions--compact {
  margin-top: auto;
}

.production-pack-actions .button {
  min-width: 0;
}

.legacy-resource-details {
  border-top: 1px solid var(--line-paper);
  border-bottom: 1px solid var(--line-paper);
}

.legacy-resource-details > summary {
  padding: 18px 0;
  color: var(--text-strong);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
}

.legacy-resource-details > .production-pack-grid {
  margin: 20px 0 32px;
}

.production-pack-detail {
  display: grid;
  grid-template-columns: minmax(260px, 430px) minmax(0, 1fr);
  gap: 54px;
  align-items: center;
  padding-top: 50px;
  padding-bottom: 50px;
}

.production-pack-detail__preview {
  width: 100%;
  max-height: 720px;
}

.production-pack-detail__copy {
  min-width: 0;
}

.persona-resource-detail {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 54px;
  align-items: start;
  padding-top: 50px;
  padding-bottom: 50px;
}

.persona-resource-detail__visual {
  width: 100%;
  max-height: 680px;
}

.persona-resource-detail__copy {
  min-width: 0;
}

.persona-resource-detail__copy .fact-strip {
  margin-top: 26px;
}

.persona-resource-status {
  border-top: 1px solid var(--copper-line);
  border-bottom: 1px solid var(--copper-line);
  background: var(--copper-bg);
}

.persona-resource-status__inner {
  padding-top: 28px;
  padding-bottom: 30px;
}

.persona-resource-status__inner > p:not(.eyebrow) {
  max-width: 72ch;
  color: var(--copper-dim);
}

.persona-resource-status .eyebrow {
  color: var(--copper-accent);
}

.persona-resource-detail-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 54px;
}

.persona-resource-detail__section {
  min-width: 0;
}

.persona-resource-detail__source {
  padding-top: 18px;
  border-top: 3px solid var(--rust-500);
}

.persona-resource-files {
  margin-top: 22px;
  border-top: 1px solid var(--line-paper);
}

.persona-resource-file {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(130px, 0.7fr) minmax(0, 1.3fr) auto;
  gap: 18px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-paper);
}

.persona-resource-file__head {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.persona-resource-file__head strong,
.persona-resource-file__facts dd {
  overflow-wrap: anywhere;
}

.persona-resource-file__facts {
  min-width: 0;
  margin: 0;
}

.persona-resource-file__facts > div {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 10px;
  padding: 4px 0;
  font-size: 0.72rem;
}

.persona-resource-file__facts dt {
  color: var(--text-dim-paper);
}

.persona-resource-file__facts dd {
  margin: 0;
  font-weight: 700;
}

.persona-resource-file__action {
  justify-self: end;
  white-space: nowrap;
}

.persona-resource-related {
  padding-top: 40px;
  padding-bottom: 58px;
}

.persona-resource-visual-index {
  border-top: 1px solid var(--band-line);
  border-bottom: 1px solid var(--band-line);
  background: var(--band-bg);
  padding-top: 42px;
  padding-bottom: 46px;
}

.persona-resource-visual-index__facts {
  margin-top: 22px;
  margin-bottom: 30px;
}

.persona-resource-visual-index__groups {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.persona-resource-visual-index__group {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line-paper);
  background: var(--paper-50);
}

.persona-resource-visual-index__group h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.persona-resource-visual-index__purpose {
  min-height: 4.6em;
  margin: 8px 0 0;
  color: var(--text-dim-paper);
  font-size: 0.78rem;
  line-height: 1.6;
}

.persona-resource-visual-index__assets {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  overflow-wrap: anywhere;
}

.persona-resource-visual-index__actions {
  margin-top: 24px;
}

.production-pack-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 54px;
}

.production-pack-list,
.production-pack-boundary {
  min-width: 0;
}

.production-pack-boundary {
  padding-top: 18px;
  border-top: 3px solid var(--rust-500);
}

.production-pack-boundary > p:not(.eyebrow) {
  color: var(--text-dim-paper);
}

.production-pack-source {
  margin: 24px 0 18px;
  border-top: 1px solid var(--line-paper);
}

.production-pack-source > div {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-paper);
  font-size: 0.78rem;
}

.production-pack-source dt {
  color: var(--text-dim-paper);
}

.production-pack-source dd {
  min-width: 0;
  overflow-wrap: anywhere;
  font-weight: 700;
}

.production-pack-consumption {
  border-top: 1px solid var(--line-paper);
}

.production-pack-consumption__overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 24px 0 0;
  border-top: 1px solid var(--band-line);
  border-bottom: 1px solid var(--band-line);
}

.production-pack-consumption__overview > div {
  min-width: 0;
  padding: 14px 18px;
  border-right: 1px solid var(--band-line);
}

.production-pack-consumption__overview > div:last-child {
  border-right: 0;
}

.production-pack-consumption__overview dt,
.production-pack-consumption__overview dd,
.production-pack-consumption__facts dt,
.production-pack-consumption__facts dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.production-pack-consumption__overview dt,
.production-pack-consumption__facts dt {
  color: var(--text-dim-paper);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.production-pack-consumption__overview dt {
  color: var(--band-dim);
}

.production-pack-consumption__overview dd {
  margin-top: 7px;
  color: var(--band-text);
  font-size: 0.8rem;
  font-weight: 700;
}

.production-pack-consumption__profiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.production-pack-consumption__profile {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line-paper);
  border-radius: var(--radius-card);
  background: var(--paper-50);
}

.production-pack-consumption__profile h3 {
  margin: 0;
  color: var(--text-strong);
  font-size: 1rem;
  line-height: 1.35;
}

.production-pack-consumption__profile > .microcopy {
  margin: 5px 0 12px;
}

.production-pack-consumption__facts {
  margin: 0;
  border-top: 1px solid var(--line-paper);
}

.production-pack-consumption__facts > div {
  display: grid;
  grid-template-columns: minmax(82px, 0.5fr) minmax(0, 1.5fr);
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line-paper);
}

.production-pack-consumption__facts dd {
  color: var(--ink-800);
  font-size: 0.76rem;
  font-weight: 700;
}

.production-pack-consumption__signals {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--line-paper);
}

.persona-resource-consumption {
  border-top: 1px solid var(--line-paper);
}

.persona-resource-consumption__profile {
  border-left: 3px solid var(--line-paper);
}

.persona-resource-consumption__profile--verified {
  border-left-color: var(--brass-600);
}

.persona-resource-consumption__profile--pending {
  border-left-color: var(--rust-500);
}

.persona-resource-consumption__note,
.persona-resource-consumption__roles {
  margin: 12px 0 0;
  overflow-wrap: anywhere;
}

.persona-resource-reuse {
  border-top: 1px solid var(--line-paper);
}

.persona-resource-reuse__overview {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.persona-resource-reuse__flow {
  margin-top: 24px;
}

.persona-resource-reuse__flow .guide-step {
  border-top-color: var(--brass-600);
}

.persona-resource-reuse__formats {
  margin-top: 24px;
}

.persona-resource-reuse__format {
  border-left: 3px solid var(--brass-600);
}

.persona-resource-reuse__boundaries {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line-paper);
}

.persona-resource-reuse__readback {
  margin-top: 28px;
}

.persona-resource-reuse__visual-note {
  margin: 18px 0 0;
  overflow-wrap: anywhere;
}

.production-pack-agent-paths {
  border-top: 1px solid var(--line-paper);
  border-bottom: 1px solid var(--line-paper);
  background: var(--brass-050);
}

.production-pack-agent-paths__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.production-pack-agent-path {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line-paper);
  border-left: 4px solid var(--rust-500);
  border-radius: var(--radius-card);
  background: var(--paper-50);
}

.production-pack-agent-path__status {
  margin: 0 0 9px;
  color: var(--rust-600);
  font-size: 0.68rem;
  font-weight: 800;
}

.production-pack-agent-path h3 {
  margin: 0;
  color: var(--text-strong);
  font-family: var(--font-display);
  font-size: 1.08rem;
  line-height: 1.35;
}

.production-pack-agent-path > p:not(.production-pack-agent-path__status) {
  margin: 9px 0 0;
  color: var(--text-dim-paper);
  font-size: 0.78rem;
  line-height: 1.65;
}

.production-pack-agent-path__facts {
  margin: 16px 0;
  border-top: 1px solid var(--line-paper);
}

.production-pack-agent-path__facts > div {
  display: grid;
  grid-template-columns: minmax(82px, 0.55fr) minmax(0, 1.45fr);
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line-paper);
}

.production-pack-agent-path__facts dt,
.production-pack-agent-path__facts dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 0.72rem;
}

.production-pack-agent-path__facts dt {
  color: var(--text-dim-paper);
}

.production-pack-agent-path__facts dd {
  color: var(--ink-800);
  font-weight: 700;
}

/* Production paths: the editorial bridge between governed candidates and real work. */

.production-paths-intro {
  padding: 18px 0;
  background: var(--copper-bg);
  border-top: 1px solid var(--copper-line);
  border-bottom: 1px solid var(--copper-line);
}

.production-paths-intro__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
}

.production-paths-intro__inner p {
  margin: 0;
  color: var(--copper-dim);
  font-size: 0.82rem;
}

.production-path-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.production-path-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-paper);
  border-radius: var(--radius-card);
  background: var(--paper-50);
}

.production-path-card__head {
  position: relative;
  min-width: 0;
  padding: 22px 22px 20px;
  background: var(--ink-900);
  color: var(--text-on-dark);
  border-radius: var(--radius-card) var(--radius-card) 0 0;
}

.production-path-card__head .eyebrow {
  max-width: calc(100% - 42px);
  color: var(--brass-300);
}

.production-path-card__index {
  position: absolute;
  top: 22px;
  right: 22px;
  color: var(--text-dim-dark);
  font-family: var(--font-display);
  font-size: 0.85rem;
}

.production-path-card__title {
  margin: 12px 0 0;
  color: var(--text-on-dark);
  font-family: var(--font-display);
  font-size: 1.38rem;
  line-height: 1.3;
}

.production-path-card__summary {
  margin: 10px 0 0;
  color: var(--text-dim-dark);
  font-size: 0.8rem;
  line-height: 1.65;
}

.production-path-card__media {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 16px;
}

.production-path-card__section {
  min-width: 0;
  padding: 18px 22px 0;
}

.production-path-card__section + .production-path-card__section {
  margin-top: 18px;
  border-top: 1px solid var(--line-paper);
}

.production-path-card__section h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1rem;
}

.production-path-card__label {
  margin: 5px 0 10px;
  color: var(--text-dim-paper);
  font-size: 0.68rem;
}

.production-path-card__products,
.production-path-card__identity,
.production-path-card__artifacts {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ink-700);
  font-size: 0.76rem;
}

.production-path-card__products li,
.production-path-card__identity li,
.production-path-card__artifacts li {
  min-width: 0;
  overflow-wrap: anywhere;
}

.production-path-card__products .text-link {
  font-weight: 700;
}

.production-path-card__products .microcopy,
.production-path-card__identity .microcopy {
  display: block;
  margin-top: 3px;
}

.production-path-card__signals {
  display: block;
  margin-top: 4px;
  color: var(--rust-600);
  font-size: 0.68rem;
}

.production-path-card__consumers {
  margin: 0;
  border-top: 1px solid var(--line-paper);
}

.production-path-card__consumers > div {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line-paper);
}

.production-path-card__consumers dt,
.production-path-card__consumers dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 0.73rem;
}

.production-path-card__consumers dt {
  color: var(--text-dim-paper);
}

.production-path-card__consumers dd {
  text-align: right;
}

.production-path-card__consumers .microcopy {
  grid-column: 1 / -1;
  margin: 0;
}

.production-path-card__brief {
  background: var(--brass-050);
}

.production-path-card__brief-title {
  margin: 0 0 4px;
  color: var(--ink-900);
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.35;
}

.production-path-card__brief-facts {
  margin: 12px 0 0;
  border-top: 1px solid var(--line-paper);
}

.production-path-card__brief-facts > div {
  display: grid;
  grid-template-columns: minmax(70px, 0.65fr) minmax(0, 1.35fr);
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line-paper);
}

.production-path-card__brief-facts dt,
.production-path-card__brief-facts dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 0.72rem;
  line-height: 1.5;
}

.production-path-card__brief-facts dt {
  color: var(--text-dim-paper);
}

.production-path-card__brief-facts dd {
  color: var(--ink-800);
  font-weight: 700;
}

.production-path-card__brief-pixel {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line-paper);
}

.production-path-card__brief-list {
  display: grid;
  gap: 5px;
  margin: 8px 0 0;
  padding-left: 1.1rem;
  color: var(--ink-700);
  font-size: 0.72rem;
}

.production-path-card__brief-warnings {
  margin-top: 12px;
  color: var(--rust-600);
}

.production-path-card__boundary {
  min-width: 0;
  display: grid;
  gap: 10px;
  margin-top: 20px;
  padding: 18px 22px 22px;
  border-top: 3px solid var(--rust-500);
  background: #f1e4de;
  border-radius: 0 0 var(--radius-card) var(--radius-card);
}

.production-path-card__boundary p {
  margin: 0;
  color: #5d443b;
  font-size: 0.73rem;
  line-height: 1.55;
}

/* Directory filters */

.filter-bar {
  width: min(calc(100% - (var(--page-gutter) * 2)), var(--content-max));
  margin: 30px auto;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 12px;
  padding: 18px 0;
  border-top: 1px solid var(--line-paper);
  border-bottom: 1px solid var(--line-paper);
}

.content-width > .filter-bar {
  width: 100%;
}

.filter-field {
  min-width: 0;
  grid-column: span 3;
  display: grid;
  align-content: start;
  gap: 6px;
}

.filter-field:first-child,
.filter-field--wide {
  grid-column: span 6;
}

.filter-bar--catalog .filter-field:first-child {
  grid-column: span 3;
}

.filter-field > span {
  color: var(--text-dim-paper);
  font-size: 0.7rem;
  font-weight: 700;
}

.result-count {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--text-dim-paper);
  font-size: 0.78rem;
}

.filter-bar + .contact-sheet,
.filter-bar + .production-grid,
.filter-bar + .portrayal-grid {
  width: min(calc(100% - (var(--page-gutter) * 2)), var(--content-max));
  margin: 0 auto 64px;
}

.contact-sheet--directory {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Actor and production details */

.detail-mast {
  display: grid;
  grid-template-columns: minmax(280px, 410px) minmax(0, 1fr);
  gap: 54px;
  align-items: center;
  padding-top: 50px;
  padding-bottom: 50px;
}

.detail-mast__copy,
.production-mast__copy {
  min-width: 0;
}

.detail-title {
  font-size: 3.1rem;
  line-height: 1.1;
}

.detail-lead {
  max-width: 60ch;
  margin: 16px 0 0;
  font-family: var(--font-display);
  font-size: 1.18rem;
  line-height: 1.65;
}

.detail-copy {
  max-width: 72ch;
  margin: 14px 0 0;
  color: var(--text-dim-paper);
}

.detail-mast .tags,
.production-mast .tags {
  margin-top: 20px;
}

.casting-handoff-card {
  margin: 24px 0 34px;
  padding: clamp(22px, 3.2vw, 34px);
  overflow: hidden;
  border: 1px solid var(--copper-line);
  border-left: 5px solid var(--copper-accent);
  border-radius: var(--radius-card);
  background: var(--copper-bg);
  color: var(--copper-text);
  box-shadow: 0 18px 40px rgba(24, 25, 22, 0.08);
}

.casting-handoff-card__head {
  max-width: 78ch;
}

.casting-handoff-card__title {
  margin: 7px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  line-height: 1.2;
}

.casting-handoff-card__lead {
  margin: 12px 0 0;
  color: var(--copper-dim);
  line-height: 1.75;
}

.casting-handoff-card__stages {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.casting-handoff-stage {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--copper-line);
  background: var(--paper-50);
  color: var(--text-on-paper);
}

.casting-handoff-stage__period {
  margin: 0 0 10px;
  color: var(--text-dim-paper);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.casting-handoff-stage__actor {
  color: var(--page-link);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.25;
}

.casting-handoff-stage__credit {
  margin: 8px 0 0;
  font-weight: 700;
}

.casting-handoff-stage__note {
  margin: 10px 0 0;
  color: var(--text-dim-paper);
  font-size: 0.88rem;
  line-height: 1.7;
}

.casting-handoff-card__boundary {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--copper-line);
}

.casting-handoff-card__principle {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.03rem;
  font-weight: 700;
  line-height: 1.65;
}

.casting-handoff-visual-flow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
}

.casting-handoff-visual-flow__step {
  min-width: 0;
  padding: 9px 12px;
  border: 1px solid var(--copper-line);
  border-radius: 999px;
  background: var(--paper-50);
  color: var(--text-on-paper);
  font-size: 0.76rem;
  font-weight: 800;
}

.casting-handoff-visual-flow__step--planned {
  border-style: dashed;
}

.casting-handoff-visual-flow__arrow {
  flex: 0 0 auto;
  color: var(--copper-accent);
  font-size: 1.1rem;
  font-weight: 900;
}

.casting-handoff-card__boundary-note {
  margin: 12px 0 0;
  color: var(--copper-dim);
  font-size: 0.82rem;
  line-height: 1.65;
}

.fact-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 28px;
  border-top: 1px solid var(--line-paper);
  border-bottom: 1px solid var(--line-paper);
}

.fact-strip > div {
  min-width: 0;
  padding: 13px 10px;
  border-right: 1px solid var(--line-paper);
}

.fact-strip > div:last-child {
  border-right: 0;
}

.fact-strip dt {
  color: var(--text-dim-paper);
  font-size: 0.67rem;
}

.fact-strip dd {
  min-width: 0;
  margin-top: 3px;
  font-family: var(--font-display);
  font-weight: 700;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.detail-workspace {
  padding-bottom: 72px;
}

.tabs {
  display: flex;
  align-items: stretch;
  gap: 2px;
  overflow-x: auto;
  border-top: 1px solid var(--line-paper);
  border-bottom: 1px solid var(--line-paper);
  scrollbar-width: thin;
  /* 横向滚动边缘阴影：local 遮罩层随内容滚动盖住 scroll 阴影层，到边缘自动隐藏 */
  background:
    linear-gradient(to right, var(--page-bg) 35%, rgba(247, 245, 239, 0)) left center / 36px 100% no-repeat local,
    linear-gradient(to left, var(--page-bg) 35%, rgba(247, 245, 239, 0)) right center / 36px 100% no-repeat local,
    linear-gradient(to right, var(--tabs-edge-shadow), rgba(32, 33, 30, 0)) left center / 14px 100% no-repeat scroll,
    linear-gradient(to left, var(--tabs-edge-shadow), rgba(32, 33, 30, 0)) right center / 14px 100% no-repeat scroll;
}

.tab-button {
  flex: 0 0 auto;
  min-height: 48px;
  padding: 10px 16px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--text-dim-paper);
  font-weight: 700;
}

.tab-button:hover {
  background: var(--paper-100);
  color: var(--text-strong);
}

.tab-button[aria-selected="true"] {
  border-bottom-color: var(--rust-500);
  color: var(--text-strong);
}

.tab-panel {
  padding-top: 34px;
}

.editorial-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
}

.editorial-columns--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.prose-panel {
  min-width: 0;
  padding-top: 18px;
  border-top: 3px solid var(--brass-500);
}

.prose-panel--accent {
  border-top-color: var(--rust-500);
}

.prose-panel h2,
.prose-panel h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
}

.prose-panel p {
  margin: 10px 0 0;
  color: var(--text-dim-paper);
}

.anchor-list,
.plain-list,
.check-list,
.number-list {
  padding-left: 1.2rem;
}

.anchor-list,
.plain-list,
.number-list {
  margin-bottom: 0;
}

.anchor-list li,
.plain-list li,
.number-list li {
  padding: 5px 0;
}

/* 演员人格层 tab */

.persona-intro {
  grid-column: 1 / -1;
}

.persona-intro h2 {
  margin-top: 6px;
}

.persona-reaction {
  display: grid;
  gap: 4px;
  justify-items: start;
}

.persona-reaction p {
  margin: 0;
}

.persona-colleague-list .text-link {
  font-weight: 700;
}

.profile-dl {
  margin: 12px 0 0;
}

.profile-dl dt {
  font-family: "IBM Plex Mono", "Cascadia Mono", Consolas, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass-500);
  margin-top: 12px;
}

.profile-dl dt:first-child {
  margin-top: 0;
}

.profile-dl dd {
  margin: 4px 0 0;
  color: var(--text-dim-paper);
}

.profile-note {
  font-size: 0.85rem;
  opacity: 0.78;
}

.profile-lanes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.profile-role {
  margin-top: 10px;
  padding-left: 10px;
  border-left: 2px solid var(--brass-500);
}

.profile-role strong {
  font-family: var(--font-display);
}

.profile-role span {
  display: block;
  font-size: 0.85rem;
  color: var(--text-dim-paper);
}

.casting-guide {
  margin: 26px auto 0;
  border: 1px solid var(--line-paper);
  background: var(--paper-100);
}

.casting-guide summary {
  cursor: pointer;
  padding: 14px 18px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  list-style: none;
}

.casting-guide summary::before {
  content: "▸";
  margin-right: 10px;
  color: var(--brass-500);
}

.casting-guide[open] summary::before {
  content: "▾";
}

.casting-guide__body {
  padding: 0 18px 18px;
}

.casting-guide__intro {
  max-width: 70ch;
  color: var(--text-dim-paper);
}

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

.credit-card__copy h3,
.cast-card__copy h3,
.portrayal-card__copy h2,
.showcase-item__copy h3 {
  margin: 0;
  font-family: var(--font-display);
  line-height: 1.28;
}

.credit-card__copy p,
.cast-card__copy p,
.portrayal-card__copy p,
.showcase-item__copy p {
  margin: 8px 0 0;
  color: var(--text-dim-paper);
  font-size: 0.8rem;
  line-height: 1.55;
}

.credit-card__copy .credit-card__boundary {
  padding-left: 9px;
  border-left: 2px solid var(--rust-500);
  color: var(--rust-500);
  font-size: 0.76rem;
  font-weight: 700;
}

.asset-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.visual-index-intro {
  margin-bottom: 24px;
}

.visual-index-facts {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 36px;
}

.visual-index-set {
  padding: 24px 0 30px;
  border-top: 1px solid var(--line-paper);
}

.visual-index-set h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
}

.visual-index-set__purpose {
  max-width: 70ch;
  margin: 8px 0 0;
  color: var(--text-dim-paper);
}

.visual-index-set .microcopy {
  max-width: 80ch;
  margin-top: 10px;
}

.visual-index-set__gallery {
  margin-top: 18px;
}

.actor-standard-intro {
  margin-bottom: 24px;
}

.actor-standard-facts {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 30px;
}

.actor-standard-visual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.actor-standard-visual-card {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line-paper);
  border-radius: var(--radius-card);
  background: var(--paper-50);
}

.actor-standard-visual {
  background: var(--paper-100);
}

.actor-standard-visual .asset-image__media {
  object-fit: contain;
  object-position: center;
}

.actor-standard-visual-card__copy {
  padding: 14px 2px 2px;
}

.actor-standard-visual-card__copy h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.08rem;
}

.actor-standard-visual-card__copy p {
  margin: 7px 0 0;
  color: var(--text-dim-paper);
  font-size: 0.82rem;
  line-height: 1.55;
}

.actor-standard-expansion-intro {
  margin-bottom: 24px;
}

.actor-standard-expansion-facts {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 30px;
}

.actor-standard-expansion-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.actor-standard-expansion-card {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line-paper);
  border-radius: var(--radius-card);
  background: var(--paper-50);
}

.actor-standard-expansion-image {
  background: var(--paper-100);
}

.actor-standard-expansion-image .asset-image__media {
  object-fit: contain;
  object-position: center;
}

.actor-standard-expansion-card__copy {
  padding: 12px 2px 2px;
}

.actor-standard-expansion-card__copy h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.04rem;
}

.actor-standard-expansion-card__copy p {
  margin: 7px 0 0;
  color: var(--text-dim-paper);
  font-size: 0.82rem;
  line-height: 1.55;
}

.actor-extension-intro {
  margin-bottom: 24px;
}

.actor-extension-facts {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 30px;
}

.extension-section {
  padding: 26px 0 32px;
  border-top: 1px solid var(--line-paper);
}

.extension-section__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.extension-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

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

.extension-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line-paper);
  border-radius: var(--radius-card);
  background: var(--paper-50);
}

.extension-card--pixel {
  display: grid;
  grid-template-columns: minmax(150px, 0.72fr) minmax(0, 1fr);
  align-items: stretch;
}

.extension-card__image {
  min-height: 210px;
  background: var(--paper-100);
}

.extension-card__image .asset-image__media {
  object-fit: contain;
}

.extension-card__image--pixel .asset-image__media {
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  padding: 18px;
  object-fit: contain;
}

.extension-card__copy {
  padding: 16px;
}

.extension-card__copy h4 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.02rem;
}

.extension-card__copy p {
  margin: 8px 0 0;
  color: var(--text-dim-paper);
  font-size: 0.82rem;
  line-height: 1.55;
}

.extension-support {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.extension-support__image {
  min-height: 58px;
  border: 1px solid var(--line-paper);
  background: var(--paper-100);
}

.extension-support__image .asset-image__media {
  image-rendering: pixelated;
  object-fit: contain;
}

.extension-card__warning {
  color: var(--brass-strong, var(--page-strong)) !important;
  border-left: 2px solid var(--brass, #b28b4b);
  padding-left: 9px;
}

.extension-card__placeholder {
  display: grid;
  min-height: 220px;
  place-content: center;
  gap: 8px;
  padding: 18px;
  background: repeating-linear-gradient(135deg, var(--paper-100), var(--paper-100) 8px, var(--paper-200) 8px, var(--paper-200) 9px);
  color: var(--text-dim-paper);
  text-align: center;
}

.extension-card__placeholder strong {
  color: var(--page-strong);
}

.extension-card__placeholder--era {
  min-height: 180px;
  text-align: left;
  place-content: start;
}

.limited-era-pack-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.limited-era-pack-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line-paper);
  border-radius: var(--radius-card);
  background: var(--paper-50);
}

.limited-era-pack-card h4 {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.limited-era-pack-card p {
  margin: 8px 0 0;
  color: var(--text-dim-paper);
  font-size: 0.82rem;
  line-height: 1.55;
}

.limited-era-pack-card__contents {
  margin: 8px 0 16px;
  padding-left: 18px;
  color: var(--text-dim-paper);
  font-size: 0.78rem;
  line-height: 1.55;
}

@media (max-width: 860px) {
  .actor-extension-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .extension-card-grid,
  .extension-card-grid--pixel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .extension-card--pixel {
    grid-template-columns: 1fr;
  }

  .extension-card__image--pixel {
    min-height: 180px;
  }

  .limited-era-pack-grid {
    grid-template-columns: 1fr;
  }
}

/* Actor World / serialized production layer */

.world-preview-band {
  border-top: 1px solid var(--band-line);
  border-bottom: 1px solid var(--band-line);
  background: var(--band-bg);
}

.world-preview-band__inner,
.world-season-mast {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.72fr);
  gap: 48px;
  align-items: end;
}

.world-preview-band__inner {
  padding-top: 34px;
  padding-bottom: 34px;
}

.world-preview-band .button {
  margin-top: 18px;
}

.world-preview-band__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--band-line);
  border-bottom: 1px solid var(--band-line);
}

.world-preview-band__facts > div {
  min-width: 0;
  padding: 12px 10px;
  border-right: 1px solid var(--band-line);
}

.world-preview-band__facts > div:last-child {
  border-right: 0;
}

.world-preview-band__facts dt,
.world-season-mast__facts dt {
  font-size: 0.67rem;
}

.world-preview-band__facts dt {
  color: var(--band-dim);
}

.world-season-mast__facts dt {
  color: var(--page-dim);
}

.world-preview-band__facts dd,
.world-season-mast__facts dd {
  margin-top: 4px;
  font-family: var(--font-display);
  font-weight: 700;
}

.world-season-mast {
  padding-top: 52px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--page-line);
  /* 加了主演肖像之后改成「图 | 文」两栏；原来那条 1fr / 0.72fr 是给
     「文 | 事实条」两栏用的，事实条现在并进正文列里。 */
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  align-items: center;
}

.world-season-mast__copy {
  min-width: 0;
}

/* 连载页原来 6800px 高、零张图。主演是库里真有脸的演员，给她一张。 */
.world-season-mast__lead {
  display: block;
  min-width: 0;
  text-decoration: none;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--line-paper);
  transition: border-color 200ms ease;
}

.world-season-mast__lead:hover {
  border-color: var(--brass-400);
}

.world-season-mast__lead-caption {
  display: block;
  padding: 10px 14px 12px;
  color: var(--page-dim);
  font-size: 0.82rem;
}

@media (max-width: 860px) {
  .world-season-mast {
    grid-template-columns: 1fr;
  }

  .world-season-mast__lead {
    max-width: 300px;
  }
}

.world-season-mast__source {
  margin: 18px 0 0;
  color: var(--page-dim);
  font-size: 0.72rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.world-relation-card__source {
  margin: 18px 0 0;
  color: var(--text-dim-paper);
  font-size: 0.72rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.world-season-mast__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid var(--line-paper);
  border-bottom: 1px solid var(--line-paper);
}

.world-season-mast__facts > div {
  min-width: 0;
  padding: 14px 12px;
  border-right: 1px solid var(--line-paper);
  border-bottom: 1px solid var(--line-paper);
}

.world-season-mast__facts > div:nth-child(2n) {
  border-right: 0;
}

.world-season-mast__facts > div:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.world-boundary {
  padding-top: 44px;
  padding-bottom: 52px;
}

.world-relation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.world-relation-card {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--line-paper);
  border-top: 3px solid var(--brass-500);
  background: var(--paper-50);
}

.world-relation-card__head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  min-height: 28px;
}

.world-relation-card h3 {
  margin: 18px 0 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.35;
}

.world-relation-card > p:not(.world-relation-card__source) {
  margin: 10px 0 0;
  color: var(--text-dim-paper);
  line-height: 1.65;
}

.world-relation-grid--actor {
  margin-top: 24px;
}

.section--ink .world-timeline {
  color: var(--text-on-dark);
}

.world-timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 18px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.world-timeline__item {
  min-width: 0;
  padding-left: 18px;
  border-left: 2px solid var(--brass-500);
}

.world-event {
  min-width: 0;
  height: 100%;
  padding: 20px;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.035);
}

.world-event__index {
  margin: 0;
  color: var(--brass-300);
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
}

.world-event h3 {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.world-event__summary {
  margin: 10px 0 0;
  color: var(--text-dim-dark);
  line-height: 1.65;
}

.world-event__facts {
  margin: 18px 0 0;
  border-top: 1px solid var(--line-dark);
}

.world-event__facts > div {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-dark);
}

.world-event__facts dt {
  color: var(--brass-300);
  font-size: 0.7rem;
}

.world-event__facts dd {
  margin: 0;
  color: var(--text-dim-dark);
  font-size: 0.82rem;
  line-height: 1.55;
}

.world-event__source {
  display: block;
  margin-top: 14px;
  color: var(--text-dim-dark);
  font-size: 0.64rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
  white-space: normal;
}

.world-unresolved {
  padding-top: 48px;
  padding-bottom: 72px;
}

.world-unresolved__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-paper);
}

.world-unresolved__list li {
  padding: 13px 0;
  border-bottom: 1px solid var(--line-paper);
  color: var(--text-dim-paper);
}

.world-actor-events {
  margin: 24px 0 0;
  padding-left: 1.25rem;
}

.world-actor-events li {
  padding: 10px 0 10px 6px;
  color: var(--text-dim-paper);
}

.world-actor-events p {
  margin: 6px 0 0;
}

.production-mast {
  padding: 52px 0;
  background: var(--ink-900);
  color: var(--text-on-dark);
}

.production-mast__inner {
  display: grid;
  grid-template-columns: minmax(250px, 360px) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.production-mast .detail-copy,
.production-mast .page-deck {
  color: var(--text-dim-dark);
}

.production-mast .back-link {
  color: #e0c386;
}

.production-mast .eyebrow {
  color: #d9bb7c;
}

.production-mast .tag {
  border-color: var(--line-dark);
  color: var(--text-dim-dark);
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.scene-quote {
  min-width: 0;
  padding: 22px;
  border-left: 4px solid var(--rust-500);
  background: var(--paper-100);
}

.scene-quote p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.08rem;
  line-height: 1.7;
}

.scene-quote cite {
  display: block;
  margin-top: 12px;
  color: var(--text-dim-paper);
  font-size: 0.72rem;
  font-style: normal;
}

/* 角色与演员：原来是"左边一条 153px 宽的窄图 + 右边文字"的横条卡，三列排开。
   可这些是整部戏最好的素材——每个角色一张真剧照，在演员页上它们是大幅海报。
   在剧目自己的页面上反而被压成缩略条，等于把最有戏的东西做小了。
   改成竖版剧照在上、名字与台词在下，四列，让这一段成为整页的一处"停下来看图"。 */
.cast-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.cast-card {
  display: flex;
  flex-direction: column;
  transition: border-color 200ms ease, transform 200ms ease;
}

.cast-card:hover {
  border-color: var(--brass-400);
  transform: translateY(-3px);
}

.cast-card .asset-image {
  aspect-ratio: 2 / 3;
  border-radius: 0;
}

.cast-card__copy {
  display: grid;
  gap: 4px;
  padding: 14px 16px 16px;
}

@media (max-width: 1100px) {
  .cast-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

/* Portrayals and library */

.portrayal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.portrayal-card {
  min-width: 0;
  display: flex;
  flex-direction: row;
  overflow: hidden;
  border: 1px solid var(--line-paper);
  border-radius: var(--radius-card);
  background: var(--paper-50);
}

.portrayal-card > .asset-image {
  flex: 0 0 160px;
  width: 160px;
  min-height: 100%;
  border-radius: 0;
  margin: 0;
}

.portrayal-card > .asset-image .asset-image__media,
.portrayal-card > .asset-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.portrayal-card__copy {
  flex: 1 1 auto;
  min-width: 0;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin-top: 10px;
}

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

.format-sample {
  display: flex;
  flex-direction: column;
  padding: 18px;
}

.format-sample__head {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.format-sample h3 {
  margin: 16px 0 0;
  font-family: var(--font-display);
  font-size: 1.18rem;
}

.format-sample > p {
  margin: 8px 0 0;
  color: var(--text-dim-paper);
  font-size: 0.82rem;
}

.format-sample__facts {
  margin: 18px 0;
  border-top: 1px solid var(--line-paper);
}

.format-sample__facts > div {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line-paper);
  font-size: 0.75rem;
}

.format-sample__facts dt {
  color: var(--text-dim-paper);
}

.format-sample__facts dd {
  font-weight: 700;
}

.format-sample .button,
.format-sample .microcopy {
  margin-top: auto;
}

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

.asset-card {
  display: flex;
  flex-direction: column;
}

.asset-card__owner {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  margin-top: 6px;
  color: var(--rust-600);
  font-size: 0.75rem;
  font-weight: 700;
}

.asset-card__facts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: var(--text-dim-paper);
  font-size: 0.7rem;
}

.load-more {
  min-width: 180px;
  display: flex;
  margin: 26px auto 0;
}

/* Guides and showcase */

.guide-catalog {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.guide-catalog__item {
  min-width: 0;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  padding: 18px;
  border: 1px solid var(--line-paper);
  border-top: 4px solid var(--paper-300);
  border-radius: var(--radius-card);
  background: var(--paper-50);
  color: var(--text-strong);
  text-decoration: none;
}

.guide-catalog__item:hover,
.guide-catalog__item.is-current {
  border-top-color: var(--rust-500);
  color: var(--text-strong);
}

.guide-catalog__item h3 {
  margin: 16px 0 0;
  font-family: var(--font-display);
  font-size: 1.18rem;
}

.guide-catalog__item p {
  margin: 8px 0 18px;
  color: var(--text-dim-paper);
  font-size: 0.8rem;
}

.guide-catalog__item .text-link {
  margin-top: auto;
}

.guide-article__head {
  padding-bottom: 34px;
  border-bottom: 1px solid var(--band-line);
}

.guide-article__head .detail-title {
  font-size: 2.6rem;
}

.guide-article__head .tags {
  margin-top: 20px;
}

.guide-article__cover {
  display: grid;
  min-width: 0;
  margin: 34px 0 0;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: var(--ink-900);
}

.guide-article__cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.8) contrast(1.04);
}

.guide-article__cover.is-unavailable { place-items: center; }
.guide-article__cover-fallback { color: var(--text-dim-dark); }

.guide-sections {
  counter-reset: guide;
}

.guide-step {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  column-gap: 18px;
  padding: 32px 0;
  border-bottom: 1px solid var(--band-line);
}

.guide-step__number {
  grid-row: 1 / span 20;
  color: var(--band-accent);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
}

.guide-step h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.guide-step p {
  margin: 12px 0 0;
  color: var(--band-soft);
}

.check-list {
  padding-left: 0;
  list-style: none;
}

.guide-step .check-list,
.pricing-plan .check-list {
  margin: 18px 0 0;
}

.check-list li {
  position: relative;
  padding: 7px 0 7px 24px;
  border-bottom: 1px solid var(--line-paper);
}

.check-list li::before {
  content: "\2713";
  position: absolute;
  top: 7px;
  left: 0;
  color: var(--brass-600);
  font-weight: 800;
}

/* 色带内的清单分隔线随色带规（卡片内仍走纸面线） */
.section--paper-strong .check-list li {
  border-bottom-color: var(--band-line);
}

.artifact-use {
  padding: 12px 14px;
  border-left: 3px solid var(--brass-500);
  background: var(--paper-100);
  color: var(--text-dim-paper);
  font-size: 0.78rem;
}

.deliverable-band {
  margin-top: 34px;
  padding: 26px;
  border: 1px solid var(--copper-line);
  border-left: 5px solid var(--brass-600);
  border-radius: var(--radius-card);
  background: var(--brass-050);
}

.deliverable-band h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.4rem;
}

.deliverable-band p {
  color: var(--text-dim-paper);
}

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

.showcase-item {
  display: grid;
  grid-template-columns: minmax(220px, 44%) minmax(0, 1fr);
  border-color: var(--line-dark);
  background: var(--ink-800);
  color: var(--text-on-dark);
}

.showcase-item .asset-image {
  height: 100%;
  border-radius: 0;
}

.showcase-item__copy {
  align-self: center;
}

.showcase-item__copy p,
.showcase-item__copy .artifact-use {
  color: var(--text-dim-dark);
}

.showcase-item__copy .artifact-use {
  background: var(--ink-900);
}

.showcase-item__copy .text-link {
  color: #d9bb7c;
}

/* Sync, pricing, account, search */

.release-summary {
  max-width: 780px;
}

.release-summary--live {
  border-left-color: var(--brass-500);
  background: #ffffff;
}

.release-summary .badge {
  margin-bottom: 10px;
}

.sync-live {
  min-height: 180px;
}

.sync-live > .status-message {
  width: 100%;
  min-height: 180px;
}

.sync-class-list {
  margin-top: 18px;
  border-top: 1px solid var(--line-paper);
}

.sync-class-list > div {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line-paper);
}

.sync-class-list dt {
  color: var(--text-dim-paper);
}

.sync-class-list dd {
  font-weight: 700;
}

.notice-band {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding: 12px 16px;
  border: 1px solid #d3b7aa;
  border-left: 4px solid var(--rust-500);
  background: #f1e4de;
}

.notice-band p {
  margin: 0;
  color: #5d443b;
  font-size: 0.82rem;
}

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

.pricing-plan {
  display: flex;
  flex-direction: column;
  min-height: 440px;
  padding: 24px;
  border-top: 5px solid var(--brass-600);
}

.pricing-plan--featured {
  border-top-color: var(--rust-500);
  background: #fffdf7;
}

.pricing-plan h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
}

.pricing-plan > p:not([class]) {
  color: var(--text-dim-paper);
}

.pricing-plan__price {
  margin: 16px 0 0;
  color: var(--text-strong);
  font-family: var(--font-display);
  font-size: 2.35rem;
  font-weight: 700;
  line-height: 1;
}

.pricing-plan__cadence {
  min-height: 26px;
  margin: 8px 0 0;
  color: var(--rust-600);
  font-size: 0.75rem;
  font-weight: 700;
}

.pricing-plan .button {
  width: 100%;
  margin-top: auto;
}

.account-state {
  min-height: 320px;
}

.account-state > .status-message {
  width: 100%;
  min-height: 320px;
}

.account-empty {
  max-width: 720px;
}

.account-empty .button,
.account-empty .text-link {
  margin-top: 18px;
  margin-right: 12px;
}

.account-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.4fr);
  gap: 46px;
  padding-top: 26px;
  border-top: 4px solid var(--brass-500);
}

.account-panel__identity,
.account-panel__library {
  min-width: 0;
}

.account-panel h2 {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
}

.account-facts {
  margin: 22px 0;
  border-top: 1px solid var(--line-paper);
}

.account-facts > div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-paper);
}

.account-facts dt {
  color: var(--text-dim-paper);
  font-size: 0.76rem;
}

.account-facts dd {
  text-align: right;
  font-weight: 700;
}

.collection-list {
  margin: 20px 0;
  border-top: 1px solid var(--line-paper);
}

.collection-row {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-paper);
}

.collection-row span {
  color: var(--text-dim-paper);
  font-size: 0.76rem;
  text-align: right;
}

.search-page {
  padding-top: 34px;
  padding-bottom: 72px;
}

.search-page > .global-search {
  margin-bottom: 28px;
}

.search-page .section-head {
  margin-top: 42px;
}

.contact-sheet--search {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.production-grid,
.production-grid--search {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.asset-grid--search {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.search-rows {
  border-top: 1px solid var(--line-paper);
}

.search-row {
  min-height: 70px;
  display: grid;
  grid-template-columns: minmax(130px, 0.5fr) minmax(130px, 0.5fr) minmax(0, 1.5fr);
  gap: 18px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-paper);
  color: var(--text-strong);
  text-decoration: none;
}

.search-row:hover {
  color: var(--rust-600);
}

.search-row span,
.search-row p {
  margin: 0;
  color: var(--text-dim-paper);
  font-size: 0.78rem;
}

/* Footer */

.site-footer {
  background: var(--ink-950);
  color: var(--text-dim-dark);
  border-top: 1px solid var(--line-dark);
}

.site-footer__inner {
  width: min(calc(100% - (var(--page-gutter) * 2)), var(--content-max));
  min-height: 176px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(300px, 1.2fr) minmax(220px, 0.8fr);
  gap: 36px;
  align-items: center;
  padding-top: 32px;
  padding-bottom: 32px;
}

.site-footer strong {
  color: var(--text-on-dark);
  font-family: var(--font-display);
}

.site-footer p {
  margin: 6px 0 0;
  font-size: 0.78rem;
}

.footer-eco {
  display: grid;
  gap: 4px;
}

.footer-eco a {
  min-height: 36px;
  display: flex;
  align-items: center;
  color: var(--text-dim-dark);
  font-size: 0.75rem;
}

.footer-eco a:hover,
.footer-eco a[aria-current="page"] {
  color: #e0c386;
}

.footer-sections {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  align-items: center;
}

.footer-sections a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  color: var(--text-dim-dark);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.footer-sections a:hover {
  color: #e0c386;
}

.site-footer__note {
  padding-left: 20px;
  border-left: 2px solid var(--rust-500);
}

/* Home · method cards & closing band */

.method-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

/* 七张一模一样的卡按 3 列排，最后一张会孤零零占一行、右边空两格。
   两条一起解决：第一张（第一次来的人真正该点的那张）横过整行做成引导卡，
   剩下六张正好两行；万一将来数量变了又落单，最后那条兜底规则会把它撑满整行。 */
.method-card-grid > .method-card:first-child {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 8px 32px;
  align-items: start;
  padding: 26px 30px;
  background:
    radial-gradient(120% 160% at 0% 0%, rgba(201, 151, 63, 0.16), transparent 62%),
    var(--paper-200);
  border-color: rgba(201, 151, 63, 0.34);
}

.method-card-grid > .method-card:first-child .method-card__idx {
  grid-column: 1;
}

.method-card-grid > .method-card:first-child .method-card__title {
  grid-column: 1;
  font-size: 1.42rem;
  line-height: 1.35;
}

.method-card-grid > .method-card:first-child .method-card__copy {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: center;
  margin: 0;
}

.method-card-grid > .method-card:first-child .method-card__meta,
.method-card-grid > .method-card:first-child .method-card__link-hint {
  grid-column: 1;
}

/* 兜底：最后一张真的落单时撑满整行。
   注意偏移——第一张已经占掉整整一行，所以从第二张起，DOM 序号 i 对应的格位是 i-1，
   落单条件是 (i-1) % 3 == 1，也就是 i % 3 == 2。
   （写成 3n+1 会误伤第 7 张：它其实是第三行的第三格，却被撑成整行、把格位留空。） */
.method-card-grid > .method-card:last-child:nth-child(3n + 2) {
  grid-column: 1 / -1;
}

@media (max-width: 900px) {
  .method-card-grid {
    grid-template-columns: 1fr;
  }

  .method-card-grid > .method-card:first-child {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .method-card-grid > .method-card:first-child .method-card__copy {
    grid-column: 1;
    grid-row: auto;
  }
}

.method-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 24px;
  border: 1px solid var(--line-paper);
  border-radius: 4px;
  background: var(--paper-50);
  color: inherit;
  text-decoration: none;
  transition: all 220ms cubic-bezier(0.2, 0.75, 0.2, 1);
  position: relative;
}
html[data-theme="dark"] .method-card {
  border-color: rgba(255, 255, 255, 0.1);
  background: linear-gradient(175deg, rgba(28, 30, 26, 0.8), rgba(16, 17, 14, 0.95));
}
.method-card:hover {
  border-color: var(--brass-400);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35), 0 0 20px rgba(207, 179, 110, 0.1);
}
.method-card__idx {
  font-family: var(--font-display);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--brass-500);
  text-transform: uppercase;
}
.method-card__title {
  font-family: var(--font-display);
  font-size: 1.22rem;
  line-height: 1.35;
  color: var(--page-strong);
}
html[data-theme="dark"] .method-card__title {
  color: #f7f3e8;
}
.method-card__copy {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.7;
  color: var(--page-dim);
  flex: 1;
}
html[data-theme="dark"] .method-card__copy {
  color: #dedbd2;
}
.method-card__meta {
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: var(--brass-400);
  font-weight: 600;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.method-card__link-hint {
  font-size: 0.8rem;
  color: var(--brass-300);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: transform 160ms ease, color 160ms ease;
}
.method-card:hover .method-card__link-hint {
  color: #ffffff;
  transform: translateX(4px);
}

/* ——— 首页范例演员：把「借一个人」完整摊开一次 ———
   这是全站唯一一段"大图 + 横向序列"的排法，专门用来打破从头到尾只有卡片网格的单调。 */
.home-showcase {
  padding-top: 68px;
  padding-bottom: 68px;
  background:
    radial-gradient(90% 120% at 12% 0%, rgba(201, 151, 63, 0.09), transparent 58%),
    var(--page-bg);
  border-top: 1px solid var(--line-paper);
  border-bottom: 1px solid var(--line-paper);
}

.home-showcase__inner {
  display: grid;
  gap: 18px;
  /* grid 子项默认 min-width:auto，横滑那两行的 min-content 会把整条轨道撑宽，
     窄屏上表现为整页横向溢出（实测 390px 视口溢出 455px）。这里连同下面几处
     min-width:0 一起，把"撑宽父级"改回"自己内部滚动"。 */
  min-width: 0;
}

.home-showcase__inner > * {
  min-width: 0;
}

.home-showcase__who {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  margin-top: 16px;
}

.home-showcase__portrait {
  display: block;
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--line-paper);
  text-decoration: none;
}

.home-showcase__name {
  margin: 0;
  font-family: var(--font-display, inherit);
  font-size: 2.3rem;
  line-height: 1.15;
  color: var(--page-strong);
}

.home-showcase__headline {
  margin: 8px 0 0;
  color: var(--brass-300);
  font-size: 1.02rem;
}

.home-showcase__summary {
  margin: 14px 0 0;
  max-width: 46ch;
  color: var(--page-text);
  font-size: 1.04rem;
  line-height: 1.75;
}

.home-showcase__anchors {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
}

.home-showcase__anchors-label {
  color: var(--page-dim);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

.home-showcase__anchor {
  padding: 4px 10px;
  border: 1px solid var(--line-paper);
  border-radius: 999px;
  color: var(--page-dim);
  font-size: 0.8rem;
}

.home-showcase__block {
  margin-top: 46px;
}

.home-showcase__block-title {
  margin: 0;
  font-family: var(--font-display, inherit);
  font-size: 1.5rem;
  color: var(--page-strong);
}

.home-showcase__block-copy {
  margin: 8px 0 20px;
  max-width: 62ch;
  color: var(--page-dim);
  line-height: 1.75;
}

/* 年龄线：横向一条读完，窄屏改成可横滑，绝不换行——换行就断了"一条时间线"的意思 */
.home-showcase__age-row,
.home-showcase__role-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 16px;
  min-width: 0;
}

.home-showcase__age-cell {
  margin: 0;
  min-width: 0;
}

.home-showcase__age-cell .asset-image {
  border-radius: 3px;
  border: 1px solid var(--line-paper);
}

.home-showcase__age-label {
  margin-top: 8px;
  color: var(--page-dim);
  font-size: 0.82rem;
  text-align: center;
}

.home-showcase__quotes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.home-showcase__quote {
  margin: 0;
  padding: 20px 22px;
  border-left: 2px solid var(--brass-400);
  background: var(--paper-100);
  border-radius: 0 4px 4px 0;
}

.home-showcase__quote-when {
  display: block;
  margin-bottom: 10px;
  color: var(--brass-300);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

.home-showcase__quote p {
  margin: 0;
  color: var(--page-text);
  line-height: 1.85;
}

.home-showcase__role {
  display: block;
  min-width: 0;
  border: 1px solid var(--line-paper);
  border-radius: 4px;
  overflow: hidden;
  background: var(--paper-100);
  text-decoration: none;
  color: inherit;
  transition: border-color 200ms ease, transform 200ms ease;
}

.home-showcase__role:hover {
  border-color: var(--brass-400);
  transform: translateY(-3px);
}

.home-showcase__role-copy {
  display: grid;
  gap: 4px;
  padding: 14px 16px 16px;
}

.home-showcase__role-name {
  font-family: var(--font-display, inherit);
  font-size: 1.16rem;
  color: var(--page-strong);
}

.home-showcase__role-production {
  color: var(--brass-300);
  font-size: 0.82rem;
}

.home-showcase__role-summary {
  margin: 4px 0 0;
  color: var(--page-dim);
  font-size: 0.86rem;
  line-height: 1.6;
}

/* ——— 演员页：从七个页签改成一条长页 ——— */
.actor-flow {
  margin-top: 54px;
  min-width: 0;
}

.actor-flow__title {
  margin: 0;
  font-family: var(--font-display, inherit);
  font-size: 1.62rem;
  line-height: 1.3;
  color: var(--page-strong);
}

.actor-flow__copy {
  margin: 8px 0 22px;
  max-width: 64ch;
  color: var(--page-dim);
  line-height: 1.75;
}

.actor-flow__age-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 16px;
  min-width: 0;
}

.actor-flow__age-cell {
  margin: 0;
  min-width: 0;
}

.actor-flow__age-cell .asset-image {
  border-radius: 3px;
  border: 1px solid var(--line-paper);
}

.actor-flow__age-label {
  margin-top: 8px;
  color: var(--page-dim);
  font-size: 0.82rem;
  text-align: center;
}

/* 折叠块用原生 details/summary：不写 JS 也能开合，键盘和读屏天然可用。
   旧结构那套 role=tab + 方向键是自己实现的一套，页签一多就把内容切碎了。 */
.actor-fold {
  border: 1px solid var(--line-paper);
  border-radius: 4px;
  background: var(--paper-100);
  margin-top: 12px;
}

.actor-fold__summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 18px;
  cursor: pointer;
  color: var(--page-strong);
  font-weight: 600;
  list-style: none;
}

.actor-fold__summary::-webkit-details-marker {
  display: none;
}

.actor-fold__summary::before {
  content: "＋";
  color: var(--brass-400);
  font-size: 1rem;
  line-height: 1;
}

.actor-fold[open] > .actor-fold__summary::before {
  content: "－";
}

.actor-fold__summary:hover {
  color: var(--brass-300);
}

.actor-fold__summary:focus-visible {
  outline: 2px solid var(--brass-400);
  outline-offset: -2px;
}

.actor-fold > .tab-panel,
.actor-fold > section,
.actor-fold > .production-blueprint-grid {
  padding: 4px 18px 22px;
}

.production-blueprint-fold {
  margin-top: 30px;
}

@media (max-width: 860px) {
  .actor-flow__age-row {
    grid-auto-columns: minmax(150px, 45vw);
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x proximity;
  }

  .actor-flow__age-cell {
    scroll-snap-align: start;
  }
}

.home-showcase__note {
  margin: 16px 0 0;
  color: var(--page-dim);
  font-size: 0.88rem;
}

.home-showcase__take {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 46px;
  padding-top: 26px;
  border-top: 1px solid var(--line-paper);
}

.home-showcase__take-copy {
  margin: 0;
  flex: 1 1 320px;
  color: var(--page-dim);
  font-size: 0.92rem;
}

@media (max-width: 1000px) {
  .home-showcase__quotes {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .home-showcase__who {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .home-showcase__portrait {
    max-width: 320px;
  }

  /* 年龄线与角色条改成横滑，保持"一条线"的读法 */
  .home-showcase__age-row,
  .home-showcase__role-row {
    grid-auto-columns: minmax(150px, 45vw);
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x proximity;
  }

  .home-showcase__age-cell,
  .home-showcase__role {
    scroll-snap-align: start;
  }
}

.home-closing {
  text-align: left;
}

.home-closing__inner {
  display: grid;
  gap: 18px;
  max-width: 720px;
}

.home-closing .section-title,
.home-closing .section-copy {
  color: inherit;
}

/* 收尾段的第二句是"顺带一提"级别的存量，压一档，不跟主句抢眼睛。 */
.home-closing .section-copy--muted {
  opacity: 0.72;
  font-size: 0.94rem;
}

@media (max-width: 860px) {
  .method-card-grid {
    grid-template-columns: 1fr;
  }
}

/* Verification & provenance disclosure */

.verification-details {
  border: 1px solid var(--line-paper);
  border-radius: var(--radius-card);
  background: var(--paper-100);
  padding: 0;
}

.verification-details > summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: var(--space-2) var(--space-3);
  cursor: pointer;
  font-size: var(--text-sm);
  letter-spacing: 0.06em;
  color: var(--text-dim-paper);
  list-style: none;
}

.verification-details > summary::before {
  content: "▸";
  margin-right: 10px;
  color: var(--brass-600);
  transition: transform 160ms ease;
}

.verification-details[open] > summary::before {
  transform: rotate(90deg);
}

.verification-details > summary:hover {
  color: var(--text-strong);
}

.verification-details > *:not(summary) {
  margin: 0 18px 18px;
}

/* Medium screens */

@media (max-width: 1080px) {
  .site-header__inner {
    min-height: 68px;
  }

  .site-brand {
    min-width: 180px;
  }

  .site-brand__copy small {
    display: none;
  }

  .site-nav > a {
    padding-inline: 5px;
    font-size: 0.72rem;
  }

  .site-nav__actions {
    margin-left: 4px;
    padding-left: 6px;
  }

  .contact-sheet,
  .contact-sheet--directory,
  .contact-sheet--search,
  .asset-grid,
  .asset-grid--search {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .production-rail {
    grid-template-columns: repeat(5, minmax(190px, 1fr));
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x proximity;
  }

  .production-rail .catalog-card {
    scroll-snap-align: start;
  }

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

  .showcase-item {
    grid-template-columns: 42% minmax(0, 1fr);
  }

  .site-footer__inner {
    grid-template-columns: minmax(220px, 1fr) minmax(280px, 1.2fr);
  }

  .site-footer__note {
    grid-column: 1 / -1;
    padding-left: 0;
    padding-top: 12px;
    border-top: 1px solid var(--line-dark);
    border-left: 0;
  }
}

@media (max-width: 860px) {
  .site-header__inner {
    gap: 8px;
  }

  .site-brand {
    min-width: 38px;
  }

  /* 只收起副标题，保留站名：窄屏若只剩一个 W 方块，读者无从判断自己在哪个站 */
  .site-brand__copy {
    display: block;
    min-width: 0;
  }

  .site-brand__copy strong {
    font-size: 0.95rem;
    white-space: nowrap;
  }

  .site-brand__copy small {
    display: none;
  }

  .site-nav > a {
    padding-inline: 4px;
  }

  .contact-sheet,
  .contact-sheet--directory,
  .contact-sheet--search,
  .asset-grid,
  .asset-grid--search {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

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

  .path-link:nth-child(3) {
    border-left: 1px solid var(--line-paper);
  }

  .detail-mast,
  .production-mast__inner,
  .production-pack-detail,
  .persona-resource-detail {
    grid-template-columns: minmax(230px, 34%) minmax(0, 1fr);
    gap: 34px;
  }

  .production-pack-columns {
    gap: 30px;
  }

  .detail-title {
    font-size: 2.45rem;
  }

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

  .fact-strip > div:nth-child(2) {
    border-right: 0;
  }

  .fact-strip > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line-paper);
  }

  .credit-grid,
  .format-grid,
  .guide-catalog,
  .pricing-grid,
  .production-grid,
  .production-grid--search,
  .production-path-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .guide-teaser__inner,
  .free-drop-band__head {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 0.65fr);
    gap: 30px;
  }

  .free-drop-sheet {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .free-drop-calendar__grid {
    grid-template-columns: 1fr;
  }

  .free-drop-calendar__item {
    padding: 16px;
  }

  .editorial-columns--three {
    grid-template-columns: 1fr;
  }

  .account-panel {
    grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
    gap: 28px;
  }

  .world-preview-band__inner,
  .world-season-mast {
    gap: 30px;
  }

  .world-timeline {
    gap: 18px 14px;
  }
}

/* Mobile application shell and layouts */

@media (max-width: 720px) {
  :root {
    --page-gutter: 16px;
  }

  .casting-handoff-card {
    margin-bottom: 26px;
    padding: 20px 16px;
  }

  .casting-handoff-card__stages {
    grid-template-columns: 1fr;
  }

  .casting-handoff-visual-flow {
    align-items: flex-start;
    flex-direction: column;
  }

  .casting-handoff-visual-flow__arrow {
    margin-left: 16px;
    transform: rotate(90deg);
  }

  .casting-handoff-visual-flow__step {
    max-width: 100%;
    border-radius: var(--radius-card);
  }

  html {
    scroll-padding-top: 88px;
  }

  .world-preview-band__inner,
  .world-season-mast {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .world-preview-band__inner {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .world-preview-band__facts {
    grid-template-columns: 1fr;
  }

  .world-preview-band__facts > div {
    border-right: 0;
    border-bottom: 1px solid var(--line-paper);
  }

  .world-preview-band__facts > div:last-child {
    border-bottom: 0;
  }

  .world-season-mast {
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .world-season-mast__facts {
    margin-top: 0;
  }

  .world-boundary {
    padding-top: 34px;
    padding-bottom: 40px;
  }

  .world-relation-grid,
  .world-timeline,
  .world-unresolved__list {
    grid-template-columns: 1fr;
  }

  .world-relation-card,
  .world-event {
    padding: 16px;
  }

  .world-unresolved {
    padding-top: 38px;
    padding-bottom: 52px;
  }

  .eco-nav__inner {
    justify-content: space-between;
    gap: 8px;
  }

  .eco-nav a {
    min-width: 0;
    min-height: 44px;
    font-size: 0.67rem;
    white-space: nowrap;
  }

  .site-header__inner {
    min-height: 64px;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0;
  }

  .site-brand {
    min-width: 0;
    min-height: 44px;
  }

  .site-brand__mark {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .site-brand__copy strong {
    font-size: 0.92rem;
  }

  .site-brand__copy small {
    display: block;
    font-size: 0.64rem;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    flex: 1 0 100%;
    width: 100%;
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 0;
    padding: 8px 0 14px;
    border-top: 1px solid var(--line-paper);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav > a {
    min-height: 44px;
    justify-content: center;
    padding: 8px;
    border-right: 1px solid var(--line-paper);
    border-bottom: 1px solid var(--line-paper);
    font-size: 0.8rem;
  }

  .site-nav > a:nth-child(2n) {
    border-right: 0;
  }

  .site-nav > a[aria-current="page"] {
    background: var(--paper-100);
    border-bottom-color: var(--rust-500);
  }

  .site-nav__actions {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 10px 0 0;
    padding: 0;
    border-left: 0;
  }

  .site-nav__actions .button {
    width: 100%;
  }

  .site-nav__actions .theme-toggle {
    grid-column: 1 / -1;
    width: 100%;
    border-radius: var(--radius-control);
  }

  .site-status {
    min-height: 30px;
    font-size: 0.66rem;
  }

  .page-intro {
    padding-top: 38px;
    padding-bottom: 30px;
  }

  .page-title {
    font-size: 2.25rem;
  }

  .page-deck {
    font-size: 0.92rem;
    line-height: 1.7;
  }

  .section {
    padding-top: var(--space-6);
    padding-bottom: var(--space-6);
  }

  .section-head {
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
  }

  .section-title {
    font-size: 1.45rem;
  }

  .section-head .text-link {
    flex: 0 0 auto;
    font-size: 0.72rem;
  }

  .hero-band__inner {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 46px 0 48px;
  }

  .hero-plate {
    width: min(100%, 330px);
  }

  .hero-title {
    max-width: 10ch;
    font-size: 2.7rem;
  }

  .hero-lead {
    max-width: 34ch;
    margin-top: 14px;
    font-size: 0.9rem;
  }

  .cover-actors__grid {
    grid-template-columns: 1fr;
  }

  .global-search {
    gap: 6px;
  }

  .global-search .button {
    padding-inline: 13px;
  }

  .hero-actions .button {
    flex: 1 1 140px;
    min-width: 0;
  }

  .hero-release {
    font-size: 0.66rem;
  }

  .stats-strip__item {
    min-height: 78px;
    padding: 12px 5px;
    text-align: center;
  }

  .stats-strip dt {
    font-size: 0.62rem;
  }

  .stats-strip dd {
    font-size: 1.35rem;
  }

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

  .production-path-grid {
    grid-template-columns: 1fr;
  }

  .production-paths-intro__inner {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .production-path-card__head,
  .production-path-card__section,
  .production-path-card__boundary {
    padding-left: 16px;
    padding-right: 16px;
  }

  .production-path-card__consumers > div {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  }

  .path-link,
  .path-link:first-child,
  .path-link:nth-child(3) {
    min-height: 128px;
    border-left: 1px solid var(--line-paper);
  }

  .contact-sheet,
  .contact-sheet--directory,
  .contact-sheet--search,
  .asset-grid,
  .asset-grid--search {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .catalog-card__body,
  .asset-card__body {
    padding: 11px;
  }

  .catalog-card__title,
  .asset-card__title {
    font-size: 1rem;
  }

  .catalog-card__copy {
    font-size: 0.73rem;
  }

  .catalog-card .tags {
    display: none;
  }

  .production-rail {
    grid-auto-columns: minmax(230px, 76vw);
    grid-template-columns: none;
    grid-auto-flow: column;
  }

  .guide-teaser,
  .free-drop-band {
    padding: 44px 0;
  }

  .guide-teaser__inner,
  .free-drop-band__head {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .free-drop-band__action {
    padding-top: 18px;
    padding-left: 0;
    border-top: 3px solid var(--brass-600);
    border-left: 0;
  }

  .free-drop-sheet {
    gap: 8px;
  }

  .filter-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 20px;
    margin-bottom: 22px;
  }

  .filter-field,
  .filter-field:first-child,
  .filter-field--wide,
  .filter-bar--catalog .filter-field:first-child {
    grid-column: span 1;
  }

  .filter-field:first-child,
  .filter-field--wide,
  .result-count {
    grid-column: 1 / -1;
  }

  .filter-field > span {
    font-size: 0.68rem;
  }

  .filter-bar + .contact-sheet,
  .filter-bar + .production-grid,
  .filter-bar + .portrayal-grid {
    margin-bottom: 46px;
  }

  .detail-mast,
  .production-mast__inner,
  .production-pack-detail,
  .production-pack-columns,
  .persona-resource-detail,
  .persona-resource-detail-columns {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .detail-mast,
  .production-pack-detail,
  .persona-resource-detail {
    padding-top: 28px;
    padding-bottom: 38px;
  }

  .detail-mast > .detail-mast__copy,
  .production-mast__inner > .production-mast__copy,
  .production-pack-detail > .production-pack-detail__copy,
  .persona-resource-detail > .persona-resource-detail__copy {
    order: -1;
  }

  .persona-resource-detail__visual {
    width: min(100%, 320px);
    margin-inline: auto;
  }

  .persona-resource-file {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .persona-resource-file__action {
    justify-self: start;
  }

  .persona-resource-visual-index__groups {
    grid-template-columns: 1fr;
  }

  .persona-resource-visual-index__purpose {
    min-height: 0;
  }

  .toolkit-table th:nth-child(3),
  .toolkit-table td:nth-child(3) {
    white-space: nowrap;
  }

  .detail-mast > .mast-plate,
  .production-mast__inner > .hero-plate,
  .production-pack-detail > .asset-image {
    width: min(100%, 420px);
    margin-inline: auto;
  }

  .production-pack-detail > .asset-image--pack-portrait {
    width: min(100%, 320px);
  }

  .production-pack-intro {
    padding: 18px 0;
  }

  .production-pack-intro__inner {
    grid-template-columns: 1fr;
    gap: 7px;
    justify-items: start;
  }

  .production-pack-grid {
    grid-template-columns: 1fr;
  }

  .production-pack-consumption__overview,
  .production-pack-consumption__profiles,
  .production-pack-agent-paths__grid {
    grid-template-columns: 1fr;
  }

  .production-pack-consumption__overview > div {
    border-right: 0;
    border-bottom: 1px solid var(--line-paper);
  }

  .production-pack-consumption__overview > div:last-child {
    border-bottom: 0;
  }

  .production-pack-card--candidate {
    grid-template-columns: 1fr;
  }

  .production-candidate-status--detail {
    min-height: 0;
  }

  .production-pack-actions {
    margin-top: 18px;
  }

  .detail-title {
    font-size: 2.25rem;
  }

  .detail-lead {
    font-size: 1.02rem;
  }

  .fact-strip {
    margin-top: 22px;
  }

  .fact-strip > div {
    padding-inline: 8px;
  }

  .tabs {
    margin-inline: calc(var(--page-gutter) * -1);
    padding-inline: var(--page-gutter);
  }

  .editorial-columns,
  .editorial-columns--three,
  .quote-grid {
    grid-template-columns: 1fr;
  }

  .credit-grid,
  .format-grid,
  .guide-catalog,
  .pricing-grid,
  .production-grid,
  .production-grid--search,
  .cast-grid {
    grid-template-columns: 1fr;
  }

  .asset-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .actor-standard-visual-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .actor-standard-expansion-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

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

  .actor-standard-expansion-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .production-mast {
    padding: 34px 0;
  }

  .cast-card {
    grid-template-columns: 116px minmax(0, 1fr);
  }

  .cast-card .asset-image {
    min-height: 188px;
  }

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

  .portrayal-card {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .portrayal-card .asset-image {
    min-height: 210px;
  }

  .format-sample {
    padding: 16px;
  }

  .guide-catalog__item {
    min-height: 190px;
  }

  .guide-article__head .detail-title {
    font-size: 2.15rem;
  }

  .guide-article__cover { aspect-ratio: 4 / 3; }

  .guide-step {
    grid-template-columns: 40px minmax(0, 1fr);
    column-gap: 10px;
    padding: 26px 0;
  }

  .guide-step__number {
    font-size: 1rem;
  }

  .guide-step h3 {
    font-size: 1.2rem;
  }

  .showcase-item {
    grid-template-columns: 1fr;
  }

  .showcase-item .asset-image {
    height: auto;
  }

  .notice-band {
    align-items: flex-start;
  }

  .notice-band .badge {
    flex: 0 0 auto;
  }

  .pricing-plan {
    min-height: 0;
  }

  .pricing-plan .button {
    margin-top: 22px;
  }

  .account-panel {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .collection-row {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .collection-row span {
    text-align: left;
  }

  .search-row {
    grid-template-columns: minmax(110px, 0.7fr) minmax(0, 1fr);
    gap: 4px 12px;
  }

  .search-row p {
    grid-column: 1 / -1;
  }

  .site-footer__inner {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .footer-eco {
    border-top: 1px solid var(--line-dark);
    border-bottom: 1px solid var(--line-dark);
  }

  .site-footer__note {
    grid-column: auto;
    padding-top: 0;
    border-top: 0;
  }
}

@media (max-width: 420px) {
  .site-brand__copy small {
    display: none;
  }

  .global-search {
    grid-template-columns: minmax(0, 1fr) 78px;
  }

  .global-search .button {
    padding-inline: 8px;
  }

  .hero-title {
    font-size: 2.3rem;
  }

  .stats-strip__item {
    padding-inline: 3px;
  }

  .stats-strip dd {
    font-size: 1.2rem;
  }

  .catalog-card__meta {
    font-size: 0.62rem;
  }

  .catalog-card__copy {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .filter-bar {
    grid-template-columns: 1fr;
  }

  .filter-field,
  .filter-field:first-child,
  .filter-field--wide,
  .filter-bar--catalog .filter-field:first-child,
  .result-count {
    grid-column: 1;
  }

  .portrayal-card__copy,
  .cast-card__copy {
    padding: 11px;
  }

  .portrayal-card__copy p,
  .cast-card__copy p {
    font-size: 0.73rem;
  }

  .format-sample__facts > div {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .production-pack-card__body {
    padding: 16px;
  }

  .production-pack-card__title {
    font-size: 1.18rem;
  }

  .production-pack-card__includes {
    grid-template-columns: 1fr;
  }

  .production-pack-guides {
    padding-top: 12px;
  }

  .production-pack-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .production-pack-actions .button {
    width: 100%;
  }

  .production-pack-source > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (prefers-contrast: more) {
  :root {
    --line-paper: #827e75;
    --line-dark: #85867e;
    --text-dim-paper: #464640;
    --text-dim-dark: #dedbd2;
  }

  .button,
  input,
  select,
  .catalog-card,
  .asset-card,
  .pricing-plan {
    border-width: 2px;
  }
}


/* 完整世界观设定（§8 策展改写 · 完整档） */
.world-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.world-card {
  border: 1px solid var(--line-paper);
  background: var(--paper-100);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.world-card__thumb {
  display: block;
  margin: -18px -18px 4px;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.world-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.world-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.world-card__count {
  font-size: 0.8rem;
  color: var(--text-dim-paper);
}

.world-card__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin: 0;
}

.world-card__tagline {
  font-size: 0.92rem;
  color: var(--brass-500);
  margin: 0;
}

.world-card__logline {
  font-size: 0.88rem;
  color: var(--text-dim-paper);
  margin: 0;
  flex: 1;
}

.world-mast {
  margin-top: 8px;
}

.world-mast--visual {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 26px;
  align-items: center;
}

.world-mast__visual {
  margin: 0;
  border: 1px solid var(--line-paper);
  overflow: hidden;
}

.world-mast__visual img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

@media (max-width: 720px) {
  .world-mast--visual {
    grid-template-columns: 1fr;
  }

  .world-mast__visual img {
    max-height: 320px;
  }
}

.world-mast__tagline {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--brass-500);
  max-width: 70ch;
}

.world-era {
  margin-top: 14px;
}

.world-geo .world-era {
  margin-top: 0;
}

.world-geo,
.world-camps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.world-camp__stance {
  font-size: 0.82rem;
  color: var(--brass-500);
  margin: 0 0 6px;
}

.world-slot {
  margin-top: 14px;
}

.world-slots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.world-slots .world-slot {
  margin-top: 0;
}

.world-slot__type {
  font-size: 0.82rem;
  color: var(--brass-500);
  margin: 0 0 6px;
}

.world-slot__casting {
  margin: 12px 0 0;
  padding-left: 18px;
  font-size: 0.88rem;
  color: var(--text-dim-paper);
}

.world-slot__casting li {
  margin-bottom: 6px;
}

/* toolkit（/learn/toolkit 投产工具包） */

.toolkit-section {
  margin-top: 28px;
}

.toolkit-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
  font-size: 0.92rem;
}

.toolkit-table th,
.toolkit-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line-paper);
}

.toolkit-table th {
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--brass-500);
}

.toolkit-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.toolkit-pitfalls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.toolkit-pitfall {
  padding: 14px 16px;
  border: 1px solid var(--line-paper);
  border-radius: 4px;
}

.toolkit-pitfall h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.toolkit-pitfall p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-dim-paper);
}

.toolkit-templates {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 14px;
}

.toolkit-template {
  padding: 14px 16px;
  border: 1px solid var(--line-paper);
  border-radius: 4px;
}

.toolkit-template h3 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.toolkit-template__scene {
  margin: 0 0 10px;
  font-size: 0.82rem;
  color: var(--brass-500);
}

.toolkit-template__code {
  margin: 0;
  padding: 12px 14px;
  border-radius: 4px;
  background: var(--ink-900);
  color: var(--text-on-dark);
  font-size: 0.86rem;
  line-height: 1.7;
  word-break: break-all;
  user-select: all;
}

.toolkit-negative {
  margin-top: 14px;
  font-size: 0.88rem;
  color: var(--text-dim-paper);
}

.toolkit-links {
  margin-top: 14px;
  font-size: 0.88rem;
  color: var(--text-dim-paper);
}

/* 原图 lightbox：列表/卡片只加载 webp 缩略图，点击后才加载标准原图 */
.asset-image--has-original {
  cursor: zoom-in;
}

.asset-image--has-original::after {
  content: "点击查看原图";
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 2;
  padding: 3px 8px;
  border-radius: 2px;
  background: rgb(23 24 21 / 72%);
  color: #f7f5ef;
  font-size: 11px;
  letter-spacing: 0.04em;
  opacity: 0;
  transition: opacity 0.18s ease;
  pointer-events: none;
}

.asset-image--has-original:hover::after,
.asset-image--has-original:focus-within::after {
  opacity: 1;
}

body.has-lightbox {
  overflow: hidden;
}

.asset-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: grid;
  place-items: center;
  padding: 20px;
}

.asset-lightbox[hidden] {
  display: none;
}

.asset-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgb(15 16 13 / 88%);
}

.asset-lightbox__dialog {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 8px;
  max-width: min(1080px, 94vw);
  max-height: 94vh;
  margin: 0;
}

.asset-lightbox__media {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  height: auto;
  border-radius: 2px;
  box-shadow: 0 24px 80px rgb(0 0 0 / 55%);
}

.asset-lightbox__caption {
  max-width: 82vw;
  color: #f7f5ef;
  font-size: 14px;
  text-align: center;
}

.asset-lightbox__note {
  margin: 0;
  color: rgb(247 245 239 / 62%);
  font-size: 12px;
}

.asset-lightbox__close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  padding: 6px 12px;
  border: 1px solid rgb(247 245 239 / 34%);
  border-radius: 2px;
  background: rgb(23 24 21 / 72%);
  color: #f7f5ef;
  font-size: 13px;
  cursor: pointer;
}

.asset-lightbox__close:hover {
  background: rgb(23 24 21 / 92%);
}

/* 指南中英切换（仅有 i18n 双语的指南显示） */
.guide-lang-toggle {
  display: inline-flex;
  margin: 16px 0 0;
  padding: 0;
  border: 1px solid var(--paper-300);
  border-radius: 2px;
  overflow: hidden;
}

.guide-lang-toggle__btn {
  padding: 5px 14px;
  border: 0;
  background: transparent;
  color: var(--text-dim-paper);
  font-size: 12px;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.guide-lang-toggle__btn + .guide-lang-toggle__btn {
  border-left: 1px solid var(--paper-300);
}

.guide-lang-toggle__btn.is-active {
  background: var(--ink-900);
  color: var(--text-on-dark);
}

/* ==========================================================================
   双主题覆盖层（2026-08-18）
   页面与色带颜色全部走 :root / html[data-theme="dark"] 的语义 token；
   本层只固定两件事：mast 纸卡化，以及纸面卡片在两个主题里都保持纸面规。
   本层只做颜色与 mast 纸卡化，不改布局结构。
   ========================================================================== */

/* 详情 mast 转为纸卡：内部文字工具类原本就按纸面设计 */
.detail-mast,
.production-pack-detail,
.persona-resource-detail {
  padding: 34px;
  margin-top: 34px;
  border: 1px solid var(--line-paper);
  border-radius: 4px;
  background: var(--paper-50);
  color: var(--text-on-paper);
}

/* 纸面卡片恢复纸面文字色（卡片在两个主题里都是纸面，内部继承色固定为纸面规） */
.empty-state,
.no-script,
.account-empty,
.release-summary,
.mast-plate,
.cover-actor-card,
.credit-card,
.format-sample,
.pricing-plan,
.free-drop-calendar__item,
.production-pack-card,
.persona-resource-visual-index__group,
.production-pack-consumption__profile,
.production-pack-agent-path,
.production-path-card,
.casting-guide,
.world-relation-card,
.scene-quote,
.portrayal-card,
.artifact-use,
.method-card,
.verification-details,
.world-card {
  color: var(--text-on-paper);
}



/* 纸面卡片内的链接固定锈红规 */
.empty-state a,
.no-script a,
.account-empty a,
.release-summary a,
.mast-plate a,
.cover-actor-card a,
.credit-card a,
.format-sample a,
.pricing-plan a,
.free-drop-calendar__item a,
.production-pack-card a,
.persona-resource-visual-index__group a,
.production-pack-consumption__profile a,
.production-pack-agent-path a,
.production-path-card a,
.casting-guide a,
.world-relation-card a,
.scene-quote a,
.portrayal-card a,
.artifact-use a,
.method-card a,
.verification-details a,
.world-card a,
.detail-mast a,
.production-pack-detail a,
.persona-resource-detail a {
  color: var(--rust-600);
}

.empty-state a:hover,
.no-script a:hover,
.account-empty a:hover,
.release-summary a:hover,
.mast-plate a:hover,
.cover-actor-card a:hover,
.credit-card a:hover,
.format-sample a:hover,
.pricing-plan a:hover,
.free-drop-calendar__item a:hover,
.production-pack-card a:hover,
.persona-resource-visual-index__group a:hover,
.production-pack-consumption__profile a:hover,
.production-pack-agent-path a:hover,
.production-path-card a:hover,
.casting-guide a:hover,
.world-relation-card a:hover,
.scene-quote a:hover,
.portrayal-card a:hover,
.artifact-use a:hover,
.method-card a:hover,
.verification-details a:hover,
.world-card a:hover,
.detail-mast a:hover,
.production-pack-detail a:hover,
.persona-resource-detail a:hover {
  color: var(--rust-500);
}

/* 纸面卡片内的弱文本 / 标签 / eyebrow / text-link 固定纸面规 */
.empty-state .muted,
.empty-state .microcopy,
.account-empty .muted,
.release-summary .muted,
.release-summary .microcopy,
.release-summary .status-message,
.mast-plate .muted,
.cover-actor-card .muted,
.credit-card .muted,
.format-sample .muted,
.pricing-plan .muted,
.pricing-plan .microcopy,
.free-drop-calendar__item .muted,
.free-drop-calendar__item .microcopy,
.production-pack-card .muted,
.production-pack-card .microcopy,
.production-pack-card .status-message,
.persona-resource-visual-index__group .muted,
.persona-resource-visual-index__group .microcopy,
.production-pack-consumption__profile .muted,
.production-pack-agent-path .muted,
.production-path-card .muted,
.production-path-card .microcopy,
.casting-guide .muted,
.world-relation-card .muted,
.scene-quote .muted,
.portrayal-card .muted,
.portrayal-card .microcopy,
.artifact-use .muted,
.method-card .muted,
.verification-details .muted,
.verification-details .microcopy,
.verification-details .status-message,
.world-card .muted,
.detail-mast .muted,
.detail-mast .microcopy,
.production-pack-detail .muted,
.production-pack-detail .microcopy,
.production-pack-detail .status-message,
.persona-resource-detail .muted,
.persona-resource-detail .microcopy,
.persona-resource-detail .status-message {
  color: var(--text-dim-paper);
}

.empty-state .tag,
.release-summary .tag,
.pricing-plan .tag,
.production-pack-card .tag,
.production-path-card .tag,
.casting-guide .tag,
.world-relation-card .tag,
.portrayal-card .tag,
.artifact-use .tag,
.method-card .tag,
.verification-details .tag,
.world-card .tag,
.detail-mast .tag,
.production-pack-detail .tag,
.persona-resource-detail .tag {
  border-color: var(--line-paper);
  color: var(--text-dim-paper);
}

.empty-state .eyebrow,
.release-summary .eyebrow,
.mast-plate .eyebrow,
.pricing-plan .eyebrow,
.free-drop-calendar__item .eyebrow,
.production-pack-card .eyebrow,
.persona-resource-visual-index__group .eyebrow,
.production-pack-consumption__profile .eyebrow,
.production-pack-agent-path .eyebrow,
.production-path-card .eyebrow,
.casting-guide .eyebrow,
.world-relation-card .eyebrow,
.artifact-use .eyebrow,
.method-card .eyebrow,
.verification-details .eyebrow,
.world-card .eyebrow,
.detail-mast .eyebrow,
.production-pack-detail .eyebrow,
.persona-resource-detail .eyebrow {
  color: var(--rust-600);
}

.empty-state .text-link,
.release-summary .text-link,
.pricing-plan .text-link,
.production-pack-card .text-link,
.production-pack-agent-path .text-link,
.production-path-card .text-link,
.casting-guide .text-link,
.casting-guide .back-link,
.artifact-use .text-link,
.verification-details .text-link,
.detail-mast .text-link,
.detail-mast .back-link,
.production-pack-detail .text-link,
.production-pack-detail .back-link,
.persona-resource-detail .text-link,
.persona-resource-detail .back-link {
  color: var(--rust-600);
}

.production-pack-card__includes {
  margin: 10px 0 16px;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.78rem;
  color: var(--page-dim);
}
.production-pack-card__includes li {
  line-height: 1.5;
}
html[data-theme="dark"] .production-pack-card__includes {
  color: #dedbd2;
}
html[data-theme="dark"] .production-pack-card__includes li::marker {
  color: var(--brass-400);
}

html[data-theme="dark"] .production-pack-card,
html[data-theme="dark"] .format-sample,
html[data-theme="dark"] .pricing-plan,
html[data-theme="dark"] .free-drop-calendar__item,
html[data-theme="dark"] .persona-resource-card,
html[data-theme="dark"] .world-relation-card,
html[data-theme="dark"] .world-card,
html[data-theme="dark"] .portrayal-card,
html[data-theme="dark"] .method-card,
html[data-theme="dark"] .verification-details,
html[data-theme="dark"] .detail-mast,
html[data-theme="dark"] .production-pack-detail,
html[data-theme="dark"] .persona-resource-detail {
  background: linear-gradient(175deg, rgba(28, 30, 26, 0.95), rgba(16, 17, 14, 0.98));
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text-on-dark);
}

html[data-theme="dark"] .production-pack-card__copy,
html[data-theme="dark"] .portrayal-card__copy,
html[data-theme="dark"] .world-card__copy {
  color: #dedbd2;
}

html[data-theme="dark"] .production-pack-card .muted,
html[data-theme="dark"] .production-pack-card .microcopy,
html[data-theme="dark"] .production-pack-card .status-message,
html[data-theme="dark"] .format-sample .muted,
html[data-theme="dark"] .pricing-plan .muted,
html[data-theme="dark"] .pricing-plan .microcopy,
html[data-theme="dark"] .free-drop-calendar__item .muted,
html[data-theme="dark"] .free-drop-calendar__item .microcopy,
html[data-theme="dark"] .world-relation-card .muted,
html[data-theme="dark"] .portrayal-card .muted,
html[data-theme="dark"] .portrayal-card .microcopy,
html[data-theme="dark"] .artifact-use .muted,
html[data-theme="dark"] .method-card .muted,
html[data-theme="dark"] .verification-details .muted,
html[data-theme="dark"] .verification-details .microcopy,
html[data-theme="dark"] .verification-details .status-message,
html[data-theme="dark"] .detail-mast .muted,
html[data-theme="dark"] .detail-mast .microcopy,
html[data-theme="dark"] .production-pack-detail .muted,
html[data-theme="dark"] .production-pack-detail .microcopy,
html[data-theme="dark"] .production-pack-detail .status-message,
html[data-theme="dark"] .persona-resource-detail .muted,
html[data-theme="dark"] .persona-resource-detail .microcopy,
html[data-theme="dark"] .persona-resource-detail .status-message {
  color: #bfbba9;
}

html[data-theme="dark"] .production-pack-card .tag,
html[data-theme="dark"] .pricing-plan .tag,
html[data-theme="dark"] .world-relation-card .tag,
html[data-theme="dark"] .portrayal-card .tag,
html[data-theme="dark"] .artifact-use .tag,
html[data-theme="dark"] .method-card .tag,
html[data-theme="dark"] .verification-details .tag,
html[data-theme="dark"] .detail-mast .tag,
html[data-theme="dark"] .production-pack-detail .tag,
html[data-theme="dark"] .persona-resource-detail .tag {
  border-color: rgba(224, 195, 134, 0.25);
  color: var(--brass-200);
  background: rgba(224, 195, 134, 0.06);
}

html[data-theme="dark"] .production-pack-card .eyebrow,
html[data-theme="dark"] .pricing-plan .eyebrow,
html[data-theme="dark"] .free-drop-calendar__item .eyebrow,
html[data-theme="dark"] .world-relation-card .eyebrow,
html[data-theme="dark"] .artifact-use .eyebrow,
html[data-theme="dark"] .method-card .eyebrow,
html[data-theme="dark"] .verification-details .eyebrow,
html[data-theme="dark"] .world-card .eyebrow,
html[data-theme="dark"] .detail-mast .eyebrow,
html[data-theme="dark"] .production-pack-detail .eyebrow,
html[data-theme="dark"] .persona-resource-detail .eyebrow {
  color: var(--brass-400);
}

html[data-theme="dark"] .production-pack-card .text-link,
html[data-theme="dark"] .pricing-plan .text-link,
html[data-theme="dark"] .world-relation-card .text-link,
html[data-theme="dark"] .portrayal-card .text-link,
html[data-theme="dark"] .artifact-use .text-link,
html[data-theme="dark"] .verification-details .text-link,
html[data-theme="dark"] .detail-mast .text-link,
html[data-theme="dark"] .production-pack-detail .text-link,
html[data-theme="dark"] .persona-resource-detail .text-link {
  color: var(--brass-300);
}

/* paper-strong 色带分节规随色带 token */
.section--paper-strong .section-head {
  border-bottom-color: var(--band-line);
}

.section--paper-strong .section-copy {
  color: var(--band-dim);
}

/* 页签、搜索结果行、指南语言切换：落在页面上，随页面 token */
.tab-button {
  color: var(--page-dim);
}

.tab-button:hover {
  background: var(--page-hover-bg);
  color: var(--page-strong);
}

.tab-button[aria-selected="true"] {
  border-bottom-color: var(--brass-500);
  color: var(--page-strong);
}

.search-row {
  border-bottom-color: var(--page-line);
  color: var(--page-text);
}

.search-row:hover {
  color: var(--page-link-hover);
}

.search-row span,
.search-row p {
  color: var(--page-dim);
}

.guide-lang-toggle {
  border-color: var(--page-line);
}

.guide-lang-toggle__btn {
  color: var(--page-dim);
}

.guide-lang-toggle__btn + .guide-lang-toggle__btn {
  border-left-color: var(--page-line);
}

.guide-lang-toggle__btn.is-active {
  background: var(--page-hover-bg);
  color: var(--page-strong);
}

/* 首页路径链格与工具包页：落在页面上，随页面 token */
.path-link {
  border-color: var(--page-line);
  color: var(--page-text);
}

.path-link:first-child {
  border-left-color: var(--page-line);
}

.path-link:hover {
  background: var(--page-hover-bg);
  color: var(--page-strong);
}

.path-link__index {
  color: var(--page-accent);
}

.path-link p {
  color: var(--page-dim);
}

.toolkit-table th,
.toolkit-table td {
  border-bottom-color: var(--page-line);
}

.toolkit-pitfall {
  border-color: var(--page-line);
}

.toolkit-pitfall p {
  color: var(--page-dim);
}

.toolkit-template {
  border-color: var(--page-line);
}

.toolkit-negative,
.toolkit-links {
  color: var(--page-dim);
}

@media (max-width: 860px) {
  .path-link:nth-child(3) {
    border-left-color: var(--page-line);
  }
}

/* 移动端展开导航：页头分隔与当前项随页头 token */
@media (max-width: 720px) {
  .site-nav {
    border-top-color: var(--header-line);
  }

  .site-nav > a {
    border-right-color: var(--header-line);
    border-bottom-color: var(--header-line);
  }

  .site-nav > a[aria-current="page"] {
    background: var(--page-hover-bg);
    border-bottom-color: var(--brass-500);
  }
}

/* 补缺：纸面卡片内的 text-link/back-link 固定锈红 */
.catalog-card .text-link,
.catalog-card .back-link,
.cover-actor-card .text-link,
.cover-actor-card .back-link,
.credit-card .text-link,
.format-sample .text-link,
.free-drop-calendar__item .text-link,
.method-card .text-link,
.method-card .back-link,
.guide-catalog__item .text-link,
.world-relation-card .text-link,
.scene-quote .text-link,
.portrayal-card .text-link,
.portrayal-card .back-link,
.world-card .text-link,
.world-card .back-link,
.persona-resource-visual-index__group .text-link {
  color: var(--rust-600);
}

/* 404 页的墨色按钮在墨页上需要黄铜描边才能读出按钮形态 */
html[data-theme="dark"] .not-found .button--ink {
  border-color: var(--brass-500);
}

/* 补缺：prose-panel 落在页面上，正文随页面弱文本 */
.prose-panel p {
  color: var(--page-dim);
}

/* 新手快速导览横幅 (30秒上手) */
.starter-guide-banner {
  margin: 20px auto 32px;
  border-radius: 4px;
  border: 1px solid rgba(224, 195, 134, 0.2);
  background: linear-gradient(135deg, rgba(207, 179, 110, 0.08) 0%, rgba(20, 22, 18, 0.95) 100%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}
.starter-guide-banner__inner {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 20px;
  padding: 18px 24px;
  align-items: center;
}
@media (max-width: 768px) {
  .starter-guide-banner__inner {
    grid-template-columns: 1fr;
  }
}
.starter-guide-banner__copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}
.starter-guide-title {
  color: var(--brass-100);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.starter-guide-desc {
  margin: 0;
  color: var(--page-dim);
  font-size: 0.84rem;
  max-width: 680px;
  line-height: 1.55;
}
.starter-guide-banner__media {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(224, 195, 134, 0.3);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4), 0 0 16px rgba(207, 179, 110, 0.12);
  background: var(--ink-950);
}
.starter-guide-banner__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 一键复制浮动提示 (Works Toast) */
.works-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  background: var(--ink-900);
  color: var(--brass-100);
  border: 1px solid var(--brass-400);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
  font-size: var(--text-sm);
  font-weight: 600;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: all 200ms cubic-bezier(0.2, 0.75, 0.2, 1);
}
.works-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 在线代码预览抽屉 */
.code-preview-drawer {
  margin-top: var(--space-3);
}
.code-preview-box {
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.code-preview-tabs {
  display: flex;
  gap: var(--space-1);
  flex-wrap: wrap;
}
.code-preview-pre {
  margin: 0;
  padding: var(--space-3);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid var(--border-ink);
  color: var(--brass-050);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  line-height: 1.6;
  max-height: 380px;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-all;
}

/* Hero HUD Capsule Strip */
.hero-hud-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}
.hud-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 3px;
  background: rgba(224, 195, 134, 0.08);
  border: 1px solid rgba(224, 195, 134, 0.22);
  color: var(--brass-300);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Home Interactive Filter Tabs */
.home-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 24px;
}
.filter-pill {
  padding: 7px 16px;
  border-radius: 3px;
  border: 1px solid var(--line-paper);
  background: transparent;
  color: var(--page-dim);
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all 180ms ease;
}
.filter-pill:hover {
  border-color: var(--brass-400);
  color: var(--page-strong);
}
.filter-pill.is-active {
  background: var(--brass-500);
  border-color: var(--brass-500);
  color: var(--ink-950);
  box-shadow: 0 4px 12px rgba(166, 123, 50, 0.25);
}
html[data-theme="dark"] .filter-pill {
  border-color: var(--line-dark);
  color: var(--text-dim-dark);
}
html[data-theme="dark"] .filter-pill:hover {
  border-color: var(--brass-300);
  color: var(--text-on-dark);
}
html[data-theme="dark"] .filter-pill.is-active {
  background: var(--brass-400);
  border-color: var(--brass-400);
  color: var(--ink-950);
}

/* Next-Gen Card Elevation & Refinement */
.catalog-card,
.production-pack-card,
.cover-actor-card,
.path-link,
.pricing-plan,
.format-sample,
.method-card {
  border-radius: 4px;
  transition: transform 220ms cubic-bezier(0.2, 0.75, 0.2, 1), box-shadow 220ms cubic-bezier(0.2, 0.75, 0.2, 1), border-color 220ms ease;
}
.catalog-card:hover,
.production-pack-card:hover,
.cover-actor-card:hover,
.format-sample:hover,
.method-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25), 0 0 20px rgba(207, 179, 110, 0.08);
}

.hero-plate {
  border-radius: 4px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(224, 195, 134, 0.12);
  overflow: hidden;
}

/* Hero Multi-Actor Carousel */
.hero-plate--carousel {
  position: relative;
  display: flex;
  flex-direction: column;
}
.hero-plate__media {
  position: relative;
  width: 100%;
}
.hero-carousel-arrow {
  position: absolute;
  top: 38%;
  transform: translateY(-50%);
  z-index: 10;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(15, 16, 14, 0.75);
  color: var(--brass-100);
  font-size: 1.5rem;
  line-height: 1;
  display: grid;
  place-content: center;
  cursor: pointer;
  backdrop-filter: blur(10px);
  opacity: 0.75;
  transition: all 180ms ease;
}
.hero-plate:hover .hero-carousel-arrow {
  opacity: 1;
}
.hero-carousel-arrow--prev { left: 10px; }
.hero-carousel-arrow--next { right: 10px; }
.hero-carousel-arrow:hover {
  background: var(--brass-500);
  color: var(--ink-950);
  border-color: var(--brass-500);
  transform: translateY(-50%) scale(1.08);
}
.hero-plate__switcher {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 10px 10px;
  background: rgba(15, 16, 14, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.hero-switcher-dot {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-dim-dark);
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 160ms ease;
}
.hero-switcher-dot:hover {
  color: var(--brass-100);
  border-color: var(--brass-400);
}
.hero-switcher-dot.is-active {
  background: var(--brass-500);
  border-color: var(--brass-500);
  color: var(--ink-950);
  box-shadow: 0 0 10px rgba(166, 123, 50, 0.35);
}

/* Studio Artifact Deck (Editorial Cinema Stage) */
.home-artifact-deck-section {
  padding: 48px 0 64px;
  background: radial-gradient(ellipse at 50% 0%, rgba(224, 195, 134, 0.04), transparent 70%);
}
.home-artifact-deck {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0;
}
.home-artifact-deck__head {
  margin-bottom: 24px;
}
.home-artifact-deck__head .eyebrow {
  color: var(--brass-400);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  font-weight: 700;
  text-transform: uppercase;
}
.home-artifact-deck__head .section-title {
  margin: 6px 0 8px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  letter-spacing: -0.015em;
  color: var(--page-strong);
}
html[data-theme="dark"] .home-artifact-deck__head .section-title {
  color: #f7f3e8;
}
.home-artifact-deck__head .section-copy {
  margin: 0;
  font-size: 0.92rem;
  color: var(--page-dim);
  line-height: 1.6;
  max-width: 760px;
}

/* Editorial Underline Tab Navigator */
.home-artifact-tabs {
  display: flex;
  flex-wrap: wrap;
  /* 行距略小于列距：六个标签换行时第二行不会掉成孤儿，仍读作同一组 */
  gap: 10px 26px;
  padding: 0 0 10px;
  border-bottom: 1px solid var(--line-paper);
  margin-bottom: 24px;
}
html[data-theme="dark"] .home-artifact-tabs {
  border-color: rgba(255, 255, 255, 0.08);
}
.deck-tab-btn {
  position: relative;
  padding: 6px 2px 10px;
  border: none;
  background: transparent;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--page-dim);
  cursor: pointer;
  transition: color 180ms ease;
}
.deck-tab-btn:hover {
  color: var(--page-strong);
}
html[data-theme="dark"] .deck-tab-btn:hover {
  color: var(--text-on-dark);
}
.deck-tab-btn::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brass-500);
  transition: width 220ms cubic-bezier(0.2, 0.75, 0.2, 1);
}
.deck-tab-btn.is-active {
  color: var(--brass-600);
}
html[data-theme="dark"] .deck-tab-btn.is-active {
  color: var(--brass-200);
}
.deck-tab-btn.is-active::after {
  width: 100%;
  box-shadow: 0 0 10px rgba(224, 195, 134, 0.5);
}

/* Hub Panel & Grids */
.home-artifact-panel {
  min-height: 320px;
}

/* 1. Productions (5 Cards) - Cinematic Film Dossier */
.deck-prod-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 1040px) {
  .deck-prod-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .deck-prod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.deck-prod-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--line-paper);
  background: var(--paper-100);
  text-decoration: none;
  color: var(--page-text);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  transition: all 220ms cubic-bezier(0.2, 0.75, 0.2, 1);
}
html[data-theme="dark"] .deck-prod-card {
  border-color: rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(26, 28, 24, 0.9) 0%, rgba(16, 17, 14, 0.98) 100%);
  color: var(--text-on-dark);
}
.deck-prod-card:hover {
  transform: translateY(-4px);
  border-color: var(--brass-400);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35), 0 0 20px rgba(207, 179, 110, 0.12);
}
/* 这里同时写了 aspect-ratio: 2/3 和 height: 200px，固定高度赢——于是声明好的
   海报比例根本没生效，五张剧目主视觉被压成 211×200 的近方块缩略图。
   它们是全站最有戏的素材（《沧浪》《雪与酒》《拂晓号》《对手》《极夜》），
   放回真实海报比例，同样宽度下高度从 200px 回到约 318px，且不再裁掉画面。 */
.deck-prod-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: var(--ink-950);
}
.deck-prod-thumb .asset-image,
.deck-prod-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 300ms ease;
}
.deck-prod-card:hover .deck-prod-thumb img {
  transform: scale(1.04);
}
.deck-prod-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(16, 17, 14, 0.85) 0%, rgba(16, 17, 14, 0.1) 45%, transparent 70%);
  pointer-events: none;
}
.deck-prod-season-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  backdrop-filter: blur(8px);
  background: rgba(15, 16, 14, 0.75);
  border: 1px solid rgba(224, 195, 134, 0.35);
  color: var(--brass-200);
}
.deck-prod-info {
  padding: 10px 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}
.deck-prod-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.02rem;
  color: var(--page-strong);
  letter-spacing: -0.01em;
}
html[data-theme="dark"] .deck-prod-title {
  color: #f7f3e8;
}
.deck-prod-desc {
  margin: 2px 0 0;
  font-size: 0.74rem;
  color: var(--page-dim);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.deck-prod-tag {
  margin-top: auto;
  padding-top: 6px;
  border-top: 1px dashed var(--line-paper);
  font-size: 0.7rem;
  color: var(--brass-600);
  font-style: italic;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
html[data-theme="dark"] .deck-prod-tag {
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--brass-300);
}

/* 2. Portrayals (8 Cards) */
.deck-portrayal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 860px) {
  .deck-portrayal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.deck-portrayal-card {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
  padding: 10px;
  border-radius: 4px;
  border: 1px solid var(--line-paper);
  background: var(--paper-100);
  text-decoration: none;
  color: var(--page-text);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  align-items: center;
  transition: all 180ms ease;
}
html[data-theme="dark"] .deck-portrayal-card {
  border-color: rgba(255, 255, 255, 0.08);
  background: linear-gradient(160deg, rgba(28, 30, 26, 0.8), rgba(18, 19, 16, 0.95));
  color: var(--text-on-dark);
}
.deck-portrayal-card:hover {
  transform: translateY(-2px);
  border-color: var(--brass-400);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}
.deck-portrayal-thumb {
  width: 70px;
  height: 92px;
  aspect-ratio: 3 / 4;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--ink-950);
}
.deck-portrayal-thumb .asset-image,
.deck-portrayal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.deck-portrayal-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.deck-portrayal-title {
  font-family: var(--font-display);
  font-size: 0.88rem;
  color: var(--page-strong);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
html[data-theme="dark"] .deck-portrayal-title {
  color: #f7f3e8;
}
.deck-portrayal-desc {
  margin: 0;
  font-size: 0.72rem;
  color: var(--page-dim);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 3. Packs & Actors */
.deck-pack-grid,
.deck-actor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 768px) {
  .deck-pack-grid,
  .deck-actor-grid { grid-template-columns: 1fr; }
}
.deck-more-wrap {
  margin-top: 20px;
  display: flex;
  justify-content: center;
}
.deck-more-btn {
  font-size: 0.84rem;
  padding: 8px 24px;
}

/* ==========================================================================
   Prompt Blueprint & Interactive Demo Enhancements (2026-08)
   ========================================================================== */

.prompt-blueprint-panel {
  grid-column: 1 / -1;
  background: linear-gradient(175deg, rgba(32, 34, 28, 0.95), rgba(18, 20, 16, 0.98));
  border: 1px solid var(--brass-500);
  border-radius: 4px;
  padding: 24px;
  margin-top: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(207, 179, 110, 0.08);
}
.prompt-blueprint-head {
  margin-bottom: 16px;
}
.prompt-blueprint-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--brass-300);
  margin: 4px 0 6px;
}
.prompt-blueprint-sub {
  font-size: 0.84rem;
  color: #dedbd2;
  margin: 0;
}
.prompt-code-box {
  background: rgba(10, 11, 8, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  padding: 16px;
  color: #e5e2d9;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.84rem;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0 0 16px;
  overflow-x: auto;
}
.copy-prompt-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 160ms ease;
}
.copy-prompt-btn.is-copied {
  background: #4caf50 !important;
  border-color: #4caf50 !important;
  color: #ffffff !important;
}

/* Interactive Showcase Card */
.deck-interactive-demo {
  padding: 8px 0;
}
.interactive-showcase-card {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 32px;
  align-items: center;
  background: linear-gradient(175deg, rgba(28, 30, 24, 0.95), rgba(16, 17, 14, 0.98));
  border: 1px solid rgba(207, 179, 110, 0.35);
  border-radius: 4px;
  padding: 28px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 30px rgba(207, 179, 110, 0.1);
}
@media (max-width: 860px) {
  .interactive-showcase-card {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
.interactive-showcase-thumb {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.interactive-showcase-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.interactive-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(184, 138, 56, 0.92);
  color: #171815;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 8px;
  border-radius: 3px;
}
.interactive-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: #f7f4ec;
  margin: 6px 0 12px;
}
.interactive-copy {
  font-size: 0.92rem;
  line-height: 1.7;
  color: #dedbd2;
  margin: 0 0 20px;
}
.interactive-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ==========================================================================
   Monthly Cadence & Vault Return System (2026-08)
   ========================================================================== */

.monthly-cadence-section {
  margin-top: 48px;
  padding: 40px 32px;
  border: 1px solid var(--line-paper);
  border-radius: 4px;
}
.monthly-cadence-head {
  margin-bottom: 28px;
}
.cadence-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
@media (max-width: 900px) {
  .cadence-feature-grid {
    grid-template-columns: 1fr;
  }
}
.cadence-feature-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  background: linear-gradient(175deg, rgba(28, 30, 26, 0.9), rgba(16, 17, 14, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  transition: all 200ms ease;
}
.cadence-feature-card:hover {
  border-color: var(--brass-400);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4), 0 0 20px rgba(207, 179, 110, 0.1);
}
.cadence-card-title {
  font-family: var(--font-display);
  font-size: 1.22rem;
  color: #f7f4ec;
  margin: 4px 0 0;
}
.cadence-card-desc {
  font-size: 0.88rem;
  line-height: 1.7;
  color: #dedbd2;
  margin: 0;
  flex: 1;
}
.cadence-card-meta {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--brass-400);
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cadence-feature-grid--four {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 860px) {
  .cadence-feature-grid--four {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Production Shot Blueprints & Assembly Templates (2026-08)
   ========================================================================== */

.production-blueprint-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 18px;
}
@media (max-width: 860px) {
  .production-blueprint-grid {
    grid-template-columns: 1fr;
  }
}
.production-blueprint-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(175deg, rgba(30, 32, 26, 0.95), rgba(16, 17, 14, 0.98));
  border: 1px solid rgba(207, 179, 110, 0.3);
  border-radius: 4px;
  padding: 24px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(207, 179, 110, 0.08);
}
.blueprint-card-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.blueprint-card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: #f7f4ec;
  margin: 4px 0 2px;
}
.blueprint-card-camera,
.blueprint-card-timeline,
.blueprint-card-actor {
  font-size: 0.82rem;
  line-height: 1.5;
  color: #dedbd2;
  margin: 0;
}
.blueprint-card-actor {
  color: var(--brass-400);
  font-weight: 600;
}

/* ==========================================================================
   Portrayal Prompt Specs & Costume Tags (2026-08)
   ========================================================================== */

.portrayal-spec-box {
  margin: 12px 0;
  padding: 12px;
  background: rgba(10, 11, 8, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.portrayal-spec-era {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brass-300);
  margin: 0;
}
.portrayal-spec-costume,
.portrayal-spec-optics {
  font-size: 0.78rem;
  line-height: 1.45;
  color: #dedbd2;
  margin: 0;
}
.copy-portrayal-btn {
  margin-top: 4px;
  align-self: flex-start;
}

/* ==========================================================================
   Home Deck World Grid (2026-08)
   ========================================================================== */

.deck-world-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 860px) {
  .deck-world-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Voice Modes & Character Card V2 System Prompt Box (2026-08)
   ========================================================================== */

.voice-mode-intro {
  margin-bottom: 20px;
}
.voice-mode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
@media (max-width: 860px) {
  .voice-mode-grid {
    grid-template-columns: 1fr;
  }
}
.voice-mode-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(175deg, rgba(28, 30, 26, 0.95), rgba(16, 17, 14, 0.98));
  border: 1px solid rgba(207, 179, 110, 0.3);
  border-radius: 4px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.voice-mode-card__head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}
.voice-mode-card__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: #f7f4ec;
  margin: 2px 0;
}
.voice-mode-card__desc {
  font-size: 0.78rem;
  color: #bfbba9;
  margin: 0;
}
.voice-mode-quote {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #e5e2d9;
  font-style: italic;
  background: rgba(0, 0, 0, 0.35);
  border-left: 3px solid var(--brass-400);
  padding: 12px 14px;
  margin: 0 0 16px;
  flex-grow: 1;
  border-radius: 0 4px 4px 0;
}
.actor-system-prompt-box {
  background: linear-gradient(175deg, rgba(24, 26, 22, 0.95), rgba(14, 15, 12, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 20px;
  margin-top: 16px;
}
.actor-system-prompt-box h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--brass-300);
  margin-top: 0;
  margin-bottom: 12px;
}

/* ==========================================================================
   Prompt Arsenal Grid & Cards (2026-08)
   ========================================================================== */

.prompt-arsenal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
  margin-bottom: 64px;
}
@media (max-width: 960px) {
  .prompt-arsenal-grid {
    grid-template-columns: 1fr;
  }
}
.prompt-arsenal-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(175deg, rgba(28, 30, 26, 0.95), rgba(16, 17, 14, 0.98));
  border: 1px solid rgba(207, 179, 110, 0.25);
  border-radius: 4px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.prompt-arsenal-card__head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 12px;
}
.prompt-arsenal-card__title {
  font-family: var(--font-display);
  font-size: 1.18rem;
  color: #f7f4ec;
  margin: 0;
}
.prompt-arsenal-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}
.prompt-sub-box {
  background: rgba(10, 11, 8, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  padding: 12px;
}
.prompt-sub-box h4 {
  font-size: 0.82rem;
  color: var(--brass-300);
  margin: 0 0 6px;
  font-family: var(--font-sans);
  font-weight: 700;
}
.prompt-sub-box p {
  font-size: 0.84rem;
  line-height: 1.5;
  color: #e5e2d9;
  margin: 0;
}
.prompt-sub-box pre {
  margin: 0;
  font-size: 0.82rem;
  white-space: pre-wrap;
  word-break: break-word;
}
.prompt-arsenal-card__note {
  font-size: 0.8rem;
  color: #bfbba9;
  font-style: italic;
  margin: 4px 0 0;
}
.prompt-arsenal-card__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Production Visual Arsenal Gallery */
.production-visual-gallery-section {
  padding-top: 56px;
  padding-bottom: 64px;
}
.production-visual-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 22px;
  margin-top: 28px;
}
.production-visual-card {
  display: flex;
  flex-direction: column;
  background: var(--paper-50);
  border: 1px solid var(--line-paper);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.production-visual-card:hover {
  transform: translateY(-4px);
  border-color: var(--brass-400);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18), 0 0 20px rgba(207, 179, 110, 0.1);
}
.production-visual-card .asset-image {
  border-radius: 0;
}
.production-visual-card__copy {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-grow: 1;
}
.production-visual-card__title {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--text-strong);
}
.production-visual-card__note {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--text-dim-paper);
}
html[data-theme="dark"] .production-visual-card {
  background: linear-gradient(175deg, rgba(28, 30, 26, 0.9), rgba(16, 17, 14, 0.98));
  border-color: rgba(255, 255, 255, 0.08);
}
html[data-theme="dark"] .production-visual-card__title {
  color: #f7f4ec;
}
html[data-theme="dark"] .production-visual-card__note {
  color: #bfbba9;
}

/* Persona creation workbench · generated value, quickstart and lab surfaces */
.persona-value-center__tiers {
  margin-top: 30px;
}

.persona-value-center__tier {
  min-height: 0;
}

.persona-value-center__tier .pricing-plan__copy {
  color: var(--text-dim-paper);
  line-height: 1.65;
}

.persona-value-center__list {
  margin: 18px 0 24px;
}

.persona-value-center__tier .pricing-plan__cta {
  margin-top: auto;
  padding-top: 8px;
}

.persona-value-center__gate {
  margin-top: 28px;
}

.persona-value-center__notice {
  width: 100%;
  margin-top: 0;
}

.persona-value-center__gate-states {
  margin-top: 14px;
}

/* 这句原本贴在四条清单的每一条前面，读起来就是机器拼的。提成标题说一次。 */
.persona-value-center__requirements-title {
  margin: 20px 0 0;
  font-weight: 600;
  color: var(--page-ink, var(--text-ink-paper));
}

.persona-value-center__requirements {
  max-width: 920px;
  margin: 10px 0 0;
}

.persona-value-center__consumer-note {
  margin: 18px 0 0;
}

.persona-value-center__consumers .production-pack-consumption__profiles {
  margin-top: 24px;
}

.persona-quickstart__start,
.persona-quickstart__format,
.persona-quickstart__boundary,
.persona-creation-lab__boundary,
.persona-creation-lab-card {
  min-width: 0;
  border: 1px solid var(--line-paper);
  border-radius: var(--radius-card);
  background: var(--paper-50);
}

.persona-quickstart__start,
.persona-quickstart__boundary,
.persona-creation-lab__boundary {
  margin-top: 24px;
  padding: 22px;
}

.persona-quickstart__start h3,
.persona-quickstart__format h3,
.persona-quickstart__boundary h3,
.persona-creation-lab__boundary h3,
.persona-creation-lab-card h3 {
  margin: 0;
  font-family: var(--font-display);
}

.persona-quickstart__start > p:not(.eyebrow),
.persona-quickstart__boundary > p,
.persona-creation-lab__boundary > p,
.persona-creation-lab-card > p {
  color: var(--text-dim-paper);
  line-height: 1.65;
}

.persona-quickstart__routes,
.persona-creation-lab__exercises {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.persona-quickstart__routes .guide-step,
.persona-creation-lab__exercises .guide-step {
  min-width: 0;
  padding: 22px 18px;
  border: 1px solid var(--band-line);
  background: var(--band-bg);
}

.persona-quickstart__routes .guide-step .microcopy,
.persona-creation-lab__exercises .guide-step .microcopy {
  overflow-wrap: anywhere;
}

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

.persona-quickstart__format {
  padding: 20px;
  border-left: 3px solid var(--line-paper);
}

.persona-quickstart__format--recommended {
  border-left-color: var(--brass-600);
}

.persona-quickstart__format h3 {
  margin-top: 12px;
  overflow-wrap: anywhere;
}

.persona-quickstart__format p {
  color: var(--text-dim-paper);
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.persona-quickstart__readback {
  margin-top: 28px;
}

.persona-creation-labs-index__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.persona-creation-lab-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
}

.persona-creation-lab-card .text-link {
  margin-top: auto;
}

.persona-creation-lab-card__boundary {
  padding-top: 12px;
  border-top: 1px solid var(--line-paper);
}

.persona-creation-lab__state {
  margin-top: 18px;
}

@media (max-width: 900px) {
  .persona-value-center__tiers,
  .persona-creation-labs-index__grid {
    grid-template-columns: 1fr;
  }

  .persona-quickstart__formats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .persona-quickstart__routes,
  .persona-creation-lab__exercises {
    grid-template-columns: 1fr;
  }

  .persona-quickstart__start,
  .persona-quickstart__format,
  .persona-quickstart__boundary,
  .persona-creation-lab__boundary,
  .persona-creation-lab-card {
    padding: 18px;
  }

  .persona-value-center__notice {
    align-items: flex-start;
  }
}

/* ============================================================
   可读性与可点性基线（2026-08-28）
   站内不少信息型文字落在 10.5-11.5px：卡片元信息、徽章、图注、
   接戏段说明等都是读者要真读懂的内容。这里统一抬到 12.5px 以上，
   并给轮播圆点、标签等触摸目标补足最小尺寸。
   纯装饰的全大写英文 eyebrow 维持原尺寸——它是版式元素，不承载信息。
   ============================================================ */
.catalog-card__meta,
.cover-actor-card__kicker,
.hero-plate__caption,
.mast-plate__caption,
.badge,
.tag,
.hud-pill {
  font-size: max(0.79rem, 12.6px);
  line-height: 1.55;
}

.hud-pill {
  padding-block: 6px;
}

/* 触摸目标：轮播圆点与小标签在移动端要够手指点 */
.hero-plate__switcher {
  gap: 8px;
}

.hero-switcher-dot {
  min-width: 44px;
  min-height: 36px;
  padding: 6px 12px;
  font-size: max(0.78rem, 12.5px);
}

@media (max-width: 720px) {
  .hero-switcher-dot {
    min-height: 40px;
  }

  /* 页脚栏目链接：竖排两字标题原本只有 26px 宽，指尖点不准 */
  .site-footer__nav a,
  .footer-links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding-inline: 6px;
  }
}

/* ============================================================
   长页导航：进度条 + 目录 + 回到顶部（2026-08-28）
   资料库页在手机上超过 20 屏，此前只能一路往回滑。交互与官方双站
   （official-sites-v2/_shared/section-nav.css）保持一致，三站体验统一；
   这里用本站的暖纸/琥珀语义变量，亮暗两套主题自动跟随。
   ============================================================ */
.read-progress {
  position: fixed;
  inset: 0 0 auto;
  height: 3px;
  z-index: 90;
  pointer-events: none;
}

.read-progress span {
  display: block;
  height: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--rust-500), var(--brass-400));
  opacity: 0.9;
}

.page-dock {
  position: fixed;
  right: clamp(12px, 3vw, 28px);
  bottom: clamp(12px, 3vw, 28px);
  z-index: 95;
  display: none;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.page-dock.is-available {
  display: flex;
}

.page-dock:not(.has-menu) .page-dock__btn--menu {
  display: none;
}

.page-dock__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--page-line, var(--line-paper));
  border-radius: 999px;
  background: var(--page-bg);
  color: var(--page-strong, var(--text-strong));
  font: inherit;
  font-size: max(0.86rem, 13.5px);
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  transition: border-color 0.2s ease, background-color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.page-dock__btn:hover,
.page-dock__btn:focus-visible {
  border-color: var(--brass-400);
  background: var(--paper-100);
}

.page-dock__text {
  white-space: nowrap;
}

.page-dock__icon {
  position: relative;
  width: 16px;
  height: 12px;
  flex: none;
}

.page-dock__icon::before,
.page-dock__icon::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--brass-500);
}

.page-dock__icon::before {
  top: 0;
  box-shadow: 0 5px 0 var(--brass-500);
}

.page-dock__icon::after {
  bottom: 0;
}

.page-dock__arrow {
  color: var(--brass-500);
  font-size: 15px;
  line-height: 1;
}

.page-dock__btn--top {
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
}

.page-dock.is-scrolled .page-dock__btn--top {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.page-dock__panel {
  width: min(292px, calc(100vw - 32px));
  max-height: min(72vh, 560px);
  overflow-y: auto;
  padding: 16px 8px 12px;
  border: 1px solid var(--page-line, var(--line-paper));
  border-radius: 16px;
  background: var(--page-bg);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.32);
  overscroll-behavior: contain;
}

.page-dock__title {
  margin: 0 0 8px;
  padding: 0 12px;
  color: var(--page-dim, var(--text-dim-paper));
  font-size: max(0.82rem, 13px);
  letter-spacing: 0.06em;
}

.page-dock__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-dock__list a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--page-text, var(--text-on-paper));
  text-decoration: none;
  font-size: max(0.92rem, 14.5px);
  line-height: 1.4;
}

.page-dock__list a:hover,
.page-dock__list a:focus-visible {
  background: var(--paper-100);
}

.page-dock__list a.is-current {
  background: var(--paper-100);
  color: var(--brass-500);
  font-weight: 700;
}

.page-dock__index {
  flex: none;
  color: var(--page-dim, var(--text-dim-paper));
  font-size: max(0.76rem, 12px);
  font-variant-numeric: tabular-nums;
}

.page-dock__list a.is-current .page-dock__index {
  color: var(--brass-500);
}

/* 页脚安全区：浮动按钮固定在右下，滚到底时会压住页脚内容 */
.site-footer {
  padding-bottom: max(104px, env(safe-area-inset-bottom, 0px) + 104px);
}

@media (max-width: 560px) {
  .page-dock {
    gap: 8px;
  }

  .page-dock__btn {
    padding: 0 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-dock__btn,
  .read-progress span {
    transition: none;
  }
}

@media print {
  .page-dock,
  .read-progress {
    display: none;
  }
}

/* 免费样张的"该下哪个"引导：三个下载按钮对新手是选择题，
   这里按用途给出直白答案，不要求先读懂格式名。 */
.format-pick-guide {
  margin: 22px 0 28px;
  padding: 20px 22px;
  border: 1px solid var(--page-line, var(--line-paper));
  border-left: 3px solid var(--brass-500);
  border-radius: 12px;
  background: var(--paper-100);
}

.format-pick-guide__title {
  margin: 0 0 14px;
  color: var(--page-strong, var(--text-strong));
  font-size: max(0.98rem, 15px);
  font-weight: 700;
}

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

.format-pick-guide__list li {
  display: grid;
  grid-template-columns: minmax(140px, auto) minmax(0, 1fr);
  gap: 4px 16px;
  align-items: baseline;
}

.format-pick-guide__use {
  color: var(--brass-500);
  font-size: max(0.94rem, 14.5px);
}

.format-pick-guide__name {
  color: var(--page-strong, var(--text-strong));
  font-size: max(0.9rem, 14px);
  font-weight: 700;
}

.format-pick-guide__desc {
  grid-column: 2;
  color: var(--page-dim, var(--text-dim-paper));
  font-size: max(0.86rem, 13.5px);
  line-height: 1.65;
}

@media (max-width: 640px) {
  .format-pick-guide__list li {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .format-pick-guide__desc {
    grid-column: 1;
  }
}

/* 角色包下载入口：演员页读完这个人之后最自然的下一步动作 */
.actor-pack-cta {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--page-line, var(--line-paper));
}

.actor-pack-cta .button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
}

.actor-pack-cta__note {
  margin: 10px 0 0;
  color: var(--page-dim, var(--text-dim-paper));
  font-size: max(0.86rem, 13.5px);
  line-height: 1.6;
}

/* 未开放的包没有按钮，标题就得自己立住，否则整块看着像一段没人管的说明文字。 */
.actor-pack-cta__title {
  margin: 0;
  font-weight: 600;
  color: var(--page-ink, var(--text-ink-paper));
}

/* 档位卡的一句话主张：先回答"这档是干嘛的"，再谈能拿到什么 */
.pricing-plan__headline {
  margin: 14px 0 6px;
  color: var(--page-strong, var(--text-strong));
  font-size: max(1.02rem, 16px);
  font-weight: 700;
  line-height: 1.45;
}

/* Limited release · 本月限定与快消（会员限定品 + 限时免费快消短剧） */

.limited-release {
  padding: 58px 0 64px;
  background: var(--band-bg);
  border-bottom: 1px solid var(--band-line);
}

.limited-release__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.limited-release__card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  background: var(--paper-50);
  border: 1px solid var(--line-paper);
  border-radius: 12px;
}

.limited-release__visual {
  margin: -22px -22px 2px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--ink-900);
  border-radius: 11px 11px 0 0;
}

.limited-release__visual-media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.limited-release__visual-caption {
  padding: 7px 12px 8px;
  color: var(--page-dim);
  background: var(--paper-100);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.limited-release__card--member {
  border-color: var(--brass-600);
  box-shadow: 0 0 0 1px var(--brass-600);
}

.limited-release__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.limited-release__window {
  color: var(--page-dim);
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
}

.limited-release__title {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.3;
}

.limited-release__subtitle {
  margin: 0;
  color: var(--page-dim);
  font-size: 0.9rem;
}

.limited-release__tagline {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
}

.limited-release__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

/* ============================================================
   演员库改版（2026-09-10）：组合台 / 案例与连载 / 许可 / 更新记录 / 常见问题
   ============================================================ */
.compose-teaser { padding-top: 56px; }
.layer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
  margin: 22px 0 26px;
}
.layer-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 150px;
  padding: 18px 18px 16px;
  border: 1px solid var(--page-line);
  border-radius: var(--radius-card);
  background: var(--paper-50);
  color: inherit;
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease;
}
.layer-card:hover { border-color: var(--page-accent); transform: translateY(-2px); }
.layer-card__key { font-family: var(--font-display); font-size: var(--text-md); color: var(--page-strong); }
.layer-card__copy { margin: 0; color: var(--page-dim); font-size: var(--text-sm); line-height: 1.6; }
.layer-card__count { margin-top: auto; font-size: var(--text-xs); color: var(--page-accent); letter-spacing: 0.02em; }

.compose-layer .section-head { margin-bottom: 4px; }
.compose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 18px;
}
.compose-card {
  overflow: hidden;
  border: 1px solid var(--page-line);
  border-radius: var(--radius-card);
  background: var(--paper-50);
}
.compose-card__body { display: grid; gap: 6px; padding: 12px 14px 14px; }
.compose-card__body strong { font-size: var(--text-sm); }
.compose-card__body .microcopy { margin: 0; }
.compose-template { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 20px; padding: 20px; border: 1px solid var(--page-line); border-radius: var(--radius-card); background: var(--paper-50); }
.compose-template dl { display: grid; grid-template-columns: 72px 1fr; gap: 6px 12px; margin: 10px 0 0; font-size: var(--text-sm); }
.compose-template dt { color: var(--page-dim); }
.compose-template dd { margin: 0; }
@media (max-width: 720px) { .compose-template { grid-template-columns: 1fr; } }

/* 首页「案例与连载」：排期、限时、动态收成一组，卡片压矮 */
.home-cases { border-top: 1px solid var(--page-line); }
.home-cases__intro { padding: 56px var(--page-gutter) 6px; }
.home-cases .limited-release { padding-top: 26px; background: transparent; border-bottom: 0; }
.home-cases .limited-release__grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.home-cases .limited-release__visual { max-height: 200px; overflow: hidden; }
.home-cases .world-live { padding-top: 26px; }

.pricing-pointer { padding-top: 26px; padding-bottom: 8px; }

.changelog-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 22px; }
.changelog-item { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 6px 22px; padding-bottom: 22px; border-bottom: 1px solid var(--page-line); }
.changelog-item time { color: var(--page-accent); font-variant-numeric: tabular-nums; font-size: var(--text-sm); padding-top: 3px; }
.changelog-item h3 { margin: 0; font-size: var(--text-md); font-family: var(--font-display); }
.changelog-item ul { margin: 8px 0 0; padding-left: 18px; color: var(--page-dim); line-height: 1.7; }
@media (max-width: 720px) { .changelog-item { grid-template-columns: 1fr; } }

.faq-group { margin-top: 30px; }
.faq-item { padding: 14px 0; border-bottom: 1px solid var(--page-line); }
.faq-item summary { cursor: pointer; font-weight: 600; line-height: 1.6; }
.faq-item p { margin: 10px 0 0; color: var(--page-dim); line-height: 1.75; max-width: 76ch; }
.faq-item .text-link { display: inline-block; margin-top: 8px; }

.license-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-top: 18px; }
.license-card { padding: 18px 18px 16px; border: 1px solid var(--page-line); border-left-width: 3px; border-radius: var(--radius-card); background: var(--paper-50); }
.license-card--yes { border-left-color: #5d8a5a; }
.license-card--no { border-left-color: var(--rust-500); }
.license-card strong { display: block; margin-bottom: 6px; }
.license-card p { margin: 0; color: var(--page-dim); font-size: var(--text-sm); line-height: 1.65; }
.faq-plain-list { margin: 14px 0 0; padding-left: 20px; color: var(--page-dim); line-height: 1.8; max-width: 76ch; }

/* 2026-09-10 R-B:配方 JSON 折叠块 */
.compose-recipe { margin-top: 10px; }
.compose-recipe summary { cursor: pointer; font-size: 13px; color: var(--ink-soft, #6b6257); }
.compose-recipe pre { margin: 8px 0 0; padding: 10px 12px; background: rgba(0, 0, 0, 0.04); border-radius: 8px; font-size: 12px; line-height: 1.5; overflow-x: auto; white-space: pre-wrap; word-break: break-all; }

/* 2026-09-10 P2:限时卡的卡司条 */
.limited-release__cast { margin-top: 10px; }
.limited-release__cast .asset-image { max-width: 132px; border-radius: 8px; }
.limited-release__cast .microcopy { margin-top: 6px; }

/* 2026-09-10 P5:组合台筛选条 */
.compose-status { padding-top: 24px; padding-bottom: 12px; }
.compose-filter { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding-top: 20px; padding-bottom: 24px; }
.compose-filter .eyebrow { width: 100%; margin: 0; }
.compose-filter__select, .compose-filter__input { padding: 8px 12px; border: 1px solid rgba(0,0,0,0.18); border-radius: 8px; background: transparent; font: inherit; color: inherit; }
.compose-filter__input { flex: 1 1 220px; min-width: 0; }
.compose-filter__chip { border: none; background: none; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.compose-filter__hits { min-height: 1em; }

/* 2026-09-10:模板/出演卡列表(此前误用 deck-more-wrap 的居中 flex 行,8 份模板会横向溢出) */
.compose-template-list { margin-top: 20px; display: grid; gap: 18px; }
@media (min-width: 960px) { .compose-template-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* 2026-09-11:账户页兑换码 */
.account-panel__redeem { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--page-line); }
.redeem-form { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.redeem-form__input { flex: 1 1 240px; min-width: 0; padding: 10px 14px; border: 1px solid rgba(0, 0, 0, 0.18); border-radius: 8px; background: transparent; font: inherit; color: inherit; letter-spacing: 0.08em; }
.redeem-form__status { min-height: 1.2em; margin-top: 8px; }

/* 2026-09-11:账户页积分与签到 */
.account-panel__points { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--page-line); }
.account-panel__points .account-facts { margin: 12px 0 14px; }

/* 2026-09-11:首屏静态内容(给爬虫与无 JS 环境;JS 就位后被替换) */
.seo-intro { max-width: 760px; margin: 0 auto; padding: 64px var(--page-gutter, 24px); }
.seo-intro h1 { font-size: clamp(28px, 5vw, 44px); margin: 0 0 18px; }
.seo-intro h2 { font-size: 1.15rem; margin: 30px 0 10px; }
.seo-intro__lead { font-size: 1.05rem; line-height: 1.75; }
.seo-intro ul { padding-left: 1.2em; line-height: 1.8; }
.seo-intro li { margin-bottom: 10px; }
.seo-intro__note { margin-top: 28px; font-size: 0.86rem; opacity: 0.7; }

/* Casting workbench: bounded shelves, visible progress, theme-aware surfaces. */
.casting-portrait .asset-image__media { object-fit: cover; object-position: center 15%; }
.actor-style-still { max-width: 440px; margin: 24px 0 40px; }
.actor-style-still figcaption { margin-top: 12px; line-height: 1.7; color: var(--page-dim); }
.workbench { padding-bottom: 80px; scroll-margin-top: 100px; }
body:has(.workbench) .page-dock { display: none; }
.page-intro.workbench-intro { padding-top: 32px; padding-bottom: 28px; }
.workbench-intro h1 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
.workbench-steps { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--page-line); margin-bottom: 18px; }
.workbench-step { appearance: none; border: 0; border-bottom: 3px solid transparent; background: transparent; color: var(--page-dim); min-height: 64px; font: inherit; text-align: left; padding: 16px; cursor: pointer; }
.workbench-step[aria-current="step"] { color: var(--page-strong); border-color: var(--brass-500); font-weight: 700; }
.workbench-step:disabled { opacity: .45; cursor: default; }
.workbench-status { color: var(--page-dim); line-height: 1.7; min-height: 1.7em; margin: 16px 0 24px; }
.workbench-modes, .workbench-shelves, .workbench-actions, .workbench-pagination { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.workbench-modes, .workbench-shelves { margin-bottom: 20px; }
html .workbench .button[aria-pressed="true"], html .workbench .button[aria-pressed="true"]:hover { background: var(--page-strong); color: var(--page-bg); border-color: var(--page-strong); }
.workbench-search { display: block; margin: 16px 0 24px; }
.workbench-search input, .workbench-field input, .workbench-field textarea, .workbench-field select { width: 100%; min-width: 0; min-height: 46px; border: 1px solid var(--page-line); background: var(--page-bg); color: var(--page-text); border-radius: 4px; padding: 12px; font: inherit; box-sizing: border-box; }
.workbench-search input { max-width: 560px; }
.workbench-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.workbench-card { min-width: 0; border: 1px solid var(--page-line); background: var(--band-bg); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; }
.workbench-card .asset-image { border: 0; border-radius: 0; width: 100%; height: auto; aspect-ratio: 4 / 5; background: #e8e6e2; }
.workbench-card .asset-image__media { object-fit: contain; }
.workbench-actor .asset-image__media { object-fit: cover; object-position: center 15%; }
.workbench-card-copy { padding: 16px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.workbench-card-copy h2, .workbench-card-copy h3 { font-size: 1rem; line-height: 1.5; margin: 0; overflow-wrap: anywhere; }
.workbench-card-copy p { margin: 0; }
.workbench-card-copy .button { margin-top: auto; min-height: 44px; }
.workbench-card-copy .text-link { font-size: .82rem; }
.workbench-card.is-selected { outline: 2px solid var(--brass-500); outline-offset: -2px; }
.workbench-description summary { font-size: .8rem; color: var(--page-dim); cursor: pointer; }
.workbench-description p { margin-top: 10px; }
.workbench-pagination { justify-content: space-between; margin: 24px 0; color: var(--page-dim); font-size: .86rem; }
.workbench-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; align-items: start; }
.workbench-actor-summary { position: sticky; top: 100px; }
.workbench-actor-summary > .asset-image { width: 160px; aspect-ratio: 4 / 5; }
.workbench-actor-summary h2 { font-size: 1.4rem; margin: 16px 0 8px; }
.workbench-field { display: flex; flex-direction: column; gap: 8px; margin: 18px 0; font-size: .92rem; }
.workbench-shelf { min-width: 0; }
.workbench-shelf .workbench-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.workbench-empty { grid-column: 1 / -1; padding: 48px 16px; text-align: center; }
.workbench-actions { padding-top: 22px; border-top: 1px solid var(--page-line); margin-top: 24px; }
.workbench-paste { width: 100%; margin-top: 12px; }
.workbench-paste summary { cursor: pointer; color: var(--page-dim); font-size: .86rem; }
.workbench-review-head { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 24px; align-items: center; margin-bottom: 32px; }
.workbench-review-head .asset-image { aspect-ratio: 4 / 5; }
.workbench-review-head h2 { font-size: 1.6rem; }
.workbench-selected { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.workbench-selected .asset-image { aspect-ratio: 1; }
.workbench-selected .workbench-card-copy { font-size: .85rem; }
.workbench-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.workbench-review-rules { margin: 20px 0; padding: 20px; border: 1px solid var(--page-line); }
.workbench-review-rules summary { cursor: pointer; }
.workbench :focus-visible { outline: 3px solid var(--brass-500); outline-offset: 3px; }
.workbench button:disabled { opacity: .45; cursor: default; }
@media (max-width: 1050px) {
  .workbench-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .workbench-layout { gap: 24px; grid-template-columns: 180px minmax(0, 1fr); }
  .workbench-shelf .workbench-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .workbench-step { padding: 14px 8px; font-size: .9rem; min-height: 52px; }
  .workbench-grid, .workbench-shelf .workbench-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .workbench-layout { display: block; }
  .workbench-actor-summary { position: static; display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 8px 20px; margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid var(--page-line); }
  .workbench-actor-summary > .asset-image { width: 100px; grid-row: span 3; }
  .workbench-actor-summary h2 { margin: 0; align-self: end; }
  .workbench-actor-summary > p { margin: 0; }
  .workbench-actor-summary > .workbench-field, .workbench-actor-summary > p:last-child { grid-column: 1 / -1; }
  .workbench-actor-summary > .workbench-field { grid-column: auto; }
  .workbench-actor-summary .workbench-field { margin: 8px 0; }
  .workbench-shelves { gap: 8px; }
  .workbench-shelves .button { padding: 10px 14px; }
  .workbench-card-copy { padding: 12px; gap: 10px; }
  .workbench-card-copy .button { padding: 10px 8px; font-size: .86rem; }
  .workbench-selected { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .workbench-fields { display: block; }
  .workbench-review-head { grid-template-columns: 100px minmax(0, 1fr); gap: 18px; }
  .workbench-review-head h2 { font-size: 1.25rem; }
  .workbench-pagination { gap: 8px; font-size: .8rem; }
  .workbench-pagination .button { padding: 10px 12px; }
}
