:root {
  --green: #3dbf73;
  --green-light: #5ecf8f;
  --green-pale: #f0fdf4;
  --ink: #1f2933;
  --muted: #84909c;
  --line: #e6eee8;
  --surface: #ffffff;
  --page: #f4f7f5;
  --shadow: 0 8px 28px rgba(31, 41, 51, 0.06);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; min-height: 100%; background: #e9eeeb; color: var(--ink); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang TC", "Microsoft JhengHei", Arial, sans-serif; }
button, input { font: inherit; }
button { border: 0; cursor: pointer; color: inherit; }
svg { width: 20px; height: 20px; stroke-width: 2; }
.app-shell { position: relative; width: 100%; max-width: 480px; min-height: 100vh; margin: 0 auto; overflow-x: hidden; background: var(--page); box-shadow: 0 0 40px rgba(22, 35, 28, 0.08); }
.topbar { position: fixed; top: 0; left: 50%; z-index: 30; display: flex; align-items: center; justify-content: space-between; width: min(100%, 480px); height: calc(52px + env(safe-area-inset-top)); padding: env(safe-area-inset-top) 15px 0; transform: translateX(-50%); border-bottom: 1px solid #e8efe9; background: rgba(255,255,255,.96); backdrop-filter: blur(12px); }
.brand { display: flex; align-items: center; max-width: 72%; padding: 0; overflow: hidden; background: transparent; color: var(--green); font-size: 16px; font-weight: 750; white-space: nowrap; }
.brand-bolt { margin-right: 6px; font-size: 18px; }
.topbar-actions { display: flex; align-items: center; }
.language-button { display: flex; align-items: center; height: 34px; margin-right: 4px; padding: 0 10px; border: 1px solid #9de8b8; border-radius: 17px; background: var(--green-pale); color: var(--green); font-size: 12px; font-weight: 700; gap: 4px; }
.language-button svg { width: 17px; height: 17px; }
.icon-button, .filter-button, .settings-button, .sheet-close { display: grid; width: 36px; height: 36px; place-items: center; background: transparent; color: var(--green-light); }
.main-content { min-height: 100vh; padding-top: calc(52px + env(safe-area-inset-top)); padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
.tab-page { display: none; min-height: calc(100vh - 122px); }
.tab-page.active { display: block; animation: reveal .22s ease; }
@keyframes reveal { from { opacity: .4; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.hero-block { position: relative; margin: 10px 12px 0; height: 177px; overflow: hidden; border-radius: 14px; background: #deeee4; }
.hero-track { position: relative; height: 100%; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .55s ease; }
.hero-slide.active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; display: block; object-fit: cover; }
.hero-slide::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.62)); }
.hero-caption { position: absolute; left: 16px; right: 16px; bottom: 22px; z-index: 2; display: flex; flex-direction: column; color: #fff; }
.hero-caption strong { font-size: 21px; line-height: 1.2; }
.hero-caption span { margin-top: 4px; color: #c8f5d8; font-size: 12px; }
.hero-dots { position: absolute; z-index: 3; bottom: 8px; left: 0; right: 0; display: flex; justify-content: center; gap: 5px; }
.hero-dots button { width: 6px; height: 6px; padding: 0; border-radius: 50%; background: rgba(255,255,255,.5); }
.hero-dots button.active { width: 15px; border-radius: 4px; background: #6ecf94; }
.notice-bar { width: calc(100% - 24px); height: 44px; margin: 10px 12px 0; padding: 0 12px; display: flex; align-items: center; border: 1px solid #e6f2e9; border-radius: 10px; background: #fff; box-shadow: 0 4px 12px rgba(62,191,115,.05); }
.notice-bar > svg:first-child { color: var(--green-light); width: 17px; }
.notice-bar > svg:last-child { color: #b0b8c0; width: 15px; }
.notice-window { flex: 1; margin: 0 8px; overflow: hidden; text-align: left; font-size: 13px; color: #4a5560; white-space: nowrap; }
#noticeText { display: block; overflow: hidden; text-overflow: ellipsis; transition: opacity .2s ease, transform .2s ease; }
#noticeText.swap { opacity: 0; transform: translateY(-8px); }
.content-section { margin-top: 18px; padding: 0 12px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 11px; }
.section-heading h2 { display: flex; align-items: center; margin: 0; font-size: 17px; letter-spacing: 0; }
.section-heading h2 span:first-child { margin-right: 5px; font-size: 16px; }
.text-button { display: flex; align-items: center; padding: 4px 0 4px 10px; background: transparent; color: var(--green-light); font-size: 13px; }
.text-button svg { width: 14px; }
.eyebrow { color: #9aa5b1; font-size: 10px; letter-spacing: 1px; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.product-card { min-width: 0; padding: 8px; border-radius: 12px; background: #fff; box-shadow: var(--shadow); text-align: left; }
.product-image { position: relative; display: block; width: 100%; height: 184px; overflow: hidden; border-radius: 10px; background: #eef6f0; }
.product-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.badge { position: absolute; top: 7px; left: 7px; padding: 3px 8px; border-radius: 5px; background: #ff9f43; font-size: 10px; font-weight: 650; }
.badge.limit { background: var(--green-light); }
.product-card h3 { height: 38px; margin: 8px 1px 0; overflow: hidden; color: #2d3740; font-size: 13px; line-height: 1.45; font-weight: 650; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.product-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.product-footer strong { min-width: 0; overflow: hidden; color: var(--green); font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.round-arrow { display: grid; flex: 0 0 25px; width: 25px; height: 25px; border-radius: 50%; place-items: center; background: linear-gradient(135deg,#7ee0a3,#4fcf7a); color: white; }
.round-arrow svg { width: 13px; }
.region-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.region-card { position: relative; height: 104px; overflow: hidden; border-radius: 12px; background: #dcefe2; text-align: left; }
.region-card img { width: 100%; height: 100%; object-fit: cover; }
.region-card::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent,rgba(0,0,0,.5)); }
.region-card strong { position: absolute; left: 11px; bottom: 10px; z-index: 2; color: #fff; font-size: 16px; }
.region-card span { position: absolute; top: 8px; right: 8px; z-index: 2; display: grid; width: 23px; height: 23px; border-radius: 50%; place-items: center; background: rgba(255,255,255,.35); color: #fff; }
.region-card svg { width: 13px; }
.partner-row { display: flex; gap: 8px; padding-bottom: 4px; overflow-x: auto; scrollbar-width: none; }
.partner-row::-webkit-scrollbar { display: none; }
.partner-row a { display: grid; flex: 0 0 104px; height: 56px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; place-items: center; background: #fff; }
.partner-row img { max-width: 82px; max-height: 42px; object-fit: contain; }
.site-footer { display: flex; flex-direction: column; align-items: center; padding: 28px 14px 24px; color: #9aa5b1; font-size: 11px; gap: 8px; }
.site-footer strong { color: #5f6b65; font-size: 13px; letter-spacing: 1px; }
.site-footer small { font-size: 10px; }
.inner-page { padding: 22px 15px 28px; }
.app-shell[data-active-tab="orders"] .topbar { display: none; }
.app-shell[data-active-tab="orders"] .main-content { padding-top: 52px; }
.orders-page { min-height: calc(100vh - 122px); margin-top: -34px; padding: 0 0 calc(28px + env(safe-area-inset-bottom)); background: var(--page); }
.orders-heading { display: flex; height: 92px; align-items: center; justify-content: center; border-bottom: 1px solid #e6eee8; background: #fff; }
.orders-heading h1 { margin: 0; color: var(--ink); font-size: 23px; font-weight: 750; }
.order-tabs { display: grid; grid-template-columns: repeat(3, 1fr); height: 80px; padding: 0 28px; background: var(--page); }
.order-tabs button { position: relative; background: transparent; color: #98a7b7; font-size: 17px; font-weight: 650; }
.order-tabs button::after { content: ""; position: absolute; left: 0; right: 0; bottom: 11px; height: 3px; transform: scaleX(0); background: var(--green); }
.order-tabs button.active { color: #94a3b4; }
.order-tabs button.active::after { transform: scaleX(.54); }
.orders-list { display: grid; gap: 14px; padding: 10px 28px 18px; }
.order-card { overflow: hidden; border-radius: 17px; background: #fff; box-shadow: 0 2px 7px rgba(31,41,51,.025); }
.order-card-head { position: relative; display: grid; grid-template-columns: 72px minmax(0, 1fr) 24px; gap: 10px; align-items: start; padding: 14px 14px 8px 18px; }
.order-thumb { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.order-card h2 { min-width: 0; max-height: 58px; margin: 10px 0 0; overflow: hidden; color: var(--ink); font-size: 17px; line-height: 1.42; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.order-status { justify-self: end; margin-top: 4px; color: var(--green); font-size: 18px; line-height: 1.32; writing-mode: vertical-rl; }
.order-status.done { color: var(--green); }
.order-financials { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 18px 18px 17px; text-align: center; }
.order-financials div { display: flex; flex-direction: column; }
.order-financials span { color: var(--ink); font-size: 16px; }
.order-financials strong { margin-top: 10px; color: var(--ink); font-size: 25px; line-height: 1; }
.order-time { margin: 0 18px; padding: 16px 0 20px; border-top: 1px solid #edf0f1; color: var(--ink); font-size: 14px; }
.orders-empty { display: flex; min-height: 430px; flex-direction: column; align-items: center; justify-content: center; padding: 20px; text-align: center; }
.orders-empty.hidden { display: none; }
.page-title { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 20px; }
.page-kicker { display: block; margin-bottom: 3px; color: var(--green); font-size: 10px; font-weight: 750; letter-spacing: 1.5px; }
.page-title h1 { margin: 0; font-size: 27px; line-height: 1.1; }
.filter-button { border: 1px solid var(--line); border-radius: 8px; background: #fff; color: #5c6962; }
.app-shell[data-active-tab="invest"] .topbar { justify-content: center; }
.app-shell[data-active-tab="invest"] .topbar-actions { display: none; }
.app-shell[data-active-tab="invest"] .brand { max-width: calc(100% - 40px); font-size: 17px; }
.app-shell[data-active-tab="invest"] .brand-bolt { display: none; }
.invest-page { padding: 14px 12px 26px; }
.invest-hero { width: 100%; aspect-ratio: 354 / 212; overflow: hidden; border-radius: 12px; background: #e0e9e3; }
.invest-hero img { display: block; width: 100%; height: 100%; object-fit: cover; }
.investment-tabs { display: grid; grid-template-columns: repeat(4, 1fr); height: 47px; margin: 8px -1px 9px; background: var(--page); }
.investment-tabs button { position: relative; padding: 0 4px; background: transparent; color: #9aa5b1; font-size: 13px; font-weight: 650; }
.investment-tabs button::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 2px; transform: scaleX(0); background: var(--green); transition: transform .2s ease; }
.investment-tabs button.active { color: var(--green); font-size: 15px; }
.investment-tabs button.active::after { transform: scaleX(1); }
.investment-list { display: grid; gap: 12px; }
.investment-card { padding: 12px; overflow: hidden; border-radius: 12px; background: #fff; box-shadow: 0 4px 14px rgba(31,41,51,.05); }
.investment-card-head { display: grid; grid-template-columns: 100px minmax(0,1fr); gap: 10px; padding-bottom: 10px; border-bottom: 1px solid #f0f4f2; }
.investment-card-image { width: 100px; height: 100px; padding: 0; overflow: hidden; border-radius: 10px; background: #eef6f0; }
.investment-card-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.investment-copy { min-width: 0; }
.investment-copy h3 { margin: 0; color: var(--ink); font-size: 15px; font-weight: 700; line-height: 1.28; overflow-wrap: anywhere; }
.settlement-tag { display: flex; height: 29px; align-items: center; margin-top: 5px; padding: 0 10px; border: 1px solid #9de8b8; border-radius: 999px; background: #f0fdf4; color: var(--green); font-size: 12px; }
.investment-price { display: block; margin-top: 7px; color: var(--green); font-size: 16px; font-weight: 700; }
.investment-metrics { display: grid; grid-template-columns: repeat(3,1fr); margin: 10px 0 9px; text-align: center; }
.investment-metrics div { min-width: 0; }
.investment-metrics strong { display: block; color: var(--green); font-size: 15px; font-weight: 650; }
.investment-metrics span { display: block; margin-top: 2px; color: #9aa5b1; font-size: 12px; }
.investment-bottom { display: grid; grid-template-columns: minmax(0,1fr) 88px; align-items: center; gap: 10px; }
.investment-progress { position: relative; height: 12px; overflow: hidden; border-radius: 999px; background: #e8efe9; }
.investment-progress i { display: block; height: 100%; border-radius: inherit; background: #5ecf8f; }
.investment-progress span { position: absolute; inset: 0; color: #fff; font-size: 9px; line-height: 12px; text-align: center; }
.lease-button { height: 34px; padding: 0 14px; border-radius: 999px; background: linear-gradient(90deg,#8ce8ad,#5ecf8f); color: #fff; font-size: 13px; white-space: nowrap; }
.investment-loading { padding: 24px 0; color: #9aa5b1; font-size: 12px; text-align: center; }
.investment-loading.hidden { display: none; }
.segmented { display: grid; grid-template-columns: repeat(3,1fr); margin-bottom: 16px; padding: 3px; border-radius: 9px; background: #e9efeb; }
.segmented button { padding: 9px 4px; border-radius: 7px; background: transparent; color: #77827c; font-size: 13px; }
.segmented button.active { background: #fff; color: var(--green); box-shadow: 0 2px 8px rgba(31,41,51,.07); font-weight: 700; }
.empty-state { display: flex; min-height: 440px; flex-direction: column; align-items: center; justify-content: center; padding-bottom: 60px; text-align: center; }
.empty-icon { display: grid; width: 72px; height: 72px; border-radius: 50%; place-items: center; background: #e3f3e9; color: var(--green); }
.empty-icon svg { width: 32px; height: 32px; }
.empty-state h2 { margin: 18px 0 4px; font-size: 17px; }
.empty-state p { margin: 0 0 20px; color: var(--muted); font-size: 12px; }
.primary-button { padding: 11px 22px; border-radius: 8px; background: var(--green); color: #fff; font-size: 14px; font-weight: 700; box-shadow: 0 7px 18px rgba(61,191,115,.2); }
.support-hero { display: flex; align-items: center; margin-bottom: 16px; padding: 18px; border-radius: 12px; background: #18392a; color: #fff; }
.support-icon { display: grid; flex: 0 0 48px; width: 48px; height: 48px; margin-right: 13px; border-radius: 10px; place-items: center; background: var(--green); }
.support-icon svg { width: 24px; height: 24px; }
.support-hero h2 { margin: 0 0 4px; font-size: 17px; }
.support-hero p { margin: 0; color: #b7d7c4; font-size: 12px; }
.menu-list { overflow: hidden; border-radius: 12px; background: #fff; box-shadow: var(--shadow); }
.menu-list > button { display: grid; width: 100%; grid-template-columns: 40px minmax(0,1fr) 20px; align-items: center; padding: 13px 14px; border-bottom: 1px solid #eef2ef; background: #fff; text-align: left; }
.menu-list > button:last-child { border: 0; }
.menu-list > button > span:nth-child(2) { display: flex; min-width: 0; flex-direction: column; }
.menu-list strong { font-size: 14px; }
.menu-list small { margin-top: 3px; color: var(--muted); font-size: 11px; }
.menu-list > button > svg { width: 17px; color: #aab3ae; }
.menu-icon { display: grid; width: 31px; height: 31px; border-radius: 8px; place-items: center; }
.menu-icon svg { width: 17px; }
.menu-icon.mint { background: #e2f6e9; color: #36ad68; }
.menu-icon.amber { background: #fff1d9; color: #e29b28; }
.menu-icon.blue { background: #e4efff; color: #4f86d9; }
.menu-icon.grey { background: #edf0ef; color: #68756e; }
.faq-panel { margin-top: 16px; padding: 15px; border-radius: 12px; background: #fff; }
.faq-panel.hidden { display: none; }
.faq-panel h2 { margin: 0 0 8px; font-size: 16px; }
.faq-panel details { padding: 12px 0; border-top: 1px solid var(--line); }
.faq-panel summary { font-size: 13px; font-weight: 650; }
.faq-panel p { margin: 8px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.app-shell[data-active-tab="service"] .topbar { display: none; }
.app-shell[data-active-tab="service"] .main-content { padding-top: 44px; background: #f0f2f5; }
.service-page { min-height: calc(100vh - 106px); padding-top: 0; background: #f0f2f5; }
.service-header { position: fixed; top: 0; left: 50%; z-index: 32; display: flex; width: min(100%,480px); height: 44px; align-items: center; justify-content: center; transform: translateX(-50%); background: linear-gradient(180deg,#e8f8ee,#f4f7f5); }
.service-header h1 { margin: 0; color: var(--ink); font-size: 17px; font-weight: 650; }
.service-scroll { min-height: calc(100vh - 106px); padding: 12px 12px calc(84px + env(safe-area-inset-bottom)); background: #f0f2f5; }
.service-card { margin-bottom: 19px; padding: 4px 14px; border-radius: 12px; background: #fff; box-shadow: 0 4px 14px rgba(31,41,51,.045); }
.service-row { display: flex; width: 100%; min-height: 66px; align-items: center; padding: 10px 0; background: #fff; color: inherit; text-align: left; text-decoration: none; }
.service-icon { display: flex; flex: 0 0 36px; width: 36px; height: 36px; align-items: center; justify-content: center; margin-right: 12px; border-radius: 50%; }
.service-icon.clock { background: #e8f8ee; color: var(--green); }
.service-icon.clock svg { width: 18px; height: 18px; }
.service-icon.line { border-radius: 8px; background: #06c755; color: #fff; font-size: 10px; font-weight: 800; letter-spacing: -.5px; }
.service-icon.email { border-radius: 8px; background: #8b7fd4; color: #fff; }
.service-icon.email svg { width: 17px; height: 17px; }
.service-copy { display: flex; min-width: 0; flex: 1; flex-direction: column; }
.service-copy strong { color: var(--ink); font-size: 15px; font-weight: 650; }
.service-copy small { margin-top: 4px; overflow: hidden; color: #8a939e; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.service-row > svg { width: 16px; height: 16px; color: #c5cdd6; }
.service-divider { height: 1px; margin-left: 48px; background: #eef1f4; }
.faq-heading { display: flex; align-items: center; margin: 3px 4px 10px; }
.faq-heading > span { display: grid; width: 20px; height: 20px; margin-right: 6px; border-radius: 50%; place-items: center; background: var(--green); color: #fff; font-size: 14px; font-weight: 750; }
.faq-heading strong { color: var(--ink); font-size: 16px; font-weight: 700; }
.faq-card { overflow: hidden; margin-bottom: 28px; border-radius: 12px; background: #fff; box-shadow: 0 4px 14px rgba(31,41,51,.045); }
.faq-row { display: flex; width: 100%; min-height: 54px; align-items: center; justify-content: space-between; padding: 13px 14px; border-bottom: 1px solid #eef1f4; background: #fff; text-align: left; }
.faq-row:last-of-type { border-bottom: 0; }
.faq-row span { padding-right: 12px; color: var(--ink); font-size: 14px; font-weight: 600; line-height: 1.45; }
.faq-row svg { flex: 0 0 15px; width: 15px; height: 15px; color: #c5cdd6; transition: transform .18s ease; }
.faq-row.open svg { transform: rotate(180deg); }
.faq-answer { display: none; margin: 0; padding: 0 14px 14px; border-bottom: 1px solid #eef1f4; color: #5a6570; font-size: 13px; line-height: 1.65; }
.faq-answer.open { display: block; }
.service-footer { padding: 8px 4px 4px; color: #aab2bb; text-align: center; }
.service-footer > div { display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.service-footer i { width: 32px; height: 1px; background: #d8dde3; }
.service-footer > div span { margin: 0 9px; color: #b0b8c0; font-size: 10px; letter-spacing: 1px; }
.service-footer small { display: block; margin-top: 6px; font-size: 10px; }
.profile-page { padding-top: 26px; }
.app-shell[data-active-tab="mine"] .topbar, .app-shell[data-active-tab="mine"] .bottom-nav { display: none; }
.app-shell[data-active-tab="mine"] .main-content { padding: 0; background: #f4f7f5; }
.login-page { position: relative; min-height: 100vh; padding: 0; background: #f4f7f5; text-align: center; }
.login-view { position: relative; min-height: 100vh; padding: 56px 24px 30px; }
.login-back { position: absolute; top: 15px; left: 18px; display: grid; width: 32px; height: 32px; place-items: center; background: transparent; color: #3f4945; }
.login-back svg { width: 23px; height: 23px; }
.login-brand { display: grid; width: 62px; height: 62px; margin: 0 auto 12px; border-radius: 15px; place-items: center; background: linear-gradient(135deg,#83dfa4,#55b975); box-shadow: 0 8px 20px rgba(61,191,115,.18); }
.login-brand span { color: #ffd54f; font-size: 32px; }
.login-title { margin: 0; color: var(--green); font-size: 22px; font-weight: 750; }
.login-subtitle { margin: 6px 0 14px; color: #98a3ad; font-size: 13px; }
.login-switch { display: flex; justify-content: center; gap: 28px; margin-bottom: 23px; }
.login-switch button { position: relative; padding: 4px 0 8px; background: transparent; color: #9aa5b1; font-size: 14px; font-weight: 650; }
.login-switch button.active { color: var(--green); }
.login-switch button.active::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 2px; border-radius: 2px; background: var(--green); }
.account-form { display: grid; gap: 13px; }
.account-input { display: flex; height: 48px; align-items: center; padding: 0 13px; border: 1px solid #e1e7e4; border-radius: 9px; background: #fff; text-align: left; }
.account-input > svg { flex: 0 0 17px; width: 17px; height: 17px; color: #aab3bc; }
.account-input input { min-width: 0; flex: 1; height: 100%; margin-left: 10px; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 14px; }
.account-input input::placeholder { color: #aab3bc; }
.account-input button { display: grid; width: 25px; height: 25px; place-items: center; background: transparent; color: #aab3bc; }
.account-input button svg { width: 17px; height: 17px; }
.account-submit { height: 48px; margin-top: 1px; border-radius: 24px; background: #cfd4da; color: #1f2933; font-size: 15px; font-weight: 700; }
.account-submit.ready { background: var(--green); color: #fff; }
.forgot-button { margin-top: 15px; padding: 4px; background: transparent; color: #1f2933; font-size: 13px; }
.login-view.register-mode { min-height: 100svh; padding: max(18px, env(safe-area-inset-top)) 24px calc(28px + env(safe-area-inset-bottom)); }
.login-view.register-mode .login-back, .login-view.register-mode .login-brand { display: none; }
.login-view.register-mode .login-title { margin-top: 0; font-size: 24px; line-height: 1.25; letter-spacing: .01em; }
.login-view.register-mode .login-subtitle { margin: 7px 0 27px; font-size: 16px; letter-spacing: .02em; }
.login-view.register-mode .login-switch { gap: 28px; margin-bottom: 25px; }
.login-view.register-mode .login-switch button { padding: 4px 0 9px; font-size: 18px; }
.login-view.register-mode .login-switch button.active::after { height: 3px; }
.login-view.register-mode .account-form { gap: 15px; }
.login-view.register-mode .account-input { height: 50px; padding: 0 15px; border-color: #e2ebe5; border-radius: 12px; }
.login-view.register-mode .account-input > svg { flex-basis: 20px; width: 20px; height: 20px; }
.login-view.register-mode .account-input input { margin-left: 13px; font-size: 16px; }
.login-view.register-mode .account-input input::placeholder { color: #9aa6b4; opacity: 1; }
.login-view.register-mode .account-input button { width: 30px; height: 30px; }
.login-view.register-mode .account-input button svg { width: 20px; height: 20px; }
.login-view.register-mode .account-submit { height: 52px; margin-top: 4px; border-radius: 999px; background: linear-gradient(105deg,#78e5a3 0%,#20a85d 100%); box-shadow: 0 12px 25px rgba(61,191,115,.22); color: #152920; font-size: 19px; font-weight: 750; }
.register-footer { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 21px; color: #9aa5b1; font-size: 16px; }
.register-footer button { padding: 3px 0; background: transparent; color: var(--green); font-size: inherit; font-weight: 700; }
.register-note { margin: 20px 0 0; color: #222a31; font-size: 14px; line-height: 1.5; }
.debug-profile { display: none; min-height: 100vh; padding-bottom: calc(74px + env(safe-area-inset-bottom)); background: #f4f7f5; text-align: left; }
.debug-auth .login-view { display: none; }
.debug-auth .debug-profile { display: block; }
.debug-auth .app-shell[data-active-tab="mine"] .bottom-nav { display: grid; }
.debug-auth .app-shell[data-active-tab="mine"] .main-content { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
.me-userbar { display: grid; height: 62px; grid-template-columns: minmax(0,1fr) 42px; align-items: center; padding: 5px 18px; border-bottom: 1px solid #edf0ee; background: #fff; }
.me-profile-link { display: grid; min-width: 0; grid-template-columns: 50px minmax(0,1fr); align-items: center; }
.me-avatar-open { display: grid; width: 43px; height: 43px; padding: 0; border-radius: 50%; place-items: center; background: transparent; }
.me-avatar { width: 43px; height: 43px; border-radius: 50%; }
.me-identity { display: grid; min-width: 0; grid-template-columns: max-content minmax(0,1fr); align-items: center; gap: 3px 10px; }
.me-identity-profile { display: grid; grid-column: 1; grid-row: 1 / span 2; justify-items: start; padding: 0; background: transparent; text-align: left; }
.me-identity strong { color: #15191c; font-size: 16px; }
.me-identity small { color: #31383d; font-size: 13px; }
.me-invite-copy { display: flex; min-width: 0; grid-column: 2; grid-row: 1 / span 2; align-items: center; justify-self: start; gap: 4px; padding: 0; overflow: hidden; background: transparent; color: #34403a; font-size: 11px; text-align: left; white-space: nowrap; }
.me-invite-copy b { flex: 0 0 auto; padding: 3px 6px; border-radius: 4px; background: #eaf8ef; color: #3c8f60; font-weight: 600; }
.me-invite-copy span { overflow: hidden; text-overflow: ellipsis; }
.me-invite-copy svg { flex: 0 0 12px; width: 12px; height: 12px; color: #7e8b83; }
.me-service-link { display: grid; justify-self: end; width: 42px; height: 42px; padding: 0; overflow: hidden; border-radius: 50%; place-items: center; background: transparent; }
.me-service-link:focus-visible { outline: 2px solid #3dbf73; outline-offset: 2px; }
.me-service-avatar { display: block; width: 42px; height: 42px; object-fit: cover; }
.me-content { padding: 20px 18px 18px; }
.me-funds-card { padding: 22px 18px 26px; border: 1px solid #e8ece9; border-radius: 11px; background: #fff; }
.me-funds-head { display: flex; align-items: center; justify-content: space-between; color: #59bf82; }
.me-funds-head strong { font-size: 14px; }
.me-funds-head button { display: flex; align-items: center; padding: 0; background: transparent; color: #59bf82; font-size: 14px; font-weight: 700; gap: 6px; }
.me-funds-head svg { width: 17px; height: 17px; }
.me-main-balance { margin: 8px 0 13px; color: #59bf82; font-size: 31px; font-weight: 700; line-height: 1; }
.me-fund-columns { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
.me-fund-columns > div { display: flex; min-width: 0; flex-direction: column; align-items: center; }
.me-fund-columns > div + div { border-left: 1px solid #e6ebe8; }
.me-fund-columns span { color: #30363a; font-size: 13px; white-space: nowrap; }
.me-fund-columns strong { margin: 7px 0 13px; color: #202528; font-size: 24px; line-height: 1; }
.me-fund-columns button { width: 124px; max-width: 84%; height: 30px; border-radius: 16px; background: #78d69c; color: #183127; font-size: 13px; font-weight: 650; }
.me-fund-columns button.outline { border: 1px solid #60c48a; background: #fff; }
.me-vip-card { display: grid; width: 100%; height: 92px; grid-template-columns: 80px minmax(0,1fr) 20px; align-items: center; margin-top: 17px; padding: 8px 16px; border-radius: 11px; background: #fff; text-align: left; }
.me-vip-card > span { display: flex; flex-direction: column; align-items: center; }
.me-vip-card img { width: 66px; height: 48px; object-fit: contain; }
.me-vip-card small { margin-top: -2px; color: #202528; font-size: 12px; }
.me-vip-card strong { color: #252b2f; font-size: 16px; }
.me-vip-card > svg { width: 20px; color: #58c282; }
.me-section { margin-top: 32px; }
.me-section h2 { margin: 0 0 12px; color: #242b2e; font-size: 17px; }
.me-order-grid { display: grid; height: 91px; grid-template-columns: repeat(3,1fr); border-radius: 11px; background: #fff; }
.me-order-grid button, .me-feature-grid button { display: flex; align-items: center; justify-content: center; background: transparent; }
.me-order-grid button { flex-direction: column; color: #20272a; font-size: 15px; gap: 6px; }
.me-order-grid svg { width: 25px; height: 25px; color: #55bc7d; stroke-width: 1.8; }
.me-feature-grid { display: grid; min-height: 228px; grid-template-columns: repeat(3,minmax(0,1fr)); align-content: start; padding: 11px 4px 9px; border-radius: 11px; background: #fff; row-gap: 7px; }
.me-feature-grid button { min-width: 0; min-height: 97px; flex-direction: column; padding: 8px 1px; }
.me-feature-grid svg { width: 26px; height: 26px; margin-bottom: 7px; color: #55bc7d; stroke-width: 1.8; }
.me-feature-grid strong { max-width: 100%; color: #20272a; font-size: 15px; font-weight: 500; white-space: nowrap; }
.me-feature-grid small { max-width: 100%; margin-top: 6px; overflow: hidden; color: #252b2f; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.debug-exit { display: none; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; margin: -1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; border: 0 !important; }
.app-shell[data-active-tab="user"] .topbar, .app-shell[data-active-tab="user"] .bottom-nav { display: none; }
.app-shell[data-active-tab="user"] .main-content { padding: 0; background: #f4f7f5; }
.user-page { min-height: 100vh; background: #f4f7f5; }
.user-header { position: relative; display: flex; height: 54px; align-items: center; justify-content: center; border-bottom: 1px solid #edf0ee; background: #fff; }
.user-header button { position: absolute; left: 12px; display: grid; width: 38px; height: 38px; place-items: center; background: transparent; color: #30383c; }
.user-header button svg { width: 24px; height: 24px; stroke-width: 1.8; }
.user-header h1 { margin: 0; color: #20272a; font-size: 18px; font-weight: 650; }
.user-content { min-height: calc(100vh - 54px); padding: 32px 18px 24px; }
.user-avatar-button { display: flex; flex-direction: column; align-items: center; margin: 0 auto; padding: 0; background: transparent; }
.user-avatar-button img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.user-avatar-button span { margin-top: 10px; color: #818b91; font-size: 14px; }
.user-info-card { margin-top: 64px; overflow: hidden; border-radius: 8px; background: #fff; }
.user-info-row { display: grid; min-height: 57px; grid-template-columns: 82px minmax(0,1fr); align-items: center; padding: 0 17px; border-bottom: 1px solid #edf0ee; }
.user-info-row:last-child { border-bottom: 0; }
.user-info-row span { color: #252c30; font-size: 15px; }
.user-info-row strong { color: #252c30; font-size: 15px; font-weight: 400; }
.app-shell[data-active-tab="announcements"] .topbar, .app-shell[data-active-tab="announcements"] .bottom-nav { display: none; }
.app-shell[data-active-tab="announcements"] .main-content { padding: 0; background: #f0f2f5; }
.system-messages-page { min-height: 100vh; background: #f0f2f5; }
.system-messages-header { position: relative; display: flex; height: 54px; align-items: center; justify-content: center; border-bottom: 1px solid #e9eeeb; background: linear-gradient(180deg,#e8f8ee,#f4f7f5); }
.system-messages-header button { position: absolute; left: 12px; display: grid; width: 38px; height: 38px; place-items: center; background: transparent; color: #202a32; }
.system-messages-header button svg { width: 25px; height: 25px; stroke-width: 2; }
.system-messages-header h1 { margin: 0; color: #202a32; font-size: 21px; font-weight: 750; }
.system-messages-content { min-height: calc(100vh - 54px); padding: 12px 10px calc(24px + env(safe-area-inset-bottom)); }
.system-message-list { display: grid; gap: 12px; }
.system-message-card { min-width: 0; padding: 17px 16px 18px; border-radius: 17px; background: #fff; box-shadow: 0 8px 18px rgba(31,41,51,.035); }
.system-message-card[data-open-announcement] { cursor: pointer; }
.system-message-card[data-open-announcement]:focus-visible { outline: 2px solid #58c282; outline-offset: 2px; }
.system-message-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.system-message-heading h2 { min-width: 0; margin: 0; color: #202a32; font-size: 18px; font-weight: 700; line-height: 1.45; overflow-wrap: anywhere; }
.system-message-heading time { flex: 0 0 auto; color: #99a3af; font-size: 12px; line-height: 1.4; white-space: nowrap; }
.system-message-card > p { margin: 13px 0 0; color: #4b5661; font-size: 15px; line-height: 1.75; white-space: pre-line; overflow-wrap: anywhere; }
.system-message-state { margin: 0; padding: 36px 16px; color: #919ba4; font-size: 14px; text-align: center; }
.app-shell[data-active-tab="announcement-detail"] .topbar, .app-shell[data-active-tab="announcement-detail"] .bottom-nav { display: none; }
.app-shell[data-active-tab="announcement-detail"] .main-content { padding: 0; background: #f0f2f5; }
.message-detail-page { min-height: 100vh; background: #f0f2f5; }
.message-detail-header { position: relative; display: flex; height: 54px; align-items: center; justify-content: center; border-bottom: 1px solid #e9eeeb; background: linear-gradient(180deg,#e8f8ee,#f4f7f5); }
.message-detail-header button { position: absolute; left: 12px; display: grid; width: 38px; height: 38px; place-items: center; background: transparent; color: #202a32; }
.message-detail-header button svg { width: 25px; height: 25px; stroke-width: 2; }
.message-detail-header h1 { margin: 0; color: #202a32; font-size: 21px; font-weight: 750; }
.message-detail-content { min-height: calc(100vh - 54px); padding: 12px 13px calc(24px + env(safe-area-inset-bottom)); }
.message-detail-card { min-height: 190px; padding: 18px 17px 22px; border-radius: 17px; background: #fff; box-shadow: 0 8px 18px rgba(31,41,51,.035); }
.message-detail-card h2 { margin: 0; color: #202a32; font-size: 21px; font-weight: 750; line-height: 1.45; overflow-wrap: anywhere; }
.message-detail-body { margin-top: 17px; color: #49586f; font-size: 17px; line-height: 1.8; white-space: pre-line; overflow-wrap: anywhere; }
.app-shell[data-active-tab="membership"] .topbar, .app-shell[data-active-tab="membership"] .bottom-nav { display: none; }
.app-shell[data-active-tab="membership"] .main-content { padding: 0; background: #f4f7f5; }
.membership-page { min-height: 100vh; background: #f4f7f5; }
.membership-header { position: fixed; top: 0; left: 0; z-index: 5; display: flex; width: 100%; height: 50px; align-items: center; justify-content: center; background: #f4f7f5; color: #1f2933; }
.membership-header > button { position: absolute; left: 8px; display: grid; width: 42px; height: 44px; place-items: center; background: transparent; color: #1f2933; }
.membership-header > button svg { width: 22px; height: 22px; stroke-width: 2; }
.membership-header h1 { margin: 0; color: #1f2933; font-size: 16px; font-weight: 500; }
.membership-content { min-height: 100vh; padding: 65px 15px 20px; }
.membership-level-list { display: flex; flex-direction: column; gap: 12px; }
.membership-level-image { display: block; width: 100%; height: auto; border-radius: 6px; }
.app-shell[data-active-tab="wallet"] .topbar, .app-shell[data-active-tab="wallet"] .bottom-nav { display: none; }
.app-shell[data-active-tab="wallet"] .main-content { padding: 0; background: #f4f7f5; }
.wallet-page { min-height: 100vh; background: #f4f7f5; }
.wallet-header { display: flex; height: 50px; align-items: center; border-bottom: 1px solid #edf0ee; background: #fff; }
.wallet-header button { display: grid; width: 50px; height: 50px; place-items: center; background: transparent; color: #59bf82; }
.wallet-header svg { width: 24px; height: 24px; stroke-width: 1.8; }
.wallet-content { padding: 16px 18px 30px; }
.wallet-balance-card { padding: 21px 18px 25px; border: 1px solid #e8ece9; border-radius: 11px; background: #fff; }
.wallet-balance-label { display: flex; align-items: center; color: #59bf82; gap: 8px; }
.wallet-balance-label span { font-size: 14px; font-weight: 650; line-height: 1.2; }
.wallet-balance-label button { display: grid; width: 25px; height: 25px; place-items: center; padding: 0; background: transparent; color: #59bf82; }
.wallet-balance-label svg { width: 17px; height: 17px; }
.wallet-total { display: block; margin-top: 2px; color: #59bf82; font-size: 31px; line-height: 1; }
.wallet-columns { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 13px; }
.wallet-columns > div { display: flex; min-width: 0; flex-direction: column; align-items: center; }
.wallet-columns > div + div { border-left: 1px solid #e6ebe8; }
.wallet-columns span { color: #30363a; font-size: 13px; white-space: nowrap; }
.wallet-columns strong { margin: 7px 0 13px; color: #202528; font-size: 24px; line-height: 1; }
.wallet-columns button { width: 124px; max-width: 84%; height: 30px; border-radius: 16px; background: #78d69c; color: #183127; font-size: 13px; font-weight: 650; }
.wallet-columns button.outline { border: 1px solid #60c48a; background: #fff; }
.wallet-record-card { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 16px; overflow: hidden; border-radius: 11px; background: #fff; }
.wallet-record-card > button { display: grid; min-width: 0; min-height: 88px; grid-template-columns: 35px minmax(0,1fr) 17px; align-items: center; padding: 12px 13px; background: #fff; text-align: left; }
.wallet-record-card > button + button { border-left: 1px solid #edf0ee; }
.wallet-record-card > button > span:nth-child(2) { display: flex; min-width: 0; flex-direction: column; }
.wallet-record-icon { display: grid; width: 29px; height: 29px; place-items: center; color: #59bf82; }
.wallet-record-icon svg { width: 24px; height: 24px; stroke-width: 1.7; }
.wallet-record-card strong { color: #252b2f; font-size: 14px; }
.wallet-record-card small { margin-top: 5px; overflow: hidden; color: #6e797f; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.wallet-record-card > button > svg { width: 16px; height: 16px; color: #59bf82; }
.wallet-detail-section { margin-top: 29px; }
.wallet-detail-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 11px; }
.wallet-detail-head h2 { margin: 0; color: #252b2f; font-size: 17px; }
.wallet-detail-head button { display: flex; align-items: center; padding: 5px 0 5px 12px; background: transparent; color: #30383d; font-size: 13px; gap: 4px; }
.wallet-detail-head button svg { width: 15px; height: 15px; color: #59bf82; }
.wallet-detail-list { overflow: hidden; border-radius: 11px; background: #fff; }
.wallet-detail-list article { display: flex; min-height: 68px; align-items: center; justify-content: space-between; padding: 11px 15px; border-bottom: 1px solid #edf0ee; }
.wallet-detail-list article:last-child { border-bottom: 0; }
.wallet-detail-list article span { display: flex; flex-direction: column; }
.wallet-detail-list b { color: #252b2f; font-size: 14px; font-weight: 600; }
.wallet-detail-list small { margin-top: 5px; color: #929ca2; font-size: 11px; }
.wallet-detail-list article > strong { color: #59bf82; font-size: 16px; }
.wallet-detail-list article > strong.negative { color: #30383d; }
.app-shell[data-active-tab="withdrawal-history"] .topbar, .app-shell[data-active-tab="withdrawal-history"] .bottom-nav,
.app-shell[data-active-tab="deposit-history"] .topbar, .app-shell[data-active-tab="deposit-history"] .bottom-nav { display: none; }
.app-shell[data-active-tab="withdrawal-history"] .main-content, .app-shell[data-active-tab="deposit-history"] .main-content { padding: 0; background: #f4f7f5; }
.withdrawal-history-page { min-height: 100vh; background: #f4f7f5; }
.withdrawal-history-header { position: relative; display: flex; height: 54px; align-items: center; justify-content: center; border-bottom: 1px solid #edf0ee; background: #fff; }
.withdrawal-history-header > button { position: absolute; left: 10px; display: grid; width: 40px; height: 40px; place-items: center; background: transparent; color: #202a34; }
.withdrawal-history-header > button svg { width: 25px; height: 25px; stroke-width: 2.2; }
.withdrawal-history-header h1 { margin: 0; color: #202a34; font-size: 20px; font-weight: 700; }
.withdrawal-history-content { padding: 0 14px 28px; }
.withdrawal-history-list { overflow: hidden; border-radius: 10px; background: #fff; }
.withdrawal-history-item { display: flex; min-height: 81px; flex-direction: column; justify-content: space-between; padding: 15px 16px 13px; }
.withdrawal-history-summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.withdrawal-history-summary strong, .withdrawal-history-summary b, .withdrawal-history-item time { color: #252e38; font-size: 16px; font-weight: 450; line-height: 1.35; }
.withdrawal-history-summary b { flex: 0 0 auto; font-size: 16px; font-weight: 450; }
.withdrawal-history-item time { align-self: flex-end; white-space: nowrap; }
.withdrawal-history-status.complete { color: #2e9f65; }
.withdrawal-history-status.failed { color: #252e38; }
.withdrawal-history-empty { margin: 0; padding: 37px 16px; border-radius: 10px; background: #fff; color: #90999e; font-size: 14px; text-align: center; }
.app-shell[data-active-tab="withdraw"] .topbar, .app-shell[data-active-tab="withdraw"] .bottom-nav { display: none; }
.app-shell[data-active-tab="withdraw"] .main-content { padding: 0; background: #f4f7f5; }
.withdraw-page { min-height: 100vh; background: #f4f7f5; }
.withdraw-header { position: relative; display: flex; height: 54px; align-items: center; justify-content: center; border-bottom: 1px solid #edf0ee; background: #fff; }
.withdraw-header > button { position: absolute; left: 10px; display: grid; width: 40px; height: 40px; place-items: center; background: transparent; color: #59bf82; }
.withdraw-header > button svg { width: 24px; height: 24px; stroke-width: 1.8; }
.withdraw-header h1 { margin: 0; color: #222a2e; font-size: 18px; font-weight: 650; }
.withdraw-content { padding: 18px; }
.withdraw-balance-card { display: flex; min-height: 105px; flex-direction: column; justify-content: center; padding: 17px 18px; border-radius: 11px; background: linear-gradient(135deg,#67ca8f,#49b979); color: #fff; }
.withdraw-balance-card span { font-size: 13px; opacity: .9; }
.withdraw-balance-card strong { margin-top: 8px; font-size: 29px; line-height: 1; }
.withdraw-form { margin-top: 16px; }
.withdraw-field { display: block; }
.withdraw-field > span { display: block; margin-bottom: 9px; color: #262d31; font-size: 15px; font-weight: 600; }
.withdraw-field > div { display: flex; height: 52px; align-items: center; padding: 0 15px; border: 1px solid #e2e8e4; border-radius: 9px; background: #fff; }
.withdraw-field input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: #20272a; font-size: 16px; }
.withdraw-field input::placeholder { color: #a2abb0; }
.withdraw-field b { color: #59bf82; font-size: 13px; }
.withdraw-destination { display: flex; width: 100%; min-height: 67px; align-items: center; justify-content: space-between; margin-top: 14px; padding: 11px 15px; border-radius: 9px; background: #fff; text-align: left; }
.withdraw-destination > span { display: flex; min-width: 0; flex-direction: column; }
.withdraw-destination small { color: #7d888e; font-size: 12px; }
.withdraw-destination strong { margin-top: 6px; overflow: hidden; color: #262d31; font-size: 14px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.withdraw-destination > svg { width: 17px; height: 17px; color: #59bf82; }
.withdraw-note { margin-top: 25px; }
.withdraw-note h2 { margin: 0 0 10px; color: #262d31; font-size: 16px; }
.withdraw-note p { margin: 0; color: #747f85; font-size: 13px; line-height: 1.75; }
.withdraw-submit { width: 100%; height: 48px; margin-top: 30px; border-radius: 24px; background: #78d69c; color: #153225; font-size: 16px; font-weight: 700; }
.app-shell[data-active-tab="deposit"] .topbar, .app-shell[data-active-tab="deposit"] .bottom-nav { display: none; }
.app-shell[data-active-tab="deposit"] .main-content { padding: 0; background: #f4f7f5; }
.deposit-page { display: flex !important; min-height: 100vh; flex-direction: column; background: #f4f7f5; }
.deposit-page:not(.active) { display: none !important; }
.deposit-header { position: relative; display: flex; flex: 0 0 54px; height: 54px; align-items: center; justify-content: center; border-bottom: 1px solid #edf0ee; background: #fff; }
.deposit-header > button { position: absolute; left: 10px; display: grid; width: 40px; height: 40px; place-items: center; background: transparent; color: #59bf82; }
.deposit-header > button svg { width: 24px; height: 24px; stroke-width: 1.8; }
.deposit-header h1 { margin: 0; color: #222a2e; font-size: 18px; font-weight: 650; }
.deposit-content { position: relative; display: flex; min-height: calc(100vh - 54px); flex: 1; flex-direction: column; padding: 0; }
.deposit-frame { display: block; width: 100%; min-height: calc(100vh - 54px); flex: 1; border: 0; background: #fff; }
.deposit-fallback { position: absolute; right: 13px; bottom: 13px; padding: 8px 12px; border-radius: 17px; background: rgba(61,191,115,.95); color: #102d1c; font-size: 12px; text-decoration: none; }
.app-shell[data-active-tab="invite"] .topbar, .app-shell[data-active-tab="invite"] .bottom-nav { display: none; }
.app-shell[data-active-tab="invite"] .main-content { padding: 0; background: #070908; }
.invite-page { position: relative; min-height: 100vh; overflow: hidden; background: #070908 url("./assets/images/invite-bg.jpeg") top center / 100% auto no-repeat; }
.invite-back { position: absolute; top: max(10px,env(safe-area-inset-top)); left: 8px; z-index: 3; display: grid; width: 44px; height: 44px; border-radius: 50%; place-items: center; background: rgba(0,0,0,.3); color: #fff; }
.invite-back svg { width: 25px; height: 25px; stroke-width: 1.8; }
.invite-page-content { width: min(100%, 480px); min-height: 100vh; margin: 0 auto; padding: 340px 18px 28px; }
.invite-poster { position: relative; width: 100%; min-height: 402px; padding: 13px; border-radius: 12px; }
.invite-card { display: flex; min-height: 376px; flex-direction: column; align-items: center; padding: 27px 28px 20px; border-radius: 12px; background: url("./assets/images/invite-card.jpg") center / 100% 100% no-repeat; color: #1f2933; }
.invite-logo { position: absolute; top: -29px; left: 50%; z-index: 2; width: 61px; height: 61px; transform: translateX(-50%); border-radius: 50%; object-fit: cover; }
.invite-card h1 { margin: 2px 0 10px; font-size: 17px; font-weight: 500; }
.invite-link-text { width: 100%; min-height: 40px; margin: 0; overflow-wrap: anywhere; color: #1f2933; font-size: 12px; line-height: 1.45; text-align: center; }
.invite-qr { display: grid; width: 172px; height: 172px; flex: 0 0 172px; margin-top: 9px; padding: 20px; place-items: center; overflow: hidden; background: #fff; }
.invite-qr canvas, .invite-qr img { display: block; width: 132px !important; height: 132px !important; }
.invite-code { margin: 11px 0 0; color: #1f2933; font-size: 17px; }
.invite-code strong { font-weight: 500; }
.invite-actions { display: grid; grid-template-columns: 152px 154px; justify-content: space-between; margin: 17px 22px 0; gap: 18px; }
.invite-actions button { display: flex; height: 49px; align-items: center; justify-content: center; border-radius: 25px; font-size: 17px; font-weight: 650; gap: 7px; }
.invite-actions svg { width: 19px; height: 19px; }
.invite-copy-button { border: 1px solid #3dbf73; background: rgba(6,10,8,.72); color: #3dbf73; }
.invite-save-button { background: #3dbf73; color: #fff; }
.app-shell[data-active-tab="setup"] .topbar, .app-shell[data-active-tab="setup"] .bottom-nav,
.app-shell[data-active-tab="security"] .topbar, .app-shell[data-active-tab="security"] .bottom-nav,
.app-shell[data-active-tab="privacy"] .topbar, .app-shell[data-active-tab="privacy"] .bottom-nav,
.app-shell[data-active-tab="password"] .topbar, .app-shell[data-active-tab="password"] .bottom-nav { display: none; }
.app-shell[data-active-tab="setup"] .main-content, .app-shell[data-active-tab="security"] .main-content,
.app-shell[data-active-tab="privacy"] .main-content, .app-shell[data-active-tab="password"] .main-content { padding: 0; background: #f4f7f5; }
.setup-page, .security-page, .privacy-page, .password-page { min-height: 100vh; background: #f4f7f5; }
.setup-header { position: relative; display: flex; height: 61px; align-items: center; justify-content: center; border-bottom: 1px solid #edf0ee; background: rgba(255,255,255,.96); }
.setup-header > button:first-child { position: absolute; left: 9px; display: grid; width: 44px; height: 44px; place-items: center; background: transparent; color: #222a2e; }
.setup-header > button:first-child svg { width: 26px; height: 26px; stroke-width: 1.9; }
.setup-header h1 { max-width: calc(100% - 100px); margin: 0; overflow: hidden; color: #1f2933; font-size: 20px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.setup-content { min-height: calc(100vh - 61px); padding: 19px 18px 28px; }
.setup-list { display: flex; flex-direction: column; gap: 18px; }
.setup-row { display: grid; width: 100%; height: 61px; grid-template-columns: 44px minmax(0,1fr) 24px; align-items: center; padding: 0 17px; background: #fff; color: #1f2933; text-align: left; }
.setup-row-icon { width: 25px; height: 25px; color: #a8b0b8; stroke-width: 1.8; }
.setup-row-icon.green { color: #5aba7d; }
.setup-row > svg:last-child { width: 23px; height: 23px; color: #9aa4ac; stroke-width: 1.8; }
.setup-row span { font-size: 17px; }
.setup-version strong { color: #1f2933; font-size: 17px; font-weight: 400; text-align: right; }
.setup-logout { display: block; width: 100%; height: 61px; margin-top: 18px; background: transparent; color: #f0443e; font-size: 18px; font-weight: 700; }
.security-content { padding: 0 18px; }
.security-list { overflow: hidden; border-radius: 12px; background: #fff; }
.security-row { display: flex; width: 100%; height: 61px; align-items: center; justify-content: space-between; padding: 0 22px; background: #fff; color: #1f2933; text-align: left; }
.security-row + .security-row { border-top: 1px solid #f0f1f1; }
.security-row span { font-size: 17px; font-weight: 600; }
.security-row svg { width: 22px; height: 22px; color: #5aba7d; stroke-width: 1.8; }
.privacy-content { padding: 18px 22px 32px; color: #303133; }
.privacy-content p { margin: 0 0 18px; font-size: 17px; line-height: 1.7; }
.password-content { padding: 0 18px; }
.password-form-card { overflow: hidden; border-radius: 8px; background: #fff; }
.password-row { display: grid; min-height: 61px; grid-template-columns: 102px minmax(0,1fr); align-items: center; padding: 0 22px; }
.password-row + .password-row { border-top: 1px solid #f0f1f1; }
.password-row span { color: #1f2933; font-size: 17px; }
.password-row strong, .password-row input { min-width: 0; color: #1f2933; font-size: 16px; font-weight: 400; text-align: right; }
.password-row input { width: 100%; border: 0; outline: 0; background: transparent; }
.password-row input::placeholder { color: #a4abb2; }
.password-hint { margin: 23px 22px 0; color: #303133; font-size: 17px; }
.password-submit { width: 100%; height: 47px; margin-top: 53px; border-radius: 24px; background: #65c17f; color: #1f2933; font-size: 17px; font-weight: 700; }
.security-action-sheet button:first-of-type { justify-content: center; color: #1f2933; font-size: 18px; }
.security-action-sheet button:last-child { color: #1f2933; font-size: 18px; }
.app-shell[data-active-tab="identity"] .topbar, .app-shell[data-active-tab="identity"] .bottom-nav { display: none; }
.app-shell[data-active-tab="identity"] .main-content { padding: 0; background: #f4f7f5; }
.identity-page { min-height: 100vh; background: #f4f7f5; }
.identity-header { position: relative; display: flex; height: 62px; align-items: center; justify-content: center; border-bottom: 1px solid #edf0ee; background: #fff; }
.identity-header > button { position: absolute; left: 9px; display: grid; width: 42px; height: 42px; place-items: center; background: transparent; color: #222b31; }
.identity-header > button svg { width: 27px; height: 27px; stroke-width: 2.2; }
.identity-header h1 { margin: 0; color: #222a30; font-size: 20px; font-weight: 750; }
.identity-content { padding: 0 15px 20px; }
.identity-info-card { margin-top: 0; overflow: hidden; border-radius: 7px; background: #fff; }
.identity-info-card label { display: grid; min-height: 62px; grid-template-columns: 105px minmax(0,1fr); align-items: center; padding: 0 19px; }
.identity-info-card label + label { border-top: 1px solid #f1f3f2; }
.identity-info-card span { color: #232b31; font-size: 17px; }
.identity-info-card input { min-width: 0; height: 46px; padding: 0; border: 0; outline: 0; background: transparent; color: #232b31; font-size: 16px; text-align: right; }
.identity-info-card input::placeholder { color: #a4aebb; opacity: 1; }
.identity-upload-label { display: block; margin: 20px 0 8px; color: #252e34; font-size: 18px; }
.identity-upload-box { position: relative; display: grid; width: 100%; aspect-ratio: 428 / 196; overflow: hidden; border: 1px dashed #cbd5df; border-radius: 7px; place-items: center; background: #fff; color: #252e34; font-size: 17px; }
.identity-upload-box img { position: absolute; inset: 0; display: none; width: 100%; height: 100%; object-fit: contain; background: #fff; }
.identity-upload-box.has-image img { display: block; }
.identity-upload-box.has-image span { display: none; }
.identity-submit { width: 100%; height: 46px; margin-top: 29px; border-radius: 24px; background: #3bc478; color: #123328; font-size: 17px; font-weight: 750; }
.app-shell[data-active-tab="bank"] .topbar, .app-shell[data-active-tab="bank"] .bottom-nav { display: none; }
.app-shell[data-active-tab="bank"] .main-content { padding: 0; background: #f5f7f6; }
.bank-page { min-height: 100vh; background: #f5f7f6; }
.bank-header { position: relative; display: flex; height: 58px; align-items: center; justify-content: center; border-bottom: 1px solid #eff1f0; background: #fff; }
.bank-header > button { position: absolute; left: 8px; display: grid; width: 44px; height: 44px; place-items: center; background: transparent; color: #222a2e; }
.bank-header svg { width: 25px; height: 25px; stroke-width: 1.8; }
.bank-header h1 { margin: 0; color: #22292d; font-size: 19px; font-weight: 650; }
.bank-content { padding: 16px 15px 30px; }
.bank-address-list { display: grid; gap: 12px; }
.bank-address-card { display: grid; min-height: 88px; grid-template-columns: minmax(0,1fr) 40px; align-items: stretch; padding: 0 10px 0 0; border: 1px solid #edf0ee; border-radius: 7px; background: #fff; }
.bank-address-open { display: grid; min-width: 0; grid-template-columns: 48px minmax(0,1fr); align-items: center; padding: 13px 0 13px 15px; background: transparent; text-align: left; }
.bank-coin-icon { display: grid; width: 38px; height: 38px; border-radius: 50%; place-items: center; background: #38b98a; color: #fff; font-size: 19px; font-weight: 750; }
.bank-coin-icon::before { content: "T"; }
.bank-address-copy { display: flex; min-width: 0; flex-direction: column; }
.bank-address-copy strong { color: #252c30; font-size: 15px; font-weight: 500; }
.bank-address-copy small { margin-top: 7px; overflow: hidden; color: #747e84; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.bank-delete-button { display: grid; width: 40px; height: 40px; place-items: center; background: transparent; color: #8b9499; }
.bank-delete-button svg { width: 20px; height: 20px; stroke-width: 1.7; }
.bank-empty { padding: 42px 12px; color: #919b9f; font-size: 14px; text-align: center; }
.bank-add-button { display: flex; width: 100%; height: 58px; align-items: center; justify-content: center; margin-top: 16px; border: 1px dashed #66c88e; border-radius: 7px; background: #fff; color: #43bb76; font-size: 15px; gap: 7px; }
.bank-add-button svg { width: 19px; height: 19px; }
.app-shell[data-active-tab="bank-detail"] .topbar, .app-shell[data-active-tab="bank-detail"] .bottom-nav { display: none; }
.app-shell[data-active-tab="bank-detail"] .main-content { padding: 0; background: #f4f7f5; }
.bank-detail-page { min-height: 100vh; background: #f4f7f5; }
.bank-detail-header { position: relative; display: flex; height: 61px; align-items: center; justify-content: center; background: rgba(255,255,255,.96); }
.bank-detail-header > button:first-child { position: absolute; left: 8px; display: grid; width: 44px; height: 44px; place-items: center; background: transparent; color: #1f2933; }
.bank-detail-header > button:first-child svg { width: 25px; height: 25px; stroke-width: 1.8; }
.bank-detail-header h1 { margin: 0; color: #1f2933; font-size: 17px; font-weight: 650; }
.bank-detail-delete { position: absolute; right: 18px; height: 40px; padding: 0 0 0 16px; background: transparent; color: #1f2933; font-size: 15px; }
.bank-detail-content { padding: 0 18px 32px; }
.bank-detail-summary { display: grid; min-height: 92px; grid-template-columns: 61px minmax(0,1fr) minmax(0,1.4fr); align-items: center; padding: 0 18px; border-radius: 7px; background: #fff; }
.bank-detail-coin { display: grid; width: 51px; height: 51px; border-radius: 50%; place-items: center; background: #53b995; color: #fff; font-size: 31px; font-weight: 500; }
.bank-detail-summary strong { color: #1f2933; font-size: 17px; font-weight: 500; }
.bank-detail-summary > span:last-child { overflow: hidden; color: #1f2933; font-size: 16px; text-align: right; text-overflow: ellipsis; white-space: nowrap; }
.bank-detail-content > h2 { display: flex; height: 61px; align-items: center; margin: 0; color: #1f2933; font-size: 17px; font-weight: 650; }
.bank-detail-form { min-height: 123px; padding: 0 18px 8px; border-radius: 7px; background: #fff; }
.bank-detail-form label { display: flex; height: 61px; align-items: center; }
.bank-detail-form label span { flex: 0 0 96px; color: #1f2933; font-size: 15px; }
.bank-detail-form input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: #1f2933; font-size: 16px; text-align: right; }
.bank-detail-form input::placeholder { color: #989fa3; }
.bank-detail-form button { width: 100%; height: 35px; border-radius: 4px; background: #3dbf73; color: #1f2933; font-size: 15px; font-weight: 650; }
.wide { width: 100%; margin-top: 18px; }
.bottom-nav { position: fixed; bottom: 0; left: 50%; z-index: 35; display: grid; width: min(100%, 480px); height: calc(62px + env(safe-area-inset-bottom)); grid-template-columns: repeat(5,1fr); padding-bottom: env(safe-area-inset-bottom); transform: translateX(-50%); border-top: 1px solid #e8eee9; background: rgba(255,255,255,.98); }
.bottom-nav button { display: flex; flex-direction: column; align-items: center; justify-content: center; background: transparent; color: #9aa5b1; gap: 3px; }
.bottom-nav button.active { color: var(--green); }
.bottom-nav svg { width: 20px; height: 20px; }
.bottom-nav span { font-size: 10px; }
.modal { position: fixed; inset: 0; z-index: 100; display: none; justify-content: center; align-items: flex-end; }
.modal.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(13,24,18,.52); backdrop-filter: blur(2px); }
.withdraw-method-modal { align-items: center; padding: 18px; }
.withdraw-method-dialog { position: relative; z-index: 2; width: min(100%,440px); overflow: hidden; border-radius: 10px; background: #fff; animation: reveal .18s ease; }
.withdraw-method-dialog header { position: relative; display: flex; height: 70px; align-items: center; justify-content: center; border-bottom: 1px solid #f0f1f2; }
.withdraw-method-dialog h2 { margin: 0; color: #252c32; font-size: 20px; font-weight: 600; }
.withdraw-method-dialog header button { position: absolute; right: 13px; display: grid; width: 38px; height: 38px; place-items: center; background: transparent; color: #90949a; }
.withdraw-method-dialog header svg { width: 27px; height: 27px; stroke-width: 1.8; }
.withdraw-method-option { display: grid; width: 100%; height: 98px; grid-template-columns: 55px minmax(0,1fr) 22px; align-items: center; padding: 0 23px; background: #fff; text-align: left; }
.withdraw-method-option > strong { color: #252c32; font-size: 20px; font-weight: 500; }
.withdraw-method-option > svg { width: 22px; height: 22px; color: #36c775; }
.usdt-mark { position: relative; display: grid; width: 34px; height: 34px; transform: rotate(30deg); place-items: center; border: 3px solid #272b2c; color: #b39436; }
.usdt-mark::before, .usdt-mark::after { content: ""; position: absolute; width: 13px; height: 3px; background: #fff; }
.usdt-mark::before { top: -3px; }
.usdt-mark::after { bottom: -3px; }
.usdt-mark i { transform: rotate(-30deg); font-size: 17px; font-style: normal; font-weight: 800; }
.wallet-address-modal { align-items: center; padding: 18px; }
.wallet-address-dialog { position: relative; z-index: 2; width: min(100%, 440px); overflow: hidden; border-radius: 12px; background: #fff; animation: reveal .18s ease; }
.wallet-address-dialog header { position: relative; display: flex; height: 66px; align-items: center; justify-content: center; border-bottom: 1px solid #edf0ee; }
.wallet-address-dialog h2 { margin: 0; color: #252c32; font-size: 19px; font-weight: 650; }
.wallet-address-dialog header button { position: absolute; right: 11px; display: grid; width: 38px; height: 38px; place-items: center; background: transparent; color: #90949a; }
.wallet-address-dialog header svg { width: 25px; height: 25px; stroke-width: 1.8; }
.wallet-address-list { padding: 7px 0; }
.wallet-address-option { display: grid; width: 100%; min-height: 76px; grid-template-columns: 44px minmax(0,1fr) 22px; align-items: center; padding: 10px 18px; background: #fff; text-align: left; }
.wallet-address-option + .wallet-address-option { border-top: 1px solid #f0f2f1; }
.wallet-address-icon { display: grid; width: 32px; height: 32px; border-radius: 9px; place-items: center; background: #e5f7ec; color: #42b976; }
.wallet-address-icon svg { width: 19px; height: 19px; }
.wallet-address-copy { display: flex; min-width: 0; flex-direction: column; }
.wallet-address-copy strong { overflow: hidden; color: #252c32; font-size: 14px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.wallet-address-copy small { margin-top: 5px; color: #899398; font-size: 11px; }
.wallet-address-check { width: 19px; height: 19px; color: #35bf72; opacity: 0; }
.wallet-address-option.selected { background: #f5fcf7; }
.wallet-address-option.selected .wallet-address-check { opacity: 1; }
.wallet-address-manage { display: flex; width: 100%; height: 50px; align-items: center; justify-content: center; border-top: 1px solid #edf0ee; background: #fff; color: #46b978; font-size: 13px; gap: 5px; }
.wallet-address-manage svg { width: 16px; height: 16px; }
.add-wallet-modal { align-items: center; padding: 18px; }
.add-wallet-dialog { position: relative; z-index: 2; width: min(100%,440px); overflow: hidden; border-radius: 10px; background: #fff; animation: reveal .18s ease; }
.add-wallet-dialog header { position: relative; display: flex; height: 62px; align-items: center; justify-content: center; border-bottom: 1px solid #edf0ee; }
.add-wallet-dialog h2 { margin: 0; color: #252c30; font-size: 18px; font-weight: 650; }
.add-wallet-dialog header button { position: absolute; right: 10px; display: grid; width: 38px; height: 38px; place-items: center; background: transparent; color: #8d969b; }
.add-wallet-dialog header svg { width: 24px; height: 24px; }
.add-wallet-dialog form { padding: 8px 18px 20px; }
.add-wallet-dialog label { display: flex; min-height: 58px; align-items: center; border-bottom: 1px solid #edf0ee; }
.add-wallet-dialog label > span:first-child { flex: 0 0 88px; color: #252c30; font-size: 14px; }
.add-wallet-dialog input, .wallet-network-value { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: #252c30; font-size: 14px; text-align: right; }
.add-wallet-dialog input::placeholder { color: #a0a8ac; }
.wallet-network-value { color: #54bd7e; }
.add-wallet-submit { width: 100%; height: 46px; margin-top: 24px; border-radius: 23px; background: #3bc478; color: #123328; font-size: 16px; font-weight: 700; }
.detail-sheet, .action-sheet, .login-sheet { position: relative; z-index: 2; width: min(100%,480px); max-height: 90vh; overflow-y: auto; border-radius: 18px 18px 0 0; background: #fff; animation: sheetUp .25s ease; }
@keyframes sheetUp { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.sheet-close { position: absolute; top: 10px; right: 10px; z-index: 3; border-radius: 50%; background: rgba(255,255,255,.88); color: #33423a; }
.detail-sheet > img { display: block; width: 100%; height: 240px; object-fit: cover; }
.sheet-content { padding: 18px 17px calc(22px + env(safe-area-inset-bottom)); }
.detail-tag { display: inline-block; padding: 4px 8px; border-radius: 5px; background: #e3f6ea; color: var(--green); font-size: 10px; font-weight: 700; }
.sheet-content h2 { margin: 9px 0 8px; font-size: 18px; line-height: 1.35; }
.sheet-content > p { margin: 0; color: #77827c; font-size: 12px; line-height: 1.6; }
.lease-info { margin-top: 16px; padding: 13px 13px 14px; border: 1px solid #e3eee6; border-radius: 11px; background: #fbfefc; }
.lease-info-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.lease-info-heading strong { color: #27332c; font-size: 15px; }
.lease-info-heading span { padding: 3px 7px; border-radius: 5px; background: #e8f8ed; color: var(--green); font-size: 10px; }
.lease-info-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); }
.lease-info-grid > div { min-width: 0; padding: 0 8px; border-right: 1px solid #e1ebe4; }
.lease-info-grid > div:first-child { padding-left: 0; }
.lease-info-grid > div:last-child { padding-right: 0; border-right: 0; }
.lease-info-grid span, .lease-info-grid small { display: block; overflow: hidden; color: #89968d; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.lease-info-grid strong { display: block; margin: 5px 0 3px; overflow: hidden; color: var(--green); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.available-asset-card { display: flex; min-height: 58px; align-items: center; justify-content: space-between; margin: 15px 0 14px; padding: 10px 13px; border-radius: 9px; background: #effaf2; }
.available-asset-card span { display: flex; flex-direction: column; }
.available-asset-card small { color: #789080; font-size: 10px; }
.available-asset-card strong { margin-top: 4px; color: #1c8b50; font-size: 17px; }
.available-asset-card button { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; background: #d8f2df; color: #38ad68; }
.available-asset-card button svg { width: 15px; height: 15px; }
.detail-metrics { display: grid; grid-template-columns: repeat(3,1fr); margin: 16px 0; padding: 13px 4px; border-radius: 10px; background: var(--page); }
.detail-metrics div { display: flex; flex-direction: column; align-items: center; border-right: 1px solid #dfe7e1; }
.detail-metrics div:last-child { border: 0; }
.detail-metrics span { color: var(--muted); font-size: 10px; }
.detail-metrics strong { margin-top: 4px; color: var(--green); font-size: 14px; }
.detail-progress { margin: 14px 0 17px; }
.detail-progress > div { display: flex; align-items: center; justify-content: space-between; margin-bottom: 7px; color: #87948c; font-size: 11px; }
.detail-progress strong { color: var(--green); font-size: 12px; }
.detail-progress-track { display: block; height: 8px; overflow: hidden; border-radius: 999px; background: #e6eee8; }
.detail-progress-track i { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#8ce8ad,#5ecf8f); transition: width .25s ease; }
.amount-field { display: block; }
.amount-field > span, .login-sheet label span { display: block; margin-bottom: 7px; color: #59655f; font-size: 12px; font-weight: 650; }
.amount-field div { display: flex; align-items: center; height: 45px; padding: 0 12px; border: 1px solid #dfe8e1; border-radius: 8px; }
.amount-field input { min-width: 0; flex: 1; border: 0; outline: 0; font-size: 16px; }
.amount-field b { color: #829087; font-size: 12px; }
.amount-field small { display: block; margin-top: 6px; color: #99a49d; font-size: 11px; }
.payment-password-modal { align-items: center; padding: 18px; }
.payment-password-dialog { position: relative; z-index: 2; width: min(100%, 400px); overflow: hidden; border-radius: 13px; background: #fff; animation: reveal .18s ease; }
.payment-password-dialog header { position: relative; display: flex; height: 64px; align-items: center; justify-content: center; border-bottom: 1px solid #edf0ee; }
.payment-password-dialog h2 { margin: 0; color: #252c32; font-size: 18px; font-weight: 650; }
.payment-password-dialog header button { position: absolute; right: 10px; display: grid; width: 38px; height: 38px; place-items: center; background: transparent; color: #90949a; }
.payment-password-dialog header svg { width: 23px; height: 23px; stroke-width: 1.8; }
.payment-password-content { padding: 20px 20px calc(22px + env(safe-area-inset-bottom)); }
.payment-password-content > p { margin: 0 0 19px; color: #6d7972; font-size: 13px; line-height: 1.7; text-align: center; }
.payment-password-content > p strong { color: var(--green); font-size: 16px; }
.payment-password-field { display: block; }
.payment-password-field span { display: block; margin-bottom: 8px; color: #59655f; font-size: 12px; font-weight: 650; }
.payment-password-field input { width: 100%; height: 48px; padding: 0 13px; border: 1px solid #dfe8e1; border-radius: 8px; outline-color: var(--green); color: #202a24; font-size: 18px; letter-spacing: .34em; text-align: center; }
.payment-password-field input::placeholder { color: #a6b0aa; font-size: 13px; letter-spacing: 0; }
.payment-password-content > form > small { display: block; min-height: 18px; margin-top: 7px; color: #99a49d; font-size: 11px; text-align: center; }
.payment-password-content > form > small.error { color: #e05a50; }
.detail-modal { align-items: stretch; justify-content: center; }
.detail-modal .detail-sheet { display: flex; width: min(100%,480px); height: 100vh; height: 100dvh; max-height: none; flex-direction: column; overflow: hidden; border-radius: 0; background: #f4f7f5; animation: none; }
.detail-header { position: relative; z-index: 2; display: grid; flex: 0 0 calc(61px + env(safe-area-inset-top)); height: calc(61px + env(safe-area-inset-top)); grid-template-columns: 48px minmax(0,1fr) 48px; align-items: end; padding: env(safe-area-inset-top) 16px 0; border-bottom: 1px solid #edf0ee; background: #fff; }
.detail-header h1 { min-width: 0; margin: 0 0 11px; overflow: hidden; color: #202a34; font-size: 19px; font-weight: 700; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.detail-header button { display: grid; width: 42px; height: 48px; align-self: end; place-items: center; background: transparent; color: #202a34; }
.detail-header button:last-child { justify-self: end; color: #37bf78; }
.detail-header button svg { width: 27px; height: 27px; stroke-width: 2; }
.detail-header button.is-favorite svg { fill: #39c37a; }
.detail-scroll { min-height: 0; flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 0 12px; background: #f4f7f5; scrollbar-width: none; }
.detail-scroll::-webkit-scrollbar { display: none; }
.detail-product-image { display: block; width: 100%; height: 202px; margin: 14px 0 0; border-radius: 19px; object-fit: cover; background: #e7ede9; }
.detail-description-card, .detail-highlight-card, .detail-card { overflow: hidden; border-radius: 21px; background: #fff; }
.detail-description-card { margin-top: 14px; padding: 0 28px 27px; }
.detail-description-card > div { display: none; align-items: center; gap: 7px; }
.detail-tag { border-radius: 999px; }
.detail-auto-tag { padding: 4px 8px; border: 1px solid #d4efde; border-radius: 999px; color: #37b976; background: #f4fcf6; font-size: 10px; font-weight: 650; }
.detail-description-card h2 { display: flex; height: 74px; align-items: center; margin: 0 0 26px; border-bottom: 1px solid #edf0ee; color: #202a34; font-size: 21px; font-weight: 750; gap: 14px; }
.detail-description-card h2 svg { width: 27px; height: 27px; color: #9aa8b7; stroke-width: 1.9; }
.detail-description-card p { margin: 0; color: #596575; font-size: 17px; line-height: 1.72; }
.detail-highlight-card { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; margin-top: 28px; padding: 22px 28px; }
.detail-highlight-card > div { min-width: 0; min-height: 108px; display: flex; flex-direction: column; justify-content: center; padding: 16px 18px; border-radius: 17px; background: #f5f7f6; }
.detail-highlight-card span { color: #98a5b4; font-size: 14px; font-weight: 650; }
.detail-highlight-card strong { margin-top: 12px; overflow: hidden; color: #202a34; font-size: 22px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.detail-highlight-card > div:nth-child(2) strong { color: #36bd75; }
.detail-card { margin-top: 28px; padding: 0 24px 14px; }
.detail-card h2 { display: flex; height: 74px; align-items: center; margin: 0; border-bottom: 1px solid #edf0ee; color: #202a34; font-size: 18px; font-weight: 750; gap: 14px; }
.detail-card h2 svg { width: 25px; height: 25px; color: #9aa8b7; stroke-width: 1.9; }
.detail-data-row { display: flex; min-height: 81px; align-items: center; justify-content: space-between; border-bottom: 1px solid #edf0ee; color: #6d7888; font-size: 16px; }
.detail-data-row:last-child { border-bottom: 0; }
.detail-data-row > strong { color: #36bd75; font-size: 18px; font-weight: 700; }
.lease-quantity-row { min-height: 98px; }
.lease-quantity-control { display: grid; width: min(62%,280px); height: 54px; grid-template-columns: 56px minmax(0,1fr) 56px; overflow: hidden; border-radius: 12px; background: #f3f6f4; }
.lease-quantity-control button { display: grid; place-items: center; background: #f3f6f4; color: #202a34; font-size: 26px; line-height: 1; }
.lease-quantity-control button:first-child { border-right: 3px solid #fff; }
.lease-quantity-control button:last-child { border-left: 3px solid #fff; }
.lease-quantity-control button:disabled { color: #bbc3c8; }
.lease-quantity-control strong { display: grid; place-items: center; color: #30383e; font-size: 17px; font-weight: 500; }
.detail-card .available-asset-row { display: grid; min-height: 83px; grid-template-columns: minmax(0,1fr) auto 32px; align-items: center; gap: 12px; }
.available-asset-row > span { display: flex; align-items: center; gap: 12px; }
.available-asset-row > span > span { display: flex; flex-direction: column; }
.available-asset-row > span strong { color: #27333b; font-size: 15px; }
.available-asset-row > span small { margin-top: 4px; color: #98a3af; font-size: 11px; }
.available-asset-row > strong { color: #36bd75; font-size: 17px; }
.available-asset-row > button { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; background: #eff9f2; color: #39bb72; }
.available-asset-row > button svg { width: 15px; height: 15px; }
.asset-coin { display: grid; width: 35px; height: 35px; place-items: center; border: 2px solid #39b979; border-radius: 50%; color: #39b979; font-size: 22px; font-style: normal; font-weight: 700; }
.detail-bottom-space { height: 12px; }
.detail-footer { z-index: 3; flex: 0 0 auto; padding: 18px 28px calc(18px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -5px 20px rgba(32,47,39,.08); }
.detail-lease-button { display: block; width: 100%; height: 65px; border-radius: 999px; background: linear-gradient(100deg,#83e4a5,#25a967); box-shadow: 0 9px 20px rgba(48,180,103,.22); color: #fff; font-size: 23px; font-weight: 750; }
.action-sheet { padding: 17px 14px calc(14px + env(safe-area-inset-bottom)); }
.action-sheet h2 { margin: 0; padding: 4px 6px 13px; color: #7a857f; font-size: 12px; text-align: center; }
.action-sheet button { display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 14px 12px; border-top: 1px solid #edf1ee; background: #fff; font-size: 14px; }
.action-sheet button:last-child { justify-content: center; margin-top: 8px; border: 0; border-radius: 8px; background: #f1f4f2; color: #6f7a74; }
.action-sheet button svg { display: none; width: 17px; color: var(--green); }
.action-sheet button.selected svg { display: block; }
.login-sheet { padding: 34px 18px calc(25px + env(safe-area-inset-bottom)); }
.login-mark { display: grid; width: 50px; height: 50px; margin: 0 auto 12px; border-radius: 12px; place-items: center; background: #e2f6e9; font-size: 24px; }
.login-sheet h2 { margin: 0; text-align: center; }
.login-sheet > p { margin: 6px 0 20px; color: var(--muted); font-size: 12px; text-align: center; }
.login-sheet label { display: block; margin-top: 12px; }
.login-sheet input { width: 100%; height: 44px; padding: 0 12px; border: 1px solid #dfe8e1; border-radius: 8px; outline-color: var(--green); }
.toast { position: fixed; left: 50%; bottom: 88px; z-index: 200; max-width: min(84vw,360px); padding: 10px 15px; transform: translate(-50%, 15px); border-radius: 8px; background: rgba(20,29,24,.9); color: #fff; font-size: 12px; opacity: 0; pointer-events: none; transition: .2s ease; }
.toast.show { opacity: 1; transform: translate(-50%,0); }
body.modal-open { overflow: hidden; }

@media (min-width: 481px) {
  .app-shell { min-height: 100vh; }
  .topbar, .bottom-nav { box-shadow: 0 0 20px rgba(22,35,28,.05); }
  .debug-auth .app-shell[data-active-tab="mine"] { max-width: none; box-shadow: none; }
  .debug-auth .app-shell[data-active-tab="mine"] .bottom-nav { width: 100%; box-shadow: none; }
  .debug-auth .me-userbar { height: 50px; grid-template-columns: minmax(0,1fr) 42px; padding: 4px 16px; }
  .debug-auth .me-profile-link { grid-template-columns: 42px minmax(0,1fr); }
  .debug-auth .me-avatar-open { justify-self: start; }
  .debug-auth .me-avatar { width: 36px; height: 36px; }
  .debug-auth .me-identity { justify-self: end; margin-right: 12px; }
  .debug-auth .me-identity strong { font-size: 14px; }
  .debug-auth .me-identity small { font-size: 12px; }
  .debug-auth .me-service-avatar { width: 42px; height: 42px; }
  .debug-auth .me-content { padding: 15px 15px 18px; }
  .debug-auth .me-funds-card { min-height: 192px; padding: 22px 16px 20px; }
  .debug-auth .me-main-balance { margin: 8px 0 12px; font-size: 27px; }
  .debug-auth .me-fund-columns strong { font-size: 21px; }
  .debug-auth .me-fund-columns button { width: 100px; height: 27px; }
  .debug-auth .me-vip-card { height: 75px; margin-top: 16px; grid-template-columns: 66px minmax(0,1fr) 20px; padding: 5px 16px; }
  .debug-auth .me-vip-card img { width: 54px; height: 38px; }
  .debug-auth .me-section { margin-top: 26px; }
  .debug-auth .me-section h2 { margin-bottom: 10px; font-size: 16px; }
  .debug-auth .me-order-grid { height: 75px; }
  .debug-auth .me-order-grid button { font-size: 14px; gap: 3px; }
  .debug-auth .me-order-grid svg { width: 22px; height: 22px; }
  .debug-auth .me-feature-grid { min-height: 194px; padding: 6px 4px; row-gap: 0; }
  .debug-auth .me-feature-grid button { min-height: 88px; }
  .debug-auth .me-feature-grid strong { font-size: 14px; }
  .debug-auth .me-feature-grid small { margin-top: 4px; font-size: 11px; }
  .debug-auth .app-shell[data-active-tab="user"] { max-width: none; box-shadow: none; }
  .debug-auth .user-content { padding: 32px 16px 24px; }
  .debug-auth .app-shell[data-active-tab="membership"] { max-width: none; box-shadow: none; }
  .debug-auth .app-shell[data-active-tab="wallet"] { max-width: none; box-shadow: none; }
  .debug-auth .app-shell[data-active-tab="withdrawal-history"] { max-width: none; box-shadow: none; }
  .debug-auth .app-shell[data-active-tab="deposit-history"] { max-width: none; box-shadow: none; }
  .debug-auth .wallet-content { padding: 16px 15px 30px; }
  .debug-auth .app-shell[data-active-tab="withdraw"] { max-width: none; box-shadow: none; }
  .debug-auth .app-shell[data-active-tab="deposit"] { max-width: none; box-shadow: none; }
  .debug-auth .app-shell[data-active-tab="invite"] { max-width: none; box-shadow: none; }
  .debug-auth .app-shell[data-active-tab="setup"], .debug-auth .app-shell[data-active-tab="security"],
  .debug-auth .app-shell[data-active-tab="privacy"], .debug-auth .app-shell[data-active-tab="password"] { max-width: none; box-shadow: none; }
  .debug-auth .app-shell[data-active-tab="identity"] { max-width: none; box-shadow: none; }
  .debug-auth .app-shell[data-active-tab="bank"] { max-width: none; box-shadow: none; }
  .debug-auth .app-shell[data-active-tab="bank-detail"] { max-width: none; box-shadow: none; }
}
@media (max-width: 360px) {
  .brand { font-size: 14px; }
  .product-image { height: 140px; }
  .lease-info-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 0; }
  .lease-info-grid > div:nth-child(2) { border-right: 0; }
  .lease-info-grid > div:nth-child(3) { padding-left: 0; }
  .detail-scroll { padding-right: 16px; padding-left: 16px; }
  .detail-description-card { padding-right: 18px; padding-left: 18px; }
  .detail-highlight-card { gap: 10px; padding: 14px; }
  .detail-highlight-card > div { min-height: 96px; padding: 12px; }
  .detail-highlight-card strong { font-size: 18px; }
  .detail-card { padding-right: 18px; padding-left: 18px; }
  .detail-data-row { font-size: 14px; }
  .detail-data-row > strong { font-size: 16px; }
  .lease-quantity-control { grid-template-columns: 44px minmax(0,1fr) 44px; }
  .detail-footer { padding-right: 16px; padding-left: 16px; }
  .detail-lease-button { height: 58px; font-size: 20px; }
  .quick-actions small { font-size: 10px; }
  .invite-page-content { padding-right: 12px; padding-left: 12px; }
  .invite-actions { grid-template-columns: repeat(2,minmax(0,1fr)); margin-right: 12px; margin-left: 12px; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }
