/* ═══════════════════════════════════════════════════════════
   TYPT 公益达人展示平台 · 共享设计系统
   令牌与 showcase.html 完全一致（paper / ink / dusk 三主题），
   额外提供：表单组件、步骤条、动效原语、骨架屏。
   零外部依赖：无 CDN、无 webfont、无外部图标。
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg:        #FAF7F2;
  --surface:   #FFFFFF;
  --surface-2: #F3EEE5;
  --text:      #1A1814;
  --text-2:    #6B6357;
  /* --text-3 是「第三级文字」（提示、计数、说明）。它必须在自己的背景上
     仍然达到 WCAG AA 的 4.5:1 —— 目标用户是 50–70 岁的传承人，
     浅灰提示在户外/大太阳下基本读不出来。旧值 #9A9184 只有 2.91:1。 */
  --text-3:    #6F685C;   /* 5.01:1 on --bg / 5.35:1 on --surface */
  /* --accent 是品牌红，兼任「白字底色」和「强调文字」两种角色。
     取值必须同时满足：白字在它上面 ≥ 4.5:1，它在 --bg/--surface 上 ≥ 4.5:1。
     旧值 #C8553D 只有 4.35:1，两头都不够。 */
  --accent:    #B04A34;   /* 白字 5.42:1 / 作文字 5.07:1 on --bg */
  --accent-2:  #8F3323;   /* 更深一档：作文字 7.37:1 / 白字 7.88:1 */
  --accent-ink: #FFFFFF;  /* 铺在 --accent 上的字色（墨青主题下反过来用深色） */
  --accent-soft: rgba(176, 74, 52, .10);
  --border:    #E8E0D4;
  --border-2:  #D8CDBC;
  --radius:    16px;
  --radius-sm: 12px;
  --shadow:    0 1px 3px rgba(26, 24, 20, .06);
  --shadow-lg: 0 8px 28px rgba(26, 24, 20, .10);
  --serif: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
          "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
  --cover-a: #C9A88C; --cover-b: #8E6A52; --cover-c: #E8D9C4;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --dur: .34s;
}

[data-theme="ink"] {
  --bg:        #13191B;
  --surface:   #1B2326;
  --surface-2: #222C2F;
  --text:      #EDF2F1;
  --text-2:    #9FB0AE;
  --text-3:    #879795;   /* 4.79:1 on --bg / 4.61:1 on --surface-2 */
  /* 墨青主题的 --accent 是亮青，白字压不住（只有 2.14:1），
     所以字色反过来用深色 --accent-ink（7.56:1）。 */
  --accent:    #6FBFAE;
  --accent-2:  #8FD5C4;
  --accent-ink: #0C2420;
  --accent-soft: rgba(111, 191, 174, .14);
  --border:    #2A3538;
  --border-2:  #364347;
  --shadow:    0 1px 3px rgba(0, 0, 0, .30);
  --shadow-lg: 0 8px 28px rgba(0, 0, 0, .38);
  --cover-a: #2E5D63; --cover-b: #14303A; --cover-c: #3F8C86;
}

[data-theme="dusk"] {
  --bg:        #FBF4E9;
  --surface:   #FFFFFF;
  --surface-2: #F6EBD9;
  --text:      #2A211B;
  --text-2:    #6E5F51;
  --text-3:    #75654F;   /* 5.15:1 on --bg / 4.66:1 on --surface-2 */
  --accent:    #9A5820;   /* 白字 5.54:1 / 作文字 5.07:1 on --bg */
  --accent-2:  #7C4318;   /* 作文字 7.19:1 / 白字 7.86:1 */
  --accent-ink: #FFFFFF;
  --accent-soft: rgba(154, 88, 32, .12);
  --border:    #EADCC8;
  --border-2:  #DCC8AC;
  --shadow:    0 1px 3px rgba(42, 33, 27, .07);
  --shadow-lg: 0 8px 28px rgba(42, 33, 27, .12);
  --cover-a: #E0A96D; --cover-b: #A9663B; --cover-c: #F3DDB8;
}

/* ── reset ─────────────────────────────────────────────── */
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: 15px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
img { max-width: 100%; display: block; }
button { font-family: inherit; font-size: inherit; color: inherit; }
/* iOS Safari 对 font-size < 16px 的输入框会在聚焦时自动放大约 1.33 倍，
   把视口推歪，用户得手动双击缩回去。目标用户是 50–70 岁的传承人，
   误触概率高 —— 所以所有可输入元素一律 ≥ 16px（布局高度用 padding 补偿）。 */
