/* ============================================================================
   HCS · 穆斯林生活助手 —— M110-R11 Pillars 全站设计系统（整体重做）
   风格真源：store-play/M110-R11-全站重做/PILLARS-STYLE-SPEC.md
   原则：只覆盖 v3.css 的「视觉层」，不改任何路由/功能/宗教文字；不复制 Pillars 资产。
   ---------------------------------------------------------------------------
   设计语言（对齐 SPEC 实测）：
     · 深色为主：深海军蓝 3 档 #000F26（最深/天幕夜）→ #00193E（页底）→ #0A2A5C（卡面）
     · 浅色：#F3F5F9 纸底 / 纯白卡（对比度门禁以 #F3F5F9 校准，背景不得更深——教训见下）
     · 全站唯一强调色＝暖杏族（浅 #A34808 ≈5.5 / 深 #FFBC91 ≈8.4，2026-11-06 收尾修正）；--gold 与之同族
     · 状态色低饱和专用；同屏色相 ≤3
     · 字号 7 档：56 英雄 / 34 大标题 / 22 页题 / 17 小标题 / 16 正文 / 13 脚注 / 11 说明
     · 圆角：28 弹层 / 20 大卡 / 13 行卡控件 / 999 胶囊 / 50% 仅圆形
     · 间距 8 档：4/8/12/16/20/28/40/56；页面左右 20px；列表行高 ≥56px
     · 深色不用黑投影：1px 内描边高光分层
   动效（2 条曲线 + 弹簧；只动画 transform/opacity；reduced-motion 全降级）：
     · 主曲线 --e-main cubic-bezier(.32,.72,0,1)：推入 350ms / 高亮 300ms / 进度 600ms / 主题 250ms
     · 次曲线 --e-sub cubic-bezier(.4,0,.2,1)：标签 180ms / 按压 120ms / 数字滚动 200ms
     · 弹簧 --e-spring（阻尼≈0.8）：弹层 420ms
     · 列表 stagger：前 8 项 ×30ms，仅入场播一次
   ========================================================================== */

/* ---------- ① 令牌（覆盖 v3.css 基础值；组件一律 var() 引用） ---------- */
:root {
  color-scheme: light;
  /* 形 */
  --r-sheet: 28px;
  --r-card: 20px;
  --r-ctl: 12px;
  --r-pill: 999px;
  --row-h: 56px;
  --pad-x: 20px;
  --shadow: 0 1px 2px rgba(10, 26, 51, 0.04), 0 12px 32px rgba(10, 26, 51, 0.05);
  /* 字阶（7 档收敛） */
  --fs-hero: 2.875rem;
  /* 动效 */
  /* 🔴 M110-R12 对齐《全站视觉重设计总指令》§14：
     常规进入 cubic-bezier(0.22,1,0.36,1)／常规状态 cubic-bezier(0.2,0,0,1)；
     详情推入 220–300ms（取 280）、底部面板 240–320ms（开 300 / 关 240，关闭稍快）；
     按压 80–120ms 轻微（scale≈0.98，不做明显弹跳）。 */
  --e-main: cubic-bezier(0.22, 1, 0.36, 1);
  --e-sub: cubic-bezier(0.2, 0, 0, 1);
  --e-spring: cubic-bezier(0.3, 1.36, 0.42, 1);
  /* v3.css 的推入/淡出曲线别名一并指到新曲线（覆盖旧 --e-ios/--e-fade） */
  --e-ios: var(--e-main);
  --e-fade: var(--e-sub);
  --t-push: 280ms;
  --t-tab: 180ms;
  --t-sheet: 300ms;
  --t-press: 120ms;
  --t-theme: 250ms;
  /* 品牌锚点（《总指令》§四）：navy＝品牌深蓝锚点；apricot＝暖杏强调。
     收尾修正（2026-11-06 用户令）：深色主题文字/图标级强调色＝var(--brand-apricot)
     （#FFBC91 对深底实测 ≈8.4:1，正文 ≥4.5 达标、大字 ≥3.0 达标），
     不再只定义不使用；浅色主题维持 #A34808（浅杏浅底对比不足，不作浅色文字色）。 */
  --brand-navy: #00193E;
  --brand-apricot: #FFBC91;
  /* 唯一强调色＝暖金/蜜桃（浅色＝可读深金） */
  --accent: #A34808;
  --accent-strong: #8A3E06;
  --accent-ink: #FFFFFF;
  --gold: var(--accent);
  --accent-sky: var(--accent);
  --tap: var(--e-spring);
}
html[data-theme='dark'] {
  color-scheme: dark;
  /* 深海军蓝 3 档 */
  --paper: #00193E;
  --group: #00234F;
  --card: #0A2A5C;
  --t1: #F2F5FA; --t2: #B9C7DF; --t3: #A0B0CB;
  --line: rgba(255, 255, 255, 0.09);
  --sep: rgba(255, 255, 255, 0.10);
  --chip: rgba(255, 255, 255, 0.07);
  --fill: rgba(255, 255, 255, 0.10);
  --accent: var(--brand-apricot);
  --accent-strong: #F9CFA6;
  --accent-ink: #001A3F;
  --gold: var(--accent);
  --accent-sky: var(--accent);
  --shadow: none;
  --read-paper: #001E4A; --read-ink: #E8EDF5;
}
html[data-theme='dark'] .card, html[data-theme='dark'] .sheet {
  box-shadow: none;
  outline: 1px solid rgba(255, 255, 255, 0.08);
  outline-offset: -1px;
}

