/* ============================================================================
 * pages.css —— 页面特定样式：响应式表格(卡片化/横滚)、底部抽屉弹窗、二维码/直播、
 * 步骤条、进度条、复盘统计、套餐卡、骨架屏、空态、工具类。
 * 与 components/*.js 与 pages/*.js 模板一一对应。移动优先，>=768px 增强。
 * ==========================================================================*/

/* ---------- 响应式表格：PC 表格 / 移动卡片化 / 超宽横滚兜底 ---------- */
.table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.grid { width: 100%; border-collapse: collapse; font-size: 13px; }
table.grid th { text-align: left; color: var(--text-2); font-weight: 600; padding: 8px 10px; border-bottom: 1px solid var(--border); white-space: nowrap; }
table.grid td { padding: 9px 10px; border-bottom: 1px solid #f0f1f3; vertical-align: top; }
table.grid td.nowrap { white-space: nowrap; }
table.grid td .thumb { width: 44px; height: 44px; object-fit: cover; border-radius: 6px; display: block; }

/* 卡片化模式（默认 <768px 生效）：每个 <tr> 变一张卡，td 用 data-label 显示字段名 */
@media (max-width: 767px) {
  table.grid.cards thead { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
  table.grid.cards, table.grid.cards tbody, table.grid.cards tr, table.grid.cards td { display: block; width: 100%; }
  table.grid.cards tbody { padding: 0; }
  table.grid.cards tr { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 4px 13px; margin-bottom: 10px; }
  table.grid.cards td { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 9px 0; border-bottom: 1px dashed #eef0f2; text-align: right; }
  table.grid.cards td:last-child { border-bottom: none; }
  table.grid.cards td::before { content: attr(data-label); flex: none; color: var(--text-2); font-weight: 600; text-align: left; max-width: 42%; font-size: 12.5px; padding-top: 1px; }
  /* 整宽单元格（长文本/图片/操作区）：标签在上、内容在下 */
  table.grid.cards td.cell-full { display: block; text-align: left; }
  table.grid.cards td.cell-full::before { display: block; max-width: none; margin-bottom: 6px; }
  /* 无标签单元格（如主图）：不显示 ::before，内容居中 */
  table.grid.cards td.cell-bare::before { content: none; }
  table.grid.cards td.cell-bare { justify-content: center; }
}

/* ---------- 弹窗：PC 居中 modal / 移动底部抽屉 bottom sheet ---------- */
.modal-mask { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal { background: var(--card); border-radius: 14px; max-width: 660px; width: 100%; max-height: 85vh; overflow: auto; margin: 0; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.modal-grabber { display: none; }
.modal-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 16px; border-bottom: 1px solid var(--border); position: sticky; top: 0; background: var(--card); z-index: 1; }
.modal-head h3 { margin: 0; font-size: 16px; }
.modal-head h3 .sub { font-size: 13px; font-weight: 400; color: var(--text-2); margin-left: 6px; }
.modal-close { flex: none; width: 44px; height: 44px; margin: -10px -10px -10px 0; border: 0; background: transparent; color: var(--text-2); font-size: 20px; border-radius: 10px; }
.modal-close:active { background: rgba(0,0,0,.05); }
.modal-body { padding: 16px; }
@media (max-width: 767px) {
  .modal-mask { align-items: flex-end; padding: 0; }
  .modal { max-width: 100%; width: 100%; max-height: 90vh; max-height: 90dvh; border-radius: 18px 18px 0 0; padding-bottom: var(--safe-b); animation: sheetUp .26s cubic-bezier(.4,0,.2,1); }
  .modal-grabber { display: block; width: 40px; height: 4px; border-radius: 2px; background: #d7dade; margin: 9px auto 0; }
  .modal-head { padding: 12px 16px; }
}
@keyframes sheetUp { from { transform: translateY(100%); } to { transform: translateY(0); } }

/* ---------- 骨架屏 ---------- */
.sk { border-radius: 8px; background: linear-gradient(90deg, #eceef1 25%, #f5f6f8 37%, #eceef1 63%); background-size: 400% 100%; animation: shimmer 1.4s ease infinite; }
.sk-line { height: 14px; margin: 9px 0; }
.sk-title { height: 20px; width: 42%; margin-bottom: 14px; }
.sk-thumb { width: 44px; height: 44px; border-radius: 6px; }
@keyframes shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

/* ---------- 空态 ---------- */
.empty { text-align: center; padding: 40px 20px; color: var(--text-2); }
.empty-ico { font-size: 42px; opacity: .45; margin-bottom: 10px; line-height: 1; }
.empty-txt { font-size: 14px; line-height: 1.6; }

/* ---------- 绑定 / 二维码 / 直播画面 ---------- */
.qr-box { text-align: center; padding: 12px 0; }
.qr-img { width: 240px; max-width: 100%; height: auto; aspect-ratio: 1 / 1; border: 1px solid var(--border); border-radius: 10px; }
.qr-sm { display: block; margin: 0 auto; max-width: 240px; width: 68%; border: 1px solid #eee; border-radius: 10px; }
.settle-img { width: auto; height: auto; max-width: 100%; max-height: 420px; border: 1px solid #eee; border-radius: 8px; }
.spin { width: 14px; height: 14px; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; flex: none; display: inline-block; vertical-align: middle; }
.spin.dark { border-color: rgba(0,0,0,.18); border-top-color: var(--gold); }
@keyframes spin { to { transform: rotate(360deg); } }
.live-frame { position: relative; border: 1px solid rgba(185,151,91,.35); border-radius: 12px; overflow: hidden; max-width: 760px; width: 100%; margin: 10px auto; background: #111; }
.live-frame img { width: 100%; display: block; }
.live-placeholder { color: #aaa; padding: 60px 18px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; text-align: center; }
.live-hint { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(17,17,17,.68); color: #fff; padding: 8px 14px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; }
.prep-box { display: block; border: 1px solid rgba(185,151,91,.35); border-radius: 12px; max-width: 520px; width: 100%; margin: 18px auto; padding: 30px 22px; background: #fff; text-align: center; }
.prep-num { font-size: 34px; font-weight: 800; color: var(--gold); margin: 8px 0; }
.prep-num small { font-size: 15px; font-weight: 600; }
.info-box { margin-top: 12px; border: 1px solid #ececf1; border-radius: 10px; padding: 12px 14px; }
.settle-note { border: 2px solid #e67e22; border-radius: 12px; background: #fff7ed; padding: 16px; margin-top: 14px; text-align: left; }
.settle-note .warn-h { font-size: 16px; font-weight: 700; color: #e67e22; margin-bottom: 8px; }

/* ---------- 进度条（Bind 假进度 / LiveGoals 完成度）---------- */
.prog { height: 10px; background: #EFEAE0; border-radius: 5px; overflow: hidden; }
.prog > i, .prog > div { display: block; height: 100%; border-radius: 5px; }

/* ---------- 步骤条 ---------- */
.steps { display: flex; flex-direction: column; gap: 8px; margin: 16px 0; }
.steps .step { flex: 1; background: #f9fafb; border-radius: 10px; padding: 12px 14px; font-size: 13px; color: var(--text-2); line-height: 1.6; }
.steps .step b { display: block; color: var(--text); margin-bottom: 3px; font-size: 13.5px; }
@media (min-width: 768px) { .steps { flex-direction: row; } }

/* ---------- 复盘：统计卡 / 报告项 / 诊断建议 ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 768px) { .stat-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; } }
.stat { background: #f9fafb; border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; min-width: 0; }
.stat .v { font-size: 20px; font-weight: 700; word-break: break-all; }
.stat .k { color: var(--text-2); font-size: 12px; margin-top: 2px; }
.rep-item { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border); cursor: pointer; }
.rep-item:last-child { border-bottom: none; }
.rep-item:active { background: #fafbfc; }
.rep-main { min-width: 0; flex: 1; }
.rep-title { font-weight: 600; }
.rep-side { flex-shrink: 0; text-align: right; }
.diag-box { background: #fff7ed; border: 1px solid #fed7aa; border-radius: 10px; padding: 14px 16px; line-height: 1.7; }
.sug { border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; margin-bottom: 12px; }
.script { background: #f3f6ff; border-radius: 8px; padding: 10px 12px; margin-top: 8px; line-height: 1.6; }
.tl-item { padding: 8px 0; border-bottom: 1px dashed var(--border); }
.tl-item:last-child { border-bottom: none; }
video.replay { width: 100%; max-height: 440px; background: #000; border-radius: 10px; }
.replay-open { display: inline-flex; }

/* ---------- 复盘：分钟时间轴 + 问题标记 + 萃取话术（交互看板）---------- */
.issue-markers { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.issue-marker { font-size: 12px; border-radius: 8px; padding: 4px 9px; cursor: pointer; border: 1px solid transparent; font-weight: 600; line-height: 1.4; }
.issue-marker.sev-high { background: #fef2f2; color: var(--red); border-color: #fecaca; }
.issue-marker.sev-mid { background: #fff7ed; color: var(--orange); border-color: #fed7aa; }
.issue-marker.sev-low { background: #f3f4f6; color: var(--text-2); }
.issue-marker.sev-best { background: #ecfdf3; color: var(--green); border-color: #bbf7d0; }
.relive-timeline { max-height: 560px; overflow-y: auto; border: 1px solid var(--border); border-radius: 10px; -webkit-overflow-scrolling: touch; }
.relive-minute { display: flex; gap: 10px; align-items: flex-start; padding: 9px 12px; border-bottom: 1px solid #f0f1f3; font-size: 12.5px; }
.relive-minute:last-child { border-bottom: none; }
.relive-minute.is-highlight { background: #fffbeb; box-shadow: inset 3px 0 0 var(--gold); }
.relive-minute .rm-time { flex: none; width: 62px; font-weight: 700; color: var(--text-2); font-variant-numeric: tabular-nums; }
.relive-minute .rm-metrics { flex: none; width: 200px; color: var(--text-2); line-height: 1.8; }
.relive-minute .rm-metrics b { color: var(--text); font-weight: 600; margin: 0 2px 0 6px; }
.relive-minute .rm-asr { flex: 1; min-width: 0; line-height: 1.7; color: var(--text); word-break: break-all; }
.relive-minute .rm-asr.empty { color: #c0c4cc; }
@media (max-width: 767px) {
  .relive-minute { flex-wrap: wrap; }
  .relive-minute .rm-metrics { width: auto; flex: 1 1 auto; }
  .relive-minute .rm-asr { flex: 1 1 100%; }
}
.script-card2 { border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; margin-bottom: 10px; }
.script-card2 .sc-head { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 8px; }
.script-card2 .sc-text { line-height: 1.7; font-size: 13px; }
.script-card2 .sc-point { margin-top: 8px; line-height: 1.6; }

/* ---------- 套餐卡 ---------- */
.plan-cards { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 768px) { .plan-cards { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; } }
.plan { border: 1px solid var(--border); border-radius: 12px; padding: 18px; background: #fff; }
.plan .pname { font-size: 16px; font-weight: 700; }
.plan .price { font-size: 22px; font-weight: 700; color: var(--gold); margin: 8px 0 2px; }
.plan .price small { font-size: 12px; color: var(--text-2); font-weight: 400; }
.plan ul { list-style: none; margin: 10px 0 0; }
.plan li { font-size: 13px; color: var(--text-2); padding: 3px 0; }
.plan li::before { content: "✓ "; color: var(--green); }

/* ---------- 列表项（规则/文案：内容 + 操作按钮）---------- */
.li-row { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.li-main { min-width: 0; flex: 1; }
.li-actions { flex-shrink: 0; display: flex; gap: 6px; }
@media (max-width: 420px) {
  .li-row { flex-direction: column; align-items: stretch; }
  .li-actions { justify-content: flex-end; margin-top: 8px; }
}

/* ---------- 产品问答：答案框 ---------- */
.answer-box { margin-top: 16px; border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; background: #fff; }
.answer-box .ans { white-space: pre-wrap; line-height: 1.75; }

/* ---------- 专属群指令 ---------- */
.cmd-item { padding: 10px 0; border-bottom: 1px dashed #eee; }
.cmd-item:last-child { border-bottom: none; }
.cmd-item code { background: #f4f6f8; padding: 4px 9px; border-radius: 6px; display: inline-block; word-break: break-all; font-size: 13px; line-height: 1.5; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

/* ---------- 管理后台：筛选/操作工具条 ---------- */
.toolbar { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.toolbar select { border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; font-size: 16px; background: #fff; color: var(--text); min-height: 42px; outline: none; }
.toolbar select:focus { border-color: var(--gold); }
.pager { display: flex; gap: 10px; align-items: center; justify-content: flex-end; margin-top: 12px; flex-wrap: wrap; }
.faq-form { border: 1px solid var(--border); border-radius: 12px; padding: 12px; margin-bottom: 12px; }
.code-out { width: 100%; margin-top: 10px; font-family: ui-monospace, Menlo, Consolas, monospace; border: 1px solid var(--border); border-radius: 8px; padding: 10px; font-size: 13px; }

/* ---------- 工具类（替代原分散的内联样式）---------- */
.mt6 { margin-top: 6px; } .mt8 { margin-top: 8px; } .mt10 { margin-top: 10px; }
.mt12 { margin-top: 12px; } .mt16 { margin-top: 16px; } .mb8 { margin-bottom: 8px; }
.flex-between { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.gap8 { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.gap10 { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.center { text-align: center; }
.pre { white-space: pre-wrap; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.ell { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.full-w { width: 100%; }
.notice-img { display: block; max-width: 240px; width: 100%; margin-top: 8px; border: 1px solid #eee; border-radius: 8px; }

/* 桌面端微调：卡片内边距更紧凑、表格恢复完整密度 */
@media (min-width: 900px) {
  .modal-head h3 { font-size: 15px; }
}

/* ==========================================================================
 * WS-4 多房监看墙 · 浅色页面 + 黑金卡片（深色只下沉到主播卡）
 * 页面级（标题/说明/工具栏）保持浅色清爽底；主播卡为哑光黑渐变 + 香槟金点睛，
 * 语义色收敛为 绿=在播 / 金=主指标 / 红=阻断·异常 / 橙=警告，降低阅读混淆。
 * 监看场景满宽高密：内容区解除 980px 居中上限、卡片按宽度自适应铺满，减少滚屏。
 * ========================================================================*/
/* 监看墙页满宽：解除 .app-content 的 980px 居中上限与大内边距，铺满宽度减少滚屏 */
.app-content:has(> .livewall) { max-width: none; padding: 10px 14px calc(var(--tabbar-h) + var(--safe-b) + 12px); }
@media (min-width: 900px) { .app-content:has(> .livewall) { padding: 12px 16px 16px; } }

/* 页面级保持浅色：容器透明、标题/工具栏紧凑排布，颜色沿用浅色主题默认值 */
.livewall { padding: 0; }
.livewall h3 { margin: 0; font-size: 16px; }
.livewall .muted { margin: 4px 0 0; }
.lw-toolbar { margin: 8px 0 10px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* 卡片栅格：auto-fit 折叠空轨，卡数不足时也拉伸铺满宽度；最小列宽收窄、间距收紧 */
.lw-grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(232px, 1fr)); gap: 10px; }

/* 主播卡：深色只在这里 —— 哑光黑渐变 + 细金边；在播绿边、异常红晕置顶 */
.lw-card {
  --text-2: #9B9BA3;        /* 卡内哑灰标签 */
  --gold-bright: #D9C08C;
  --green: #34d399; --orange: #fbbf24; --red: #f87171;
  display: block; padding: 12px; border-radius: 12px; color: #F2EFE7;
  background: linear-gradient(180deg, #1E1E24 0%, #232329 100%);
  border: 1px solid rgba(185, 151, 91, .22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03), 0 6px 18px rgba(0, 0, 0, .28);
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.lw-card:hover { transform: translateY(-2px); border-color: rgba(185, 151, 91, .45); }
.lw-card.lw-live { border-color: rgba(52, 211, 153, .30); }
.lw-card.lw-abnormal {
  border-color: rgba(248, 113, 113, .55);
  box-shadow: 0 0 0 1px rgba(248, 113, 113, .22), 0 8px 24px rgba(248, 113, 113, .10);
}
/* 深色卡上的语义标签/按钮：半透明彩底 + 高亮字，替代浅色实底 */
.lw-card .tag-green  { background: rgba(52, 211, 153, .14); color: #34d399; }
.lw-card .tag-orange { background: rgba(251, 191, 36, .14); color: #fbbf24; }
.lw-card .tag-red    { background: rgba(248, 113, 113, .16); color: #f87171; }
.lw-card .tag-gray   { background: rgba(255, 255, 255, .07); color: #9B9BA3; }
.lw-card .btn-plain { background: rgba(255, 255, 255, .06); color: var(--gold-bright); border-color: rgba(185, 151, 91, .4); }
.lw-card .btn-plain:hover { border-color: var(--gold-bright); color: #fff; }
.lw-card .muted { color: var(--text-2); margin: 0; }

/* 卡头：状态灯 + 房名 */
.lw-head { display: flex; align-items: center; gap: 8px; }
.lw-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; display: inline-block; }
.lw-dot-on { background: var(--green); box-shadow: 0 0 8px rgba(52, 211, 153, .85); }
.lw-dot-off { background: #4b4b52; }
.lw-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #F5F2EA; font-weight: 600; font-size: 14.5px; }

/* 头像横幅：渐变底 + 房名首字水印 + 状态(左下) + severity 角标(右上)，对齐本机墙信息密度 */
.lw-banner { position: relative; margin-top: 8px; height: 72px; border-radius: 10px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.lw-banner-live { background: linear-gradient(160deg, rgba(22, 101, 52, .55) 0%, rgba(20, 83, 45, .35) 45%, rgba(17, 24, 39, .20) 100%); border: 1px solid rgba(52, 211, 153, .25); }
.lw-banner-off { background: linear-gradient(160deg, rgba(255, 255, 255, .06) 0%, rgba(255, 255, 255, .03) 50%, rgba(0, 0, 0, .15) 100%); border: 1px solid rgba(255, 255, 255, .06); }
.lw-avatar { font-size: 34px; font-weight: 700; line-height: 1; color: rgba(52, 211, 153, .50); user-select: none; }
.lw-banner-off .lw-avatar { color: rgba(255, 255, 255, .16); }
.lw-status { position: absolute; left: 10px; bottom: 6px; font-size: 12px; font-weight: 600; color: #D7F0E2; }
.lw-banner-off .lw-status { color: #9B9BA3; }
.lw-badge { position: absolute; right: 8px; top: 8px; }

/* 3×2 指标瓦片：大数值在上、哑灰标签在下，异常值着金/橙/红，一眼抓重点 */
/* ★ 核心数据带（WS-4 扩展）：登录态在播房 GMV/GPM/在线/转化，金调 hero 一眼抓重点 */
.lw-comm { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 8px; padding: 7px 6px; border-radius: 10px; background: linear-gradient(180deg, rgba(185,151,91,.14) 0%, rgba(185,151,91,.06) 100%); border: 1px solid rgba(185,151,91,.28); }
.lw-comm-tile { text-align: center; min-width: 0; }
.lw-comm-v { font-size: 15px; font-weight: 800; color: var(--gold-bright); line-height: 1.2; font-variant-numeric: tabular-nums; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.lw-comm-k { font-size: 10px; color: var(--text-2); margin-top: 2px; }

.lw-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 8px; }
.lw-tile { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .05); border-radius: 9px; padding: 6px 4px; text-align: center; min-width: 0; }
.lw-tile .lw-tv { font-size: 14px; font-weight: 700; color: #F5F2EA; line-height: 1.25; font-variant-numeric: tabular-nums; overflow: hidden; white-space: normal; word-break: break-word; }
.lw-tile .lw-tv.lw-gold { color: var(--gold-bright); }
.lw-tile .lw-tv.lw-warn { color: var(--orange); }
.lw-tile .lw-tv.lw-bad { color: var(--red); }
.lw-tile .lw-tk { font-size: 10.5px; color: var(--text-2); margin-top: 2px; }

/* 告警角标 / 最新告警 / 卡脚 */
.lw-alerts { margin-top: 8px; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.lw-latest { margin-top: 6px; font-size: 12px; color: var(--red); line-height: 1.5; }
.lw-meta { margin-top: 6px; font-size: 11px; color: var(--text-2); }
.lw-foot { margin-top: 6px; font-size: 11.5px; color: #8a8a93; display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }

/* 首屏加载态：接口实测 5-6s，浅色加载条 + 深色骨架卡占位，避免空白被误读为「暂无主播」 */
.lw-loadingbar { display: flex; align-items: center; gap: 8px; margin: 2px 0 10px; font-size: 13px; color: #5f5f68; }
.lw-loading-sub { margin-left: 6px; font-size: 12px; color: #9a9aa2; }
.lw-spinner { width: 14px; height: 14px; flex: none; border-radius: 50%; border: 2px solid rgba(185, 151, 91, .28); border-top-color: #B9975B; animation: lw-spin .8s linear infinite; }
@keyframes lw-spin { to { transform: rotate(360deg); } }

/* 骨架卡：沿用 .lw-card 深色底与栅格节奏，内部灰块 shimmer 提示「正在取数」 */
.lw-card.lw-skeleton { pointer-events: none; }
.lw-sk {
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(255, 255, 255, .05) 25%, rgba(255, 255, 255, .11) 37%, rgba(255, 255, 255, .05) 63%);
  background-size: 400% 100%;
  animation: lw-shimmer 1.4s ease infinite;
}
@keyframes lw-shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
.lw-sk-head { height: 14px; width: 55%; }
.lw-sk-banner { height: 72px; margin-top: 8px; }
.lw-sk-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 8px; }
.lw-sk-tile { height: 44px; }
.lw-sk-foot { height: 10px; width: 70%; margin-top: 10px; }
/* 尊重系统减弱动效偏好：关闭旋转/流光，仅保留占位块 */
@media (prefers-reduced-motion: reduce) {
  .lw-spinner, .lw-sk { animation: none; }
}