input, textarea, select { font-family: inherit; font-size: 16px; color: inherit; }
button { cursor: pointer; border: none; background: none; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.app { max-width: 560px; margin: 0 auto; background: var(--bg);
       min-height: 100vh; box-shadow: 0 0 0 1px var(--border); }
@media (min-width: 561px) { .app { box-shadow: 0 0 60px rgba(0, 0, 0, .08); } }

/* ── 顶栏 ──────────────────────────────────────────────── */
.topbar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px calc(12px + env(safe-area-inset-top));
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.6) blur(12px);
  -webkit-backdrop-filter: saturate(1.6) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.topbar.stuck { border-bottom-color: var(--border); }
.topbar .brand { display: flex; align-items: center; gap: 8px; font-family: var(--serif); font-size: 16px; }
/* 品牌标记：达人坊「坊骨」朱文标，用 mask 跟随主题色 var(--accent) */
.brand-mark {
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20120%20120%22%20role%3D%22img%22%20aria-label%3D%22%E8%BE%BE%E4%BA%BA%E5%9D%8A%22%3E%0A%20%20%3Crect%20x%3D%229%22%20y%3D%229%22%20width%3D%22102%22%20height%3D%22102%22%20rx%3D%2220%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%227%22%2F%3E%0A%20%20%3Cg%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%226.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%0A%20%20%20%20%3Cpath%20d%3D%22M29%2045%20H46%22%2F%3E%0A%20%20%20%20%3Cpath%20d%3D%22M37.5%2035%20V87%22%2F%3E%0A%20%20%20%20%3Cpath%20d%3D%22M25%2087%20H47%22%2F%3E%0A%20%20%20%20%3Cpath%20d%3D%22M62%2027%20L68%2035%22%2F%3E%0A%20%20%20%20%3Cpath%20d%3D%22M55%2045%20H95%22%2F%3E%0A%20%20%20%20%3Cpath%20d%3D%22M67%2045%20C64%2061%2060%2074%2056%2086%22%2F%3E%0A%20%20%20%20%3Cpath%20d%3D%22M79%2045%20V71%20Q79%2081%2068%2081%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20120%20120%22%20role%3D%22img%22%20aria-label%3D%22%E8%BE%BE%E4%BA%BA%E5%9D%8A%22%3E%0A%20%20%3Crect%20x%3D%229%22%20y%3D%229%22%20width%3D%22102%22%20height%3D%22102%22%20rx%3D%2220%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%227%22%2F%3E%0A%20%20%3Cg%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%226.5%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%0A%20%20%20%20%3Cpath%20d%3D%22M29%2045%20H46%22%2F%3E%0A%20%20%20%20%3Cpath%20d%3D%22M37.5%2035%20V87%22%2F%3E%0A%20%20%20%20%3Cpath%20d%3D%22M25%2087%20H47%22%2F%3E%0A%20%20%20%20%3Cpath%20d%3D%22M62%2027%20L68%2035%22%2F%3E%0A%20%20%20%20%3Cpath%20d%3D%22M55%2045%20H95%22%2F%3E%0A%20%20%20%20%3Cpath%20d%3D%22M67%2045%20C64%2061%2060%2074%2056%2086%22%2F%3E%0A%20%20%20%20%3Cpath%20d%3D%22M79%2045%20V71%20Q79%2081%2068%2081%22%2F%3E%0A%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E") no-repeat center / contain;
  background: var(--accent);
  width: 24px; height: 24px; flex: none; display: block;
}
.topbar .spacer { flex: 1; }
.icon-btn {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  display: grid; place-items: center; color: var(--text-2);
  transition: background .2s var(--ease), color .2s var(--ease), transform .18s var(--ease);
}
.icon-btn:hover { background: var(--surface-2); color: var(--text); }
.icon-btn:active { transform: scale(.9); }
.icon-btn svg { width: 18px; height: 18px; }