/* ---------- ② 页面底色与氛围 ---------- */
body {
  background:
    radial-gradient(1200px 520px at 50% -10%, rgba(16, 48, 104, .5), transparent 65%),
    linear-gradient(#001A3F, #001434 62%, #000F26);
}
html[data-theme='light'] body {
  /* 🔴 对比度门禁以浅色 --paper #F3F5F9 校准；背景不得比它深（R9 教训：87 项破线） */
  background: linear-gradient(#F4F6FA, #F3F5F9);
}
/* 主题切换 250ms：只对主表面做颜色过渡（transform/opacity 之外仅此一处颜色动画） */
body, .card, .home-card, .sheet, .tabbar, .pagebar, .drawer, .btn {
  transition: background-color var(--t-theme) var(--e-sub), color var(--t-theme) var(--e-sub);
}

/* ---------- ③ 卡片：统一 20px + 细描边分层 ---------- */
.card, .home-card, .sky-cell, .wr-group, .times-card, .pt-wrap, .lesson-card,
.st-card, .qk-card, .set-card, .member-card, .bk-toc-card, .fest-card, .pt-card {
  border-radius: var(--r-card);
  box-shadow: var(--shadow);
  border: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
}
html[data-theme='dark'] .card, html[data-theme='dark'] .home-card, html[data-theme='dark'] .times-card,
html[data-theme='dark'] .wr-group, html[data-theme='dark'] .pt-wrap, html[data-theme='dark'] .lesson-card,
html[data-theme='dark'] .pt-card {
  background: var(--card);
  border-color: rgba(255, 255, 255, 0.08);
}

/* ---------- ④ 列表行：56px、内缩分隔线、按压 0.985 ---------- */
.wr-row, .lesson-list button, .set-row, .hs-cell, .row-item, .srch-row, .dsh-row {
  min-height: var(--row-h);
}
.wr-row, .lesson-list button, .set-row, .srch-row, .dsh-row {
  border-radius: var(--r-ctl);
  transition: background var(--t-press) var(--e-sub), transform var(--t-press) var(--e-sub);
}
.wr-row:active, .lesson-list button:active, .set-row:active, .srch-row:active, .dsh-row:active {
  background: color-mix(in srgb, var(--accent) 9%, transparent);
  transform: scale(.985);
}
.lesson-list button:not(:last-child)::after, .set-row:not(:last-child)::after,
.srch-row:not(:last-child)::after {
  content: ''; display: block; position: absolute; left: 56px; right: 0; bottom: 0;
  height: 1px; background: color-mix(in srgb, var(--line) 60%, transparent);
}
.lesson-list button, .set-row, .srch-row { position: relative; overflow: hidden; }
.lesson-list button + button, .set-row + .set-row { border-top: 0; }

/* ---------- ⑤ 药丸 / 分段 / 按钮（按压 0.97/120ms，无 ripple） ---------- */
.chip, .badge, .tag, .backtoday, .fest-chip, .dh-chip, .mt-chip, .st-chip, .srch-chip {
  border-radius: var(--r-pill);
  transition: transform var(--t-press) var(--e-sub), background 160ms var(--e-sub);
}
.chip:active, .fest-chip:active, .st-chip:active { transform: scale(.97); }
.seg, .pr-mode, .stb-seg, .st-seg, .dnav, .mb-navrow { border-radius: var(--r-pill); }
.seg button, .pr-mode button, .stb-seg button, .st-seg button, .mb-navrow button {
  border-radius: var(--r-pill);
  transition: background 160ms var(--e-sub), color 160ms var(--e-sub), transform var(--t-press) var(--e-sub);
}
.seg button:active, .pr-mode button:active, .stb-seg button:active, .st-seg button:active { transform: scale(.97); }
/* 分段选中＝填充变化（非仅变色） */
.seg button[aria-pressed='true'], .seg .on, .st-seg button[aria-pressed='true'],
.pr-mode button[aria-pressed='true'], .stb-seg button[aria-pressed='true'] {
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  color: var(--accent);
  font-weight: 600;
}
.btn {
  border-radius: var(--r-pill);
  min-height: 46px;
  transition: transform var(--t-press) var(--e-sub), filter 160ms var(--e-sub), background 160ms var(--e-sub);
}
.btn:active { transform: scale(.98); filter: brightness(1.06); }
.btn.ghost {
  background: color-mix(in srgb, var(--t1) 6%, transparent);
  border: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
}
/* 学习页顶部分段标签 */
.st-tabs button, [data-tabs] button { border-radius: var(--r-pill); }
.st-tabs button[aria-pressed='true'], [data-tabs] button[aria-pressed='true'] {
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  color: var(--accent);
  font-weight: 600;
}
/* 行内主行动按钮：填充强调色时用深字保证对比（深色主题） */
[data-theme='dark'] .btn:not(.ghost) { color: var(--accent-ink); }

/* ---------- ⑥ 底栏：磨砂 + 选中胶囊 + 弹性缩放 ---------- */
.tabbar {
  height: calc(var(--tabbar-h) + 6px + max(env(safe-area-inset-bottom), var(--safe-bot)));
  padding-bottom: max(env(safe-area-inset-bottom), var(--safe-bot));
  border-top: 1px solid color-mix(in srgb, var(--line) 55%, transparent);
  -webkit-backdrop-filter: saturate(170%) blur(22px);
  backdrop-filter: saturate(170%) blur(22px);
}
.tabbar button {
  border-radius: 14px;
  transition: color var(--t-tab) var(--e-sub), transform var(--t-press) var(--e-sub),
              background var(--t-tab) var(--e-sub);
}
.tabbar button:active { transform: scale(.97); }
.tabbar button[aria-current='page'] {
  background: color-mix(in srgb, var(--accent) 13%, transparent);
  color: var(--accent);
}
.tabbar button[aria-current='page'] .tb-ico { animation: tbPop 260ms var(--e-spring) both; }
@keyframes tbPop { 0% { transform: scale(.92); } 62% { transform: scale(1.05); } 100% { transform: scale(1); } }

/* ---------- ⑦ 底部面板 / 抽屉 / 弹层（28px 圆角 + 开 300ms / 关 240ms + 拖动条） ---------- */
.sheet, .drawer {
  border-radius: var(--r-sheet) var(--r-sheet) 0 0;
}
.sheet { animation: r11SheetUp var(--t-sheet) var(--e-main) both; }
.sheet.closing { animation: r11SheetDown 240ms var(--e-sub) both; }
@keyframes r11SheetUp { from { transform: translateY(26%); opacity: .4; } to { transform: none; opacity: 1; } }
@keyframes r11SheetDown { from { transform: none; opacity: 1; } to { transform: translateY(30%); opacity: 0; } }
.drawer { animation: r11DrawerUp var(--t-sheet) var(--e-main) both; }
@keyframes r11DrawerUp { from { transform: translateY(40%); opacity: .5; } to { transform: none; opacity: 1; } }
/* 🔴 热修纪律（2026-11-05「整页雾化」事故）：.sheet-wrap 是 fixed inset:0 的常驻容器，
   无条件 backdrop-filter 会永久糊化整页——blur 只能在 [data-open='1'] 时生效。 */
.sheet-wrap[data-open='1'] { -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.sheet-grab i, .drawer-grab i { width: 44px; height: 5px; border-radius: 999px; background: color-mix(in srgb, var(--t1) 22%, transparent); }

/* ---------- ⑧ 输入框 / 搜索 ---------- */
input[type='text'], input[type='search'], input[type='number'], .search-input, .q-search, .srch-box input {
  border-radius: var(--r-ctl);
  background: color-mix(in srgb, var(--t1) 5%, transparent);
  border: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  transition: border-color 160ms var(--e-sub), background 160ms var(--e-sub);
}
input:focus { border-color: color-mix(in srgb, var(--accent) 55%, transparent); outline: none; }

/* ---------- ⑨ 页首：大标题顶栏（滚动收小 + 毛玻璃） ---------- */
.pagebar {
  padding-bottom: 6px;
  background: transparent;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.pagebar.scrolled {
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  -webkit-backdrop-filter: saturate(170%) blur(18px);
  backdrop-filter: saturate(170%) blur(18px);
}
.pagebar h1, .pagebar .t-serif { letter-spacing: .01em; }
.sec h3, .hc-head h2 {
  font-size: var(--fs-sub); font-weight: 600; letter-spacing: .08em;
  color: var(--t3);
}

/* ---------- ⑩ 进度 / 开关 / 步进器 / 反馈 ---------- */
.progress i, .r-prog i, .upd-bar i, .st-prog i { border-radius: 999px; transition: width 600ms var(--e-main); }
button:disabled { opacity: .4; }
/* 骨架屏：呼吸明暗（不用转圈） */
.sk-card, .skeleton, .mv-stage:empty::after {
  animation: skPulse 1.6s var(--e-sub) ease-in-out infinite;
}
@keyframes skPulse { 0%, 100% { opacity: .45; } 50% { opacity: .9; } }
/* toast：药丸毛玻璃。文字色必须随主题走（基础层浅色主题给的是白字，
   覆盖层把背景换成 --card 后白底白字对比 1.0 —— R11 对比度门禁实锤后修正） */
.toast {
  border-radius: var(--r-pill);
  background: color-mix(in srgb, var(--card) 88%, transparent);
  color: var(--t1);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  box-shadow: 0 8px 26px rgba(0, 0, 0, .14), inset 0 0 0 1px color-mix(in srgb, var(--line) 70%, transparent);
}

/* ---------- ⑪ 今日页（英雄区 + 天幕 + 快捷入口） ---------- */
/* 天幕明暗态的强调色翻转（覆盖 v3.css 的绿色旧值；深天幕文字级强调＝apricot ≈8.4:1） */
.sky[data-sky='dark']  { --accent: var(--brand-apricot); --accent-strong: #F9CFA6; --accent-sky: var(--brand-apricot); }
/* --accent-sky 浅天幕用更深的 #7A3D06：#A34808 对晡礼段最暗停靠 #C7D2E2 实测 3.94<4.5
   （verify-v3-sky-periods R11 实锤 .fl-days「57 天」），#7A3D06 全部停靠点 ≥5.5 */
.sky[data-sky='light'] { --accent: #A34808; --accent-strong: #8F4708; --accent-sky: #7A3D06; }
/* 英雄倒计时：超大等宽数字 */
.hero .big {
  font-size: var(--fs-hero);
  font-weight: 200;
  letter-spacing: -1.5px;
  font-variant-numeric: tabular-nums;
}
/* 倒计时文字 200ms 垂直滚动（today.js 更新时挂 .roll） */
.roll { animation: rollUp 200ms var(--e-sub) both; }
@keyframes rollUp { from { transform: translateY(42%); opacity: 0; } to { transform: none; opacity: 1; } }
/* 当前礼拜行高亮 300ms */
.trow.now, .trow[data-now='1'] { transition: background 300ms var(--e-main); }
/* 已过礼拜降对比 */
.trow.past { opacity: .55; }
/* 天幕顶行（既往要求：整行下移 1cm 的留白继承 v3.css，不动） */
.sky-top .top-ico, .sky-top .city {
  transition: transform var(--t-press) var(--e-sub), background var(--t-press) var(--e-sub);
}
.sky-top .top-ico:active, .sky-top .city:active { transform: scale(.97); }
/* 快捷入口：单色线性、按压反馈 */
.quick-row button, .quick-grid button { transition: transform var(--t-press) var(--e-sub); }
.quick-row button:active, .quick-grid button:active { transform: scale(.97); }
/* 节日一行：低调小字（不改文字内容） */
.sky-fest .fest-chip { font-size: var(--fs-cap); color: var(--t2); }

/* ---------- ⑫ lp-note：细竖线小字 ---------- */
.lp-note {
  border-left: 2px solid color-mix(in srgb, var(--accent) 45%, transparent);
  padding-left: 10px;
  font-size: var(--fs-cap);
  color: var(--t3);
}
/* 信息提示（原「ⓘ」字符已移除，图标由 CSS 绘制——M110-R11 去 emoji） */
.v-info::before, .pr-honest::before, .zv-warn::before {
  content: ''; display: inline-block; width: 13px; height: 13px; margin-right: 6px;
  border: 1.5px solid currentColor; border-radius: 50%;
  background:
    radial-gradient(circle at 50% 30%, currentColor 1.3px, transparent 1.8px),
    linear-gradient(currentColor, currentColor) 50% 64% / 1.6px 4.6px no-repeat;
  vertical-align: -2px;
}

/* ---------- ⑬ 统一动效：入场 stagger（前 8 项 ×30ms，仅播一次） ---------- */
.v-push .home-card, .v-push .home-card ~ section, .v-push .wr-group, .v-push .sec,
.v-push .life-card, .v-push .dua-card, .v-push .hj-card, .v-push .set-card,
.v-fade .home-card, .v-fade .wr-group, .v-fade .sec {
  animation: riseIn 420ms var(--e-main) both;
}
.v-push .home-card:nth-child(2), .v-push .sec:nth-child(2), .v-fade .sec:nth-child(2),
.v-push .wr-group:nth-child(2) { animation-delay: 30ms; }
.v-push .home-card:nth-child(3), .v-push .sec:nth-child(3), .v-fade .sec:nth-child(3),
.v-push .wr-group:nth-child(3) { animation-delay: 60ms; }
.v-push .home-card:nth-child(4), .v-push .sec:nth-child(4), .v-fade .sec:nth-child(4),
.v-push .wr-group:nth-child(4) { animation-delay: 90ms; }
.v-push .sec:nth-child(5), .v-fade .sec:nth-child(5) { animation-delay: 120ms; }
.v-push .sec:nth-child(6), .v-fade .sec:nth-child(6) { animation-delay: 150ms; }
.v-push .sec:nth-child(7), .v-fade .sec:nth-child(7) { animation-delay: 180ms; }
.v-push .sec:nth-child(8), .v-fade .sec:nth-child(8) { animation-delay: 210ms; }
@keyframes riseIn { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }
/* 标签切换 180ms（覆盖 router 的 v-fade 时长） */
.v-fade { animation-duration: var(--t-tab) !important; animation-timing-function: var(--e-sub) !important; }
/* 推入 350ms 主曲线 */
.v-push, .v-back { animation-duration: var(--t-push) !important; animation-timing-function: var(--e-main) !important; }

/* ---------- ⑭ 关键页微调 ---------- */
.trow { border-bottom: 1px solid color-mix(in srgb, var(--line) 55%, transparent); border-radius: var(--r-ctl); }
.qb-card, .qibla .card { border-radius: var(--r-card); }
.reader .a-ar { letter-spacing: 0; }
.bk-ay .ar { font-family: var(--font-ar); }
.live-top, .live-card { border-radius: var(--r-card); }
/* 页面左右 20px */
.page, .home-body { padding-left: var(--pad-x); padding-right: var(--pad-x); }

/* ---------- ⑮ 书籍翻页器（R10 用户令：纯图标，保留） ---------- */
.bk-pager {
  position: fixed; z-index: 84;
  left: 50%; transform: translateX(-50%);
  bottom: calc(var(--tabbar-h) + max(env(safe-area-inset-bottom), var(--safe-bot)) + 10px);
  display: flex; gap: 8px; padding: 7px 9px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--card) 84%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  box-shadow: 0 8px 26px rgba(0, 0, 0, .16), inset 0 0 0 1px color-mix(in srgb, var(--line) 80%, transparent);
}
.bk-pager button {
  width: 46px; height: 46px; flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; border: 0; background: transparent; color: var(--t1);
  transition: transform .16s var(--e-sub), background .2s, opacity .2s;
}
.bk-pager button svg { width: 21px; height: 21px; }
.bk-pager button:active { transform: scale(.97); }
.bk-pager button[disabled] { opacity: .35; pointer-events: none; }
body[data-bkpager='1'] #view { padding-bottom: calc(72px + var(--tabbar-h)); }

/* ---------- ⑯ 按压统一（全局 0.97/120ms） ---------- */
button { transition: transform var(--t-press) var(--e-sub); }
button:active { transform: scale(.97); }
/* 排除已有更细反馈的对象重复缩放 */
.wr-row:active, .set-row:active, .lesson-list button:active, .srch-row:active, .dsh-row:active { transform: scale(.985); }
.tabbar button:active, .bk-pager button:active { transform: scale(.97); }
.chip:active, .fest-chip:active, .st-chip:active, .seg button:active, .pr-mode button:active,
.stb-seg button:active, .st-seg button:active { transform: scale(.97); }

/* ---------- ⑯b 触控区 ≥44px（体检实测 82 处的整改） ---------- */
/* 古兰阅读器：收藏钮 30×30 → 44；译文行 34 → 44 */
.ayah .a-fav { width: 44px; height: 44px; }
.ayah .a-fav svg { width: 19px; height: 19px; }
.a-zh { min-height: 44px; }
/* 朝觐脚注引用标 S1/S5：负边距扩大热区且不改版式（16px 全向：S1 文字仅 ~12px 宽，
   8px 横向 padding 只到 28px —— R11 复测后加码） */
.hj-src a, .hj-srclist a, .z-src a, .z-src-note a, .jz-src a, .zv-src a, .fd-src a, .rz-src a {
  display: inline-block; padding: 17px; margin: -17px;
}
/* 搜索页历史/推荐词 chips（button[data-q] 挂在 .srch-his，不在 .srch-wrap 内 —— R11 修选择器） */
button[data-q], .srch-wrap .srch-chip { min-width: 44px; min-height: 44px; }

/* ---------- ⑰ reduced-motion 全降级 ---------- */
@media (prefers-reduced-motion: reduce) {
  .sheet, .drawer, .tb-ico, .roll, .v-push, .v-fade, .v-back,
  .v-push .home-card, .v-push .sec, .v-fade .sec, .v-fade .home-card { animation: none !important; }
  .wr-row:active, .lesson-list button:active, .set-row:active, .btn:active, .tabbar button:active,
  .chip:active, button:active { transform: none !important; }
  .sk-card, .skeleton { animation: none !important; }
  body, .card, .home-card, .sheet, .tabbar, .pagebar, .drawer, .btn { transition: none !important; }
}

/* ---------- ⑱ 宽屏（≥768px）：侧边导航 + 舒适阅读列（《总指令》§6.9） ----------
   此前 ≥640px 是「居中 480px 手机画布」，两侧大面积空白正是指令点名的反例。
   现改为：左侧 92px 品牌导航栏（HCS 字标 + 五入口竖排），
   内容列 max-width 680px 在剩余空间居中；弹层/播放条跟随内容列。
   信息、功能、顺序与手机版完全一致，只是导航换位。 */
@media (min-width: 768px) {
  body { background: var(--paper); }
  #app { width: auto; max-width: none; margin: 0 0 0 92px; box-shadow: none; min-height: 100vh; }
  #view { max-width: 680px; margin: 0 auto; }
  .tabbar {
    width: 92px; left: 0; right: auto; top: 0; bottom: 0; margin: 0;
    display: flex; flex-direction: column; justify-content: flex-start;
    gap: 6px; padding: 12px 10px calc(12px + env(safe-area-inset-bottom));
    height: 100vh;
    border-right: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
    border-top: 0;
    background: color-mix(in srgb, var(--paper) 90%, transparent);
    -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  .tabbar::before {
    content: 'HCS'; flex: none;
    font-family: var(--f-latin); font-weight: 700; font-size: 0.9375rem; letter-spacing: .14em;
    color: var(--accent); text-align: center; padding: 8px 0 14px;
  }
  .tabbar button { width: 100%; min-height: 56px; border-radius: var(--r-ctl); }
  /* 弹层/抽屉：覆盖 v3.css ≥640 的 480px 居中画布口径，改为全屏遮罩 + 560px 面板居中 */
  .sheet-wrap, .drawer-wrap { width: auto; left: 0; right: 0; margin-left: 0; }
  .sheet-wrap .sheet, .drawer-wrap > .drawer { width: 100%; max-width: 560px; margin-left: auto; margin-right: auto; }
  .playerbar { left: 92px; right: 0; width: auto; max-width: 680px; margin: 0 auto; }
}

/* ============ M110-R14：触控区一律 ≥44×44（2026-11-06 用户令） ============
   上一轮第三方实测（C2 探针，26 页×双主题）查出 54 处可点元素 <44×44，分三类：
     ① 表单输入：施舍金额 130×26（10 个）、宰牲金额 174×26（5 个）、
        地点搜索 258×26（3 个）、全站搜索 206×26（1 个）
     ② 故事朗读条：播放/停止 40×40、男女声 40.7×39、语速 38×34
     ③ 故事「在线阅读」按钮 101×38
   只用 CSS 把可点矩形抬到 44×44：字级、配色、图标尺寸、圆角一律不动；
   输入框只加高、不加边框底色（仍是一行，视觉只多了呼吸高度）。
   🔴 朗读条 7 个 44px 按钮 + 进度在 390px 内一行放不下（44×7+40+间距 ≈ 372 > 358），
      硬塞必横向溢出 ⇒ <400px 折两行（播放/停止/进度一行，男女声/语速一行），
      ≥400px 维持单行。 */
input[type='text'], input[type='search'], input[type='number'],
.z-in, .q-in, #pSearch, #sq { min-height: 44px; }

.st-bar { display: grid; grid-template-columns: auto auto minmax(0, 1fr); align-items: center; gap: 6px 8px; }
.stb-play { grid-area: 1 / 1 / 2 / 2; justify-self: start; }
.stb-stop { grid-area: 1 / 2 / 2 / 3; justify-self: start; }
.stb-prog { grid-area: 1 / 3 / 2 / 4; justify-self: end; min-width: 0; text-align: right; }
.stb-voice { grid-area: 2 / 1 / 3 / 2; justify-self: start; }
.stb-rate { grid-area: 2 / 2 / 3 / 4; justify-self: end; }
.st-bar button { min-height: 44px; min-width: 44px; }
.stb-seg button { min-height: 44px; min-width: 44px; padding: 0 8px; }
.st-read { padding-bottom: calc(var(--tabbar-h) + 124px); }
.st-btn { min-height: 44px; }

@media (min-width: 400px) {
  .st-bar { grid-template-columns: auto auto minmax(0, 1fr) auto auto; }
  .stb-voice { grid-area: 1 / 4 / 2 / 5; justify-self: end; }
  .stb-rate { grid-area: 1 / 5 / 2 / 6; justify-self: end; }
  .st-read { padding-bottom: calc(var(--tabbar-h) + 84px); }
}

/* ============================================================================
   R16（2026-11-07 用户令）「首页内容很小，看不清，文字 图标都要放大 10%」
   ---------------------------------------------------------------------------
   做法：只对首页根节点 .home 做等比放大。zoom 会同时放大字号、图标与间距，
   比例严格 1.1；若逐条改 40+ 个 px 值，日后必然漂移且容易漏改图标。
   ⚠️ 只在 .home 上生效，不影响其它页面与弹层；放大后若出现横向溢出，
   由 verify-prod-r15c / verify-next 的「零横向溢出」断言直接判红。
   ========================================================================== */
.home { zoom: 1.1; }
