:root {
  --blue: #1e9bf0;
  --text: #202631;
  --muted: #8d96a6;
  --line: #edf1f6;
  --bg: #f7f8fb;
  --orange: #ff8a00;
  --orange-2: #ffb800;
  --warm: #fff7e6;
  --shell-max: 563px;
  --page-pad: 17px;
  font-family: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html, body { width: 100%; overflow-x: hidden; }
body { margin: 0; min-height: 100vh; min-height: 100dvh; background: #fff; color: var(--text); font-size: 14px; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
button, input { font: inherit; }
button { border: 0; background: none; color: inherit; }
.is-hidden { display: none !important; }
.phone-shell { position: relative; width: 100%; max-width: var(--shell-max); min-height: 100vh; min-height: 100dvh; margin: 0 auto; overflow: hidden; background: #fff; box-shadow: none; }
.pull-refresh-indicator {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 45;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(255,138,0,.18);
  border-radius: 0 0 12px 12px;
  color: #8b95a3;
  background: rgba(255,255,255,.97);
  box-shadow: 0 7px 20px rgba(30,55,80,.08);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%,-44px);
  transition: transform .2s ease, opacity .16s ease, color .16s ease;
  font-size: 13px;
  font-weight: 600;
}
.pull-refresh-indicator i {
  color: var(--orange);
  font-size: 18px;
  transition: transform .18s ease;
}
.phone-shell.is-pulling .pull-refresh-indicator {
  opacity: 1;
  transform: translate(-50%,8px);
}
.pull-refresh-indicator.is-ready {
  color: var(--orange);
}
.pull-refresh-indicator.is-ready i {
  transform: rotate(180deg);
}
.pull-refresh-indicator.is-refreshing i {
  animation: pull-refresh-spin .75s linear infinite;
}
.pull-refresh-indicator.is-complete {
  color: #16a36a;
}
.pull-refresh-indicator.is-complete i {
  color: #16a36a;
}
.phone-shell > .page {
  transform: translateY(0);
  transition: transform .2s ease;
}
.phone-shell.is-pulling > .page.page-active {
  transform: translateY(var(--pull-distance,0));
  transition: none;
}
.phone-shell.is-pulling .bottom-nav {
  transform: translateX(-50%);
}
@keyframes pull-refresh-spin {
  to { transform: rotate(360deg); }
}
.page { display: none; min-height: 100vh; min-height: 100dvh; background: var(--bg); }
.page-active { display: block; }
.auth-screen { position: fixed; inset: 0; z-index: 50; overflow-x: hidden; overflow-y: auto; background: #f7f9fc; }
.auth-restoring .auth-screen { display: none; }
.auth-screen.hidden { display: none; }
.auth-layout { position: relative; width: min(100%,430px); min-height: max(100dvh,844px); margin: 0 auto; padding: 78px 34px 222px; overflow: hidden; background: #f7f9fc; }
.auth-layout::before { content: ""; position: absolute; top: -54px; left: -8%; width: 116%; height: 100px; border-radius: 0 0 50% 50%; background: #ff8a00; }
.auth-brand { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 14px; }
.auth-logo { display: grid; place-items: center; width: 58px; height: 58px; flex: 0 0 auto; border-radius: 14px; color: #fff; background: #ff8a00; box-shadow: 0 10px 22px rgba(255,138,0,.18); font-size: 29px; }
.auth-brand h1 { margin: 0; color: #202631; font-size: 27px; font-weight: 800; line-height: 34px; letter-spacing: 0; }
.auth-brand p { margin: 1px 0 0; font-size: 15px; line-height: 20px; font-weight: 600; }
.auth-brand p span { color: #e96f00; }
.auth-brand p b { color: #b77a43; font-weight: 600; }
.auth-mode-switch { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; width: 218px; height: 40px; margin: 31px auto 26px; padding: 3px; border: 1px solid #dce2eb; border-radius: 22px; background: #fff; box-shadow: 0 6px 18px rgba(30,55,80,.05); }
.auth-mode-switch button { height: 32px; border-radius: 17px; color: #5f6878; font-size: 15px; font-weight: 700; transition: color .16s ease, background-color .16s ease, box-shadow .16s ease; }
.auth-mode-switch button.active { color: #fff; background: #ff8a00; box-shadow: 0 5px 12px rgba(255,138,0,.2); }
.auth-card { position: relative; z-index: 2; width: 100%; padding: 25px 21px 20px; border: 1px solid #edf0f5; border-top: 3px solid #ff8a00; border-radius: 8px; background: #fff; box-shadow: 0 14px 34px rgba(30,55,80,.12); text-align: left; }
.auth-card h2 { margin: 0; color: #202631; font-size: 23px; font-weight: 800; line-height: 30px; }
.auth-card > p { margin: 4px 0 18px; color: #8a94a3; font-size: 13px; line-height: 20px; }
.auth-field { display: grid; grid-template-columns: 42px minmax(0,1fr) 38px; align-items: center; width: 100%; height: 49px; margin-bottom: 11px; border: 1px solid #e0e5ed; border-radius: 7px; background: #fff; transition: border-color .16s ease, box-shadow .16s ease; }
.auth-field:focus-within { border-color: #ff9a22; box-shadow: 0 0 0 3px rgba(255,138,0,.1); }
.auth-field > span { display: grid; place-items: center; width: 28px; height: 28px; margin-left: 8px; border-radius: 7px; color: #ff8a00; background: #fff3e3; font-size: 18px; }
.auth-field input { width: 100%; height: 47px; min-width: 0; padding: 0 8px; border: 0; outline: 0; color: #202631; background: transparent; font-size: 15px; }
.auth-field input::placeholder { color: #9aa3b1; }
.auth-field.auth-register-field { grid-template-columns: 42px minmax(0,1fr); }
.auth-card .auth-register-field.is-hidden { display: none; }
.auth-password-toggle { display: grid; place-items: center; width: 36px; height: 36px; color: #8993a2; font-size: 21px; }
.auth-submit { width: 100%; height: 46px; margin-top: 3px; border-radius: 7px; color: #fff; background: #ff8a00; box-shadow: 0 9px 18px rgba(255,138,0,.2); font-size: 16px; font-weight: 800; }
.auth-switch-copy { display: block; width: 100%; height: 34px; margin-top: 10px; color: #667085; font-size: 13px; text-align: center; }
.auth-switch-copy strong { margin-left: 5px; color: #ff7800; font-weight: 700; }
.auth-trust { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin-top: 7px; padding-top: 14px; border-top: 1px solid #edf1f6; }
.auth-trust span { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-width: 0; color: #7f8997; font-size: 11px; white-space: nowrap; }
.auth-trust span + span { border-left: 1px solid #edf1f6; }
.auth-trust i { color: #7f8997; font-size: 16px; }
.auth-neighborhood { position: absolute; left: 0; bottom: 0; z-index: 1; display: block; width: 100%; height: 220px; object-fit: cover; object-position: center; pointer-events: none; }
.auth-screen.register-mode .auth-layout { padding-bottom: 178px; }
.auth-screen.register-mode .auth-neighborhood { height: 178px; }
@media (max-height: 780px) {
  .auth-layout { min-height: 780px; padding-top: 60px; padding-bottom: 182px; }
  .auth-mode-switch { margin-top: 22px; margin-bottom: 18px; }
  .auth-card { padding-top: 20px; padding-bottom: 16px; }
  .auth-card > p { margin-bottom: 13px; }
  .auth-neighborhood { height: 180px; }
  .auth-screen.register-mode .auth-layout { min-height: 834px; padding-bottom: 168px; }
  .auth-screen.register-mode .auth-neighborhood { height: 168px; }
}
@media (max-width: 360px) {
  .auth-layout { padding-right: 20px; padding-left: 20px; }
  .auth-brand h1 { font-size: 25px; }
  .auth-trust span { font-size: 10px; }
}
.withdraw-card input { width: 100%; height: 44px; margin-bottom: 12px; padding: 0 13px; border: 1px solid #e3e9f2; border-radius: 8px; background: #fff; }
.withdraw-card button { width: 100%; height: 44px; border-radius: 8px; color: #fff; background: #ff8a00; box-shadow: 0 8px 18px rgba(255,138,0,.22); font-weight: 700; }
.app-header, .plain-header { position: sticky; top: 0; z-index: 5; background: #fff; }
.status-row { display: none; }
.phone-icons { display: flex; align-items: center; gap: clamp(4px, 1.2vw, 6px); color: #05070b; font-size: clamp(17px, 4.6vw, 20px); line-height: 1; }
.title-row, .plain-header { display: grid; grid-template-columns: 42px 1fr; align-items: center; min-height: 73px; padding: 0 var(--page-pad); }
h1, h2, h3, p { margin: 0; }
.title-row h1, .plain-header h1 { text-align: left; color: #070b12; font-size: 24px; font-weight: 800; letter-spacing: 0; }
.plain-header { grid-template-columns: 54px 1fr 54px; min-height: 54px; }
.plain-header h1 { text-align: center; font-size: 19px; font-weight: 600; }
.brand-badge { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; color: #fff; background: linear-gradient(135deg,#ffb900 0%,#ff8a00 100%); box-shadow: 0 8px 18px rgba(255,138,0,.2); font-size: 22px; }
.top-actions { display: flex; align-items: center; justify-content: flex-end; gap: 13px; }
.top-actions button { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: #a3acba; background: #f1f4f8; font-size: 22px; }
.top-actions button:first-child { background: transparent; color: #111827; font-size: 26px; }
.top-actions em { position: absolute; top: -2px; right: -1px; display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 4px; border-radius: 999px; color: #fff; background: #ff4d4f; font-size: 12px; font-style: normal; font-weight: 700; line-height: 1; }
.wechat-actions { display: none; }
.circle-dot { width: 18px; height: 18px; border: 3px solid #111; border-radius: 50%; }
.content { padding: 0 var(--page-pad) 18px; }
.content-with-tabbar { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
.notice-card { position: relative; display: grid; grid-template-columns: 28px 74px 1fr 18px; grid-template-rows: 38px; column-gap: 8px; align-items: center; width: 100%; height: 38px; margin: 0 0 11px; padding: 0 14px 0 17px; border: 1px solid #ffe0a7; border-radius: 9px; color: #9b5a00; text-align: left; background: linear-gradient(90deg,#fff1d4,#fffaf0); box-shadow: 0 5px 14px rgba(255,138,0,.08); }
.notice-card > i { grid-column: 1; grid-row: 1; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 0; color: var(--orange); background: transparent; font-size: 22px; }
.notice-card b { grid-row: 1 / 3; grid-column: 3; color: var(--orange); font-size: 21px; line-height: 1; }
.notice-card b { grid-column: 4; grid-row: 1; color: var(--orange); font-size: 23px; line-height: 1; }
.notice-card strong { grid-column: 2; align-self: center; color: var(--orange); font-size: 16px; line-height: 38px; letter-spacing: 0; }
.notice-card span { grid-column: 3; align-self: center; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #5f6672; font-size: 14px; line-height: 38px; opacity: 1; }
.date-tabs { display: grid; grid-template-columns: repeat(6,1fr) 34px; align-items: center; height: 54px; margin: 15px 0 15px; padding: 0 11px; border-radius: 9px; background: #fff; box-shadow: 0 7px 22px rgba(30,55,80,.08); }
.date-tabs button, .secret-tabs button { position: relative; font-size: 16px; }
.date-tabs button { white-space: nowrap; }
.date-tabs button.active, .secret-tabs button.active { color: var(--orange); font-weight: 700; }
.date-tabs button.active::after, .secret-tabs button.active::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 24px; height: 3px; border-radius: 2px; background: var(--orange); transform: translateX(-50%); }
.date-tabs .calendar-tab { position: relative; color: #7b8797; font-size: 22px; }
.date-tabs .calendar-tab.active::after { display: none; }
.date-tabs .calendar-tab.active { color: var(--orange); background: #fff5e7; }
.order-date-mask { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 18px; background: rgba(20,28,40,.28); backdrop-filter: blur(2px); }
.order-date-mask[hidden] { display: none; }
.order-date-dialog { width: min(90vw, 318px); padding: 14px; border: 1px solid #ffe0b0; border-radius: 14px; background: #fff; box-shadow: 0 20px 48px rgba(22,31,45,.2); }
.order-date-dialog > header { display: grid; grid-template-columns: 34px 1fr 34px; align-items: center; }
.order-date-dialog > header button { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; color: #687386; background: #f6f8fb; font-size: 20px; }
.order-date-dialog > header h3 { margin: 0; color: #202631; font-size: 15px; font-weight: 800; text-align: center; }
.order-date-values { display: grid; grid-template-columns: 1fr 24px 1fr; align-items: center; gap: 4px; margin: 11px 0 10px; padding: 9px; border-radius: 9px; background: #fff8ec; }
.order-date-values > span { min-width: 0; text-align: center; }
.order-date-values small { display: block; color: #9a7b56; font-size: 10px; line-height: 14px; }
.order-date-values strong { display: block; margin-top: 2px; overflow: hidden; color: #e96f00; font-size: 12px; line-height: 17px; white-space: nowrap; }
.order-date-values > i { color: #d8a66d; font-size: 15px; text-align: center; }
.order-calendar-week, .order-calendar-days { display: grid; grid-template-columns: repeat(7, 1fr); }
.order-calendar-week span { height: 25px; color: #929baa; font-size: 11px; line-height: 25px; text-align: center; }
.order-calendar-days { row-gap: 3px; }
.order-calendar-days button { position: relative; z-index: 1; height: 32px; color: #344054; background: transparent; font-size: 12px; }
.order-calendar-days button:disabled { color: transparent; pointer-events: none; }
.order-calendar-days button.in-range { color: #d86600; background: #fff2dc; }
.order-calendar-days button.range-start { border-radius: 8px 0 0 8px; }
.order-calendar-days button.range-end { border-radius: 0 8px 8px 0; }
.order-calendar-days button.range-start.range-end { border-radius: 8px; }
.order-calendar-days button.range-start::after, .order-calendar-days button.range-end::after { content: ""; position: absolute; z-index: -1; inset: 2px 5px; border-radius: 8px; background: var(--orange); box-shadow: 0 4px 10px rgba(255,138,0,.2); }
.order-calendar-days button.range-start, .order-calendar-days button.range-end { color: #fff; font-weight: 800; }
.order-calendar-days button.is-today:not(.range-start):not(.range-end) { color: var(--orange); font-weight: 800; }
.order-date-dialog > footer { display: grid; grid-template-columns: 52px 1fr 56px 56px; gap: 7px; margin-top: 11px; padding-top: 11px; border-top: 1px solid #edf1f6; }
.order-date-dialog > footer button { height: 31px; border: 1px solid #dde4ed; border-radius: 7px; color: #596476; background: #fff; font-size: 12px; }
.order-date-dialog > footer button:first-child { border-color: #ffd59b; color: #e96f00; background: #fff8ec; }
.order-date-dialog > footer button:last-child { border-color: var(--orange); color: #fff; background: var(--orange); font-weight: 700; }
.hero-grid { display: block; margin-top: 12px; }
.hero-side { display: grid; gap: 10px; }
.hero-side article { min-height: 94px; padding: 16px 14px; border: 1px solid #edf1f6; border-radius: 8px; background: #fff; box-shadow: 0 7px 20px rgba(30,55,80,.045); }
.income-card { position: relative; min-height: 158px; margin-top: 0; padding: 25px 25px 18px; overflow: hidden; border-radius: 9px; color: #fff; background: linear-gradient(135deg,#ffb51b 0%,#ff9700 48%,#ff8700 100%); box-shadow: 0 10px 22px rgba(255,138,0,.24); }
.income-card p { display: flex; align-items: center; gap: 12px; font-size: 21px; line-height: 24px; font-weight: 500; }
.income-card p i { font-size: 20px; opacity: .96; }
.income-card strong { display: block; margin-top: 17px; font-size: 61px; line-height: .9; font-weight: 500; letter-spacing: 0; }
.income-card span { display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; padding: 7px 15px; border: 1px solid rgba(255,255,255,.32); border-radius: 999px; color: rgba(255,255,255,.95); background: rgba(255,255,255,.1); font-size: 16px; font-weight: 600; }
.income-card > i, .income-card::after, .income-card::before { position: absolute; right: 45px; bottom: 32px; width: 22px; height: 73px; content: ""; border-radius: 4px 4px 0 0; background: rgba(255,255,255,.14); }
.income-card::before { right: 88px; height: 38px; }
.income-card::after { right: 15px; height: 73px; opacity: 0; }
.income-card > i::before { position: absolute; right: -3px; bottom: 9px; width: 126px; height: 70px; content: ""; border-right: 2px solid rgba(255,255,255,.48); border-bottom: 2px solid rgba(255,255,255,.2); transform: skewX(-18deg); opacity: .7; }
.income-card > i::after { position: absolute; right: -2px; bottom: 80px; width: 110px; height: 110px; content: ""; border: 3px solid rgba(255,255,255,.08); border-radius: 50%; box-shadow: inset 0 0 28px rgba(255,255,255,.04); }
.summary-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 8px; margin-top: 0; }
.summary-grid article, .order-card, .activity-card, .user-panel, .profile-stats, .menu-list, .withdraw-card, .empty-card { border-radius: 8px; background: #fff; box-shadow: 0 7px 20px rgba(30,55,80,.06); }
.summary-grid article { position: relative; display: grid; grid-template-columns: 42px minmax(0,1fr); grid-template-rows: 34px 38px; column-gap: 6px; align-items: center; min-height: 105px; padding: 18px 8px 10px 12px; overflow: hidden; }
.hero-side article { position: relative; overflow: hidden; }
.summary-grid article::after { display: none; }
.hero-side article::after { position: absolute; right: 12px; bottom: 12px; width: 44px; height: 44px; border-radius: 50%; content: ""; background: rgba(30,155,240,.08); }
.hero-side article:nth-child(2)::after { background: rgba(34,197,94,.1); }
.mini-icon { grid-column: 1; grid-row: 1 / 3; display: grid; place-items: center; width: 38px; height: 38px; margin: 0; border-radius: 50%; color: #fff; font-size: 21px; }
.mini-icon.blue { color: #168ef0; background: #eaf5ff; }
.mini-icon.green { color: #18c871; background: #e9faef; }
.mini-icon.orange { color: #ff7600; background: #fff1e4; }
.mini-icon.yellow { color: #f4b200; background: #fff7db; }
.summary-grid p, .hero-side p { grid-column: 2; display: block; min-width: 0; margin: 0; overflow: hidden; color: #4d5668; font-size: 14px; line-height: 18px; white-space: nowrap; text-overflow: clip; }
.summary-value { grid-column: 2; display: flex; align-items: flex-end; gap: 3px; min-width: 0; }
.summary-grid strong, .hero-side strong { display: inline-block; margin: 0; color: #070b12; font-size: 28px; line-height: .95; font-weight: 700; white-space: nowrap; }
.summary-grid em, .hero-side em { position: relative; z-index: 1; color: #8b95a3; font-size: 12px; line-height: 14px; font-style: normal; white-space: nowrap; }
.filter-card { position: relative; display: grid; grid-template-columns: 1fr 43px; gap: 10px; align-items: center; margin-top: 20px; padding: 0; border-radius: 0; background: transparent; }
.order-status-tabs { display: flex; gap: 15px; overflow-x: auto; scrollbar-width: none; }
.order-status-tabs button { flex: 0 0 auto; min-width: 81px; height: 37px; padding: 0 14px; border-radius: 7px; background: #f4f5f7; color: #1f2937; font-size: 15px; }
.order-status-tabs button.active { color: #fff; background: var(--orange); }
.filter-button { display: grid; place-items: center; width: 43px; height: 37px; border: 1px solid #dbe3ee; border-radius: 7px; background: #fff; }
.filter-button i { font-size: 19px; color: #111827; }
.filter-button span { position: absolute; right: 3px; top: 3px; display: none; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.filter-button.is-filtered { border-color: #ffbd70; color: var(--orange); background: #fff8ed; }
.filter-button.is-filtered i { color: var(--orange); }
.filter-button.is-filtered span { display: block; }
.order-scope-menu { position: absolute; z-index: 20; right: 0; top: calc(100% + 8px); width: 136px; padding: 7px; border: 1px solid #ffe0b0; border-radius: 10px; background: #fff; box-shadow: 0 14px 32px rgba(31,41,55,.16); }
.order-scope-menu[hidden] { display: none; }
.order-scope-menu h3 { margin: 0 0 7px; color: #202631; font-size: 14px; font-weight: 800; }
.order-scope-menu label { display: block; cursor: pointer; }
.order-scope-menu label input { position: absolute; opacity: 0; pointer-events: none; }
.order-scope-menu label span { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 9px; border-radius: 7px; color: #4b5565; font-size: 13px; }
.order-scope-menu label span i { color: #8b95a3; font-size: 16px; }
.order-scope-menu label input:checked + span { color: #e96f00; background: #fff4e3; font-weight: 700; }
.order-scope-menu label input:checked + span i { color: var(--orange); }
.order-scope-menu > div { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 9px; padding-top: 9px; border-top: 1px solid #edf1f6; }
.order-scope-menu > div button { height: 30px; border: 1px solid #dce3ec; border-radius: 7px; color: #596476; background: #fff; font-size: 12px; }
.order-scope-menu > div button:last-child { border-color: var(--orange); color: #fff; background: var(--orange); font-weight: 700; }
.order-list { display: grid; margin-top: 14px; overflow: hidden; border-radius: 10px; background: #fff; box-shadow: 0 7px 20px rgba(30,55,80,.045); }
.load-more-orders { display: flex; align-items: center; justify-content: center; gap: 3px; width: 100%; height: 38px; margin: 10px 0 2px; color: #7d8797; background: transparent; font-size: 13px; }
.load-more-orders[hidden] { display: none; }
.load-more-orders i { font-size: 17px; }
.load-more-orders.is-loading i { animation: order-load-spin .7s linear infinite; }
@keyframes order-load-spin { to { transform: rotate(360deg); } }
.order-card { padding: 15px 17px 16px; border-bottom: 1px solid #edf1f6; border-radius: 0; box-shadow: none; }
.order-card:last-child { border-bottom: 0; }
.order-meta { display: grid; grid-template-columns: minmax(0,1fr) 46px 52px; gap: 10px; align-items: center; color: #7d8797; font-size: 14px; }
.order-meta span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.order-meta button { display: grid; place-items: center; width: 40px; height: 24px; border-radius: 6px; color: #111827; background: #f4f5f7; font-size: 12px; }
.order-meta strong { color: var(--orange); text-align: right; font-size: 15px; font-weight: 700; }
.order-meta strong.refunded { color: #ff3b30; }
.order-meta strong.completed { color: #1683d8; }
.order-meta strong.settled { color: #16a05d; }
.order-row { display: grid; grid-template-columns: 68px minmax(0,1fr) 116px; gap: 14px; align-items: center; margin-top: 16px; }
.product-thumb { display: block; width: 68px; height: 68px; border-radius: 7px; object-fit: cover; background: #f3f5f8; }
.brand-mark { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 8px; color: #1593dc; background: #ffe300; font-size: 25px; font-weight: 900; line-height: 1; }
.brand-mark.jd { color: #fff; background: #e92318; font-size: 16px; }
.brand-mark.tmall { color: #fff; background: #25b429; font-size: 13px; }
.brand-mark.mi { color: #fff; background: #ff6b00; font-size: 20px; }
.order-info small { display: none; }
.order-info h2 { display: -webkit-box; margin: 5px 0 10px; overflow: hidden; color: #070b12; font-size: 16px; line-height: 1.45; font-weight: 500; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.order-row dl { display: grid; grid-template-columns: 58px 1fr; gap: 12px 6px; margin: 0; color: #7d8797; font-size: 13px; }
.order-row dt { white-space: nowrap; }
.order-row dd { margin: 0; color: #070b12; font-size: 15px; font-weight: 700; text-align: right; white-space: nowrap; }
.order-row dd.money { color: var(--orange); }
time { display: block; color: #8f99a8; font-size: 13px; }
.plain-header { border-bottom: 1px solid var(--line); }
.back-button { justify-self: start; width: 36px; height: 44px; font-size: 36px; line-height: 1; }
.secret-tabs { position: sticky; top: 54px; z-index: 4; display: grid; grid-template-columns: repeat(3,1fr); height: 64px; background: #fff; }
.section-title { margin: 24px 0 20px; font-size: 21px; }
.activity-card { margin-bottom: 20px; padding: 12px 12px 22px; }
.activity-cover { position: relative; overflow: hidden; border-radius: 4px; }
.activity-cover img, .activity-card img { display: block; width: 100%; height: 132px; object-fit: cover; border-radius: 2px; }
.activity-cover span { position: absolute; left: 12px; bottom: 10px; padding: 4px 9px; border-radius: 999px; color: #0b8f4a; background: #dcfce7; font-size: 12px; font-weight: 700; }
.activity-card h3 { margin-top: 18px; font-size: 18px; }
.activity-card p { margin-top: 14px; color: #77808d; font-size: 15px; }
.activity-info { display: grid; grid-template-columns: 72px 1fr; gap: 10px; margin-top: 16px; padding: 12px; border-radius: 8px; background: #fafbfc; font-size: 14px; }
.activity-info span { color: #9aa2ad; }
.activity-info strong { color: #202631; font-weight: 600; }
.activity-card button { display: block; width: 86%; height: 46px; margin: 28px auto 0; border-radius: 24px; color: #fff; background: linear-gradient(135deg,var(--orange-2),var(--orange)); box-shadow: 0 4px 10px rgba(255,138,0,.28); font-size: 16px; font-weight: 600; }
.activity-card-small {
  display: grid;
  grid-template-columns: 57% 1fr;
  gap: 14px;
  align-items: stretch;
  min-height: 124px;
  margin: 0 0 14px;
  padding: 11px;
  border: 0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(255, 138, 0, .07);
}
.activity-left-panel {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: space-between;
  padding: 7px 7px 0;
  border-radius: 8px;
  background: linear-gradient(180deg, #fff3e4, #ffecdc);
}
.activity-copy {
  display: flex;
  min-height: 48px;
  flex-direction: column;
  justify-content: center;
}
.activity-card-small .activity-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 5px;
  margin-bottom: 0;
  margin-right: -7px;
  margin-left: -7px;
  overflow: hidden;
  border-radius: 7px;
  background: #fff;
}
.activity-card-small .activity-cover img,
.activity-card-small img {
  width: 100%;
  aspect-ratio: 687 / 220;
  height: auto;
  min-height: 0;
  border-radius: 7px;
  object-fit: contain;
}
.activity-card-small .activity-cover span { left: 7px; bottom: 7px; padding: 3px 7px; font-size: 11px; }
.activity-small-body { display: flex; min-width: 0; flex-direction: column; justify-content: space-between; padding: 16px 1px 1px 0; }
.activity-title-line { display: contents; }
.activity-title-line span { display: none; }
.activity-left-panel h3 { margin-top: 0; overflow: hidden; color: #202631; font-size: 15px; line-height: 20px; font-weight: 800; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.activity-left-panel p { margin-top: 3px; overflow: hidden; color: #9aa2ad; font-size: 12px; line-height: 16px; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.activity-card-small h3 { margin: 0; }
.activity-card-small p { margin: 0; }
.activity-card-small .activity-info {
  display: block;
  margin-top: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 14px;
  line-height: 19px;
}
.activity-card-small .activity-info div { display: flex; align-items: baseline; gap: 0; min-width: 0; white-space: nowrap; }
.activity-card-small .activity-info div + div { margin-top: 6px; }
.activity-card-small .activity-info span { color: #202631; }
.activity-card-small .activity-info span { font-size: 13px; }
.activity-card-small .activity-info strong { color: #202631; font-size: 15px; font-weight: 500; white-space: nowrap; }
.activity-card-small .activity-info strong.activity-code-text { color: var(--orange); }
.activity-card-small .activity-date-row { align-items: flex-start; }
.activity-card-small .activity-date-row strong { display: inline-block; font-size: 13px; line-height: 17px; transform: translateY(-1px); }
.activity-card-small .activity-date-row em { display: block; font-style: normal; white-space: nowrap; }
.activity-card-small button {
  align-self: end;
  width: 90%;
  height: 33px;
  margin: auto 0 0 auto;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff9f17, #ff7600);
  box-shadow: 0 6px 12px rgba(255, 118, 0, .2);
  font-size: 13px;
  font-weight: 800;
}
.activity-card-small button:disabled {
  color: rgba(255,255,255,.94);
  background: linear-gradient(135deg, #ffb547, #ff8a00);
  box-shadow: 0 8px 18px rgba(255, 138, 0, .24);
}
.activity-card-small button.is-loading {
  position: relative;
  overflow: hidden;
}
.activity-card-small button.is-loading::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.36), transparent);
  transform: translateX(-100%);
  animation: applyShine 1.1s infinite;
}
@keyframes applyShine {
  to { transform: translateX(100%); }
}
.secret-item {
  display: flex;
  height: 144px;
  min-height: 144px;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(255,138,0,.07);
}
.secret-item > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.secret-item h3 { font-size: 16px; }
.secret-item p { margin-top: 0; color: #667085; font-size: 12px; line-height: 18px; }
.secret-item strong { color: var(--orange); }
.secret-item .secret-item-head { min-width: 0; }
.secret-item .secret-item-head h3 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.secret-item .secret-id-row { min-height: 22px; justify-content: flex-start; gap: 18px; }
.secret-item .secret-id-row p { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.secret-item .secret-time-action-row {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 8px;
}
.secret-item .secret-time-list { display: block; min-width: 0; }
.badge { display: inline-block; padding: 4px 8px; border-radius: 999px; background: #eef6ff; color: #147fcf; font-size: 12px; }
.badge.pending { background: #fff6e8; color: #c77712; }
.badge.approved { background: #e9f9f0; color: #16934f; }
.badge.rejected, .badge.expired { background: #fff0f0; color: #d12b2b; }
.secret-item-invalid {
  height: 144px;
  min-height: 144px;
}
.secret-item-invalid .secret-time-list p { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.reapply-secret-btn {
  width: auto;
  min-width: 66px;
  height: 28px;
  margin: 0;
  padding: 0 10px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--orange-2), var(--orange));
  box-shadow: 0 5px 12px rgba(255, 138, 0, .16);
  font-size: 12px;
  font-weight: 700;
}
.reapply-secret-btn:disabled {
  opacity: .72;
}
.user-panel { position: relative; display: flex; gap: 16px; align-items: center; margin-top: 16px; padding: 22px; overflow: hidden; background: linear-gradient(135deg,var(--orange-2),var(--orange)); color: #fff; }
.user-panel::after { position: absolute; right: -28px; top: -34px; width: 118px; height: 118px; border-radius: 50%; content: ""; background: rgba(255,255,255,.14); }
.avatar { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: rgba(255,255,255,.22); font-size: 26px; font-weight: 700; }
.profile-stats { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 14px; padding: 18px 0; text-align: center; }
.profile-stats strong { display: block; font-size: 24px; }
.profile-stats span { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; }
.withdraw-card { margin-top: 14px; padding: 16px; }
.withdraw-card h2 { margin-bottom: 12px; font-size: 17px; }
.withdraw-card input:focus { border-color: var(--orange); outline: none; box-shadow: 0 0 0 3px rgba(255,138,0,.12); }
.menu-list { margin-top: 14px; overflow: hidden; }
.menu-list button { display: flex; justify-content: space-between; width: 100%; min-height: 54px; padding: 0 18px; border-bottom: 1px solid var(--line); text-align: left; }
.menu-list b { color: #b4bdc9; font-size: 24px; font-weight: 400; }
.empty-card { padding: 28px; text-align: center; color: var(--muted); }
.bottom-nav { position: fixed; left: 50%; bottom: 0; z-index: 10; display: grid; grid-template-columns: repeat(4,1fr); width: min(100vw,var(--shell-max)); height: calc(71px + env(safe-area-inset-bottom)); border-top: 1px solid #eef2f7; border-radius: 14px 14px 0 0; background: rgba(255,255,255,.97); box-shadow: 0 -8px 24px rgba(30,55,80,.08); transform: translateX(-50%); }
.bottom-nav.nav-count-3 { grid-template-columns: repeat(3,1fr); }
.bottom-nav.nav-count-4 { grid-template-columns: repeat(4,1fr); }
.bottom-nav::after { position: absolute; left: 50%; bottom: 6px; width: 132px; height: 4px; border-radius: 99px; content: ""; background: #050505; transform: translateX(-50%); }
.bottom-nav button { display: grid; gap: 4px; place-items: center; align-content: center; padding-bottom: 12px; color: #818898; font-size: 13px; font-weight: 500; }
.bottom-nav button.active { color: var(--orange); }
.nav-icon { display: grid; place-items: center; width: 26px; height: 26px; font-size: 26px; }
.toast { position: fixed; left: 50%; bottom: 88px; z-index: 80; max-width: 320px; padding: 10px 16px; border-radius: 8px; color: #fff; background: rgba(26,31,38,.88); opacity: 0; pointer-events: none; transform: translate(-50%,10px); transition: .2s; }
.toast.show { opacity: 1; transform: translate(-50%,0); }
.center-tip {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 130;
  max-width: 82vw;
  padding: 14px 22px;
  border-radius: 16px;
  color: #fff;
  background: rgba(20, 24, 32, .86);
  box-shadow: 0 18px 38px rgba(15, 23, 42, .22);
  font-size: 15px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -46%) scale(.96);
  transition: opacity .18s ease, transform .18s ease;
  white-space: nowrap;
}
.center-tip.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.apply-loading-mask {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  background: rgba(15, 23, 42, .18);
  backdrop-filter: blur(3px);
}
.apply-loading-box {
  display: grid;
  place-items: center;
  width: 156px;
  height: 156px;
  border-radius: 34px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 18px 48px rgba(30,55,80,.22);
  color: #111827;
}
.apply-loading-box span {
  width: 42px;
  height: 42px;
  border: 4px solid rgba(255,138,0,.18);
  border-top-color: var(--orange);
  border-radius: 50%;
  animation: applySpin .8s linear infinite;
}
.apply-loading-box strong {
  margin-top: 10px;
  color: var(--orange);
  font-size: 17px;
  font-weight: 800;
}
.apply-loading-box p {
  margin-top: -4px;
  color: #667085;
  font-size: 14px;
}
@keyframes applySpin {
  to { transform: rotate(360deg); }
}
@media (max-width: 563px) {
  .phone-shell { max-width: none; box-shadow: none; }
}
@media(max-width:480px){
  :root { --page-pad: 16px; }
  .date-tabs { grid-template-columns: repeat(6,minmax(0,1fr)) 32px; height: 54px; padding: 0 9px; }
  .date-tabs button { font-size: 15px; line-height: 18px; white-space: nowrap; }
  .summary-grid { gap: 7px; }
  .summary-grid article { grid-template-columns: 30px minmax(0,1fr); grid-template-rows: 30px 34px; column-gap: 4px; min-height: 92px; padding: 16px 5px 9px 9px; }
  .mini-icon { width: 30px; height: 30px; font-size: 18px; }
  .summary-grid p { font-size: 13px; line-height: 16px; }
  .summary-grid strong { font-size: 27px; }
  .summary-grid em { font-size: 11px; }
  .filter-card { grid-template-columns: minmax(0,1fr) 38px; gap: 7px; margin-top: 16px; }
  .order-status-tabs { gap: 6px; }
  .order-status-tabs button { min-width: 60px; height: 36px; padding: 0 10px; font-size: 14px; }
  .filter-button { width: 38px; height: 36px; }
  .order-row { grid-template-columns: 68px minmax(0,1fr) 112px; gap: 12px; }
  .order-card { padding-right: 14px; padding-left: 17px; }
  .order-info h2 { font-size: 15px; line-height: 1.45; }
  .order-row dl { grid-template-columns: 56px 1fr; gap: 12px 5px; font-size: 13px; }
  .order-row dd { font-size: 15px; }
}
@media(max-width:360px){
  :root { --page-pad: 12px; }
  .date-tabs { grid-template-columns: repeat(6,1fr) 30px; padding: 0 6px; }
  .date-tabs button { font-size: 14px; }
  .order-status-tabs button{min-width:52px;padding:0 10px}
  .order-meta { grid-template-columns: minmax(0,1fr) 42px 48px; font-size: 12px; }
  .order-row dl { font-size: 12px; }
  .order-row dd { font-size: 14px; }
}

/* Effect 2 mobile H5 direction */
:root {
  --shell-max: 390px;
  --page-pad: 14px;
}
body { background: #eef2f6; }
.phone-shell { max-width: var(--shell-max); background: #fff; box-shadow: 0 16px 42px rgba(30,55,80,.12); }
.page { background: #f7f8fb; }
.app-header { background: #fff; }
.status-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  height: 34px;
  padding: 9px 28px 0;
  color: #111827;
  font-size: 14px;
  font-weight: 700;
}
#page-orders .status-row,
#page-profile .status-row {
  display: none;
}

#page-secret .plain-header {
  display: none;
}

#page-secret .secret-tabs {
  top: 0;
}
#page-secret #secretTitle {
  display: none;
}
#page-secret .content-with-tabbar {
  padding-top: 12px;
}
.phone-icons { gap: 3px; font-size: 14px; }
.title-row {
  grid-template-columns: 36px 1fr;
  min-height: 58px;
  padding: 0 24px;
}
.title-row h1 {
  font-size: 22px;
  line-height: 1;
  font-weight: 800;
}
.brand-badge {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  font-size: 20px;
}
.top-actions {
  gap: 10px;
}
.top-actions button {
  width: 30px;
  height: 30px;
  font-size: 18px;
}
.top-actions button:first-child {
  font-size: 21px;
}
.top-actions em {
  top: -5px;
  right: -5px;
  min-width: 18px;
  height: 18px;
  font-size: 11px;
}
.content {
  padding: 0 var(--page-pad) 18px;
}
.content-with-tabbar {
  padding-bottom: calc(88px + env(safe-area-inset-bottom));
}
#page-secret .content-with-tabbar {
  padding-top: 12px;
}
.notice-card {
  grid-template-columns: 22px 62px 1fr 16px;
  height: 30px;
  margin: 0 0 10px;
  padding: 0 9px 0 10px;
  border-radius: 6px;
  column-gap: 5px;
}
.notice-card > i {
  width: 20px;
  height: 20px;
  font-size: 18px;
}
.notice-card strong {
  font-size: 13px;
  line-height: 30px;
}
.notice-card span {
  font-size: 11px;
  line-height: 30px;
}
.notice-card b {
  font-size: 18px;
}
.income-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 111px;
  padding: 10px 16px;
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(255,138,0,.2);
}
.income-card p {
  position: relative;
  z-index: 1;
  gap: 8px;
  font-size: 15px;
  line-height: 18px;
}
.income-card p i {
  font-size: 15px;
}
.income-card strong {
  position: relative;
  z-index: 1;
  margin-top: 8px;
  font-size: 42px;
  line-height: .95;
  font-weight: 600;
}
.income-card span {
  margin-top: 15px;
  padding: 5px 12px;
  font-size: 12px;
}
.income-card > i,
.income-card::after,
.income-card::before {
  right: 31px;
  bottom: 14px;
  width: 16px;
  height: 47px;
}
.income-card::before {
  right: 67px;
  height: 28px;
}
.income-card::after {
  right: 13px;
  height: 43px;
  opacity: .18;
}
.income-card > i::before {
  right: -1px;
  bottom: 6px;
  width: 118px;
  height: 52px;
}
.income-card > i::after {
  right: 0;
  bottom: 39px;
  width: 76px;
  height: 76px;
}
.date-tabs {
  grid-template-columns: repeat(6,minmax(0,1fr)) 28px;
  height: 46px;
  margin: 10px 0 11px;
  padding: 0 8px;
  border-radius: 7px;
}
.date-tabs button {
  height: 38px;
  font-size: 12px;
}
.date-tabs .calendar-tab {
  font-size: 18px;
}
.summary-grid {
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 10px;
}
.summary-grid .fan-summary-card.is-hidden {
  display: none;
}
.summary-grid article {
  grid-template-columns: 42px minmax(0,1fr);
  grid-template-rows: 26px 28px 18px;
  min-height: 82px;
  padding: 14px 12px 10px;
  column-gap: 10px;
  align-items: center;
  border-radius: 8px;
}
.mini-icon {
  grid-row: 1 / 4;
  width: 38px;
  height: 38px;
  font-size: 20px;
}
.summary-grid p {
  font-size: 13px;
  line-height: 16px;
}
.summary-value {
  align-items: baseline;
  gap: 4px;
}
.summary-grid strong {
  font-size: 26px;
  line-height: 1;
}
.summary-grid em {
  font-size: 11px;
  line-height: 13px;
}
.filter-card {
  grid-template-columns: minmax(0,1fr) 34px;
  gap: 7px;
  margin-top: 16px;
}
.order-status-tabs {
  gap: 7px;
}
.order-status-tabs button {
  min-width: 50px;
  height: 30px;
  padding: 0 10px;
  border-radius: 6px;
  font-size: 12px;
}
.filter-button {
  width: 34px;
  height: 30px;
  border-radius: 7px;
}
.filter-button i {
  font-size: 18px;
}
.order-list {
  margin-top: 10px;
  border-radius: 10px;
}
.order-card {
  padding: 13px 12px 13px;
}
.order-meta {
  grid-template-columns: minmax(0,1fr) 42px 48px;
  gap: 8px;
  font-size: 12px;
}
.order-meta button {
  width: 38px;
  height: 22px;
  font-size: 12px;
}
.order-meta strong {
  font-size: 13px;
}
.order-row {
  grid-template-columns: 50px minmax(0,1fr) 86px;
  gap: 10px;
  margin-top: 12px;
}
.product-thumb {
  width: 50px;
  height: 50px;
  border-radius: 7px;
}
.order-info h2 {
  margin: 0 0 7px;
  font-size: 12px;
  line-height: 1.42;
  font-weight: 600;
}
time {
  font-size: 11px;
}
.order-row dl {
  grid-template-columns: 48px 1fr;
  gap: 8px 5px;
  font-size: 11px;
}
.order-row dd {
  font-size: 12px;
}
.bottom-nav {
  width: min(100vw,var(--shell-max));
  height: calc(72px + env(safe-area-inset-bottom));
  border-radius: 18px 18px 0 0;
}
.bottom-nav button {
  padding-bottom: 12px;
  font-size: 12px;
}
.nav-icon {
  width: 24px;
  height: 24px;
  font-size: 24px;
}

#page-account .title-row h1 { text-align: left; }
.account-content { display: grid; gap: 12px; padding-top: 4px; }
.account-status-card,
.account-add-card,
.xhs-account-card {
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 7px 20px rgba(30,55,80,.06);
}
.account-status-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px;
}
.account-status-card > div {
  display: grid;
  grid-template-columns: 40px minmax(0,1fr);
  column-gap: 10px;
  align-items: center;
  min-width: 0;
}
.xhs-logo {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg,#ffb800,#ff7a00);
  font-size: 22px;
}
.account-status-card strong,
.account-add-card strong { color: #101828; font-size: 16px; font-weight: 800; }
.account-status-card p,
.account-add-card p { margin-top: 4px; overflow: hidden; color: #7d8797; font-size: 12px; line-height: 16px; white-space: nowrap; text-overflow: ellipsis; }
.account-status-card button {
  flex: 0 0 auto;
  height: 34px;
  padding: 0 14px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg,var(--orange-2),var(--orange));
  font-size: 13px;
  font-weight: 700;
}
.xhs-status-valid {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0 10px;
  border: 0;
  color: #7d8797;
  background: #f4f6f9;
  white-space: nowrap;
}
.xhs-status-valid i { font-size: 15px; }
.xhs-status-valid span { font-size: 12px; }
.xhs-status-valid.is-valid {
  color: #16a05e;
  background: #eafaf2;
}
.xhs-status-valid.is-invalid {
  color: #ff3b30;
  background: #fff0ef;
}
.xhs-status-valid.is-unknown {
  color: #7d8797;
  background: #f4f6f9;
}
.xhs-status-valid:disabled { opacity: .65; }
.account-add-card {
  display: grid;
  grid-template-columns: 42px minmax(0,1fr);
  gap: 10px;
  align-items: center;
  padding: 14px 15px;
}
.account-add-card > i { color: var(--orange); font-size: 34px; }
.xhs-select-toolbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  min-height: 44px;
  padding: 7px 10px 7px 13px;
  border: 1px solid #edf1f6;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(30,55,80,.045);
}
.xhs-select-toolbar.is-hidden { display: none; }
.xhs-select-toolbar label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #344054;
  font-size: 13px;
  font-weight: 700;
}
.xhs-select-toolbar label input,
.xhs-select-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.xhs-select-toolbar label span,
.xhs-select-check span {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1.5px solid #d5dce7;
  border-radius: 6px;
  color: transparent;
  background: #fff;
  transition: .16s ease;
}
.xhs-select-toolbar label input:checked + span,
.xhs-select-toolbar label input:indeterminate + span,
.xhs-select-check input:checked + span {
  border-color: var(--orange);
  color: #fff;
  background: var(--orange);
}
.xhs-select-toolbar em {
  color: #8b95a3;
  font-size: 12px;
  font-style: normal;
}
.xhs-select-toolbar button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 30px;
  padding: 0 11px;
  border: 1px solid #ffd0ca;
  border-radius: 8px;
  color: #f04438;
  background: #fff5f4;
  font-size: 12px;
  font-weight: 700;
}
.xhs-select-toolbar button:disabled { opacity: .42; }
.xhs-account-list { display: grid; gap: 12px; }
.xhs-account-card {
  padding: 14px;
  border: 1px solid transparent;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.xhs-account-card.is-selected {
  border-color: #ffc46f;
  box-shadow: 0 7px 20px rgba(255,138,0,.11);
}
.xhs-account-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #edf1f6;
}
.xhs-account-card header > div:first-of-type {
  min-width: 0;
  flex: 1;
}
.xhs-select-check {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  cursor: pointer;
}
.xhs-account-card header strong { color: #101828; font-size: 17px; }
.xhs-account-card header p { margin-top: 4px; color: #8b95a3; font-size: 12px; }
.xhs-account-card header button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  color: var(--orange);
  background: #fff7e6;
  font-size: 18px;
}
.xhs-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.xhs-card-actions button { border: 0; }
.xhs-valid-btn.is-valid {
  color: #18b46b;
  background: #eafaf2;
}
.xhs-valid-btn.is-invalid {
  color: #ff3b30;
  background: #fff0ef;
}
.xhs-valid-btn.is-unknown {
  color: #8b95a3;
  background: #f4f6f9;
}
.xhs-valid-line {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 9px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}
.xhs-valid-line em {
  color: #98a2b3;
  font-style: normal;
  font-weight: 500;
}
.xhs-valid-line.is-valid {
  color: #18a864;
  background: #eafaf2;
}
.xhs-valid-line.is-invalid {
  color: #ff3b30;
  background: #fff0ef;
}
.xhs-valid-line.is-unknown {
  color: #7d8797;
  background: #f4f6f9;
}
.xhs-metric-list { display: grid; gap: 8px; margin-top: 10px; }
.xhs-metric-list section {
  display: grid;
  grid-template-columns: 24px minmax(0,1fr) 84px;
  gap: 8px;
  align-items: center;
  padding: 9px;
  border-radius: 9px;
  background: #fafbfc;
}
.xhs-metric-list b {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: #fff;
  background: var(--orange);
  font-size: 12px;
}
.xhs-metric-list p { overflow: hidden; color: #121722; font-size: 13px; font-weight: 700; line-height: 18px; white-space: nowrap; text-overflow: ellipsis; }
.xhs-metric-list span { display: block; margin-top: 2px; color: #8b95a3; font-size: 11px; }
.xhs-metric-list dl { display: grid; grid-template-columns: 34px 1fr; gap: 4px 3px; margin: 0; color: #7d8797; font-size: 11px; }
.xhs-metric-list dd { margin: 0; color: #111827; font-weight: 800; text-align: right; }
.xhs-account-card footer { margin-top: 10px; color: #98a2b3; font-size: 11px; text-align: right; }
.empty-mini { padding: 14px; color: #8b95a3; font-size: 12px; text-align: center; }
.xhs-dialog-mask {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(15,23,42,.32);
}
.xhs-dialog {
  position: relative;
  width: min(88vw, 348px);
  padding: 24px 18px 18px;
  border: 1px solid #ffe0a7;
  border-radius: 16px;
  background: linear-gradient(180deg,#fffaf0,#fff);
  box-shadow: 0 18px 48px rgba(255,138,0,.18), 0 12px 30px rgba(15,23,42,.12);
  text-align: center;
}
.xhs-dialog-close {
  position: absolute;
  right: 12px;
  top: 10px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #8b95a3;
  font-size: 20px;
}
.xhs-dialog-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(135deg,var(--orange-2),var(--orange));
  font-size: 26px;
}
.xhs-dialog h3 { margin: 0; color: #111827; font-size: 19px; font-weight: 800; }
.xhs-dialog > p { margin: 10px 0 14px; color: #667085; font-size: 13px; line-height: 20px; }
.xhs-qr-box {
  display: grid;
  place-items: center;
  min-height: 230px;
  overflow: hidden;
  border: 1px solid #fff0ce;
  border-radius: 12px;
  background: #fff;
}
.xhs-qr-box img { display: block; width: 100%; height: auto; }
.xhs-qr-box span { color: #8b95a3; font-size: 13px; }
.xhs-dialog-primary {
  width: 100%;
  height: 40px;
  margin-top: 14px;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(135deg,var(--orange-2),var(--orange));
  box-shadow: 0 8px 18px rgba(255,138,0,.22);
  font-size: 15px;
  font-weight: 700;
}
.xhs-dialog-secondary {
  width: 100%;
  height: 38px;
  margin-top: 12px;
  border: 1px solid #ffe0a7;
  border-radius: 19px;
  color: var(--orange);
  background: #fff7e6;
  font-size: 14px;
  font-weight: 700;
}
.xhs-dialog-secondary:disabled { opacity: .62; }
.xhs-dialog-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}
.xhs-dialog-actions .xhs-dialog-primary,
.xhs-dialog-actions .xhs-dialog-secondary {
  height: 40px;
  margin-top: 0;
}
.xhs-delete-dialog .xhs-dialog-icon {
  background: linear-gradient(135deg,#ff7169,#f04438);
}
.app-message-mask { z-index: 140; }
.app-message-dialog { width: min(84vw, 320px); padding: 22px 18px 18px; }
.app-message-dialog > p { min-height: 40px; margin: 10px 4px 0; white-space: pre-wrap; }
.app-message-dialog .xhs-dialog-actions.single-action { grid-template-columns: 1fr; }
.app-message-mask.is-error .xhs-dialog-icon { color: #ff6b35; background: #fff0e8; }
.app-message-mask.is-confirm .xhs-dialog-icon { background: linear-gradient(135deg,var(--orange-2),var(--orange)); }
.app-message-dialog button:focus-visible { outline: 3px solid rgba(255,138,0,.2); outline-offset: 2px; }
.withdraw-inline > button:disabled { cursor: wait; opacity: .62; }
.xhs-form-dialog label {
  display: block;
  margin-top: 12px;
  color: #5f6672;
  font-size: 13px;
  text-align: left;
}
.xhs-form-dialog input,
.xhs-form-dialog textarea {
  width: 100%;
  margin-top: 6px;
  border: 1px solid #e3e9f2;
  border-radius: 9px;
  outline: none;
}
.xhs-form-dialog input {
  height: 40px;
  padding: 0 12px;
}
.xhs-form-dialog textarea {
  min-height: 150px;
  padding: 10px 12px;
  resize: vertical;
  color: #202735;
  background: #fff;
  font: inherit;
  line-height: 22px;
}
.xhs-form-dialog input:focus,
.xhs-form-dialog textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,138,0,.12); }
.xhs-batch-hint {
  margin: 7px 0 2px !important;
  color: #8b95a3 !important;
  font-size: 12px !important;
}
.xhs-batch-count {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 7px;
  color: #98a2b3;
  font-size: 11px;
}
.xhs-batch-count b {
  color: var(--orange);
  font-size: 12px;
}
.xhs-code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 104px;
  gap: 9px;
  align-items: end;
}
.xhs-code-row .xhs-dialog-secondary {
  height: 40px;
  margin-top: 0;
  white-space: nowrap;
}

.payment-dialog {
  width: min(90vw, 360px);
}

.payment-dialog .xhs-dialog-icon {
  background: linear-gradient(135deg,#22a7ff,#1677ff);
}

.withdraw-record-dialog {
  width: min(90vw, 372px);
}

.withdraw-record-list {
  display: grid;
  gap: 10px;
  max-height: 52vh;
  margin-top: 12px;
  overflow: auto;
  text-align: left;
}

.withdraw-record-list article {
  padding: 12px;
  border: 1px solid #fff0ce;
  border-radius: 12px;
  background: #fffaf2;
}

.withdraw-record-list article div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.withdraw-record-list strong {
  color: #ff7800;
  font-size: 18px;
  line-height: 22px;
}

.withdraw-record-list span {
  flex: 0 0 auto;
  padding: 3px 8px;
  border-radius: 999px;
  color: #ff7800;
  background: #fff2dd;
  font-size: 12px;
  font-weight: 800;
}

.withdraw-record-list span.approved {
  color: #18a765;
  background: #e9fbf2;
}

.withdraw-record-list span.rejected {
  color: #ff3b30;
  background: #fff0f0;
}

.withdraw-record-list p {
  margin-top: 5px;
  color: #667085;
  font-size: 12px;
  line-height: 18px;
}

.withdraw-record-empty {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 120px;
  color: #98a2b3;
  border: 1px dashed #ffd089;
  border-radius: 12px;
  background: #fffaf2;
  font-size: 13px;
}

.withdraw-record-empty i {
  color: #ff8a00;
  font-size: 28px;
}

.payment-upload-label input {
  display: none;
}

.payment-upload-label span {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  margin-top: 6px;
  padding: 0 12px;
  border: 1px dashed #ffd089;
  border-radius: 10px;
  color: var(--orange);
  background: #fff9ed;
  font-weight: 700;
}

.payment-upload-label i {
  font-size: 18px;
}

.payment-upload-label b {
  font-size: 13px;
}

@media(max-width:480px){
  .phone-shell { max-width: none; box-shadow: none; }
}
@media(max-width:360px){
  :root { --page-pad: 12px; }
  .title-row { padding: 0 16px; }
  .summary-grid { gap: 8px; }
  .summary-grid article { padding: 12px 8px; column-gap: 7px; }
  .order-row { grid-template-columns: 48px minmax(0,1fr) 78px; gap: 8px; }
  .product-thumb { width: 48px; height: 48px; }
  .order-row dl { grid-template-columns: 42px 1fr; font-size: 10px; }
  .order-row dd { font-size: 11px; }
}

/* Profile page - selected concept 3 */
.profile-header {
  position: sticky;
  top: 0;
  z-index: 5;
  overflow: hidden;
  border-bottom: 1px solid #edf1f6;
  background: rgba(255,255,255,.98);
}
.profile-title-row {
  display: grid;
  grid-template-columns: 56px 1fr 76px;
  align-items: center;
  min-height: 58px;
  padding: 0 24px;
}
.profile-title-row h1 {
  margin: 0;
  color: #070b12;
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}
.profile-content {
  padding-top: 14px;
}
.profile-hero {
  position: relative;
  min-height: 196px;
  overflow: hidden;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg,#ffb51b 0%,#ff9700 48%,#ff8700 100%);
  box-shadow: 0 14px 28px rgba(255,138,0,.19);
  padding: 24px 18px 18px;
}
.profile-avatar {
  position: absolute;
  left: 18px;
  top: 24px;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 3px solid rgba(255,255,255,.78);
  border-radius: 50%;
  color: #aeb7c5;
  background: linear-gradient(180deg,#f7f9fc,#e9eef6);
  font-size: 40px;
  box-shadow: 0 10px 22px rgba(138,70,0,.12);
}
.profile-main {
  min-height: 62px;
  padding: 3px 84px 0 78px;
}
.profile-main h2 {
  margin: 0;
  color: #fff;
  font-size: 25px;
  font-weight: 800;
  line-height: 30px;
  white-space: nowrap;
}
.profile-main p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  color: rgba(255,255,255,.95);
  font-size: 14px;
  line-height: 22px;
  white-space: nowrap;
}
.profile-main p span {
  display: inline-block;
  max-width: 145px;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: bottom;
}
.profile-main p button {
  height: 24px;
  min-width: 42px;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 7px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.member-badge {
  position: absolute;
  right: 122px;
  top: 34px;
  height: 26px;
  padding: 0 12px;
  border-radius: 6px;
  color: #b85c00;
  background: #ffe6a8;
  font-size: 13px;
  font-weight: 700;
  line-height: 26px;
}
.profile-watermark {
  position: absolute;
  right: 12px;
  top: 28px;
  color: rgba(255,255,255,.13);
  font-size: 86px;
}
.profile-money-grid {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  display: grid;
  grid-template-columns: repeat(3,1fr);
}
.profile-money-grid article {
  min-width: 0;
  padding: 0 12px 0 20px;
  border-right: 1px solid rgba(255,255,255,.32);
}
.profile-money-grid article:last-child {
  border-right: 0;
}
.profile-money-grid p {
  color: rgba(255,255,255,.95);
  font-size: 13px;
  line-height: 18px;
  white-space: nowrap;
}
.profile-money-grid strong {
  display: block;
  margin-top: 9px;
  color: #fff;
  font-size: 30px;
  line-height: 1;
  font-weight: 800;
  white-space: nowrap;
}
.profile-money-grid button {
  display: inline-flex;
  align-items: center;
  margin-top: 9px;
  color: rgba(255,255,255,.95);
  font-size: 13px;
}
.profile-withdraw {
  margin-top: 14px;
  padding: 17px 14px 15px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 7px 22px rgba(30,55,80,.07);
}
.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.panel-title h2 {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #121722;
  font-size: 19px;
  line-height: 24px;
  font-weight: 800;
}
.panel-title h2 i {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  color: #fff;
  background: var(--orange);
  font-size: 15px;
}
.panel-title > button {
  display: flex;
  align-items: center;
  color: #8b95a3;
  font-size: 14px;
}
.withdraw-inline {
  display: grid;
  grid-template-columns: minmax(0,1fr) 92px;
  gap: 10px;
  margin-top: 17px;
}
.withdraw-inline label {
  display: grid;
  grid-template-columns: minmax(0,1fr) 28px;
  align-items: center;
  height: 44px;
  padding: 0 13px;
  border: 1px solid #e2e8f2;
  border-radius: 9px;
  background: #fff;
}
.withdraw-inline input {
  width: 100%;
  height: 42px;
  padding: 0;
  border: 0;
  outline: 0;
  color: #121722;
  font-size: 15px;
}
.withdraw-inline label span {
  color: #111827;
  text-align: right;
  font-size: 16px;
  font-weight: 700;
}
.withdraw-inline > button {
  height: 44px;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(135deg,#ffae18,#ff7600);
  box-shadow: 0 8px 18px rgba(255,117,0,.22);
  font-size: 16px;
  font-weight: 800;
}
.profile-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 14px;
  overflow: hidden;
  border-radius: 14px;
  background: #edf1f6;
  box-shadow: 0 7px 22px rgba(30,55,80,.07);
}
.profile-actions button {
  display: grid;
  grid-template-columns: 48px minmax(0,1fr);
  grid-template-rows: 25px 22px;
  column-gap: 10px;
  align-items: center;
  min-height: 77px;
  padding: 15px 13px;
  background: #fff;
  text-align: left;
}
.action-icon {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 22px;
}
.action-icon.blue { color: #1d7df2; background: #eaf3ff; }
.action-icon.green { color: #18bf69; background: #e9faef; }
.action-icon.orange { color: #ff7900; background: #fff0e4; }
.action-icon.purple { color: #635bff; background: #f0efff; }
.profile-actions strong {
  color: #121722;
  font-size: 16px;
  line-height: 20px;
  font-weight: 800;
}
.profile-actions em {
  color: #7d8797;
  font-size: 12px;
  line-height: 18px;
  font-style: normal;
  white-space: nowrap;
}
.profile-menu {
  margin-top: 14px;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 7px 22px rgba(30,55,80,.07);
}
.profile-menu button {
  display: grid;
  grid-template-columns: 46px minmax(0,1fr) auto 18px;
  align-items: center;
  width: 100%;
  min-height: 74px;
  padding: 0 18px;
  border-bottom: 1px solid #edf1f6;
  text-align: left;
}
.profile-menu button:last-child {
  border-bottom: 0;
}
.menu-icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  font-size: 24px;
}
.menu-icon.blue { color: #1d7df2; }
.menu-icon.green { color: #18bf69; }
.menu-icon.orange { color: #ff7900; }
.menu-icon.gray { color: #7b8493; }
.profile-menu strong {
  display: block;
  color: #121722;
  font-size: 18px;
  line-height: 24px;
  font-weight: 800;
}
.profile-menu em {
  display: block;
  margin-top: 3px;
  color: #7d8797;
  font-size: 13px;
  line-height: 18px;
  font-style: normal;
}
.profile-menu b {
  color: #8b95a3;
  font-size: 22px;
  font-weight: 400;
}
.verify-text {
  color: #ff6f00;
  font-size: 15px;
  font-style: normal;
  white-space: nowrap;
}
@media(max-width:360px){
  .profile-title-row { padding: 0 16px; }
  .profile-hero { padding-left: 14px; padding-right: 14px; }
  .profile-avatar { left: 14px; width: 52px; height: 52px; font-size: 36px; }
  .profile-main { padding-left: 68px; padding-right: 70px; }
  .profile-main h2 { font-size: 21px; }
  .member-badge { right: 82px; font-size: 12px; padding: 0 8px; }
  .profile-money-grid article { padding-left: 14px; padding-right: 8px; }
  .profile-money-grid strong { font-size: 25px; }
  .profile-money-grid p,
  .profile-money-grid button { font-size: 12px; }
  .withdraw-inline { grid-template-columns: minmax(0,1fr) 82px; }
  .withdraw-inline > button { font-size: 14px; }
  .profile-actions button { grid-template-columns: 40px minmax(0,1fr); column-gap: 8px; padding: 13px 10px; }
  .action-icon { width: 38px; height: 38px; font-size: 20px; }
  .profile-actions strong { font-size: 15px; }
}

/* Profile density pass: align with homepage scale */
.profile-title-row {
  grid-template-columns: 48px 1fr 72px;
  min-height: 52px;
  padding: 0 18px;
}
.profile-title-row h1 {
  font-size: 20px;
}
.profile-content {
  padding-top: 12px;
}
.profile-hero {
  min-height: 148px;
  border-radius: 10px;
  padding: 14px 14px 12px;
}
.profile-avatar {
  left: 14px;
  top: 14px;
  width: 44px;
  height: 44px;
  border-width: 2px;
  font-size: 29px;
}
.profile-main {
  min-height: 46px;
  padding: 0 62px 0 56px;
}
.profile-main h2 {
  font-size: 20px;
  line-height: 25px;
}
.profile-main p {
  gap: 6px;
  margin-top: 3px;
  font-size: 12px;
  line-height: 18px;
}
.profile-main p span {
  max-width: 128px;
}
.profile-main p button {
  min-width: 36px;
  height: 21px;
  border-radius: 6px;
  font-size: 11px;
}
.member-badge {
  right: 88px;
  top: 26px;
  height: 22px;
  padding: 0 9px;
  border-radius: 5px;
  font-size: 12px;
  line-height: 22px;
}
.profile-watermark {
  right: 8px;
  top: 13px;
  font-size: 60px;
}
.profile-money-grid {
  bottom: 12px;
}
.profile-money-grid article {
  padding: 0 8px 0 13px;
}
.profile-money-grid p {
  font-size: 11px;
  line-height: 17px;
}
.profile-money-grid strong {
  margin-top: 3px;
  font-size: 23px;
}
.profile-money-grid button {
  margin-top: 7px;
  font-size: 12px;
}
.profile-withdraw {
  margin-top: 12px;
  padding: 14px 12px 13px;
  border-radius: 10px;
}
.panel-title h2 {
  gap: 8px;
  font-size: 17px;
  line-height: 22px;
}
.panel-title h2 i {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  font-size: 14px;
}
.panel-title > button {
  font-size: 13px;
}
.withdraw-inline {
  grid-template-columns: minmax(0,1fr) 84px;
  gap: 9px;
  margin-top: 13px;
}
.withdraw-inline label,
.withdraw-inline > button {
  height: 40px;
  border-radius: 8px;
}
.withdraw-inline input {
  height: 38px;
  font-size: 14px;
}
.withdraw-inline label span {
  font-size: 15px;
}
.withdraw-inline > button {
  font-size: 14px;
}
.profile-actions {
  margin-top: 12px;
  border-radius: 10px;
}
.profile-actions button {
  grid-template-columns: 38px minmax(0,1fr);
  grid-template-rows: 21px 18px;
  column-gap: 9px;
  min-height: 66px;
  padding: 13px 11px;
}
.action-icon {
  width: 34px;
  height: 34px;
  font-size: 18px;
}
.profile-actions strong {
  font-size: 14px;
  line-height: 18px;
}
.profile-actions em {
  font-size: 11px;
  line-height: 16px;
}
.profile-menu {
  margin-top: 12px;
  border-radius: 10px;
}
.profile-menu button {
  grid-template-columns: 38px minmax(0,1fr) auto 16px;
  min-height: 60px;
  padding: 0 14px;
}
.menu-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  font-size: 21px;
}
.profile-menu strong {
  font-size: 15px;
  line-height: 20px;
}
.profile-menu em {
  margin-top: 2px;
  font-size: 12px;
  line-height: 16px;
}
.verify-text {
  font-size: 13px;
}
.profile-menu b {
  font-size: 19px;
}
@media(max-width:360px){
  .profile-title-row { padding: 0 14px; }
  .profile-main { padding-left: 58px; padding-right: 58px; }
  .profile-main h2 { font-size: 18px; }
  .member-badge { right: 62px; top: 25px; padding: 0 7px; }
  .profile-money-grid strong { font-size: 22px; }
  .profile-actions button { grid-template-columns: 34px minmax(0,1fr); padding: 12px 9px; }
  .profile-actions strong { font-size: 13px; }
  .profile-actions em { font-size: 10px; }
}

#page-profile .profile-header {
  display: none;
}

.profile-avatar.profile-avatar-fixed {
  overflow: hidden;
  padding: 0;
  border: 3px solid rgba(255,255,255,.86);
  background: #c93434;
  box-shadow: 0 10px 22px rgba(126,38,38,.18);
}

.profile-avatar.profile-avatar-fixed svg {
  display: block;
  width: 100%;
  height: 100%;
}

.profile-main h2 {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  font-size: 17px;
}

.profile-main .member-badge {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  height: 20px;
  padding: 0 7px;
  border-radius: 999px;
  color: #b85c00;
  background: rgba(255,230,168,.96);
  font-size: 11px;
  font-weight: 800;
  line-height: 20px;
}

.profile-hero .profile-money-grid {
  bottom: 12px;
  align-items: start;
}

.profile-hero .profile-money-grid article {
  display: grid;
  grid-template-rows: 17px 29px;
  align-items: start;
  padding: 0 10px 0 14px;
}

.profile-hero .profile-money-grid p {
  margin: 0;
  line-height: 17px;
}

.profile-hero .profile-money-grid strong {
  margin-top: 3px;
  font-variant-numeric: tabular-nums;
  line-height: 29px;
}

.profile-hero .profile-money-grid button {
  display: none;
}

#page-profile .profile-content {
  padding-top: 14px;
}

.fans-header {
  position: sticky;
  top: 0;
  z-index: 6;
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  min-height: 52px;
  padding: 0 12px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.fans-header button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #202631;
  font-size: 24px;
}
.fans-header h1 {
  margin: 0;
  text-align: center;
  font-size: 18px;
  font-weight: 800;
}
.fans-content {
  padding: 14px 16px calc(86px + env(safe-area-inset-bottom));
}
.fans-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.fans-summary article {
  display: grid;
  grid-template-columns: 38px minmax(0,1fr);
  align-items: center;
  min-height: 76px;
  padding: 12px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 7px 20px rgba(30,55,80,.06);
}
.fans-summary article > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: #18b96a;
  background: #e9faef;
  font-size: 19px;
}
.fans-summary article:last-child > span {
  color: #ff8a00;
  background: #fff2e2;
}
.fans-summary p {
  margin: 0 0 4px;
  color: #7d8797;
  font-size: 12px;
}
.fans-summary strong {
  color: #151b26;
  font-size: 20px;
  line-height: 24px;
  font-weight: 800;
}
.fans-summary em {
  margin-left: 3px;
  color: #8d96a6;
  font-size: 11px;
  font-style: normal;
}
.fans-period-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  margin: 12px 0;
  padding: 4px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(30,55,80,.05);
}
.fans-period-tabs button {
  height: 36px;
  border-radius: 7px;
  color: #606b7b;
  font-size: 13px;
  font-weight: 700;
}
.fans-period-tabs button.active {
  color: #fff;
  background: #ff8a00;
  box-shadow: 0 5px 12px rgba(255,138,0,.18);
}
.fan-card {
  margin-bottom: 10px;
  padding: 13px;
  border: 1px solid rgba(255,138,0,.13);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(30,55,80,.05);
}
.fan-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.fan-card-head > span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  border-radius: 50%;
  color: #ff8a00;
  background: #fff2e2;
  font-size: 19px;
}
.fan-card-head p,
.fan-card-stats p {
  margin: 0;
  color: #8a94a3;
  font-size: 11px;
}
.fan-card-head strong {
  display: block;
  margin-top: 2px;
  color: #202631;
  font-size: 15px;
  line-height: 20px;
  font-weight: 800;
  letter-spacing: 0;
}
.fan-card-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 11px;
  overflow: hidden;
  border-radius: 8px;
  background: #f8fafc;
}
.fan-card-stats > div {
  min-height: 56px;
  padding: 9px 12px;
  border-right: 1px solid #edf1f6;
}
.fan-card-stats > div:last-child {
  border-right: 0;
}
.fan-card-stats strong {
  display: inline-block;
  margin-top: 4px;
  color: #151b26;
  font-size: 17px;
  line-height: 21px;
  font-weight: 800;
}
.fan-card-stats > div:last-child strong {
  color: #ff7900;
}
.fan-card-stats em {
  margin-left: 3px;
  color: #8a94a3;
  font-size: 11px;
  font-style: normal;
}
.fans-empty {
  display: grid;
  place-items: center;
  min-height: 150px;
  border-radius: 10px;
  color: #9aa3b1;
  background: #fff;
  box-shadow: 0 6px 18px rgba(30,55,80,.05);
}
.fans-empty i {
  font-size: 34px;
}
.fans-empty strong {
  margin-top: -34px;
  font-size: 13px;
}

#page-orders .content {
  padding-top: 3px;
}

#page-orders .order-card {
  padding-right: 16px;
}

#page-orders .order-row {
  grid-template-columns: 50px minmax(0,1fr) 94px;
  gap: 10px;
  align-items: center;
}

#page-orders .order-row dl {
  justify-self: start;
  width: 94px;
  grid-template-columns: 48px 46px;
  gap: 8px 4px;
}

#page-orders .order-row dd {
  text-align: left;
}

#page-orders .order-info h2 {
  margin-right: 2px;
}

@media(max-width:360px){
  #page-orders .order-card { padding-right: 12px; }
  #page-orders .order-row { grid-template-columns: 48px minmax(0,1fr) 84px; gap: 8px; }
  #page-orders .order-row dl { width: 84px; grid-template-columns: 42px 40px; gap: 7px 2px; }
}

#page-orders .notice-card {
  grid-template-columns: 23px 64px minmax(0,1fr) 17px;
  align-items: center;
  height: 36px;
  margin-bottom: 3px;
  padding: 0 11px;
  column-gap: 5px;
}

#page-orders .notice-card > i,
#page-orders .notice-card strong,
#page-orders .notice-card span,
#page-orders .notice-card b {
  display: flex;
  align-items: center;
  align-self: center;
  height: 36px;
  min-height: 36px;
  line-height: 1;
}

#page-orders .notice-card > i {
  justify-content: center;
  font-size: 18px;
}

#page-orders .notice-card b {
  justify-content: flex-end;
  font-size: 18px;
}

#page-orders .notice-card b i {
  display: block;
  line-height: 1;
}

#page-orders .notice-card strong {
  justify-content: center;
  padding-top: 0;
  font-size: 13px;
  line-height: 13px;
}

#page-orders .notice-card span {
  justify-content: flex-start;
  padding-top: 0;
  font-size: 11px;
  line-height: 11px;
}

.notice-dialog-mask {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(15, 23, 42, .28);
}

.notice-dialog {
  width: min(86vw, 340px);
  padding: 24px 20px 18px;
  border: 1px solid #ffe0a7;
  border-radius: 14px;
  background: linear-gradient(180deg, #fffaf0, #fff);
  box-shadow: 0 18px 48px rgba(255, 138, 0, .18), 0 12px 30px rgba(15, 23, 42, .12);
  text-align: center;
}

.notice-dialog-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin: 0 auto 12px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--orange-2), var(--orange));
  font-size: 25px;
}

.notice-dialog h3 {
  margin: 0;
  color: #111827;
  font-size: 19px;
  font-weight: 800;
}

.notice-dialog p {
  margin: 12px 0 18px;
  color: #5f6672;
  font-size: 14px;
  line-height: 22px;
  text-align: left;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.notice-dialog button {
  width: 100%;
  height: 40px;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--orange-2), var(--orange));
  box-shadow: 0 8px 18px rgba(255, 138, 0, .22);
  font-size: 15px;
  font-weight: 700;
}

#page-orders,
#page-orders * {
  font-family: SimHei, "黑体", "Microsoft YaHei", sans-serif;
}
