/* 小程序画面与手机外壳。官网首页用到；手机按 --ps 缩放（页面自己设），画面 375×812。 */
:root { --s-teal: #14B8A6; --s-num: "DIN Alternate", "DIN Condensed", Bahnschrift, "SF Pro Display", -apple-system, "Segoe UI", Arial, sans-serif;
  --s-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif; --s-ease: cubic-bezier(.2, .8, .2, 1); }
.phone {
  position: absolute; left: 0; top: 0; width: 397px; height: 834px; transform: scale(var(--ps)); transform-origin: 0 0;
  border-radius: 64px; padding: 11px; background: #18191B;
  box-shadow: 0 0 0 1.5px #3A3C40, 0 0 0 3px #0D0E0F, 0 60px 120px -40px rgba(0, 0, 0, .9), 0 0 140px -40px var(--glow2, #14B8A6);
}
.island { position: absolute; z-index: 5; top: 22px; left: 50%; width: 120px; height: 35px; margin-left: -60px; border-radius: 20px; background: #000; }
.screens { position: relative; width: 375px; height: 812px; border-radius: 53px; overflow: hidden; background: #F4F4F6; }
.scr { position: absolute; inset: 0; opacity: 0; transform: scale(1.02); transition: opacity .55s var(--s-ease), transform .7s var(--s-ease); }
.scr.on { opacity: 1; transform: none; }

/* ── 小程序界面（按小程序的 1px = 2rpx 画） ───── */
.scr { font-family: var(--s-sans); color: #0A0A0C; background: #F4F4F6; line-height: 1.4; letter-spacing: 0; }
.s-aura { position: absolute; inset: 0 0 auto; height: 340px; background: radial-gradient(80% 80% at 10% 0%, var(--sa1, #FFD2E0), transparent 70%), radial-gradient(70% 70% at 100% 10%, var(--sa2, #C8F4EE), transparent 70%); }
.s-sb { position: relative; height: 54px; padding: 18px 30px 0 34px; display: flex; justify-content: space-between; font-size: 16px; font-weight: 600; }
.s-sb .ic { display: flex; gap: 6px; align-items: center; }
.s-sig { display: flex; gap: 2px; align-items: flex-end; height: 12px; }
.s-sig i { width: 3px; background: currentColor; border-radius: 1px; }
.s-sig i:nth-child(1) { height: 4px; } .s-sig i:nth-child(2) { height: 6px; } .s-sig i:nth-child(3) { height: 9px; } .s-sig i:nth-child(4) { height: 12px; }
.s-bat { width: 25px; height: 12px; border-radius: 4px; border: 1.5px solid currentColor; padding: 1.5px; opacity: .9; }
.s-bat i { display: block; width: 76%; height: 100%; border-radius: 1.5px; background: currentColor; }
.s-in { position: relative; padding: 0 20px; }
.s-top { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.s-ava { width: 36px; height: 36px; border-radius: 50%; background: #0A0A0C; display: grid; place-items: center; }
.s-ava img { width: 15px; }
.s-ico { width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .8); display: grid; place-items: center; }
.s-ico i { width: 13px; height: 13px; border: 2px solid #0A0A0C; border-radius: 50%; position: relative; }
.s-ico i::after { content: ""; position: absolute; right: -5px; bottom: -4px; width: 6px; height: 2px; background: #0A0A0C; transform: rotate(45deg); border-radius: 2px; }
.s-title { margin-top: 14px; font-size: 32px; font-weight: 700; letter-spacing: -.02em; display: flex; align-items: center; gap: 8px; }
.s-title .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--s-teal); }
.s-title small { font-size: 16px; color: rgba(10, 10, 12, .45); font-weight: 600; }
.s-sub { font-size: 13px; color: rgba(10, 10, 12, .5); margin-top: 2px; }
.s-mc { position: relative; overflow: hidden; margin-top: 18px; height: 192px; border-radius: 24px; padding: 18px 20px; color: #fff;
  background: radial-gradient(120% 90% at 0% 0%, #FF7FA6, transparent 60%), radial-gradient(100% 100% at 100% 100%, #C81F5E, transparent 60%), #E83A70;
  box-shadow: 0 18px 30px -18px rgba(232, 58, 112, .8); }
.s-mc .wm { position: absolute; right: -8px; bottom: -30px; font-family: var(--s-num); font-size: 150px; line-height: 1; font-weight: 700; color: rgba(255, 255, 255, .16); letter-spacing: -.05em; }
.s-mc .top { position: relative; display: flex; gap: 8px; align-items: center; font-size: 12px; font-weight: 600; }
.s-mc .tag { padding: 2px 8px; border-radius: 7px; background: rgba(255, 255, 255, .24); }
.s-mc h4 { position: relative; margin: 10px 0 0; font-size: 21px; font-weight: 700; }
.s-mc .big { position: absolute; left: 20px; bottom: 16px; display: flex; align-items: baseline; gap: 4px; }
.s-mc .big b { font-family: var(--s-num); font-size: 72px; line-height: .9; font-weight: 700; letter-spacing: -.04em; }
.s-mc .big i { font-style: normal; font-size: 16px; font-weight: 700; }
.s-mc .age { position: absolute; right: 18px; bottom: 18px; font-size: 13px; font-weight: 700; padding: 2px 9px; border-radius: 8px; background: rgba(255, 255, 255, .22); }
.s-peek { position: absolute; right: -14px; top: 0; width: 18px; height: 192px; border-radius: 18px 0 0 18px; background: linear-gradient(#5BE8D6, #0B8F86); }
.s-pager { display: flex; gap: 4px; justify-content: center; margin-top: 12px; }
.s-pager i { width: 5px; height: 5px; border-radius: 3px; background: rgba(10, 10, 12, .18); }
.s-pager i.on { width: 16px; background: #0A0A0C; }
.s-h { display: flex; justify-content: space-between; align-items: baseline; margin: 22px 2px 10px; }
.s-h b { font-size: 19px; font-weight: 700; }
.s-h b small { font-size: 13px; color: rgba(10, 10, 12, .4); margin-left: 4px; font-weight: 600; }
.s-h span { font-size: 13px; color: #0B8F86; font-weight: 600; }
.s-h.red b { font-size: 13px; color: #E5484D; }
.s-h.gray b { font-size: 13px; color: rgba(10, 10, 12, .5); }
.s-list { background: #fff; border-radius: 18px; padding: 0 16px; }
.s-row { display: flex; align-items: center; gap: 12px; min-height: 54px; border-top: 1px solid rgba(10, 10, 12, .06); }
.s-row:first-child { border-top: 0; }
.s-c { flex: none; width: 21px; height: 21px; border-radius: 50%; border: 1.8px solid rgba(10, 10, 12, .22); position: relative; }
.s-c.flag { border-color: #FF8A00; }
.s-c.ok { background: var(--s-teal); border-color: var(--s-teal); }
.s-c.ok::after { content: ""; position: absolute; left: 6px; top: 2.5px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.s-t { flex: 1; min-width: 0; display: grid; font-size: 15px; font-weight: 500; }
.s-t small { font-size: 12px; color: rgba(10, 10, 12, .45); font-weight: 400; }
.s-t small.red { color: #E5484D; }
.s-t .star { color: #FF8A00; font-size: 11px; margin-left: 4px; }
.s-row.done .s-t { color: rgba(10, 10, 12, .35); text-decoration: line-through; }
.s-d { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.s-r { text-align: right; font-size: 15px; font-weight: 700; font-family: var(--s-num); }
.s-r small { display: block; font-family: var(--s-sans); font-size: 11px; color: rgba(10, 10, 12, .4); font-weight: 400; }
.s-tab { position: absolute; left: 14px; right: 14px; bottom: 26px; display: flex; gap: 10px; align-items: center; }
.s-tab .pill { flex: 1; height: 58px; border-radius: 29px; background: rgba(255, 255, 255, .92); box-shadow: 0 10px 30px -12px rgba(10, 10, 12, .3); display: flex; align-items: center; justify-content: space-between; padding: 0 7px; font-size: 13px; color: rgba(10, 10, 12, .6); font-weight: 500; }
.s-tab .pill span { padding: 8px 10px; border-radius: 20px; white-space: nowrap; }
.s-tab .pill span.on { background: #0A0A0C; color: #fff; font-weight: 600; }
.s-tab .plus { width: 58px; height: 58px; border-radius: 50%; background: linear-gradient(135deg, #5BE8D6, #14B8A6 55%, #0B8F86); box-shadow: 0 12px 24px -10px rgba(20, 184, 166, .9); position: relative; flex: none; }
.s-tab .plus::before, .s-tab .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 2.5px; margin: -1.25px 0 0 -10px; background: #fff; border-radius: 2px; }
.s-tab .plus::after { transform: rotate(90deg); }

/* 待办 */
.s-ring { width: 46px; height: 46px; position: relative; }
.s-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.s-ring circle { fill: none; stroke: rgba(10, 10, 12, .08); stroke-width: 3; }
.s-ring .run { stroke: var(--s-teal); stroke-linecap: round; stroke-dasharray: 94.2; stroke-dashoffset: 70.7; }
.s-ring span { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--s-num); font-size: 13px; font-weight: 700; }
.s-seg { display: flex; margin-top: 16px; padding: 3px; border-radius: 14px; background: rgba(10, 10, 12, .06); }
.s-seg span { flex: 1; text-align: center; padding: 7px 0; font-size: 13px; color: rgba(10, 10, 12, .55); font-weight: 500; border-radius: 11px; }
.s-seg span.on { background: #fff; color: #0A0A0C; font-weight: 700; box-shadow: 0 2px 8px -3px rgba(10, 10, 12, .2); }
.s-add { margin-top: 12px; height: 50px; border-radius: 16px; background: #fff; display: flex; align-items: center; gap: 10px; padding: 0 16px; font-size: 15px; color: rgba(10, 10, 12, .45); }
.s-add b { font-size: 20px; font-weight: 300; }

/* 日历 */
.s-cal { margin-top: 14px; background: #fff; border-radius: 22px; padding: 10px 8px 6px; }
.s-wk, .s-grid { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; }
.s-wk span { font-size: 11px; color: rgba(10, 10, 12, .4); padding: 4px 0 6px; }
.s-cell { height: 50px; display: grid; justify-items: center; align-content: start; padding-top: 5px; border-radius: 13px; position: relative; }
.s-cell b { font-family: var(--s-num); font-size: 17px; font-weight: 600; line-height: 1.15; }
.s-cell small { font-size: 9px; color: rgba(10, 10, 12, .4); line-height: 1.2; }
.s-cell small.fest { color: #E5484D; }
.s-cell.out b, .s-cell.out small { opacity: .3; }
.s-cell.today { background: #0A0A0C; color: #fff; }
.s-cell.today small { color: rgba(255, 255, 255, .7); }
.s-cell .ev { position: absolute; bottom: 4px; display: flex; gap: 2px; }
.s-cell .ev i { width: 4px; height: 4px; border-radius: 50%; }
.s-segm { display: flex; padding: 3px; border-radius: 12px; background: rgba(255, 255, 255, .7); }
.s-segm span { padding: 5px 13px; font-size: 13px; border-radius: 9px; color: rgba(10, 10, 12, .5); font-weight: 600; }
.s-segm span.on { background: #fff; color: #0A0A0C; box-shadow: 0 2px 6px -2px rgba(10, 10, 12, .2); }
.s-dayh { margin: 16px 4px 8px; font-size: 15px; font-weight: 700; }
.s-dayh small { margin-left: 6px; font-size: 12px; color: rgba(10, 10, 12, .4); font-weight: 500; }

/* 订阅 */
.s-wallet { position: relative; overflow: hidden; margin-top: 16px; border-radius: 24px; padding: 16px 18px 18px; color: #F5F5F7;
  background: radial-gradient(80% 90% at 100% 0%, rgba(20, 184, 166, .55), transparent 60%), linear-gradient(160deg, #1D2627, #0B0F10); box-shadow: 0 20px 36px -20px rgba(0, 0, 0, .6); }
.s-wallet .wt { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: rgba(245, 245, 247, .55); }
.s-wallet .sg { display: flex; padding: 3px; border-radius: 10px; background: rgba(255, 255, 255, .1); }
.s-wallet .sg span { padding: 3px 11px; border-radius: 8px; font-size: 12px; font-weight: 600; color: rgba(245, 245, 247, .6); }
.s-wallet .sg span.on { background: #F5F5F7; color: #0A0A0C; }
.s-wallet .tot { margin-top: 14px; display: flex; align-items: baseline; }
.s-wallet .tot i { font-style: normal; font-size: 22px; font-weight: 700; margin-right: 4px; }
.s-wallet .tot b { font-family: var(--s-num); font-size: 58px; line-height: 1; font-weight: 700; letter-spacing: -.04em; }
.s-wallet .tot small { font-family: var(--s-num); font-size: 22px; font-weight: 700; color: rgba(245, 245, 247, .5); }
.s-wallet .bar { display: flex; gap: 3px; height: 5px; margin-top: 14px; }
.s-wallet .bar i { border-radius: 3px; }
.s-wallet .fx { display: inline-block; margin-top: 12px; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .1); font-size: 12px; color: rgba(245, 245, 247, .7); }

/* 锁屏 */
.scr-lock { color: #fff; background: radial-gradient(90% 60% at 20% 0%, #2CC7B5, transparent 60%), radial-gradient(80% 70% at 100% 100%, #6C4CF0, transparent 60%), linear-gradient(170deg, #12383A, #0B0F10 70%); }
.scr-lock .s-sb { color: #fff; }
.l-date { margin-top: 44px; text-align: center; font-size: 18px; font-weight: 600; color: rgba(255, 255, 255, .85); }
.l-clock { text-align: center; font-family: var(--s-num); font-size: 96px; line-height: 1; font-weight: 600; letter-spacing: -.03em; margin-top: 2px; }
.l-notes { padding: 0 12px; margin-top: 40px; display: grid; gap: 10px; }
.l-note { border-radius: 24px; padding: 14px 16px; background: rgba(250, 250, 252, .92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); color: #0A0A0C; }
.l-note header { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(10, 10, 12, .55); }
.l-note header img { width: 20px; height: 20px; border-radius: 6px; }
.l-note header time { margin-left: auto; }
.l-note h5 { margin: 6px 0 4px; font-size: 16px; font-weight: 700; }
.l-note p { display: grid; grid-template-columns: 3em 1fr; font-size: 14px; line-height: 1.5; }
.l-note p span { color: rgba(10, 10, 12, .45); }
.l-dock { position: absolute; left: 44px; right: 44px; bottom: 46px; display: flex; justify-content: space-between; }
.l-dock i { width: 50px; height: 50px; border-radius: 50%; background: rgba(255, 255, 255, .16); backdrop-filter: blur(10px); }
.l-home { position: absolute; left: 50%; bottom: 10px; width: 136px; height: 5px; margin-left: -68px; border-radius: 3px; background: #fff; }

