/* ============================================================
   AI虚拟恋人 aixnlr.com
   暖白纸感 / 宋体大标题 / 细线分隔 / 玫瑰红点缀
   ============================================================ */

:root {
  --paper: #f6f1e8;
  --paper-2: #fffdf9;
  --ink: #1b1815;
  --ink-2: #5a5248;
  --ink-3: #8d8377;
  --line: #e3d8c7;
  --line-2: #d5c7b2;
  --rose: #ac3a51;
  --rose-2: #c9697c;
  --rose-wash: #f1e0df;
  --serif: Georgia, "Songti SC", "STSong", "Noto Serif SC", SimSun, serif;
  --sans: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Noto Sans SC", -apple-system, sans-serif;
  --shadow: 0 18px 44px rgba(59, 44, 28, .14);
  --shadow-sm: 0 8px 22px rgba(59, 44, 28, .09);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.85;
  overflow-x: hidden;
  font-feature-settings: "palt" 1;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--rose); color: #fff; }

.container { width: min(1140px, 90%); margin: 0 auto; }
.container--narrow { width: min(760px, 90%); margin: 0 auto; }

/* —— 通用文字元素 —— */
.kicker {
  font-family: var(--serif);
  font-size: 11.5px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.serif { font-family: var(--serif); }
.rule { height: 1px; background: var(--line); border: 0; }
.dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--rose); vertical-align: middle; margin: 0 10px 3px; }

