/* Retrust 富信 · 设计系统
 * 暖白底 / 深海军蓝文字 / 晨光橙金点缀 / 首页日出情绪层
 */
:root {
  --bg: #F7F5F1;
  --card: #FFFFFF;
  --ink: #14213D;
  --ink2: #4A5672;
  --ink3: #9AA3B5;
  --line: #EEEAE3;
  --sun: #FF8A3D;
  --sun2: #FFB547;
  --sun-grad: linear-gradient(135deg, #FFB547 0%, #FF8A3D 55%, #FF6B4A 100%);
  --navy: #14213D;
  --navy2: #1F3A6B;
  --ok: #12A378;
  --ok-bg: #E7F7F0;
  --warn: #E58A00;
  --red: #E5484D;
  --bank: #B4232F;
  --r: 20px;
  --sb: env(safe-area-inset-bottom, 0px);
  --st: env(safe-area-inset-top, 0px);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; overscroll-behavior: none; }
body { font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'HarmonyOS Sans SC', 'Noto Sans CJK SC', 'Microsoft YaHei', sans-serif; color: var(--ink); background: #E9E5DE; -webkit-font-smoothing: antialiased; font-size: 14px; line-height: 1.45; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }
.num, .amt { font-family: 'DIN Alternate', 'Bahnschrift', 'SF Pro Display', -apple-system, 'Roboto', sans-serif; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
svg.lucide { width: 1em; height: 1em; stroke-width: 2; vertical-align: -0.125em; flex: none; }
body.privacy [data-amt] { filter: blur(0); color: transparent !important; text-shadow: none; position: relative; }
body.privacy [data-amt]::after { content: '****'; position: absolute; left: 0; color: var(--ink3); letter-spacing: .1em; }
body.privacy .dark [data-amt]::after, body.privacy .sunhero [data-amt]::after { color: rgba(255, 255, 255, .7); }

#phone { position: relative; max-width: 430px; height: 100dvh; margin: 0 auto; background: var(--bg); overflow: hidden; box-shadow: 0 0 80px rgba(20, 33, 61, .12); }
#app { position: absolute; inset: 0; }
.page { position: absolute; inset: 0; background: var(--bg); display: flex; flex-direction: column; transition: transform .32s cubic-bezier(.2, .8, .2, 1), opacity .32s; will-change: transform; }
.page.dark { background: #0B1430; color: #fff; }
.page.enter { transform: translateX(100%); }
.page.under { transform: translateX(-24%); }
.page.leave { transform: translateX(100%); z-index: 5; }
.page.hidden { visibility: hidden; }
.page.fadein { animation: fadein .25s ease; }
@keyframes fadein { from { opacity: 0; } }
.scroll { flex: 1; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.scroll::-webkit-scrollbar { display: none; }
.tabpage .scroll { padding-bottom: calc(90px + var(--sb)); }
.pb { padding-bottom: calc(24px + var(--sb)); }

/* 导航栏 */
.nav { height: calc(52px + var(--st)); padding-top: var(--st); display: grid; grid-template-columns: 52px 1fr auto; align-items: center; flex: none; position: relative; z-index: 3; background: rgba(247, 245, 241, .92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.nav.tr { background: transparent; backdrop-filter: none; position: absolute; left: 0; right: 0; top: 0; }
.dark .nav { background: rgba(11, 20, 48, .85); }
.nav.tr .nt { visibility: hidden; }
.dark .nav.tr .nt { visibility: visible; color: #fff; }
.nb { width: 44px; height: 44px; display: grid; place-items: center; margin-left: 4px; border-radius: 14px; }
.nb svg.lucide { width: 24px; height: 24px; }
.nav.tr .nb { background: rgba(255, 255, 255, .85); width: 36px; height: 36px; margin-left: 10px; box-shadow: 0 2px 10px rgba(0, 0, 0, .08); }
.nav.tr .nb svg.lucide { width: 20px; height: 20px; }
.nav .nb.ph { background: none !important; box-shadow: none !important; }
.dark .nav.tr .nb { background: rgba(0, 0, 0, .35); color: #fff; box-shadow: none; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.dark .nav.tr { background: linear-gradient(180deg, rgba(0,0,0,.45), transparent); }
.player .claim:disabled { opacity: 1; background: rgba(255, 255, 255, .16); color: rgba(255, 255, 255, .85); box-shadow: none; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nt { text-align: center; min-width: 0; }
.nt b { font-size: 17px; font-weight: 700; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nt small { font-size: 11px; color: var(--ink3); }
.nr { display: flex; align-items: center; padding-right: 8px; min-width: 52px; justify-content: flex-end; gap: 2px; }
.nr .nb { margin: 0; }
.nr .nb svg.lucide { width: 22px; height: 22px; }

/* 底部 tab */
#tabbar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 30; height: calc(64px + var(--sb)); padding-bottom: var(--sb); background: rgba(255, 255, 255, .92); backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6); border-top: 1px solid rgba(20, 33, 61, .06); display: grid; grid-template-columns: repeat(5, 1fr); transition: transform .3s; }
#tabbar.hide { transform: translateY(110%); }
.tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 10.5px; color: var(--ink3); font-weight: 600; position: relative; }
.tab svg.lucide { width: 23px; height: 23px; stroke-width: 1.9; }
.tab.on { color: var(--ink); }
.tab.on svg.lucide { stroke: var(--sun); }
.tab .bdg { position: absolute; top: 6px; left: 54%; min-width: 16px; height: 16px; border-radius: 8px; background: var(--red); color: #fff; font-size: 10px; display: grid; place-items: center; padding: 0 4px; }

/* 通用元素 */
.card { background: var(--card); border-radius: var(--r); }
.mx { margin-left: 16px; margin-right: 16px; }
.sec { display: flex; align-items: baseline; justify-content: space-between; margin: 24px 16px 12px; }
.sec h3 { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.sec .more { font-size: 13px; color: var(--ink3); display: flex; align-items: center; gap: 1px; }
.btn { height: 50px; border-radius: 25px; font-weight: 700; font-size: 16px; display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; transition: transform .12s, opacity .2s; }
.btn:active { transform: scale(.97); }
.btn[disabled] { opacity: .4; pointer-events: none; }
.btn-sun { background: var(--sun-grad); color: #fff; box-shadow: 0 8px 22px rgba(255, 122, 61, .32); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-line { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn-soft { background: #FFF1E6; color: #D9620F; }
.btn-sm { height: 34px; border-radius: 17px; font-size: 13px; padding: 0 14px; width: auto; }
.press { transition: transform .12s; }
.press:active { transform: scale(.97); }
.muted { color: var(--ink3); }
.chip { display: inline-flex; align-items: center; gap: 3px; padding: 3px 8px; border-radius: 6px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.chip-sun { background: #FFF1E6; color: #D9620F; }
.chip-ok { background: var(--ok-bg); color: var(--ok); }
.chip-gray { background: #F1EEE8; color: var(--ink2); }
.chip-navy { background: #E8EDF7; color: var(--navy2); }
.chip-red { background: #FDECEC; color: var(--red); }
.dk { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; font-weight: 700; color: #C2570C; background: linear-gradient(90deg, #FFF3E8, #FFF8F0); padding: 3px 7px; border-radius: 6px; white-space: nowrap; }
.dk svg.lucide { width: 12px; height: 12px; }
.bankdot { width: 22px; height: 22px; border-radius: 7px; background: var(--bank); color: #fff; display: inline-grid; place-items: center; font-size: 11px; font-weight: 900; flex: none; }
.logo { width: 30px; height: 30px; border-radius: 10px; background: var(--navy); color: #FFB547; display: grid; place-items: center; font-family: Georgia, 'Times New Roman', serif; font-style: italic; font-weight: 900; font-size: 18px; flex: none; }
.empty { text-align: center; padding: 50px 20px; color: var(--ink3); }
.empty svg.lucide { width: 44px; height: 44px; stroke-width: 1.4; }
.empty p { margin: 10px 0 0; font-size: 13px; }
hr.sp { border: 0; height: 10px; margin: 0; }
.row { display: flex; align-items: center; gap: 10px; }
.grow { flex: 1; min-width: 0; }
.ell { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 列表 */
.list { overflow: hidden; }
.li { display: flex; align-items: center; gap: 12px; padding: 15px 16px; width: 100%; text-align: left; min-height: 56px; }
.li + .li { border-top: 1px solid var(--line); }
.li .lic { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: #F4F1EB; color: var(--ink); flex: none; }
.li .lic svg.lucide { width: 18px; height: 18px; }
.li > b { flex: 1; font-size: 15px; font-weight: 600; }
.li > span { font-size: 13px; color: var(--ink3); }
.li > .arr { color: #C9CDD6; width: 18px; height: 18px; }

/* 表单 */
.field { background: #fff; border-radius: 16px; display: flex; align-items: center; padding: 0 16px; height: 56px; gap: 10px; }
.field input { flex: 1; border: 0; outline: 0; background: none; font-size: 17px; min-width: 0; }
.field .pre { font-weight: 700; color: var(--ink2); }
.check { display: flex; gap: 8px; font-size: 12px; color: var(--ink3); line-height: 1.6; align-items: flex-start; }
.check i { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid #C9CDD6; flex: none; margin-top: 2px; display: grid; place-items: center; font-style: normal; }
.check.on i { background: var(--sun); border-color: var(--sun); color: #fff; font-size: 10px; }
.check a { color: var(--navy2); }

/* Sheet / Modal / Overlay */
#overlay { position: absolute; inset: 0; z-index: 60; pointer-events: none; }
#overlay > * { pointer-events: auto; }
.mask { position: absolute; inset: 0; background: rgba(10, 16, 36, .45); opacity: 0; transition: opacity .28s; }
.mask.on { opacity: 1; }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; background: #fff; border-radius: 24px 24px 0 0; padding: 8px 18px calc(18px + var(--sb)); transform: translateY(100%); transition: transform .32s cubic-bezier(.2, .9, .3, 1); max-height: 88%; overflow-y: auto; scrollbar-width: none; }
.sheet.on { transform: none; }
.sheet .grab { width: 36px; height: 5px; border-radius: 5px; background: #E2DED6; margin: 0 auto 14px; }
.sheet h4 { margin: 0 0 4px; font-size: 18px; font-weight: 800; }
.sheet .sub { font-size: 13px; color: var(--ink3); margin-bottom: 14px; }
.modal { position: absolute; inset: 0; display: grid; place-items: center; }
.modal .mask { opacity: 1; }
.modal .mcard { position: relative; width: 84%; background: #fff; border-radius: 26px; padding: 26px 22px 20px; text-align: center; transform: scale(.85); opacity: 0; transition: .35s cubic-bezier(.2, 1.3, .4, 1); }
.modal.on .mcard { transform: none; opacity: 1; }
#toast { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%) scale(.9); z-index: 120; background: rgba(20, 33, 61, .9); color: #fff; padding: 12px 18px; border-radius: 14px; font-size: 14px; font-weight: 600; opacity: 0; transition: .25s; pointer-events: none; display: flex; gap: 8px; align-items: center; max-width: 80%; }
#toast.on { opacity: 1; transform: translate(-50%, -50%); }
#push { visibility: hidden; position: absolute; left: 8px; right: 8px; top: calc(8px + var(--st)); z-index: 130; background: rgba(250, 250, 252, .94); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border-radius: 22px; padding: 12px 14px; display: flex; gap: 10px; box-shadow: 0 16px 40px rgba(0, 0, 0, .2); transform: translateY(-150%); transition: .45s cubic-bezier(.2, 1.1, .3, 1); cursor: pointer; }
#push.on { transform: none; visibility: visible; }
#push .pic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: #FFB547; background: var(--navy); flex: none; font-family: Georgia, serif; font-style: italic; font-weight: 900; font-size: 20px; }
#push .pt { flex: 1; min-width: 0; }
#push .ph { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink3); }
#push .ph b { font-weight: 600; }
#push strong { font-size: 14px; display: block; margin-top: 1px; }
#push span { font-size: 13px; color: var(--ink2); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.loading { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0, 0, 0, .12); opacity: 0; transition: .2s; z-index: 140; }
.loading.on { opacity: 1; }
.loading .lbox { background: rgba(20, 33, 61, .9); color: #fff; padding: 22px 26px; border-radius: 18px; display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 13px; min-width: 120px; }
.spinner { width: 30px; height: 30px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .25); border-top-color: #FFB547; animation: rot .8s linear infinite; }
@keyframes rot { to { transform: rotate(360deg); } }
.spin { animation: rot 1s linear infinite; }
.flyer { position: absolute; z-index: 150; font-weight: 800; font-size: 20px; pointer-events: none; animation: fly 1.4s ease-out forwards; }
@keyframes fly { 0% { opacity: 0; transform: translate(-50%, 10px) scale(.8); } 20% { opacity: 1; transform: translate(-50%, 0) scale(1.1); } 100% { opacity: 0; transform: translate(-50%, -80px); } }
.fade-up { animation: fu .5s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes fu { from { opacity: 0; transform: translateY(14px); } }
.shake { animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }

/* ───────── 启动 / 引导 / 登录 ───────── */
.splash { position: absolute; inset: 0; z-index: 200; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; background: radial-gradient(120% 70% at 50% 110%, #FF9A4D 0%, #E8655A 22%, #6B3E7A 48%, #1C2552 72%, #0B1430 100%); transition: opacity .6s; overflow: hidden; }
.splash .sun { position: absolute; bottom: -120px; left: 50%; width: 300px; height: 300px; margin-left: -150px; border-radius: 50%; background: radial-gradient(circle, #FFE3A3 0%, #FFB547 40%, rgba(255, 138, 61, 0) 70%); animation: rise 2.4s cubic-bezier(.2, .8, .2, 1) forwards; }
@keyframes rise { from { transform: translateY(120px); opacity: .3; } to { transform: translateY(-40px); opacity: 1; } }
.splash .lg { width: 86px; height: 86px; border-radius: 26px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(10px); display: grid; place-items: center; font-family: Georgia, serif; font-style: italic; font-weight: 900; font-size: 50px; color: #FFD27A; animation: pop .8s cubic-bezier(.2, 1.3, .4, 1); position: relative; z-index: 2; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.splash h1 { margin: 22px 0 4px; font-size: 32px; letter-spacing: .08em; font-family: Georgia, serif; font-weight: 700; position: relative; z-index: 2; animation: fu .8s .3s both; }
.splash .cn { font-size: 15px; letter-spacing: .6em; opacity: .85; margin-left: .6em; position: relative; z-index: 2; animation: fu .8s .45s both; }
.splash .sl { position: absolute; bottom: calc(70px + var(--sb)); font-size: 14px; letter-spacing: .3em; opacity: .85; z-index: 2; animation: fu .8s .7s both; }

.guide { background: #0B1430; color: #fff; }
.guide .slides { flex: 1; display: flex; transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.guide .sl { flex: none; width: 100%; height: 100%; position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 28px calc(150px + var(--sb)); }
.guide .sl { overflow: hidden; }
.guide .sl img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transform: scale(1.08); transition: transform 7s ease-out; }
.guide .sl.on img { transform: scale(1); }
.guide .sl > div > * { opacity: 0; transform: translateY(14px); transition: opacity .6s, transform .6s cubic-bezier(.2,.8,.2,1); }
.guide .sl.on > div > * { opacity: 1; transform: none; }
.guide .sl.on > div > h2 { transition-delay: .12s; } .guide .sl.on > div > p { transition-delay: .24s; }
.guide .sl::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 20, 48, .35) 0%, rgba(11, 20, 48, 0) 14%, rgba(11, 20, 48, 0) 45%, rgba(11, 20, 48, .85) 68%, #0B1430 86%); }
.guide .sl > div { position: relative; z-index: 2; }
.guide .sl small { color: #FFB547; font-weight: 700; letter-spacing: .2em; font-size: 12px; }
.guide .sl h2 { font-size: 30px; line-height: 1.3; margin: 10px 0 10px; font-weight: 800; }
.guide .sl p { margin: 0; font-size: 15px; line-height: 1.7; opacity: .82; }
.guide .gfoot { position: absolute; left: 28px; right: 28px; bottom: calc(34px + var(--sb)); z-index: 3; }
.dots { display: flex; gap: 6px; margin-bottom: 22px; }
.dots i { width: 6px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .3); transition: .3s; }
.dots i.on { width: 22px; background: #FFB547; }
.skip { position: absolute; right: 18px; top: calc(14px + var(--st)); z-index: 5; font-size: 13px; padding: 6px 12px; border-radius: 99px; background: rgba(255, 255, 255, .14); color: #fff; }

.auth { padding: calc(20px + var(--st)) 24px 0; }
.auth h1 { font-size: 28px; margin: 26px 0 8px; font-weight: 800; letter-spacing: -.01em; }
.auth .desc { color: var(--ink2); font-size: 14px; margin-bottom: 28px; line-height: 1.6; }
.codebox { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin: 10px 0 14px; }
.codebox div { height: 56px; border-radius: 14px; background: #fff; display: grid; place-items: center; font-size: 24px; font-weight: 700; box-shadow: inset 0 0 0 1.5px transparent; transition: .2s; }
.codebox div.on { box-shadow: inset 0 0 0 1.5px var(--sun); }
.smsbar { position: absolute; left: 10px; right: 10px; bottom: calc(10px + var(--sb)); background: #E9E6E0; border-radius: 16px; padding: 10px 14px; display: flex; align-items: center; gap: 10px; transform: translateY(150%); transition: .4s cubic-bezier(.2, 1.2, .3, 1); z-index: 5; }
.smsbar.on { transform: none; }
.smsbar b { font-size: 22px; letter-spacing: .15em; }
.smsbar span { font-size: 11px; color: var(--ink2); display: block; }

/* 实名 / 刷脸 */
.idcard { aspect-ratio: 1.58; border-radius: 18px; background: linear-gradient(135deg, #EEF3FB, #DCE5F3); position: relative; overflow: hidden; display: grid; place-items: center; color: var(--navy2); border: 1.5px dashed #9FB3D6; }
.idcard.shot { border-style: solid; border-color: transparent; background: linear-gradient(135deg, #F4E9D8, #E8D8BF); }
.idcard .scan { position: absolute; left: 0; right: 0; height: 40%; background: linear-gradient(180deg, transparent, rgba(255, 138, 61, .35), transparent); animation: scan 1.4s linear infinite; }
@keyframes scan { from { top: -40%; } to { top: 100%; } }
.idcard .face { position: absolute; right: 8%; top: 18%; width: 26%; height: 62%; border-radius: 10px; background: linear-gradient(160deg, #cdbba3, #a9937a); }
.idcard .lines { position: absolute; left: 8%; top: 20%; width: 52%; display: flex; flex-direction: column; gap: 10px; }
.idcard .lines i { height: 9px; border-radius: 4px; background: rgba(90, 70, 40, .25); }
.ocr { margin-top: 16px; }
.ocr .kv { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.ocr .kv span { color: var(--ink3); }
.facebox { width: 240px; height: 240px; border-radius: 50%; margin: 30px auto 20px; position: relative; overflow: hidden; background: radial-gradient(circle at 50% 40%, #3A4466, #1A2140); }
.facebox svg { position: absolute; inset: 0; z-index: 3; }
.facebox .fcam { position: absolute; inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); border-radius: 50%; object-fit: cover; object-position: 50% 18%; transform: scale(1.35); transition: transform .5s, filter .3s; filter: saturate(.9) brightness(.95); }
.facebox.blink .fcam { filter: brightness(.8); }
.facebox.turn .fcam { transform: scale(1.35) translateX(-10px) rotate(-3deg); }
.facebox .fscan { position: absolute; left: 12px; right: 12px; height: 60px; top: 12px; z-index: 2; border-radius: 50%; background: linear-gradient(180deg, transparent, rgba(255, 181, 71, .35) 80%, rgba(255, 181, 71, .9) 100%); animation: fscan 2s ease-in-out infinite; opacity: 0; }
.facebox.on .fscan { opacity: 1; }
.facebox .fmesh { position: absolute; inset: 12px; z-index: 2; border-radius: 50%; background-image: radial-gradient(rgba(255,255,255,.35) 1px, transparent 1.4px); background-size: 14px 14px; opacity: 0; transition: opacity .4s; mask: radial-gradient(ellipse 34% 44% at 50% 46%, #000 60%, transparent 100%); -webkit-mask: radial-gradient(ellipse 34% 44% at 50% 46%, #000 60%, transparent 100%); }
.facebox.on .fmesh { opacity: 1; }
@keyframes fscan { 0% { transform: translateY(0); } 50% { transform: translateY(150px); } 100% { transform: translateY(0); } }
.facebox .ring { position: absolute; inset: 6px; border-radius: 50%; border: 4px solid rgba(255, 255, 255, .15); }
.facehint { text-align: center; font-size: 20px; font-weight: 800; color: #fff; min-height: 30px; }
.facesub { text-align: center; color: rgba(255, 255, 255, .6); font-size: 13px; margin-top: 6px; }

/* 账单查询 */
.qrow { display: flex; align-items: center; gap: 12px; padding: 16px; background: #fff; border-radius: 18px; margin-bottom: 10px; transition: .3s; }
.qrow .bk { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 16px; flex: none; }
.qrow .st { margin-left: auto; text-align: right; }
.qrow.wait { opacity: .45; }
.qrow .sel { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #D5D1C9; display: grid; place-items: center; flex: none; }
.qrow .sel.on { border-color: var(--sun); background: var(--sun); color: #fff; }

/* ───────── 首页 ───────── */
.sunhero { position: relative; color: #fff; padding: calc(10px + var(--st)) 18px 86px; overflow: hidden; transition: background 1.6s; }
.sunhero .sky { position: absolute; inset: 0; transition: opacity 1.6s; }
.sunhero .sunball { position: absolute; left: 50%; width: 260px; height: 260px; margin-left: -130px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 232, 170, .95) 0%, rgba(255, 181, 71, .7) 30%, rgba(255, 138, 61, 0) 68%); transition: bottom 1.6s cubic-bezier(.2, .8, .2, 1), opacity 1.6s; pointer-events: none; }
.sunhero .sea { position: absolute; left: 0; right: 0; bottom: 0; height: 64px; background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(247, 245, 241, .15)); }
.sunhero .stars { position: absolute; inset: 0; background-image: radial-gradient(1px 1px at 20% 30%, #fff, transparent), radial-gradient(1px 1px at 70% 20%, #fff, transparent), radial-gradient(1.5px 1.5px at 40% 12%, #fff, transparent), radial-gradient(1px 1px at 85% 45%, #fff, transparent), radial-gradient(1px 1px at 10% 60%, #fff, transparent), radial-gradient(1px 1px at 60% 50%, #fff, transparent); transition: opacity 1.6s; }
.hbar { position: relative; z-index: 2; display: flex; align-items: center; height: 44px; gap: 8px; }
.hbar .brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 16px; }
.hbar .brand .logo { background: rgba(255, 255, 255, .14); color: #FFD27A; backdrop-filter: blur(6px); }
.hbar .ib { width: 38px; height: 38px; border-radius: 13px; display: grid; place-items: center; background: rgba(255, 255, 255, .14); position: relative; backdrop-filter: blur(6px); }
.hbar .ib svg.lucide { width: 20px; height: 20px; }
.hbar .ib .dot { position: absolute; top: 8px; right: 9px; width: 8px; height: 8px; border-radius: 9px; background: #FF5B5B; box-shadow: 0 0 0 2px rgba(30, 30, 60, .6); }
.hgreet { position: relative; z-index: 2; margin-top: 10px; font-size: 13px; opacity: .8; }
.hmain { position: relative; z-index: 2; margin-top: 16px; display: flex; align-items: center; gap: 18px; }
.ring { position: relative; width: 132px; height: 132px; flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring .rc { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ring .rp { font-size: 32px; font-weight: 800; line-height: 1; }
.ring .rp small { font-size: 15px; margin-left: 1px; }
.ring .rl { font-size: 11px; opacity: .75; margin-top: 6px; letter-spacing: .05em; }
.hinfo .k { font-size: 12px; opacity: .75; display: flex; align-items: center; gap: 6px; }
.hinfo .eye { opacity: .9; display: inline-grid; place-items: center; }
.hinfo .v { font-size: 30px; font-weight: 800; line-height: 1.15; margin: 4px 0 12px; white-space: nowrap; }
.hinfo .v small { font-size: 16px; margin-right: 2px; font-weight: 700; }
.hinfo .sub { display: flex; gap: 16px; font-size: 12px; }
.hinfo .sub span { display: block; opacity: .7; }
.hinfo .sub b { font-size: 15px; }
.etacard { position: relative; z-index: 4; margin: -66px 16px 0; padding: 14px 16px; border-radius: 20px; background: #fff; box-shadow: 0 10px 30px rgba(20, 33, 61, .08); display: flex; align-items: center; gap: 12px; }
.etacard .ic { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: #FFF3E6; color: #E56A16; flex: none; }
.etacard .ic svg.lucide { width: 22px; height: 22px; }
.etacard .t1 { font-size: 12px; color: var(--ink3); }
.etacard .t2 { font-size: 16px; font-weight: 800; margin-top: 1px; white-space: nowrap; }
.etacard .t2 em { font-style: normal; color: #E56A16; }
.etacard .go { margin-left: auto; font-size: 12px; color: var(--ink2); font-weight: 600; display: flex; align-items: center; white-space: nowrap; }
.goal { margin: 12px 16px 0; padding: 14px 16px; display: flex; align-items: center; gap: 12px; }
.goal .gbar { height: 6px; border-radius: 6px; background: #F1EEE8; overflow: hidden; margin-top: 8px; }
.goal .gbar i { display: block; height: 100%; background: var(--sun-grad); border-radius: 6px; transition: width 1s; }
.entries { display: grid; grid-template-columns: repeat(4, 1fr); padding: 16px 8px 10px; margin: 12px 16px 0; }
.entry { display: flex; flex-direction: column; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: var(--ink); }
.entry .ei { width: 50px; height: 50px; border-radius: 17px; display: grid; place-items: center; color: #fff; position: relative; }
.entry .ei svg.lucide { width: 24px; height: 24px; }
.entry .ei .tg { position: absolute; top: -6px; right: -12px; font-size: 9px; font-weight: 800; padding: 2px 5px; border-radius: 6px 6px 6px 0; background: var(--red); color: #fff; white-space: nowrap; }
.bills { display: flex; gap: 10px; overflow-x: auto; padding: 0 16px 4px; scrollbar-width: none; scroll-snap-type: x mandatory; }
.bills::-webkit-scrollbar { display: none; }
.bill { flex: none; width: 78%; scroll-snap-align: start; padding: 16px; position: relative; overflow: hidden; }
.bill .bh { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
.bill .bh .chip { margin-left: auto; }
.bill .bv { font-size: 24px; font-weight: 800; margin: 12px 0 2px; }
.bill .bl { font-size: 12px; color: var(--ink3); }
.bill .bp { height: 6px; border-radius: 6px; background: #F1EEE8; margin-top: 12px; overflow: hidden; }
.bill .bp i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #12A378, #3DD6A3); }
.bill.done { background: linear-gradient(140deg, #FFF8EC, #FFEFD6); }
.bill.locked { background: #F4F1EB; }
.bill .stamp { position: absolute; right: -6px; top: 34px; transform: rotate(-14deg); border: 2px solid rgba(214, 120, 20, .6); color: rgba(214, 120, 20, .8); font-weight: 900; padding: 4px 10px; border-radius: 8px; font-size: 13px; letter-spacing: .2em; }
.feed .fi { display: flex; align-items: center; gap: 12px; padding: 13px 16px; }
.feed .fi + .fi { border-top: 1px solid var(--line); }
.feed .fic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.feed .fic svg.lucide { width: 18px; height: 18px; }
.feed .ft { flex: 1; min-width: 0; }
.feed .ft b { font-size: 14px; font-weight: 600; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed .ft span { font-size: 12px; color: var(--ink3); }
.feed .fd { text-align: right; font-weight: 800; font-size: 15px; color: var(--ok); white-space: nowrap; }
.feed .fd span:not(.amt) { display: block; font-size: 11px; color: var(--ink3); font-weight: 500; }
.ty-consume { background: #FFF1E6; color: #E56A16; }
.ty-task { background: #E7F7F0; color: #12A378; }
.ty-invite { background: #F0EDFF; color: #6A4DFF; }
.ty-zone { background: #FDECEC; color: #B4232F; }
.ty-content { background: #FFF6DB; color: #C28A00; }
.ty-lump, .ty-alloc { background: #E8EDF7; color: #1F3A6B; }
.ty-withdraw { background: #F1EEE8; color: var(--ink2); }
.ai-card { margin: 12px 16px 0; padding: 14px 16px; display: flex; gap: 12px; align-items: center; background: linear-gradient(120deg, #14213D, #2A3E70); color: #fff; }
.ai-card .ic { width: 40px; height: 40px; border-radius: 14px; background: rgba(255, 181, 71, .18); color: #FFB547; display: grid; place-items: center; flex: none; }
.ai-card b { display: block; font-size: 14px; }
.ai-card span { font-size: 12px; opacity: .75; }
.rec-goods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 0 16px; }
.rec-goods .rg { background: #fff; border-radius: 16px; overflow: hidden; text-align: left; }
.rec-goods .rg img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.rec-goods .rg div { padding: 8px 9px 10px; }
.rec-goods .rg b { font-size: 12px; font-weight: 600; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rec-goods .rg .pr { color: #E5484D; font-weight: 800; font-size: 15px; margin-top: 2px; }
.rec-goods .rg .dk { margin-top: 4px; }

/* ───────── 商城 ───────── */
.mtop { padding: calc(8px + var(--st)) 16px 10px; background: var(--bg); display: flex; gap: 10px; align-items: center; flex: none; }
.search { flex: 1; height: 40px; border-radius: 20px; background: #fff; display: flex; align-items: center; gap: 8px; padding: 0 14px; color: var(--ink3); font-size: 14px; }
.search input { flex: 1; border: 0; outline: 0; background: none; font-size: 15px; color: var(--ink); min-width: 0; }
.cartbtn { width: 40px; height: 40px; border-radius: 20px; background: #fff; display: grid; place-items: center; position: relative; }
.cartbtn svg.lucide { width: 20px; height: 20px; }
.cartbtn .bdg { position: absolute; top: -2px; right: -2px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--red); color: #fff; font-size: 10px; font-weight: 700; display: grid; place-items: center; padding: 0 5px; }
.mbanner { margin: 4px 16px 0; border-radius: 22px; overflow: hidden; position: relative; height: 148px; color: #fff; }
.mbanner img { width: 100%; height: 100%; object-fit: cover; }
.mbanner .o { position: absolute; inset: 0; padding: 18px; background: linear-gradient(95deg, rgba(20, 33, 61, .88) 10%, rgba(20, 33, 61, .2) 75%); display: flex; flex-direction: column; justify-content: center; }
.mbanner b { font-size: 20px; }
.mbanner span { font-size: 12px; opacity: .85; margin-top: 4px; }
.mbanner .fm { display: flex; gap: 4px; align-items: center; margin-top: 12px; font-size: 11px; font-weight: 700; flex-wrap: wrap; }
.mbanner .fm i { font-style: normal; padding: 3px 7px; border-radius: 6px; background: rgba(255, 255, 255, .18); }
.mcats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 0; padding: 18px 8px 16px; margin: 12px 16px 0; }
.mcat { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; }
.mcat img { width: 50px; height: 50px; border-radius: 16px; object-fit: cover; }
.goods { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 16px; }
.g { background: #fff; border-radius: 18px; overflow: hidden; text-align: left; display: flex; flex-direction: column; }
.g .gi { aspect-ratio: 1; position: relative; background: #F4F1EB; }
.g .gi img { width: 100%; height: 100%; object-fit: cover; display: block; }
.g .gi .tag { position: absolute; left: 8px; top: 8px; font-size: 10px; font-weight: 700; padding: 3px 7px; border-radius: 6px; background: rgba(20, 33, 61, .78); color: #fff; }
.g .gb { padding: 10px 11px 12px; }
.g .gbr { font-size: 11px; color: var(--ink3); }
.g .gn { font-size: 13.5px; font-weight: 600; line-height: 1.35; height: 36px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; margin-top: 2px; }
.g .gp { display: flex; align-items: baseline; gap: 5px; margin-top: 6px; }
.g .gp b { font-size: 19px; color: #E5484D; font-weight: 800; }
.g .gp b small { font-size: 12px; }
.g .gp s { font-size: 11px; color: var(--ink3); }
.g .gp .sold { margin-left: auto; font-size: 10.5px; color: var(--ink3); }
.g .dk { margin-top: 7px; }
.tabs { display: flex; gap: 22px; padding: 0 16px; overflow-x: auto; scrollbar-width: none; flex: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; padding: 10px 0; font-size: 15px; color: var(--ink3); font-weight: 600; position: relative; }
.tabs button.on { color: var(--ink); font-weight: 800; }
.tabs button.on::after { content: ''; position: absolute; left: 50%; bottom: 3px; width: 18px; margin-left: -9px; height: 3px; border-radius: 3px; background: var(--sun-grad); }
.catlay { flex: 1; display: grid; grid-template-columns: 88px 1fr; min-height: 0; }
.catside { overflow-y: auto; background: #F1EEE8; scrollbar-width: none; }
.catside button { display: block; width: 100%; padding: 16px 6px; font-size: 13px; color: var(--ink2); position: relative; }
.catside button.on { background: var(--bg); color: var(--ink); font-weight: 800; }
.catside button.on::before { content: ''; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; border-radius: 3px; background: var(--sun); }
.catmain { overflow-y: auto; padding: 12px; scrollbar-width: none; }
.cl { display: flex; gap: 10px; background: #fff; border-radius: 14px; padding: 10px; margin-bottom: 8px; text-align: left; width: 100%; }
.cl img { width: 84px; height: 84px; border-radius: 10px; object-fit: cover; flex: none; }
.cl .ct { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cl .ct b { font-size: 13.5px; font-weight: 600; line-height: 1.35; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cl .ct .pr { margin-top: auto; display: flex; align-items: center; justify-content: space-between; }
.cl .ct .pr b { color: #E5484D; font-size: 16px; font-weight: 800; }
.addc { width: 26px; height: 26px; border-radius: 13px; background: var(--sun-grad); color: #fff; display: grid; place-items: center; }
.addc svg.lucide { width: 16px; height: 16px; }
.pd-hero { aspect-ratio: 1; position: relative; background: #F4F1EB; }
.pd-hero img { width: 100%; height: 100%; object-fit: cover; }
.pd-price { padding: 16px; margin: -18px 0 0; border-radius: 20px 20px 0 0; position: relative; background: #fff; }
.pd-price .pp { display: flex; align-items: baseline; gap: 8px; }
.pd-price .pp b { font-size: 30px; color: #E5484D; font-weight: 800; }
.pd-price .pp b small { font-size: 16px; }
.pd-price h2 { font-size: 17px; margin: 8px 0 4px; line-height: 1.4; }
.dkbox { margin: 10px 16px 0; padding: 14px 16px; background: linear-gradient(120deg, #FFF6EC, #FFEEDC); border-radius: 18px; }
.dkbox .dt { display: flex; align-items: center; gap: 6px; font-weight: 800; color: #B5520C; font-size: 15px; }
.dkbox .dv { font-size: 26px; font-weight: 800; color: #E56A16; margin: 6px 0 8px; }
.dkbox .flow { display: flex; align-items: center; gap: 4px; font-size: 11px; color: #9A5B26; flex-wrap: wrap; }
.dkbox .flow span { background: rgba(255, 255, 255, .7); padding: 3px 7px; border-radius: 6px; }
.dkbox .flow svg.lucide { width: 12px; height: 12px; opacity: .6; }
.pd-bar { flex: none; display: flex; gap: 10px; padding: 10px 14px calc(10px + var(--sb)); background: #fff; border-top: 1px solid var(--line); align-items: center; }
.pd-bar .ico { display: flex; flex-direction: column; align-items: center; font-size: 10px; color: var(--ink2); gap: 2px; width: 44px; position: relative; }
.pd-bar .ico svg.lucide { width: 22px; height: 22px; }
.pd-bar .ico .bdg { position: absolute; top: -4px; right: 2px; min-width: 16px; height: 16px; border-radius: 8px; background: var(--red); color: #fff; font-size: 10px; display: grid; place-items: center; padding: 0 4px; }
.pd-bar .btn { height: 46px; }
.kvs { padding: 4px 16px; }
.kvs .kv { display: flex; justify-content: space-between; padding: 11px 0; font-size: 14px; }
.kvs .kv + .kv { border-top: 1px solid var(--line); }
.kvs .kv span { color: var(--ink3); }
.kvs .kv.tot b { color: #E56A16; font-size: 17px; }
.qty { display: flex; align-items: center; gap: 0; background: #F4F1EB; border-radius: 10px; }
.qty button { width: 30px; height: 30px; font-size: 18px; font-weight: 600; }
.qty b { min-width: 26px; text-align: center; font-size: 14px; }
.cartrow { display: flex; gap: 10px; padding: 14px; align-items: center; }
.cartrow + .cartrow { border-top: 1px solid var(--line); }
.cartrow img { width: 80px; height: 80px; border-radius: 12px; object-fit: cover; }
.radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #D5D1C9; display: grid; place-items: center; flex: none; color: #fff; }
.radio.on { background: var(--sun); border-color: var(--sun); }
.radio svg.lucide { width: 13px; height: 13px; stroke-width: 3; }
.cartbar { flex: none; display: flex; align-items: center; gap: 12px; padding: 10px 14px calc(10px + var(--sb)); background: #fff; border-top: 1px solid var(--line); }
.addr { padding: 16px; display: flex; gap: 12px; align-items: center; }
.addr .ai { width: 36px; height: 36px; border-radius: 12px; background: var(--sun-grad); color: #fff; display: grid; place-items: center; flex: none; }
.payopt { display: flex; align-items: center; gap: 12px; padding: 15px 16px; }
.payopt + .payopt { border-top: 1px solid var(--line); }
.payopt .pi { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: #fff; font-size: 14px; font-weight: 800; flex: none; }

/* 收银台（仿第三方支付） */
.cashier { padding: 6px 0 0; text-align: center; }
.cashier .cm { font-size: 13px; color: var(--ink3); }
.cashier .ca { font-size: 38px; font-weight: 700; margin: 6px 0 18px; }
.cashier .ca small { font-size: 22px; }
.pwd { display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid #E2DED6; border-radius: 12px; overflow: hidden; margin: 0 6px 16px; }
.pwd div { height: 48px; display: grid; place-items: center; }
.pwd div + div { border-left: 1px solid #E2DED6; }
.pwd div.f::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
.kbd { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; background: #E9E6E0; margin: 0 -18px calc(-18px - var(--sb)); padding: 6px 6px calc(6px + var(--sb)); }
.kbd button { height: 50px; border-radius: 8px; background: #fff; font-size: 22px; font-weight: 500; }
.kbd button.fn { background: transparent; font-size: 15px; }
.kbd button:active { background: #D9D5CD; }

/* 支付成功 */
.paid { text-align: center; padding: 30px 24px 10px; }
.paid .pic { width: 72px; height: 72px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; margin: 0 auto 14px; animation: pop .5s cubic-bezier(.2, 1.4, .4, 1); }
.paid .pic svg.lucide { width: 40px; height: 40px; stroke-width: 3; }
.alloc { margin: 0 16px; padding: 18px 16px; position: relative; overflow: hidden; }
.alloc .at { display: flex; align-items: center; gap: 6px; font-weight: 800; }
.alloc .av { font-size: 34px; font-weight: 800; color: #E56A16; margin: 6px 0 4px; }
.alloc .ar { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px dashed var(--line); font-size: 13px; }
.alloc .ar:first-of-type { margin-top: 10px; }

/* 订单 */
.order { padding: 14px 16px; margin-bottom: 10px; }
.order .oh { display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 10px; }
.order .oi { display: flex; gap: 10px; }
.order .oi img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; }
.track { padding: 6px 16px 10px; }
.track .tr { display: flex; gap: 12px; position: relative; padding-bottom: 18px; }
.track .tr::before { content: ''; position: absolute; left: 5px; top: 14px; bottom: 0; width: 2px; background: var(--line); }
.track .tr:last-child::before { display: none; }
.track .tr i { width: 12px; height: 12px; border-radius: 50%; background: #D5D1C9; flex: none; margin-top: 4px; position: relative; z-index: 1; }
.track .tr:first-child i { background: var(--sun); box-shadow: 0 0 0 4px #FFE8D6; }
.track .tr b { font-size: 14px; font-weight: 600; display: block; }
.track .tr:not(:first-child) b { color: var(--ink2); font-weight: 400; }
.track .tr span { font-size: 12px; color: var(--ink3); }

/* ───────── 任务 ───────── */
.thero { margin: 4px 16px 0; padding: 18px; border-radius: 22px; color: #fff; position: relative; overflow: hidden; background: linear-gradient(130deg, #0F3D3A, #12A378); }
.thero::after { content: ''; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.thero .tv { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 14px; position: relative; z-index: 2; }
.thero .tv div { font-size: 11px; opacity: .8; }
.thero .tv b { display: block; font-size: 19px; opacity: 1; margin-bottom: 2px; }
.signrow { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 12px; }
.signrow div { background: #F7F5F1; border-radius: 10px; text-align: center; padding: 6px 0; font-size: 10px; color: var(--ink3); }
.signrow div b { display: block; font-size: 12px; color: var(--ink); margin-bottom: 2px; }
.signrow div.on { background: #FFF1E6; color: #E56A16; }
.signrow div.on b { color: #E56A16; }
.zone { margin: 12px 16px 0; border-radius: 22px; overflow: hidden; color: #fff; position: relative; padding: 16px; }
.zone .zt { display: flex; align-items: center; gap: 8px; }
.zone .zb { display: inline-flex; padding: 3px 8px; border-radius: 6px; background: #FFD27A; color: #6B3A00; font-size: 11px; font-weight: 800; }
.tk { display: flex; gap: 12px; padding: 14px; align-items: center; background: #fff; border-radius: 18px; text-align: left; width: 100%; }
.tk + .tk { margin-top: 10px; }
.tk .ti { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; color: #fff; flex: none; }
.tk .ti svg.lucide { width: 24px; height: 24px; }
.tk .tt { flex: 1; min-width: 0; }
.tk .tt b { font-size: 15px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tk .tt .tm { font-size: 12px; color: var(--ink3); display: flex; gap: 8px; margin-top: 3px; align-items: center; }
.tk .tt .tm svg.lucide { width: 12px; height: 12px; }
.tk .tr { text-align: right; flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.tk .tr b { color: #E5484D; font-size: 19px; font-weight: 800; }
.tk .tr b small { font-size: 12px; }
.tk .go { font-size: 12px; padding: 5px 12px; border-radius: 99px; background: var(--navy); color: #fff; font-weight: 700; }
.tk.done .go { background: #F1EEE8; color: var(--ink3); }
.tdhero { height: 200px; position: relative; color: #fff; }
.tdhero img { width: 100%; height: 100%; object-fit: cover; }
.tdhero .o { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 33, 61, .2), rgba(20, 33, 61, .85)); padding: 18px; display: flex; flex-direction: column; justify-content: flex-end; }
.tdinfo { display: grid; grid-template-columns: repeat(3, 1fr); padding: 16px 0; }
.tdinfo div { text-align: center; font-size: 12px; color: var(--ink3); }
.tdinfo div + div { border-left: 1px solid var(--line); }
.tdinfo b { display: block; font-size: 18px; color: var(--ink); margin-bottom: 2px; }
.steps { padding: 6px 16px 14px; }
.steps .s { display: flex; gap: 10px; padding: 8px 0; font-size: 14px; color: var(--ink2); }
.steps .s i { width: 22px; height: 22px; border-radius: 50%; background: #FFF1E6; color: #E56A16; display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 800; flex: none; }
.player { position: relative; border-radius: 0; overflow: hidden; flex: 1; background: #000; }
.player img { width: 100%; height: 100%; object-fit: cover; animation: kb 14s ease-in-out infinite alternate; opacity: .92; }
@keyframes kb { from { transform: scale(1); } to { transform: scale(1.18) translate(-4%, -3%); } }
.player .ov { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .45), transparent 25%, transparent 60%, rgba(0, 0, 0, .75)); color: #fff; padding: calc(60px + var(--st)) 16px calc(20px + var(--sb)); display: flex; flex-direction: column; }
.player .cd { align-self: flex-end; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 99px; background: rgba(0, 0, 0, .5); }
.player .cap { margin-top: auto; padding-right: 60px; }
.player .cap b { font-size: 17px; }
.player .cap p { margin: 6px 0 0; font-size: 13px; opacity: .85; }
.player .pbar { height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .25); margin-top: 14px; overflow: hidden; }
.player .pbar i { display: block; height: 100%; width: 0; background: #FFB547; }
.player .side { position: absolute; right: 12px; bottom: calc(110px + var(--sb)); display: flex; flex-direction: column; gap: 18px; align-items: center; font-size: 11px; color: #fff; }
.player .side div { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.player .side svg.lucide { width: 32px; height: 32px; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .4)); }
.player .side .liked svg.lucide { fill: #FF3D6E; stroke: #FF3D6E; animation: pop .4s; }
.player .claim { margin-top: 16px; }
.heartfx { position: absolute; font-size: 80px; pointer-events: none; animation: hf .9s ease-out forwards; }
@keyframes hf { 0% { transform: translate(-50%, -50%) scale(.3); opacity: 0; } 30% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; } 100% { transform: translate(-50%, -120%) scale(1); opacity: 0; } }
.qz { padding: 18px 16px; }
.qz .qn { font-size: 13px; color: var(--ink3); }
.qz .qq { font-size: 18px; font-weight: 800; margin: 8px 0 18px; line-height: 1.45; }
.qz .opts { display: flex; flex-direction: column; gap: 10px; }
.qz .opts button { padding: 15px 16px; border-radius: 16px; background: #fff; text-align: left; font-size: 15px; box-shadow: inset 0 0 0 1.5px transparent; transition: .2s; display: flex; align-items: center; gap: 10px; }
.qz .opts button.on { box-shadow: inset 0 0 0 1.5px var(--sun); background: #FFF8F1; font-weight: 700; }
.qz .opts button.right { box-shadow: inset 0 0 0 1.5px var(--ok); background: var(--ok-bg); color: var(--ok); font-weight: 700; }
.qz .opts button.wrong { box-shadow: inset 0 0 0 1.5px var(--red); background: #FDECEC; color: var(--red); }
.qprog { height: 4px; background: #EEEAE3; border-radius: 4px; overflow: hidden; margin: 0 16px; }
.qprog i { display: block; height: 100%; background: var(--sun-grad); transition: width .4s; }
.lgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 16px; }
.lcell { background: #fff; border-radius: 16px; overflow: hidden; }
.lcell img { width: 100%; aspect-ratio: 1.2; object-fit: cover; display: block; }
.lcell .lo { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 6px; }
.lcell .lo button { font-size: 12px; padding: 6px 0; border-radius: 8px; background: #F4F1EB; }
.lcell .lo button.on { background: var(--navy); color: #fff; }
.upl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.upl .u { aspect-ratio: 1; border-radius: 14px; background: #fff; border: 1.5px dashed #D5D1C9; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--ink3); font-size: 11px; gap: 4px; overflow: hidden; position: relative; }
.upl .u img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.upl .u svg.lucide { width: 24px; height: 24px; }
.upl .u.done { border: 0; }
textarea.ta { width: 100%; border: 0; outline: 0; background: #fff; border-radius: 16px; padding: 14px; resize: none; font-size: 15px; line-height: 1.6; min-height: 130px; }
.ai-review { display: flex; flex-direction: column; align-items: center; padding: 40px 24px; text-align: center; }
.ai-review .scanr { width: 120px; height: 120px; border-radius: 30px; background: linear-gradient(135deg, #14213D, #2A3E70); display: grid; place-items: center; color: #FFB547; position: relative; overflow: hidden; }
.ai-review .scanr svg.lucide { width: 54px; height: 54px; }
.ai-review .scanr::after { content: ''; position: absolute; left: 0; right: 0; height: 30%; background: linear-gradient(180deg, transparent, rgba(255, 181, 71, .4), transparent); animation: scan 1.2s linear infinite; }
.checks { width: 100%; margin-top: 24px; text-align: left; }
.checks div { display: flex; align-items: center; gap: 10px; padding: 10px 0; font-size: 14px; color: var(--ink3); transition: .3s; }
.checks div.ok { color: var(--ink); }
.checks div i { width: 22px; height: 22px; border-radius: 50%; background: #EEEAE3; display: grid; place-items: center; font-style: normal; color: #fff; flex: none; }
.checks div.ok i { background: var(--ok); }
.map { height: 180px; border-radius: 18px; overflow: hidden; position: relative; background: #E8EEE4; background-image: linear-gradient(90deg, rgba(255, 255, 255, .7) 2px, transparent 2px), linear-gradient(rgba(255, 255, 255, .7) 2px, transparent 2px), linear-gradient(35deg, transparent 48%, #fff 48%, #fff 52%, transparent 52%); background-size: 46px 46px, 46px 46px, 100% 100%; }
.map .pin { position: absolute; transform: translate(-50%, -100%); color: #E5484D; }
.map .pin svg.lucide { width: 34px; height: 34px; fill: #E5484D; stroke: #fff; }
.map .me { position: absolute; width: 16px; height: 16px; border-radius: 50%; background: #2F6BFF; border: 3px solid #fff; box-shadow: 0 0 0 8px rgba(47, 107, 255, .2); transform: translate(-50%, -50%); }

/* ───────── 推广 ───────── */
.ivhero { margin: 0 16px; border-radius: 24px; overflow: hidden; position: relative; color: #fff; background: linear-gradient(160deg, #14213D 0%, #3B2A6B 60%, #E8655A 130%); padding: 22px 20px 20px; }
.ivhero h2 { margin: 0; font-size: 24px; line-height: 1.35; }
.ivhero h2 em { font-style: normal; color: #FFD27A; }
.ivhero p { margin: 8px 0 18px; font-size: 13px; opacity: .8; }
.qrbox { background: #fff; color: var(--ink); border-radius: 18px; padding: 14px; display: flex; gap: 14px; align-items: center; }
.qrbox .qr { width: 96px; height: 96px; flex: none; }
.qrbox .qr img, .qrbox .qr canvas { width: 100% !important; height: 100% !important; }
.qrbox .code b { display: block; font-size: 22px; letter-spacing: .1em; margin: 2px 0 10px; color: var(--navy); }
.poster { width: 100%; aspect-ratio: .62; border-radius: 22px; overflow: hidden; position: relative; color: #fff; }
.poster img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.poster .po { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 33, 61, .1), rgba(20, 33, 61, .3) 40%, rgba(20, 33, 61, .95)); padding: 22px; display: flex; flex-direction: column; }
.poster .pq { margin-top: auto; display: flex; gap: 12px; align-items: center; background: #fff; border-radius: 16px; padding: 12px; color: var(--ink); }
.poster .pq .qr { width: 70px; height: 70px; flex: none; }
.poster .pq .qr img, .poster .pq .qr canvas { width: 100% !important; height: 100% !important; }
.shareto { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 18px; }
.shareto button { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; color: var(--ink2); }
.shareto button i { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; color: #fff; font-style: normal; font-weight: 800; }
.shareto svg.lucide { width: 24px; height: 24px; }

/* ───────── 上岸圈 ───────── */
.ctop { padding: calc(8px + var(--st)) 16px 0; flex: none; background: var(--bg); }
.ctop h1 { margin: 6px 0 2px; font-size: 26px; font-weight: 900; display: flex; align-items: center; justify-content: space-between; }
.chero { margin: 6px 16px 10px; padding: 14px 16px; border-radius: 18px; background: linear-gradient(120deg, #FFF3E3, #FFE6CF); display: flex; align-items: center; gap: 12px; }
.chero b { font-size: 15px; color: #8A4A12; }
.chero span { font-size: 12px; color: #A96A33; display: block; margin-top: 2px; }
.pc { padding: 16px; margin: 0 16px 10px; text-align: left; display: block; width: calc(100% - 32px); }
.pc .ph { display: flex; align-items: center; gap: 10px; }
.av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: rgba(20, 33, 61, .7); flex: none; font-size: 15px; }
.av.sm { width: 30px; height: 30px; font-size: 12px; }
.av.lg { width: 70px; height: 70px; font-size: 26px; }
.av.off { background: var(--navy) !important; color: #FFB547; font-family: Georgia, serif; font-style: italic; }
.pc .pn b { font-size: 14px; display: flex; align-items: center; gap: 6px; }
.pc .pn span { font-size: 11px; color: var(--ink3); }
.pc .pt { font-size: 15px; line-height: 1.65; margin: 10px 0 0; white-space: pre-line; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; }
.pc .pimg { margin-top: 10px; border-radius: 14px; overflow: hidden; max-height: 200px; }
.pc .pimg img { width: 100%; height: 200px; object-fit: cover; display: block; }
.pc .pf { display: flex; gap: 22px; margin-top: 12px; font-size: 13px; color: var(--ink3); }
.pc .pf span { display: flex; align-items: center; gap: 4px; }
.pc .pf svg.lucide { width: 17px; height: 17px; }
.pc .pf .liked { color: #E5484D; }
.pc .pf .liked svg.lucide { fill: #E5484D; }
.fab { position: absolute; right: 18px; bottom: calc(84px + var(--sb)); z-index: 25; width: 54px; height: 54px; border-radius: 27px; background: var(--sun-grad); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(255, 122, 61, .4); }
.fab svg.lucide { width: 26px; height: 26px; }
.pdetail { padding: 16px; }
.pdetail .pt { font-size: 16px; line-height: 1.75; white-space: pre-line; margin: 14px 0; }
.cmt { display: flex; gap: 10px; padding: 12px 16px; }
.cmt + .cmt { border-top: 1px solid var(--line); }
.cmt .cb { flex: 1; }
.cmt .cb b { font-size: 13px; color: var(--ink2); display: flex; align-items: center; gap: 4px; }
.cmt .cb p { margin: 4px 0; font-size: 14.5px; line-height: 1.55; }
.cmt .cb span { font-size: 11px; color: var(--ink3); }
.cbar { flex: none; display: flex; align-items: center; gap: 10px; padding: 8px 12px calc(8px + var(--sb)); background: #fff; border-top: 1px solid var(--line); }
.cbar input { flex: 1; height: 38px; border-radius: 19px; border: 0; background: #F4F1EB; padding: 0 14px; outline: 0; font-size: 14px; }
.cbar button.ic { display: flex; flex-direction: column; align-items: center; font-size: 10px; color: var(--ink2); width: 36px; }
.cbar button.ic svg.lucide { width: 21px; height: 21px; }
.cbar button.ic.on { color: #E5484D; }
.cbar button.ic.on svg.lucide { fill: #E5484D; }
.tagsel { display: flex; gap: 8px; flex-wrap: wrap; }
.tagsel button { padding: 7px 14px; border-radius: 99px; background: #fff; font-size: 13px; font-weight: 600; color: var(--ink2); }
.tagsel button.on { background: var(--navy); color: #fff; }
.safe-tip { display: flex; gap: 8px; padding: 12px 14px; border-radius: 14px; background: #EEF3FB; color: var(--navy2); font-size: 12px; line-height: 1.6; }
.safe-tip svg.lucide { width: 16px; height: 16px; margin-top: 2px; }
.block-tip { background: #FDECEC; color: #B42318; }
.badgewall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 16px; }
.badgewall div { text-align: center; font-size: 11px; color: var(--ink3); }
.badgewall div i { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 6px; background: #F1EEE8; font-style: normal; font-size: 24px; filter: grayscale(1); opacity: .5; }
.badgewall div.on { color: var(--ink); font-weight: 700; }
.badgewall div.on i { background: linear-gradient(135deg, #FFE3A3, #FFB547); filter: none; opacity: 1; box-shadow: 0 6px 14px rgba(255, 181, 71, .35); }

/* ───────── 我的 ───────── */
.mehero { padding: calc(12px + var(--st)) 18px 74px; background: linear-gradient(165deg, #0B1430, #1F3A6B 70%, #3E4F8A); color: #fff; position: relative; overflow: hidden; }
.mehero::after { content: ''; position: absolute; width: 260px; height: 260px; border-radius: 50%; right: -90px; bottom: -150px; background: radial-gradient(circle, rgba(255, 181, 71, .5), transparent 65%); }
.mehero .u { display: flex; align-items: center; gap: 14px; margin-top: 12px; position: relative; z-index: 2; }
.mehero .u b { font-size: 20px; display: block; }
.mehero .u span { font-size: 12px; opacity: .75; }
.mestat { margin: -58px 16px 0; padding: 16px 0; display: grid; grid-template-columns: repeat(3, 1fr); position: relative; z-index: 3; box-shadow: 0 10px 30px rgba(20, 33, 61, .08); }
.mestat div { text-align: center; }
.mestat div + div { border-left: 1px solid var(--line); }
.mestat b { display: block; font-size: 18px; font-weight: 800; color: var(--ink); }
.mestat button { color: var(--ink); }
.mestat span { font-size: 12px; color: var(--ink3); }
.mgrid { display: grid; grid-template-columns: repeat(4, 1fr); padding: 16px 6px; margin: 12px 16px 0; }
.mgrid button { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; color: var(--ink2); position: relative; }
.mgrid button i { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: #F4F1EB; color: var(--ink); font-style: normal; }
.mgrid button svg.lucide { width: 20px; height: 20px; }
.mgrid .bdg { position: absolute; top: -2px; right: 18%; min-width: 16px; height: 16px; border-radius: 8px; background: var(--red); color: #fff; font-size: 10px; display: grid; place-items: center; padding: 0 4px; }
.bhero { margin: 0 16px; padding: 18px; border-radius: 22px; color: #fff; position: relative; overflow: hidden; }
.bhero::after { content: ''; position: absolute; right: -40px; top: -40px; width: 150px; height: 150px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.bhero .bb { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.bhero .bv { font-size: 32px; font-weight: 800; margin: 16px 0 4px; }
.bhero .bp { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .2); overflow: hidden; margin-top: 14px; }
.bhero .bp i { display: block; height: 100%; background: #FFD27A; border-radius: 6px; }
.stline { display: flex; padding: 18px 10px 14px; }
.stline .sn { flex: 1; display: flex; flex-direction: column; align-items: center; font-size: 11px; color: var(--ink3); gap: 6px; position: relative; text-align: center; }
.stline .sn::before { content: ''; position: absolute; top: 11px; left: -50%; right: 50%; height: 2px; background: var(--line); }
.stline .sn:first-child::before { display: none; }
.stline .sn i { width: 24px; height: 24px; border-radius: 50%; background: #EEEAE3; display: grid; place-items: center; font-style: normal; color: #fff; position: relative; z-index: 1; font-size: 12px; }
.stline .sn.on { color: var(--ink); font-weight: 700; }
.stline .sn.on i { background: var(--ok); }
.stline .sn.on::before { background: var(--ok); }
.stline .sn.cur i { box-shadow: 0 0 0 5px var(--ok-bg); }
.wallet { margin: 0 16px; padding: 22px 20px; border-radius: 24px; color: #fff; background: linear-gradient(140deg, #14213D, #2A3E70); position: relative; overflow: hidden; }
.wallet::after { content: ''; position: absolute; right: -60px; bottom: -80px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 181, 71, .45), transparent 65%); }
.wallet .wv { font-size: 36px; font-weight: 800; margin: 6px 0 18px; }
.wallet .wb { display: flex; gap: 10px; position: relative; z-index: 2; }
.bankcard { margin: 0 16px 10px; padding: 18px; border-radius: 18px; color: #fff; background: linear-gradient(135deg, #1D4E89, #0B2F5B); display: flex; justify-content: space-between; align-items: flex-end; }
.cert { margin: 16px; padding: 28px 22px 22px; background: #FFFDF7; border-radius: 6px; position: relative; color: #3B2F1A; font-family: 'Noto Serif CJK SC', 'Songti SC', serif; box-shadow: 0 10px 30px rgba(60, 40, 10, .1), inset 0 0 0 6px #FFFDF7, inset 0 0 0 7px #E9D39B; }
.cert h3 { text-align: center; margin: 0; font-size: 24px; letter-spacing: .32em; color: #8A5A00; }
.cert .en { text-align: center; font-size: 9.5px; letter-spacing: .25em; color: #B08A3E; margin: 4px 0 18px; font-family: Georgia, serif; }
.cert p { font-size: 13.5px; line-height: 2; margin: 0 0 10px; text-indent: 2em; }
.cert table { width: 100%; font-size: 12.5px; border-collapse: collapse; margin: 6px 0 16px; }
.cert td { padding: 7px 0; border-bottom: 1px dashed #E7D6AD; }
.cert td:last-child { text-align: right; font-weight: 700; }
.cert .sign { display: flex; justify-content: space-between; align-items: flex-end; font-size: 12px; line-height: 1.8; }
.seal { width: 94px; height: 94px; border-radius: 50%; border: 3px solid rgba(214, 40, 40, .85); color: rgba(214, 40, 40, .9); display: grid; place-items: center; position: relative; transform: rotate(-14deg); font-weight: 900; font-size: 10px; text-align: center; }
.seal::before { content: '★'; position: absolute; font-size: 22px; top: 32%; }
.seal span { position: absolute; bottom: 14px; }
.seal i { position: absolute; top: 10px; left: 0; right: 0; font-style: normal; }
.cert .qrv { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px solid #EFE2C2; font-size: 11px; color: #9A7B45; }
.cert .qrv .q { width: 54px; height: 54px; flex: none; }
.cert .qrv .q img, .cert .qrv .q canvas { width: 100% !important; height: 100% !important; }
.notice { display: flex; gap: 12px; padding: 14px 16px; text-align: left; width: 100%; }
.notice + .notice { border-top: 1px solid var(--line); }
.notice .ni { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; flex: none; }
.notice .ni svg.lucide { width: 20px; height: 20px; }
.notice b { font-size: 14.5px; display: flex; align-items: center; gap: 6px; }
.notice b .u { width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.notice p { margin: 3px 0; font-size: 13px; color: var(--ink2); line-height: 1.55; }
.notice span { font-size: 11px; color: var(--ink3); }
.switch { width: 50px; height: 30px; border-radius: 15px; background: #E2DED6; position: relative; transition: .25s; flex: none; }
.switch::after { content: ''; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .15); transition: .25s; }
.switch.on { background: var(--ok); }
.switch.on::after { left: 23px; }
.aopt { display: flex; gap: 12px; padding: 16px; align-items: flex-start; text-align: left; width: 100%; }
.aopt + .aopt { border-top: 1px solid var(--line); }
.aopt b { font-size: 15px; display: block; }
.aopt p { margin: 4px 0 0; font-size: 12.5px; color: var(--ink3); line-height: 1.55; }
.chat { flex: 1; overflow-y: auto; padding: 14px 14px 10px; display: flex; flex-direction: column; gap: 12px; scrollbar-width: none; }
.msg { max-width: 82%; padding: 11px 14px; border-radius: 18px; font-size: 14.5px; line-height: 1.6; white-space: pre-line; }
.msg.ai { background: #fff; border-top-left-radius: 6px; align-self: flex-start; }
.msg.me { background: var(--navy); color: #fff; border-top-right-radius: 6px; align-self: flex-end; }
.msg.typing { color: var(--ink3); }
.quickq { display: flex; gap: 8px; overflow-x: auto; padding: 0 14px 10px; scrollbar-width: none; flex: none; }
.quickq button { flex: none; padding: 8px 12px; border-radius: 99px; background: #fff; font-size: 13px; color: var(--ink2); box-shadow: inset 0 0 0 1px var(--line); }

/* ───────── 上岸时刻 ───────── */
.moment { position: absolute; inset: 0; z-index: 110; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #fff; padding: 30px 26px calc(30px + var(--sb)); overflow: hidden; background: radial-gradient(130% 80% at 50% 105%, #FFB547 0%, #FF8A3D 18%, #C2506A 38%, #3B2A6B 62%, #0B1430 100%); animation: fadein .5s; }
.moment canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.moment .sunup { position: absolute; left: 50%; bottom: -200px; width: 420px; height: 420px; margin-left: -210px; border-radius: 50%; background: radial-gradient(circle, #FFF1C9 0%, #FFD27A 25%, rgba(255, 181, 71, .5) 45%, transparent 68%); animation: sunup 2.6s cubic-bezier(.2, .8, .2, 1) forwards; }
@keyframes sunup { from { transform: translateY(160px); } to { transform: translateY(-30px); } }
.moment .medal { width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(from 0deg, #FFE9B0, #F5A524, #FFE9B0, #F5A524, #FFE9B0); box-shadow: 0 0 0 10px rgba(255, 233, 176, .18), 0 0 80px rgba(255, 200, 80, .55); animation: spinIn 1s cubic-bezier(.2, 1.3, .4, 1); position: relative; z-index: 2; }
.moment .medal div { width: 98px; height: 98px; border-radius: 50%; background: linear-gradient(135deg, #FFF6D5, #FFD56B); display: grid; place-items: center; color: #B45309; }
.moment .medal svg.lucide { width: 50px; height: 50px; stroke-width: 2.2; }
@keyframes spinIn { from { transform: scale(0) rotate(-200deg); } }
.moment small { position: relative; z-index: 2; margin-top: 26px; letter-spacing: .3em; font-size: 12px; color: #FFD27A; font-weight: 700; }
.moment h1 { position: relative; z-index: 2; font-size: 34px; margin: 8px 0 10px; letter-spacing: .04em; }
.moment p { position: relative; z-index: 2; margin: 0; opacity: .85; font-size: 14px; line-height: 1.75; }
.moment .sum { position: relative; z-index: 2; display: flex; gap: 24px; margin: 24px 0 28px; }
.moment .sum div { font-size: 12px; opacity: .85; }
.moment .sum b { display: block; font-size: 22px; margin-top: 4px; opacity: 1; }
.moment .acts { position: relative; z-index: 2; width: 100%; display: flex; flex-direction: column; gap: 10px; }
.btn-gold { background: linear-gradient(135deg, #FFE9B0, #F5A524); color: #5A2E00; box-shadow: 0 10px 26px rgba(245, 165, 36, .45); }
.btn-glass { background: rgba(255, 255, 255, .14); color: #fff; backdrop-filter: blur(6px); }
.ms-card .mi { width: 76px; height: 76px; border-radius: 50%; margin: -62px auto 12px; display: grid; place-items: center; font-size: 38px; background: linear-gradient(135deg, #FFE3A3, #FFB547); box-shadow: 0 10px 26px rgba(255, 181, 71, .45); }
.earned .ei { width: 72px; height: 72px; border-radius: 24px; margin: -60px auto 10px; display: grid; place-items: center; color: #fff; box-shadow: 0 12px 26px rgba(255, 122, 61, .4); background: var(--sun-grad); }
.earned .ei svg.lucide { width: 36px; height: 36px; }
.earned .ev { font-size: 40px; font-weight: 800; color: #E56A16; margin: 4px 0 2px; }
.earned .ev small { font-size: 20px; }
.earned .sp { display: flex; justify-content: center; gap: 6px; margin: 12px 0 4px; flex-wrap: wrap; }
.earned .sp span { font-size: 12px; padding: 4px 9px; border-radius: 99px; background: #F4F1EB; color: var(--ink2); }
.earned .al { text-align: left; background: #F9F7F3; border-radius: 14px; padding: 4px 12px; margin: 14px 0 16px; }
.earned .al div { display: flex; align-items: center; gap: 8px; padding: 9px 0; font-size: 13px; }
.earned .al div + div { border-top: 1px dashed var(--line); }

@media (min-width: 431px) {
  body { background: radial-gradient(60% 60% at 50% 40%, #EFE8DD, #D9D2C6); }
}

.doc { padding: 6px 18px 20px; } .doc h4 { font-size: 15px; margin: 18px 0 6px; } .doc p { font-size: 13.5px; line-height: 1.8; color: var(--ink2); margin: 6px 0; }
