:root {
  font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #1c2733;
  background: #f4f6f8;
  font-synthesis: none;
  --ink: #1c2733;
  --muted: #84909b;
  --line: #e6eaee;
  --panel: #ffffff;
  --accent: #1d8c74;
  --accent-deep: #126b5a;
  --gold: #df9e3a;
}

* { box-sizing: border-box; }
html, body { width: 100%; min-width: 0; overflow-x: hidden; }
body { margin: 0; background: #f4f6f8; }
button, input { font: inherit; }
button { border: 0; cursor: pointer; }
.app-shell { max-width: 520px; min-height: 100dvh; margin: 0 auto; background: #f8fafb; padding-bottom: calc(82px + env(safe-area-inset-bottom)); position: relative; }
.login-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: #f4f6f8; }
.login-panel { width: min(100%, 410px); background: var(--panel); padding: 44px 32px 32px; border: 1px solid var(--line); box-shadow: 0 18px 45px rgba(30, 53, 65, .08); }
.login-message { margin: .75rem 0 0; color: #c0392b; text-align: center; font-size: .78rem; line-height: 1.5; }
.brand-mark { width: 48px; height: 48px; display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 800; font-size: 22px; margin-bottom: 28px; }
.eyebrow { color: var(--accent); letter-spacing: .14em; font-size: 11px; font-weight: 800; margin: 0 0 8px; }
h1, h2, h3, h4, p { margin-top: 0; }
h1 { font-size: 30px; letter-spacing: 0; margin-bottom: 8px; }
h2 { margin: 0; font-size: 17px; }
h3 { margin: 0; font-size: 19px; }
h4 { margin: 0 0 5px; font-size: 15px; }
.muted { color: var(--muted); font-size: 13px; }
.form-stack { display: grid; gap: 18px; margin-top: 34px; }
label { display: grid; gap: 8px; color: #5f6c77; font-size: 13px; font-weight: 700; }
input { border: 1px solid var(--line); background: #fbfcfd; padding: 14px 13px; outline: 0; color: var(--ink); }
input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(29, 140, 116, .1); }
.primary-button, .secondary-button { width: 100%; padding: 14px 16px; font-weight: 800; font-size: 15px; }
.primary-button { background: var(--ink); color: white; }
.primary-button:hover { background: var(--accent-deep); }
.secondary-button { background: #fff; border: 1px solid var(--line); color: #6a7580; }
.login-note { color: #a1abb2; font-size: 12px; text-align: center; margin: 28px 0 0; }
.topbar { height: 62px; padding: 0 18px; display: grid; grid-template-columns: 36px 1fr 36px; align-items: center; background: rgba(248, 250, 251, .94); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 3; }
.brand-small { width: 30px; height: 30px; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 14px; font-weight: 800; }
.topbar h2 { text-align: center; }
.icon-button { color: var(--ink); background: transparent; width: 36px; height: 36px; display: grid; place-items: center; font-size: 24px; padding: 0; }
.icon { display: inline-grid; place-items: center; font-style: normal; line-height: 1; }
.page-content { padding: 18px; }
.hero-band { min-height: 188px; padding: 26px; background: var(--ink); color: #fff; display: flex; justify-content: space-between; overflow: hidden; position: relative; }
.hero-band .eyebrow { color: #92d5c4; }
.hero-band h1 { margin: 5px 0 12px; font-size: 28px; line-height: 1.18; }
.hero-band h1 span { color: #9fdecf; }
.hero-band p:last-child { color: #b8c4cb; font-size: 13px; margin: 0; }
.hero-shape { width: 120px; height: 120px; align-self: center; border: 1px solid rgba(255,255,255,.3); transform: rotate(15deg); display: grid; place-items: center; margin-right: -25px; }
.hero-shape span { transform: rotate(-15deg); font-size: 21px; font-weight: 900; color: #ecfbf7; }
.notice-strip { min-height: 48px; background: #fff; border: 1px solid var(--line); border-top: 0; display: flex; align-items: center; gap: 9px; padding: 0 13px; font-size: 12px; color: #65727d; }
.notice-dot { width: 7px; height: 7px; background: var(--gold); border-radius: 50%; }
.notice-strip button { margin-left: auto; color: var(--accent); background: transparent; font-size: 12px; font-weight: 700; }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin: 27px 0 14px; }
.section-heading.compact { align-items: center; margin-top: 28px; }
.text-button { background: transparent; color: var(--muted); font-size: 12px; padding: 0; }
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.product-card { background: #fff; border: 1px solid var(--line); padding-bottom: 14px; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease; }
.product-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(32, 49, 60, .08); }
.product-art, .detail-art { display: grid; place-items: center; min-height: 144px; position: relative; overflow: hidden; }
.product-art.green, .detail-art.green { background: #dcece4; }
.product-art.gold, .detail-art.gold { background: #f2e6c9; }
.product-art::before, .detail-art::before { content: ""; width: 130px; height: 130px; border: 1px solid rgba(255,255,255,.8); position: absolute; transform: rotate(45deg); }
.product-box { width: 72px; height: 82px; background: #f8fbf8; border: 1px solid rgba(20, 78, 66, .3); display: grid; place-items: center; align-content: center; color: var(--accent-deep); box-shadow: 5px 7px 0 rgba(20, 78, 66, .12); z-index: 1; }
.product-box span { font-size: 10px; letter-spacing: .15em; }
.product-box b { font-size: 18px; margin-top: 5px; }
.product-box.large { width: 126px; height: 142px; }
.product-box.large b { font-size: 30px; }
.product-meta { display: flex; justify-content: space-between; gap: 8px; padding: 13px 12px 7px; }
.product-meta p, .detail-intro p { color: var(--muted); margin: 0; font-size: 11px; }
.product-meta > strong, .detail-intro > strong { color: var(--accent-deep); font-size: 16px; white-space: nowrap; }
.tag-row { display: flex; flex-wrap: wrap; gap: 5px; padding: 0 12px; }
.tag-row span { color: var(--accent-deep); background: #edf7f3; font-size: 10px; padding: 4px 6px; }
.info-band { display: flex; align-items: center; gap: 10px; margin-top: 24px; padding: 14px; background: #fff; border: 1px solid var(--line); }
.info-icon { width: 26px; height: 26px; border: 1px solid var(--accent); color: var(--accent); display: grid; place-items: center; font-weight: 800; border-radius: 50%; }
.info-band strong { font-size: 13px; }.info-band p { color: var(--muted); margin: 4px 0 0; font-size: 11px; }.status-pill { margin-left: auto; color: #b17b23; background: #fff7e9; font-size: 10px; padding: 5px 7px; }
.detail-page { padding-top: 0; }.detail-art { min-height: 300px; margin: 0 -18px; }.detail-intro { display: flex; justify-content: space-between; gap: 12px; padding: 22px 0 12px; }.detail-intro h1 { font-size: 22px; margin-bottom: 8px; }.detail-section { border-top: 1px solid var(--line); margin-top: 25px; padding-top: 20px; }.detail-section h3 { font-size: 15px; margin-bottom: 10px; }.detail-section p { color: #7b8791; font-size: 13px; line-height: 1.7; }.stepper { display: flex; align-items: center; gap: 15px; }.stepper button { width: 34px; height: 34px; background: #fff; border: 1px solid var(--line); font-size: 22px; color: var(--ink); }.stepper strong { min-width: 20px; text-align: center; }.bottom-action { margin-top: 32px; }
.detail-images { display: grid; gap: .5rem; padding: .7rem; border-radius: .6rem; background: #fff; }.detail-images img { width: 100%; display: block; object-fit: contain; }.detail-description { margin: 0 0 .65rem; padding: .8rem; border-radius: .5rem; background: #fff; color: #5d6a77; font-size: .76rem; line-height: 1.75; white-space: pre-wrap; }.detail-empty { padding: 1.4rem .8rem; border-radius: .5rem; background: #fff; color: #9aa4ad; text-align: center; font-size: .72rem; }
.segmented, .account-tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }.segmented button, .account-tabs button { background: transparent; padding: 13px 8px; color: var(--muted); border-bottom: 2px solid transparent; }.segmented button.active, .account-tabs button.active { color: var(--ink); font-weight: 800; border-color: var(--accent); }.order-summary { display: flex; align-items: baseline; gap: 7px; padding: 23px 0 13px; }.order-summary strong { font-size: 26px; }.order-summary small { color: var(--muted); }.order-list { display: grid; gap: 10px; }.order-card { background: #fff; border: 1px solid var(--line); padding: 15px; }.order-title, .order-bottom { display: flex; justify-content: space-between; gap: 10px; }.order-card p, .order-bottom { color: var(--muted); font-size: 11px; }.order-card p { margin: 9px 0 18px; }.order-bottom { align-items: center; }.order-bottom strong { color: var(--accent-deep); font-size: 15px; }.success-text { color: var(--accent); font-size: 12px; }
.balance-card { background: var(--ink); color: #fff; padding: 24px; margin-top: 18px; }.balance-card p { color: #aab8bf; font-size: 12px; margin-bottom: 8px; }.balance-card h1 { font-size: 31px; margin: 0 0 25px; }.balance-card div { border-top: 1px solid rgba(255,255,255,.18); padding-top: 13px; display: flex; justify-content: space-between; color: #aab8bf; font-size: 12px; }.balance-card strong { color: #fff; }.income-list { background: #fff; border: 1px solid var(--line); }.income-row { display: flex; align-items: center; justify-content: space-between; padding: 15px; border-bottom: 1px solid var(--line); }.income-row:last-child { border: 0; }.income-row strong { color: var(--accent-deep); }.income-row p, .income-row time { color: var(--muted); font-size: 11px; margin: 5px 0 0; }
.profile-head { display: flex; align-items: center; gap: 13px; padding: 18px 0 23px; }.avatar { width: 54px; height: 54px; display: grid; place-items: center; background: #dcece4; color: var(--accent-deep); font-weight: 900; font-size: 20px; }.profile-head h1 { margin: 0 0 6px; font-size: 21px; }.profile-head p { color: var(--muted); font-size: 12px; margin: 0; }.profile-head .icon-button { margin-left: auto; }.profile-stats { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border: 1px solid var(--line); padding: 17px 8px; }.profile-stats div { text-align: center; border-right: 1px solid var(--line); }.profile-stats div:last-child { border: 0; }.profile-stats strong, .profile-stats span { display: block; }.profile-stats strong { font-size: 16px; }.profile-stats span { color: var(--muted); font-size: 11px; margin-top: 7px; }.menu-list { margin-top: 18px; background: #fff; border: 1px solid var(--line); }.menu-row { display: grid; grid-template-columns: 32px 1fr 24px; text-align: left; align-items: center; width: 100%; padding: 15px 14px; background: #fff; border-bottom: 1px solid var(--line); color: var(--ink); }.menu-row:last-child { border: 0; }.menu-row > .icon { color: var(--accent); font-size: 19px; }.menu-row > span { display: grid; gap: 5px; }.menu-row small { color: var(--muted); font-size: 11px; }.menu-row > .icon:last-child { color: #a8b0b6; }.profile-page .secondary-button { margin-top: 24px; }
.bottom-nav { position: fixed; z-index: 5; bottom: 0; left: 50%; transform: translateX(-50%); width: min(100%, 520px); height: 70px; background: rgba(255,255,255,.96); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); padding-bottom: env(safe-area-inset-bottom); }.bottom-nav button { display: grid; place-items: center; align-content: center; gap: 4px; background: transparent; color: #9aa4ac; font-size: 11px; }.bottom-nav button .icon { font-size: 21px; }.bottom-nav button.active { color: var(--accent-deep); font-weight: 800; }.toast { position: fixed; z-index: 10; left: 50%; bottom: 95px; transform: translateX(-50%); width: max-content; max-width: calc(100% - 36px); background: rgba(28,39,51,.92); color: #fff; padding: 11px 15px; font-size: 12px; }
@media (min-width: 700px) { .app-shell { margin-top: 18px; min-height: calc(100vh - 36px); box-shadow: 0 0 0 1px #e8ecef, 0 20px 60px rgba(30,53,65,.08); } .login-page { min-height: calc(100vh - 36px); } }

/* Match the source app's compact mobile layout while keeping all content demo-only. */
:root { --main-red: #1769aa; --main-red-dark: #125987; --main-red-soft: #1769aa33; }
html { font-size: 20px; }
body { background: #f1f1f1; }
.app-shell { max-width: none; width: 100%; min-height: 100dvh; margin: 0; padding-bottom: calc(3rem + env(safe-area-inset-bottom)); background: #f1f1f1; box-shadow: none; }
.page-content, .page-inner { padding: .8rem; }
.topbar { height: 3rem; padding: 0; background: #fff; border-bottom: .5px solid #bcbcbc; position: relative; grid-template-columns: 3rem 1fr 3rem; }
.topbar h2 { font-size: 1rem; font-weight: 700; }
.header-spacer { width: 3rem; }
.icon-button { width: 3rem; height: 3rem; font-size: 1.5rem; }
.page-inner { min-height: calc(100vh - 3rem); }
.home-page { padding-top: .8rem; }
.search-bar { height: 2.4rem; border-radius: .5rem; background: #fff; display: flex; align-items: center; gap: .45rem; padding: 0 .8rem; color: #999; font-size: .8rem; }.search-bar input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: .8rem; }.search-bar input::placeholder { color: #999; }
.search-bar .icon { color: #555; font-size: 1rem; }
.banner-placeholder { height: 8.2rem; margin: .8rem 0; padding: 1.15rem 1.25rem; background: linear-gradient(135deg, #cdb9c5, #9f889f); color: #fff; position: relative; overflow: hidden; display: flex; justify-content: space-between; align-items: flex-start; }
.banner-placeholder::after { content: ""; position: absolute; width: 12rem; height: 12rem; border: 1px solid #ffffff66; transform: rotate(35deg); right: -3rem; bottom: -7rem; }
.banner-placeholder strong, .banner-placeholder span { display: block; text-shadow: 1px 1px 5px #0008; }
.banner-placeholder strong { font-size: 1.4rem; }.banner-placeholder span { font-size: .8rem; font-weight: 700; margin-top: .9rem; }.banner-placeholder i { font-style: normal; font-size: 1.5rem; font-weight: 800; opacity: .75; position: relative; z-index: 1; }.home-banner { position: relative; margin: .8rem 0; overflow: hidden; background: #eef1f0; }.home-banner img { width: 100%; aspect-ratio: 2.5 / 1; display: block; object-fit: cover; }.banner-dots { position: absolute; bottom: .55rem; left: 50%; display: flex; gap: .3rem; transform: translateX(-50%); }.banner-dots i { width: .35rem; height: .35rem; border-radius: 50%; background: #ffffff99; }.banner-dots i.active { background: #fff; }
.safety-tip { background: linear-gradient(#fff, #fff8f8); border: 1px solid var(--main-red); border-radius: .5rem; min-height: 2.25rem; display: flex; align-items: center; gap: .2rem; padding: .5rem .8rem; }
.safety-tip .icon { color: var(--main-red); font-size: 1.05rem; }.safety-tip strong { color: #555; font-size: .8rem; }.safety-tip span { color: #888; margin-left: .5rem; font-size: .7rem; }
.product-tabs { display: flex; gap: 1rem; margin-top: .8rem; }.product-tabs button { flex: 1; color: #666; background: #fff; border-radius: .5rem; padding: .55rem 0; font-size: .8rem; font-weight: 700; }.product-tabs button.active { color: #fff; background: var(--main-red); }
.product-list { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: 1rem; }.product-card { overflow: hidden; border-radius: .5rem; padding: 0; background: #fff; border: 0; }.product-card:hover { transform: none; box-shadow: none; }.product-art { aspect-ratio: 1; min-height: 0; }.product-art::before { width: 70%; height: 70%; }.product-art.image-art { background: #f4f5f4; }.product-art.image-art::before { display: none; }.product-art.image-art img { width: 100%; height: 100%; object-fit: cover; }.product-box { width: 40%; height: 48%; box-shadow: 3px 4px 0 rgba(20, 78, 66, .12); }.product-box span { font-size: .45rem; }.product-box b { font-size: .8rem; margin-top: .2rem; }.product-meta { padding: .5rem; display: block; }.product-meta h4 { color: #333; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .8rem; font-weight: 700; margin-bottom: .35rem; }.card-bottom { display: flex; align-items: baseline; justify-content: space-between; }.card-bottom strong { color: var(--main-red); font-size: .95rem; }.card-bottom span { color: #999; font-size: .65rem; }.status-tip { grid-column: 1 / -1; color: #999; text-align: center; padding: 1rem 0; font-size: .7rem; }
.login-page { min-height: 100dvh; display: flex; flex-direction: column; padding: 2rem; background: linear-gradient(to bottom, var(--main-red-soft), #fff0 34rem); }
.login-panel { width: 100%; min-height: calc(100dvh - 4rem); display: flex; flex-direction: column; background: transparent; padding: 0; border: 0; box-shadow: none; }
.back-link { align-self: flex-start; display: grid; place-items: center; width: 2rem; height: 2rem; background: transparent; color: #666; padding: 0; margin: -.6rem 0 1.2rem -.35rem; font-size: 1.35rem; }.back-link .icon { line-height: 1; }
.login-panel h1 { font-size: 2rem; font-weight: 700; margin: 0 0 .4rem; }.login-logo { display: block; width: min(100%, 220px); max-height: 82px; object-fit: contain; object-position: left center; margin: 0 0 1rem; }.login-panel .muted { color: #666; margin-bottom: 2rem; font-size: .9rem; }.form-stack { gap: 0; margin-top: 0; }.form-stack label { margin-bottom: .5rem; font-size: .9rem; font-weight: 700; color: var(--ink); }.form-stack input { height: 2.5rem; border: 0; border-radius: .5rem; background: #f5f5f5; padding: 0 .8rem; font-size: .9rem; }.primary-button { height: 2.8rem; border-radius: .5rem; background: var(--main-red); line-height: 1; margin-top: 1rem; }.primary-button:hover { background: var(--main-red-dark); }.primary-button:disabled { background: #d6d6d6; color: #fff; cursor: not-allowed; }.form-stack .primary-button { margin-top: 1.5rem; }.register-tip { color: #666; text-align: center; margin-top: 1rem; font-size: .8rem; }.register-tip span { color: var(--main-red); }.login-note { color: #999; text-align: center; margin-top: 2rem; font-size: .7rem; }.verification-row { display: flex; gap: .5rem; }.verification-row input { min-width: 0; flex: 1; }.code-button { flex: 0 0 6.2rem; border: 1px solid var(--main-red); border-radius: .5rem; background: #fff; color: var(--main-red); font-size: .7rem; }.code-button:disabled { border-color: #ccc; color: #999; }.agreement-check { display: flex !important; flex-direction: row; align-items: flex-start; gap: .35rem; margin-top: .55rem; font-size: .68rem !important; font-weight: 400 !important; line-height: 1.5; }.agreement-check input { flex: 0 0 auto; width: 1rem; height: 1rem; margin-top: .12rem; }.agreement-check span { color: #777; }.agreement-check button { border: 0; padding: 0; color: var(--main-red); background: transparent; font-size: inherit; }.register-message { color: #999; text-align: center; margin: 1rem 0 0; font-size: .68rem; line-height: 1.5; }.register-message.success { color: #18815d; }.register-message.error { color: #c0392b; }.agreement-modal { position: fixed; inset: 0; z-index: 10; display: flex; align-items: flex-end; justify-content: center; background: rgba(0, 0, 0, .45); padding: 0; }.agreement-modal[hidden] { display: none; }.agreement-dialog { position: relative; width: 100%; max-height: 78dvh; overflow: auto; border-radius: 1rem 1rem 0 0; background: #fff; padding: 1.3rem 1rem 1.8rem; }.agreement-dialog h2 { margin: 0 2rem 1rem; text-align: center; font-size: 1rem; }.agreement-close { position: absolute; top: .65rem; right: .8rem; border: 0; background: transparent; color: #888; font-size: 1.5rem; line-height: 1; }.agreement-body { color: #555; white-space: pre-wrap; font-size: .78rem; line-height: 1.8; }
.login-footer-link { display: block; width: fit-content; max-width: 100%; margin: auto auto 0; color: #666; font-size: .7rem; line-height: 1.4; text-align: center; overflow-wrap: anywhere; }
.login-footer-link[href] { color: #666; text-decoration: none; }
.login-footer-link[href]:hover { color: var(--main-red); text-decoration: underline; }
.bottom-nav { width: 100%; height: calc(3rem + env(safe-area-inset-bottom)); background: #fff; border-top: .5px solid #e5e5e5; padding: 0 0 env(safe-area-inset-bottom); }.bottom-nav button { min-width: 0; opacity: .5; gap: .15rem; font-size: .7rem; }.bottom-nav button .icon { filter: grayscale(1); height: 1.5rem; font-size: 1.2rem; }.bottom-nav button.active { opacity: 1; color: var(--main-red); }.bottom-nav button.active .icon { filter: none; }
.search-bar[data-page], .order-card[data-page], .settings-row[data-page], .menu-row[data-page], .privilege-line[data-page] { cursor: pointer; }

.module-page { min-height: calc(100vh - 3rem); }
.module-banner { min-height: 8rem; padding: 1.35rem; background: linear-gradient(135deg, #d81e06, #f28b56); color: #fff; display: flex; justify-content: space-between; align-items: flex-start; position: relative; overflow: hidden; }
.module-banner::after { content: ""; width: 10rem; height: 10rem; border: 1px solid #ffffff66; position: absolute; right: -2rem; bottom: -6rem; transform: rotate(35deg); }.module-banner strong, .module-banner span { display: block; text-shadow: 1px 1px 5px #0005; }.module-banner strong { font-size: 1.35rem; }.module-banner span { font-size: .75rem; margin-top: .8rem; }.module-banner b { position: relative; z-index: 1; font-size: 1.25rem; opacity: .85; }
.module-tip { width: 100%; display: flex; align-items: center; gap: .5rem; margin-top: .8rem; padding: .75rem .8rem; border: 1px solid var(--main-red); border-radius: .5rem; background: #fff8f8; text-align: left; }.module-tip .icon { color: var(--main-red); }.module-tip span { flex: 1; display: grid; gap: .15rem; }.module-tip strong { color: #555; font-size: .8rem; }.module-tip small { color: #999; font-size: .65rem; }.module-tip > .icon:last-child { color: #999; }
.countdown-card { background: #fff; border-radius: .5rem; text-align: center; padding: 1rem; margin-top: .8rem; }.countdown-card p, .countdown-card span { color: #999; font-size: .7rem; }.countdown-card h2 { color: var(--main-red); margin: .35rem 0; font-size: 1.15rem; }
.module-tabs { display: flex; gap: 1rem; margin: .8rem 0; }.module-tabs button { flex: 1; background: #fff; color: #666; border-radius: .5rem; padding: .55rem .2rem; font-size: .75rem; font-weight: 700; }.module-tabs button.active { color: #fff; background: var(--main-red); }.module-tabs.four { gap: .35rem; }.module-tabs.four button { font-size: .68rem; }
.purchase-list { display: grid; gap: .8rem; }.purchase-card, .detail-card, .invite-card, .contract-card, .address-card, .privilege-card, .agreement-card { background: #fff; border-radius: .5rem; padding: .8rem; }.purchase-card { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }.purchase-main, .detail-product, .contract-card > div { display: flex; align-items: center; gap: .65rem; }.purchase-main h3, .detail-product h3, .contract-card h3 { color: #333; font-size: .85rem; margin: 0 0 .3rem; }.purchase-main p, .detail-product p, .contract-card p { color: #999; font-size: .7rem; margin: 0 0 .3rem; }.purchase-main strong, .detail-product strong { color: var(--main-red); font-size: .85rem; }.mini-art { flex: 0 0 3rem; width: 3rem; height: 3rem; display: grid; place-items: center; color: #fff; font-size: .55rem; }.mini-art.green { background: #72a58b; }.mini-art.gold { background: #d7a84f; }.outline-button { flex: 0 0 auto; color: var(--main-red); border: 1px solid var(--main-red); border-radius: .25rem; background: #fff; padding: .35rem .5rem; font-size: .65rem; }
.profile-head { position: relative; }.privilege-line { width: 100%; display: flex; align-items: center; gap: .4rem; border: 0; border-top: 1px solid #f2d6d2; background: transparent; color: #666; text-align: left; padding: .65rem 0 0; font-size: .7rem; }.privilege-line strong { color: var(--main-red); }.privilege-line span { flex: 1; color: #999; }.privilege-line .icon { color: #999; }
.detail-card { display: grid; gap: .9rem; }.detail-row { display: flex; justify-content: space-between; gap: 1rem; color: #777; font-size: .72rem; border-bottom: 1px solid #f1f1f1; padding-bottom: .65rem; }.detail-row strong { color: #333; }.detail-row em { font-style: normal; }.detail-product { padding: .3rem 0; }.detail-product .mini-art { flex-basis: 4rem; width: 4rem; height: 4rem; }.module-page > .primary-button { margin-top: 1rem; }
.order-detail-status, .order-time-row { display: flex; justify-content: space-between; gap: .8rem; color: #777; font-size: .7rem; }.order-detail-status { color: #444; }.order-time-row { flex-wrap: wrap; border-top: 1px solid #f1f1f1; padding-top: .7rem; }.order-thumb { flex: 0 0 4rem; width: 4rem; height: 4rem; min-height: 4rem; }.order-thumb img { width: 100%; height: 100%; object-fit: cover; }.order-thumb .product-box { width: 55%; height: 65%; }.pending-text { color: var(--main-red); font-size: .72rem; }.order-address-card { position: relative; }.order-address-card p { margin-bottom: 0; }.payment-codes { margin-top: .8rem; padding: .85rem; border-radius: .5rem; background: #fff; }.payment-codes h3 { font-size: .85rem; margin-bottom: .25rem; }.payment-codes p { color: #999; font-size: .68rem; margin-bottom: .7rem; }.payment-code-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }.payment-code-grid > div { min-width: 0; background: #f7f7f7; text-align: center; padding: .45rem; }.payment-code-grid img { width: 100%; aspect-ratio: 1; object-fit: contain; display: block; }.payment-code-grid span { display: block; color: #555; font-size: .7rem; padding-top: .35rem; }.payment-code-empty { min-height: 7rem; display: grid; place-items: center; color: #aaa; font-size: .65rem; }.review-message { margin: .55rem 0 .75rem; padding: .65rem .75rem; color: #a15c00; background: #fff6e5; border: 1px solid #f5dfb0; border-radius: .35rem; font-size: .72rem; line-height: 1.5; }.order-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: .8rem; }.order-actions .primary-button, .order-actions .secondary-button { margin-top: 0; height: 2.8rem; border-radius: .5rem; }.proof-status { margin-top: .8rem; padding: .8rem; color: #18815d; background: #eaf7f1; border-radius: .5rem; text-align: center; font-size: .72rem; }
.invite-card { text-align: center; }.invite-card p { color: #999; font-size: .75rem; }.invite-card > strong { display: block; letter-spacing: .35rem; color: var(--main-red); font-size: 1.8rem; margin: 1rem 0; }.invite-card .primary-button { margin-top: .5rem; }.empty-module { color: #999; text-align: center; padding: 2rem .5rem; font-size: .75rem; }
.settings-list { background: #fff; border-radius: .5rem; overflow: hidden; }.settings-row { width: 100%; display: flex; align-items: center; justify-content: space-between; background: #fff; color: #333; padding: .8rem; border-bottom: 1px solid #f1f1f1; text-align: left; font-size: .8rem; }.settings-row:last-child { border-bottom: 0; }.settings-row span { display: flex; align-items: center; gap: .55rem; }.settings-row span .icon { color: var(--main-red); }.settings-row > .icon { color: #999; }
.contract-card { display: flex; align-items: center; gap: .7rem; }.contract-card > div:nth-child(2) { display: block; flex: 1; }.contract-card .contract-icon { width: 2rem; height: 2rem; display: grid; place-items: center; background: #fff1ed; color: var(--main-red); }.contract-card > .success-text { font-size: .7rem; }.agreement-card h2 { text-align: center; font-size: 1rem; margin-bottom: 1rem; }.agreement-card p { color: #666; line-height: 1.7; font-size: .78rem; margin-bottom: .8rem; }
.address-card { margin-bottom: .8rem; }.address-card strong { font-size: .85rem; }.address-card p { color: #666; font-size: .75rem; margin: .6rem 0 0; }.default-label { color: #fff; background: #ff6a00; border-radius: .2rem; padding: .15rem .3rem; font-size: .6rem; margin-left: .4rem; }.module-form { margin-top: 0; }.module-form label { margin-bottom: .8rem; }.module-form input { width: 100%; }.privilege-card { background: linear-gradient(135deg, #d81e06, #f28b56); color: #fff; text-align: center; }.privilege-card p { font-size: .75rem; margin: 0 0 .5rem; }.privilege-card strong { display: block; font-size: 2rem; }.privilege-card span { display: block; font-size: .7rem; margin-top: .5rem; }
.address-list { display: grid; gap: .6rem; }.address-choice { position: relative; width: 100%; border: 0; text-align: left; cursor: pointer; }.address-choice p { padding-right: 1.3rem; }.address-arrow { position: absolute; right: .7rem; top: 50%; color: #999; transform: translateY(-50%); }.address-empty { background: #fff; border-radius: .5rem; margin-bottom: .8rem; }.form-message { color: #999; font-size: .7rem; text-align: center; }.form-message.error { color: #c0392b; }.purchase-modal { position: fixed; inset: 0; z-index: 20; display: flex; align-items: flex-end; background: rgba(0, 0, 0, .45); }.purchase-sheet { position: relative; width: 100%; max-height: 82dvh; overflow-y: auto; padding: 1rem .8rem calc(1rem + env(safe-area-inset-bottom)); border-radius: 1rem 1rem 0 0; background: #fff; }.purchase-close { position: absolute; top: .65rem; right: .75rem; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: #f2f2f2; color: #777; font-size: 1.2rem; line-height: 1; }.purchase-product { display: flex; align-items: center; gap: .7rem; padding-right: 2rem; }.purchase-product h3 { font-size: .9rem; margin-bottom: .3rem; }.purchase-product p { color: #666; font-size: .7rem; margin: 0 0 .25rem; }.purchase-product strong { color: var(--main-red); font-size: .85rem; }.purchase-thumb { flex: 0 0 4rem; width: 4rem; height: 4rem; min-height: 4rem; }.purchase-thumb img { width: 100%; height: 100%; object-fit: cover; }.purchase-thumb .product-box { width: 55%; height: 65%; }.purchase-address-heading { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: 1rem; font-size: .8rem; }.purchase-address-heading button { color: var(--main-red); background: transparent; font-size: .7rem; }.purchase-address-list { display: grid; gap: .45rem; margin-top: .5rem; }.purchase-address { display: flex; align-items: flex-start; gap: .5rem; width: 100%; padding: .65rem; border: 1px solid #eee; border-radius: .45rem; background: #fff; text-align: left; }.purchase-address.selected { border-color: var(--main-red); background: #fff8f8; }.purchase-address.empty { align-items: center; justify-content: space-between; margin-top: .5rem; color: #999; }.purchase-address .address-radio { flex: 0 0 .8rem; width: .8rem; height: .8rem; margin-top: .15rem; border: 1px solid #bbb; border-radius: 50%; }.purchase-address.selected .address-radio { border: .25rem solid var(--main-red); }.purchase-address span:last-child { display: grid; gap: .2rem; }.purchase-address strong { color: #444; font-size: .72rem; }.purchase-address small { color: #888; font-size: .65rem; line-height: 1.4; }.payment-line { display: flex; align-items: center; justify-content: space-between; margin-top: .9rem; padding: .75rem 0; border-top: 1px solid #f1f1f1; font-size: .75rem; }.payment-line strong { color: #333; }.purchase-notice { padding: .2rem 0 .5rem; color: #999; font-size: .65rem; line-height: 1.6; }.confirm-purchase { width: 100%; margin-top: .35rem; }
.order-category-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin: .1rem 0 .8rem; }.order-category-tabs button { min-width: 0; padding: .6rem .3rem; border-radius: .45rem; background: #fff; color: #666; font-size: .75rem; font-weight: 700; }.order-category-tabs button.active { color: #fff; background: var(--main-red); }.orders-page .order-summary { padding-top: .4rem; }
.flash-rule-strip { display: flex; align-items: center; gap: .35rem; flex-wrap: wrap; margin-top: .8rem; padding: .65rem .75rem; border: 1px solid #f1d6a4; border-radius: .45rem; background: #fffaf0; color: #906b2d; font-size: .66rem; }.flash-rule-strip strong { color: var(--main-red); font-size: .8rem; }.flash-rule-strip span:last-child { width: 100%; color: #a18a64; }.flash-product-list { margin-top: .8rem; }.flash-product-card { align-items: stretch; }.flash-product-card .purchase-main { min-width: 0; flex: 1; }.flash-product-card .purchase-main > div:last-child { min-width: 0; }.flash-product-card .purchase-main h3 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.flash-product-card .purchase-main strong, .flash-product-card .purchase-main small { display: block; }.flash-product-card .purchase-main small { margin-top: .2rem; color: #a15c00; font-size: .62rem; }.flash-product-card .purchase-main .purchase-thumb { flex: 0 0 3.3rem; width: 3.3rem; height: 3.3rem; min-height: 3.3rem; }.flash-amount-breakdown { display: flex; align-items: center; gap: .3rem; flex-wrap: wrap; margin-top: .8rem; padding: .65rem .55rem; border-radius: .35rem; background: #fff8f8; color: #777; font-size: .65rem; }.flash-amount-breakdown strong { color: var(--main-red); font-size: .8rem; }.flash-amount-breakdown b { color: #aaa; }.flash-section-title { margin: 1rem 0 .55rem; color: #444; font-size: .85rem; }.warehouse-list { display: grid; gap: .6rem; }.warehouse-card { display: flex; align-items: center; gap: .55rem; padding: .7rem; border-radius: .45rem; background: #fff; }.warehouse-card > div:first-child { flex: 0 0 3.2rem; }.warehouse-thumb { width: 3.2rem !important; height: 3.2rem !important; min-height: 3.2rem !important; }.warehouse-thumb img { width: 100%; height: 100%; object-fit: cover; }.warehouse-thumb .product-box { width: 55%; height: 65%; }.warehouse-info { min-width: 0; display: grid; flex: 1; gap: .18rem; }.warehouse-info strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #333; font-size: .75rem; }.warehouse-info span { color: #888; font-size: .62rem; }.warehouse-card .outline-button { padding: .35rem .45rem; white-space: nowrap; }.flash-order-detail .detail-product { align-items: flex-start; }.flash-order-detail .detail-product p { margin: .15rem 0; }.flash-order-detail .detail-product strong { display: block; margin-top: .25rem; color: var(--main-red); }
.consignment-role-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; margin: .1rem 0 .7rem; }.consignment-role-tabs button { padding: .65rem .3rem; border-radius: .45rem; background: #fff; color: #666; font-size: .8rem; font-weight: 700; }.consignment-role-tabs button.active { color: #fff; background: var(--main-red); }.module-tabs.three { gap: .35rem; }.module-tabs.three button { font-size: .7rem; }.consignment-order-card { position: relative; }.consignment-parties { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin: .35rem 0; color: #555; font-size: .7rem; }.consignment-parties small { color: #999; font-size: .65rem; }.consignment-times { display: flex; flex-wrap: wrap; gap: .55rem; padding-top: .55rem; border-top: 1px solid #f1f1f1; color: #999; font-size: .62rem; }.consignment-confirm-button { display: block; margin: .65rem 0 0 auto; }.offline-order-note { margin-top: .8rem; padding: .7rem .75rem; border-radius: .4rem; background: #fff8f0; color: #906b2d; font-size: .68rem; line-height: 1.6; }.flash-purchase-sheet .confirm-purchase { margin-top: .8rem; }.fixed-quantity-note { display: block; padding-top: .65rem; color: #89939b; }
.flash-tools { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: .55rem; margin-top: .8rem; padding: .65rem .7rem; border-radius: .5rem; background: #fff; }.flash-countdown, .flash-sort { min-width: 0; display: grid; gap: .18rem; }.flash-countdown span, .flash-sort > span { color: #999; font-size: .62rem; }.flash-countdown strong { overflow: hidden; color: var(--main-red); font-size: .72rem; font-weight: 700; white-space: nowrap; text-overflow: ellipsis; }.flash-sort select { min-width: 5.4rem; height: 2rem; padding: 0 .35rem; border: 1px solid #eee; border-radius: .3rem; background: #fff; color: #555; font-size: .64rem; }.flash-refresh { display: flex; align-items: center; justify-content: center; gap: .15rem; height: 2rem; padding: 0 .55rem; border: 1px solid var(--main-red); border-radius: .3rem; background: #fff; color: var(--main-red); font-size: .68rem; white-space: nowrap; }.flash-product-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }.flash-product-card { display: flex; flex-direction: column; align-items: stretch; min-width: 0; padding: .55rem; }.flash-product-card .purchase-main { align-items: flex-start; gap: .45rem; }.flash-product-card .purchase-main .purchase-thumb { flex: 0 0 3rem; width: 3rem; height: 3rem; min-height: 3rem; }.flash-product-card .purchase-main h3 { font-size: .72rem; }.flash-product-card .purchase-main p { font-size: .58rem; }.flash-product-card .purchase-main strong { font-size: .8rem; }.flash-product-card .outline-button { width: 100%; margin-top: .55rem; }
.profile-hero .privilege-line span { flex: 1; white-space: normal; line-height: 1.55; }.privilege-detail-group { margin-top: .8rem; background: #fff; border-radius: .5rem; padding: .75rem; }.privilege-detail-row { display: grid; grid-template-columns: 1fr auto; gap: .2rem .5rem; padding: .65rem 0; border-bottom: 1px solid #f1f1f1; color: #555; font-size: .72rem; }.privilege-detail-row:last-child { border-bottom: 0; }.privilege-detail-row strong { color: var(--main-red); }.privilege-detail-row small { grid-column: 1 / -1; color: #999; font-size: .62rem; }
@media (max-width: 350px) {
  html { font-size: 18px; }
  .page-content, .page-inner { padding-left: .65rem; padding-right: .65rem; }
  .product-list { gap: .45rem; }
  .purchase-card { padding: .65rem; gap: .35rem; }
  .purchase-main { gap: .4rem; min-width: 0; }
  .purchase-main > div:last-child { min-width: 0; }
  .purchase-main h3 { max-width: 8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .outline-button { padding-left: .35rem; padding-right: .35rem; }
}

/* Profile page follows the reference app's compact card-and-menu layout. */
.profile-page { padding-top: .8rem; background: #f1f1f1; }
.profile-hero { position: relative; overflow: hidden; padding: .65rem .8rem .55rem; background: #fff; border: 1px solid var(--main-red); border-radius: .55rem; }
.profile-head { padding: .35rem 0 .65rem; }
.profile-head .avatar { flex: 0 0 2.7rem; width: 2.7rem; height: 2.7rem; overflow: hidden; border: 1px solid #d7dfe2; border-radius: 50%; background: #e7eff0; color: #4f7175; font-size: 1rem; }
.profile-head .avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-identity { min-width: 0; }
.profile-head h1 { margin-bottom: .18rem; color: #222; font-size: .95rem; }
.profile-head p { display: flex; align-items: center; gap: .25rem; color: #777; font-size: .68rem; }
.profile-head p strong { color: #4d5960; font-weight: 700; letter-spacing: .04em; }
.copy-invite { display: inline-grid; place-items: center; padding: 0 .1rem; color: #777; background: transparent; font-size: .72rem; }
.copy-invite .icon { font-size: .7rem; }
.profile-hero .privilege-line { margin: 0; padding: .55rem 0 0; border-top: 1px solid #edf0f1; color: #555; font-size: .7rem; }
.profile-hero .privilege-line > .icon:first-child { color: #d8a000; font-size: .76rem; }
.profile-hero .privilege-line span { flex: 0 0 auto; color: #555; }
.profile-hero .privilege-line strong { color: #555; font-size: .72rem; }
.profile-hero .privilege-line > .icon:last-child { margin-left: .15rem; color: #444; font-size: .9rem; }
.referral-share-card { text-align: center; }.referral-share-card > strong { display: block; max-width: 100%; overflow-wrap: anywhere; word-break: break-all; letter-spacing: .06rem; font-size: clamp(1.1rem, 6vw, 1.6rem); line-height: 1.2; }.referral-qr { display: grid; place-items: center; width: 10rem; height: 10rem; margin: .8rem auto .55rem; padding: .45rem; background: #fff; border: 1px solid #edf0f1; }.referral-qr img { width: 100%; height: 100%; object-fit: contain; }.qr-placeholder { color: #999; font-size: .7rem; }.referral-share-url { overflow: hidden; margin: 0 auto .7rem; max-width: 100%; color: #888; font-size: .62rem; text-overflow: ellipsis; white-space: nowrap; }.referral-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; }.referral-actions .primary-button, .referral-actions .secondary-button { margin-top: 0; height: 2.5rem; }.referral-share-card > small { display: block; margin-top: .7rem; color: #999; font-size: .62rem; }.referral-parent-note { margin-top: .7rem; padding: .75rem; border-radius: .5rem; background: #fff; color: #777; font-size: .72rem; }.fans-list { display: grid; gap: .55rem; }.fan-row { display: grid; grid-template-columns: 2rem 1fr auto; align-items: center; gap: .55rem; padding: .7rem; border-radius: .5rem; background: #fff; }.fan-avatar { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: #e7eff0; color: #4f7175; font-size: .8rem; }.fan-row div:nth-child(2) { min-width: 0; }.fan-row strong, .fan-row small { display: block; }.fan-row strong { color: #333; font-size: .75rem; }.fan-row small, .fan-row time { color: #999; font-size: .62rem; }.fan-row time { white-space: nowrap; }
.profile-page .menu-list { margin-top: .8rem; border: 0; border-radius: .55rem; box-shadow: 0 1px 2px rgba(50, 55, 60, .03); }
.profile-page .menu-row { grid-template-columns: 1.6rem 1fr 1rem; min-height: 2.8rem; padding: .72rem .8rem; border-bottom: 1px solid #edf0f1; }
.profile-page .menu-row > .icon:first-child { color: var(--main-red); font-size: .95rem; }
.profile-page .menu-row > span { display: block; }
.profile-page .menu-row strong { color: #30383d; font-size: .8rem; font-weight: 500; }
.profile-page .menu-row > .icon:last-child { color: #444; font-size: .9rem; }
.signed-person-line { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem; min-height: 3.5rem; }.signed-person-line strong { white-space: nowrap; }.signed-person-line img { width: 8.5rem; max-height: 3.5rem; object-fit: contain; object-position: left center; }

/* Product details use the same restrained blue business language as the auth pages. */
.detail-page { background: #f6f9fc; }
.detail-page > .product-art.large { min-height: 16rem; aspect-ratio: 4 / 3; margin: 0 -.8rem; }
.detail-page > .product-art.green, .detail-page > .product-art.gold { background: #eaf3fb; }
.detail-page > .product-art.green .product-box, .detail-page > .product-art.gold .product-box { border-color: #9fbcd5; color: #1769aa; box-shadow: 3px 4px 0 rgba(23, 105, 170, .12); }
.detail-page .detail-intro > strong { color: #1769aa; }
.detail-page .tag-row span { color: #1769aa; background: #eaf3fb; }
.detail-page .detail-section { border-top-color: #dfe8f0; }
.detail-page .detail-section h3 { color: #17324d; }
.detail-page .stepper button { border-color: #d6e0ea; color: #1769aa; }
.detail-page .bottom-action { background: #1769aa; }
.detail-page .bottom-action:hover { background: #125987; }
.detail-page .detail-empty, .detail-page .detail-description, .detail-page .detail-images { border: 1px solid #e0e8f0; }

/* The purchase sheet follows the same blue business palette and enters gently from the bottom. */
.purchase-modal { background: rgba(23, 50, 77, .38); backdrop-filter: blur(2px); animation: purchase-backdrop-in .24s ease both; }
.purchase-sheet { border-top: 3px solid #1769aa; box-shadow: 0 -12px 34px rgba(23, 50, 77, .16); animation: purchase-sheet-in .32s cubic-bezier(.22, .75, .2, 1) both; }
.purchase-close { background: #edf4fa; color: #1769aa; transition: background-color .18s ease, transform .18s ease; }
.purchase-close:active { background: #dbeaf5; transform: scale(.94); }
.purchase-product strong, .purchase-address-heading button { color: #1769aa; }
.purchase-address.selected { border-color: #4a90c2; background: #f1f7fc; }
.purchase-address .address-radio { border-color: #b7c9d8; }
.purchase-address.selected .address-radio { border-color: #1769aa; }
.purchase-address.empty { border-color: #d6e3ed; color: #60758a; }
.purchase-sheet .confirm-purchase { background: #1769aa; transition: background-color .18s ease, transform .18s ease; }
.purchase-sheet .confirm-purchase:hover { background: #125987; }
.purchase-sheet .confirm-purchase:active:not(:disabled) { transform: scale(.99); }
.purchase-sheet .confirm-purchase:disabled { background: #cbd4dd; }
.purchase-sheet .payment-line { border-top-color: #e2eaf1; }
.purchase-sheet .payment-line strong { color: #17324d; }
@keyframes purchase-backdrop-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes purchase-sheet-in { from { opacity: 0; transform: translateY(100%); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .purchase-modal, .purchase-sheet { animation-duration: .01ms; }
}

/* Account settings and contract flows mirror the reference app's compact mobile cards. */
.flash-sort-toggle { display: inline-flex; align-items: center; justify-content: center; gap: .3rem; min-width: 4.7rem; height: 2rem; padding: 0 .45rem; border: 0; border-radius: .3rem; background: #fff8f8; color: #555; font-size: .68rem; }.flash-sort-toggle strong { color: var(--main-red); font-size: 1.05rem; line-height: 1; }
.payment-method-grid { display: grid; gap: .7rem; }
.payment-method-card { width: 100%; display: grid; grid-template-columns: 2.35rem 1fr auto; align-items: center; gap: .65rem; padding: .85rem; border: 1px solid #edf0f1; border-radius: .5rem; background: #fff; color: #333; text-align: left; }
.payment-method-card:active { background: #fff8f8; }
.payment-method-icon { display: grid; place-items: center; width: 2.15rem; height: 2.15rem; border-radius: .45rem; color: #fff; font-size: .95rem; font-weight: 800; }
.alipay-mark { background: #168bd1; }.bank-mark { background: #d08b2a; }
.payment-method-copy { min-width: 0; display: grid; gap: .28rem; }.payment-method-copy strong { font-size: .8rem; }.payment-method-copy span { color: #999; font-size: .64rem; line-height: 1.5; overflow-wrap: anywhere; }
.method-action { color: var(--main-red); font-size: .68rem; font-weight: 500; white-space: nowrap; }
.payment-modal { z-index: 30; }.payment-sheet { padding-top: 1.25rem; }.payment-sheet h3 { padding-right: 2rem; font-size: .95rem; }.payment-sheet-note { margin: .35rem 0 0; color: #999; font-size: .68rem; }.payment-sheet .form-stack { margin-top: 1.1rem; }
.settings-page-list { overflow: hidden; }.settings-avatar-row { min-height: 4rem; }.settings-avatar-row > span { align-items: center; }.settings-avatar-row > span > b { font-weight: 500; }.settings-avatar { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; overflow: hidden; border: 1px solid #d7dfe2; border-radius: 50%; background: #e7eff0; color: #4f7175; font-size: .9rem; }.settings-avatar img { width: 100%; height: 100%; object-fit: cover; }.settings-static-row { cursor: default; }.settings-static-row strong { color: #777; font-size: .75rem; font-weight: 400; }
.contract-empty { padding: 1.3rem 0; text-align: center; color: #777; font-size: .78rem; }.contract-empty .primary-button { margin-top: .8rem; }.signed-contract { margin-bottom: .8rem; }.contract-content { margin-top: .8rem; }.contract-sign-note, .signed-note { color: #999; font-size: .68rem; line-height: 1.6; }.signed-note { margin-top: .8rem; padding: .7rem; border-radius: .4rem; background: #eaf7f1; text-align: center; }
.signature-area { margin-top: .8rem; padding: .8rem; border-radius: .5rem; background: #fff; }.signature-area label { margin: 0; }.signature-heading { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: 1rem; color: #555; font-size: .75rem; }.signature-pad-wrap { margin-top: .5rem; overflow: hidden; border: 1px dashed #ccd5da; border-radius: .35rem; background: repeating-linear-gradient(0deg, #fff, #fff 31px, #edf1f3 32px); }.signature-pad-wrap canvas { display: block; width: 100%; height: 9rem; touch-action: none; }.signature-area + .primary-button { margin-top: .8rem; }.signed-contract-meta { display: grid; gap: .35rem; margin-top: 1.2rem; padding-top: .8rem; border-top: 1px solid #edf0f1; color: #777; font-size: .7rem; }.signed-person-line { display: flex; align-items: center; gap: .7rem; min-height: 4.6rem; }.signed-person-line strong { flex: 0 0 auto; white-space: nowrap; }.signed-contract-meta img { display: block; flex: 1 1 auto; width: 15rem; max-width: 15rem; max-height: 6rem; min-width: 0; object-fit: contain; object-position: left center; }

/* Keep the login surface quiet and give each action a deliberate rhythm. */
.login-page { padding: 2.5rem 2rem; background: linear-gradient(180deg, #eef2f5 0%, #f7f9fa 52%, #fff 100%); }
.login-panel h1 { margin-bottom: 1.25rem; color: #202b36; }
.login-panel h1 + .form-stack { margin-top: 0; }
.login-panel h1 + .form-stack label { margin-bottom: .95rem; }
.login-panel h1 + .form-stack input { border: 1px solid #e5e9ec; background: #f8f9fa; border-radius: .45rem; }
.login-panel h1 + .form-stack .primary-button { margin-top: 1.1rem; }
.login-panel h1 + .form-stack + .register-tip { margin-top: 1.2rem; }

.login-page-login { background: linear-gradient(180deg, #eef4fa 0%, #f7fafd 52%, #fff 100%); }
.login-page-login .login-panel h1 { color: #16324f; }
.login-page-login .login-panel h1 + .form-stack input { background: #fff; border-color: #d6e0ea; }
.login-page-login .login-panel h1 + .form-stack input:focus { border-color: #4a90c2; box-shadow: 0 0 0 3px rgba(74, 144, 194, .12); }
.login-page-login .login-panel h1 + .form-stack .primary-button { background: #1769aa; }
.login-page-login .login-panel h1 + .form-stack .primary-button:hover { background: #125987; }
.login-page-login .register-tip span { color: #1769aa; }
.login-page-login .login-footer-link, .login-page-login .login-footer-link[href] { color: #718399; }
.login-page-register { padding: 5rem 1rem calc(2rem + env(safe-area-inset-bottom)); overflow: visible; }
.login-page-register .login-panel { width: min(100%, 410px); min-height: 0; margin: 0 auto; }
.login-page-register .back-link { position: fixed; z-index: 20; top: calc(env(safe-area-inset-top) + 1.15rem); left: max(1rem, calc(50% - 205px + 1rem)); width: 2.75rem; height: 2.75rem; margin: 0; border: 0; border-radius: .55rem; background: transparent; color: #16324f; font-size: 1.65rem; }
.login-page-register .back-link:active { background: #eef4fa; }
.login-page-register .login-panel h1 { margin-bottom: .55rem; color: #16324f; }
.login-page-register .login-panel .muted { margin-bottom: 1.25rem; color: #66788a; }
.login-page-register .form-stack { margin-top: 0; }
.login-page-register .form-stack label { margin-bottom: .75rem; }
.login-page-register .form-stack input { width: 100%; min-width: 0; height: 2.4rem; background: #fff; border: 1px solid #d6e0ea; }
.login-page-register .form-stack input:focus { border-color: #4a90c2; box-shadow: 0 0 0 3px rgba(74, 144, 194, .12); }
.login-page-register .agreement-check { margin-top: .15rem; margin-bottom: .1rem; }
.login-page-register .form-stack .primary-button { margin-top: .8rem; background: #1769aa; }
.login-page-register .form-stack .primary-button:hover { background: #125987; }
.login-page-register .form-stack .primary-button:disabled { background: #cbd4dd; }
.login-page-register .login-footer-link { margin: 1.4rem auto 0; }
.login-page-register .form-stack .agreement-check { display: flex; flex-direction: row; align-items: flex-start; gap: .35rem; min-width: 0; }
.login-page-register .form-stack .agreement-check input[type="checkbox"] { flex: 0 0 1rem; width: 1rem; min-width: 1rem; height: 1rem; margin: .12rem 0 0; }
.login-page-register .form-stack .agreement-check span { min-width: 0; overflow-wrap: anywhere; }
.agreement-modal { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .24s ease, visibility 0s linear .28s; }
.agreement-modal.is-open { opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
.agreement-modal .agreement-dialog { transform: translateY(100%); opacity: 0; transition: transform .3s cubic-bezier(.22, .75, .2, 1), opacity .22s ease; }
.agreement-modal.is-open .agreement-dialog { transform: translateY(0); opacity: 1; }
.agreement-modal.is-switching .agreement-dialog h2, .agreement-modal.is-switching .agreement-body { animation: agreement-content-in .24s ease both; }
@keyframes agreement-content-in { from { opacity: 0; transform: translateY(.35rem); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
  .agreement-modal, .agreement-modal .agreement-dialog { transition-duration: .01ms; }
  .agreement-modal.is-switching .agreement-dialog h2, .agreement-modal.is-switching .agreement-body { animation: none; }
}

/* Home and navigation use the same restrained blue business palette. */
.bottom-nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bottom-nav button { color: #8a9aaa; }
.bottom-nav button.active { color: #1769aa; }
.home-page .search-bar { border: 1px solid #e0e8ef; box-shadow: 0 2px 8px rgba(22, 50, 79, .04); }
.home-page .search-bar .icon { color: #1769aa; }
.home-page .banner-placeholder { background: #dceaf4; color: #16324f; }
.home-page .banner-placeholder::after { border-color: #ffffffaa; }
.home-page .banner-placeholder strong, .home-page .banner-placeholder span { text-shadow: none; }
.home-page .banner-placeholder i { color: #1769aa; }
.home-page .safety-tip { border-color: #c9dce9; background: #f7fbfe; }
.home-page .safety-tip .icon { color: #1769aa; }
.home-page .safety-tip strong { color: #284d6c; }
.home-page .safety-tip span { color: #8093a4; }
.home-page .product-tabs { gap: .6rem; }
.home-page .product-tabs button { border: 1px solid #e0e8ef; }
.home-page .product-tabs button.active { background: #1769aa; color: #fff; }
.home-page .product-card { border: 1px solid #e4ebf0; box-shadow: 0 3px 12px rgba(22, 50, 79, .04); }
.home-page .product-art.green { background: #e5f0f6; color: #1a587d; }
.home-page .product-art.gold { background: #eef2f4; color: #47677c; }
.home-page .product-box { border-color: rgba(22, 80, 116, .22); box-shadow: 3px 4px 0 rgba(22, 80, 116, .1); }
.home-page .card-bottom strong { color: #d46a3e; }
.home-page .card-bottom span { color: #8293a1; }

/* Keep the remaining front-end modules consistent with the blue business theme. */
.module-banner { background: #1769aa; }
.module-tip, .home-page .safety-tip { background: #f3f8fd; }
.privilege-card { background: #1769aa; }
.profile-hero { border-color: #1769aa; }
.privilege-line { border-top-color: #dbe7f1; }
.contract-card .contract-icon { background: #eaf3fb; }
.address-card, .address-empty { border: 1px solid #e0e8f0; }
.flash-amount-breakdown { background: #f1f7fc; }
.offline-order-note { background: #f5f8fb; color: #60758a; }
.flash-buy-page .flash-product-list > .empty-module { grid-column: 1 / -1; width: 100%; white-space: nowrap; text-align: center; }
.module-tip > .icon { flex: 0 0 1.1rem; width: 1.1rem; }
.module-tip > span:not(.icon) { flex: 1 1 auto; min-width: 0; }
.module-tip > span:not(.icon) small { white-space: nowrap; }