/* ============ 导航 ============ */
header {
  position: sticky; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(246, 241, 232, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo {
  display: flex; align-items: center; gap: 11px;
  font-family: var(--serif); font-size: 19px; font-weight: 700;
  letter-spacing: .04em; color: var(--ink);
}
.logo .mark {
  width: 36px; height: 36px; border-radius: 9px; object-fit: cover;
  box-shadow: 0 3px 10px rgba(27, 24, 21, .18);
}
.logo .en { font-family: var(--serif); font-size: 10.5px; letter-spacing: .2em; color: var(--ink-3); display: block; font-weight: 400; margin-top: 2px; }
.nav-links { display: flex; align-items: center; gap: 26px; font-size: 15px; }
.nav-links a { color: var(--ink-2); line-height: 1; letter-spacing: .02em; padding: 4px 0; position: relative; transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); font-weight: 600; }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px;
  height: 2px; background: var(--rose);
}
.nav-links a.nav-cta {
  background: var(--ink); color: var(--paper);
  padding: 9px 22px; border-radius: 4px; font-weight: 600;
  transition: background .2s;
}
.nav-links a.nav-cta:hover { background: var(--rose); color: #fff; }
.nav-links a.nav-cta::after { display: none; }

.hamburger {
  display: none; flex-direction: column; gap: 5px; justify-content: center;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.hamburger span { width: 22px; height: 1.5px; background: var(--ink); transition: .25s; }
.mobile-menu {
  display: none; flex-direction: column;
  background: var(--paper-2); border-bottom: 1px solid var(--line);
  padding: 6px 5% 14px;
}
.mobile-menu a { padding: 12px 0; color: var(--ink-2); border-bottom: 1px solid var(--line); font-size: 15px; }
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a.active { color: var(--rose); font-weight: 600; }
.mobile-menu.open { display: flex; }

/* ============ 首屏 ============ */
.hero { position: relative; overflow: hidden; padding: 66px 0 72px; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(620px 420px at 88% 8%, rgba(172, 58, 81, .09), transparent 68%),
    radial-gradient(520px 380px at 4% 82%, rgba(201, 157, 106, .12), transparent 70%);
}
.hero-inner {
  position: relative;
  display: grid; grid-template-columns: 1.04fr .96fr;
  gap: 54px; align-items: center;
}
.hero-inner > * { min-width: 0; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12.5px; color: var(--ink-2);
  border: 1px solid var(--line-2); border-radius: 999px;
  padding: 5px 15px 5px 11px; margin-bottom: 26px;
  background: rgba(255, 253, 249, .7);
}
.hero-badge .new {
  font-family: var(--serif); font-size: 10px; letter-spacing: .12em;
  background: var(--rose); color: #fff; border-radius: 999px; padding: 2px 8px;
}
.hero h1 {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(32px, 4.4vw, 58px);
  line-height: 1.3; letter-spacing: -.005em;
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: normal; color: var(--rose);
  background: linear-gradient(transparent 64%, var(--rose-wash) 64%);
}
.hero p.lead {
  color: var(--ink-2); font-size: 16.5px; max-width: 520px;
  margin-bottom: 32px;
}
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 28px; border-radius: 4px; border: 1px solid transparent;
  font-size: 15.5px; font-weight: 600; cursor: pointer;
  transition: transform .18s, background .2s, color .2s, box-shadow .2s;
}
.btn-primary { background: var(--ink); color: var(--paper); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--rose); transform: translateY(-2px); }
.btn-ghost { border-color: var(--line-2); color: var(--ink); background: rgba(255, 253, 249, .6); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn .ico { font-size: 15px; line-height: 1; }
.hero-note { font-size: 12.5px; color: var(--ink-3); margin-top: 14px; }

.hero-meta {
  display: flex; gap: 0; margin-top: 40px;
  border-top: 1px solid var(--line); padding-top: 20px;
}
.hero-meta .item { flex: 1; padding-right: 16px; }
.hero-meta .item + .item { border-left: 1px solid var(--line); padding-left: 20px; }
.hero-meta strong {
  display: block; font-family: var(--serif); font-size: 25px; line-height: 1.2;
  font-weight: 700; color: var(--ink); margin-bottom: 3px;
}
.hero-meta span { font-size: 12.5px; color: var(--ink-3); letter-spacing: .02em; }

/* 首屏视觉：大截图 + 角色卡叠放 */
.hero-visual { position: relative; padding: 10px 0 34px; }
.hv-wash {
  position: absolute; right: -6%; top: 2%;
  width: 84%; height: 88%;
  background: linear-gradient(150deg, #f2dfdd, #efe2cd 62%, #f7f2e9);
  border-radius: 2px; transform: rotate(2.4deg);
}
.hv-shot {
  position: relative; width: 60%; margin-left: auto;
  border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow); background: #0e0d13;
  transform: rotate(-1.2deg);
}
.hv-shot img { width: 100%; }
.hv-card {
  position: absolute; left: -3%; bottom: 2px; width: 37%;
  border: 6px solid var(--paper-2); border-radius: 4px; overflow: hidden;
  box-shadow: 0 20px 40px rgba(59, 44, 28, .22);
  transform: rotate(-3.2deg);
}
.hv-card img { width: 100%; }

/* ============ 通用区块 ============ */
section { padding: 84px 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 42px; }
.sec-head .idx {
  font-family: var(--serif); font-size: 12px; letter-spacing: .2em;
  color: var(--rose); margin-bottom: 12px; display: block;
}
.sec-head h2 {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(25px, 3.2vw, 38px); line-height: 1.36;
  text-wrap: balance;
}
.sec-head p { color: var(--ink-2); font-size: 15px; margin-top: 10px; max-width: 620px; }
.sec-head .more {
  font-size: 13.5px; color: var(--ink-2); white-space: nowrap;
  border-bottom: 1px solid var(--line-2); padding-bottom: 2px;
}
.sec-head .more:hover { color: var(--rose); border-color: var(--rose); }
.sec--paper2 { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* —— 导语段 —— */
.statement {
  display: grid; grid-template-columns: 200px 1fr; gap: 40px;
  padding: 44px 0 0; border-top: 1px solid var(--line);
}
.statement .lbl { font-family: var(--serif); font-size: 12px; letter-spacing: .2em; color: var(--ink-3); }
.statement p {
  font-family: var(--serif); font-size: clamp(18px, 2.1vw, 24px);
  line-height: 1.72; color: var(--ink);
}
.statement p + p { margin-top: 16px; font-family: var(--sans); font-size: 15.5px; color: var(--ink-2); line-height: 1.9; }

/* —— 功能清单（编号 + 细线，不用卡片） —— */
.feat-list { border-top: 1px solid var(--line); }
.feat {
  display: grid; grid-template-columns: 66px 1fr 1.15fr; gap: 26px;
  padding: 26px 0; border-bottom: 1px solid var(--line);
  align-items: start;
}
.feat .num {
  font-family: var(--serif); font-size: 13px; letter-spacing: .1em;
  color: var(--rose); padding-top: 6px;
}
.feat h3 {
  font-family: var(--serif); font-size: 20px; font-weight: 700; line-height: 1.5;
  padding-top: 2px;
}
.feat p { color: var(--ink-2); font-size: 15px; }
.feat .tagline { display: block; font-size: 12.5px; color: var(--ink-3); margin-top: 6px; letter-spacing: .02em; }

/* —— 截图 —— */
.shots { display: flex; justify-content: center; flex-wrap: wrap; gap: 30px; }
.shots > * { min-width: 0; }
.shots .shot { flex: 0 1 286px; max-width: 286px; }
.shot figure { margin: 0; }
.shot .frame {
  border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden;
  background: #0e0d13; box-shadow: var(--shadow-sm);
  aspect-ratio: 520 / 1124;
}
.shot .frame img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.shot figcaption { margin-top: 16px; }
.shot .cap-n { font-family: var(--serif); font-size: 11px; letter-spacing: .18em; color: var(--rose); }
.shot h3 { font-family: var(--serif); font-size: 16.5px; font-weight: 700; margin: 5px 0 4px; }
.shot p { font-size: 13.5px; color: var(--ink-2); line-height: 1.75; }

/* —— 引言 —— */
.pullquote { text-align: center; padding: 56px 0; position: relative; }
.pullquote::before, .pullquote::after {
  content: ""; display: block; width: 40px; height: 1px; background: var(--line-2);
  margin: 0 auto;
}
.pullquote::before { margin-bottom: 34px; }
.pullquote::after { margin-top: 34px; }
.pullquote blockquote {
  font-family: var(--serif); font-size: clamp(23px, 3.4vw, 36px);
  line-height: 1.62; color: var(--ink); max-width: 760px; margin: 0 auto;
}
.pullquote cite {
  display: block; margin-top: 18px; font-style: normal;
  font-size: 12.5px; letter-spacing: .12em; color: var(--ink-3); font-family: var(--serif);
}

/* —— 角色卡 —— */
.role-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.role-grid > * { min-width: 0; }
.role-card {
  border: 1px solid var(--line); border-radius: 3px; overflow: hidden;
  background: var(--paper-2);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.role-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); border-color: var(--line-2); }
.role-card img { width: 100%; }
.role-card .note {
  padding: 11px 12px 13px; font-size: 12.5px; color: var(--ink-2);
  border-top: 1px solid var(--line); line-height: 1.6;
}
.role-card .note b { font-weight: 600; color: var(--ink); }
.disclaimer { font-size: 12.5px; color: var(--ink-3); margin-top: 18px; }

.role-more { display: none; }
@media (max-width: 900px) {
  .role-more {
    display: flex; flex-direction: column; justify-content: center; gap: 6px;
    border: 1px dashed var(--line-2); border-radius: 3px; padding: 20px 14px;
    text-align: center; background: rgba(255, 253, 249, .6);
  }
  .role-more span { font-size: 12px; color: var(--ink-3); letter-spacing: .06em; }
  .role-more strong { font-family: var(--serif); font-size: 15px; font-weight: 700; color: var(--ink); }
  .role-more em { font-style: normal; font-size: 11px; color: var(--ink-3); line-height: 1.6; }
}

/* —— 三步 —— */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.steps > * { min-width: 0; }
.step { padding: 30px 26px 30px 0; border-bottom: 1px solid var(--line); }
.step + .step { border-left: 1px solid var(--line); padding-left: 26px; }
.step .n {
  font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--line-2);
  margin-bottom: 14px;
}
.step h3 { font-family: var(--serif); font-size: 18px; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--ink-2); }

