@import url("../app-shell.css");

:root {
  color-scheme: dark;
  --page: #090909;
  --panel: #171717;
  --panel-strong: #1d1d1d;
  --line: #2b2b2b;
  --line-soft: #232323;
  --text: #f5f5f5;
  --muted: #8b8b8b;
  --muted-2: #676767;
  --gold: #e1c46e;
  --accent: #f4f4f4;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-height: 100%; background: #000; }
body {
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }

.phone {
  background:
    radial-gradient(340px 210px at 4% -4%, rgba(90, 115, 162, .32), transparent 64%),
    var(--page);
}

.app { height: 100%; display: flex; flex-direction: column; }
.page-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}
.page-scroll::-webkit-scrollbar { display: none; }
.me-scroll { padding: 26px 16px 28px; }
.detail-scroll { padding: 14px 16px 34px; }

.account-head {
  min-height: 140px;
  padding-top: 4px;
}
.quick-actions { display: flex; justify-content: flex-end; gap: 16px; }
.icon-button {
  position: relative;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: #eee;
  cursor: pointer;
}
.icon-button svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.notification-dot {
  position: absolute;
  right: -1px;
  top: -2px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f13e31;
  box-shadow: 0 0 0 2px #12161c;
}
.profile { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.avatar {
  width: 74px;
  height: 74px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  background: linear-gradient(145deg, #2d3442, #17191e);
}
.avatar img { width: 48px; height: 48px; object-fit: contain; }
.profile-name { font-size: 24px; font-weight: 680; line-height: 1.15; letter-spacing: -.3px; }
.profile-meta { margin-top: 6px; color: #aaa7a4; font-size: 12px; line-height: 1.55; }
.uid-copy { display: inline-flex; align-items: center; gap: 4px; border: 0; background: none; color: inherit; cursor: pointer; }
.uid-copy svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.5; }

.balance-card {
  margin-top: 22px;
  padding: 31px 16px 20px;
  border: 1px solid #414141;
  border-radius: 30px;
  background: rgba(12, 12, 12, .58);
}
.card-head, .inline-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-title { font-size: 17px; font-weight: 650; }
.subtle-link { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); text-decoration: none; font-size: 12px; }
.subtle-link .arrow, .menu-arrow { color: #888; font-size: 22px; font-weight: 300; line-height: 1; }
.money { margin-top: 8px; display: flex; align-items: baseline; gap: 7px; }
.money strong { color: var(--gold); font-size: 30px; line-height: 1; letter-spacing: -.7px; }
.money span { font-size: 24px; font-weight: 650; }
.info-dot {
  width: 15px;
  height: 15px;
  display: inline-grid;
  place-items: center;
  border: 1px solid #777;
  border-radius: 50%;
  color: #919191;
  font-size: 9px;
  font-weight: 700;
  vertical-align: 2px;
}
button.info-dot { padding: 0; background: transparent; cursor: pointer; }
.asset-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 25px; }
.asset-button {
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid #414141;
  border-radius: 17px;
  background: #111;
  color: #f1f1f1;
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
}
.asset-button.primary { border-color: #646464; background: #2a2a2a; }

.asset-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
.asset-tile {
  min-height: 116px;
  padding: 18px 12px 15px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(28, 28, 28, .88);
  text-decoration: none;
}
.asset-label { min-height: 18px; display: flex; align-items: center; gap: 5px; color: var(--muted); font-size: 12px; }
.asset-label .menu-arrow { margin-left: auto; font-size: 21px; }
.asset-value { margin-top: auto; font-size: 27px; font-weight: 650; letter-spacing: -.4px; }
.asset-unit { margin-top: 6px; font-size: 12px; font-weight: 600; }

.credits-card {
  margin-top: 16px;
  padding: 17px 13px 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(24, 24, 24, .88);
}
.credits-value { margin-top: 13px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.credits-value strong { color: var(--gold); font-size: 17px; }
.credits-value small { margin-left: 4px; color: var(--muted); font-size: 11px; }
.mini-button { min-width: 64px; height: 28px; padding: 0 14px; border: 1px solid #444; border-radius: 999px; background: #222; color: #fff; font-size: 12px; font-weight: 650; text-decoration: none; display: inline-grid; place-items: center; }

.me-menu { margin-top: 16px; overflow: hidden; border: 1px solid var(--line-soft); border-radius: 16px; background: #181818; }
.menu-row { min-height: 58px; padding: 0 14px; display: flex; align-items: center; text-decoration: none; }
.menu-row + .menu-row { border-top: 1px solid #262626; }
.menu-label { flex: 1; font-size: 15px; font-weight: 620; }
.menu-value { color: #a0a0a0; font-size: 15px; font-weight: 620; }
.menu-arrow { margin-left: 10px; }

.detail-phone { background: var(--page); }
.detail-header { position: relative; height: 48px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid rgba(255,255,255,.02); }
.detail-header h1 { font-size: 15px; font-weight: 650; }
.back-link { position: absolute; left: 10px; width: 42px; height: 42px; display: grid; place-items: center; color: #e6e6e6; text-decoration: none; }
.back-link svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.header-action { position: absolute; right: 16px; height: 30px; padding: 0 10px; border: 0; border-radius: 14px; background: #202020; color: #eee; font-size: 12px; cursor: pointer; }
.segmented { display: flex; gap: 8px; margin: 2px 0 26px; }
.segment { height: 28px; padding: 0 13px; border: 0; border-radius: 999px; background: #1b1b1b; color: var(--muted); font-size: 12px; cursor: pointer; }
.segment.is-active { background: #f3f3f3; color: #111; font-weight: 650; }
.message-list { display: none; gap: 12px; }
.message-list.is-active { display: grid; }
.message-card { overflow: hidden; border-radius: 16px; background: #151515; }
.message-main { padding: 18px 16px 15px; display: grid; grid-template-columns: 44px 1fr; gap: 12px; }
.message-mark { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 11px; background: #fff; color: #101010; }
.message-mark svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.message-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.message-title-row strong { font-size: 14px; }
.message-title-row time { flex: 0 0 auto; color: #777; font-size: 10px; }
.message-copy { margin-top: 8px; color: #8a8a8a; font-size: 12px; line-height: 1.65; }
.message-link { height: 46px; padding: 0 16px; display: flex; align-items: center; border-top: 1px solid #292929; text-decoration: none; font-size: 13px; font-weight: 650; }
.message-link .menu-arrow { margin-left: auto; }
.empty-state { min-height: 440px; display: none; place-items: center; color: #666; font-size: 13px; text-align: center; }
.empty-state.is-active { display: grid; }

.settings-list { display: grid; gap: 12px; }
.settings-row {
  min-height: 60px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 13px;
  background: #161616;
  text-decoration: none;
}
.settings-icon { width: 23px; height: 23px; display: grid; place-items: center; color: #a7a7a7; }
.settings-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.settings-profile-mark { width: 34px; height: 34px; overflow: hidden; border-radius: 50%; background: #262a33; }
.settings-profile-mark img { width: 100%; height: 100%; object-fit: contain; }
.settings-copy { min-width: 0; flex: 1; }
.settings-copy strong { display: block; font-size: 15px; font-weight: 620; }
.settings-copy small { display: block; margin-top: 2px; color: #777; font-size: 11px; }
.logout-wrap { margin-top: auto; padding: 0 16px 24px; }
.logout-button { width: 100%; height: 44px; border: 1px solid #454545; border-radius: 14px; background: transparent; color: #ff3f4f; font-size: 15px; cursor: pointer; }

.profile-form { padding-top: 14px; }
.profile-avatar-wrap { display: grid; justify-items: center; margin-bottom: 26px; }
.profile-avatar-large { width: 92px; height: 92px; display: grid; place-items: center; border: 1px solid #2b827d; border-radius: 50%; background: #17191f; box-shadow: 0 0 0 7px #0d1011; }
.profile-avatar-large img { width: 64px; height: 64px; object-fit: contain; }
.upload-label { margin-top: 17px; border: 0; background: transparent; color: #7c7c7c; font-size: 13px; cursor: pointer; }
.field + .field { margin-top: 24px; }
.field label { display: block; margin-bottom: 10px; font-size: 14px; font-weight: 620; }
.field input { width: 100%; height: 48px; padding: 0 15px; border: 1px solid #323232; border-radius: 8px; outline: none; background: #0d0d0d; color: #e4e4e4; font-size: 14px; }
.field input:focus { border-color: #6e6e6e; }
.field input[readonly] { color: #858585; }
.save-button { width: 200px; height: 46px; margin: 32px auto 0; display: block; border: 1px solid #707070; border-radius: 16px; background: #292929; color: #fff; font-size: 16px; font-weight: 650; cursor: pointer; }

.legal-scroll { padding: 24px 24px 48px; }
.legal-page h2 { margin-bottom: 13px; font-size: 34px; line-height: 1.2; letter-spacing: -1px; }
.legal-date { margin-bottom: 46px; color: #8b8b8b; font-size: 14px; }
.legal-page h3 { margin: 32px 0 14px; font-size: 24px; line-height: 1.2; }
.legal-page h4 { margin: 24px 0 10px; font-size: 17px; }
.legal-page p, .legal-page li { color: #e0e0e0; font-size: 16px; line-height: 1.6; }
.legal-page p + p { margin-top: 17px; }
.legal-page ol, .legal-page ul { padding-left: 24px; }
.legal-page li + li { margin-top: 9px; }

.about-hero { display: grid; justify-items: center; padding: 18px 0 34px; }
.about-logo { width: 96px; height: 96px; display: grid; place-items: center; border-radius: 22px; background: #151515; }
.about-logo img { width: 64px; height: 64px; object-fit: contain; }
.about-name { margin-top: 18px; font-size: 24px; font-weight: 700; }
.about-copy h2 { margin-bottom: 18px; font-size: 22px; }
.about-copy p { color: #e4e4e4; font-size: 16px; line-height: 1.65; }
.about-copy p + p { margin-top: 16px; }
.copyright { margin-top: 34px; padding-bottom: 20px; color: #666; font-size: 12px; text-align: center; }

.modal-layer { position: absolute; z-index: 25; inset: 0; display: none; place-items: center; padding: 24px; background: rgba(0,0,0,.7); }
.modal-layer.is-open { display: grid; }
.confirm-card { width: 100%; padding: 24px 20px 18px; border: 1px solid #333; border-radius: 18px; background: #1b1b1b; text-align: center; }
.confirm-card h2 { font-size: 18px; }
.confirm-card p { margin-top: 10px; color: #8d8d8d; font-size: 13px; line-height: 1.5; }
.confirm-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.confirm-actions button { height: 42px; border: 1px solid #3f3f3f; border-radius: 13px; background: #242424; color: #eee; cursor: pointer; }
.confirm-actions .danger { color: #ff4a57; }

.ledger-list { display: grid; gap: 12px; }
.ledger-row { min-height: 72px; padding: 13px 16px; display: flex; align-items: center; gap: 12px; border-radius: 13px; background: #171717; }
.ledger-direction { width: 38px; height: 38px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; font-size: 24px; }
.ledger-direction.in { background: rgba(0,145,79,.2); color: #1fc66c; }
.ledger-direction.out { background: rgba(179,29,44,.2); color: #df4152; }
.ledger-copy { min-width: 0; flex: 1; }
.ledger-copy strong { display: block; font-size: 14px; }
.ledger-copy small { display: block; margin-top: 4px; color: #a0a0a0; font-size: 10px; line-height: 1.4; }
.ledger-copy time { display: block; margin-top: 5px; color: #777; font-size: 11px; }
.ledger-amount { flex: 0 0 auto; font-size: 18px; font-weight: 680; }

.pending-scroll { padding: 14px 16px 38px; }
.pending-total { padding: 20px 18px; border: 1px solid #3a3a3a; border-radius: 22px; background: #151515; }
.pending-total > span { color: #8d8d8d; font-size: 12px; }
.pending-total > strong { display: block; margin-top: 12px; color: var(--gold); font-size: 30px; line-height: 1; }
.pending-total > strong small { color: #8d8d8d; font-size: 12px; font-weight: 600; }
.pending-total p { margin-top: 14px; color: #797979; font-size: 11px; line-height: 1.65; }
.pending-list { margin-top: 12px; overflow: hidden; border: 1px solid #252525; border-radius: 15px; background: #171717; }
.pending-row { min-height: 92px; padding: 14px 12px; display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 11px; }
.pending-row + .pending-row { border-top: 1px solid #272727; }
.pending-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: #262626; color: #aaa; font-size: 12px; font-weight: 700; }
.pending-copy { min-width: 0; }
.pending-title { display: flex; align-items: center; gap: 7px; }
.pending-title strong { min-width: 0; flex: 1; overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.pending-title span { flex: 0 0 auto; padding: 3px 6px; border-radius: 999px; background: #292929; color: #8e8e8e; font-size: 8px; }
.pending-copy p { margin-top: 6px; overflow: hidden; color: #8c8c8c; font-size: 10px; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.pending-copy time { display: block; margin-top: 5px; color: #5f5f5f; font-size: 9px; line-height: 1.35; }
.pending-amount { color: #e5e5e5; font-size: 15px; }
.pending-amount::after { content: " USD"; color: #777; font-size: 9px; font-weight: 500; }
.pending-footnote { margin: 20px 4px 0; color: #5f5f5f; font-size: 10px; line-height: 1.65; }

.form-section + .form-section { margin-top: 24px; }
.form-section-title { margin-bottom: 10px; font-size: 14px; font-weight: 650; }
.select-card, .payment-option { width: 100%; min-height: 64px; padding: 0 16px; display: flex; align-items: center; gap: 12px; border: 1px solid transparent; border-radius: 12px; background: #171717; }
.token-mark { width: 34px; height: 34px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: #43bca0; color: white; font-size: 18px; font-weight: 700; }
.token-mark.card { border-radius: 9px; background: #444; }
.token-mark.google { background: #292929; color: #fff; }
.token-mark.usdc { background: #2775ca; }
.select-copy { min-width: 0; flex: 1; }
.select-copy strong { display: block; font-size: 14px; font-weight: 620; }
.select-copy small { display: block; margin-top: 3px; color: #777; font-size: 11px; }
.select-chevron { color: #999; font-size: 20px; }
.input-shell { height: 52px; padding: 0 15px; display: flex; align-items: center; border: 1px solid #464646; border-radius: 12px; background: #101010; }
.input-shell input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: #f1f1f1; font-size: 14px; }
.input-shell input::placeholder { color: #555; }
.input-suffix { color: #9d9d9d; font-size: 13px; font-weight: 650; }
.all-button { height: 34px; padding: 0 17px; border: 1px solid #666; border-radius: 999px; background: #2a2a2a; color: #fff; font-size: 13px; font-weight: 650; cursor: pointer; }
.available { margin: 8px 0 0 16px; color: #737373; font-size: 11px; }
.submit-button { width: 100%; height: 46px; margin-top: 28px; border: 0; border-radius: 13px; background: #272727; color: #717171; font-size: 15px; font-weight: 650; cursor: pointer; }
.submit-button.is-ready { border: 1px solid #777; background: #313131; color: #fff; }
.notice-card { margin-top: 23px; padding: 16px; border-radius: 13px; background: #151515; }
.notice-card h3 { color: #f2bc39; font-size: 13px; }
.notice-card ul { margin-top: 10px; padding-left: 18px; color: #8b8b8b; }
.notice-card li { font-size: 11px; line-height: 1.75; }
.records-title { margin-top: 28px; font-size: 14px; }
.compact-record { margin-top: 12px; padding: 14px 16px; display: flex; align-items: center; border-radius: 12px; background: #151515; }
.compact-record strong { font-size: 14px; }
.compact-record small { margin-left: auto; color: #777; font-size: 11px; }

.amount-card, .payment-card { padding: 16px; border-radius: 14px; background: #171717; }
.amount-input { height: 58px; padding: 0 16px; display: flex; align-items: center; border: 1px solid #323232; border-radius: 13px; background: #121212; }
.amount-input input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: #fff; font-size: 20px; font-weight: 650; }
.amount-input span { color: #999; font-size: 14px; font-weight: 650; }
.amount-presets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 14px; }
.amount-presets button { height: 40px; border: 1px solid #2d2d2d; border-radius: 11px; background: #181818; color: #888; cursor: pointer; }
.amount-presets button.is-active { border-color: #888; background: #2a2a2a; color: #fff; }
.minimum-card { margin-top: 16px; padding: 12px; display: flex; gap: 10px; border: 1px solid #8b5c00; border-radius: 12px; background: rgba(85,54,0,.4); color: #e8b63f; }
.minimum-card strong { display: block; font-size: 13px; }
.minimum-card p { margin-top: 4px; color: #d5b45e; font-size: 11px; line-height: 1.5; }
.payment-card { margin-top: 16px; }
.payment-card h2 { margin-bottom: 12px; font-size: 15px; }
.payment-option { min-height: 64px; border-color: #292929; background: #121212; cursor: pointer; }
.payment-option + .payment-option { margin-top: 9px; }
.payment-option.is-selected { border-color: #aaa; background: #272727; }
.radio-mark { width: 24px; height: 24px; margin-left: auto; display: grid; place-items: center; border: 1px solid #505050; border-radius: 50%; color: transparent; }
.payment-option.is-selected .radio-mark { border-color: #fff; background: #fff; color: #111; }
.sticky-submit { min-height: 74px; padding: 12px 16px; display: flex; align-items: center; gap: 16px; border-top: 1px solid #202020; background: #0c0c0c; }
.sticky-amount { min-width: 0; flex: 1; }
.sticky-amount span { display: block; color: #777; font-size: 10px; }
.sticky-amount strong { display: block; margin-top: 4px; font-size: 17px; }
.sticky-submit button { width: 200px; height: 46px; border: 1px solid #747474; border-radius: 15px; background: #2d2d2d; color: #fff; font-size: 16px; font-weight: 650; cursor: pointer; }

.info-banner { position: relative; padding: 14px 38px 14px 16px; border: 1px solid #22283a; border-radius: 10px; background: #171926; color: #8e8e96; font-size: 11px; line-height: 1.65; }
.info-banner .close-mark { position: absolute; right: 14px; top: 11px; color: #747782; font-size: 18px; }
.subsidy-total { margin-top: 16px; padding: 22px 20px 25px; border: 1px solid #474747; border-radius: 30px; background: #0e0e0e; }
.subsidy-total span { color: #9a9a9a; font-size: 14px; }
.subsidy-total strong { display: block; margin-top: 20px; font-size: 34px; letter-spacing: -.5px; }
.subsidy-total small { margin-left: 6px; color: #999; font-size: 16px; font-weight: 500; }
.section-title { margin: 27px 0 14px; font-size: 20px; }
.assist-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.assist-stat { min-height: 94px; padding: 14px 10px; border: 1px solid #3e3e3e; border-radius: 15px; background: #101010; }
.assist-stat span { color: #8d8d8d; font-size: 11px; }
.assist-stat strong { display: block; margin-top: 20px; font-size: 18px; }
.no-records { min-height: 150px; display: grid; place-items: center; color: #606060; font-size: 12px; text-align: center; }
.no-records-mark { font-size: 38px; color: #4d4d4d; }
.credits-notice { padding: 14px 16px; display: flex; gap: 11px; border-radius: 13px; background: rgba(91,61,22,.48); color: #d6aa5b; }
.credits-notice strong { display: block; font-size: 13px; }
.credits-notice p { margin-top: 5px; font-size: 11px; line-height: 1.55; }
.package-list { display: grid; gap: 12px; margin-top: 16px; }
.package-option { min-height: 66px; padding: 0 16px; display: flex; align-items: center; border: 1px solid #292929; border-radius: 16px; background: #171717; color: #aaa; cursor: pointer; }
.package-option strong { font-size: 16px; }
.package-option span { margin-left: auto; color: #ebcb79; font-size: 17px; font-weight: 700; }
.package-option.is-selected { border-color: #777; background: #202020; color: #fff; }
.purchase-submit { min-height: 74px; padding: 10px 26px; border-top: 1px solid #202020; background: #0d0d0d; }
.purchase-submit button { width: 100%; height: 56px; border: 1px solid #777; border-radius: 18px; background: #2c2c2c; color: #fff; font-size: 16px; font-weight: 650; cursor: pointer; }
.subscription-phone { background: radial-gradient(300px 600px at 75% 32%, rgba(148,151,171,.26), transparent 60%), linear-gradient(165deg,#080808 8%,#15161c 52%,#080808); }
.subscription-scroll { padding: 18px 24px 38px; }
.subscription-hero h2 { font-size: 34px; letter-spacing: -1px; }
.subscription-hero p { margin-top: 7px; color: #aaa; font-size: 14px; }
.benefits-card { margin-top: 28px; padding: 20px; border: 1px solid #6b6b6b; border-radius: 30px; background: rgba(14,14,16,.42); backdrop-filter: blur(10px); }
.benefit-row { display: grid; grid-template-columns: 36px 1fr; gap: 10px; align-items: center; }
.benefit-row + .benefit-row { margin-top: 20px; }
.benefit-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.1); font-size: 17px; }
.benefit-row strong { display: block; font-size: 13px; }
.benefit-row small { display: block; margin-top: 4px; color: #777; font-size: 10px; line-height: 1.45; }
.plan-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 8px; margin-top: 20px; padding: 7px; border-radius: 18px; background: rgba(38,38,40,.8); }
.plan-option { min-height: 90px; padding: 14px; border: 1px solid transparent; border-radius: 15px; background: transparent; color: #b5b5b5; text-align: left; cursor: pointer; }
.plan-option.is-selected { border-color: #aaa; background: rgba(38,38,38,.72); color: #fff; }
.plan-option small { display: block; font-size: 12px; }
.plan-option strong { display: block; margin-top: 9px; font-size: 19px; }
.plan-option em { color: #777; font-size: 12px; font-style: normal; font-weight: 500; }
.save-pill { margin-left: 4px; padding: 2px 6px; border-radius: 999px; background: #7b6628; color: #f5dea1; font-size: 9px; }
.subscription-cta { margin-top: auto; padding: 20px 24px 30px; text-align: center; }
.subscription-cta button { width: 100%; height: 56px; border: 1px solid #7b7b7b; border-radius: 18px; background: rgba(45,45,45,.72); color: #fff; font-size: 16px; font-weight: 650; cursor: pointer; }
.legal-links { margin-top: 18px; display: flex; justify-content: center; gap: 10px; color: #727272; font-size: 11px; }
.legal-links a { text-decoration: none; }

.text-tabs { display: flex; align-items: center; gap: 24px; }
.text-tab { position: relative; height: 38px; border: 0; background: transparent; color: #7e7e7e; font-size: 14px; cursor: pointer; }
.text-tab.is-active { color: #fff; font-weight: 650; }
.text-tab.is-active::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 42px; height: 2px; transform: translateX(-50%); background: #fff; }
.filter-row { display: flex; align-items: center; gap: 30px; margin-top: 12px; }
.filter-chip { border: 0; background: transparent; color: #888; font-size: 13px; cursor: pointer; }
.filter-chip.is-active { color: #fff; }
.joined-empty, .support-empty { min-height: 440px; display: grid; place-items: center; color: #5f5f5f; font-size: 13px; }

.recharge-view { display: none; flex: 1; min-height: 0; flex-direction: column; }
.recharge-view.is-active { display: flex; }
.joined-filter-row[hidden], .support-filter-row[hidden], .support-fund-footer[hidden], .support-flow-footer[hidden], .support-selected-friend[hidden], .support-balance-notice[hidden], .support-form-section[hidden] { display: none !important; }
.stablecoin-tip { display: none; margin-top: 14px; padding: 11px 13px; border-left: 2px solid #858585; background: #121212; color: #a7a7a7; font-size: 11px; line-height: 1.5; }
.stablecoin-tip.is-visible { display: block; }
.stablecoin-scroll { padding: 14px 16px 34px; }
.network-section h2, .stable-address-title { font-size: 14px; font-weight: 650; }
.stable-network-card { min-height: 64px; margin-top: 12px; padding: 0 16px; display: flex; align-items: center; gap: 12px; border-radius: 12px; background: #171717; }
.stable-payment-card { margin-top: 14px; padding: 15px 16px; border: 1px solid #303030; border-radius: 14px; background: #101010; }
.stable-payment-head { display: grid; grid-template-columns: 1fr auto; gap: 12px; }
.stable-payment-head span, .stable-payment-head small { color: #7f7f7f; font-size: 11px; }
.stable-payment-head strong { display: block; margin-top: 4px; color: #ff3949; font-size: 24px; line-height: 1.1; }
.stable-payment-head strong b { font: inherit; }
.stable-payment-head strong em { font-size: 20px; font-style: normal; }
.stable-payment-head small { display: block; margin-top: 4px; }
.stable-countdown { display: flex; flex-direction: column; align-items: flex-end; }
.stable-countdown > span { padding: 5px 10px; border-radius: 999px; background: #272727; color: #a5a5a5; }
.stable-countdown small { margin-top: 12px; }
.stable-countdown strong { margin-top: 2px; color: #fff; font-size: 20px; }
.stable-warning { margin: 12px 4px 15px; padding-left: 11px; border-left: 1px solid #e63a45; color: #ff6874; font-size: 12px; line-height: 1.55; }
.stable-warning span { margin-right: 5px; font-size: 16px; }
.stable-address-card { margin-top: 12px; padding: 16px 12px 12px; border: 1px solid #292929; border-radius: 14px; background: #0f0f0f; }
.stable-qr { width: 126px; height: 126px; margin: 0 auto 14px; padding: 10px; background: #fff; }
.stable-qr span { position: relative; display: block; width: 100%; height: 100%; background: repeating-conic-gradient(#050505 0 25%, #fff 0 50%) 0 0 / 12px 12px; }
.stable-qr span::before, .stable-qr span::after { content: ""; position: absolute; width: 26px; height: 26px; border: 7px solid #050505; background: #fff; box-shadow: inset 0 0 0 5px #fff, inset 0 0 0 11px #050505; }
.stable-qr span::before { left: 2px; top: 2px; }
.stable-qr span::after { right: 2px; top: 2px; }
.stable-address-row { min-height: 44px; padding: 6px 7px 6px 10px; display: flex; align-items: center; gap: 8px; border: 1px solid #252525; border-radius: 11px; background: #151515; }
.stable-address-row code { min-width: 0; flex: 1; overflow-wrap: anywhere; color: #d7d7d7; font-family: inherit; font-size: 11px; line-height: 1.35; }
.stable-address-row button { width: 36px; height: 36px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid #666; border-radius: 11px; background: #2b2b2b; color: #fff; cursor: pointer; }
.stable-address-row svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.stable-action { width: 100%; height: 48px; margin-top: 22px; border: 1px solid #777; border-radius: 14px; background: #2b2b2b; color: #fff; font-size: 15px; font-weight: 650; cursor: pointer; }
.stable-instructions { margin-top: 19px; padding-top: 17px; border-top: 1px solid #232323; }
.stable-instructions h2 { font-size: 14px; }
.stable-instructions ol { margin: 12px 0 0 18px; color: #8e8e8e; }
.stable-instructions li { margin-bottom: 8px; font-size: 11px; line-height: 1.5; }
.stable-instructions p { color: #686868; font-size: 10px; line-height: 1.5; }

.assist-income-list { display: grid; gap: 12px; }
.assist-income-card { padding: 14px; border: 1px solid #282828; border-radius: 14px; background: #171717; }
.assist-income-task { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; gap: 11px; align-items: center; }
.task-emblem { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: linear-gradient(145deg,#3b2530,#171717); color: #ff4055; font-size: 18px; font-weight: 800; }
.assist-income-task h3 { overflow: hidden; color: #f3f3f3; font-size: 14px; font-weight: 650; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.assist-income-task p { margin-top: 5px; color: #7d7d7d; font-size: 11px; }
.assist-income-task > strong { padding: 5px 9px; border-radius: 6px; background: #252525; color: #eee; font-size: 13px; }
.assist-income-user { margin-top: 13px; padding-top: 12px; display: flex; align-items: center; gap: 9px; border-top: 1px solid #292929; }
.participant-avatar { width: 31px; height: 31px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: #2a2a2a; color: #aaa; font-size: 11px; }
.participant-avatar.blue { background: #233754; color: #b6cff5; }
.participant-avatar.gold { background: #5a4931; color: #efd19e; }
.assist-income-user strong, .support-person strong { display: block; font-size: 12px; }
.assist-income-user small, .support-person small { display: block; margin-top: 3px; color: #686868; font-size: 10px; }
.assist-income-user time { margin-left: auto; color: #555; font-size: 10px; }

.joined-scroll { padding: 4px 16px 30px; }
.joined-primary { position: sticky; z-index: 4; top: 0; padding-top: 2px; background: #090909; }
.joined-filter-row { gap: 22px; min-height: 38px; margin-top: 3px; }
.joined-task-list { display: grid; gap: 12px; margin-top: 10px; }
.joined-task-card { position: relative; padding: 15px 14px; overflow: hidden; border: 1px solid #292929; border-radius: 18px; background: #1a1a1a; color: inherit; text-decoration: none; }
.joined-task-head { display: grid; grid-template-columns: 42px minmax(0,1fr); gap: 11px; }
.joined-task-head h2 { padding-right: 48px; font-size: 15px; line-height: 1.35; }
.joined-status { display: inline-block; margin-top: 6px; padding: 4px 9px; border: 1px solid #3b3b3b; border-radius: 999px; color: #9b9b9b; font-size: 10px; }
.joined-task-head small { margin-left: 7px; color: #777; font-size: 10px; }
.joined-task-card > p { margin-top: 14px; color: #9a9a9a; font-size: 12px; line-height: 1.55; }
.joined-rewards { margin-top: 13px; display: flex; flex-wrap: wrap; gap: 7px; }
.joined-rewards span { padding: 6px 10px; border: 1px solid #393939; border-radius: 999px; color: #ddd; font-size: 11px; }
.joined-rewards .gold { border-color: #50472e; color: #d9bc69; }
.joined-ribbon { position: absolute; z-index: 2; right: 0; top: 0; padding: 5px 10px; border-radius: 0 17px 0 12px; background: #3a3a3a; color: #ddd; font-size: 10px; }

.support-fund-scroll { padding: 14px 16px 18px; }
.support-primary { justify-content: space-between; gap: 4px; margin-top: 12px; }
.support-primary .text-tab { min-width: 0; padding: 0 3px; font-size: 13px; }
.support-primary .text-tab.is-active::after { width: 36px; }
.support-count { min-width: 17px; height: 17px; margin-left: 4px; padding: 0 4px; display: inline-grid; place-items: center; border-radius: 999px; background: #de3648; color: #fff; font-size: 9px; line-height: 1; }
.support-count:empty { display: none; }
.support-filter-row { margin-top: 10px; display: flex; align-items: center; gap: 23px; overflow-x: auto; scrollbar-width: none; }
.support-filter-row::-webkit-scrollbar { display: none; }
.support-filter-row button { flex: 0 0 auto; padding: 6px 0; border: 0; background: none; color: #777; font-size: 12px; cursor: pointer; }
.support-filter-row button.is-active { padding: 6px 12px; border-radius: 999px; background: #292929; color: #fff; }
.support-record-list { display: grid; gap: 12px; margin-top: 10px; }
.support-record-card { padding: 14px; border: 1px solid #2e2e2e; border-radius: 16px; background: #181818; }
.support-record-head { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; gap: 10px; align-items: start; }
.support-task-logo { width: 42px; height: 42px; padding: 6px; border: 1px solid #2d2d2d; border-radius: 10px; background: #0f0f0f; object-fit: contain; }
.support-record-head h2 { overflow: hidden; display: -webkit-box; font-size: 13px; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.support-record-head p { margin-top: 6px; color: #757575; font-size: 10px; white-space: nowrap; }
.support-record-head p strong { color: #d5d5d5; }
.support-record-head p i { margin-left: 8px; font-style: normal; }
.support-status { padding: 4px 7px; border: 1px solid #565656; border-radius: 5px; color: #aaa; font-size: 10px; }
.support-status.active { border-color: #4e55ba; color: #7d86ff; }
.support-status.completed { border-color: #255338; background: rgba(30,110,61,.22); color: #30bc69; }
.support-status.pending { border-color: #6d5f2f; background: rgba(126,101,33,.18); color: #dec065; }
.support-status.rejected { border-color: #6b3439; background: rgba(119,36,45,.18); color: #e26f79; }
.support-status.expired { border-color: #414141; background: #222; color: #777; }
.support-record-metrics { margin-top: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 8px; }
.support-record-metrics span { display: block; color: #737373; font-size: 10px; }
.support-record-metrics strong { display: block; margin-top: 7px; font-size: 13px; }
.support-record-metrics .income { color: #1dbe6b; }
.support-person { margin-top: 14px; padding-top: 12px; display: flex; align-items: center; gap: 9px; border-top: 1px solid #292929; }
.support-person > span:first-child { color: #777; font-size: 10px; }
.support-request-time { margin-top: 8px; display: flex; justify-content: flex-end; gap: 4px; color: #656565; font-size: 10px; }
.support-card-actions { margin-top: 13px; display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.support-card-actions.is-single { display: flex; justify-content: flex-end; }
.support-card-actions button { height: 38px; border-radius: 11px; font-size: 12px; cursor: pointer; }
.support-reject { border: 1px solid #444; background: transparent; color: #d6d6d6; }
.support-card-actions.is-single .support-reject { min-width: 100px; }
.support-accept { border: 1px solid #747474; background: #2e2e2e; color: #fff; font-weight: 650; }
.support-empty img { width: 78px; opacity: .42; }
.support-empty p { margin-top: 12px; }
.support-empty.is-compact { min-height: 280px; }
.support-fund-footer { flex: 0 0 auto; padding: 10px 16px 16px; background: linear-gradient(180deg, rgba(9,9,9,0), #090909 24%); }
.support-fund-footer a { width: max-content; min-width: 174px; height: 46px; margin: 0 auto; padding: 0 19px; display: grid; place-items: center; border: 1px solid #777; border-radius: 15px; background: #2b2b2b; color: #fff; font-size: 14px; font-weight: 650; text-decoration: none; }
.info-banner .close-mark { width: 30px; height: 30px; right: 3px; top: 5px; border: 0; background: transparent; cursor: pointer; }
.support-confirm-card { max-width: 330px; text-align: left; }
.support-confirm-card > p { font-size: 14px; }
.support-confirm-summary { margin-top: 17px; padding: 13px; display: flex; align-items: center; gap: 12px; border-radius: 12px; background: #121212; }
.support-confirm-summary span { min-width: 0; flex: 1; color: #9b9b9b; font-size: 11px; line-height: 1.4; }
.support-confirm-summary strong { flex: 0 0 auto; color: #fff; font-size: 13px; }
.support-confirm-card .confirm-actions button:last-child { border-color: #777; background: #303030; color: #fff; }
.support-confirm-card .confirm-actions button.danger { border-color: #553137; background: #2e2022; color: #ff6977; }

.support-task-picker-scroll { padding: 14px 16px 24px; }
.support-task-search { height: 42px; padding: 0 13px; display: flex; align-items: center; gap: 9px; border: 1px solid #2a2a2a; border-radius: 11px; background: #171717; color: #777; }
.support-task-search > span { font-size: 21px; transform: rotate(-15deg); }
.support-task-search input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: #eee; font-size: 13px; }
.support-task-search input::placeholder { color: #606060; }
.support-task-options { display: grid; gap: 11px; margin-top: 14px; }
.support-task-option { width: 100%; padding: 14px; display: grid; grid-template-columns: 46px minmax(0,1fr); gap: 11px; border: 1px solid #292929; border-radius: 15px; background: #181818; color: #fff; text-align: left; cursor: pointer; }
.support-task-option.is-selected { border-color: #b7b7b7; box-shadow: 0 0 0 1px rgba(255,255,255,.14); }
.support-task-option > img { width: 46px; height: 46px; padding: 6px; border: 1px solid #2d2d2d; border-radius: 10px; background: #0f0f0f; object-fit: contain; }
.support-task-option-copy { min-width: 0; }
.support-task-option-copy > strong { display: block; font-size: 13px; line-height: 1.4; }
.support-task-option-copy > small { margin-top: 7px; display: -webkit-box; overflow: hidden; color: #777; font-size: 10px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.support-task-pills { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.support-task-pills i { padding: 4px 7px; border: 1px solid #333; border-radius: 999px; color: #aaa; font-size: 9px; font-style: normal; }
.support-task-pills i.reward { color: #6bdb95; }
.support-flow-footer { flex: 0 0 auto; min-height: 72px; padding: 10px 16px 16px; border-top: 1px solid #202020; background: #0b0b0b; }
.support-flow-footer button { width: 100%; height: 46px; border: 1px solid #777; border-radius: 14px; background: #303030; color: #fff; font-size: 15px; font-weight: 650; cursor: pointer; }

.support-apply-scroll { padding: 14px 16px 24px; }
.support-balance-notice { margin-bottom: 12px; padding: 12px 14px; border: 1px solid #5b4722; border-radius: 11px; background: rgba(84,62,23,.32); }
.support-balance-notice strong { color: #e5bd61; font-size: 12px; }
.support-balance-notice p { margin-top: 5px; color: #a88d55; font-size: 10px; line-height: 1.5; }
.support-selected-task { padding: 14px; display: grid; grid-template-columns: 48px minmax(0,1fr); gap: 12px; border: 1px solid #2d2d2d; border-radius: 15px; background: #181818; }
.support-selected-task > img { width: 48px; height: 48px; padding: 6px; border: 1px solid #2d2d2d; border-radius: 10px; background: #0f0f0f; object-fit: contain; }
.support-selected-task h2 { font-size: 13px; line-height: 1.4; }
.support-selected-task p { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 10px; color: #777; font-size: 10px; }
.support-selected-task p strong { color: #ccc; }
.support-form-section { margin-top: 21px; }
.support-form-section > label, .support-form-title { display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 650; }
.support-form-title strong { color: #ddd; }
.support-friend-search { height: 46px; margin-top: 10px; display: flex; gap: 8px; }
.support-friend-search input { min-width: 0; flex: 1; padding: 0 13px; border: 1px solid #333; border-radius: 11px; outline: 0; background: #111; color: #eee; font-size: 13px; }
.support-friend-search input:focus { border-color: #777; }
.support-friend-search button { width: 70px; border: 1px solid #666; border-radius: 11px; background: #2d2d2d; color: #fff; font-size: 12px; cursor: pointer; }
.support-friend-search button:disabled { border-color: #2c2c2c; background: #191919; color: #555; cursor: default; }
.support-field-tip { margin-top: 7px; color: #666; font-size: 10px; }
.support-selected-friend { margin-top: 11px; padding: 12px; display: flex; align-items: center; gap: 10px; border: 1px solid #303030; border-radius: 12px; background: #171717; }
.support-selected-friend .participant-avatar { width: 38px; height: 38px; }
.support-selected-friend > div { min-width: 0; flex: 1; }
.support-selected-friend small { color: #6d6d6d; font-size: 9px; }
.support-selected-friend h3 { margin-top: 2px; font-size: 13px; }
.support-selected-friend p { margin-top: 2px; color: #777; font-size: 10px; }
.support-selected-friend > button { width: 30px; height: 30px; border: 0; background: transparent; color: #777; font-size: 19px; cursor: pointer; }
.support-range-labels { margin-top: 14px; display: flex; justify-content: space-between; color: #666; font-size: 9px; }
.support-split-section input[type="range"] { width: 100%; margin-top: 7px; accent-color: #f1f1f1; }
.support-split-section > p { margin-top: 8px; color: #777; font-size: 10px; line-height: 1.55; }
.support-deposit-option { min-width: 82px; height: 42px; margin-top: 10px; border: 1px solid #777; border-radius: 11px; background: #292929; color: #fff; cursor: pointer; }
.support-reward-preview { margin-top: 21px; padding: 14px; border: 1px solid #292929; border-radius: 13px; background: #151515; }
.support-reward-preview h2 { font-size: 13px; }
.support-reward-preview > div { margin-top: 13px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.support-reward-preview span { color: #777; font-size: 10px; }
.support-reward-preview strong { display: block; margin-top: 6px; color: #fff; font-size: 15px; }
.support-form-footer { flex: 0 0 auto; min-height: 72px; padding: 10px 16px 16px; display: grid; grid-template-columns: 1fr 1.7fr; gap: 10px; border-top: 1px solid #202020; background: #0b0b0b; }
.support-form-footer a, .support-form-footer button { height: 46px; display: grid; place-items: center; border: 1px solid #454545; border-radius: 13px; background: #1d1d1d; color: #ddd; font-size: 14px; text-decoration: none; cursor: pointer; }
.support-form-footer button { border-color: #777; background: #303030; color: #fff; font-weight: 650; }
.support-form-footer button:disabled { border-color: #333; background: #1b1b1b; color: #555; cursor: default; }
.support-success-card { max-width: 330px; }
.support-success-mark { width: 48px; height: 48px; margin: 0 auto 14px; display: grid; place-items: center; border-radius: 50%; background: #f2f2f2; color: #111; font-size: 24px; font-weight: 800; }
.support-success-card .confirm-actions a { height: 42px; display: grid; place-items: center; border: 1px solid #3f3f3f; border-radius: 13px; background: #242424; color: #eee; font-size: 12px; text-decoration: none; }
.support-success-card .confirm-actions a:last-child { border-color: #777; background: #303030; }

.toast {
  position: absolute;
  z-index: 20;
  left: 50%;
  bottom: 70px;
  max-width: calc(100% - 40px);
  padding: 10px 15px;
  transform: translate(-50%, 12px);
  opacity: 0;
  pointer-events: none;
  border: 1px solid #383838;
  border-radius: 999px;
  background: rgba(32, 32, 32, .96);
  box-shadow: 0 10px 28px rgba(0,0,0,.36);
  color: #eee;
  font-size: 12px;
  white-space: nowrap;
  transition: opacity .2s ease, transform .2s ease;
}
.toast.is-showing { opacity: 1; transform: translate(-50%, 0); }

.support-layer { position: absolute; z-index: 18; inset: 0; display: none; background: rgba(0,0,0,.12); }
.support-layer.is-open { display: block; }
.support-chat {
  position: absolute;
  left: 0;
  right: 24px;
  top: 32px;
  bottom: 120px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 0 0 12px 0;
  background: #fff;
  box-shadow: 0 18px 46px rgba(0,0,0,.42);
  color: #171717;
}
.support-head { height: 64px; padding: 0 18px; display: flex; align-items: center; gap: 12px; }
.support-back { border: 0; background: transparent; color: #8b9aa9; font-size: 29px; font-weight: 300; cursor: pointer; }
.support-avatar { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(145deg,#e2e2e2,#f8f8f8); }
.support-name { font-size: 15px; font-weight: 650; }
.support-more { margin-left: auto; color: #7a6d8e; font-size: 24px; }
.support-body { flex: 1; padding: 0 18px 18px; display: flex; align-items: flex-end; }
.support-message { max-width: 280px; padding: 13px 15px; border-radius: 12px 12px 12px 2px; background: #f2f4f7; color: #26303b; font-size: 14px; line-height: 1.45; }
.support-composer { margin: 0 17px; padding: 15px 0 13px; border-top: 1px solid #dedede; }
.support-placeholder { display: flex; align-items: center; color: #a0a5ad; font-size: 14px; }
.support-send { margin-left: auto; color: #b6bdca; font-size: 23px; }
.support-footer { margin-top: 17px; display: flex; align-items: center; justify-content: space-between; color: #7e8996; font-size: 11px; }
.support-powered { font-size: 9px; letter-spacing: .03em; }
.support-close {
  position: absolute;
  right: 8px;
  bottom: 50px;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #202b3b;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.38);
  font-size: 34px;
  font-weight: 200;
  cursor: pointer;
}

@media (max-width: 520px) {
  .project-back-link { display: none !important; }
}