/* ── 按钮 ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 11px 20px; border-radius: 999px; font-size: 14.5px; font-weight: 600;
  transition: transform .18s var(--ease), box-shadow .25s var(--ease),
              background .25s var(--ease), opacity .2s var(--ease);
  position: relative; overflow: hidden; white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 2px 10px var(--accent-soft); }
.btn-primary:hover { background: var(--accent-2); box-shadow: 0 4px 18px var(--accent-soft); }
.btn-ghost { background: var(--surface-2); color: var(--text-2); }
.btn-ghost:hover { background: var(--border); color: var(--text); }
.btn-outline { border: 1px solid var(--border-2); color: var(--text-2); background: transparent; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-block { display: flex; width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn .spin {
  width: 15px; height: 15px; border-radius: 50%;
  border: 2px solid currentColor; border-right-color: transparent;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── 卡片 ──────────────────────────────────────────────── */
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px;
  box-shadow: var(--shadow);
}
.card + .card { margin-top: 14px; }
.sec-title { font-family: var(--serif); font-size: 19px; font-weight: 600; }
.sec-sub { font-size: 12.5px; color: var(--text-3); }

/* ── 表单 ──────────────────────────────────────────────── */
.field { margin-bottom: 16px; }
.field:last-child { margin-bottom: 0; }
.label {
  display: flex; align-items: baseline; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--text-2); margin-bottom: 7px;
}
.label .opt { font-size: 11.5px; font-weight: 400; color: var(--text-3); }
.label .counter { margin-left: auto; font-size: 11.5px; font-weight: 400; color: var(--text-3); font-variant-numeric: tabular-nums; }
.input, .textarea {
  width: 100%; padding: 11px 14px; border-radius: var(--radius-sm);
  background: var(--bg); border: 1px solid var(--border);
  transition: border-color .22s var(--ease), box-shadow .22s var(--ease), background .22s var(--ease);
  /* 16px 是 iOS 不自动放大的下限；内边距从 12px 收到 11px，
     把行高涨的那 1px 补回去，输入框总高度不变（50px → 49.6px）。 */
  font-size: 16px; line-height: 1.6;
}
[data-theme="ink"] .input, [data-theme="ink"] .textarea { background: var(--surface-2); }
.input::placeholder, .textarea::placeholder { color: var(--text-3); }
.input:focus, .textarea:focus {
  outline: none; border-color: var(--accent); background: var(--surface);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.textarea { resize: vertical; min-height: 96px; }
/* 密码类输入框：带「显示 / 隐藏」开关。
   管理员口令是 24 位混合大小写，type=password 下看不见自己敲了什么，
   敲错一个字母只能靠「口令不正确」猜 —— 给个眼睛能一眼核对。 */
.input-wrap { position: relative; }
.input-wrap .input { padding-right: 46px; }
.input-eye {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; padding: 0; border: 0; border-radius: 10px;
  background: transparent; color: var(--text-3);
  display: grid; place-items: center; cursor: pointer;
}
.input-eye:hover { color: var(--text-2); background: var(--surface-2); }
.input-eye:active { transform: translateY(-50%) scale(.92); }
.input-eye svg { width: 19px; height: 19px; }
.input-row { display: flex; gap: 9px; }
.input-row .input { flex: 1; }
.hint { font-size: 12px; color: var(--text-3); margin-top: 6px; line-height: 1.5; }

/* ── chip / 主题卡 ─────────────────────────────────────── */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 7px 14px; border-radius: 999px; font-size: 13.5px;
  background: var(--surface-2); color: var(--text-2);
  border: 1px solid transparent;
  transition: all .24s var(--ease);
  display: inline-flex; align-items: center; gap: 6px;
}
.chip:hover { color: var(--text); }
.chip.on {
  background: var(--accent); color: var(--accent-ink); border-color: var(--accent);
  box-shadow: 0 2px 10px var(--accent-soft);
}
.chip .dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }

.theme-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.theme-card {
  border: 2px solid var(--border); border-radius: var(--radius-sm);
  overflow: hidden; background: var(--surface); padding: 0;
  transition: border-color .24s var(--ease), transform .22s var(--ease), box-shadow .24s var(--ease);
  text-align: left;
}
.theme-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.theme-card.on { border-color: var(--accent); box-shadow: 0 4px 16px var(--accent-soft); }
.theme-swatch { height: 62px; position: relative; }
.theme-swatch .chk {
  position: absolute; right: 7px; top: 7px; width: 20px; height: 20px;
  border-radius: 50%; background: var(--accent); color: var(--accent-ink);
  display: grid; place-items: center; opacity: 0; transform: scale(.4);
  transition: opacity .26s var(--ease-out), transform .26s var(--ease-out);
}
.theme-card.on .chk { opacity: 1; transform: scale(1); }
.theme-swatch .chk svg { width: 12px; height: 12px; }
.theme-name { padding: 8px 10px; font-size: 13px; font-weight: 600; }
.theme-name small { display: block; font-weight: 400; font-size: 11px; color: var(--text-3); }

