/* =========================================================
   泰山时刻 · 拓片学堂 —— 视觉系统
   纸 / 墨 / 朱砂 / 泥金
   ========================================================= */

:root {
  --paper: #f6f1e5;
  --paper-2: #efe8d6;
  --card: #fbf8ef;
  --ink: #1c1a17;
  --ink-2: #3a362f;
  --ink-3: #6b655a;
  --red: #a8342a;
  --red-dark: #8c2a22;
  --gold: #8a6f3c;
  --stone: #5f6b63;
  --line: #ddd3bd;
  --shadow: 0 2px 14px rgba(60, 50, 30, .10);
  --serif: "Ma Shan Zheng", "STLiti", "LiSu", "KaiTi", "STKaiti", "楷体", serif;
  --song: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", "宋体", serif;
  --kai: "KaiTi", "STKaiti", "Kaiti SC", "楷体", "Source Han Serif SC", serif;
  --sans: var(--song);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--song);
  font-weight: 400;
  background:
    radial-gradient(1200px 500px at 85% -100px, rgba(168, 52, 42, .05), transparent 60%),
    var(--paper);
  color: var(--ink);
  line-height: 1.75;
  min-height: 100vh;
}

/* ---------- 顶部导航 ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 241, 229, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar-in {
  max-width: 1080px; margin: 0 auto;
  display: flex; align-items: center; gap: 8px;
  padding: 10px 20px;
  flex-wrap: wrap;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  margin-right: 14px; cursor: pointer;
  text-decoration: none; color: var(--ink);
}
.brand-seal {
  width: 38px; height: 38px;
  background: var(--red); color: #f6efe0;
  font-family: var(--serif); font-weight: 700; font-size: 17px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 6px;
  box-shadow: inset 0 0 0 2px rgba(246, 239, 224, .35), inset 0 0 12px rgba(0,0,0,.18);
  writing-mode: vertical-rl; letter-spacing: 1px;
  line-height: 1.05;
}
.brand-name { font-family: var(--serif); font-size: 19px; font-weight: 700; letter-spacing: 2px; }
.brand-sub { font-size: 10.5px; color: var(--ink-3); letter-spacing: 3px; display: block; line-height: 1.2; }
.nav { display: flex; gap: 2px; flex-wrap: wrap; margin-left: auto; }
.nav a {
  padding: 7px 13px; border-radius: 8px;
  color: var(--ink-2); text-decoration: none; font-size: 14px;
  cursor: pointer; transition: all .18s;
  white-space: nowrap;
}
.nav a:hover { background: var(--paper-2); color: var(--ink); }
.nav a.on { background: var(--ink); color: var(--paper); }

/* ---------- 页面容器 ---------- */
.view { display: none; max-width: 1080px; margin: 0 auto; padding: 30px 20px 90px; }
.view.on { display: block; animation: fadein .35s ease; }
@keyframes fadein { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- 首页 Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  border-radius: 18px;
  background: var(--ink);
  color: var(--paper);
  box-shadow: var(--shadow);
  display: grid; grid-template-columns: 1.05fr 1fr;
  min-height: 380px;
}
.hero-l { padding: 52px 48px; display: flex; flex-direction: column; justify-content: center; }
.hero-kicker {
  font-family: var(--song); font-weight: 400;
  color: #cfa96b; font-size: 13px; letter-spacing: 6px; margin-bottom: 16px;
}
.hero h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(34px, 5vw, 52px); line-height: 1.32; letter-spacing: 4px;
}
.hero h1 em { font-style: normal; color: #e8b04a; }
.hero p { margin-top: 18px; color: #b8b1a2; font-size: 15px; max-width: 42ch; }
.hero-cta { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-r {
  position: relative; display: flex; align-items: center; justify-content: center;
  padding: 34px; min-height: 300px;
}
.hero-r canvas {
  max-width: 100%; max-height: 330px;
  border-radius: 6px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .5);
  transform: rotate(-1.6deg);
}

/* ---------- 模块卡片 ---------- */
.mods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 26px; }
.mod {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; padding: 24px 22px 20px;
  cursor: pointer; transition: all .22s;
  position: relative; overflow: hidden;
  box-shadow: 0 1px 6px rgba(60,50,30,.05);
}
.mod:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cbbfa0; }
.mod-ch {
  width: 46px; height: 46px; border-radius: 10px;
  background: var(--ink); color: var(--paper);
  font-family: var(--serif); font-size: 24px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.mod:nth-child(1) .mod-ch { background: var(--red); }
.mod:nth-child(2) .mod-ch { background: var(--gold); }
.mod:nth-child(4) .mod-ch { background: var(--stone); }
.mod h3 { font-family: var(--serif); font-weight: 400; font-size: 18px; letter-spacing: 2px; margin-bottom: 6px; }
.mod p { font-size: 13px; color: var(--ink-3); line-height: 1.7; }
.mod .go { position: absolute; right: 18px; top: 22px; color: #b6ac96; font-size: 18px; transition: .2s; }
.mod:hover .go { color: var(--red); transform: translateX(3px); }

/* ---------- 通用标题 ---------- */
.sec-head { margin: 34px 0 18px; }
.sec-head .kick { color: var(--red); font-size: 12px; letter-spacing: 4px; margin-bottom: 4px; }
.sec-head h2 { font-family: var(--serif); font-weight: 400; font-size: 28px; letter-spacing: 3px; }
.sec-head p { color: var(--ink-3); font-size: 14px; margin-top: 4px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 24px; border-radius: 10px; border: none;
  font-size: 15px; cursor: pointer; transition: all .2s;
  font-family: var(--sans);
  text-decoration: none;
}
.btn-red { background: var(--red); color: #f6efe0; box-shadow: 0 4px 14px rgba(168,52,42,.3); }
.btn-red:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--paper); border: 1px solid rgba(246,239,224,.4); }
.btn-ghost:hover { border-color: var(--paper); background: rgba(246,239,224,.08); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #000; }
.btn-line { background: var(--card); color: var(--ink); border: 1px solid var(--line); }
.btn-line:hover { border-color: var(--ink-3); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }

/* ---------- 游戏区 ---------- */
.game-wrap { display: grid; grid-template-columns: 1fr 340px; gap: 26px; align-items: start; }
.game-panel { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
.stage-no { color: var(--red); font-size: 12.5px; letter-spacing: 3px; margin-bottom: 2px; }
.game-panel h2 { font-family: var(--serif); font-weight: 400; font-size: 30px; letter-spacing: 4px; }
.game-panel .sub { color: var(--gold); font-size: 14px; margin: 2px 0 12px; }
.game-panel .desc { color: var(--ink-2); font-size: 14.5px; margin-bottom: 20px; }

.slider-box { margin: 18px 0; }
.slider-box label { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 8px; }
.slider-box label b { font-family: var(--song); font-weight: 400; font-size: 15px; letter-spacing: 1px; }
.slider-box label .val { color: var(--red); font-variant-numeric: tabular-nums; }
.slider-ends { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--ink-3); margin-top: 2px; }
input[type=range] {
  -webkit-appearance: none; width: 100%; height: 6px; border-radius: 4px;
  background: linear-gradient(90deg, #e4d9bf, #b9ab88);
  outline: none;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--red); border: 3px solid #fbf8ef;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
  cursor: pointer;
}

.preview-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 18px; position: sticky; top: 78px;
}
.preview-card h4 { font-family: var(--song); font-weight: 400; font-size: 15px; margin-bottom: 12px; color: var(--ink-2); }
/* ---------- 效果图画框（游戏预览 / 成片） ---------- */
.stage-frame {
  position: relative;
  padding: 10px;
  border-radius: 12px;
  background: linear-gradient(135deg, #777368 0%, #4c4941 52%, #2c2a26 100%);
  box-shadow:
    inset 0 1px 2px rgba(255, 246, 222, .34),
    inset 0 -3px 8px rgba(0, 0, 0, .55),
    0 12px 30px rgba(40, 32, 16, .32);
}
.stage-frame::before {
  content: '';
  position: absolute; inset: 5px;
  border: 1px solid rgba(190, 160, 96, .30);
  border-radius: 8px;
  pointer-events: none;
}
.stage-frame::after {
  content: '';
  position: absolute; right: 15px; bottom: 15px;
  width: 24px; height: 24px; border-radius: 5px;
  background: linear-gradient(135deg, #b33d31, #8c2a22);
  box-shadow: inset 0 0 0 2px rgba(246, 239, 224, .42), 0 2px 8px rgba(0, 0, 0, .38);
  transform: rotate(-4deg);
  pointer-events: none;
}
.stage-frame canvas {
  border-radius: 4px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, .45);
}

.preview-card canvas { width: 100%; border-radius: 4px; display: block; }
.preview-note { font-size: 12.5px; color: var(--ink-3); margin-top: 10px; min-height: 38px; }
.ref-strip {
  margin-top: 14px; padding: 8px;
  background: var(--paper-2); border-radius: 10px;
  border: 1px solid rgba(90, 76, 52, .16);
}
.ref-strip img {
  width: 100%; height: 116px; object-fit: cover; display: block;
  border-radius: 6px;
  filter: sepia(.14) contrast(1.08) saturate(.94);
  box-shadow: 0 2px 10px rgba(40, 32, 16, .28);
}
.ref-strip b { font-family: var(--song); font-weight: 400; font-size: 13.5px; display: block; margin-top: 8px; }
.ref-strip span { font-size: 11px; color: var(--ink-3); }

/* ---------- 成片对照 ---------- */
.compare-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  margin-top: 16px;
}
.compare-cell { text-align: center; }
.compare-cell canvas {
  width: 100%; border-radius: 6px; display: block;
  aspect-ratio: 1;
  outline: 3px solid #4a4740;
  box-shadow: 0 4px 16px rgba(40, 32, 16, .3);
}
.compare-cell span { font-size: 12px; color: var(--ink-3); display: block; margin-top: 6px; }

/* ---------- 图录实景照片 ---------- */
.scene-photo { position: relative; border-radius: 8px; overflow: hidden; box-shadow: 0 6px 20px rgba(40,32,16,.22); }
.scene-photo img { width: 100%; display: block; aspect-ratio: 16/10; object-fit: cover; }
.scene-photo .ph-badge {
  position: absolute; left: 10px; bottom: 10px;
  background: rgba(28,26,23,.72); color: #e9e2d0;
  font-size: 11px; padding: 3px 10px; border-radius: 20px;
  letter-spacing: 1px;
}
.photo-note { font-size: 11.5px; color: #97907f; margin-top: 6px; }

.stepper { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.step-dot {
  width: 30px; height: 30px; border-radius: 50%;
  border: 1.5px solid var(--line); color: var(--ink-3);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 14px; background: var(--card);
}
.step-dot.done { background: var(--stone); border-color: var(--stone); color: #fff; }
.step-dot.cur { background: var(--red); border-color: var(--red); color: #fff; }
.step-bar { flex: 1; height: 1.5px; background: var(--line); }
.stepper + .stage-feedback { margin-top: 14px; }
.stage-feedback {
  border-left: 3px solid var(--gold); background: #f3ecd9;
  padding: 10px 14px; border-radius: 0 8px 8px 0;
  font-size: 13.5px; color: var(--ink-2); margin-top: 16px;
}
.stage-feedback.bad { border-color: var(--red); background: #f6e4e0; }

/* ---------- 结果页 ---------- */
.result-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.result-canvas { width: 100%; border-radius: 8px; box-shadow: 0 10px 34px rgba(40,32,16,.28); }
.grade-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--serif); font-size: 26px; letter-spacing: 2px;
  color: var(--red); margin-bottom: 8px;
}
.grade-tag .score { font-size: 15px; color: var(--ink-3); letter-spacing: 0; }
.result-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 18px 0; }
.stat {
  background: var(--card); border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 14px;
}
.stat b { font-family: var(--song); font-weight: 400; font-size: 16px; display: block; }
.stat span { font-size: 12px; color: var(--ink-3); }

/* ---------- 印章 ---------- */
.seal {
  width: 54px; height: 54px; border-radius: 8px;
  background: var(--red); color: #f6efe0;
  font-family: var(--serif); font-weight: 700; font-size: 28px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 0 0 2px rgba(246,239,224,.35), inset 0 0 14px rgba(0,0,0,.2);
  transform: rotate(-3deg);
}

/* ---------- 门诊 ---------- */
.clinic-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 28px; max-width: 760px; margin: 0 auto;
}
.clinic-grid { display: grid; grid-template-columns: 220px 1fr; gap: 24px; }
.clinic-grid canvas { width: 100%; border-radius: 8px; box-shadow: 0 6px 20px rgba(40,32,16,.2); }
.opts { display: grid; gap: 10px; margin-top: 16px; }
.opt {
  text-align: left; padding: 13px 18px; border-radius: 10px;
  border: 1.5px solid var(--line); background: #fff; cursor: pointer;
  font-size: 14.5px; transition: all .18s; font-family: var(--sans); color: var(--ink);
}
.opt:hover { border-color: var(--gold); background: #faf5e4; }
.opt.right { border-color: #4a7c59; background: #e9f2ea; }
.opt.wrong { border-color: var(--red); background: #f6e4e0; }
.opt:disabled { cursor: default; }
.clinic-nav { display: flex; justify-content: space-between; margin-top: 22px; }

/* ---------- 图录 ---------- */
.art-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.art-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; cursor: pointer; transition: all .22s;
}
.art-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.art-card canvas { width: 100%; display: block; aspect-ratio: 1; object-fit: cover; }
.art-card .ab { padding: 16px 18px 18px; }
.art-card h3 { font-family: var(--song); font-weight: 400; font-size: 17px; letter-spacing: 1.5px; }
.art-card .era { color: var(--gold); font-size: 12.5px; margin: 3px 0 6px; }
.art-card p { font-size: 12.5px; color: var(--ink-3); }

.art-detail { max-width: 900px; margin: 0 auto; }
.art-detail-top { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.art-detail canvas.big { width: 100%; border-radius: 8px; box-shadow: 0 10px 30px rgba(40,32,16,.25); }
.meta-table { width: 100%; border-collapse: collapse; font-size: 13.5px; margin: 12px 0 18px; }
.meta-table td { padding: 8px 10px; border-bottom: 1px dashed var(--line); vertical-align: top; }
.meta-table td:first-child { color: var(--gold); white-space: nowrap; width: 72px; font-family: var(--song); font-weight: 400; }
.timeline-box { margin-top: 30px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.timeline-box h3 { font-family: var(--song); font-weight: 400; margin-bottom: 4px; }
.timeline-box .sub { font-size: 13px; color: var(--ink-3); margin-bottom: 14px; }
.story { columns: 1; font-size: 14.5px; color: var(--ink-2); }
.story p { margin-bottom: 10px; }
.tip-band {
  margin-top: 14px; padding: 10px 16px; border-radius: 8px;
  background: #efe9d8; border-left: 3px solid var(--gold);
  font-size: 13.5px; color: var(--ink-2);
}

/* ---------- 问答 ---------- */
.quiz-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 30px; max-width: 680px; margin: 0 auto;
}
.quiz-q { font-family: var(--song); font-weight: 400; font-size: 20px; margin: 10px 0 18px; line-height: 1.7; letter-spacing: 0.5px; }
.quiz-why {
  margin-top: 16px; padding: 12px 16px; border-radius: 8px;
  background: #f3ecd9; border-left: 3px solid var(--gold);
  font-size: 13.5px; color: var(--ink-2);
}
.quiz-progress { font-size: 13px; color: var(--ink-3); letter-spacing: 1px; }

/* ---------- 展示墙 ---------- */
.wall-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.wall-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.wall-item {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden; position: relative; transition: all .2s;
}
.wall-item:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.wall-item img, .wall-item video { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; background: var(--ink); }
.wall-item .wi-meta { padding: 10px 14px 12px; }
.wall-item .wi-meta b { font-size: 14px; font-family: var(--song); font-weight: 400; display: block; }
.wall-item .wi-meta span { font-size: 11.5px; color: var(--ink-3); }
.wall-del {
  position: absolute; top: 8px; right: 8px; z-index: 3;
  width: 28px; height: 28px; border-radius: 50%; border: none;
  background: rgba(28,26,23,.72); color: #fff; cursor: pointer;
  font-size: 14px; opacity: 0; transition: .2s;
}
.wall-item:hover .wall-del { opacity: 1; }
.wall-empty {
  grid-column: 1/-1; text-align: center; padding: 60px 20px;
  border: 2px dashed var(--line); border-radius: 14px; color: var(--ink-3);
}
.wall-empty .big { font-family: var(--song); font-weight: 300; font-size: 42px; letter-spacing: 6px; color: #cfc4a8; margin-bottom: 8px; }
.wall-note { font-size: 12.5px; color: var(--ink-3); margin-top: 14px; }
.badge-type {
  display: inline-block; font-size: 10.5px; padding: 1px 8px; border-radius: 20px;
  background: var(--paper-2); color: var(--ink-2); margin-left: 6px; vertical-align: 2px;
}

/* ---------- 长卷 ---------- */
.scroll-band {
  background: var(--ink); border-radius: 16px; padding: 34px 28px;
  color: var(--paper); overflow-x: auto;
}
.scroll-in { display: flex; gap: 22px; min-width: 640px; justify-content: center; }
.seal-slot { text-align: center; min-width: 92px; }
.seal-slot .seal { margin: 0 auto 10px; }
.seal-slot.locked .seal { background: transparent; border: 1.5px dashed #57524a; color: #57524a; box-shadow: none; transform: none; }
.seal-slot b { font-family: var(--serif); font-size: 14px; display: block; }
.seal-slot span { font-size: 11px; color: #8f887a; display: block; margin-top: 2px; }
.seal-slot.locked b { color: #6e685c; }

/* ---------- 数字人讲坛 ---------- */
.video-stage { display: grid; grid-template-columns: 1.6fr 1fr; gap: 22px; align-items: stretch; }
.video-screen {
  position: relative; background: var(--ink); border-radius: 14px;
  overflow: hidden; min-height: 300px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
}
.video-screen video { width: 100%; height: 100%; max-height: 430px; display: block; background: #000; }
.video-empty { text-align: center; color: #8f887a; padding: 40px 24px; }
.video-empty .big { font-family: var(--serif); font-size: 64px; color: #57524a; margin-bottom: 10px; }
.video-empty b { display: block; color: #b8b1a2; font-family: var(--song); font-weight: 300; font-size: 18px; letter-spacing: 3px; margin-bottom: 6px; }
.video-empty span { font-size: 13px; line-height: 1.9; }
.video-side { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.video-side h4 { font-family: var(--song); font-weight: 400; font-size: 16px; margin-bottom: 10px; }
.video-side ul { list-style: none; }
.video-side li { font-size: 13px; color: var(--ink-3); position: relative; padding-left: 16px; margin-bottom: 8px; line-height: 1.7; }
.video-side li::before { content: '·'; position: absolute; left: 2px; color: var(--gold); font-weight: 700; }
.video-meta {
  margin-top: 14px; padding: 9px 12px; border-radius: 8px;
  background: var(--paper-2); border-left: 3px solid var(--gold);
  font-size: 12.5px; color: var(--ink-2);
}

/* ---------- 问答设置与知识库 ---------- */
.quiz-setup {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 18px 22px; max-width: 680px; margin: 0 auto 18px;
  display: flex; flex-direction: column; gap: 12px;
}
.qs-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.qs-label { font-family: var(--song); font-weight: 400; font-size: 14px; color: var(--gold); width: 34px; flex-shrink: 0; }
.qs-btn {
  padding: 5px 14px; border-radius: 20px; border: 1.5px solid var(--line);
  background: #fff; font-size: 13px; cursor: pointer; font-family: var(--sans);
  color: var(--ink-2); transition: .15s;
}
.qs-btn:hover { border-color: var(--gold); }
.qs-btn.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.quiz-setup .btn { align-self: flex-start; }
.kb-box { max-width: 680px; margin: 28px auto 0; }
.kb-head h3 { font-family: var(--song); font-weight: 400; font-size: 20px; }
.kb-head p { font-size: 13px; color: var(--ink-3); margin: 2px 0 12px; }
.kb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kb-item { background: var(--card); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.kb-item > button {
  width: 100%; text-align: left; padding: 10px 14px; border: none;
  background: transparent; cursor: pointer; font-family: var(--song); font-weight: 400; font-size: 15px;
  color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 8px;
}
.kb-item > button .cat { font-size: 11px; color: var(--gold); font-family: var(--sans); white-space: nowrap; }
.kb-item .kb-text { display: none; padding: 10px 14px 12px; font-size: 13px; color: var(--ink-2); border-top: 1px dashed var(--line); line-height: 1.8; }
.kb-item.open .kb-text { display: block; }
.kb-item.open > button { color: var(--red); }

/* ---------- 展示墙表单与藏品说明 ---------- */
.wall-form { display: flex; flex-direction: column; gap: 8px; width: 320px; max-width: 100%; }
.wall-form textarea {
  padding: 10px 14px; border-radius: 10px; border: 1.5px solid var(--line);
  font-size: 13.5px; font-family: var(--sans); background: #fff; color: var(--ink);
  outline: none; resize: vertical; line-height: 1.6;
}
.wall-form textarea:focus { border-color: var(--gold); }
.wall-item .wi-note { font-size: 12.5px; color: var(--ink-2); margin-top: 6px; line-height: 1.7; white-space: pre-wrap; word-break: break-all; }

/* ---------- 图录来源依据 ---------- */
.src-box {
  margin-top: 16px; padding: 14px 18px;
  background: var(--paper-2); border-left: 3px solid var(--stone);
  border-radius: 0 10px 10px 0;
}
.src-box h4 { font-family: var(--song); font-weight: 400; font-size: 15px; margin-bottom: 8px; color: var(--ink-2); }
.src-box ol { margin-left: 18px; }
.src-box li { font-size: 12.5px; color: var(--ink-3); margin-bottom: 8px; line-height: 1.7; }
.src-box li b { display: block; color: var(--ink-2); font-size: 13px; }

/* ---------- 其他 ---------- */
.back-link { color: var(--ink-3); font-size: 14px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; margin-bottom: 16px; }
.back-link:hover { color: var(--red); }
.notice {
  max-width: 1080px; margin: 0 auto; padding: 14px 20px 30px;
  text-align: center; color: #97907f; font-size: 12px; line-height: 1.8;
}
.film { position: relative; }
.film::after {
  content: ''; position: absolute; inset: 0; border-radius: 8px; pointer-events: none;
  box-shadow: inset 0 0 34px rgba(0,0,0,.28);
}
.hidden { display: none !important; }
input[type=text] {
  padding: 11px 14px; border-radius: 10px; border: 1.5px solid var(--line);
  font-size: 14px; font-family: var(--sans); background: #fff; color: var(--ink);
  outline: none; min-width: 0;
}
input[type=text]:focus { border-color: var(--gold); }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .mods, .art-grid { grid-template-columns: 1fr 1fr; }
  .hero { grid-template-columns: 1fr; }
  .hero-r { min-height: 260px; }
  .game-wrap, .result-wrap, .art-detail-top { grid-template-columns: 1fr; }
  .preview-card { position: static; }
  .clinic-grid { grid-template-columns: 1fr; }
  .clinic-grid canvas { max-width: 300px; margin: 0 auto; }
  .video-stage { grid-template-columns: 1fr; }
  .video-screen { min-height: 240px; }
  .kb-grid { grid-template-columns: 1fr; }
  .wall-form { width: 100%; }
}
@media (max-width: 600px) {
  .mods, .art-grid { grid-template-columns: 1fr; }
  .view { padding: 20px 14px 70px; }
  .hero-l { padding: 34px 26px; }
  .brand-name { font-size: 16px; }
  .quiz-setup { padding: 14px 16px; }
  .video-side { padding: 16px; }
}