/* —— 场景（谁在用） —— */
.scene-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.scene-grid > * { min-width: 0; }
.scene { padding-top: 18px; border-top: 2px solid var(--ink); }
.scene h3 { font-family: var(--serif); font-size: 17.5px; margin: 12px 0 8px; }
.scene p { font-size: 14.5px; color: var(--ink-2); }

/* ============ 下载区 ============ */
.dl-band { background: #efe7d9; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.dl-wrap {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center;
  padding: 62px 0;
}
.dl-wrap h2 { font-family: var(--serif); font-size: clamp(26px, 3.2vw, 36px); line-height: 1.4; margin-bottom: 12px; }
.dl-wrap .sub { color: var(--ink-2); font-size: 15.5px; margin-bottom: 24px; max-width: 480px; }
.dl-list { list-style: none; margin-bottom: 26px; }
.dl-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14.5px; color: var(--ink-2); padding: 5px 0;
}
.dl-list li::before { content: "—"; color: var(--rose); flex-shrink: 0; }
.dl-side { text-align: center; }
.qr {
  width: 178px; height: 178px; margin: 0 auto;
  background: #fff; border: 1px solid var(--line-2); border-radius: 4px;
  display: grid; place-items: center; padding: 10px;
  box-shadow: var(--shadow-sm);
}
.qr canvas, .qr img { width: 100% !important; height: 100% !important; }
.qr.empty {
  border: 1px dashed var(--line-2); background: rgba(255, 253, 249, .45);
  box-shadow: none; color: var(--ink-3);
  font-size: 12.5px; line-height: 1.75; text-align: center; padding: 0 24px;
}
.qr-label { font-size: 12.5px; color: var(--ink-2); margin-top: 12px; letter-spacing: .04em; }
.qr-note { font-size: 11.5px; color: var(--ink-3); margin-top: 4px; }

