/* 5.4.4 网站交互层(交互样机第二版,0927 Steven「开工」;与小程序 components/ev-line / undo-bar / term-tip / list-sheet / coach-mark 同款参数)。
   颜色全走令牌(static/theme.css 由小程序 theme.wxss 生成:--snack-* / --flash-* / --coach-* / --pop-shadow 两档齐全)。
   动画只动位置和透明度:出 0.3 秒、收 0.2 秒;系统开了「减弱动态效果」一律直接到位(文件末尾)。回滚 = base.html 删两行。 */

/* ── 轻提示(≤7 字,1.5 秒)── */
.ev-toast { position: fixed; left: 50%; top: 42%; z-index: 1500; transform: translate(-50%, -50%); max-width: min(78vw, 320px);
  padding: 12px 18px; border-radius: 10px; background: var(--snack-bg); color: var(--snack-text); font-size: 15px; font-weight: 700;
  text-align: center; box-shadow: 0 10px 28px var(--pop-shadow); pointer-events: none; animation: ev-pop .2s cubic-bezier(.2,.9,.3,1.1) both; }
.ev-toast.is-out { animation: ev-fade-out .2s ease-in both; }

/* ── 顶部状态条:提示可关(×)、失败带「重试」── */
.flash-wrap[data-ev-flashes] .flash, .flash-wrap[data-ev-lines] .flash { display: flex; align-items: flex-start; gap: 8px; }
/* 吸顶时压在内容上:淡色底下面垫一层不透明卡片色,底下的字不透上来(0927 C 区实测) */
.flash-wrap[data-ev-flashes] .flash, .flash-wrap[data-ev-lines] .flash { background: linear-gradient(var(--float), var(--float)), var(--card); }
.flash-wrap[data-ev-flashes] .flash.flash-success, .flash-wrap[data-ev-lines] .flash.flash-success { background: linear-gradient(var(--ok-bg), var(--ok-bg)), var(--card); }
.flash-wrap[data-ev-flashes] .flash.flash-error, .flash-wrap[data-ev-flashes] .flash.flash-danger,
.flash-wrap[data-ev-lines] .flash.flash-error, .flash-wrap[data-ev-lines] .flash.flash-danger { background: linear-gradient(var(--danger-bg), var(--danger-bg)), var(--card); }
.flash .ev-t, .ev-undo-flash > span { flex: 1; min-width: 0; }
.flash .ev-x { flex: none; margin: -6px -8px -6px 0; padding: 4px 10px; border: 0; background: none; color: inherit; opacity: .7;
  font: inherit; font-size: 20px; line-height: 1; cursor: pointer; }
.flash .ev-x:hover, .flash .ev-x:focus-visible { opacity: 1; }
.flash .ev-a { flex: none; margin: -4px 0; padding: 4px 6px; border: 0; background: none; color: inherit; font: inherit; font-weight: 800; cursor: pointer; }
.ev-line { animation: ev-rowin .24s cubic-bezier(.2,.85,.3,1) both; }
.flash.is-out { animation: ev-fade-out .2s ease-in both; }
.ev-undo-form { display: inline; margin: 0; }

/* ── 1005 右下角浮层一套位置(复查 P2:「?」被「我」整颗盖住、撤回条盖住「未保存 · 保存」吸底条)──
   右下一列从下往上:外观浮钮(static/theme.css 生成,40px,底边 = --fl-base)→ 引导「?」(32px)→「我」(44px),格与格之间 --fl-gap;
   撤回条整行贴底(底边 = --snack-b);吸底条(未保存 · 保存 等)在撤回条出来时(body.ev-snack-on)抬到它上面:加 class ev-lift
   或在各自样式里写 body.ev-snack-on <选择器> { bottom: calc(var(--snack-b) + var(--fl-snack) + var(--fl-gap)) }。
   新加右下浮层 = 在这一列里加一格(scripts/test_web_555.py ⑫ 算每格上下沿,重叠就红)。 */
:root { --fl-base: 24px; --fl-gap: 8px; --fl-fab: 40px; --fl-q: 32px; --fl-me: 44px; --fl-snack: 48px; }
@media (max-width: 860px) { :root { --fl-base: calc(84px + env(safe-area-inset-bottom)); } }
body { --snack-b: calc(16px + env(safe-area-inset-bottom)); }
body.has-tabbar { --snack-b: calc(84px + env(safe-area-inset-bottom)); }
@media (min-width: 861px) { body.has-tabbar { --snack-b: 24px; } }
body.ev-snack-on .ev-lift { bottom: calc(var(--snack-b) + var(--fl-snack) + var(--fl-gap)) !important; }

