/* ===== 移动端主页样式（index.html + home.jsx + dbview.jsx）=====
   舞台/手机壳/弹簧 token/工具 UI 见 mobile-shared.css；设计系统 token 见 styles.css。 */

/* ---- home app 背景 ---- */
/* 主页/工具页/morph 壳共用同一底色：morph 关闭动画依赖 壳底色≈页面底色，改这里三处同步 */
:root { --home-bg: linear-gradient(180deg, #f2f4f9, #e9ebf2); }
.m-app.home { overflow: hidden; background: var(--home-bg); }
.hm-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hb { position: absolute; border-radius: 50%; filter: blur(52px); }
.hb.b1 { width: 250px; height: 250px; left: -60px; top: -50px; background: radial-gradient(circle, rgba(var(--accent-rgb),.34), transparent 66%); }
.hb.b2 { width: 220px; height: 220px; right: -70px; top: 200px; background: radial-gradient(circle, rgba(120,90,255,.22), transparent 64%); }
.hb.b3 { width: 260px; height: 260px; left: 30px; bottom: -90px; background: radial-gradient(circle, rgba(60,200,255,.2), transparent 64%); }

/* ---- screens (单层淡入：旧 Tab 立即退出绘制，避免玻璃卡片采样到它) ---- */
.screen { position: absolute; inset: 0; z-index: 1; overflow-y: auto; padding: 58px 16px 112px;
  opacity: 1; transition: opacity .28s var(--smooth), transform .34s var(--smooth); scrollbar-width: none; }
.screen::-webkit-scrollbar { display: none; }
.screen.off { opacity: 0; visibility: hidden; pointer-events: none; transform: scale(.985) translateY(6px); }

/* ---- header ---- */
.hm-head { display: flex; align-items: center; gap: 10px; margin: 10px 2px 16px; }
.hm-t { font-size: 21px; font-weight: 830; letter-spacing: -.03em; color: var(--ink); }
.lab-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 760; color: var(--green);
  background: var(--green-soft); padding: 5px 11px; border-radius: 99px; white-space: nowrap; }
.lab-dot { width: 6px; height: 6px; border-radius: 99px; background: currentColor; animation: labpulse 2.2s var(--smooth) infinite; }
@keyframes labpulse { 50% { opacity: .45; } }

/* ---- AI 选购助手（主入口，占首屏大头） ---- */
.agent { position: relative; overflow: hidden; border-radius: 26px; padding: 20px 16px 15px; margin-bottom: 14px;
  display: flex; flex-direction: column; gap: 13px; color: #fff;
  background: linear-gradient(140deg, #0A84FF 0%, #3E6DFF 48%, #7A4DFF 100%);
  box-shadow: 0 16px 36px -12px rgba(30,80,255,.55), inset 0 1px 0 rgba(255,255,255,.35); }
.ag-glow { position: absolute; border-radius: 50%; mix-blend-mode: screen; pointer-events: none; }
.ag-glow.g1 { width: 240px; height: 240px; right: -70px; top: -110px; background: radial-gradient(circle, rgba(255,255,255,.5), transparent 66%); }
.ag-glow.g2 { width: 200px; height: 200px; left: -60px; bottom: -110px; background: radial-gradient(circle, rgba(140,90,255,.7), transparent 66%); }
.ag-top { display: flex; align-items: center; gap: 12px; }
.ag-orb { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto; color: #fff;
  background: rgba(255,255,255,.2); border: 1px solid rgba(255,255,255,.4);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 4px 14px rgba(10,40,120,.3); }
.ag-t { font-size: 18px; font-weight: 830; letter-spacing: -.02em; }
.ag-s { font-size: 11.5px; font-weight: 550; color: rgba(255,255,255,.82); margin-top: 2px; }
.ag-ask { display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 8px 8px 8px 15px; border-radius: 17px; cursor: pointer;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 1px 0 rgba(255,255,255,.24); }
.ag-caret { display: inline-block; width: 2px; height: 14px; margin-left: 2px; vertical-align: -2px; background: #fff;
  animation: agblink .8s steps(2) infinite; }
@keyframes agblink { 50% { opacity: 0; } }
.ag-q { flex: 1; min-width: 0; font-size: 13.5px; font-weight: 620; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ag-q.ph { color: rgba(255,255,255,.62); font-weight: 500; }
.ag-send { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto;
  background: #fff; color: var(--accent); box-shadow: 0 3px 10px rgba(10,30,90,.28); transition: transform .18s var(--smooth); }
.ag-send:active { transform: scale(.9); }
.ag-send.go { animation: agsendpop .5s var(--spring-morph); box-shadow: 0 3px 14px rgba(10,30,90,.4), 0 0 0 4px rgba(255,255,255,.22); }
@keyframes agsendpop { 0% { transform: scale(.72); } 60% { transform: scale(1.14); } 100% { transform: scale(1); } }
.ag-chips { display: flex; gap: 7px; flex-wrap: wrap; }
.ag-chip { font-size: 11px; font-weight: 650; color: rgba(255,255,255,.92); padding: 6px 12px; border-radius: 99px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.26); transition: all .2s var(--smooth); }
.ag-chip.on { background: #fff; color: var(--accent); border-color: #fff; }

/* ---- cards ---- */
.card { background: var(--glass); -webkit-backdrop-filter: blur(30px) saturate(180%); backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid var(--glass-border); box-shadow: var(--sh-card), inset 0 1px 0 var(--glass-edge);
  border-radius: 22px; padding: 14px; margin-bottom: 16px; display: flex; flex-direction: column; gap: 12px; }
.sec-head { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 760; color: var(--ink-2); }
.sec-head svg { color: var(--accent); }

/* 数据资产 — 用户视角双数字 */
.data-asset-entry { width: 100%; color: inherit; text-align: left; cursor: pointer; transition: transform .18s var(--smooth), box-shadow .18s var(--smooth), border-color .18s var(--smooth); }
.data-asset-entry:active { transform: scale(.985); box-shadow: var(--sh-sm), inset 0 1px 0 var(--glass-edge); }
.data-asset-entry:focus-visible { outline: 3px solid rgba(var(--accent-rgb),.38); outline-offset: 3px; }
.data-asset-more { margin-left: auto; display: inline-flex; align-items: center; gap: 2px; color: var(--accent); font-size: 10.5px; font-weight: 760; }
.dbx { display: flex; align-items: center; gap: 12px; padding: 2px 2px 3px; }
.dbx-n { display: flex; align-items: center; gap: 10px; }
.dbx-n b { font-size: 46px; font-weight: 840; letter-spacing: -.045em; line-height: .95; color: var(--ink); font-variant-numeric: tabular-nums; }
.dbx-n span { font-size: 11.5px; font-weight: 700; color: var(--ink-2); line-height: 1.5; }
.dbx-side { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 7px; }
.dbx-sub { font-size: 11px; font-weight: 660; color: var(--ink-3); }

/* ---- 四大品类：自动滚动条 ---- */
.sec-row { display: flex; align-items: center; margin: 2px 4px 10px; }
.sec-t { font-size: 15px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.sec-btn { margin-left: auto; display: inline-flex; align-items: center; gap: 3px; font-size: 11.5px; font-weight: 740; color: var(--accent);
  background: rgba(var(--accent-rgb),.11); padding: 6px 8px 6px 12px; border-radius: 99px; transition: transform .18s var(--smooth); }
.sec-btn:active { transform: scale(.94); }
.category-total { margin-left: auto; min-height: 27px; display: inline-flex; align-items: center; gap: 5px; padding: 0 10px; border-radius: 99px; color: var(--accent); background: rgba(var(--accent-rgb),.1); font-size: 10.5px; font-weight: 760; white-space: nowrap; }
.category-marq { overflow: hidden; margin: 0 -16px; padding: 2px 0 8px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 20px, #000 calc(100% - 20px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 20px, #000 calc(100% - 20px), transparent); }
.category-track { display: flex; width: max-content; animation: categorymove 28s linear infinite; }
.category-marq:hover .category-track, .category-marq:active .category-track { animation-play-state: paused; }
@keyframes categorymove { to { transform: translateX(-50%); } }
.category-set { display: flex; gap: 10px; padding-right: 10px; }
.category-rail { display: flex; gap: 10px; overflow-x: auto; margin: 0 -16px; padding: 2px 16px 8px;
  scroll-snap-type: x mandatory; scrollbar-width: none; }
.category-rail::-webkit-scrollbar { display: none; }
.category-card { --cat-rgb: 10,132,255; position: relative; flex: 0 0 184px; height: 122px; scroll-snap-align: start; overflow: hidden; padding: 13px; display: grid; grid-template-columns: 42px 1fr; grid-template-rows: 42px 1fr; gap: 9px 10px; text-align: left; color: var(--ink); border-radius: 21px; background: linear-gradient(145deg, rgba(var(--cat-rgb),.2), rgba(255,255,255,.76) 58%, rgba(255,255,255,.6)); border: 1px solid rgba(255,255,255,.78); box-shadow: var(--sh-sm), inset 0 1px 0 rgba(255,255,255,.9); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%); transition: transform .18s var(--smooth), box-shadow .18s var(--smooth); }
.category-card.tone-washer { --cat-rgb: 27,176,205; }
.category-card.tone-aircon { --cat-rgb: 120,92,238; }
.category-card.tone-fridge { --cat-rgb: 242,92,126; }
.category-card-orb { position: absolute; width: 118px; height: 118px; right: -54px; top: -58px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(var(--cat-rgb),.32), transparent 68%); }
.category-icon { position: relative; z-index: 1; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; color: rgb(var(--cat-rgb)); background: rgba(255,255,255,.66); border: 1px solid rgba(255,255,255,.82); box-shadow: inset 0 1px 0 #fff; }
.category-copy { position: relative; z-index: 1; min-width: 0; align-self: center; }
.category-copy b { display: block; color: var(--ink); font-size: 19px; line-height: 1.05; font-weight: 840; letter-spacing: -.035em; }
.category-copy small { display: block; margin-top: 5px; color: var(--ink-3); font-size: 9.5px; font-weight: 650; white-space: nowrap; }
.category-meta { position: relative; z-index: 1; grid-column: 1 / -1; align-self: end; width: max-content; min-height: 24px; display: inline-flex; align-items: center; padding: 0 9px; border-radius: 99px; color: var(--ink-3); background: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.7); font-size: 9.5px; font-weight: 750; }
.category-meta.live { color: var(--green); background: var(--green-soft); }
.category-arrow { position: absolute; right: 12px; bottom: 13px; z-index: 1; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; color: rgb(var(--cat-rgb)); background: rgba(255,255,255,.64); }
.category-card.is-ready { cursor: pointer; }
.category-card.is-ready:active { transform: scale(.97); box-shadow: none; }
.category-card:focus-visible { outline: 3px solid rgba(var(--cat-rgb),.38); outline-offset: 3px; }
.category-card:disabled { opacity: 1; cursor: default; }

/* ---- 小工具页 ---- */
/* 工具卡之间会露出页面底色；给列表独立的稳定背景，避免固定彩色光斑在滚动时形成横向色带。 */
.tools-screen { background: var(--home-bg); }
.tool-live { --tool-tone: 52, 42, 34; position: relative; display: block; width: 100%; height: 186px; text-align: left; padding: 0; border-radius: 22px; overflow: hidden; margin-bottom: 12px;
  background: rgb(var(--tool-tone)); border: 1px solid rgba(255,255,255,.56);
  box-shadow: 0 1px 1px rgba(20,20,30,.04), inset 0 1px 0 var(--glass-edge);
  transition: transform .18s var(--smooth); }
.tool-live:active { transform: scale(.98); }
.tl-thumb { position: absolute; inset: 0; overflow: hidden; background: linear-gradient(145deg, #293c5d, #0c1422); }
.tl-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,10,16,.01) 28%, rgba(var(--tool-tone),.18) 55%, rgba(var(--tool-tone),.94) 100%); }
.tl-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; user-select: none; }
.tone-room { --tool-tone: 68, 42, 27; }
.tone-light { --tool-tone: 72, 55, 39; }
.tone-inspect { --tool-tone: 8, 27, 52; }
.tone-setup { --tool-tone: 29, 24, 69; }
.tone-inspect .tl-thumb { background: radial-gradient(circle at 28% 30%, rgba(80,210,255,.7), transparent 28%), linear-gradient(145deg, #183d6e, #07111f); }
.tone-setup .tl-thumb { background: radial-gradient(circle at 72% 24%, rgba(158,120,255,.8), transparent 30%), linear-gradient(145deg, #2e266b, #10142d); }
.tl-art { position: absolute; right: 18px; bottom: 17px; z-index: 2; width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center;
  color: #fff; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.tl-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; align-items: center; gap: 10px; min-height: 64px; padding: 17px 14px 13px 16px; }
.tl-tt { flex: 1; min-width: 0; }
.tl-tt b { display: block; font-size: 14.5px; font-weight: 790; letter-spacing: -.01em; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.38); }
.tl-chev { width: 30px; height: 30px; border-radius: 50%; color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); display: grid; place-items: center; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }

.agent-tool-total { margin-left: auto; min-width: 26px; height: 22px; padding: 0 8px; border-radius: 99px; display: grid; place-items: center;
  font-size: 11px; font-weight: 800; color: var(--accent); background: rgba(var(--accent-rgb),.12); }
.agent-tool-groups { display: flex; flex-direction: column; gap: 10px; }
.agent-tool-group { padding: 12px; border-radius: 18px; background: var(--fill-2); border: 1px solid rgba(255,255,255,.5); }
.atg-head { display: flex; align-items: center; gap: 8px; min-height: 32px; }
.atg-icon { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex: 0 0 auto; color: var(--accent); background: rgba(var(--accent-rgb),.12); }
.atg-head b { color: var(--ink); font-size: 13px; font-weight: 800; letter-spacing: -.01em; }
.atg-head > span:last-child { margin-left: auto; color: var(--ink-3); font-size: 11px; font-weight: 780; }
.atg-tools { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.atg-tool { display: inline-flex; align-items: center; min-height: 30px; padding: 5px 9px; border-radius: 10px; color: var(--ink-2); background: var(--glass-2); border: 1px solid var(--glass-border); font-size: 12px; font-weight: 680; line-height: 1.25; }

/* ---- 壳内层：真几何 morph（对标 c0lor-MAG MorphWindow）----
   壳从来源卡片 rect 弹簧生长到全屏（动真实几何，非 clip-path 揭露）；内容按最终尺寸
   钉在壳左上随壳移动；卡片复制面随壳拉伸、中途溶解；阴影独立 bloom。
   几何与透明度动画全部由 home.jsx 里的 WAAPI 驱动，这里只放静态骨架。 */
.morph-root { position: relative; width: 100%; height: 100%; flex: 0 0 100%; z-index: 55; pointer-events: none; }
/* dbview 品牌展开复用 MorphLayer，但宿主 .db-app 是 in-flow flex 列（db-head/db-pane 在前）：
   必须保持覆盖层定位，否则 morph-root 以 flex 项参与布局会把 db-pane 压成 0 高、起点 rect 整体下移。 */
.db-app > .morph-root { position: absolute; inset: 0; width: auto; height: auto; flex: none; }
.morph-shell { position: absolute; overflow: hidden; pointer-events: auto;
  background: var(--home-bg); }
.morph-content { position: absolute; left: 0; top: 0; opacity: 0; transform-origin: 0 0; }
.morph-shadow { position: absolute; opacity: 0;
  box-shadow: 0 18px 48px -12px rgba(20,25,60,.42), 0 4px 16px rgba(20,25,60,.16); }
.morph-face { position: absolute; } /* 不裁切：克隆自带圆角背景，fit 盒有 +2px 余量会略超容器 */
/* 克隆保持原始尺寸排版（零重排），由 home.jsx 用 transform scale 跟随面层；端点 scale=1 与真卡片像素一致 */
.morph-face-fit { transform-origin: 0 0; }
/* 不强制宽度！胶囊类（sec-btn 等）按 fit-content 自然排版 —— 结构上杜绝换行重排；
   块级卡片宽度 auto 自动填满 fit 盒。高度强制以对齐网格拉伸差；行内元素顶对齐防基线下坠。 */
.morph-face-fit > * { height: 100% !important; margin: 0 !important; box-sizing: border-box; vertical-align: top; }

/* ---- 数据资产 / 关于我们 ---- */
.about-app { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; overflow: hidden; background: var(--home-bg); }
.about-app::before { content: ""; position: absolute; width: 270px; height: 270px; top: -110px; right: -110px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(var(--accent-rgb),.22), transparent 68%); filter: blur(12px); }
.about-head { position: relative; z-index: 3; min-height: 100px; padding: 54px 16px 8px; display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.about-back { width: 44px; height: 44px; margin-left: -6px; }
.about-head-brand { display: flex; align-items: center; gap: 9px; min-width: 0; }
.about-head-brand img { width: auto; height: 20px; display: block; flex: 0 0 auto; user-select: none; }
.about-head-brand div { min-width: 0; }
.about-head-brand b { display: block; color: var(--ink); font-size: 14px; font-weight: 820; letter-spacing: -.01em; }
.about-head-brand small { display: block; margin-top: 1px; color: var(--ink-3); font-size: 9.5px; font-weight: 650; }
.about-scroll { position: relative; z-index: 1; flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: none; padding: 4px 16px 36px; }
.about-scroll::-webkit-scrollbar { display: none; }
.about-hero { position: relative; min-height: 286px; padding: 24px 20px 20px; overflow: hidden; border-radius: 28px; color: #fff; background: linear-gradient(145deg, #09152d 0%, #123c7a 52%, #365ce9 100%); border: 1px solid rgba(255,255,255,.22); box-shadow: 0 22px 46px -24px rgba(5,31,93,.72), inset 0 1px 0 rgba(255,255,255,.18); }
.about-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(120deg, rgba(255,255,255,.1), transparent 34%); }
.about-orb { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(2px); }
.about-orb.orb-one { width: 210px; height: 210px; right: -76px; top: -76px; background: radial-gradient(circle at 35% 35%, rgba(98,218,255,.82), rgba(74,94,255,.18) 54%, transparent 69%); }
.about-orb.orb-two { width: 180px; height: 180px; left: -86px; bottom: -106px; background: radial-gradient(circle, rgba(146,89,255,.52), transparent 68%); }
.about-kicker { position: relative; z-index: 1; width: max-content; min-height: 30px; display: inline-flex; align-items: center; gap: 6px; padding: 0 11px; border-radius: 99px; color: rgba(255,255,255,.9); background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); font-size: 10.5px; font-weight: 760; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.about-hero h1 { position: relative; z-index: 1; margin: 22px 0 12px; max-width: 310px; font-size: 29px; line-height: 1.18; letter-spacing: -.045em; font-weight: 850; }
.about-hero h1 em { display: inline-block; margin-top: 4px; color: #9edcff; font-style: normal; }
.about-hero > p { position: relative; z-index: 1; max-width: 310px; margin: 0; color: rgba(255,255,255,.72); font-size: 11.5px; font-weight: 560; line-height: 1.7; }
.about-proof { position: relative; z-index: 1; display: flex; align-items: center; gap: 6px; margin-top: 16px; color: rgba(255,255,255,.9); font-size: 10.5px; font-weight: 720; }
.about-proof svg { color: #83e6b0; }
.about-stats { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: -12px 10px 0; padding: 6px; border-radius: 19px; background: rgba(255,255,255,.78); border: 1px solid rgba(255,255,255,.86); box-shadow: 0 14px 34px -24px rgba(20,31,70,.62), inset 0 1px 0 #fff; -webkit-backdrop-filter: blur(24px) saturate(170%); backdrop-filter: blur(24px) saturate(170%); }
.about-stat { min-width: 0; padding: 11px 5px 10px; text-align: center; }
.about-stat + .about-stat { border-left: 1px solid rgba(120,124,145,.13); }
.about-stat > div { display: flex; align-items: baseline; justify-content: center; gap: 2px; color: var(--ink); }
.about-stat b { font-size: 22px; line-height: 1; font-weight: 850; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.about-stat span { font-size: 9px; font-weight: 760; color: var(--ink-2); }
.about-stat small { display: block; margin-top: 5px; color: var(--ink-3); font-size: 8.5px; font-weight: 650; white-space: nowrap; }
.about-section { padding-top: 30px; }
.about-section-title > span { display: block; margin-bottom: 5px; color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.about-section-title h2 { margin: 0; color: var(--ink); font-size: 22px; line-height: 1.25; font-weight: 840; letter-spacing: -.035em; }
.about-section-title.compact h2 { font-size: 18px; }
.about-values { display: flex; flex-direction: column; gap: 9px; margin-top: 15px; }
.about-value { position: relative; display: flex; align-items: flex-start; gap: 11px; min-height: 96px; padding: 15px 40px 15px 14px; overflow: hidden; border-radius: 19px; background: var(--glass); border: 1px solid var(--glass-border); box-shadow: var(--sh-sm), inset 0 1px 0 var(--glass-edge); -webkit-backdrop-filter: blur(24px) saturate(170%); backdrop-filter: blur(24px) saturate(170%); }
.about-value-icon { width: 36px; height: 36px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 12px; color: var(--accent); background: rgba(var(--accent-rgb),.11); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb),.12); }
.about-value div { min-width: 0; }
.about-value b { display: block; color: var(--ink); font-size: 13px; font-weight: 810; }
.about-value p { margin: 5px 0 0; color: var(--ink-3); font-size: 10.5px; font-weight: 580; line-height: 1.55; }
.about-value em { position: absolute; right: 10px; top: 9px; color: rgba(var(--accent-rgb),.14); font-style: normal; font-size: 25px; line-height: 1; font-weight: 900; letter-spacing: -.06em; }
.about-method { margin-top: 26px; padding: 18px 15px 16px; border-radius: 21px; color: #fff; background: linear-gradient(145deg, rgba(20,24,39,.96), rgba(30,45,75,.94)); box-shadow: 0 16px 34px -26px rgba(15,20,45,.7), inset 0 1px 0 rgba(255,255,255,.12); }
.about-method .about-section-title > span { color: #7bc9ff; }
.about-method .about-section-title h2 { color: #fff; }
.about-steps { display: flex; align-items: flex-start; margin-top: 17px; }
.about-step { min-width: 34px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.about-step span { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: rgba(var(--accent-rgb),.85); border: 1px solid rgba(255,255,255,.22); box-shadow: 0 4px 12px rgba(var(--accent-rgb),.3); font-size: 9.5px; font-weight: 820; }
.about-step b { color: rgba(255,255,255,.82); font-size: 9.5px; font-weight: 720; white-space: nowrap; }
.about-steps > i { flex: 1; height: 1px; margin: 13px 3px 0; background: linear-gradient(90deg, rgba(var(--accent-rgb),.72), rgba(255,255,255,.18)); }
.about-closing { padding: 38px 8px 20px; text-align: center; }
.about-closing img { width: auto; height: 25px; display: block; margin: 0 auto 16px; opacity: .82; }
.about-closing p { margin: 0; color: var(--ink-3); font-size: 11px; font-weight: 600; line-height: 1.7; }
.about-closing > b { display: block; margin-top: 10px; color: var(--ink); font-size: 13px; font-weight: 820; }

/* ---- 电视频道主页：对比为主，小工具 / 排行榜为辅 ---- */
.db-app.tvhub { gap: 0; padding: 54px 0 0; overflow: hidden; background: #eff6ff; }
.tvhub-head { position: relative; z-index: 3; display: grid; grid-template-columns: 36px 1fr 36px; align-items: center;
  min-height: 38px; padding: 0 16px; }
.tvhub-head > b { grid-column: 2; text-align: center; color: var(--ink); font-size: 19px; font-weight: 860; letter-spacing: -.03em; }
.tvhub-head .mh-back { grid-column: 1; grid-row: 1; }
.tvhub-scroll { position: relative; z-index: 2; flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: none;
  padding: 4px 14px 22px; }
.tvhub-scroll::-webkit-scrollbar { display: none; }
.tvhub-intro { padding: 30px 5px 16px; }
.tvhub-intro h1 { margin: 0; color: var(--ink); font-size: 31px; font-weight: 880; line-height: 1.08; letter-spacing: -.055em; }
.tvhub-intro p { margin: 6px 0 0; color: var(--ink-2); font-size: 13px; font-weight: 620; letter-spacing: -.015em; }
.tvhub-compare { padding: 13px 9px 14px; border-radius: 29px; background: rgba(255,255,255,.57);
  -webkit-backdrop-filter: blur(30px) saturate(170%); backdrop-filter: blur(30px) saturate(170%);
  border: 1px solid rgba(255,255,255,.88); box-shadow: 0 18px 40px -24px rgba(41,93,170,.42), inset 0 1px 0 #fff; }
.tvhub-visual { position: relative; height: 236px; overflow: hidden; border-radius: 22px 22px 18px 18px; background: #eaf4ff; }
.tvhub-visual > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.tvhub-vs { position: absolute; left: 50%; top: 51%; transform: translate(-50%, -50%); width: 42px; height: 42px;
  display: grid; place-items: center; border-radius: 50%; color: var(--accent); background: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.95); box-shadow: 0 0 0 5px rgba(255,255,255,.3), 0 6px 20px rgba(var(--accent-rgb),.28);
  font-family: Manrope, Inter, var(--font); font-size: 15px; font-weight: 880; letter-spacing: -.04em; }
.tvhub-models { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 11px; }
.tvhub-model { min-width: 0; min-height: 60px; display: grid; grid-template-columns: 23px minmax(0,1fr) 13px; align-items: center; gap: 6px;
  padding: 8px 8px; border-radius: 17px; text-align: left; background: rgba(255,255,255,.64);
  border: 1px solid rgba(255,255,255,.86); box-shadow: inset 0 1px 0 #fff; transition: transform .16s var(--smooth), background .2s var(--smooth); }
.tvhub-model:active { transform: scale(.97); background: rgba(255,255,255,.86); }
.tvhub-model-check { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--accent); }
.tvhub-model > span:nth-child(2) { min-width: 0; }
.tvhub-model b { display: block; overflow: hidden; color: var(--ink); font-size: 10.5px; font-weight: 790; white-space: nowrap; text-overflow: ellipsis; }
.tvhub-model small { display: block; margin-top: 3px; color: var(--ink-3); font-size: 9.5px; font-weight: 650; }
.tvhub-model > svg { color: var(--ink-3); }
.tvhub-start { display: flex; align-items: center; justify-content: center; height: 43px; margin-top: 18px; border-radius: 99px;
  color: #fff; background: var(--accent); box-shadow: 0 10px 24px -12px rgba(var(--accent-rgb),.72), inset 0 1px 0 rgba(255,255,255,.3);
  font-size: 14.5px; font-weight: 820; text-decoration: none; transition: transform .16s var(--smooth), filter .2s var(--smooth); }
.tvhub-start:active { transform: scale(.98); filter: brightness(.96); }
.tvhub-secondary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 10px; }
.tvhub-tile { position: relative; min-width: 0; height: 245px; padding: 0; overflow: hidden; border-radius: 25px; text-align: left;
  background: rgba(255,255,255,.64); border: 1px solid rgba(255,255,255,.88);
  box-shadow: 0 16px 36px -25px rgba(31,63,110,.55), inset 0 1px 0 #fff; transition: transform .16s var(--smooth); }
.tvhub-tile:active { transform: scale(.97); }
.tvhub-tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 64%; filter: saturate(.92) brightness(1.03); }
.tvhub-tile-copy { position: absolute; z-index: 2; left: 0; right: 0; top: 0; min-height: 68px; padding: 14px 42px 10px 14px;
  background: rgba(248,251,255,.82); -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%); }
.tvhub-tile-copy b { display: block; color: var(--ink); font-size: 19px; font-weight: 870; letter-spacing: -.035em; }
.tvhub-tile-copy small { display: block; margin-top: 3px; color: var(--ink-2); font-size: 9px; font-weight: 620; line-height: 1.35; white-space: nowrap; }
.tvhub-tile-go { position: absolute; z-index: 3; top: 15px; right: 12px; width: 31px; height: 31px; display: grid; place-items: center;
  border-radius: 50%; color: var(--ink); background: rgba(255,255,255,.78); border: 1px solid rgba(255,255,255,.9); box-shadow: var(--sh-sm); }

/* 电视主页内的机型选择 / 排行榜底部面板 */
.dbpick-wrap, .dbrank-wrap { position: absolute; inset: 0; z-index: 80; display: flex; align-items: flex-end; padding: 10px;
  background: rgba(24,31,48,.24); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); animation: mdfade .24s var(--smooth) both; }
.dbpick, .dbrank { width: 100%; max-height: 72%; overflow: hidden; padding: 12px 12px 14px; border-radius: 27px;
  background: rgba(248,251,255,.96); border: 1px solid rgba(255,255,255,.9); box-shadow: var(--sh-pop), inset 0 1px 0 #fff;
  animation: mdrise .38s var(--spring-morph) both; }
.dbpick-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; padding: 0 3px; }
.dbpick-head > div { flex: 1; min-width: 0; }
.dbpick-head b { display: block; color: var(--ink); font-size: 15px; font-weight: 840; letter-spacing: -.02em; }
.dbpick-head small { display: block; margin-top: 1px; color: var(--ink-3); font-size: 10px; font-weight: 620; }
.dbpick-head > button { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 50%; color: var(--ink-2); background: var(--fill); }
.dbpick-list { max-height: 380px; overflow-y: auto; display: flex; flex-direction: column; }
.dbpick-row { display: flex; align-items: center; gap: 9px; min-height: 54px; padding: 8px 6px; text-align: left; border-bottom: 1px solid var(--hair); }
.dbpick-row:last-child { border-bottom: 0; }
.dbpick-check { width: 29px; height: 29px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 10px; color: var(--ink-3); background: var(--fill); }
.dbpick-row.on .dbpick-check { color: #fff; background: var(--accent); }
.dbpick-copy { flex: 1; min-width: 0; }
.dbpick-copy b { display: block; overflow: hidden; color: var(--ink); font-size: 12px; font-weight: 780; white-space: nowrap; text-overflow: ellipsis; }
.dbpick-copy small { display: block; margin-top: 2px; color: var(--ink-3); font-size: 9.5px; font-weight: 600; }
.dbpick-row em { color: var(--accent); font-size: 11px; font-style: normal; font-weight: 790; white-space: nowrap; }
.dbrank-list { display: flex; flex-direction: column; }
.dbrank-row { display: grid; grid-template-columns: 32px minmax(0,1fr) 42px; align-items: center; gap: 9px; min-height: 58px; border-bottom: 1px solid var(--hair); }
.dbrank-row > span { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 10px; color: var(--accent); background: rgba(var(--accent-rgb),.12); font-size: 13px; font-weight: 850; }
.dbrank-row div { min-width: 0; }
.dbrank-row b { display: block; overflow: hidden; color: var(--ink); font-size: 12px; font-weight: 790; white-space: nowrap; text-overflow: ellipsis; }
.dbrank-row small { display: block; margin-top: 2px; color: var(--ink-3); font-size: 9.5px; font-weight: 620; }
.dbrank-row em { color: var(--accent); font-size: 17px; font-style: normal; font-weight: 860; text-align: right; }
.dbrank-all { width: 100%; height: 43px; margin-top: 12px; display: flex; align-items: center; justify-content: center; gap: 5px; border-radius: 99px;
  color: #fff; background: var(--accent); font-size: 12px; font-weight: 800; box-shadow: var(--sh-accent); }

/* ---- 详细机型库（壳内层）---- */
.db-app { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; gap: 12px;
  padding: 56px 0 0; }
.db-head { display: flex; align-items: center; gap: 10px; padding: 0 16px; }
.db-ht { flex: 1; min-width: 0; }
.db-ht b { display: block; font-size: 18px; font-weight: 830; letter-spacing: -.02em; color: var(--ink); }
.db-ht small { display: block; font-size: 10.5px; font-weight: 620; color: var(--ink-3); margin-top: 1px; }
/* 滚动列（品牌网格/价格分组；品牌机型网格在 MorphLayer 覆盖层里复用） */
.db-pane { flex: 1; min-height: 0; min-width: 0; overflow-y: auto; scrollbar-width: none;
  padding: 2px 16px 16px; display: flex; flex-direction: column; gap: 10px; }
.db-pane::-webkit-scrollbar { display: none; }
.db-seg { position: relative; display: flex; padding: 4px; border-radius: 99px; background: rgba(120,120,135,.13); flex: 0 0 auto; }
.seg-thumb { position: absolute; left: 4px; top: 4px; width: calc(50% - 4px); height: calc(100% - 8px); border-radius: 99px;
  background: var(--glass-strong); box-shadow: 0 2px 8px rgba(20,22,40,.14), inset 0 0 0 1px rgba(var(--accent-rgb),.14);
  transform: translateX(calc(var(--seg-active) * 100%)); transition: transform .38s var(--spring); }
.db-seg button { flex: 1; position: relative; z-index: 1; height: 34px; border-radius: 99px;
  font-size: 12.5px; font-weight: 750; color: var(--ink-3); transition: color .22s var(--smooth); }
.db-seg button.on { color: var(--accent); }
/* 品牌网格（logo 卡） */
.bgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bcard { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  min-height: 112px; padding: 14px 10px; border-radius: 18px; text-align: center;
  background: var(--glass); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--glass-border); box-shadow: var(--sh-sm), inset 0 1px 0 var(--glass-edge);
  transition: transform .16s var(--smooth); }
.bcard:active { transform: scale(.96); }
.bd-logo { font-size: 17px; font-weight: 880; letter-spacing: .02em; line-height: 1; white-space: nowrap; }
.bd-logo.box { font-size: 14px; color: #fff !important; padding: 5px 9px; border-radius: 8px; }
.bd-zh { font-size: 13px; font-weight: 790; color: var(--ink); }
.bd-n { font-size: 10.5px; font-weight: 620; color: var(--ink-3); }
/* 机型行（品牌详情 / 价格分组共用） */
.dbg-h { display: flex; align-items: baseline; gap: 7px; font-size: 12.5px; font-weight: 800; color: var(--ink-2); margin: 6px 4px 0; }
.dbg-h em { font-style: normal; font-size: 10px; font-weight: 660; color: var(--ink-3); }
.db-row { display: flex; align-items: center; gap: 10px; border-radius: 15px; padding: 11px 13px; flex: 0 0 auto;
  background: var(--glass); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--glass-border); box-shadow: var(--sh-sm), inset 0 1px 0 var(--glass-edge); }
.dbr-tt { flex: 1; min-width: 0; }
.dbr-tt b { display: block; font-size: 13.5px; font-weight: 790; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dbr-tt small { display: block; font-size: 10.5px; font-weight: 600; color: var(--ink-3); margin-top: 1px; }
.dbr-p { font-size: 13.5px; font-weight: 830; color: var(--ink); font-variant-numeric: tabular-nums; }
.dbr-p.na { color: var(--ink-3); font-weight: 650; font-size: 11px; }
.db-row { width: 100%; text-align: left; }

/* ---- 品牌机型缩略图网格 ---- */
.mgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mcard { display: flex; flex-direction: column; gap: 2px; padding: 7px 7px 9px; border-radius: 17px; text-align: left;
  background: var(--glass); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--glass-border); box-shadow: var(--sh-sm), inset 0 1px 0 var(--glass-edge);
  transition: transform .16s var(--smooth); }
.mcard:active { transform: scale(.96); }
/* CSS 电视正面：深色屏 + 品牌色氛围光，中央尺寸数字，角标面板类型 */
.mc-thumb { position: relative; aspect-ratio: 16 / 9; border-radius: 11px; overflow: hidden; margin-bottom: 5px;
  display: grid; place-items: center;
  background: radial-gradient(130% 95% at 50% 112%, color-mix(in srgb, var(--bc) 38%, transparent), transparent 62%),
    linear-gradient(165deg, #262932, #0d0f14 72%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.09); }
.mc-thumb::after { content: ""; position: absolute; left: 50%; bottom: 3px; transform: translateX(-50%);
  width: 34%; height: 2px; border-radius: 2px; background: rgba(255,255,255,.26); }
.mc-size { font-size: 21px; font-weight: 840; letter-spacing: -.02em; color: #fff; line-height: 1; }
.mc-size i { font-style: normal; font-size: 12px; font-weight: 700; opacity: .68; margin-left: 1px; }
.mc-panel { position: absolute; top: 6px; left: 6px; font-style: normal; font-size: 8.5px; font-weight: 760; letter-spacing: .02em;
  color: rgba(255,255,255,.9); background: rgba(255,255,255,.15); padding: 2.5px 7px; border-radius: 99px; }
.mc-name { font-size: 12.5px; font-weight: 780; color: var(--ink); padding: 0 3px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc-price { font-size: 11.5px; font-weight: 800; color: var(--accent); padding: 0 3px; font-variant-numeric: tabular-nums; }
.mc-price.na { color: var(--ink-3); font-weight: 640; }

/* ---- 机型详情 sheet ---- */
.mdet-wrap { position: absolute; inset: 0; z-index: 60; display: flex; align-items: flex-end; /* 盖过品牌 MorphLayer(55) */
  background: rgba(20,18,26,.32); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  animation: mdfade .28s var(--smooth) both; }
.mdet-wrap.out { animation: mdfade .22s var(--smooth) reverse both; }
/* 近不透明底：嵌套在 mdet-wrap 的 backdrop 里，内层再开 blur 采样不到外层结果（Chromium），
   靠透明度会把后面卡片文字透出来 */
.mdet { width: 100%; margin: 10px; padding: 13px 16px 17px; border-radius: 26px;
  background: rgba(246, 248, 252, .93); -webkit-backdrop-filter: blur(34px) saturate(180%); backdrop-filter: blur(34px) saturate(180%);
  border: 1px solid var(--glass-border); box-shadow: var(--sh-pop), inset 0 1px 0 var(--glass-edge);
  animation: mdrise .42s var(--spring-morph) both; }
.mdet-wrap.out .mdet { animation: mdrise .24s var(--smooth) reverse both; }
@keyframes mdfade { from { opacity: 0; } }
@keyframes mdrise { from { transform: translateY(46px); opacity: .3; } }
.mdet-bar { display: block; width: 36px; height: 4px; border-radius: 99px; background: rgba(120,120,135,.34); margin: 0 auto 12px; }
.mdet-head { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.mdet-tt { flex: 1; min-width: 0; }
.mdet-tt b { display: block; font-size: 16px; font-weight: 820; letter-spacing: -.015em; color: var(--ink); }
.mdet-tt small { display: block; font-size: 10.5px; font-weight: 620; color: var(--ink-3); margin-top: 2px; }
.mdet-p { font-size: 15px; font-weight: 840; color: var(--accent); white-space: nowrap; font-variant-numeric: tabular-nums; }
.mdet-p.na { color: var(--ink-3); font-weight: 660; font-size: 12px; }
.mdet-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mdet-cell { background: var(--fill-2); border-radius: 13px; padding: 9px 10px 10px; min-width: 0; }
.mdet-cell small { display: block; font-size: 9.5px; font-weight: 680; color: var(--ink-3); }
.mdet-cell b { display: block; font-size: 13px; font-weight: 810; color: var(--ink); margin-top: 2px; white-space: nowrap; }

/* ---- tab bar ---- */
.tabbar { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 50;
  display: flex; gap: 4px; padding: 5px; border-radius: 99px;
  background: var(--glass-strong); -webkit-backdrop-filter: blur(34px) saturate(180%); backdrop-filter: blur(34px) saturate(180%);
  border: 1px solid var(--glass-border); box-shadow: var(--sh-pop), inset 0 1px 0 var(--glass-edge); }
/* MAG 式滑块：thumb 在胶囊内弹簧滑动（同 c0lor-MAG 侧边栏 M/A/G），按钮只变色 */
.tab-thumb { position: absolute; left: 5px; top: 5px; width: 92px; height: 52px; border-radius: 99px; z-index: 0;
  background: rgba(var(--accent-rgb),.14); box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb),.1);
  transform: translate3d(calc(var(--tab-active) * 96px), 0, 0); transition: transform .38s var(--spring); }
.tabbar button { position: relative; z-index: 1; width: 92px; height: 52px; border-radius: 99px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  font-size: 10.5px; font-weight: 730; color: var(--ink-3); transition: color .25s var(--smooth); }
.tabbar button.on { color: var(--accent); }

/* ---- 真机模式（html.real）：全屏直跑无假壳，接刘海/底条安全区（viewport-fit=cover）---- */
html.real, html.real body { height: 100%; overflow: hidden; }
.real-shell { position: fixed; inset: 0; background: var(--base); }
html.real .screen { padding-top: calc(env(safe-area-inset-top, 0px) + 16px); }
html.real .tabbar { bottom: calc(env(safe-area-inset-bottom, 0px) + 18px); }
html.real .db-app { padding-top: calc(env(safe-area-inset-top, 0px) + 14px); }
html.real .m-head { padding-top: calc(env(safe-area-inset-top, 0px) + 14px); } /* 工具页顶栏（shared 里按假岛留了 54px） */
html.real .about-head { min-height: calc(env(safe-area-inset-top, 0px) + 62px); padding-top: calc(env(safe-area-inset-top, 0px) + 8px); }
html.real .about-scroll { padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 28px); }

@media (prefers-reduced-motion: reduce) {
  .screen, .ag-chip, .tool-live, .tab-thumb, .seg-thumb, .sec-btn, .bcard, .mcard, .data-asset-entry { transition-duration: .01s !important; }
  .mdet, .mdet-wrap { animation-duration: .01s !important; }
  .lab-dot { animation: none !important; }
  .category-track { animation: none !important; }
  .ag-caret, .ag-send.go { animation: none !important; }
}