/* ============ FAQ ============ */
.faq-list { max-width: 820px; margin: 0; border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary {
  cursor: pointer; list-style: none; color: var(--ink);
  padding: 20px 2px; font-size: 16.5px; font-weight: 600;
  display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
  font-family: var(--serif);
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--serif); font-size: 20px; color: var(--rose); flex-shrink: 0; transition: transform .25s; }
details[open] summary::after { transform: rotate(45deg); }
details .ans { padding: 0 2px 22px; color: var(--ink-2); font-size: 15px; }
details .ans p + p { margin-top: 10px; }

/* ============ 内容页通用 ============ */
.page-head { padding: 56px 0 40px; border-bottom: 1px solid var(--line); }
.page-head .crumb { font-size: 12.5px; color: var(--ink-3); margin-bottom: 18px; }
.page-head .crumb a:hover { color: var(--rose); }
.page-head h1 {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(28px, 4vw, 46px); line-height: 1.34; margin-bottom: 16px;
  text-wrap: balance;
}
.page-head .dek { color: var(--ink-2); font-size: 16px; max-width: 660px; }
.page-head .meta { font-size: 12.5px; color: var(--ink-3); margin-top: 18px; letter-spacing: .04em; }

.prose { padding: 52px 0 76px; }
.prose h2 {
  font-family: var(--serif); font-size: clamp(22px, 2.6vw, 29px); font-weight: 700;
  margin: 46px 0 14px; line-height: 1.5;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-family: var(--serif); font-size: 19px; margin: 30px 0 10px; }
.prose p { color: var(--ink-2); margin-bottom: 16px; }
.prose p strong { color: var(--ink); font-weight: 600; }
.prose ul, .prose ol { margin: 0 0 18px 1.2em; color: var(--ink-2); }
.prose li { margin-bottom: 8px; }
.prose p a, .prose li a, .prose td a, .prose .note-box a {
  color: var(--rose); border-bottom: 1px solid rgba(172, 58, 81, .35);
}
.prose p a:hover, .prose li a:hover, .prose td a:hover, .prose .note-box a:hover { border-color: var(--rose); }
.prose blockquote {
  margin: 26px 0; padding: 18px 22px;
  border-left: 2px solid var(--rose); background: rgba(255, 253, 249, .8);
  font-family: var(--serif); font-size: 16.5px; color: var(--ink); line-height: 1.8;
}
.prose .figure { margin: 30px 0; }
.prose .figure img { border: 1px solid var(--line-2); border-radius: 10px; }
.prose .figure figcaption { font-size: 12.5px; color: var(--ink-3); margin-top: 10px; }
.prose table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 14.5px; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 11px 8px; text-align: left; color: var(--ink-2); }
.prose th { color: var(--ink); font-weight: 600; font-family: var(--serif); }
.prose .note-box {
  border: 1px solid var(--line-2); background: rgba(255, 253, 249, .7);
  padding: 20px 22px; margin: 26px 0; font-size: 14.5px; color: var(--ink-2);
}
.prose .note-box b { color: var(--ink); }