/* ── 撤回条 ── */
.ev-snack { position: fixed; left: 12px; right: 12px; bottom: var(--snack-b); z-index: 1400; max-width: 560px; margin: 0 auto;
  display: flex; align-items: center; gap: 10px; min-height: 48px; box-sizing: border-box; padding: 0 6px 0 14px; border-radius: 12px; overflow: hidden;
  background: var(--snack-bg); color: var(--snack-text); font-size: 14px; box-shadow: 0 10px 28px var(--pop-shadow);
  animation: ev-snin .24s cubic-bezier(.2,.9,.3,1.1) both; }
.ev-snack.is-out { animation: ev-snout .18s ease-in both; }
.ev-snack .ev-t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ev-snack .ev-a { flex: none; border: 0; background: none; color: var(--snack-act); font: inherit; font-size: 14px; font-weight: 800; padding: 12px 10px; cursor: pointer; }
.ev-snack .ev-bar { position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; background: var(--snack-act); transform-origin: left center;
  transform: scaleX(1); transition-property: transform; transition-timing-function: linear; }
.ev-snack .ev-bar.is-run { transform: scaleX(0); }

/* ── 站内确认框(撤不回的操作才用;危险 = 红描边)── */
html.ev-ask-open { overflow: hidden; }
.ev-ask-mask { position: fixed; inset: 0; z-index: 1600; display: grid; place-items: center; padding: 18px; background: var(--mask-strong);
  -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); animation: ev-fade .2s ease-out both; }
.ev-ask-mask.is-out { animation: ev-fade-out .2s ease-in both; }
.ev-ask { width: min(380px, 100%); box-sizing: border-box; padding: 18px 16px 14px; border-radius: 14px; border: 1px solid var(--hair);
  background: var(--card); color: var(--text); box-shadow: var(--card-shadow); animation: ev-pop .22s cubic-bezier(.2,.9,.3,1.1) both; }
.ev-ask.is-danger { border-color: var(--danger-line); }
.ev-ask h2 { margin: 0; font-size: 17px; font-weight: 800; color: var(--snow); line-height: 1.4; }
.ev-ask p { margin: 8px 0 0; font-size: 14px; line-height: 1.6; color: var(--text-2, var(--text)); white-space: pre-line; }
.ev-ask .ev-ask-msg { color: var(--danger); font-weight: 700; }
.ev-ask-acts { display: flex; gap: 10px; margin-top: 16px; }
.ev-ask-acts .fz5-btn { flex: 1; min-height: 42px; }
.ev-ask [hidden] { display: none !important; }
.ev-ask.is-done { border-color: var(--ok-line); }
.ev-ask.is-done h2 { color: var(--ok); }

/* ── 术语气泡 ── */
[data-tip].ev-tipped { cursor: help; }
[data-tip].ev-tipped:focus-visible { outline: 2px solid var(--ice); outline-offset: 2px; border-radius: 6px; }
.ev-bub { position: absolute; z-index: 1450; max-width: 240px; padding: 8px 12px; border-radius: 9px; font-size: 13px; line-height: 1.5; font-weight: 600;
  color: var(--snow); background: var(--card); border: 1px solid var(--line-hi); box-shadow: 0 8px 22px var(--pop-shadow);
  animation: ev-bubin .18s cubic-bezier(.2,.9,.3,1.2) both; transform-origin: 50% 100%; }   /* 不透明底:下面的字不透上来(0927 D 区) */
.ev-bub.is-below { transform-origin: 50% 0; }
.ev-bub.is-out { animation: ev-fade-out .14s ease-in both; }
.ev-bub-a { position: absolute; bottom: -6px; width: 10px; height: 10px; margin-left: -5px; background: inherit;
  border-right: 1px solid var(--line-hi); border-bottom: 1px solid var(--line-hi); transform: rotate(45deg); }
.ev-bub.is-below .ev-bub-a { bottom: auto; top: -6px; transform: rotate(225deg); }

/* ── 原地保存换主体:移走的行先滑走再收起、新加的行滑进来(一-4;5.4.5 二-6)──
   前 0.1 秒向右滑出 + 淡出,后 0.14 秒收高度(共 0.24 秒,ux.js 按 GONE_MS 换主体);滑出距离不超出卡片边,手机上不冒横向滚动 */