/* ── 步骤条 ────────────────────────────────────────────── */
.steps { display: flex; align-items: center; gap: 6px; padding: 4px 16px 0; }
.step { flex: 1; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.step .bar { height: 3px; border-radius: 2px; background: var(--border); overflow: hidden; }
.step .bar i { display: block; height: 100%; width: 0; background: var(--accent);
  transition: width .5s var(--ease-out); }
.step .txt { font-size: 11.5px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.step.on .txt { color: var(--accent); font-weight: 600; }
.step.done .bar i { width: 100%; }
.step.on .bar i { width: 100%; }

/* ── 面板切换动效 ──────────────────────────────────────── */
.panel { display: none; }
.panel.on { display: block; animation: panelIn .42s var(--ease-out) both; }
@keyframes panelIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
.panel.leaving { display: block; animation: panelOut .22s var(--ease) both; }
@keyframes panelOut {
  from { opacity: 1; transform: none; }
  to   { opacity: 0; transform: translateY(-10px); }
}

/* ── 底部固定操作栏 ────────────────────────────────────── */
.actionbar {
  position: sticky; bottom: 0; z-index: 30;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: saturate(1.6) blur(12px);
  -webkit-backdrop-filter: saturate(1.6) blur(12px);
  border-top: 1px solid var(--border);
  display: flex; gap: 10px; align-items: center;
}
.actionbar .grow { flex: 1; }

/* ── 进度环 ────────────────────────────────────────────── */
.ring { display: flex; align-items: center; gap: 12px; }
.ring svg { width: 46px; height: 46px; transform: rotate(-90deg); flex: none; }
.ring .track { stroke: var(--border); }
.ring .fill { stroke: var(--accent); stroke-linecap: round;
  transition: stroke-dashoffset .9s var(--ease-out); }
.ring .pct { font-size: 19px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ring .pct small { font-size: 11px; color: var(--text-3); font-weight: 400; }

/* ── 骨架屏 ────────────────────────────────────────────── */
.sk { background: var(--surface-2); border-radius: 8px; position: relative; overflow: hidden; }
.sk::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--surface) 70%, transparent), transparent);
  transform: translateX(-100%); animation: shimmer 1.4s infinite;
}
@keyframes shimmer { to { transform: translateX(100%); } }