.related { border-top: 1px solid var(--line); padding-top: 26px; margin-top: 46px; }
.related h2 { font-size: 16px !important; margin: 0 0 12px !important; }
.related ul { list-style: none; margin: 0 !important; }
.related li { margin-bottom: 10px; font-size: 15px; }
.related li a { color: var(--ink); border-bottom: 1px solid var(--line-2); }
.related li a:hover { color: var(--rose); border-color: var(--rose); }

/* 角色详情 */
.role-detail { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: start; }
.role-detail + .role-detail { margin-top: 44px; padding-top: 44px; border-top: 1px solid var(--line); }
.role-detail .pic { border: 1px solid var(--line); border-radius: 3px; overflow: hidden; background: var(--paper-2); }
.role-detail h2 { margin-top: 0 !important; }
.role-detail .attr { font-size: 12.5px; color: var(--ink-3); letter-spacing: .04em; margin-bottom: 14px; }
.role-detail .attr span + span::before { content: " / "; color: var(--line-2); }

/* 资讯列表 */
.post-list { border-top: 1px solid var(--line); }
.post {
  display: grid; grid-template-columns: 168px 1fr; gap: 26px;
  padding: 24px 0; border-bottom: 1px solid var(--line);
  align-items: start;
}
.post > * { min-width: 0; }
.post .thumb { border: 1px solid var(--line); border-radius: 2px; overflow: hidden; aspect-ratio: 4/3; background: var(--paper); }
.post .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.post .date { font-family: var(--serif); font-size: 11.5px; letter-spacing: .14em; color: var(--ink-3); }
.post h2 { font-family: var(--serif); font-size: 20px; font-weight: 700; margin: 6px 0 6px; line-height: 1.5; }
.post h2 a { color: var(--ink); }
.post h2 a:hover { color: var(--rose); }
.post p { font-size: 14.5px; color: var(--ink-2); }