.ev-gone-row { overflow: hidden; max-height: 0 !important; min-height: 0 !important; opacity: 0; transform: translateX(24px); padding-top: 0 !important; padding-bottom: 0 !important; margin-top: 0 !important; margin-bottom: 0 !important;
  transition: opacity .1s ease-in, transform .1s ease-in, max-height .14s cubic-bezier(.4, 0, .2, 1) .1s, min-height .14s cubic-bezier(.4, 0, .2, 1) .1s,
    padding .14s cubic-bezier(.4, 0, .2, 1) .1s, margin .14s cubic-bezier(.4, 0, .2, 1) .1s; }   /* min-height 也收:.fz5-row 带 46px 下限,不收会停在 46px、换主体时下面的行再跳一下 */
.ev-rowin { animation: ev-rowin .26s cubic-bezier(.2,.85,.3,1) both; }
/* 红条写进弹窗时与表单留出间距 */
.mb-editor > .ev-line { margin: 10px 0 0; }

/* ── 改动亮一下(行 / 卡)── */
.ev-flash { animation: ev-flash 1.7s ease-out 1; }
.ev-okmark { display: inline-block; margin-left: 6px; font-size: 12px; font-weight: 700; color: var(--ok); animation: ev-tag 1.2s ease-out forwards; }

/* ── 原地保存:提交中 ── */
form.is-saving { cursor: progress; }
.is-busy { position: relative; opacity: .75; }
[data-inplace] form.is-saving button[type="submit"].is-busy::after, [data-inplace] form.is-saving .is-busy::after {
  content: ""; display: inline-block; width: 12px; height: 12px; margin-left: 6px; vertical-align: -2px; border-radius: 50%;
  border: 2px solid currentColor; border-right-color: transparent; animation: ev-spin .7s linear infinite; }

/* ── 抽屉 / 弹层进出场(EV.open / EV.close;.mb-modal 打开自动弹出)── */
.mb-modal[hidden] { display: none !important; }   /* fz5 的 display:grid 会压过 [hidden](0927 E 区实测) */
.mb-modal:not([hidden]) > .mb-editor, .ev-entering > .mb-editor { animation: ev-pop .22s cubic-bezier(.2,.9,.3,1.1) both; }
.mb-modal:not([hidden]) { animation: ev-fade .22s ease-out both; }
.mb-modal.ev-leaving { animation: ev-fade-out .2s ease-in both; }
.mb-modal.ev-leaving > .mb-editor { animation: ev-pop-out .16s ease-in both; }
.ev-sheet-b:not([hidden]), .ev-sheet-b.ev-entering { animation: ev-up .3s cubic-bezier(.22,.9,.3,1) both; }
.ev-sheet-b.ev-leaving { animation: ev-down .2s ease-in both; }

/* ── 清单抽屉(数字点开 / 发到群)── */
.ev-dmask { position: fixed; inset: 0; z-index: 1300; background: var(--mask); animation: ev-fade .22s ease-out both; }
.ev-dmask.is-out { animation: ev-fade-out .2s ease-in both; }
.ev-drawer { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1301; max-height: 66vh; max-width: 560px; margin: 0 auto;
  display: flex; flex-direction: column; background: var(--card); border-radius: 14px 14px 0 0; border: 1px solid var(--line-hi); border-bottom: 0;
  box-shadow: 0 -10px 30px var(--pop-shadow); padding-bottom: env(safe-area-inset-bottom); animation: ev-up .3s cubic-bezier(.22,.9,.3,1) both; }
.ev-drawer.is-out { animation: ev-down .2s ease-in both; }
@media (min-width: 861px) { .ev-drawer { bottom: 24px; border-radius: 14px; border-bottom: 1px solid var(--line-hi); } }
.ev-drawer-h { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 16px 16px 10px; font-size: 15px; font-weight: 800; color: var(--snow); }
.ev-drawer-h::before { content: ""; position: absolute; left: 50%; top: 6px; width: 36px; height: 4px; margin-left: -18px; border-radius: 4px; background: var(--hair); }
@media (min-width: 861px) { .ev-drawer-h::before { display: none; } }
.ev-drawer-x { border: 0; background: none; color: var(--ice); font: inherit; font-size: 14px; font-weight: 600; padding: 6px 2px 6px 12px; cursor: pointer; }
.ev-drawer-b { overflow-y: auto; padding: 0 8px 14px; }
.ev-drawer-empty { text-align: center; color: var(--dim); padding: 24px 0; }
.ev-drow { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 10px; border-top: 1px solid var(--hair-soft); font-size: 14px;
  color: var(--text); overflow: hidden; max-height: 120px; animation: ev-rowin .26s cubic-bezier(.2,.85,.3,1) both;
  transition: max-height .18s ease, min-height .18s ease, opacity .14s ease; }
