/* ── base.css ── */
/* next-coday 也引这份:别放 html、body、button 这类整页的重置 */
/* 展示台是一间暗房,只让屏幕在发光:台面的底光取当前页的环境光颜色 */
:root {
  --stage: #151515;
  --line: rgba(255, 255, 255, .09);
  --tx: #ECECEC;
  --tx-2: #ABABAB;
  --tx-3: #767676;
  --lime: #EAFF74;
  --lime-hot: #D6FF3A;
  --glow: 52 80 109;
  --ui: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --rhr: RHR;
  color-scheme: dark;
}
/* 换语言:标题用该地区的 Resource Han Rounded(英文用简中那份里的拉丁字形,同 app),正文换成 iOS 在该语言下的系统字体 */
[lang="zh-Hant"] { --rhr: RHR-TW; --ui: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang TC", "Microsoft JhengHei", sans-serif; }
[lang="ja"] { --rhr: RHR-JP; --ui: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Hiragino Sans", "Yu Gothic", sans-serif; }
[lang="ko"] { --rhr: RHR-KR; --ui: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; }
* { box-sizing: border-box; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.sym { font-family: Sym; font-style: normal; font-weight: normal; line-height: 1; display: inline-block; }
.cup { font-family: Cup; font-style: normal; font-weight: normal; line-height: 1; display: inline-block; }

/* ── screen.css ── */
/* ── 外层真机:屏幕 402×874pt ─────────────── */
.dev { position: absolute; left: 0; top: 0; width: 430px; height: 902px; border-radius: 70px; padding: 4px; transform: scale(var(--s, 1)); transform-origin: 0 0;
  background: linear-gradient(150deg, #5b5b5f 0%, #2a2a2d 18%, #1a1a1c 50%, #3c3c40 82%, #1b1b1d 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), inset 0 0 1px 2px rgba(0, 0, 0, .6), 0 70px 120px -40px rgba(0, 0, 0, .85); }
.dev::before { content: ""; position: absolute; left: -3px; top: 190px; width: 4px; height: 64px; border-radius: 2px 0 0 2px; background: linear-gradient(90deg, #444, #1d1d1f); box-shadow: 0 90px 0 #2a2a2c; }
.dev::after { content: ""; position: absolute; right: -3px; top: 250px; width: 4px; height: 100px; border-radius: 0 2px 2px 0; background: linear-gradient(270deg, #444, #1d1d1f); }
.scr { position: relative; width: 422px; height: 894px; border-radius: 66px; border: 10px solid #050505; overflow: hidden; background: #202020; background-clip: padding-box;
  isolation: isolate; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab; }
.scr.dragging { cursor: grabbing; }
.scr > * { position: absolute; }

.amb { inset: 0; z-index: 0; pointer-events: none; }
.amb i { position: absolute; left: 0; top: 0; border-radius: 50%; will-change: transform; }
.scenes { inset: 0; z-index: 1; pointer-events: none; }
.scene { position: absolute; inset: 0; }
.ly { position: absolute; inset: 0; will-change: transform, opacity; }
.ly > * { position: absolute; left: 0; top: 0; }
.ly.p3d { perspective: 1100px; perspective-origin: 50% 36%; }
.veil { left: 0; right: 0; top: 470px; bottom: 0; z-index: 2; pointer-events: none; background: linear-gradient(to bottom, rgba(32, 32, 32, 0), rgba(32, 32, 32, .9) 112px, rgba(32, 32, 32, .97) 170px); }

.copy { inset: 0; z-index: 3; pointer-events: none; }
.cp { position: absolute; left: 26px; right: 20px; top: 604px; }
.hl { margin: 0; font: 900 38px/1.16 var(--rhr), var(--ui); letter-spacing: -.02em; color: #F4F4F4; }
.hl .ln { display: block; width: max-content; white-space: nowrap; }
.hl .ch { display: inline-block; will-change: transform, opacity; }
.hl .sp { display: inline-block; width: .3em; }
.hl .cnt { font-family: Archivo, var(--ui); font-stretch: 125%; font-weight: 900; font-size: .9em; letter-spacing: -.035em; font-variant-numeric: tabular-nums; text-align: right; }
.kw { --hl: 0; color: color-mix(in oklab, #F4F4F4, var(--lime) calc(var(--hl) * 100%)); }
/* 所有语言的说明固定字号、只占一行，超宽就重新翻译，不缩小或截断。 */
.sub { margin: 14px 0 0; max-width: 340px; font: 600 16px/1.5 var(--ui); color: #B7B7B7; white-space: nowrap; will-change: transform, opacity; }
.sub .kw { color: color-mix(in oklab, #D8D8D8, var(--lime) calc(var(--hl) * 100%)); background: linear-gradient(var(--lime), var(--lime)) no-repeat 0 100% / calc(var(--hl) * 100%) 2px; padding-bottom: 2px; }

.chrome-top { left: 24px; right: 16px; top: 58px; height: 30px; z-index: 4; display: flex; align-items: center; gap: 14px; }
.prog { flex: 1; display: flex; gap: 5px; }
.prog i { flex: 1; height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .18); overflow: hidden; }
.prog b { display: block; height: 100%; background: #EAFF74; transform-origin: 0 50%; transform: scaleX(0); }
.skip { border: 0; height: 30px; padding: 0 13px; border-radius: 15px; background: rgba(255, 255, 255, .09); color: rgba(255, 255, 255, .78); font-size: 14px; font-weight: 600; cursor: pointer; }

/* 按钮照 LipBtn:最宽 248 居中;整颗 56 高,面 52 + 下面 4pt 的厚沿,按下去面沉到底。面色是深色主题的 primary(yellowFill) */
/* --k 是 app 的 LipBtn.compact:0 是 248×56、17 号,1 是弹框那颗 210×48、15 号,收尾升进弹框之前缩过去;箭头跟着淡掉(app 传 arrow = 1 - compact) */
.cta { --k: 0; left: 50%; bottom: 44px; width: 248px; height: 56px; margin-left: -124px; z-index: 4; border: 0; padding: 0; background: none; cursor: pointer; }
.cta-face { position: absolute; left: calc(19px * var(--k)); right: calc(19px * var(--k)); top: calc(4px * var(--k)); height: calc(52px - 8px * var(--k)); border-radius: calc(26px - 4px * var(--k)); background: #D1E467; box-shadow: 0 4px 0 #869532; color: #202020; overflow: hidden; transition: transform 55ms ease-out, box-shadow 55ms ease-out; }
.cta:active .cta-face { transform: translateY(4px); box-shadow: 0 0 0 #869532; }
.cta-sheen { position: absolute; top: -20%; bottom: -20%; left: 0; width: 70px; opacity: 0; background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .55), rgba(255, 255, 255, 0)); }
/* 字格让出右边的箭头;底下多让 2,圆体的字看着才在正中 */
.cta-lbl { position: absolute; left: 18px; right: calc(44px - 26px * var(--k)); top: 0; bottom: 2px; overflow: hidden; }
.cta-ln { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; white-space: pre; font: 900 calc(17px - 2px * var(--k)) var(--rhr), var(--ui); letter-spacing: .01em; }
/* 左边垫 26(右让 44 减左让 18):字对着整颗键的正中;长到要压着箭头,垫块先压扁、字往左让(照 app 的 _labelLeft) */
.cta-ln::before { content: ''; flex: 0 1 calc(26px - 26px * var(--k)); }
.cta-ln > span { flex: none; }
.cta-ln i { display: inline-block; font-style: normal; will-change: transform, opacity; }
.cta-ar { position: absolute; right: 19px; top: 0; bottom: 0; width: 24px; display: grid; place-items: center; opacity: calc(1 - var(--k)); }
.cta-ar svg { display: block; overflow: visible; }

.island { left: 50%; top: 11px; width: 124px; height: 36px; margin-left: -62px; border-radius: 20px; background: #000; z-index: 8; }
.punch { left: 50%; top: 16px; width: 24px; height: 24px; margin-left: -12px; border-radius: 50%; background: #000; z-index: 8; box-shadow: inset 0 0 0 3px #111; }
.homebar { left: 50%; bottom: 8px; width: 134px; height: 5px; margin-left: -67px; border-radius: 3px; background: rgba(255, 255, 255, .6); z-index: 8; }

.hand-under { inset: 0; z-index: 0; visibility: hidden; pointer-events: none; }
.hand-over { inset: 0; z-index: 6; visibility: hidden; pointer-events: none; }
.hand-over > * { position: absolute; }
/* 引导结束后的首页:新用户库是空的,没有示例卡(按钮也藏着,等弹框走完) */
.hh { position: absolute; inset: 0; background: #202020; }
.hh .stat { position: absolute; left: 20px; top: 64px; }
.hh-empty { position: absolute; left: 0; right: 0; top: 452px; text-align: center; font-size: 12px; font-weight: 500; color: #969696; }
.hh-dots { position: absolute; left: 20px; bottom: 50px; display: flex; gap: 6px; }
.hh-dots i { width: 6px; height: 6px; border-radius: 3px; background: #EEEEEE; }
.hh-dots i.on { width: 16px; background: var(--lime); }
.hh-fab { position: absolute; right: 20px; bottom: 44px; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(180deg, #edc36d, #dba954); box-shadow: 0 6px 14px rgba(0, 0, 0, .35); }
.hh-scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, .54); }
/* 「先记下你手上的这一件吧」弹框第一步(device_onboarding/),宽 320、居中 */
.d1 { left: 41px; top: 258px; width: 320px; height: 386px; padding: 12px 20px 20px; border-radius: 18px; background: #202020; color: #EEEEEE; display: flex; flex-direction: column; align-items: center; transform-origin: 50% 0; }
.d1 > * { flex: none; }
.d1-prog { height: 3px; display: flex; }
.d1-prog i { width: 10px; height: 3px; margin: 0 3px; border-radius: 1.5px; background: rgba(150, 150, 150, .45); }
.d1-prog i.on { background: #EAFF74; }
.d1-title { margin-top: 14px; font-size: 20px; line-height: 28px; font-weight: 600; }
.d1-head { margin-top: 16px; padding-bottom: 16px; display: flex; flex-direction: column; align-items: center; }
.d1-tile { position: relative; width: 108px; height: 108px; border-radius: 22px; background: #2F2F2F; }
.d1-tile img { position: absolute; left: 12px; top: 12px; width: 84px; height: 84px; object-fit: contain; }
.d1-badge { position: absolute; right: -2px; bottom: -2px; width: 37px; height: 37px; padding: 6px; border-radius: 50%; background: #202020; }
.d1-badge i { width: 25px; height: 25px; border-radius: 50%; display: grid; place-items: center; background: rgba(209, 228, 103, .2); }
.d1-name { margin-top: 12px; display: flex; align-items: center; gap: 6px; font-size: 18px; line-height: 25px; font-weight: 500; }
.d1-name .sym { padding: 4px; }
.d1-slot { margin-top: 16px; width: 210px; height: 48px; }
.d1-or { margin-top: 14px; font-size: 12px; font-weight: 500; color: #969696; }
.d1-fill { padding: 10px 12px; font-size: 12px; font-weight: 500; color: #D0D0D0; text-decoration: underline; }
.hand-hero { left: 0; top: 0; width: 84px; height: 84px; object-fit: contain; transform-origin: 0 0; z-index: 2; }
.hand-again { left: 50%; top: 690px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 20px; border: 0; border-radius: 22px; cursor: pointer; pointer-events: auto;
  background: rgba(40, 40, 40, .8); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 10px 30px rgba(0, 0, 0, .5); color: #fff; font-size: 15px; font-weight: 600; }

/* ── app 里的零件(尺寸照 Dart 源码) ─────────── */
.stat { position: relative; border-radius: 10px; padding: 10px 10px 15px; color: #eee; background: linear-gradient(to bottom left, #4CAF50, #D6D600); display: flex; flex-direction: column; justify-content: space-between; }
.stat-title { display: flex; align-items: center; margin-right: 10px; }
.stat-title > i { width: 60px; flex: none; }
.stat-title > span.st-count { flex: 1; text-align: center; font-size: 18px; font-weight: 700; color: #fff; }
.stat-bw { width: 60px; flex: none; display: flex; justify-content: flex-end; }
.stat-btn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .1); }
.stat-row { display: flex; align-items: center; justify-content: space-around; }
.stat-gap { display: block; height: 1px; }
.stat-f { flex: 1; text-align: center; font-weight: 700; position: relative; }
.stat-v { font-weight: 700; margin-top: 3px; color: #EEEEEE; letter-spacing: -.3px; font-variant-numeric: tabular-nums; }
.stat-sep { display: block; flex: none; width: 1px; margin: 0 10px; background: #D0D0D0; }
.stat-cmp { position: absolute; left: 0; right: 0; top: 100%; display: flex; justify-content: center; align-items: center; gap: 6px; font-weight: 700; color: #EEEEEE; }
.dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 8px; }
.dots i { display: block; width: 8px; height: 8px; border-radius: 4px; background: #EEEEEE; }
.dots i.on { width: 16px; background: var(--lime); box-shadow: 0 0 4px 1px rgba(234, 255, 116, .5); }

.ring { position: relative; flex: none; display: grid; place-items: center; }
.ring svg { position: absolute; inset: 0; }
.ring span { position: relative; font-weight: 700; letter-spacing: -.2px; }

.wg { position: relative; border-radius: 22px; color: #fff; overflow: hidden; box-shadow: 0 8px 24px rgba(0, 0, 0, .18); }
.wg em { font-style: normal; color: var(--acc); }
.wg-s { width: 170px; height: 170px; padding: 16px; display: flex; flex-direction: column; }
.wg-img { width: 50px; height: 50px; border-radius: 5px; object-fit: contain; flex: none; filter: drop-shadow(0 2px 6px color-mix(in srgb, var(--acc) 30%, transparent)); }
.wg-name { margin-top: 10px; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wg-sub { margin-top: 2px; display: flex; align-items: center; font-size: 12px; font-weight: 500; color: rgba(255, 255, 255, .7); white-space: nowrap; }
.wg-bar { display: inline-block; width: 1px; height: 8px; margin: 0 8px; background: currentColor; }
.wg-bot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; }
.wg-avg { display: flex; align-items: baseline; gap: 1px; white-space: nowrap; }
.wg-avg b { font-size: 16px; font-weight: 700; }
.wg-avg small { font-size: 10px; font-weight: 700; }
.wg-ring span { font-weight: 700; }
.wg-stat { background: linear-gradient(to bottom left, #D6D600, #4CAF50); }
.wg-stat-t { font-size: 14px; font-weight: 700; }
.wg-stat-l { margin-top: auto; padding-top: 4px; font-size: 11px; font-weight: 500; color: rgba(255, 255, 255, .85); }
.wg-stat-v { font-size: 18px; font-weight: 700; }
.wg-stat-d { margin-top: auto; display: flex; align-items: baseline; gap: 2px; }
.wg-stat-d b { font-size: 18px; font-weight: 700; }
.wg-stat-d small { font-size: 11px; font-weight: 400; color: rgba(255, 255, 255, .8); }
.wg-stat-c { display: flex; align-items: center; gap: 2px; font-size: 11px; font-weight: 500; color: rgba(255, 255, 255, .85); }
.wg-stat-c .sym { font-weight: 700; }
.wg-m { width: 364px; height: 170px; padding: 18px; display: flex; flex-direction: column; justify-content: space-between; }
.wg-m-head { display: flex; align-items: center; gap: 12px; }
.wg-m-head img { width: 40px; height: 40px; border-radius: 8px; object-fit: contain; }
.wg-m-name { font-size: 14px; font-weight: 600; }
.wg-pill { display: inline-block; margin-top: 6px; padding: 3px 8px; border-radius: 5px; background: var(--ov); font-size: 10px; font-weight: 500; color: rgba(255, 255, 255, .7); }
.wg-m-mid { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 11px; font-weight: 600; }
.wg-m-mid p { margin: 0; }
.wg-m-mid p + p { margin-top: 5px; }
.wg-m-mid em { font-size: 15px; font-weight: 700; }
.wg-m-foot { display: flex; gap: 8px; }
.wg-m-foot > div { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.wg-m-foot b { color: var(--acc); font-size: 13px; font-weight: 600; }
.wg-m-foot span { font-size: 10px; font-weight: 600; color: rgba(255, 255, 255, .7); }
em.big { font-size: 15px; font-weight: 600; font-style: normal; }

.roll { display: inline-flex; vertical-align: bottom; height: 1.1em; line-height: 1.1em; overflow: hidden; font-variant-numeric: tabular-nums; }
.roll i { font-style: normal; }
.roll .rd { display: inline-block; height: 1.1em; overflow: hidden; }
.roll .rs { display: block; }

/* 场景里的小机身 */
.dv { width: 430px; height: 902px; transform-style: preserve-3d; }
.dv-front { position: absolute; inset: 0; border-radius: 70px; padding: 4px; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  background: linear-gradient(150deg, #5b5b5f 0%, #2a2a2d 18%, #1a1a1c 50%, #3c3c40 82%, #1b1b1d 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), 0 40px 80px -20px rgba(0, 0, 0, .7); }
.dv-screen { position: relative; width: 422px; height: 894px; border-radius: 66px; border: 10px solid #050505; overflow: hidden; background: #fff; background-clip: padding-box; }
.dv-screen > * { position: absolute; }
.dv.android .dv-front { border-radius: 58px; background: linear-gradient(150deg, #9aa3a0 0%, #56605c 20%, #3a423f 55%, #6d7773 85%, #454d4a 100%); }
.dv.android .dv-screen { border-radius: 54px; }
.dv.ipad { width: 1224px; height: 864px; }
.dv.ipad .dv-front { border-radius: 50px; padding: 6px; background: linear-gradient(150deg, #8e9096, #4a4c52 30%, #2e3035 60%, #6a6c72); }
.dv.ipad .dv-screen { width: 1212px; height: 852px; border-radius: 44px; border-width: 16px; }
.dv-back { position: absolute; inset: 0; border-radius: 70px; transform: rotateY(180deg); backface-visibility: hidden; -webkit-backface-visibility: hidden;
  background: linear-gradient(140deg, #4a4d53 0%, #2a2d32 45%, #1f2126 70%, #34373d 100%); box-shadow: inset 0 0 0 4px #5b5e64, inset 0 0 0 7px #26282c; }
.dv-plateau { position: absolute; left: 20px; right: 20px; top: 20px; height: 196px; border-radius: 52px; background: linear-gradient(170deg, #45484e, #2b2e33); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 4px 16px rgba(0, 0, 0, .45); }
.dv-plateau i { position: absolute; width: 78px; height: 78px; border-radius: 50%; background: radial-gradient(circle, #3b4a78 0 10%, #0b0c10 22%, #15161b 44%, #4a4d55 46% 58%, #1c1d21 60%); box-shadow: 0 0 0 5px #2f3237, 0 3px 6px rgba(0, 0, 0, .5); }
.dv-plateau i:nth-child(1) { left: 26px; top: 14px; }
.dv-plateau i:nth-child(2) { left: 26px; top: 104px; }
.dv-plateau i:nth-child(3) { left: 112px; top: 59px; }
.dv-plateau b { position: absolute; right: 44px; top: 40px; width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle, #f4efe0, #b9b19a); }
/* 会翻面的那台:正反面各让出半个厚度(--dv-t 由 ui.js 的 DV_T 给),影子不挂在面上(会跟着翻),由场景画在身后 */
.dv.thick .dv-front { transform: translateZ(calc(var(--dv-t) / 2)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
.dv.thick .dv-back { transform: rotateY(180deg) translateZ(calc(var(--dv-t) / 2)); }
.dv-wall { position: absolute; left: 0; top: 0; height: var(--dv-t); backface-visibility: hidden; -webkit-backface-visibility: hidden; background-color: #4e5056;
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, .45), rgba(255, 255, 255, .06) 22%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .06) 78%, rgba(0, 0, 0, .45)); }
.dv-shade { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: #000; opacity: 0; }

/* 订单详情截图(通用样式) */
.order { left: 0; top: 0; width: 402px; height: 874px; background: #F4F4F4; color: #222; font-family: var(--ui); overflow: hidden; }
.order > * { position: absolute; }
.od-nav { left: 0; right: 0; top: 54px; height: 48px; background: #fff; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; font-size: 17px; }
.od-nav b { font-weight: 600; }
.od-status { left: 0; right: 0; top: 102px; height: 84px; background: #fff; padding: 16px 20px; }
.od-status b { display: block; font-size: 21px; font-weight: 700; }
.od-status span { display: block; margin-top: 4px; font-size: 12px; color: #888; }
.od-bg { left: 12px; right: 12px; background: #fff; border-radius: 14px; }
.od-shop { left: 26px; top: 210px; display: flex; align-items: center; gap: 6px; font-size: 13px; }
.od-thumb { left: 24px; top: 244px; width: 72px; height: 72px; border-radius: 10px; background: #F2F2F2; padding: 7px; }
.od-thumb img { width: 100%; height: 100%; object-fit: contain; }
.od-title { left: 108px; top: 244px; width: 180px; }
.od-title p { margin: 0; font-size: 14px; line-height: 1.45; }
.od-title small { display: block; margin-top: 4px; font-size: 11.5px; color: #999; }
.od-price { right: 26px; top: 246px; text-align: right; }
.od-price b { display: block; font-size: 13.5px; font-weight: 600; }
.od-price small { font-size: 11px; color: #999; }
.od-kv { left: 26px; right: 26px; display: flex; justify-content: space-between; align-items: center; height: 24px; font-size: 12.5px; color: #666; }
.od-paid { color: #222; font-size: 13.5px; }
.od-paid b { font-size: 17px; font-weight: 700; }
.od-more { left: 12px; right: 12px; top: 570px; }
.od-more b { display: block; font-size: 14px; font-weight: 600; margin: 0 0 10px 6px; }
.od-more div { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.od-more i { height: 110px; border-radius: 12px; background: #E9E9E9; }
.od-bar { left: 0; right: 0; bottom: 0; height: 84px; background: #fff; display: flex; justify-content: flex-end; gap: 10px; padding: 12px 16px 0; }
.od-bar span { height: 36px; padding: 0 16px; border-radius: 18px; box-shadow: inset 0 0 0 1px #ddd; font-size: 13.5px; line-height: 36px; }

/* 添加物品表单(深色,form_sheet/) */
.fsheet { width: 402px; padding: 15px 20px 20px; border-radius: 20px; background: #202020; color: #EEEEEE; box-shadow: 0 30px 70px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(255, 255, 255, .06); }
.fs-title { display: flex; justify-content: center; align-items: center; font-size: 14px; font-weight: 700; margin-bottom: 20px; }
.fs-body { height: 262px; overflow: hidden; display: flex; flex-direction: column; gap: 10px; -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent); mask-image: linear-gradient(to bottom, #000 78%, transparent); }
.fs-row { display: flex; gap: 15px; align-items: center; flex: none; }
.fs-row2 { align-items: flex-start; }
.fs-field { flex: 1; min-width: 0; height: 48px; border-radius: 10px; background: #2F2F2F; display: flex; align-items: center; justify-content: center; padding: 0 15px; font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; }
.fs-field .ph { color: rgba(255, 255, 255, .6); }
.fs-img { position: relative; width: 48px; height: 48px; border-radius: 10px; background: #2F2F2F; display: grid; place-items: center; flex: none; }
.fs-ph { display: grid; }
.fs-pic { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; }
.fs-avg { flex: none; padding: 15px 0 0 0; margin-left: -3px; font-size: 12px; font-weight: 700; color: #D0D0D0; opacity: 0; }
.fs-line { flex: none; height: 48px; border-radius: 10px; background: #2F2F2F; display: flex; align-items: center; justify-content: space-between; padding: 0 12px 0 15px; font-size: 14px; }
.fs-line b { font-weight: 700; }
.fs-line span { display: flex; align-items: center; font-weight: 500; }
.fs-sec { flex: none; height: 24px; display: flex; align-items: center; gap: 5px; }
.fs-sec b { font-size: 14px; font-weight: 700; }
.fs-sec small { flex: 1; font-size: 10px; font-weight: 500; color: #969696; }
.fs-goal { flex: none; border-radius: 10px; background: #2F2F2F; }
.fs-goal .fs-line { background: none; }
.fs-seg { margin: 15px 15px 5px; height: 38px; padding: 6px; border-radius: 9px; background: #222C29; display: flex; }
.fs-seg i { flex: 1; display: grid; place-items: center; border-radius: 6px; font-style: normal; font-size: 13px; color: #D0D0D0; }
.fs-seg i.on { background: #D1E467; color: #202020; }
.fs-foot { display: flex; justify-content: center; margin-top: 15px; }
.fs-add { display: inline-flex; align-items: center; justify-content: center; gap: 5px; width: 145px; height: 40px; border-radius: 20px; background: #D1E467; color: #202020; font-size: 15px; font-weight: 700; }

/* 通知横幅 */
.ntf { font-family: var(--ui); display: flex; gap: 11px; align-items: center; padding: 13px 14px; border-radius: 24px; color: #111; background: #F8F8F6;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .28); }
.ntf img { width: 38px; height: 38px; border-radius: 9px; object-fit: contain; flex: none; }
.ntf-main { flex: 1; min-width: 0; }
.ntf-top { display: flex; justify-content: space-between; gap: 8px; font: 600 14.5px var(--ui); }
.ntf-top b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ntf-top span { font-weight: 400; font-size: 13px; color: #6E7168; flex: none; }
.ntf-body { margin-top: 2px; font: 400 14.5px/1.35 var(--ui); }

/* 提醒排期页(深色主题) */
.sched { left: 0; top: 0; width: 402px; height: 874px; background: #202020; color: #EEEEEE; padding-top: 14px; font-family: var(--ui); }
.sc-nav { position: relative; height: 50px; margin-bottom: 10px; display: flex; align-items: center; justify-content: center; }
.sc-nav b { display: flex; align-items: center; padding: 6px 8px 8px 12px; font-size: 17px; font-weight: 600; }
.sc-back { position: absolute; left: 10px; top: 1px; width: 48px; height: 48px; display: grid; place-items: center; }
.sc-strip { height: 87px; display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; padding: 0 8px; margin-bottom: 6px; }
.ds-cell { padding: 5px 0 6px; border-radius: 12px; display: flex; flex-direction: column; align-items: center; }
.ds-cell.past { opacity: .3; }
.ds-cell.has { background: rgba(209, 228, 103, .12); }
.ds-cell.sel { background: #D1E467; }
.ds-w { font-size: 11px; line-height: 14px; color: #969696; }
.ds-cell b { margin-top: 2px; font-size: 15px; line-height: 20px; font-weight: 600; color: #EEEEEE; }
.ds-cell.sel .ds-w, .ds-cell.sel b { color: #202020; font-weight: 800; }
.ds-marks { margin-top: 2px; height: 38px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.ds-marks span { display: flex; gap: 2px; }
.mk { display: block; flex: none; }
.mk img { width: 100%; height: 100%; object-fit: contain; }
.sc-switch { margin: 4px 12px 10px; min-height: 64px; padding: 0 10px 0 20px; border-radius: 14px; background: #282828; display: flex; align-items: center; gap: 12px; }
.sc-bell { width: 24px; height: 24px; border-radius: 6px; background: #4DA3FF; display: grid; place-items: center; flex: none; }
.sc-switch div { flex: 1; }
.sc-switch b { display: block; font-size: 14px; font-weight: 700; }
.sc-switch span { display: block; margin-top: 2px; font-size: 12px; color: #969696; }
.tgl { width: 41px; height: 25px; border-radius: 13px; background: #D1E467; position: relative; flex: none; margin-right: 6px; }
.tgl::after { content: ""; position: absolute; right: 2px; top: 2px; width: 21px; height: 21px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, .25); }
.sc-pills { display: flex; gap: 8px; padding: 6px 14px 10px; }
.sc-pills span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px 7px 10px; border-radius: 12px; background: #282828; font-size: 13px; color: #D0D0D0; }
.ag-head { height: 37px; display: flex; align-items: baseline; gap: 8px; padding: 10px 22px 7px; }
.ag-head b { font-size: 14px; font-weight: 600; }
.ag-head b.today { color: #EAFF74; }
.ag-head span { font-size: 12.5px; color: #969696; }
.ag-card { margin: 0 12px 6px; border-radius: 16px; background: #282828; overflow: hidden; }
.ag-row { min-height: 62px; display: flex; align-items: center; gap: 12px; padding: 11px 14px; }
.ag-row + .ag-row { box-shadow: inset 66px 1px 0 -65px #282828, inset 0 1px 0 rgba(255, 255, 255, .1); }
.ag-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.ag-name { font-size: 15px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ag-sub { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: #D0D0D0; white-space: nowrap; }
.ktag { padding: 1.5px 6px; border-radius: 6px; font-size: 11px; font-weight: 600; line-height: 1.3; }
.ag-side { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.ag-side b { font-size: 13.5px; font-weight: 400; color: #D0D0D0; }
.ag-side span { font-size: 11.5px; color: #969696; }
.ag-gap { display: flex; align-items: stretch; padding: 2px 22px 10px; }
.ag-gap i { width: 2px; background: #222C29; }
.ag-gap span { padding: 5px 10px; font-size: 12.5px; color: #969696; }

/* 桌面 */
.hs { left: 0; top: 0; width: 402px; height: 874px; }
.hs > div { position: absolute; }
.w-ios { background: linear-gradient(165deg, #2B4FD1 0%, #6A45CF 46%, #C4508C 100%); }
.w-ios2 { background: linear-gradient(200deg, #0F6F74 0%, #2C4A9C 55%, #231F4F 100%); }
.hs-row { left: 19px; top: 70px; display: flex; gap: 24px; }
.hs-med { left: 19px; top: 266px; }
.hs-med .wg-m { width: 364px; }
.hs-apps { left: 19px; right: 19px; top: 470px; display: grid; grid-template-columns: repeat(4, 1fr); row-gap: 28px; justify-items: center; }
.app b { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 17px; overflow: hidden; box-shadow: 0 4px 12px rgba(0, 0, 0, .18); }
.app img { width: 64px; height: 64px; }
.hs-ipad { width: 1180px; height: 820px; }
.hs-ipad .hs-wg { left: 40px; top: 64px; display: flex; gap: 24px; }
.hs-ipad .hs-apps { left: 40px; right: 40px; top: 300px; grid-template-columns: repeat(8, 1fr); row-gap: 40px; }

/* 指尖与涟漪 */
.finger { width: 44px; height: 44px; border-radius: 50%; z-index: 90; background: radial-gradient(circle at 50% 42%, rgba(255, 255, 255, .95), rgba(255, 255, 255, .6) 58%, rgba(255, 255, 255, .38));
  box-shadow: 0 6px 16px rgba(0, 0, 0, .35), inset 0 0 0 1.5px rgba(255, 255, 255, .95); opacity: 0; }
.ripple { border-radius: 50%; z-index: 89; border: 2.5px solid var(--lime-hot); box-shadow: 0 0 16px rgba(214, 255, 58, .6); opacity: 0; }

/* 第二页 */
.p2-shadow { background: #000; opacity: 0; }
.p2-flash { inset: 0; z-index: 60; background: #fff; opacity: 0; }
.p2-dim { inset: 0; z-index: 70; background: #000; opacity: 0; }
.p2-scanlayer { left: 0; top: 0; width: 402px; height: 874px; transform-origin: 0 0; z-index: 30; }
.p2-scanlayer > * { position: absolute; }
.p2-scanlayer .order { border-radius: 28px; box-shadow: 0 20px 60px rgba(0, 0, 0, .6); }
.p2-band { left: 0; top: -60px; width: 402px; height: 120px; opacity: 0; background: linear-gradient(to bottom, rgba(214, 255, 58, 0), rgba(214, 255, 58, .22) 70%, rgba(214, 255, 58, .95) 98%, rgba(214, 255, 58, 0)); }
.p2-box { border-radius: 9px; background: rgba(214, 255, 58, .16); box-shadow: 0 0 0 2.5px #B9E021, 0 0 22px rgba(214, 255, 58, .55); opacity: 0; }
.p2-box span { position: absolute; left: -2px; top: -26px; padding: 2px 8px; border-radius: 7px; background: var(--lime-hot); color: #202020; font: 700 13px/20px var(--ui); white-space: nowrap; }
.p2-box.below span { top: auto; bottom: -26px; }
.p2-ntf { left: 8px; right: 8px; top: 54px; z-index: 40; opacity: 0; }
.p2-shot { left: 0; top: 0; width: 402px; height: 874px; transform-origin: 0 0; border-radius: 34px; overflow: hidden; z-index: 35; opacity: 0; }
.p2-shotbar { left: 154px; top: 736px; display: flex; gap: 8px; z-index: 36; opacity: 0; }
.p2-shotbar span { display: flex; align-items: center; justify-content: center; gap: 4px; width: 76px; height: 40px; border-radius: 20px; background: rgba(30, 30, 30, .88); color: #fff; font-size: 14px; font-weight: 500; }
.p2-shotbar span.on { background: #fff; color: #111; box-shadow: 0 4px 14px rgba(0, 0, 0, .3); }
.p2-share { left: 0; right: 0; top: auto; bottom: 0; height: 330px; z-index: 45; padding: 12px 16px; border-radius: 30px 30px 0 0; background: #F7F7F7; color: #111; box-shadow: 0 -10px 40px rgba(0, 0, 0, .3); transform: translateY(380px); }
.p2-share .grab { display: block; width: 40px; height: 5px; border-radius: 3px; background: #CFCFCF; margin: 0 auto 16px; }
.p2-share > b { display: block; font: 600 17px/24px var(--ui); margin-bottom: 20px; }
.p2-apps { display: grid; grid-template-columns: repeat(5, 1fr); }
.p2-apps > div { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12px; color: #333; }
.p2-apps i { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; }
.p2-apps .coday i { border-radius: 16px; overflow: hidden; }
.p2-apps .coday i img { width: 56px; height: 56px; }
.p2-coday { inset: 0; z-index: 25; background: #202020; opacity: 0; }
.p2-cd-top { position: absolute; left: 16px; right: 16px; top: 58px; height: 30px; display: flex; align-items: center; justify-content: space-between; color: #eee; }
.p2-cd-top b { font-size: 17px; font-weight: 600; }
.p2-cd-top i { width: 24px; }
.p2-cd-tip { position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 18px; border-radius: 20px; background: #2F2F2F; color: #eee; font-size: 14px; white-space: nowrap; }
.spin { width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid rgba(234, 255, 116, .25); border-top-color: var(--lime); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.p2-badge { width: 28px; height: 28px; border-radius: 14px; background: var(--lime-hot); color: #202020; font: 900 15px/28px Archivo, var(--ui); font-stretch: 115%; text-align: center; z-index: 91; opacity: 0; box-shadow: 0 6px 16px rgba(0, 0, 0, .35); }
.p2-sheet { transform-origin: 0 0; opacity: 0; }
.p2-flyimg { width: 48px; height: 48px; object-fit: contain; z-index: 10; opacity: 0; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .45)); }
.p2-chip { display: flex; align-items: center; gap: 4px; padding: 6px 11px; border-radius: 10px; background: var(--lime-hot); color: #202020; font: 700 12.5px var(--ui); white-space: nowrap; z-index: 10; opacity: 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .4), 0 0 24px rgba(214, 255, 58, .45); }

/* 第三页 */
.ly > .p3-cv { width: 402px; height: 874px; }

/* 第四页 */
.p4-sheet { width: 402px; height: 660px; border-radius: 48px; overflow: hidden; transform-origin: 0 0; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 50px 90px rgba(0, 0, 0, .6); }
.p4-sheet .sched { position: absolute; }
.p4-sheet .ag-row { transition: none; }
.ly > .p4-clock { left: 50%; top: 104px; display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 15px 0 12px; border-radius: 18px; z-index: 5; opacity: 0;
  background: rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); color: #fff; font: 800 18px Archivo, var(--ui); font-stretch: 110%; }
.ly > .p4-n { left: 14px; top: 100px; width: 374px; transform-origin: 50% 0; opacity: 0; }
.p4-bit { border-radius: 2px; z-index: 20; opacity: 0; }

/* 第五页 */
.p5-dev { transform-origin: 50% 0; }
.p5-dev .dv-front { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), 0 50px 90px -20px rgba(0, 0, 0, .75); }
.p5-lines { overflow: visible; pointer-events: none; z-index: 10; }
.p5-path { fill: none; stroke: var(--lime-hot); stroke-width: 3; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(214, 255, 58, .9)); }
.p5-dot { fill: #F4FFC2; filter: drop-shadow(0 0 8px var(--lime-hot)); }
.p5-check { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; z-index: 12; opacity: 0; background: var(--lime-hot); color: #202020; box-shadow: 0 4px 12px rgba(0, 0, 0, .35); }
.p5-chip { display: flex; align-items: center; gap: 9px; padding: 7px 14px 7px 7px; border-radius: 18px; background: var(--lime-hot); color: #202020; z-index: 20; opacity: 0; box-shadow: 0 12px 30px rgba(0, 0, 0, .45); }
.p5-chip img { width: 36px; height: 36px; border-radius: 10px; background: rgba(0, 0, 0, .08); padding: 3px; }
.p5-chip b { display: block; font-size: 13px; font-weight: 700; white-space: nowrap; }
.p5-chip span { display: block; font-size: 11px; font-weight: 600; opacity: .7; }
.ly > .p5-done { left: 50%; top: 84px; display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 16px 0 12px; border-radius: 19px; z-index: 30; opacity: 0;
  background: var(--lime-hot); color: #202020; font: 700 14.5px var(--ui); white-space: nowrap; box-shadow: 0 12px 30px rgba(0, 0, 0, .4); }

@media (prefers-reduced-motion: reduce) {
  .spin { animation: none; }
}

/* ── parts.css ── */
/* 官网的 app 零件(parts.js):逻辑点,402 宽的屏,深色主题。尺寸、字号照 Dart 源码,出处写在各段开头 */

/* ── 物品卡:tab_index/item_card_{small,medium,large}.dart、object_card_frame.dart、object_card_parts.dart ── */
.p-card { position: absolute; color: var(--p-fg); font-family: var(--ui); line-height: normal; }
.p-card-bg { position: absolute; inset: 0; border-radius: inherit; }
.p-card-in { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: space-between; }
.p-row { display: flex; align-items: center; min-width: 0; }
.p-fit { flex: 1; min-width: 0; }
.p-gap { display: block; flex: none; }
.p-thumb { display: block; flex: none; border-radius: 5px; object-fit: cover; }
[data-fit] { display: inline-flex; white-space: nowrap; }
.p-sm-name { flex: 1; min-width: 0; font-size: 11px; font-weight: 600; line-height: 1.25; overflow-wrap: break-word; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.p-md-name { font-size: 15px; font-weight: 600; line-height: 1.25; }
.p-lg-name { height: 23px; display: flex; align-items: center; min-width: 0; font-size: 16px; font-weight: 600; }
/* PriceNumRow:总价 | 数量,三段共用 12/w500/行高 1 */
.p-lg-sub { height: 17px; margin-top: 2px; display: flex; align-items: center; min-width: 0; }
.p-pn { align-items: center; font-size: 12px; font-weight: 500; line-height: 1; color: var(--p-sub); }
.p-pn i { display: block; width: 1px; height: 10px; margin: 0 8px; background: var(--p-div); }
.p-pn-n { margin-left: 1px; }
.p-pn-u { margin-left: 2px; }
.p-lg-bot { align-items: flex-end; justify-content: space-between; }
/* CardAvgPrice → NumUnitText:金额行高 1、单位行高 1.3,底对齐,前面留 1 */
.p-avg { align-items: flex-end; padding-left: 1px; font-weight: 700; color: var(--p-fg); }
.p-avg b { font-weight: 700; line-height: 1; }
.p-avg small { line-height: 1.3; }
/* SwitchProgress / 详情页的 64 环:svg 画环,字压在正中 */
.p-ring { position: relative; flex: none; display: grid; place-items: center; }
.p-ring svg { position: absolute; inset: 0; overflow: visible; }
.p-ring-pct { position: relative; font-weight: 700; }

/* ── 详情页:item_detail/index.dart(顶栏)、head.dart(头部)、look.dart(派生色)、chart.dart(图) ── */
.p-detail { position: absolute; left: 0; top: 0; width: 402px; height: 874px; overflow: hidden; padding-top: var(--p-top, 62px); background: var(--p-bg); color: var(--p-tx); font-family: var(--ui); line-height: normal; }
.p-detail em { font-style: normal; }
/* Appbari:高 50;返回是 48 见方的 IconButton,编辑是内边距 8 的 Tap,中间「概览 / 时间线」 */
.p-dt-bar { position: relative; height: 50px; }
.p-dt-back { position: absolute; left: 10px; top: 1px; width: 48px; height: 48px; display: grid; place-items: center; }
.p-dt-edit { position: absolute; right: 14px; top: 6px; width: 38px; height: 38px; display: grid; place-items: center; }
.p-dt-switch { position: absolute; left: 50%; top: 7px; transform: translateX(-50%); display: grid; grid-template-columns: 1fr 1fr; padding: 3px; border-radius: 999px; background: var(--p-track); }
.p-dt-switch span { height: 30px; min-width: 78px; padding: 0 12px; display: grid; place-items: center; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; color: var(--p-dsub); }
.p-dt-switch span.on { color: var(--p-tx); background: color-mix(in srgb, var(--p-tx) 22%, transparent); }
/* CardHeader:图 60、圆角 10,后面一团强调色 60% 的光(BoxShadow blur 18 spread 1,模糊半径换成 sigma 10.9) */
.p-dt-head { display: flex; align-items: center; padding: 18px 20px 0; }
.p-dt-img { position: relative; flex: none; width: 60px; height: 60px; margin-right: 16px; }
.p-dt-img::before { content: ''; position: absolute; inset: -1px; border-radius: 11px; background: color-mix(in srgb, var(--p-acc) 60%, transparent); filter: blur(10.9px); }
.p-dt-img img { position: relative; display: block; width: 100%; height: 100%; border-radius: 10px; object-fit: cover; }
.p-dt-hm { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.p-dt-name { align-self: stretch; height: 23px; display: flex; align-items: center; min-width: 0; font-size: 16px; font-weight: 600; letter-spacing: .5px; }
.p-dt-badge { margin-top: 6px; display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 6px; background: var(--p-ov); font-size: 12px; font-weight: 500; white-space: nowrap; }
.p-dt-badge em { color: var(--p-acc); letter-spacing: .3px; }
/* _Hero:左边标签、大号均价、差额句,右边 64 的环,两边竖着居中 */
.p-dt-hero { display: flex; align-items: center; }
.p-dt-left { flex: 1; min-width: 0; padding: 26px 0 0 20px; }
.p-dt-label { font-size: 13px; font-weight: 500; color: var(--p-dsub); }
.p-dt-bigw { margin-top: 2px; }
/* _BigAvg:数字和「/天」基线对齐,币种标签小一号、基线抬高 raise */
.p-dt-big { align-items: baseline; font-weight: 600; color: var(--p-tx); }
.p-dt-n { font-size: var(--p-s); line-height: 1.02; letter-spacing: calc(var(--p-s) / -31); font-variant-numeric: tabular-nums; }
.p-dt-c { position: relative; margin-right: 3px; line-height: 1; }
.p-dt-c.post { margin-left: 3px; }
.p-dt-u { margin-left: 5px; font-size: 18px; font-weight: 500; color: var(--p-dsub); }
.p-dt-delta { margin-top: 8px; display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--p-dsub); }
.p-dt-delta .sym { flex: none; }
.p-dt-delta span { min-width: 0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.p-dt-delta em { font-weight: 600; color: var(--p-acc); }
.p-dt-ring { flex: none; padding: 20px 20px 0 8px; display: flex; flex-direction: column; align-items: center; }
.p-dt-pct { position: relative; font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.p-dt-rl { margin-top: 5px; max-width: 88px; font-size: 11px; font-weight: 500; color: var(--p-dsub); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* _Facts:三格等宽隔 8(按天记的没用过只有两个,第三格空着) */
.p-dt-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 22px 20px 0; }
.p-dt-fv { font-size: 19px; font-weight: 600; font-variant-numeric: tabular-nums; }
.p-dt-fl { margin-top: 1px; font-size: 12px; font-weight: 500; color: var(--p-dsub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* _AlertStrip:强调色浅底,第一条离上面 18、其余 8;动作是 DetailPill(strong) */
.p-dt-alert { margin: 8px 20px 0; padding: 12px 12px 12px 14px; border-radius: 16px; background: var(--p-soft); display: flex; align-items: center; gap: 10px; }
.p-dt-facts + .p-dt-alert { margin-top: 18px; }
.p-dt-am { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.p-dt-am b { font-size: 15px; font-weight: 600; }
.p-dt-am span { font-size: 12px; font-weight: 500; color: var(--p-dsub); }
.p-dt-pill { flex: none; height: 34px; padding: 0 14px 0 10px; display: inline-flex; align-items: center; gap: 3px; border-radius: 999px; background: var(--p-acc); color: var(--p-bg); font-size: 14px; font-weight: 700; }
/* TrendChart:离上面 14,通栏 */
.p-dt-chart { display: block; margin-top: 14px; overflow: visible; }
.p-ch-text { font-family: var(--ui); }
.p-ch-label { font-size: 11px; font-weight: 500; }
.p-ch-tickAccent { font-size: 11px; font-weight: 600; }
.p-ch-value { font-size: 12px; font-weight: 600; }

/* ── 会员权益格:vip/prerogative_box.dart。底 #111210、圆角 14;图标 24,后面同色 9% 的光(spread 18、blur 18) ── */
.p-vip { overflow: hidden; padding: 14px 12px 14px 14px; border-radius: 14px; background: #111210; font-family: var(--ui); line-height: normal; }
.p-vip-ic { position: relative; display: block; width: 24px; height: 24px; }
.p-vip-ic::before { content: ''; position: absolute; inset: -18px; border-radius: 50%; background: color-mix(in srgb, var(--p-glow) 9%, transparent); filter: blur(10.9px); }
.p-vip-ic img { position: relative; display: block; width: 24px; height: 24px; }
.p-vip b { display: block; margin-top: 10px; font-size: 14px; font-weight: 700; color: #fff; }
.p-vip p { margin: 3px 0 0; font-size: 11px; line-height: 1.35; color: #D0D0D0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }

/* ── site.css ── */
/* 官网首页:常规的顶栏、分区、文档流。暗色的几区底色随滚动慢慢换(scroll.js 写 --tone),收尾是一整张从底下升起来的青柠纸;
   每区一块会动、能点的 app 界面(showcase/src/*.js)。类名一律 s- 前缀;标题沿用引导的 .hl .kw .cnt .sub(演示按这些名字点亮关键词、数计数格) */
:root {
  --tone: #18181B;
  --s-tx: #F5F5F2;
  --s-tx-2: #B9B9B3;
  --s-tx-3: #86867F;
  --s-ink: #1F201A;
  --s-paper: #E2F465;
  --s-face: #D1E467;
  --s-lip: #869532;
  --s-gut: clamp(16px, 4.4vw, 64px);
  --s-max: 1240px;
  --s-nav: 68px;
  /* 一屏:视口减去顶栏;宽屏下每个功能区就是这么高(太矮、太高都夹住),上下留白也按视口高给 */
  --avail: calc(100svh - var(--s-nav));
  --screen: clamp(540px, var(--avail), 1000px);
  --pad-y: clamp(36px, 7svh, 84px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --spring: cubic-bezier(.34, 1.36, .64, 1);
}
html { background: var(--tone); scroll-behavior: smooth; scroll-padding-top: var(--s-nav); }
body { margin: 0; background: var(--tone); color: var(--s-tx); font: 400 16px/1.7 var(--ui); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
/* 页面不许比屏幕宽(手机上会左右晃):光晕、荡开的圈、跑马灯都会伸出去,在 main 上裁掉。
   不能裁在 body 上:body 的 overflow 会被挪给视口,body 自己反倒不裁,iOS Safari 又不认视口上的 hidden。
   老 Safari 没有 clip 就退回 hidden(main 成了不滚的滚动容器,顶栏不在它里面,吸顶不受影响) */
main { overflow-x: hidden; overflow-x: clip; }
img { display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--lime); color: var(--s-ink); }

/* ── 入场:标题逐行从底下升起,其余淡入上移;html.rv 由页面头部的一行脚本记上,没脚本就什么都不藏 ── */
.rv [data-rv] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease) var(--d, 0s), transform 1.1s var(--ease) var(--d, 0s); }
.rv [data-rv].in { opacity: 1; transform: none; }
.rv .hl[data-rv] { opacity: 1; transform: none; }
.rv .hl[data-rv] .ln { overflow: clip; padding-bottom: .1em; margin-bottom: -.1em; }
.rv .hl[data-rv] .ln-i { transform: translateY(110%); transition: transform 1.15s var(--ease) calc(var(--d, 0s) + var(--i, 0) * .09s); }
.rv .hl[data-rv].in .ln-i { transform: none; }

/* ── 顶栏:中间一排锚点,所在区那颗底下垫一块会滑的底色;滚到青柠纸上换成墨色字 ── */
.s-nav { position: sticky; z-index: 40; top: 0; height: var(--s-nav); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding: 0 var(--s-gut);
  transition: background .4s, color .4s, box-shadow .4s; }
.s-nav.stuck { background: color-mix(in srgb, var(--tone) 72%, transparent); -webkit-backdrop-filter: saturate(1.5) blur(20px); backdrop-filter: saturate(1.5) blur(20px); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.s-nav.on-lime { color: var(--s-ink); background: color-mix(in srgb, var(--s-paper) 78%, transparent); box-shadow: 0 1px 0 rgba(31, 32, 26, .08); }
.s-brand { justify-self: start; display: flex; align-items: center; gap: 10px; text-decoration: none; font: 900 21px/1 Archivo, var(--ui); font-stretch: 112%; letter-spacing: -.035em; }
.s-brand img { width: 34px; height: 34px; border-radius: 9px; transition: transform .5s var(--spring); }
.s-brand:hover img { transform: rotate(-8deg) scale(1.08); }
.s-links { position: relative; display: flex; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .055); }
.on-lime .s-links { background: rgba(31, 32, 26, .07); }
.s-links a { position: relative; z-index: 1; padding: 7px 15px; border-radius: 999px; font-size: 14px; font-weight: 600; line-height: 1.5; white-space: nowrap; text-decoration: none; color: var(--s-tx-2); transition: color .25s; }
.on-lime .s-links a { color: rgba(31, 32, 26, .6); }
.s-links a:hover, .s-links a[aria-current="true"] { color: var(--s-tx); }
.on-lime .s-links a:hover, .on-lime .s-links a[aria-current="true"] { color: var(--s-ink); }
.s-links-pill { position: absolute; left: 0; top: 4px; bottom: 4px; width: 0; border-radius: 999px; background: rgba(255, 255, 255, .12); opacity: 0;
  transition: transform .55s var(--spring), width .55s var(--spring), opacity .3s; }
.on-lime .s-links-pill { background: rgba(31, 32, 26, .12); }
.s-tools { justify-self: end; display: flex; align-items: center; gap: 10px; }
.s-lang { position: relative; }
.s-lang summary { list-style: none; height: 38px; display: flex; align-items: center; padding: 0 15px; border-radius: 19px; background: rgba(255, 255, 255, .07); font-size: 14px; font-weight: 600; cursor: pointer; transition: background .2s; }
.on-lime .s-lang summary { background: rgba(31, 32, 26, .08); }
.s-lang summary:hover { background: rgba(255, 255, 255, .13); }
.s-lang summary::-webkit-details-marker { display: none; }
.s-lang ul { position: absolute; right: 0; top: 46px; margin: 0; padding: 6px; list-style: none; min-width: 150px; border-radius: 16px; background: #262626; color: var(--s-tx); box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
.s-lang li button { display: block; width: 100%; padding: 9px 12px; border: 0; border-radius: 10px; background: none; text-align: left; font-size: 14px; color: var(--s-tx-2); cursor: pointer; }
.s-lang li button:hover { background: rgba(255, 255, 255, .06); color: var(--s-tx); }
.s-lang li button[aria-current="true"] { background: rgba(255, 255, 255, .1); color: var(--s-tx); }
.s-nav-dl { height: 38px; display: flex; align-items: center; padding: 0 19px; border-radius: 19px; background: var(--lime); color: var(--s-ink); font-size: 14px; font-weight: 700; text-decoration: none; transition: background .2s, color .2s, transform .3s var(--spring); }
.s-nav-dl:hover { transform: scale(1.05); }
.on-lime .s-nav-dl { background: var(--s-ink); color: var(--lime); }

/* ── 字 ─────────────────────────────────────────────── */
.hl { margin: 0; font: 900 clamp(30px, min(4.6vw, 7.2svh), 72px)/1.1 var(--rhr), var(--ui); letter-spacing: -.02em; color: var(--s-tx); }
.hl[hidden] { display: none; }
/* 引导里标题一行不折(screen.css),网页里放不下就折 */
.hl .ln { display: block; width: auto; white-space: normal; text-wrap: balance; }
.hl .ln-i { display: block; }
.rv .hl .ln-i { white-space: nowrap; }
[lang="ko"] .hl { word-break: keep-all; }
[lang="ja"] .hl { word-break: auto-phrase; }
.hl .cnt { font-family: Archivo, var(--ui); font-stretch: 125%; font-weight: 900; font-size: .92em; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.sub { max-width: 32em; margin: clamp(12px, 2.2svh, 22px) 0 0; white-space: normal; font: 600 clamp(16px, min(1.5vw, 2.6svh), 21px)/1.5 var(--ui); color: var(--s-tx-2); text-wrap: balance; }
.s-desc { max-width: 34em; margin: clamp(10px, 1.8svh, 16px) 0 0; font-size: 15.5px; line-height: 1.75; color: var(--s-tx-3); text-wrap: pretty; }
.s-center { margin-left: auto; margin-right: auto; text-align: center; }
.s-head { max-width: 920px; margin: 0 auto; text-align: center; }
.s-head .sub, .s-head .s-desc { margin-left: auto; margin-right: auto; }
/* 横排的页头:标题在左,说明和按钮在右、压底对齐 */
.s-head.s-row { max-width: none; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: end; gap: 24px clamp(32px, 6vw, 96px); text-align: left; }
.s-head.s-row .sub, .s-head.s-row .s-desc { margin-left: 0; margin-right: 0; }
.s-head.s-row .sub { margin-top: 0; }
.s-head-side > :first-child { margin-top: 0; }

/* 互斥的一排按钮:按下的那颗整块填白 */
.s-seg { display: inline-flex; flex-wrap: wrap; margin-top: clamp(18px, 3svh, 30px); padding: 4px; border-radius: 16px; background: rgba(255, 255, 255, .07); }
.s-seg button { border: 0; background: none; cursor: pointer; padding: 10px 20px; border-radius: 12px; font-size: 15px; font-weight: 600; color: var(--s-tx-2); transition: background .25s, color .25s; }
.s-seg button:hover { color: var(--s-tx); }
.s-seg button[aria-pressed="true"] { background: var(--s-tx); color: #161616; }

/* 主按钮照 app 的 LipBtn:52 高的面压在 4 高的厚沿上,按下去面沉到底 */
.s-cta { margin-top: clamp(22px, 4svh, 38px); }
.s-lip { display: inline-block; height: 60px; text-decoration: none; color: var(--s-ink); }
.s-lip-face { display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 32px 0 26px; border-radius: 28px; background: var(--s-face); box-shadow: 0 4px 0 var(--s-lip); font: 900 18px/1 var(--rhr), var(--ui); letter-spacing: .01em; white-space: nowrap; transition: transform 55ms ease-out, box-shadow 55ms ease-out, background .2s; }
.s-lip:hover .s-lip-face { background: #DCEE73; }
.s-lip:active .s-lip-face { transform: translateY(4px); box-shadow: 0 0 0 var(--s-lip); }
.s-glyph { flex: none; width: 20px; height: 20px; background: currentColor; -webkit-mask: var(--g) center / contain no-repeat; mask: var(--g) center / contain no-repeat; }
.s-alt { display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 18px 0 0; font-size: 14px; }
.s-alt a { color: var(--s-tx-3); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .2); text-underline-offset: 4px; transition: color .2s; }
.s-alt a:hover { color: var(--s-tx); }

/* 演示按自己的逻辑尺寸画好、整块缩放到栏宽(site.js 的 fit);宽高比 --ar、窄屏最宽 --max-w 各区给 */
.s-stage { position: relative; min-width: 0; }
.s-demo { position: relative; width: min(100%, var(--max-w, 100%)); margin: 0 auto; aspect-ratio: var(--ar, auto); }
.s-demo-in { position: absolute; left: 0; top: 0; transform-origin: 0 0; }

/* ── 分区 ─────────────────────────────────────────────── */
.s-sec { --glow: transparent; position: relative; isolation: isolate; max-width: var(--s-max); margin: 0 auto; padding: var(--pad-y) var(--s-gut); }
/* 每区身后一团物品色的光,随滚动比字慢一点走(scroll.js 写 --par) */
.s-sec::before, .s-hero::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: min(1100px, 120vw); aspect-ratio: 1.3; border-radius: 50%; pointer-events: none;
  transform: translate(-50%, calc(-50% + var(--par, 0) * 120px)); background: radial-gradient(closest-side, var(--glow), transparent); opacity: .9; }
.s-split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(32px, 6vw, 110px); }
.s-flip .s-copy { order: 2; }

/* 首屏:左字右曲线 */
.s-hero { --ar: 1.246; --max-w: 760px; position: relative; isolation: isolate; max-width: 1360px; margin: 0 auto; min-height: var(--avail); display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); align-items: center; gap: clamp(24px, 3vw, 56px);
  padding: 8px var(--s-gut) 56px; --glow: rgba(140, 135, 166, .2); }
.s-hero::before { left: 66%; width: min(1000px, 110vw); }
.s-hero .hl { font-size: clamp(40px, min(5.6vw, 9.5svh), 92px); line-height: 1.04; letter-spacing: -.025em; }
.s-hero-stage { position: relative; display: flex; flex-direction: column; }
.s-hint { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 6px 0 0; font-size: 13.5px; color: var(--s-tx-3); text-align: center; }
.s-hint::before { content: ""; width: 26px; height: 2px; border-radius: 1px; background: linear-gradient(90deg, transparent, var(--s-tx-3)); }
.s-hint::after { content: ""; width: 26px; height: 2px; border-radius: 1px; background: linear-gradient(90deg, var(--s-tx-3), transparent); }

/* 首屏的曲线舞台(hero.js) */
.h-stage { touch-action: pan-y; cursor: ew-resize; user-select: none; -webkit-user-select: none; }
.h-svg { position: absolute; left: 0; top: 0; overflow: visible; }
.h-axis { stroke: rgba(255, 255, 255, .14); stroke-width: 2; }
.h-tick { stroke: rgba(255, 255, 255, .1); stroke-width: 2; stroke-linecap: round; }
.h-goal { stroke: rgba(234, 255, 116, .5); stroke-width: 2.5; stroke-dasharray: 2 12; stroke-linecap: round; }
.h-curve { fill: none; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.h-proj { fill: none; stroke: rgba(255, 255, 255, .28); stroke-width: 4; stroke-dasharray: 1 13; stroke-linecap: round; }
.h-drop { stroke: rgba(255, 255, 255, .35); stroke-width: 2; stroke-dasharray: 3 7; }
.h-lab { position: absolute; left: 0; top: 0; white-space: nowrap; font: 700 19px/1 var(--ui); color: var(--s-tx-3); }
.h-lab b { font-family: Archivo, var(--ui); font-stretch: 112%; font-weight: 800; color: var(--s-tx-2); }
.h-lab.goal { color: rgba(234, 255, 116, .75); }
.h-lab.goal b { color: var(--lime); }
.h-today { position: absolute; left: 0; top: 0; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); font: 700 18px/1 var(--ui); color: var(--s-tx); white-space: nowrap; }
.h-today.now { background: var(--s-tx); color: #17171A; }
.h-rider { position: absolute; left: 0; top: 0; width: 132px; height: 132px; }
.h-rider img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .55)); }
.h-glow { position: absolute; left: 0; top: 0; width: 420px; height: 420px; margin: -210px 0 0 -210px; border-radius: 50%; pointer-events: none; background: radial-gradient(closest-side, var(--h-glow, rgba(140, 135, 166, .3)), transparent); }
.h-dot { position: absolute; left: 0; top: 0; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: var(--s-tx); box-shadow: 0 0 0 8px rgba(255, 255, 255, .14), 0 0 30px rgba(255, 255, 255, .5); }
.h-read { position: absolute; right: 0; top: 0; text-align: right; }
.h-read-v { transform-origin: 100% 100%; display: flex; align-items: baseline; justify-content: flex-end; font: 900 150px/.92 Archivo, var(--ui); font-stretch: 125%; letter-spacing: -.055em; color: var(--s-tx); font-variant-numeric: tabular-nums; white-space: nowrap; }
.h-read-v small { margin-left: 10px; font: 900 34px/1 var(--rhr), var(--ui); letter-spacing: 0; color: var(--s-tx-3); }
.h-read-c { font-size: .5em; margin-right: .06em; color: var(--s-tx-2); letter-spacing: -.02em; }
.h-read-m { margin-top: 18px; display: inline-flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border-radius: 999px; background: rgba(255, 255, 255, .07); font: 600 20px/1 var(--ui); color: var(--s-tx-2); white-space: nowrap; }
.h-read-m img { width: 38px; height: 38px; border-radius: 10px; padding: 3px; background: var(--h-card, #3a3c40); object-fit: contain; }
.h-read-m b { color: var(--s-tx); font-weight: 700; }
.h-read-m i { width: 1.5px; height: 16px; background: rgba(255, 255, 255, .2); }
.h-tag { position: absolute; left: 0; top: 0; padding: 10px 18px; border-radius: 16px; background: var(--lime); color: var(--s-ink); font: 900 22px/1 var(--rhr), var(--ui); white-space: nowrap; box-shadow: 0 14px 30px rgba(0, 0, 0, .35); transform-origin: 0 100%; }
/* 窄屏:舞台收窄,字放大一档 */
.h-narrow .h-lab, .h-narrow .h-today { font-size: 25px; }
.h-narrow .h-read-v { font-size: 128px; }
.h-narrow .h-read-v small { font-size: 34px; }
.h-narrow .h-read-m { font-size: 23px; }
.h-narrow .h-read-m img { width: 44px; height: 44px; }
.h-narrow .h-tag { font-size: 27px; }
.h-tag em { font-style: normal; font-family: Archivo, var(--ui); font-stretch: 112%; margin: 0 .12em; }

/* ── 三种算法:左边三条说明,右边三张详情页叠成一摞 ── */
#kinds { --glow: rgba(100, 100, 130, .16); --ar: .794; --max-w: 470px; }
/* 底下淡出挂在整摞上(挂在每张上会连投影一起裁掉、透出后面几张),往左、往上、往右留出滑出去和转角的地方;伸出去那截压着左边的说明按钮,不接点击 */
.s-dt-stack { position: absolute; inset: -60px -60px 0 -220px; pointer-events: none; -webkit-mask-image: linear-gradient(#000 calc(100% - 116px), transparent); mask-image: linear-gradient(#000 calc(100% - 116px), transparent); }
.s-dt-sheet { position: absolute; left: 220px; top: 60px; width: 402px; overflow: hidden; border-radius: 44px; transform-origin: 0 60%;
  box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .75), inset 0 0 0 1px rgba(255, 255, 255, .07); }
.s-dt-sheet .p-detail { --p-top: 12px; }
.s-dt-dim { position: absolute; inset: 0; z-index: 5; background: #0E0E10; pointer-events: none; opacity: 0; }

/* 首页卡片:圆角整页,底下淡出 */
#cards { --glow: rgba(177, 58, 44, .2); --ar: .609; --max-w: 420px; }
#cards .s-demo { -webkit-mask-image: linear-gradient(#000 80%, transparent); mask-image: linear-gradient(#000 80%, transparent); }
.s-home { position: absolute; left: 0; top: 0; width: 402px; height: 874px; overflow: hidden; border-radius: 48px; background: #202020; transform-origin: 50% 0; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
.s-home > * { position: absolute; }
.s-home-cell { left: 0; top: 0; overflow: hidden; background: #2A2A2A; }
.s-home-spill { position: absolute; inset: 0; }
.s-home-cell > .p-card { left: 0; top: 0; transform-origin: 0 0; }
.s-home-cell .p-card-bg { display: none; }

/* ── AI记物:左边标题、平台和三步,右边手机和表单 ── */
#ai { --glow: rgba(171, 141, 113, .2); --ar: .622; --max-w: 440px; }
.s-ai-phone { position: absolute; left: 0; top: 0; transform-origin: 215px 451px; }
.s-ai-sheet { position: absolute; left: 0; top: 0; z-index: 3; transform-origin: 0 0; opacity: 0; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .55)); }
.s-ai-chip { position: absolute; left: 0; top: 0; z-index: 5; }
.s-ai-3d { position: absolute; inset: 0; perspective: 1400px; }
.s-ai-3d > *, .s-ai-pt { position: absolute; left: 0; top: 0; }
.s-ai-pt { z-index: 6; }
.dv-screen > .s-ai-share { left: 50%; top: auto; bottom: 46px; z-index: 50; display: flex; align-items: center; gap: 12px; padding: 10px 22px 10px 10px; border-radius: 24px; background: #fff; color: #111; font: 600 18px var(--ui); box-shadow: 0 12px 30px rgba(0, 0, 0, .3); opacity: 0; }
.s-ai-share img { width: 46px; height: 46px; border-radius: 12px; }
/* 一列说明条(三种算法、AI记物三步):正在演的那条垫底色、左边的条在长,演过的条满着 */
.s-steps { list-style: none; max-width: 470px; margin: clamp(18px, 3.4svh, 34px) 0 0; padding: 0; display: grid; gap: clamp(6px, 1.1svh, 10px); }
.s-steps button { display: flex; align-items: stretch; gap: 14px; width: 100%; padding: clamp(9px, 1.5svh, 13px) 16px clamp(9px, 1.5svh, 13px) 14px; border: 0; border-radius: 18px; background: rgba(255, 255, 255, .04);
  text-align: left; cursor: pointer; font-size: 15px; line-height: 1.5; color: var(--s-tx-3); transition: background .3s, color .3s; }
.s-steps button:hover { background: rgba(255, 255, 255, .08); color: var(--s-tx-2); }
.s-steps button[data-state="on"] { background: rgba(255, 255, 255, .11); color: var(--s-tx); }
.s-steps button[data-state="done"] { color: var(--s-tx-2); }
.s-steps span { flex: 1; min-width: 0; align-self: center; }
.s-steps span[hidden] { display: none; }
.s-steps b::first-letter { text-transform: uppercase; }
.s-steps b { display: block; font-size: 16px; font-weight: 700; color: var(--s-tx-2); transition: color .3s; }
.s-steps button[data-state="on"] b { color: var(--s-tx); }
.s-steps small { display: block; margin-top: 2px; font-size: 14px; line-height: 1.5; color: var(--s-tx-3); }
.s-step-bar { flex: none; width: 4px; border-radius: 2px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.s-step-bar > i { display: block; width: 100%; height: 100%; border-radius: inherit; background: var(--lime); transform: scaleY(var(--p, 0)); transform-origin: 50% 0; }

/* ── 图标:巨字一万,底下三排图标墙 ── */
.s-icons { --glow: rgba(214, 255, 58, .07); }
.s-icons > .s-head .hl { font-size: clamp(32px, min(5vw, 7.6svh), 78px); }
/* 第一行「10000+ 图标」:数和加号放成巨字,「图标」当单位跟在后面,整行不折(字号按视口宽给,英文的千分位也放得下) */
.s-icons .s-head { max-width: none; }
.s-icons > .s-head .hl .ln:first-child { font-size: clamp(20px, 3.2vw, 50px); line-height: 1; margin-bottom: .3em; white-space: nowrap; }
.s-icons > .s-head .hl .ln:first-child .cnt, .s-icons > .s-head .hl .kw[data-kw="plus"] { display: inline-block; font-family: Archivo, var(--ui); font-stretch: 125%; font-weight: 900; font-size: min(14vw, 19svh, 220px); line-height: .92; letter-spacing: -.06em; color: var(--s-tx); }
.s-icons > .s-head .hl .kw[data-kw="plus"] { margin: 0 .08em 0 -.02em; color: var(--lime); }
.s-icons { --tile: clamp(60px, 10.5svh, 84px); }
.s-icons-rows { margin: clamp(24px, 5svh, 64px) calc(50% - 50vw) 0; display: grid; gap: calc(var(--tile) / 6); overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); }
.s-icons-row { display: flex; gap: calc(var(--tile) / 6); width: max-content; will-change: transform; }
.s-tile { flex: none; width: var(--tile); height: var(--tile); border-radius: 26%; display: grid; place-items: center; background: #222; transition: transform .25s, background .25s; }
.s-tile img { width: 72%; height: 72%; object-fit: contain; }
.s-tile:hover { transform: scale(1.12); background: #2E2E2E; }

/* 抠图贴纸:左边一张照片变贴纸,右边两步 */
#sticker { --ar: 1.364; --max-w: 560px; }
.s-stick-steps { list-style: none; max-width: 470px; margin: clamp(18px, 3.4svh, 28px) 0 0; padding: 0; display: grid; gap: 10px; }
.s-stick-steps li { padding: clamp(10px, 1.6svh, 14px) 18px; border-radius: 18px; background: rgba(255, 255, 255, .04); transition: background .35s; }
.s-stick-steps li b { display: block; font-size: 16px; line-height: 1.4; color: var(--s-tx-2); transition: color .35s; }
.s-stick-steps li span { display: block; margin-top: 3px; font-size: 14px; line-height: 1.5; color: var(--s-tx-3); }
.s-stick-steps li[data-state="on"] { background: rgba(255, 255, 255, .11); }
.s-stick-steps li[data-state="on"] b, .s-stick-steps li[data-state="done"] b { color: var(--s-tx); }
.st-photo { position: absolute; overflow: hidden; border-radius: 30px; box-shadow: 0 34px 60px -24px rgba(0, 0, 0, .7); }
.st-photo > i { position: absolute; inset: 0; }
.st-bg { background: radial-gradient(90% 60% at 24% 16%, rgba(255, 244, 228, .75), transparent 62%), linear-gradient(#d8cdbf, #bba995); }
.st-photo > .st-floor { top: 66%; background: repeating-linear-gradient(90deg, rgba(0, 0, 0, .13) 0 2px, transparent 2px 76px), linear-gradient(#a57c59, #765339); }
.st-grain { opacity: .3; mix-blend-mode: overlay; 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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.st-shade { background: radial-gradient(34% 7% at 50% 81%, rgba(40, 20, 5, .55), transparent), radial-gradient(70% 50% at 50% 100%, rgba(0, 0, 0, .25), transparent); }
.st-check { opacity: 0; background: conic-gradient(#2B2B2B 25%, #353535 0 50%, #2B2B2B 0 75%, #353535 0) 0 0 / 26px 26px; }
.st-photo > .st-scan { bottom: auto; height: 60px; opacity: 0; background: linear-gradient(rgba(214, 255, 58, 0), rgba(214, 255, 58, .3) 70%, var(--lime-hot) 96%, rgba(214, 255, 58, 0)); }
.st-subject { position: absolute; left: 0; top: 0; z-index: 3; object-fit: contain; transform-origin: 50% 50%; }
.st-card { position: absolute; left: 0; top: 0; width: 175px; height: 112px; transform-origin: 0 0; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .45)); }

/* ── 提醒:三条提醒当标签,点哪条演哪条 ── */
#remind { --glow: rgba(90, 174, 255, .13); --ar: .848; --max-w: 500px; }
.s-tabs { display: grid; gap: clamp(6px, 1.1svh, 10px); margin-top: clamp(18px, 3.4svh, 34px); max-width: 470px; }
.s-tab { display: flex; align-items: center; gap: 14px; width: 100%; padding: clamp(8px, 1.4svh, 12px) 16px clamp(8px, 1.4svh, 12px) 12px; border: 0; border-radius: 20px; background: rgba(255, 255, 255, .04); text-align: left; cursor: pointer; transition: background .3s; }
.s-tab:hover { background: rgba(255, 255, 255, .08); }
.s-tab[aria-pressed="true"] { background: rgba(255, 255, 255, .11); }
.s-tab img { flex: none; width: clamp(38px, 5.6svh, 44px); height: clamp(38px, 5.6svh, 44px); border-radius: 12px; padding: 5px; object-fit: contain; }
.s-tab div { flex: 1; min-width: 0; }
.s-tab b { display: inline-block; padding: 2px 8px; border-radius: 6px; font-size: 12.5px; font-weight: 700; line-height: 1.5; }
.s-tab span { display: block; margin-top: 3px; font-size: 15px; font-weight: 600; line-height: 1.45; color: var(--s-tx-2); }
.s-tab[aria-pressed="true"] span { color: var(--s-tx); }
.s-tab-bar { flex: none; width: 4px; align-self: stretch; border-radius: 2px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.s-tab-bar > i { display: block; width: 100%; height: 100%; background: var(--c, var(--lime)); transform: scaleY(var(--p, 0)); transform-origin: 50% 0; }
.s-rm-phone { position: absolute; left: 0; top: 0; transform-origin: 215px 451px; }
.s-rm-page { position: absolute; inset: 0; background: #202020; }
.s-rm-page .sched { top: 44px; }
.s-rm-page .ag-row { transition: background .4s; border-radius: 12px; }
.s-rm-page .ag-row.lit { background: rgba(255, 255, 255, .09); }
.s-rm-ntf { position: absolute; left: 0; top: 0; width: 372px; opacity: 0; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .35)); }

/* ── 青柠纸:收尾的三块(小组件与同步、会员、下载)和页脚都在上面,墨色字 ── */
.s-lime { position: relative; z-index: 1; margin-top: clamp(40px, 8vh, 96px); background: var(--s-paper); color: var(--s-ink); border-radius: clamp(32px, 5vw, 64px) clamp(32px, 5vw, 64px) 0 0;
  box-shadow: 0 -40px 120px -40px rgba(226, 244, 101, .35); transform-origin: 50% 0; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .s-lime { animation: s-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
    @keyframes s-rise { from { transform: scale(.9) translateY(60px); border-radius: 120px 120px 0 0; } to { transform: none; } }
  }
}
.s-lime .hl { color: var(--s-ink); }
.s-lime .sub { color: rgba(31, 32, 26, .72); }
.s-lime .s-desc { color: rgba(31, 32, 26, .58); }
.s-lime :focus-visible { outline-color: var(--s-ink); }
.s-ink-btn { margin-top: clamp(16px, 3svh, 30px); height: 52px; padding: 0 26px; border: 0; border-radius: 26px; background: var(--s-ink); color: var(--lime); font: 900 17px/1 var(--rhr), var(--ui); cursor: pointer; transition: transform .35s var(--spring), background .2s; }
.s-ink-btn:hover { transform: scale(1.04); background: #33352B; }
.s-ink-btn:active { transform: scale(.97); }
.s-sync { --ar: 1.833; --max-w: 1100px; }
.s-sync > .s-stage { margin-top: clamp(20px, 4svh, 56px); }
.s-wd-dev { position: absolute; left: 0; top: 0; }
.s-wd-dev > .dv { position: absolute; left: 0; top: 0; transform-origin: 0 0; filter: drop-shadow(0 50px 50px rgba(60, 70, 0, .3)); }
.s-wd-cap { position: absolute; left: 0; top: 0; transform: translateX(-50%); padding: 7px 16px; border-radius: 999px; background: rgba(31, 32, 26, .08); font: 700 16px/1 var(--ui); color: rgba(31, 32, 26, .72); white-space: nowrap; }
.s-wd-ring { position: absolute; left: 0; top: 0; border-radius: 50%; border: 3px solid var(--s-ink); pointer-events: none; opacity: 0; }
.s-wd-done { position: absolute; left: 0; top: 0; z-index: 6; display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px 0 12px; border-radius: 20px; background: var(--s-ink); color: var(--lime); font: 700 15px var(--ui); white-space: nowrap; box-shadow: 0 12px 30px rgba(31, 32, 26, .3); opacity: 0; }
.s-wd-chip { position: absolute; left: 0; top: 0; z-index: 7; }
.s-pad-desk { position: absolute; inset: 0; }
.s-pad-grid { position: absolute; left: 60px; top: 64px; display: grid; grid-template-columns: 170px 170px; gap: 28px; }
.s-pad-grid .wg-m { grid-column: 1 / -1; }
.s-pad-apps { position: absolute; left: 520px; top: 72px; display: grid; grid-template-columns: repeat(5, 64px); gap: 40px 52px; }
.s-pad-apps .app b { width: 72px; height: 72px; border-radius: 19px; }
.s-pad-apps .app img { width: 72px; height: 72px; }
.w-and { background: linear-gradient(170deg, #1E3A2F 0%, #2F5D4A 45%, #8AA37A 100%); }

/* 会员四格:墨色的格子摆在青柠上 */
.s-prem-sec { padding-top: 24px; padding-bottom: 0; }
.s-prem { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; max-width: 1040px; margin: clamp(28px, 5svh, 48px) auto 0; padding: 0; list-style: none; text-align: left; }
.s-prem .p-vip { padding: 26px 22px 24px; border-radius: 26px; background: var(--s-ink); transition: transform .45s var(--spring), box-shadow .45s; }
.s-prem .p-vip:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: 0 30px 50px -20px rgba(31, 32, 26, .5); }
.s-prem .p-vip-ic { width: 32px; height: 32px; }
.s-prem .p-vip-ic img { width: 32px; height: 32px; }
.s-prem .p-vip-ic::before { inset: -22px; transition: transform .5s var(--ease); }
.s-prem .p-vip:hover .p-vip-ic::before { transform: scale(1.5); }
.s-prem .p-vip b { margin-top: 20px; font-size: 17px; }
.s-prem .p-vip p { margin-top: 8px; font-size: 13.5px; line-height: 1.6; -webkit-line-clamp: unset; color: #A9AA9E; }

/* ── 下载:盒子的眼睛跟着指针转 ── */
.s-dl { padding: var(--pad-y) var(--s-gut) clamp(40px, 8svh, 80px); text-align: center; }
.s-dl-box { position: relative; width: clamp(110px, min(16vw, 22svh), 210px); aspect-ratio: 1; margin: 0 auto; transform-origin: 50% 85%; }
.s-dl-box img { width: 100%; height: 100%; }
.s-eye { position: absolute; border-radius: 50%; background: #fff; overflow: hidden; }
.s-eye:nth-of-type(1) { left: 31.9%; top: 52.7%; width: 13.4%; height: 13.4%; }
.s-eye:nth-of-type(2) { left: 44.6%; top: 53%; width: 13.2%; height: 13.2%; }
.s-eye::before { content: ""; position: absolute; left: 50%; top: 50%; width: 64%; height: 64%; margin: -32% 0 0 -32%; border-radius: 50%; background: #111; transform: translate(var(--ex, 0), var(--ey, 0)); }
.s-eye::after { content: ""; position: absolute; left: 50%; top: 50%; width: 20%; height: 20%; margin: -24% 0 0 -12%; border-radius: 50%; background: #fff; transform: translate(var(--ex, 0), var(--ey, 0)); }
.s-eye > i { position: absolute; inset: -2px; background: #2B2B2B; transform: scaleY(var(--lid, 0)); transform-origin: 50% 0; z-index: 1; }
.s-dl-word { margin: 6px 0 0; font: 900 clamp(64px, min(12vw, 19svh), 176px)/1 Archivo, var(--ui); font-stretch: 112%; letter-spacing: -.045em; }
.s-dl-tag { margin: 14px 0 0; font: 900 clamp(20px, 2.2vw, 30px)/1.3 var(--rhr), var(--ui); letter-spacing: .04em; }
.s-dl-sub { margin: clamp(20px, 5svh, 44px) auto 0; max-width: 36em; font-size: 16px; font-weight: 600; color: rgba(31, 32, 26, .66); }
.s-stores { display: grid; grid-template-columns: repeat(4, minmax(0, 236px)); justify-content: center; gap: 12px; margin: 22px 0 0; padding: 0; list-style: none; }
.s-store { display: flex; align-items: center; gap: 14px; height: 72px; padding: 0 20px; border-radius: 22px; background: var(--s-ink); color: #F6F8E6; text-decoration: none; text-align: left; transition: background .2s, transform .35s var(--spring); }
.s-store:hover { background: #33352B; transform: translateY(-3px); }
.s-store .s-glyph { width: 26px; height: 26px; }
.s-store b { display: block; font-size: 16px; line-height: 1.25; }
.s-store small { display: block; font-size: 12px; line-height: 1.3; color: rgba(246, 248, 230, .62); }
.s-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; padding: 0 20px 44px; color: rgba(31, 32, 26, .62); font-size: 13px; }
.s-foot a { text-decoration: none; }
.s-foot a:hover { color: var(--s-ink); text-decoration: underline; text-underline-offset: 3px; }

/* ── 宽屏:每个功能区一屏高,演示放进按高度量尺寸的容器,宽高两头取小 ── */
@media (min-width: 901px) and (min-height: 540px) {
  .s-hero, .s-split { height: var(--screen); min-height: 0; grid-template-rows: minmax(0, 1fr); }
  .s-hero { padding-top: 12px; padding-bottom: 24px; }
  .s-split > .s-stage, .s-hero-stage { align-self: stretch; }
  .s-split > .s-stage, .s-hero-stage > .s-stage, .s-sync > .s-stage, .s-sync { min-height: 0; }
  .s-split > .s-stage, .s-hero-stage > .s-stage, .s-sync > .s-stage { container-type: size; display: grid; place-items: center; }
  .s-hero-stage > .s-stage, .s-sync > .s-stage { flex: 1; }
  .s-stage > .s-demo { width: min(100cqw, calc(100cqh * var(--ar))); }
  .s-sync, .s-icons { height: var(--screen); display: flex; flex-direction: column; }
  .s-icons { justify-content: center; }
  .s-ai-col { align-self: center; }
}
@media (min-width: 901px) and (min-height: 540px) and (max-height: 780px) {
  .s-opt { display: none; }
}

/* ── 窄屏 ─────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .s-nav { grid-template-columns: auto 1fr; }
  .s-links { display: none; }
}
@media (max-width: 900px) {
  .s-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-top: 28px; gap: 8px; }
  .s-hero::before { left: 50%; top: 70%; }
  .s-split { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .s-head.s-row { grid-template-columns: minmax(0, 1fr); }
  .s-head-side .sub { margin-top: 0; }
  .s-flip .s-copy { order: 0; }
  .s-split { gap: 32px; }
  /* AI记物:三步挪到手机底下,跟着演示看 */
  .s-ai-col { display: contents; }
  #ai .s-steps { order: 2; margin-top: 0; }
  .s-steps, .s-tabs, .s-stick-steps { max-width: none; }
  .s-prem { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .s-stores { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .s-nav { gap: 12px; }
  .s-lang summary { padding: 0 12px; }
  .s-hero .hl { font-size: clamp(42px, 12vw, 56px); }
  .s-hero { --ar: .931; }
  #remind { --ar: .708; }
  .s-sync { --ar: .675; }
  .s-seg button { padding: 9px 16px; font-size: 14px; }
  .s-icons { --tile: 64px; }
  .s-prem { gap: 10px; }
  .s-prem .p-vip { padding: 18px 16px 16px; border-radius: 22px; }
  .s-prem .p-vip b { margin-top: 14px; font-size: 15px; }
  .s-prem .p-vip p { font-size: 12.5px; }
  .s-store { height: 64px; padding: 0 14px; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv [data-rv], .rv .hl[data-rv] .ln-i { transition: none; transform: none; opacity: 1; }
}