/* ============ 页脚 ============ */
body > footer {
  background: var(--ink); color: #c9bfb1;
  padding: 56px 0 34px; margin-top: 0;
  font-size: 14px;
}
.foot-top { display: grid; grid-template-columns: 1.2fr 2fr; gap: 48px; padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-brand img { width: 40px; height: 40px; border-radius: 9px; }
.foot-brand .name { font-family: var(--serif); font-size: 18px; color: #f3ece1; letter-spacing: .04em; }
.foot-brand .name small { display: block; font-size: 10px; letter-spacing: .18em; color: #8f8577; font-family: var(--serif); font-weight: 400; }
.foot-desc { font-size: 13px; line-height: 1.9; color: #9c9285; margin-top: 16px; max-width: 320px; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.foot-cols h3 {
  font-family: var(--serif); font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: #8f8577; margin-bottom: 12px; font-weight: 400;
}
.foot-cols a { display: block; color: #c9bfb1; font-size: 13.5px; padding: 4px 0; }
.foot-cols a:hover { color: #fff; }
.foot-seo { font-size: 12.5px; color: #857b6f; line-height: 1.9; padding: 24px 0 18px; max-width: 880px; }

/* 友情链接（仅首页） */
.friend-links {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 16px;
  padding: 16px 0; border-top: 1px dashed rgba(255, 255, 255, .14);
  font-size: 12.5px;
}
.fl-label { color: #857b6f; }
.fl-list { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.fl-list a { color: #9c9285; }
.fl-list a:hover { color: #fff; }
.copyright { font-size: 12px; color: #7d7367; padding-top: 14px; }
.copyright a { color: #9c9285; }
.copyright a:hover { color: #fff; }

/* ============ 返回顶部 ============ */
.back-top {
  position: fixed; right: 26px; bottom: 32px; z-index: 99;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); color: var(--paper); border: none; cursor: pointer;
  display: grid; place-items: center; font-size: 16px;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s, transform .25s, visibility .25s, background .2s;
  box-shadow: 0 10px 24px rgba(27, 24, 21, .25);
}
.back-top.show { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { background: var(--rose); }

/* ============ 移动端底栏 ============ */
.mobile-dl {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 98;
  padding: 9px 4% calc(9px + env(safe-area-inset-bottom, 0px));
  background: rgba(246, 241, 232, .95);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line-2);
  gap: 10px; align-items: center;
}
.mobile-dl .btn { flex: 1; padding: 12px 0; font-size: 15px; }
.mobile-dl .mini { font-size: 12px; color: var(--ink-3); line-height: 1.4; flex: 0 0 auto; text-align: center; }

/* ============ 扫码弹层 ============ */
.dl-modal {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .22s, visibility .22s;
}
.dl-modal.open { opacity: 1; visibility: visible; }
.dl-modal__mask { position: absolute; inset: 0; background: rgba(27, 24, 21, .55); backdrop-filter: blur(4px); }
.dl-modal__card {
  position: relative; z-index: 1; width: min(420px, 92vw);
  background: var(--paper-2); border: 1px solid var(--line-2); border-radius: 4px;
  padding: 32px 26px 26px; text-align: center;
  box-shadow: 0 30px 70px rgba(27, 24, 21, .35);
  transform: translateY(12px); transition: transform .26s;
}
.dl-modal.open .dl-modal__card { transform: none; }
.dl-modal__close {
  position: absolute; top: 8px; right: 10px; width: 32px; height: 32px;
  border: none; background: none; color: var(--ink-3); font-size: 22px; cursor: pointer; line-height: 1;
}
.dl-modal__close:hover { color: var(--ink); }
.dl-modal .kicker { margin-bottom: 8px; }
.dl-modal h3 { font-family: var(--serif); font-size: 21px; margin-bottom: 6px; }
.dl-modal__sub { color: var(--ink-2); font-size: 13px; }
.dl-qrrow { display: flex; gap: 20px; justify-content: center; margin: 22px 0 14px; }
.dl-qr-item { font-size: 12.5px; color: var(--ink-2); }
.dl-qr-item span { display: block; margin-top: 8px; }
.dl-qr-item[hidden] { display: none; }
.dl-modal__qr {
  width: 146px; height: 146px; background: #fff; border: 1px solid var(--line-2);
  border-radius: 3px; padding: 8px; display: grid; place-items: center; overflow: hidden;
}
.dl-modal__qr img, .dl-modal__qr canvas { width: 100% !important; height: 100% !important; display: block; }
.dl-modal__qr.empty {
  font-size: 12.5px; color: var(--ink-3); line-height: 1.7; padding: 0 16px;
  border-style: dashed; background: var(--paper);
}
.dl-modal__hint { color: var(--ink-3); font-size: 12px; line-height: 1.7; }
.dl-modal__links {
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 12.5px;
}
.dl-modal__links a { color: var(--rose); }
.dl-modal__links a:hover { text-decoration: underline; }
.dl-modal__links span { color: var(--line-2); }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 96px; z-index: 300;
  transform: translateX(-50%) translateY(10px);
  background: rgba(27, 24, 21, .92); color: #f6f1e8;
  padding: 10px 20px; border-radius: 4px; font-size: 13.5px;
  pointer-events: none; opacity: 0; transition: opacity .25s, transform .25s;
  max-width: 86vw; text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
body.modal-open { overflow: hidden; }

/* ============ 滚动浮现（未加 js-reveal 时内容始终可见） ============ */
.js-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js-reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js-reveal { opacity: 1; transform: none; } }

/* ============ 响应式 ============ */
@media (max-width: 1024px) {
  .role-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-inner { gap: 34px; }
  .hv-shot { width: 64%; }
}

@media (max-width: 900px) {
  body { padding-bottom: 64px; }
  .mobile-dl { display: flex; }
  .back-top { right: 14px; bottom: calc(74px + env(safe-area-inset-bottom, 0px)); }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav { height: 60px; }
  .logo { font-size: 17px; }
  .logo .mark { width: 32px; height: 32px; }
  .logo .en { display: none; }

  .hero { padding: 34px 0 48px; }
  .hero-inner { grid-template-columns: 1fr; gap: 30px; }
  .hero-badge { margin-bottom: 18px; }
  .hero h1 { font-size: clamp(29px, 8.4vw, 40px); margin-bottom: 16px; }
  .hero p.lead { font-size: 15.5px; margin-bottom: 24px; }
  .btn-row .btn { flex: 1 1 0; padding: 13px 12px; font-size: 15px; }
  .hero-meta { margin-top: 26px; padding-top: 16px; }
  .hero-meta .item { padding-right: 10px; }
  .hero-meta .item + .item { padding-left: 12px; }
  .hero-meta strong { font-size: 19px; }
  .hero-meta span { font-size: 11px; }
  .hero-visual { padding: 0 0 20px; max-width: 470px; margin: 0 auto; width: 100%; }
  .hv-shot { width: 63%; }
  .hv-card { left: 0; width: 42%; border-width: 5px; }

  section { padding: 54px 0; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 26px; }
  .sec-head h2 { font-size: clamp(23px, 6.4vw, 30px); }
  .sec-head p { font-size: 14.5px; }

  .statement { grid-template-columns: 1fr; gap: 12px; padding-top: 26px; }
  .statement p { font-size: 18px; }

  .feat { grid-template-columns: 42px 1fr; gap: 6px 12px; padding: 20px 0; }
  .feat .num { padding-top: 4px; font-size: 12px; }
  .feat h3 { font-size: 17.5px; }
  .feat p { grid-column: 2; font-size: 14.5px; }

  .shots {
    display: flex; flex-wrap: nowrap; justify-content: flex-start;
    overflow-x: auto; gap: 14px;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; padding-bottom: 4px;
  }
  .shots::-webkit-scrollbar { display: none; }
  .shots .shot { flex: 0 0 72%; max-width: none; scroll-snap-align: start; }
  .shot h3 { font-size: 15px; }
  .shot p { font-size: 12.5px; }

  /* 角色区：两列网格 */
  .role-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .role-card .note { padding: 9px 10px 11px; font-size: 11.5px; }

  .steps { grid-template-columns: 1fr; border-top: 0; }
  .step { padding: 18px 0; display: grid; grid-template-columns: 46px 1fr; gap: 0 12px; }
  .step + .step { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .step .n { font-size: 30px; margin-bottom: 0; }
  .step h3 { font-size: 16.5px; margin-bottom: 4px; }
  .step p { grid-column: 2; font-size: 14px; }

  .scene-grid { grid-template-columns: 1fr; gap: 22px; }

  .dl-wrap { grid-template-columns: 1fr; gap: 30px; padding: 44px 0; text-align: left; }
  .dl-side { display: none; }

  .pullquote { padding: 46px 0; }
  .pullquote blockquote { font-size: clamp(20px, 5.6vw, 26px); }

  .page-head { padding: 30px 0 26px; }
  .page-head h1 { font-size: clamp(25px, 7vw, 34px); }
  .prose { padding: 34px 0 52px; }
  .prose h2 { margin-top: 34px; }

  .role-detail { grid-template-columns: 1fr; gap: 18px; }
  .role-detail .pic { max-width: 260px; }
  .role-detail + .role-detail { margin-top: 30px; padding-top: 30px; }

  .post { grid-template-columns: 104px 1fr; gap: 14px; }
  .post h2 { font-size: 16.5px; }
  .post p { font-size: 13px; }

  body > footer { padding: 40px 0 28px; }
  .foot-top { grid-template-columns: 1fr; gap: 26px; padding-bottom: 24px; }
  .foot-cols { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .friend-links { justify-content: flex-start; }
}

@media (max-width: 360px) {
  .role-grid { grid-template-columns: 1fr; }
  .hero-meta strong { font-size: 17px; }
}


/* ============ 辅助类 ============ */
.link-inline { color: var(--rose); border-bottom: 1px solid rgba(172, 58, 81, .35); }
.link-inline:hover { border-color: var(--rose); }
.dl-band--box { border: 1px solid var(--line-2); margin: 0 0 34px; }
.dl-wrap--tight { padding: 34px 0; }
.dl-wrap--tight h2 { font-size: 26px; }
.disclaimer--gap { margin-top: 36px; }
.prose .dl-band .dl-wrap { grid-template-columns: 1fr; gap: 26px; padding: 30px 28px; }
.prose .dl-side { text-align: left; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.prose .dl-side .qr { margin: 0; width: 150px; height: 150px; }
.prose .dl-side .qr-label { margin: 0; }
.prose .dl-side .qr-note { margin: 0; max-width: 300px; }