.ev-drow[role="button"] { cursor: pointer; }
.ev-drow[role="button"]:hover { background: var(--ice-bg); }
.ev-drow .no { flex: none; width: 38px; color: var(--dim); font-size: 12px; }
.ev-drow .nm { flex: 1; min-width: 0; font-weight: 700; color: var(--snow); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev-drow .meta { flex: none; color: var(--dim); font-size: 12px; white-space: nowrap; }
.ev-drow .act { flex: none; color: var(--ice); font-size: 13px; font-weight: 700; white-space: nowrap; }
.ev-drow .del { flex: none; border: 0; background: none; color: var(--dim); font-size: 14px; padding: 12px 4px 12px 12px; cursor: pointer; }
.ev-drow.is-gone { max-height: 0 !important; min-height: 0; opacity: 0; transform: translateX(24px); border-top-width: 0;
  transition: opacity .07s ease-in, transform .07s ease-in, max-height .11s cubic-bezier(.4, 0, .2, 1) .07s, min-height .11s cubic-bezier(.4, 0, .2, 1) .07s, border-top-width 0s linear .18s; }   /* 5.4.5:先滑走再收起,共 0.18 秒(同小程序 list-sheet) */
.ev-share { display: flex; gap: 10px; padding: 6px 12px 16px; }
.ev-share-b { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 4px; border-radius: 12px;
  border: 1px solid var(--line-hi); background: var(--well); color: var(--snow); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.ev-share-b .fz-ico { color: var(--ice); width: 26px; height: 26px; }
.ev-share-b:hover { background: var(--ice-bg); }

/* ── 找到我:浮动「我」键(我的那一行不在视野里才出来)── */
.ev-me { position: fixed; right: 14px; bottom: calc(var(--fl-base) + var(--fl-fab) + var(--fl-gap) + var(--fl-q) + var(--fl-gap)); z-index: 900; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--gold-line); background: var(--float); color: var(--gold); font: inherit; font-size: 15px; font-weight: 800; cursor: pointer;
  box-shadow: var(--fab-shadow, 0 6px 18px var(--pop-shadow)); opacity: 0; transform: scale(.8); pointer-events: none; transition: opacity .2s, transform .2s; }
.ev-me.is-on { opacity: 1; transform: none; pointer-events: auto; }

/* ── 长按进入多选:行不弹系统菜单、不选中文字 ── */
[data-longselect] { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
[data-longselect] input, [data-longselect] textarea, [data-longselect] select { -webkit-user-select: text; user-select: text; }   /* 行里的备注框照样能打字(iOS,R3) */

/* ── 首次引导 ── */
.ev-coach { position: fixed; inset: 0; z-index: 1700; cursor: pointer; animation: ev-fade .24s ease-out both; }
.ev-coach.is-out { animation: ev-fade-out .2s ease-in both; }
.ev-coach-hole { position: absolute; border-radius: 12px; box-shadow: 0 0 0 9999px var(--coach-mask);
  transition: left .32s cubic-bezier(.22,.9,.3,1), top .32s cubic-bezier(.22,.9,.3,1), width .32s cubic-bezier(.22,.9,.3,1), height .32s cubic-bezier(.22,.9,.3,1); }
.ev-coach-hole::after { content: ""; position: absolute; inset: -4px; border-radius: 14px; border: 2px solid var(--coach-ring); animation: ev-ring 1.6s ease-in-out infinite; }
.ev-coach-tip { position: absolute; box-sizing: border-box; padding: 9px 12px; border-radius: 10px; background: var(--coach-tip-bg); color: var(--coach-tip-text);
  font-size: 14px; font-weight: 700; line-height: 1.5; box-shadow: 0 10px 26px var(--pop-shadow);
  transition: left .32s cubic-bezier(.22,.9,.3,1), top .32s cubic-bezier(.22,.9,.3,1); }
.ev-coach-tip b { display: block; }
.ev-coach-tip small { display: block; margin-top: 2px; font-size: 12px; font-weight: 600; color: var(--coach-tip-sub); }
/* 1004:引导不自动弹,右下外观浮钮正上方一颗「?」(与浮钮同款玻璃底),点了才亮出 */
.ev-coach-q { position: fixed; right: 18px; bottom: calc(var(--fl-base) + var(--fl-fab) + var(--fl-gap)); z-index: 55; width: 32px; height: 32px; border-radius: 50%; padding: 0; cursor: pointer;
              border: 1px solid var(--glass-line, var(--line-hi)); background: var(--float, var(--card)); color: var(--ice);
              font: inherit; font-size: 15px; font-weight: 800; line-height: 1; box-shadow: var(--fab-shadow, none); }

/* ── 5.4.5 页面切换淡入(跨页视图转场;Chrome / Edge / Safari 18.2+ 认,别的浏览器照旧直接换页)──
   整页新旧两张图 0.18 秒淡出淡入;顶栏 / 底栏单独成组、原地换成新的不跟着闪;系统开「减弱动态效果」不转场(文件末尾那段只在不减弱时开) */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}
::view-transition-group(root), ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .18s; }   /* 组也 0.18 秒:整次转场 0.18 秒就结束(默认 0.25 秒期间点不动) */
.topbar { view-transition-name: ev-topbar; }
.tabbar { view-transition-name: ev-tabbar; }
/* 0928 复查 R2:转场那 0.18 秒里毛玻璃按直角画,胶囊后面露出方块 → 转场期间先关掉毛玻璃 */
html:active-view-transition .tabbar { -webkit-backdrop-filter: none; backdrop-filter: none; }
::view-transition-group(ev-topbar), ::view-transition-group(ev-tabbar) { animation: none; }
::view-transition-old(ev-topbar), ::view-transition-old(ev-tabbar) { display: none; }
::view-transition-new(ev-topbar), ::view-transition-new(ev-tabbar) { animation: none; }