/* ── Toast ─────────────────────────────────────────────── */
.toast {
  position: fixed; left: 50%; bottom: 96px; transform: translate(-50%, 12px);
  background: rgba(20, 18, 15, .93); color: #fff; font-size: 13.5px;
  padding: 10px 18px; border-radius: 999px; opacity: 0; pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
  z-index: 90; max-width: 78vw; text-align: center;
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ── 出场动画（IntersectionObserver 驱动）───────────────── */
.rv { opacity: 0; transform: translateY(14px);
      transition: opacity .55s var(--ease-out), transform .55s var(--ease-out); }
.rv.in { opacity: 1; transform: none; }

/* ── 通用工具 ──────────────────────────────────────────── */
.pad { padding: 0 16px; }
.mt8 { margin-top: 8px; } .mt12 { margin-top: 12px; } .mt16 { margin-top: 16px; }
.mt24 { margin-top: 24px; } .mb8 { margin-bottom: 8px; } .mb12 { margin-bottom: 12px; }
.mb16 { margin-bottom: 16px; } .mb24 { margin-bottom: 24px; }
.row { display: flex; align-items: center; gap: 10px; }
.row.between { justify-content: space-between; }
.wrap { flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.t2 { color: var(--text-2); } .t3 { color: var(--text-3); }
.tc { text-align: center; }
.serif { font-family: var(--serif); }
.small { font-size: 12.5px; }
.b { font-weight: 600; }
.hidden { display: none !important; }
/* 全局兜底：任何「自己的 display 规则比浏览器默认 [hidden]{display:none}
   更specific」的组件（.hero-faces{display:flex} 这类）都会让 hidden=true 失效。
   这里用 !important 一刀切，杜绝这类回归。 */
[hidden] { display: none !important; }
.divider { height: 1px; background: var(--border); margin: 18px 0; border: 0; }
.empty-note {
  padding: 26px 18px; text-align: center; color: var(--text-3); font-size: 13.5px;
  border: 1px dashed var(--border-2); border-radius: var(--radius-sm);
}

/* 列表项（联系方式 / 建议） */
.li {
  display: flex; align-items: flex-start; gap: 10px; padding: 11px 0;
  border-bottom: 1px solid var(--border); font-size: 14px;
}
.li:last-child { border-bottom: none; }
.li .ic { width: 18px; height: 18px; flex: none; color: var(--accent); margin-top: 2px; }
.li .ic svg { width: 100%; height: 100%; }
.li.done .ic { color: var(--accent); }
.li.todo .ic { color: var(--text-3); }

/* 图片兜底色块：任何图 404 都不允许出现破图图标 */
.img-fallback {
  width: 100%; height: 100%; min-height: 40px;
  background: linear-gradient(135deg, var(--cover-a), var(--cover-b));
  display: grid; place-items: center;
  color: rgba(255, 255, 255, .5); font-family: var(--serif); font-size: 34px;
}
.img-fallback::after { content: attr(data-ch); }

/* ═══════════════════════════════════════════════════════════
   宽屏舞台（≥900px）：左栏「说明」+ 右栏「内容」
   ───────────────────────────────────────────────────────────
   窄屏（≤899px）是移动优先的主战场（375–430px），版式一个字不动。
   宽屏原来整页锁在 560px —— 在电脑上就是一条窄柱浮在大屏中间，
   看着像「把手机网页搬到电脑上」。现在按设备宽度换一套版式：
   左边一块品牌说明，右边是原来的表单。

   ⚠️ .stage-side 在窄屏是 display:none，不是「挤到下面」——
      移动端一屏一屏都很短，多一屏就多一次滑动。
   ⚠️ 这一块是 app.css 里唯一的宽屏覆盖，app-family 的四个页面
      （登录 / 建主页 / 编辑 / 找回密码）共用，改一处四个页面一起变。
   ═══════════════════════════════════════════════════════════ */
.stage-side { display: none; }

@media (min-width: 960px) {
  .app {
    max-width: 1120px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 560px);
    column-gap: 56px;
    align-items: start;
    background: transparent;
    box-shadow: none;
    min-height: 100vh;
    /* 宽屏留出外边距：否则内容会顶到屏幕边缘（深色 hero 块尤其明显） */
    padding: 0 24px;
  }
  .topbar {
    grid-column: 1 / -1;
    /* 顶栏要通栏（毛玻璃背景不能被 padding 截断），但内容与两栏对齐 */
    margin: 0 -24px;
    padding-left: 24px;
    padding-right: 24px;
  }
  /* 侧栏钉在左栏并跨满整列。
     grid-row 用一个足够大的 span：多出来的隐式行是 0 高的，
     配合 align-self:start 让它只占自身高度，但 sticky 的作用域是整列。 */
  .stage-side {
    display: block;
    grid-column: 1;
    grid-row: 2 / span 40;
    position: sticky;
    top: 84px;
    align-self: start;
  }
  /* 顶栏与侧栏之外的内容，一律进右栏 */
  .app > *:not(.topbar):not(.stage-side) { grid-column: 2; }
  /* 宽屏不再有「手机画框」的边框，卡片自己撑起层次 */
  .card { box-shadow: var(--shadow-lg); }
}

/* ── 宽屏侧栏 ─────────────────────────────────────────── */
.side-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 24px 22px 22px;
}
.side-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.side-brand .brand-mark { width: 30px; height: 30px; }
.side-name { font-family: var(--serif); font-size: 17px; font-weight: 600; }
.side-name i {
  font-style: normal; font-size: 10px; letter-spacing: .18em;
  color: var(--text-3); margin-left: 7px; vertical-align: 2px;
}
.side-lead {
  font-family: var(--serif); font-size: 20px; line-height: 1.46;
  font-weight: 600; margin-bottom: 18px;
}
.side-points { display: grid; gap: 14px; }
.side-points li {
  display: grid; grid-template-columns: 18px 1fr; gap: 11px;
  font-size: 13.5px; line-height: 1.62; color: var(--text-2);
}
.side-points b { display: block; color: var(--text); font-weight: 600; }
.side-tick { width: 18px; height: 18px; margin-top: 3px; color: var(--accent); }
.side-foot {
  margin-top: 20px; padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 12.5px; line-height: 1.66; color: var(--text-3);
}

/* 尊重系统的减弱动效偏好 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
  .rv { opacity: 1; transform: none; }
  .sk::after { display: none; }
}
