  /* 设计方向：奶油纸底 + 大地陶土（Nature Distilled），日历纸感，系统字体（部署目标含微信内置浏览器，不拉外部字体）
     语义分层：陶土=结构/常规（accent），橄榄绿=进行中/活的（live），深红=仅警示（danger） */
  :root{
    --bg:#F5F0E1; --surface:#FFFDF7; --ink:#3A2E26; --muted:#8A7A6B;
    --line:#E8DFCB; --card-line:#D6C4A4; --accent:#9A3412; --on-accent:#FFFFFF;
    --accent-soft:#F7E8DE; --live:#6B7B3C; --live-soft:#EDF0DF; --danger:#9F1D1D;
    --danger-soft:#F7E3E0;
    --shadow:0 10px 30px rgba(58,46,38,.16);
  }
  @media (prefers-color-scheme: dark){ :root:not([data-theme="light"]){
    --bg:#211A15; --surface:#2B221C; --ink:#F0E7DC; --muted:#A8988A;
    --line:#3D322A; --card-line:#4E3F33; --accent:#E08A5E; --on-accent:#2B1408;
    --accent-soft:#3A2A21; --live:#A9C06B; --live-soft:#2E3323; --danger:#E06A50;
    --danger-soft:#3A2521;
    --shadow:0 8px 22px rgba(0,0,0,.3); color-scheme:dark;
  }}
  :root[data-theme="dark"]{
    --bg:#211A15; --surface:#2B221C; --ink:#F0E7DC; --muted:#A8988A;
    --line:#3D322A; --card-line:#4E3F33; --accent:#E08A5E; --on-accent:#2B1408;
    --accent-soft:#3A2A21; --live:#A9C06B; --live-soft:#2E3323; --danger:#E06A50;
    --danger-soft:#3A2521;
    --shadow:0 8px 22px rgba(0,0,0,.3); color-scheme:dark;
  }
  /* 深色模式下提亮活动色（圆点/色条/无图占位块来自官网活动颜色，原值偏暗看不清） */
  @media (prefers-color-scheme: dark){ :root:not([data-theme="light"]) .day .dot,
    :root:not([data-theme="light"]) .cbar,
    :root:not([data-theme="light"]) .cthumb.cph { filter:brightness(1.2) saturate(0.85); } }
  :root[data-theme="dark"] .day .dot, :root[data-theme="dark"] .cbar,
  :root[data-theme="dark"] .cthumb.cph { filter:brightness(1.2) saturate(0.85); }
  *{box-sizing:border-box}
  /* html 显式上底色：短内容页（如关于）body 以下露出的画布不再残留浅色 */
  html{background:var(--bg);scrollbar-gutter:stable}  /* 稳定滚动条位：切换 tab 内容长短不引起 dock 横移 */
  html,body{margin:0}
  body{
    background:var(--bg); color:var(--ink);
    min-height:100vh; min-height:100svh;   /* 撑满视口：短内容页（关于）下方不留裸画布，防 iOS PWA 旧帧残留 */
    display:flex; flex-direction:column;   /* 供视图 dock margin-top:auto 推底 */
    font:15px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
    padding:0 16px calc(22px + env(safe-area-inset-bottom, 0px));   /* 与 dock sticky bottom 对齐；iOS PWA 不可滚页 webview 收进安全区(env=0)、可滚页铺到物理底(env=34)，两种场景显式加 env 后 dock 落同一物理位置 */
    padding-top:env(safe-area-inset-top);
    position:relative;   /* 关于页版本号（.ab-ver）的定位锚：钉到 body 盒右下、dock 上方 */
  }
  /* iOS PWA 修正（v176）：standalone 下「一屏装下的短页」webview 视口会被收进安全区变矮，
     dock 相对视口底定位就比可滚页高出一个安全区；用 lvh（standalone 无工具栏=全屏高）撑高
     让短页也可滚 → 视口恒全屏，dock 四 tab 物理位置恒定。浏览器环境不命中，零影响 */
  @media (display-mode: standalone), (display-mode: fullscreen){
    body{min-height:100lvh}
  }
  img{max-width:100%}
  [hidden]{display:none!important}
  button{touch-action:manipulation}
  a{color:var(--accent)}
  :focus-visible{outline:2px solid var(--accent);outline-offset:2px}

  .brand{margin:14px 0 8px;font-size:18px;font-weight:600;letter-spacing:.02em}

  .bar{
    position:sticky;top:0;top:env(safe-area-inset-top);z-index:20;
    margin:0 -16px;padding:10px 16px;
    display:flex;align-items:center;gap:8px;
    background:var(--bg);border-bottom:1px solid var(--line);
  }
  /* 活动列表视图：标题与卡片间不要分割线；底部 padding 一并收紧 */
  .bar.no-line{border-bottom:0;padding-bottom:2px}
  /* 首个日期分组标题不再叠加 14px 上边距（与标题栏贴紧），组间间距不变 */
  .listzone.tight .dhead:first-child{margin-top:4px}
  /* PWA(black-translucent) 时钟区：固定背景条钉在视口顶（z 高于吸顶条），滚过的内容从其下穿过被盖住；不挂 .bar 上以免未滚动时盖住 .brand 标题 */
  body::before{content:"";position:fixed;top:0;left:0;right:0;height:env(safe-area-inset-top);background:var(--bg);z-index:30}
  /* 纸张纹理：SVG 噪点整页平铺（无外部请求），淡到只剩纸的 tooth；浅色用 multiply 压出纤维感，深色换 soft-light 浮出细尘 */
  body::after{content:"";position:fixed;inset:0;z-index:2000;pointer-events:none;opacity:.05;mix-blend-mode:multiply;
    background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E") repeat}
  @media (prefers-color-scheme: dark){ :root:not([data-theme="light"]) body::after{mix-blend-mode:soft-light;opacity:.09} }
  :root[data-theme="dark"] body::after{mix-blend-mode:soft-light;opacity:.09}
  /* 关于页：整条月份栏（含主题按钮）藏起 */
  .bar.no-month{visibility:hidden}

  .mlabel{flex:1;font-size:17px;font-weight:700;font-variant-numeric:tabular-nums}
  /* 主题三档开关（关于页底部）：玻璃胶囊 + 滑动指示（浅色/深色/自动） */
  /* 主题开关独立于卡片：玻璃感=原版 CodePen 的 inset 阴影堆叠（白高光沿边+黑暗部反射+外投影）
     阴影用纯 rgba 变量而非 color-mix——老内核不支持 color-mix 会整条丢弃 box-shadow 变纯平 */
  /* 开关放卡片上方：v-about flex 纵排 + order 翻转，DOM 不动 */
  .v-about{display:flex;flex-direction:column}
  .ab-theme{display:flex;justify-content:flex-end;padding-right:16px;margin:0 0 16px;order:-1}
  .switcher{--w90:rgba(255,255,255,.9);--w80:rgba(255,255,255,.8);--w60:rgba(255,255,255,.6);--w10:rgba(255,255,255,.1);
    --b20:rgba(0,0,0,.2);--b12:rgba(0,0,0,.12);--b10:rgba(0,0,0,.1);--b8:rgba(0,0,0,.08);
    position:relative;display:flex;align-items:center;gap:4px;width:104px;max-width:100%;
    box-sizing:border-box;padding:6px 8px;margin:0;border:0;border-radius:99em;
    background-color:rgba(187,187,188,.12);
    backdrop-filter:blur(8px) saturate(150%);-webkit-backdrop-filter:blur(8px) saturate(150%);
    box-shadow:
      inset 0 0 0 1px var(--w10),
      inset 1.8px 3px 0px -2px var(--w90),
      inset -2px -2px 0px -2px var(--w80),
      inset -3px -8px 1px -6px var(--w60),
      inset -0.3px -1px 4px 0px var(--b12),
      inset -1.5px 2.5px 0px -2px var(--b20),
      inset 0px 3px 4px -2px var(--b20),
      inset 2px -6.5px 1px -4px var(--b10),
      0px 1px 5px 0px var(--b10),
      0px 6px 16px 0px var(--b8)}
  /* 深色：高光 ×0.3、暗部 ×2（两条路：显式 dark 与 auto 跟随系统——缺 auto 路会让 auto+系统暗色残留亮色白光） */
  html[data-theme=dark] .switcher{--w90:rgba(255,255,255,.27);--w80:rgba(255,255,255,.24);--w60:rgba(255,255,255,.18);--w10:rgba(255,255,255,.03);
    --b20:rgba(0,0,0,.4);--b12:rgba(0,0,0,.24);--b10:rgba(0,0,0,.2);--b8:rgba(0,0,0,.16)}
  @media (prefers-color-scheme: dark){ :root:not([data-theme="light"]) .switcher{--w90:rgba(255,255,255,.27);--w80:rgba(255,255,255,.24);--w60:rgba(255,255,255,.18);--w10:rgba(255,255,255,.03);
    --b20:rgba(0,0,0,.4);--b12:rgba(0,0,0,.24);--b10:rgba(0,0,0,.2);--b8:rgba(0,0,0,.16)} }
  .switcher__input{position:absolute;clip-path:inset(100%);width:1px;height:1px;overflow:hidden}
  .switcher__option{--c:var(--ink);display:flex;align-items:center;justify-content:center;
    width:42px;height:100%;padding:0 8px;box-sizing:border-box;border-radius:99em;transition:all 160ms}
  .switcher__option:hover{--c:var(--accent);cursor:pointer}
  .switcher__option:hover .switcher__icon{scale:1.2}
  .switcher[data-sel="1"] .switcher__option:nth-of-type(1),
  .switcher[data-sel="2"] .switcher__option:nth-of-type(2),
  .switcher[data-sel="3"] .switcher__option:nth-of-type(3){--c:var(--accent)}
  .switcher[data-sel="1"] .switcher__option:nth-of-type(1) .switcher__icon,
  .switcher[data-sel="2"] .switcher__option:nth-of-type(2) .switcher__icon,
  .switcher[data-sel="3"] .switcher__option:nth-of-type(3) .switcher__icon{scale:1}
  .switcher__icon{display:block;width:100%;transition:scale 200ms cubic-bezier(.5,0,0,1)}
  /* 滑动指示：玻璃浮块（fieldset 有 backdrop-filter 自成堆叠上下文，-1 垫底）；切换带果冻挤压动画 */
  .switcher::after{content:"";position:absolute;left:7px;top:3px;width:44px;height:calc(100% - 6px);
    border-radius:99em;background-color:rgba(187,187,188,.36);
    box-shadow:
      inset 0 0 0 1px var(--w10),
      inset 2px 1px 0px -1px var(--w90),
      inset -1.5px -1px 0px -1px var(--w80),
      inset -2px -6px 1px -5px var(--w60),
      inset -1px 2px 3px -1px var(--b20),
      inset 0px -4px 1px -2px var(--b10),
      0px 3px 6px 0px var(--b8);
    z-index:-1;transition:translate 400ms cubic-bezier(1,0,.4,1)}
  .switcher[data-sel="1"]::after{animation:scaleToggle-1 440ms}
  .switcher[data-sel="2"]::after{translate:46px 0;animation:scaleToggle-2 440ms}
  /* 两个同名不同号的关键帧：换档时动画能重启；挤压作用于 scale，不干扰 translate 过渡 */
  @keyframes scaleToggle-1{from{scale:1}35%{scale:1.07 .93}65%{scale:.97 1.03}to{scale:1}}
  @keyframes scaleToggle-2{from{scale:1}35%{scale:1.07 .93}65%{scale:.97 1.03}to{scale:1}}

  /* 底部 dock：sticky 推底（非 fixed），长页滚动时吸底、短页由 flex 推到屏底，各页位置恒定 */
  /* 页底光球：固定不随滚动，落在 dock 一带让玻璃折射看得见；压低亮度并贴近底缘，不干扰卡片阅读 */
  .bg-orb{position:fixed;z-index:0;pointer-events:none;display:block;border-radius:999px;filter:blur(26px);opacity:.2}
  .orb-a{width:280px;height:280px;left:10%;bottom:-90px;background:rgba(217,164,65,.26)}
  .orb-b{width:240px;height:240px;right:8%;bottom:-30px;background:rgba(154,52,18,.13)}

  /* 底部 dock：iOS26 液态玻璃风（照 CodePen ios26-nav 移植）——新拟态双影 + 滑动浮块（按下放大）+ 触点光晕 */
  .viewsel{--nd-light:rgba(255,255,255,.4);--nd-dark:rgba(148,160,181,.36);--accent-rgb:154,52,18;
    position:sticky;bottom:calc(22px + env(safe-area-inset-bottom, 0px));margin-top:auto;align-self:center;z-index:40;
    display:flex;background:var(--surface);border:1px solid var(--card-line);border-radius:999px;padding:7px 8px;gap:2px;
    box-shadow:5px 5px 14px var(--nd-dark),-5px -5px 12px var(--nd-light)}
  .viewsel,.viewsel .vbtn{touch-action:none;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none}   /* 手势归 dock：不抢滚动、不弹 iOS 长按呼出 */
  html[data-theme=dark] .viewsel{--nd-light:rgba(255,255,255,.05);--nd-dark:rgba(0,0,0,.5);--accent-rgb:224,138,94}
  @media (prefers-color-scheme: dark){ :root:not([data-theme="light"]) .viewsel{--nd-light:rgba(255,255,255,.05);--nd-dark:rgba(0,0,0,.5);--accent-rgb:224,138,94} }
  .vind{position:absolute;left:8px;top:7px;width:56px;height:calc(100% - 14px);border-radius:999px;z-index:0;pointer-events:none;display:block;
    background:var(--accent-soft);
    box-shadow:inset 0 1px 0 var(--vind-gloss,rgba(255,255,255,.46)),6px 6px 14px var(--nd-dark),-6px -6px 12px var(--nd-light);
    transition:left 260ms cubic-bezier(.2,.9,.22,1),width 260ms cubic-bezier(.2,.9,.22,1),transform 200ms ease;
    will-change:left,width,transform}
  .vind.interacting{transform:scale(1.4)}
  html[data-theme=dark] .vind{--vind-gloss:rgba(255,255,255,.14)}
  @media (prefers-color-scheme: dark){ :root:not([data-theme="light"]) .vind{--vind-gloss:rgba(255,255,255,.14)} }
  .vglow{position:absolute;inset:0;border-radius:999px;z-index:0;pointer-events:none;display:block;opacity:0;
    background:radial-gradient(70px 46px at var(--gx,50%) var(--gy,50%),rgba(var(--accent-rgb),.28) 0%,rgba(var(--accent-rgb),0) 74%);
    transition:opacity 250ms ease}
  .viewsel.touching .vglow{opacity:1}
  .vbtn{position:relative;z-index:1;border:0;background:none;font:inherit;padding:9px 18px;border-radius:19px;cursor:pointer;color:var(--muted);
    display:flex;flex-direction:column;align-items:center;gap:3px}
  .vbtn svg{width:20px;height:20px;display:block;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
  .vbtn.is-on,.vbtn.is-hover{color:var(--accent)}
  /* 内容与吸底 dock 的安全间距 */
  .listzone,.v-about{margin-bottom:84px}

  /* 关于视图：教会周报风——双细线、小型字距标签、点线引导符 */
  .aboutcard{margin-top:12px;background:var(--surface);border:1px solid var(--card-line);padding:22px 18px;text-align:center}
  .ab-logo{display:block;width:min(250px,80%);height:auto;margin:0 auto 16px}
  .ab-rule{height:6px;margin:0 2px 20px;border-top:1px solid var(--card-line);border-bottom:1px solid var(--card-line)}
  .ab-sec{margin:0 0 12px;font-size:11px;font-weight:700;letter-spacing:.16em;color:var(--muted)}
  .ab-sec span{font-weight:400;opacity:.7}
  .ab-sec:not(:first-of-type){margin-top:22px}
  .ab-ver{position:fixed;right:24px;bottom:calc(4px + env(safe-area-inset-bottom, 0px));margin:0;font-size:10px;letter-spacing:.08em;color:var(--muted);opacity:.6;z-index:41}   /* 视口右下角（absolute 会在矮屏被内容推出屏外，fixed 恒定钉角；p 默认 margin-bottom 会抬高约 10px，必须 margin:0）；离角 24/4px 防贴边裁切；+safe-area 防 iOS 圆角屏/Home 横条遮挡；z 41 压过 dock 玻璃阴影 */
  .ab-times{display:flex;flex-direction:column;gap:9px;text-align:left}
  .ab-t{display:flex;align-items:baseline;gap:8px;font-size:13.5px}
  .ab-t span{flex:none}
  .ab-t i{flex:1;border-bottom:1px dotted var(--card-line);transform:translateY(-3px)}
  .ab-t b{flex:none;font-weight:600;font-variant-numeric:tabular-nums;color:var(--accent)}
  .ab-row{display:flex;align-items:center;gap:10px;text-align:left;text-decoration:none;color:var(--ink);
    font-size:13.5px;line-height:1.5;padding:12px 4px;border-top:1px solid var(--line)}
  .ab-row svg{width:18px;height:18px;flex:none;fill:none;stroke:var(--accent);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

    .calcard{margin-top:12px;background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:10px 8px 6px}
  .weekrow{display:grid;grid-template-columns:repeat(7,1fr);text-align:center;font-size:11.5px;color:var(--muted);padding-bottom:8px;border-bottom:1px solid var(--line);margin-bottom:4px}
  .grid{display:grid;grid-template-columns:repeat(7,1fr)}
  .day{
    appearance:none;border:0;background:none;cursor:pointer;border-radius:10px;
    display:flex;flex-direction:column;align-items:center;gap:3px;
    padding:4px 0 6px;min-height:48px;font:inherit;color:var(--ink);
  }
  .day .num{
    width:30px;height:30px;border-radius:50%;display:grid;place-items:center;
    font-size:14px;font-variant-numeric:tabular-nums;
  }
  .day.is-today .num{box-shadow:inset 0 0 0 1.5px var(--accent);color:var(--accent);font-weight:600}
  .day.is-sel .num{background:var(--accent);color:var(--on-accent);font-weight:600;box-shadow:none}
  /* 有取消活动的日子：整格柔和警示底色，取消活动的圆点转警示红（正常活动圆点保持原色） */
  .day.has-cx{background:var(--danger-soft)}
  .day .dots{display:flex;gap:2px;height:5px;align-items:center}
  .day .dots.is-live .dot{animation:pulse 1.2s ease-in-out infinite}
  .dot{width:5px;height:5px;border-radius:50%;flex:none}
  /* 取消活动标记：× 替代圆点（两条对角线），不参与 is-live 呼吸 */
  .dot-x{width:7px;height:7px;flex:none;position:relative;display:inline-block}
  .dot-x::before,.dot-x::after{content:"";position:absolute;left:50%;top:50%;
    width:7px;height:1.6px;border-radius:.8px;background:var(--danger)}
  .dot-x::before{transform:translate(-50%,-50%) rotate(45deg)}
  .dot-x::after{transform:translate(-50%,-50%) rotate(-45deg)}
  .more{font-size:9px;line-height:1;color:var(--muted)}

  .listzone{margin-top:12px}   /* 与 .calcard 的 margin-top 对齐 */
  /* 列表视图：标题栏无分割线，去掉视觉分离后收紧与内容的间距 */
  .listzone.tight{margin-top:2px}
  .listzone.tight .daytitle{margin-bottom:6px}
  .listzone.tight .status{padding-top:6px}
  .daytitle{font-size:13px;font-weight:600;color:var(--muted);margin:0 0 10px;letter-spacing:.02em}
  .card{
    display:flex;gap:12px;width:100%;text-align:left;font:inherit;color:var(--ink);cursor:pointer;
    background:var(--surface);border:1px solid var(--card-line);
    position:relative;overflow:hidden;
    padding:12px 14px 12px 22px;margin-bottom:10px;
  }
  .card:active{background:var(--accent-soft)}
  .card:focus-visible{outline-offset:-3px}   /* 外扩 outline 会被自身 overflow:hidden 裁掉，改内缩 */
  .card.is-done{opacity:.55}
  .cbar{position:absolute;left:0;top:0;bottom:0;width:8px}
  /* 日历视图当天卡片左缩略图：event image 盖满；无图/加载失败露出主题色块+活动简写（列表视图不用） */
  .cthumb{flex:none;width:76px;height:76px;border-radius:12px;overflow:hidden;position:relative;
    display:grid;place-items:center;align-self:center}
  .cthumb i{font-style:normal;font-weight:700;font-size:18px;line-height:1;color:#fff;
    letter-spacing:.04em;text-shadow:0 1px 3px rgba(0,0,0,.28)}
  .cthumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
  /* 主日节目单块：首行（讲道人）高亮，其余各行原样 */
  .prog{margin-top:12px;padding:10px 12px;background:var(--accent-soft);border-radius:10px;font-size:13.5px;line-height:1.7;word-break:break-word}
  .prog b{color:var(--accent)}
  .progt{width:100%;border-collapse:collapse;margin-top:6px;font-size:13px;line-height:1.55}
  .progt td{padding:5px 6px 5px 0;border-top:1px solid var(--line);vertical-align:top}
  .progt tr:first-child td{border-top:0}
  .progt td:first-child{white-space:nowrap;color:var(--muted)}
  .progt tr.full td{color:var(--muted);padding-top:7px;white-space:normal}
  .ct{display:block;font-weight:600;font-size:15px;line-height:1.4;flex:1;min-width:0}
  .cs{display:block;color:var(--muted);font-size:12.5px;margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .cs.loc{white-space:normal}   /* 地址独占一行且可换行：单行省略会截断长地址 */
  /* 日历视图当天卡片：直角、相邻贴合（-1px 并边），成 FAT Event 式连续列表；列表视图不受影响 */
  #cards.calmode .card{margin-bottom:0}
  #cards.calmode .card + .card{margin-top:-1px}
  .ctrow{display:flex;align-items:flex-start;gap:8px}
  .card > span:last-child{flex:1} /* 内容列撑满，徽章固定靠卡片右缘 */
  .badge{flex:none;font-size:11px;line-height:1;padding:4px 8px;border-radius:9px;margin-top:1px}
  .badge.done{background:var(--line);color:var(--muted)}
  .badge.live{background:var(--live-soft);color:var(--live);font-weight:600}
  /* 已取消：红徽章压过时间徽章，标题置灰划线，整卡降透明（对齐官网 cancel_event 视觉） */
  .badge.cx{background:var(--danger);color:#fff;font-weight:600}
  .card.is-cx{opacity:.55}
  .card.is-cx .ct{color:var(--muted);text-decoration:line-through}
  /* 详情抽屉：已结束/已取消的活动，内容与卡片同款暗显示 */
  #sheetbody.is-done > *:not(.btnrow){opacity:.55}   /* 分享按钮保持全亮：父级 opacity 会连带压暗子元素，只能逐个子元素压 */
  #sheetbody.is-done .btnrow > *:not(.sharebtn){opacity:.55}
  /* live 指示：进行中徽章前的红色呼吸点 */
  .badge.live::before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--danger);margin-right:5px;vertical-align:1px;animation:pulse 1.2s ease-in-out infinite}
  @keyframes pulse{50%{opacity:.2}}
  /* 月度统计进度条（气泡百分比样式，活动列表底部；类名用 sp-* 前缀，避开全局 .bar/.row） */
  .mprog{margin-top:44px;position:relative}
  .mprog .sp-track{height:12px;border-radius:6px;background:var(--line);position:relative}
  .mprog .sp-fill{display:block;height:100%;border-radius:6px;background:var(--accent)}
  .mprog .sp-tip{position:absolute;bottom:calc(100% + 8px);transform:translateX(-50%);background:var(--accent);color:var(--on-accent);line-height:26px;font-size:12px;text-align:center;width:48px;border-radius:4px}
  .mprog .sp-tip::after{content:"";position:absolute;top:100%;left:50%;margin-left:-6px;border-top:6px solid var(--accent);border-left:6px solid transparent;border-right:6px solid transparent}
  .mprog .sp-tip.edge-r::after{left:auto;right:1px}
  .mprog .sp-tip.edge-l::after{left:8px}
  .mprog .sp-row{display:flex;justify-content:space-between;margin-top:8px;font-size:12.5px;color:var(--muted)}
  .mprog .sp-row span{color:var(--accent);font-weight:700}
  .ldr i{display:inline-block;width:5px;height:5px;border-radius:50%;background:currentColor;margin:0 2px;vertical-align:2px;animation:pulse 1.2s ease-in-out infinite}
  .ldr i:nth-child(2){animation-delay:.2s}
  .ldr i:nth-child(3){animation-delay:.4s}
  /* 下拉刷新指示：iOS 八爪 spinner，下拉时随拉动渐显，刷新时持续转（无底胶囊，贴近 Discourse Hub 样式） */
  #pullind{position:fixed;top:calc(env(safe-area-inset-top) + 54px);left:0;right:0;z-index:60;
    display:flex;justify-content:center;pointer-events:none;opacity:0;transition:opacity .2s ease}
  #pullind.on{opacity:1}
  /* 12 爪粗圆角棒，彗星尾渐隐（照 LottieFiles ios-style-loading-spinner 抽帧复刻） */
  .pspin{position:relative;width:30px;height:30px}
  .pspin i{position:absolute;left:50%;top:0;width:3px;height:8.5px;margin-left:-1.5px;border-radius:2px;
    background:#9aa4ae;opacity:.2;transform-origin:50% 15px;animation:pspinFade 1s linear infinite}
  .pspin i:nth-child(1){transform:rotate(0deg);animation-delay:-1s}
  .pspin i:nth-child(2){transform:rotate(30deg);animation-delay:-.9167s}
  .pspin i:nth-child(3){transform:rotate(60deg);animation-delay:-.8333s}
  .pspin i:nth-child(4){transform:rotate(90deg);animation-delay:-.75s}
  .pspin i:nth-child(5){transform:rotate(120deg);animation-delay:-.6667s}
  .pspin i:nth-child(6){transform:rotate(150deg);animation-delay:-.5833s}
  .pspin i:nth-child(7){transform:rotate(180deg);animation-delay:-.5s}
  .pspin i:nth-child(8){transform:rotate(210deg);animation-delay:-.4167s}
  .pspin i:nth-child(9){transform:rotate(240deg);animation-delay:-.3333s}
  .pspin i:nth-child(10){transform:rotate(270deg);animation-delay:-.25s}
  .pspin i:nth-child(11){transform:rotate(300deg);animation-delay:-.1667s}
  .pspin i:nth-child(12){transform:rotate(330deg);animation-delay:-.0833s}
  @keyframes pspinFade{0%{opacity:1}100%{opacity:.2}}
  /* 减弱动态效果（iOS 辅助功能/Windows 动画关闭）：不转圈，改整体呼吸闪烁表示在工作 */
  @media (prefers-reduced-motion:reduce){
    .pspin i{animation:none;opacity:.7}
    .pspin{animation:pspinPulse 1.2s ease-in-out infinite}
    @keyframes pspinPulse{50%{opacity:.25}}
  }
  @media (prefers-reduced-motion:reduce){.badge.live::before,.day .dots.is-live .dot,.ldr i{animation:none}}
  .dhead{font-size:12.5px;font-weight:700;color:var(--muted);margin:14px 2px 8px;letter-spacing:.03em}
  .dhead .tdy{color:var(--live)}
  .empty{color:var(--muted);font-size:13.5px;padding:18px 2px}
  .status{color:var(--muted);font-size:13.5px;padding:14px 2px}
  .status:empty{display:none}   /* 空状态不占位，列表与日历的顶部距离才一致 */
  .retry{background:none;border:0;padding:0;font:inherit;color:var(--accent);cursor:pointer;text-decoration:underline}

  .sheetwrap{position:fixed;inset:0;z-index:50}
  .backdrop{position:absolute;inset:0;background:rgba(18,20,16,.5);opacity:0;transition:opacity .25s}
  .sheet{
    position:absolute;left:0;right:0;bottom:0;
    background:var(--surface);border-radius:18px 18px 0 0;
    padding:6px 20px calc(20px + env(safe-area-inset-bottom));
    max-height:82vh;max-height:82svh;overflow-y:auto;box-shadow:var(--shadow);
    transform:translateY(100%);transition:transform .28s ease;
  }
  .sheetwrap.open .backdrop{opacity:1}
  .sheetwrap.open .sheet{transform:translateY(0)}
  /* 详情抽屉内底色整体调淡：只作用于弹层，不影响外面列表 */
  .sheet{--surface:#FFFFFF;--accent-soft:#F8F5F0}
  /* 深色下阴影看不见：分区改由 --card-line 细边框承担（规则05：细边框代替阴影） */
  :root[data-theme="dark"] .sheet{--surface:#332922;--accent-soft:#30261e;border:1px solid var(--card-line)}
  @media (prefers-color-scheme: dark){:root:not([data-theme="light"]) .sheet{--surface:#332922;--accent-soft:#30261e;border:1px solid var(--card-line)}}
  .grip{display:none}
  .sclose{position:absolute;top:10px;right:12px;margin:0;border:0;background:rgba(0,0,0,.32);
    font:inherit;font-size:14px;line-height:34px;color:#fff;width:34px;height:34px;border-radius:50%;
    padding:0;text-align:center;cursor:pointer;z-index:2}
  .sh-img{display:block;max-width:100%;max-height:40vh;max-height:40svh;width:auto;height:auto;margin:2px auto 14px;border-radius:12px}
  .sh-title{font-size:17px;font-weight:700;line-height:1.4;margin:0 0 10px}
  .row{display:flex;gap:10px;padding:9px 0;border-top:1px solid var(--line);font-size:13.5px}
  .row .k{flex:none;width:40px;color:var(--muted)}
  .row .v{min-width:0;word-break:break-word}
  .orglogo{width:20px;height:20px;border-radius:50%;object-fit:cover;vertical-align:-5px;margin-right:6px}
  /* 详情抽屉 v2：活动色渐变头带 + 时间/地点双卡 + 组织者卡（对齐官网弹窗版式） */
  .sh-hero{margin:-6px -20px 0;padding:20px 20px 14px;color:#fff;border-radius:18px 18px 0 0}
  .sh-meta{font-size:12px;opacity:.92;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-right:44px}
  .sh-mainrow{display:flex;align-items:center;gap:10px;margin-top:8px}
  .sh-day{font-size:36px;font-weight:800;line-height:1;flex:none}
  .sh-h1{font-size:18px;font-weight:700;line-height:1.3;min-width:0;word-break:break-word}
  .sh-sub{margin-top:7px;font-size:12px;opacity:.85}
  .sh-cards{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:14px}
  .sh-card{background:var(--accent-soft);border-radius:10px;padding:9px 12px;min-width:0}
  .sck{font-size:12px;font-weight:600;color:var(--muted);margin-bottom:3px}
  .scv{font-size:13px;line-height:1.5;word-break:break-word}
  .sh-org{margin-top:14px;background:var(--accent-soft);border-radius:10px;padding:12px}
  .sh-orgrow{display:flex;gap:12px;align-items:flex-start;margin-top:6px}
  .sh-orgname{font-weight:600;font-size:14px}
  .sh-org .orglogo{width:44px;height:44px;border-radius:10px;margin:0;flex:none}
  .sh-orgdesc{font-size:12.5px;color:var(--muted);line-height:1.6}
  .cta{
    display:block;text-align:center;margin-top:16px;padding:12px;border-radius:10px;
    background:var(--accent);color:var(--on-accent);font-weight:600;text-decoration:none;font-size:14.5px;
  }
  button.cta{border:0;width:100%;cursor:pointer;font-family:inherit}
  button.cta:disabled{opacity:.55;cursor:default}
  .gcal{display:block;text-align:center;margin-top:10px;font-size:12.5px;color:var(--muted)}
  .gcal[aria-disabled]{opacity:.55}   /* 已结束活动：Google 日历入口同步禁用（无 href 不可点） */
  .sharebtn{display:block;width:100%;margin-top:10px;padding:0;border:0;background:none;
    font:inherit;font-size:12.5px;color:var(--muted);text-align:center;cursor:pointer}
  .sharebtn:active{color:var(--accent)}
  /* 详情按钮排布（参照论坛用户卡）：2 列药丸网格，主按钮 accent 左上，次级软底 */
  .btnrow{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:16px}
  .btnrow .cta{margin-top:0;padding:11px 8px;font-size:13.5px;border-radius:12px}
  .btnrow .cta.secondary{background:var(--accent-soft);color:var(--ink)}
  .btnrow .sharebtn{margin-top:0;padding:11px 8px;border-radius:12px;background:var(--accent-soft);
    color:var(--ink);font-weight:600;font-size:13.5px}
  .shareimgwrap{position:fixed;inset:0;z-index:70;background:rgba(0,0,0,.78);display:flex;
    flex-direction:column;align-items:center;justify-content:center;padding:24px;cursor:pointer}
  .shareimgwrap img{width:min(86vw,420px);border-radius:12px;box-shadow:0 12px 48px rgba(0,0,0,.4)}
  .shareimgwrap p{color:#fff;font-size:13px;margin:14px 0 0;opacity:.85}
  .confirmbox{margin-top:16px;border:1px solid var(--line);border-radius:10px;padding:14px;text-align:center}
  .confirmbox .cq{font-weight:600;font-size:14.5px;margin-bottom:4px}
  .confirmbox .cta{margin-top:12px}
  @media (prefers-reduced-motion: reduce){
    .backdrop,.sheet{transition:none}
  }

  /* ---- 讲道视图 ---- */
  .v-preach{margin:12px 0 84px}
  .pstatus{margin:40px 24px;text-align:center;font-size:14px;color:var(--muted)}
  /* 卡片列表网格：手机 1 列（视觉与旧版一致）；iPad 竖屏 2 列、横屏 3 列 */
  #plist{display:grid;grid-template-columns:1fr;gap:16px;padding:0 14px}
  @media (min-width:600px){#plist{grid-template-columns:1fr 1fr;gap:18px;padding:0 18px}}
  @media (min-width:1000px){#plist{grid-template-columns:repeat(3,1fr)}}

  /* iPhone Duo 等折叠展开态（700–999px 且高度≤700 的扁屏）：主列限宽居中，防单列拉满 890px；
     iPad 竖屏（744–834 宽、高 1000+）不圈进来，维持全宽；≥1000 桌面三栏现状保持不变 */
  @media (min-width:700px) and (max-width:999px) and (max-height:700px){
    /* width:100% 必须给：body 是 column flex，auto 边距会取消 stretch、按内容收缩成 ~228px */
    .calcard,.listzone,.v-preach,.aboutcard{width:100%;max-width:640px;margin-left:auto;margin-right:auto}
    .sheet{width:560px;margin:0 auto;border-radius:18px}
  }
  .pcard{margin:0;background:var(--surface);border:1px solid var(--card-line);border-radius:0;overflow:hidden}
  .pcover{position:relative;background:var(--accent-soft)}
  .pcover img{display:block;width:100%;aspect-ratio:1200/630;object-fit:cover}
  .pcover-ph{display:flex;align-items:center;justify-content:center;aspect-ratio:1200/630;
    font-size:44px;color:var(--accent);opacity:.55}
  /* 封面加载失败：img 被 onerror 移除后由 ::after 顶上占位 */
  .pcover.imgfail::after{content:"🎙";display:flex;align-items:center;justify-content:center;
    aspect-ratio:1200/630;font-size:44px;color:var(--accent);opacity:.55}
  .pplay{position:absolute;right:10px;bottom:10px;width:52px;height:52px;border:0;border-radius:50%;
    background:var(--accent);color:var(--on-accent);cursor:pointer;display:flex;align-items:center;justify-content:center;
    box-shadow:0 4px 14px rgba(0,0,0,.35)}
  .pplay svg{width:24px;height:24px;fill:currentColor;stroke:currentColor;stroke-width:2;stroke-linecap:round}
  .pplay .ic-pause{fill:none}
  .pbody{padding:12px 14px 14px}
  .pmeta{display:flex;align-items:center;gap:8px;margin-bottom:6px}
  .pspk{font-size:12px;font-weight:700;color:var(--accent);background:var(--accent-soft);
    padding:3px 9px;border-radius:11px}
  .pdate{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}
  .ptitle{margin:0 0 6px;font-size:16.5px;line-height:1.4}
  .ptitle a{color:var(--ink);text-decoration:none}
  .pex{margin:0;font-size:13.5px;line-height:1.65;color:var(--muted)}
  /* 播放中的卡：进度条贴卡底 + 标题换主题色 */
  .pcard.p-active .ptitle{color:var(--accent)}
  .pcard .pc-prog{height:3px;background:var(--line);border-radius:0 0;display:none}
  .pcard.p-active .pc-prog{display:block}
  .pcard .pc-prog i{display:block;height:100%;width:0;background:var(--accent);border-radius:0 0}

  /* ---- 迷你播放器：播放中常驻（跨视图），fixed 悬在 dock 上方 ---- */
  /* SVG 元素不吃 HTML hidden 属性（UA 的 [hidden]{display:none} 会被
     作者样式的 display 压掉），图标显隐统一用 .off */
  .off{display:none}
  .pplayer[hidden]{display:none}
  .pplayer{position:fixed;left:14px;right:14px;bottom:calc(90px + env(safe-area-inset-bottom, 0px));z-index:45;
    display:flex;align-items:center;gap:10px;padding:10px 12px;
    background:var(--surface);border:1px solid var(--card-line);border-radius:16px;box-shadow:var(--shadow)}
  .pp-btn{flex:none;width:42px;height:42px;border:0;border-radius:50%;background:var(--accent);color:var(--on-accent);
    cursor:pointer;display:flex;align-items:center;justify-content:center}
  .pp-btn svg{width:20px;height:20px;fill:currentColor;stroke:currentColor;stroke-width:2.4;stroke-linecap:round}
  .pp-btn .ic-pause{fill:none}
  .pp-meta{flex:1;min-width:0;display:grid;grid-template-columns:1fr auto;gap:2px 10px;align-items:center}
  .pp-meta b{font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .pp-bar{grid-column:1/-1;height:3px;background:var(--line);border-radius:2px;overflow:hidden;cursor:pointer}
  .pp-bar i{display:block;height:100%;width:0;background:var(--accent)}
  #pptime{font-size:11px;color:var(--muted);font-variant-numeric:tabular-nums}
  .pp-close{flex:none;width:30px;height:30px;border:0;background:none;color:var(--muted);cursor:pointer;
    display:flex;align-items:center;justify-content:center}
  .pp-close svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}

  /* 开机弹窗：海报卡片（非全屏，居中；过期后随标记一起删除） */
  .splashwrap{position:fixed;inset:0;z-index:60;display:flex;align-items:center;justify-content:center;padding:24px}
  .splash-backdrop{position:absolute;inset:0;background:rgba(18,16,14,.55);opacity:0;transition:opacity .25s}
  .splash-card{position:relative;max-width:min(340px,86vw);border-radius:14px;overflow:hidden;
    box-shadow:0 18px 50px rgba(0,0,0,.35);transform:scale(.92);opacity:0;transition:transform .25s ease,opacity .25s ease}
  .splash-card img{display:block;max-width:100%;max-height:72vh;max-height:72svh;width:auto;height:auto}
  .splash-close{position:absolute;top:8px;right:8px;margin:0;border:0;background:rgba(0,0,0,.35);color:#fff;
    width:30px;height:30px;border-radius:50%;font:inherit;font-size:13px;line-height:30px;padding:0;
    text-align:center;cursor:pointer;z-index:2}
  .splashwrap.open .splash-backdrop{opacity:1}
  .splashwrap.open .splash-card{transform:scale(1);opacity:1}

  /* ---- 本周条（2026-12-05）：周一..周日 + 圆点 + 今天描边 ---- */
  .weekstrip{margin-top:12px;background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:10px 10px 8px}
  .ws-head{display:flex;align-items:baseline;justify-content:space-between;padding:2px 4px 8px}
  .ws-head b{font-size:15px;color:var(--ink)}
  .ws-head span{font-size:12px;color:var(--muted)}
  .ws-row{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}
  .wdcell{
    appearance:none;border:1px solid var(--line);background:none;cursor:pointer;
    border-radius:12px;padding:9px 0 8px;display:flex;flex-direction:column;
    align-items:center;gap:4px;min-width:0}
  .wdcell .wlab{font-size:11.5px;color:var(--muted)}
  .wdcell .wnum{font-size:17px;font-weight:700;color:var(--ink);line-height:1.25}
  .wdcell .wdots{display:flex;gap:4px;min-height:7px;align-items:center}
  .wdcell .wdots .dot{width:7px;height:7px}
  .wdcell .wdots .dot-x{width:8px;height:8px}
  .wdcell .wdots .more{font-size:9.5px;color:var(--muted)}
  .wdcell.is-today{border-color:var(--accent);background:var(--accent-soft)}
  .wdcell.is-today .wnum{color:var(--accent)}
  .wdcell.is-sel{background:var(--accent-soft)}