/* ── 加载轮廓(脚本拉数据的区块先画灰块)── */
.ev-skel { border-radius: 6px; background: linear-gradient(90deg, var(--well) 0%, var(--hair) 40%, var(--well) 80%); background-size: 240% 100%;
  animation: ev-shimmer 1.2s linear infinite; color: transparent !important; }

@keyframes ev-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes ev-fade-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes ev-pop { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
@keyframes ev-pop-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: scale(.96); } }
@keyframes ev-up { from { transform: translateY(100%); } to { transform: none; } }
@keyframes ev-down { from { transform: none; } to { transform: translateY(100%); } }
@keyframes ev-rowin { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes ev-snin { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes ev-snout { from { opacity: 1; } to { opacity: 0; transform: translateY(10px); } }
@keyframes ev-bubin { from { opacity: 0; transform: translateY(4px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes ev-tag { 0% { opacity: 0; transform: translateY(4px); } 15%, 75% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes ev-spin { to { transform: rotate(360deg); } }
@keyframes ev-shimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }
@keyframes ev-ring { 0%, 100% { box-shadow: 0 0 0 0 var(--coach-ring-0); } 50% { box-shadow: 0 0 0 4px var(--coach-ring); } }
@keyframes ev-flash {
  0% { box-shadow: 0 0 0 0 var(--flash-none), inset 0 0 0 999px var(--flash-none); }
  14% { box-shadow: 0 0 0 3px var(--flash-ring), inset 0 0 0 999px var(--flash-fill); }
  62% { box-shadow: 0 0 0 3px var(--flash-ring-2), inset 0 0 0 999px var(--flash-fill-2); }
  100% { box-shadow: 0 0 0 0 var(--flash-none), inset 0 0 0 999px var(--flash-none); } }

@media (prefers-reduced-motion: reduce) {
  .ev-toast, .ev-toast.is-out, .ev-line, .flash.is-out, .ev-snack, .ev-snack.is-out, .ev-ask-mask, .ev-ask-mask.is-out, .ev-ask,
  .ev-bub, .ev-bub.is-out, .mb-modal:not([hidden]), .mb-modal:not([hidden]) > .mb-editor, .mb-modal.ev-leaving, .mb-modal.ev-leaving > .mb-editor,
  .ev-sheet-b:not([hidden]), .ev-sheet-b.ev-leaving, .ev-dmask, .ev-dmask.is-out, .ev-drawer, .ev-drawer.is-out, .ev-drow,
  .ev-coach, .ev-coach.is-out, .ev-coach-hole::after, .ev-skel, .ev-okmark, .ev-rowin { animation: none; }
  .ev-flash { animation-duration: 1.2s; }
  .ev-snack .ev-bar, .ev-drow, .ev-drow.is-gone, .ev-coach-hole, .ev-coach-tip, .ev-me, .ev-gone-row { transition: none; }
}

/* ── 5.4.5 按下有反应(同小程序 hover-class 口径;0927 Steven 体验 5.4.4:「我点每个按钮都是这样的反馈」)──
   网站此前几乎没有按下态(fz5.css 只有 .fz5-btn 一处)。按钮 / 小标签 / 工具格 = 缩一点 + 变淡;整行 / 链接 = 只变淡。
   只用单独的 scale 与 opacity 属性(不碰 transform:页面自己的位移 / 拖动不被盖);按下那一下 0.05 秒到位;
   松手弹回的过渡挂在 :where() 零权重规则上——元素自己写了 transition 的照它自己的,不把别人的过渡盖掉;
   去掉手机上的系统灰闪;选择器全包在 :where() 里(权重只有 :active 那一级),页面自己更具体的规则照样赢;减弱动效只变淡(下面单独一段)。 */
:where(a[href], button, summary, [type="submit"], [type="button"], [role="button"], label.fz5-row, label.fz5-chip, label.sim-mode-pill, .fz5-tool, .bp-tool) {
  -webkit-tap-highlight-color: transparent;
  transition: scale .22s cubic-bezier(.3, 1.35, .5, 1), opacity .18s ease-out;
}
:where(label:has(> input[type="checkbox"], > input[type="radio"])) { -webkit-tap-highlight-color: transparent; transition: opacity .18s ease-out; }
/* 整行 / 链接 / 折叠头:变淡 */
:where(a[href], summary, [role="button"], label.fz5-row):active { opacity: .62; transition-duration: .05s; }
:where(label:has(> input[type="checkbox"], > input[type="radio"])):active { opacity: .62; transition-duration: .05s; }
/* 按钮(含做成按钮样子的链接):缩到 .97 + 变淡(整宽按钮缩得少一点) */
:where(button, [type="submit"], [type="button"], a.fz5-btn, a.fz-btn, a.fz-btn-ghost, a.button, a.button-small, a.button-muted, a.ghost,
  a.ul-btn, a.fe-btn, a.al-ghost, a.mt-btn):where(:not(:disabled, [aria-disabled="true"], .fz5-row)):active { scale: .97; opacity: .72; transition-duration: .05s; }
/* 小标签 / 分段 / 工具格 / 熊坑工具键:缩到 .95 + 变淡 */
:where(.fz5-chip, .chip, .fchip, .dw-chip, .dc-chip, .sort-button, label.sim-mode-pill, .fz5-tool, .bp-tool, .theme-seg button):where(:not(:disabled, [aria-disabled="true"])):active { scale: .95; opacity: .72; transition-duration: .05s; }
/* 文字样子的按钮(「缺 N 人」、撤回、关闭 ×、抽屉里的删):只变淡 */
:where(.num-tap, .ev-a, .ev-x, .ev-drawer-x, .ev-drow .del):active { scale: none; }
/* .fz5-btn 原来按下 transform: scale(.98):改由上面的 scale 统一(不叠两次);原 transform 过渡保留 */
.fz5-btn { transition: transform .12s, scale .22s cubic-bezier(.3, 1.35, .5, 1), opacity .18s ease-out; }
.fz5-btn:active { transform: none; }
/* 底栏与外观浮钮自带按下缩放(同小程序 tb-press / tfab),不再叠变淡 */
.tabbar a:active, button.theme-fab:active { opacity: 1; scale: none; }

@media (prefers-reduced-motion: reduce) {
  /* 按下只变淡:不缩放、无过渡 */
  :where(a[href], button, summary, [type="submit"], [type="button"], [role="button"], label.fz5-row, label.fz5-chip, label.sim-mode-pill, .fz5-tool, .bp-tool) { transition: none; }
  :where(label:has(> input[type="checkbox"], > input[type="radio"])) { transition: none; }
  .fz5-btn { transition: none; }
  :where(button, [type="submit"], [type="button"], a, .fz5-chip, .chip, .fchip, .dw-chip, .dc-chip, .sort-button, label.sim-mode-pill, .fz5-tool, .bp-tool):active { scale: none; }
}
/* 0928 复查 R2:带勾选框的 label 行权重归零(:has 会把括号里的权重带出来,盖掉移走行的 .ev-gone-row 过渡)——已整条包进 :where;
   拖动中被拖那一行别被按下态压成半透明 */
:where(.ds-dragging) :active { opacity: 1; scale: none; }   /* 和上面的按下态同权重(只有 :active 那一点),靠放在最后压过 */
