:root {
  --brand: #f9c51a;
  --brand-strong: #ff9f1a;
  --ink: #1f2430;
  --muted: #7a8190;
  --line: #eef0f4;
  --bg: #f6f7f9;
  --card: #ffffff;
  --danger: #f05252;
  --success: #19a974;
  --shadow: 0 14px 34px rgba(31, 36, 48, 0.08);
  --radius: 8px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: #dfe3ea;
  color: var(--ink);
}

body {
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.app-shell {
  position: relative;
  width: min(100%, 430px);
  min-height: 100vh;
  margin: 0 auto;
  background: var(--bg);
  overflow-x: hidden;
  padding-bottom: calc(82px + var(--safe-bottom));
}

.content {
  padding: 14px 14px 24px;
}

.profile-hero {
  position: relative;
  padding: 18px 14px 20px;
  background:
    radial-gradient(circle at 88% 4%, rgba(255, 255, 255, 0.72), transparent 34%),
    linear-gradient(148deg, #fff3aa 0%, var(--brand) 48%, #ffab35 100%);
  overflow: hidden;
}

.profile-hero::after {
  content: "";
  position: absolute;
  inset: auto -30px -70px -30px;
  height: 120px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 50%;
}

.hero-top,
.wallet-card,
.notice-bar {
  position: relative;
  z-index: 1;
}

.hero-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff, #ffeec0);
  border: 3px solid rgba(255, 255, 255, 0.9);
  display: grid;
  place-items: center;
  color: #b76b00;
  font-weight: 800;
  font-size: 22px;
  overflow: hidden;
  flex: 0 0 auto;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-meta {
  min-width: 0;
  flex: 1;
}

.user-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.user-name-row h1 {
  margin: 0;
  max-width: 160px;
  color: #2c2309;
  font-size: 21px;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-meta p {
  margin: 5px 0 0;
  color: rgba(44, 35, 9, 0.72);
  font-size: 13px;
}

.status-pill,
.tag {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #7a4c00;
  font-size: 12px;
  text-decoration: none;
  white-space: nowrap;
}

.switch-link {
  flex: 0 0 auto;
  min-width: 42px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  color: #5f3b00;
  font-size: 12px;
  text-align: center;
}

.notice-bar {
  margin-top: 12px;
  padding: 9px 11px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.58);
  color: #784900;
  font-size: 13px;
}

.wallet-card {
  margin-top: 18px;
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 38px rgba(128, 82, 0, 0.13);
  backdrop-filter: blur(10px);
}

.wallet-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.label,
.wallet-sub span,
.asset-row span,
.field span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.wallet-main strong {
  display: block;
  margin-top: 4px;
  font-size: 30px;
  line-height: 1.1;
  color: #1d1b12;
}

.withdraw-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 78px;
  height: 38px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffbd26, #ff8f1f);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 9px 18px rgba(255, 137, 31, 0.28);
}

.wallet-sub {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 14px;
  align-items: end;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(222, 178, 63, 0.25);
}

.wallet-sub b {
  display: block;
  margin-top: 2px;
  font-size: 18px;
}

.wallet-sub p {
  margin: 0;
  color: #8d6b22;
  font-size: 13px;
  align-self: center;
  overflow-wrap: anywhere;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 14px 8px;
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

.quick-grid a {
  min-height: 78px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius);
  color: #343844;
  font-size: 12px;
  text-align: center;
}

.quick-grid a:active,
.bottom-nav a:active,
.bottom-nav button:active {
  transform: scale(0.98);
}

.icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.quick-grid .icon {
  width: 34px;
  height: 34px;
  padding: 8px;
  border-radius: 50%;
  background: #fff7d6;
  color: #d47700;
}

.info-card,
.panel,
.link-list {
  margin-top: 14px;
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

.info-card,
.panel {
  padding: 16px;
}

.compact-panel {
  margin-top: 12px;
}

.forgot-pay-panel > summary {
  border-radius: 12px;
  cursor: pointer;
  list-style: none;
}

.forgot-pay-panel > summary:focus {
  outline: none;
}

.forgot-pay-panel > summary:focus-visible {
  box-shadow: 0 0 0 2px rgba(255, 190, 0, 0.35);
}

.forgot-pay-panel > summary::-webkit-details-marker {
  display: none;
}

.forgot-pay-panel > summary::marker {
  content: "";
}

.forgot-pay-panel:not([open]) > .section-title {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}

.forgot-pay-panel > .section-title span::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: 5px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
}

.forgot-pay-panel[open] > .section-title span::after {
  transform: rotate(225deg) translateY(-1px);
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.section-title h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
}

.section-title span {
  color: var(--muted);
  font-size: 13px;
  text-align: right;
}

.todo-list,
.link-list {
  overflow: hidden;
}

.todo-list a,
.link-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  border-top: 1px solid var(--line);
}

.todo-list a:first-child,
.link-list a:first-child {
  border-top: 0;
}

.todo-list span,
.link-list a {
  font-weight: 600;
}

.todo-list b,
.link-list span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  text-align: right;
}

.link-list {
  padding: 0 16px;
}

.asset-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.asset-row div {
  min-height: 96px;
  padding: 14px;
  border-radius: var(--radius);
  background: #fafbfe;
  border: 1px solid var(--line);
}

.asset-row strong {
  display: block;
  margin-top: 8px;
  font-size: 23px;
}

.freeze-box,
.rule-box,
.warning-list {
  margin: 12px 0;
  padding: 12px;
  border-radius: var(--radius);
  background: #fff8df;
  color: #7d5a0d;
  font-size: 13px;
}

.rule-box p,
.warning-list p {
  margin: 0;
}

.rule-box p + p,
.warning-list p + p {
  margin-top: 6px;
}

.warning-list {
  background: #fff1ef;
  color: #b13b2e;
}

.form-stack {
  display: grid;
  gap: 12px;
}

.field {
  display: grid;
  gap: 7px;
}

.field input,
.field select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 12px;
  background: #fafbfe;
  color: var(--ink);
  outline: none;
}

.field input:focus,
.field select:focus {
  border-color: var(--brand-strong);
  box-shadow: 0 0 0 3px rgba(249, 197, 26, 0.22);
}

.field input[readonly],
.field input:disabled {
  color: #989eaa;
  background: #f2f3f6;
}

.money-field input {
  font-size: 24px;
  font-weight: 800;
}

.primary-btn,
.ghost-btn {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  cursor: pointer;
  font-weight: 800;
}

.primary-btn {
  background: linear-gradient(135deg, #ffd02f, #ff951f);
  color: #fff;
  box-shadow: 0 12px 24px rgba(255, 149, 31, 0.22);
}

.primary-btn:disabled {
  cursor: not-allowed;
  background: #d6d9df;
  box-shadow: none;
}

.ghost-btn {
  background: #fff7dc;
  color: #9a6200;
}

.ghost-link {
  display: inline-flex;
  margin-top: 14px;
  color: #9a6200;
  font-weight: 700;
}

.pin-control {
  position: relative;
  min-height: 48px;
}

.pin-input {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.02;
  color: transparent;
  caret-color: transparent;
}

.pin-boxes {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.pin-boxes i {
  height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fafbfe;
  display: grid;
  place-items: center;
}

.pin-boxes i.is-filled::after {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ink);
}

.pin-control:focus-within .pin-boxes i {
  border-color: rgba(255, 159, 26, 0.55);
}

.record-list {
  display: grid;
  gap: 10px;
}

.record-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-radius: var(--radius);
  background: #fafbfe;
  border: 1px solid var(--line);
}

.record-item h3 {
  margin: 0 0 4px;
  font-size: 15px;
}

.record-item p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.record-item .fail-reason {
  margin-top: 5px;
  color: var(--danger);
}

.record-item aside {
  flex: 0 0 auto;
  display: grid;
  justify-items: end;
  align-content: start;
  gap: 6px;
  text-align: right;
}

.record-item aside strong {
  white-space: nowrap;
}

.record-item aside span:not(.tag) {
  color: var(--muted);
  font-size: 12px;
}

.plus {
  color: var(--success);
}

.minus {
  color: var(--danger);
}

.empty-state,
.empty-card {
  text-align: center;
  color: var(--muted);
}

.empty-state {
  padding: 36px 16px;
}

.empty-state div,
.empty-card h2 {
  color: var(--ink);
  font-weight: 800;
}

.empty-state p,
.empty-card p {
  margin: 7px auto 0;
  max-width: 260px;
  font-size: 13px;
}

.cert-card {
  padding: 16px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #fff7dc, #fff);
  border: 1px solid #ffe5a5;
}

.cert-card b,
.cert-card span {
  display: block;
}

.cert-card span {
  margin-top: 6px;
  color: var(--muted);
}

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 20;
  width: min(100%, 430px);
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 8px 8px calc(8px + var(--safe-bottom));
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
}

.bottom-nav a,
.bottom-nav button {
  min-height: 50px;
  border: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #737987;
  font-size: 12px;
  cursor: pointer;
}

.bottom-nav .is-active,
.bottom-nav button.is-active {
  color: #d57a00;
  font-weight: 800;
}

.bottom-nav .icon {
  width: 21px;
  height: 21px;
}

.toast {
  position: fixed;
  top: 12px;
  left: 50%;
  z-index: 40;
  width: min(360px, calc(100% - 28px));
  transform: translateX(-50%);
  padding: 11px 14px;
  border-radius: var(--radius);
  background: #1f2430;
  color: #fff;
  box-shadow: var(--shadow);
  text-align: center;
  font-size: 14px;
}

.toast.error {
  background: #b7362e;
}

.simple-screen {
  min-height: 100vh;
  padding: 32px 18px;
  background:
    radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.78), transparent 32%),
    linear-gradient(150deg, #fff4b1, #ffc22a 56%, #ff9d25);
}

.login-screen {
  position: relative;
  min-height: 100vh;
  padding: 54px 32px 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 213, 0, 0.18) 0 18%, transparent 19%),
    radial-gradient(ellipse at 5% 82%, rgba(255, 184, 0, 0.16) 0 27%, transparent 28%),
    linear-gradient(180deg, #fff8dc 0%, #fff5c9 46%, #fff0b3 100%);
}

.login-screen::after {
  content: "";
  position: absolute;
  left: -78px;
  right: -78px;
  bottom: -96px;
  height: 196px;
  border-radius: 58% 58% 0 0;
  background: linear-gradient(135deg, #ffd326, #ffad1e);
}

.login-screen::before {
  content: "";
  position: absolute;
  left: -44px;
  right: -44px;
  bottom: -86px;
  z-index: 1;
  height: 170px;
  border-radius: 52% 52% 0 0;
  background: rgba(255, 250, 221, 0.9);
  transform: rotate(5deg);
}

.login-entry-title,
.login-card {
  position: relative;
  z-index: 2;
}

.login-entry-title {
  margin-top: 158px;
}

.login-entry-title h2 {
  margin: 0;
  color: #ffc000;
  font-size: 27px;
  line-height: 1.2;
  font-weight: 900;
}

.login-entry-title span {
  display: block;
  width: 31px;
  height: 4px;
  margin-top: 11px;
  border-radius: 999px;
  background: #ffbd11;
}

.empty-card {
  margin-top: 34px;
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.login-card {
  margin-top: 28px;
  padding: 0;
  border-radius: var(--radius);
  background: transparent;
  box-shadow: none;
}

.login-region-picker,
.login-phone-field {
  min-height: 58px;
  border: 1px solid #e6e1d5;
  border-radius: 15px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 24px;
  align-items: center;
  background: #fff;
}

.login-region-picker {
  position: relative;
  margin-bottom: 16px;
  padding: 0 14px;
  overflow: visible;
}

.region-toggle {
  width: 100%;
  min-height: 56px;
  border: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  color: #222;
  font-size: 17px;
  font-weight: 500;
  outline: none;
  cursor: pointer;
}

.region-toggle i {
  width: 10px;
  height: 10px;
  border-right: 2px solid #9b9b9b;
  border-bottom: 2px solid #9b9b9b;
  transform: rotate(45deg) translateY(-3px);
  transition: transform 0.18s ease;
}

.login-region-picker.is-open .region-toggle i {
  transform: rotate(-135deg) translateY(-1px);
}

.region-menu {
  position: absolute;
  left: 12px;
  right: 12px;
  top: calc(100% + 8px);
  z-index: 8;
  display: none;
  padding: 6px;
  border: 1px solid rgba(255, 190, 0, 0.36);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 16px 34px rgba(144, 96, 0, 0.16);
}

.login-region-picker.is-open .region-menu {
  display: grid;
  gap: 4px;
}

.region-menu button {
  min-height: 42px;
  border: 0;
  border-radius: 10px;
  padding: 0 12px;
  background: transparent;
  color: #34302a;
  text-align: left;
  font-size: 15px;
  cursor: pointer;
}

.region-menu button.is-selected {
  background: linear-gradient(135deg, #fff2ad, #ffd12e);
  color: #111;
  font-weight: 800;
}

.field-pin,
.field-phone {
  position: relative;
  width: 22px;
  height: 22px;
  justify-self: start;
  color: #ffb800;
}

.field-pin::before {
  content: "";
  position: absolute;
  inset: 2px 4px 3px;
  border: 3px solid currentColor;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.field-pin::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.field-phone::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 13px;
  height: 20px;
  border: 3px solid currentColor;
  border-radius: 4px;
}

.field-phone::after {
  content: "";
  position: absolute;
  left: 9px;
  bottom: 4px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}

.login-phone-field {
  padding: 0 14px;
}

.login-phone-field input {
  width: 100%;
  min-height: 56px;
  border: 0;
  padding: 0;
  background: transparent;
  color: #111;
  font-size: 17px;
  font-weight: 500;
  outline: none;
}

.login-phone-field input::placeholder {
  color: #a0a4ad;
  font-weight: 500;
}

.login-submit {
  margin-top: 28px;
  min-height: 58px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffd93b, #ffc01f);
  color: #111;
  font-size: 18px;
  box-shadow: 0 12px 24px rgba(255, 191, 31, 0.24);
}

.form-hint {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.empty-mark {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff3d1;
  color: #d57a00;
  font-size: 28px;
  font-weight: 900;
}

.support-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: flex-end;
  justify-content: center;
  background: rgba(31, 36, 48, 0.42);
}

.support-modal.is-open {
  display: flex;
}

.support-sheet {
  width: min(100%, 430px);
  height: min(82vh, 720px);
  border-radius: 16px 16px 0 0;
  background: #fff;
  overflow: hidden;
  display: grid;
  grid-template-rows: 52px 1fr;
}

.support-sheet header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
}

.support-sheet button {
  border: 0;
  background: #fff7dc;
  color: #9a6200;
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 700;
}

.support-body {
  position: relative;
  min-height: 0;
}

.support-body iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: none;
}

.support-modal.is-connecting .support-empty,
.support-modal.is-connecting iframe {
  display: none;
}

.support-modal.is-connecting .support-connecting {
  display: grid;
}

.support-empty,
.support-connecting {
  height: 100%;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 24px;
  text-align: center;
  color: var(--muted);
}

.support-connecting {
  display: none;
}

.support-empty div,
.support-connecting div {
  color: var(--ink);
  font-weight: 800;
}

.support-empty p,
.support-connecting p {
  margin: 8px 0 0;
  font-size: 13px;
}

.support-spinner {
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  border: 4px solid #fff0c2;
  border-top-color: #d57a00;
  border-radius: 50%;
  animation: support-spin 0.82s linear infinite;
}

.support-connecting div::after {
  display: inline-block;
  width: 22px;
  overflow: hidden;
  vertical-align: bottom;
  animation: support-dots 1.2s steps(4, end) infinite;
  content: "...";
}

@keyframes support-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes support-dots {
  0% {
    width: 0;
  }

  100% {
    width: 22px;
  }
}

@media (min-width: 431px) {
  .app-shell {
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04), 0 22px 60px rgba(31, 36, 48, 0.18);
  }
}

@media (max-width: 360px) {
  .wallet-main strong {
    font-size: 25px;
  }

  .quick-grid {
    gap: 6px;
  }

  .quick-grid a {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation: none !important;
  }
}

/* 默认头像图片自带白色圆环，容器不再额外加圆框，避免双圆。 */
.avatar {
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

.avatar img {
  object-fit: contain;
}

/* 首页按确认截图强化 App 视觉，后续改色优先调整这里的变量和模块样式。 */
.app-shell {
  width: min(100%, 430px);
  background: #f5f6f8;
  padding-bottom: calc(76px + var(--safe-bottom));
}

.profile-hero {
  padding: 10px 14px 18px;
  min-height: 356px;
  background:
    radial-gradient(circle at 79% 64%, rgba(255, 255, 255, 0.42) 0 25%, transparent 26%),
    radial-gradient(circle at 88% 76%, rgba(255, 255, 255, 0.32) 0 39%, transparent 40%),
    linear-gradient(132deg, #ffd500 0%, #ffe72f 42%, #fff6ac 100%);
}

.profile-hero::after {
  inset: auto -72px 26px auto;
  width: 246px;
  height: 246px;
  background: rgba(255, 255, 255, 0.3);
}

.hero-actions {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: 20px;
  display: flex;
  gap: 16px;
}

.hero-icon-btn {
  width: 34px;
  height: 34px;
  border: 0;
  padding: 0;
  display: grid;
  place-items: center;
  background: transparent;
  color: #171717;
  cursor: pointer;
}

.hero-icon-btn .icon {
  width: 29px;
  height: 29px;
  stroke-width: 2.3;
}

.hero-top {
  margin-top: 42px;
  gap: 14px;
  min-height: 94px;
}

.avatar {
  width: 86px;
  height: 86px;
  border: 5px solid rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 24px rgba(153, 112, 0, 0.2);
  background: #fff;
}

.user-name-row {
  align-items: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.user-name-row h1 {
  max-width: 174px;
  color: #151515;
  font-size: 28px;
  font-weight: 900;
}

.user-meta p {
  margin-top: 8px;
  color: rgba(0, 0, 0, 0.72);
  font-size: 17px;
}

.status-pill {
  height: 24px;
  padding: 0 9px;
  background: rgba(255, 255, 255, 0.86);
  color: #5f5b4a;
  font-size: 14px;
}

.status-pill:active {
  transform: scale(0.98);
}

.status-pill::before {
  content: "";
  width: 16px;
  height: 16px;
  margin-right: 4px;
  border-radius: 50%;
  background: #ffb900;
  box-shadow: inset 0 0 0 4px #fff4c8;
}

.status-pill.is-verified {
  background: rgba(236, 255, 246, 0.9);
  color: #12845a;
}

.status-pill.is-verified::before {
  background: #21b878;
  box-shadow: inset 0 0 0 4px #dff7ec;
}

.switch-link {
  width: 42px;
  min-width: 42px;
  height: 42px;
  padding: 0;
  display: grid;
  place-items: center;
  background: transparent;
  color: #202020;
}

.switch-link .icon {
  width: 31px;
  height: 31px;
  stroke-width: 2.7;
}

.wallet-card {
  margin-top: 24px;
  padding: 20px 18px 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 42px rgba(70, 70, 70, 0.1);
}

.label,
.wallet-sub span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #8b8f98;
  font-size: 18px;
}

.label .icon,
.wallet-sub span .icon {
  width: 18px;
  height: 18px;
  color: #979aa2;
}

.wallet-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.wallet-main > div {
  min-width: 0;
}

.wallet-main strong {
  margin-top: 8px;
  color: #111;
  font-size: 40px;
  font-weight: 900;
  letter-spacing: 0;
}

.wallet-sub {
  display: block;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #edf0f4;
}

.wallet-sub b {
  margin-top: 6px;
  color: #111;
  font-size: 26px;
  line-height: 1.05;
}

.wallet-sub p {
  margin-top: 7px;
  color: #a0a4ad;
  font-size: 15px;
}

.withdraw-chip {
  min-width: 102px;
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(135deg, #ffd900, #ffc000);
  color: #111;
  font-size: 19px;
  font-weight: 900;
  box-shadow: none;
}

.content {
  padding: 14px 13px 18px;
}

.home-announcement {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  position: relative;
  margin-bottom: 12px;
  border-radius: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
  overflow: hidden;
}

.home-announcement::before {
  content: none;
}

.home-announcement::after {
  content: none;
}

.home-announcement strong {
  position: relative;
  z-index: 2;
  display: block;
  min-width: 0;
  border: 1px solid rgba(255, 192, 0, 0.36);
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
  background: #fffdf4;
  color: #ffc000;
  padding: 11px 13px 3px;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.25;
  text-align: var(--announcement-text-align, left);
}

.home-announcement span {
  position: relative;
  z-index: 2;
  display: block;
  min-width: 0;
  border: 1px solid rgba(255, 192, 0, 0.36);
  border-top: 0;
  border-radius: 0 0 14px 14px;
  background: #fffdf4;
  color: var(--announcement-text-color, #6b5a22);
  box-shadow: 0 12px 28px rgba(31, 36, 48, 0.07);
  padding: 3px 13px 12px;
  font-size: var(--announcement-font-size, 14px);
  line-height: 1.45;
  text-align: var(--announcement-text-align, left);
  overflow-wrap: anywhere;
  white-space: pre-line;
}

.quick-grid {
  gap: 0;
  padding: 18px 0 14px;
  box-shadow: 0 12px 30px rgba(31, 36, 48, 0.06);
}

.quick-grid a,
.quick-grid button {
  position: relative;
  min-height: 86px;
  border: 0;
  padding: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #242424;
  font-size: 15px;
  text-align: center;
  cursor: pointer;
}

.quick-grid a:nth-child(-n+4),
.quick-grid button:nth-child(-n+4) {
  border-bottom: 1px solid #f1f2f5;
}

.quick-grid a:not(:nth-child(4n))::after,
.quick-grid button:not(:nth-child(4n))::after {
  content: "";
  position: absolute;
  top: 18px;
  right: 0;
  width: 1px;
  height: 48px;
  background: #edf0f4;
}

.quick-grid .icon {
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #141414;
  stroke-width: 1.85;
}

.quick-icon {
  width: 42px;
  height: 42px;
  overflow: visible;
}

.quick-icon path,
.quick-icon rect,
.quick-icon circle {
  fill: none;
  stroke: #111;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.quick-icon .qi-fill {
  fill: #ffc400;
  stroke: #ffc400;
}

.quick-icon .qi-dot {
  fill: #fff;
  stroke: none;
}

.quick-icon .qi-fill-line,
.quick-icon .qi-accent,
.quick-icon .qi-mark {
  fill: none;
  stroke: #ffc400;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.quick-icon .qi-mini {
  fill: none;
  stroke: #fff;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-card {
  position: relative;
  min-height: 96px;
  margin-top: 14px;
  padding: 20px 152px 18px 18px;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 20%, rgba(255, 232, 84, 0.75), transparent 18%),
    linear-gradient(135deg, #ff7439, #ff9d45);
  color: #fff;
  box-shadow: 0 13px 30px rgba(255, 117, 48, 0.2);
}

.trust-copy h2 {
  margin: 0;
  font-size: 21px;
  line-height: 1.2;
}

.trust-copy p {
  margin: 7px 0 12px;
  font-size: 14px;
}

.trust-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.trust-copy a {
  width: max-content;
  height: 30px;
  padding: 0 10px 0 14px;
  border-radius: 999px;
  background: #fff;
  color: #ff7135;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 13px;
  font-weight: 800;
}

.trust-copy .icon {
  width: 15px;
  height: 15px;
}

.trust-art {
  position: absolute;
  right: 12px;
  bottom: 7px;
  width: 136px;
  height: 94px;
}

.art-board {
  position: absolute;
  right: 20px;
  bottom: 0;
  width: 72px;
  height: 84px;
  border: 4px solid #ffd38f;
  border-radius: 10px;
  background: linear-gradient(160deg, #fff, #ffe4c3);
  transform: rotate(7deg);
  box-shadow: 0 10px 18px rgba(166, 66, 0, 0.16);
}

.art-board::before {
  content: "";
  position: absolute;
  left: 20px;
  top: -13px;
  width: 32px;
  height: 20px;
  border-radius: 8px;
  background: #ffd28a;
}

.art-board::after {
  content: "";
  position: absolute;
  left: 14px;
  top: 30px;
  width: 42px;
  height: 6px;
  border-radius: 999px;
  background: #ff9c3a;
  box-shadow: 0 17px 0 #ffc58b;
}

.art-shield {
  position: absolute;
  left: 14px;
  bottom: 2px;
  width: 48px;
  height: 58px;
  border-radius: 10px 10px 24px 24px;
  background: linear-gradient(145deg, #ffb13c, #ff6b29);
  border: 3px solid #ffd9a4;
  transform: rotate(-10deg);
}

.art-shield::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 20px;
  width: 21px;
  height: 12px;
  border-left: 4px solid #fff;
  border-bottom: 4px solid #fff;
  transform: rotate(-45deg);
}

.art-coin {
  position: absolute;
  right: 0;
  bottom: 2px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ffc72c;
  color: #ff7a2f;
  border: 3px solid #ffe494;
  font-weight: 900;
}

.bottom-nav {
  grid-template-columns: repeat(4, 1fr);
  min-height: 68px;
  padding: 4px 6px calc(5px + var(--safe-bottom));
  background: rgba(255, 255, 255, 0.96);
}

.bottom-nav a,
.bottom-nav button {
  position: relative;
  min-height: 58px;
  color: #5b6069;
  font-size: 12px;
}

.bottom-nav .icon {
  width: 26px;
  height: 26px;
  stroke-width: 2;
}

.nav-icon {
  width: 28px;
  height: 28px;
  overflow: visible;
}

.nav-icon path,
.nav-icon rect,
.nav-icon circle {
  fill: none;
  stroke: #5f6774;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-icon .ni-accent {
  stroke: #5f6774;
}

.nav-icon .ni-accent-fill {
  fill: #5f6774;
  stroke: #5f6774;
}

.bottom-nav .is-active .nav-icon path,
.bottom-nav .is-active .nav-icon rect,
.bottom-nav .is-active .nav-icon circle {
  stroke: #111;
}

.bottom-nav .is-active .nav-icon .ni-accent {
  stroke: #ffc400;
}

.bottom-nav .is-active .nav-icon .ni-accent-fill {
  fill: #ffc400;
  stroke: #ffc400;
}

.bottom-nav .is-active {
  color: #111;
  font-weight: 900;
}

.bottom-nav .is-active .icon {
  filter: none;
}

.bottom-nav .is-active .nav-icon {
  filter: none;
}

@media (max-width: 360px) {
  .profile-hero {
    min-height: 340px;
  }

  .avatar {
    width: 76px;
    height: 76px;
  }

  .user-name-row h1 {
    font-size: 24px;
  }

  .wallet-main strong {
    font-size: 34px;
  }

  .wallet-sub b {
    font-size: 22px;
  }

  .withdraw-chip {
    min-width: 90px;
  }

  .trust-card {
    padding-right: 128px;
  }
}

/* 二次压缩首页比例，让 390px 手机首屏更接近参考截图。 */
.profile-hero {
  min-height: 374px;
  padding-bottom: 14px;
}

.profile-hero.is-compact {
  min-height: 286px;
}

.profile-hero.has-frozen-funds {
  min-height: 374px;
}

.hero-top {
  margin-top: 34px;
  min-height: 78px;
}

.avatar {
  width: 76px;
  height: 76px;
  border-width: 4px;
}

.user-name-row h1 {
  font-size: 26px;
}

.user-meta p {
  margin-top: 4px;
  font-size: 15px;
}

.hero-actions {
  top: 18px;
}

.hero-icon-btn .icon {
  width: 26px;
  height: 26px;
}

.wallet-card {
  margin-top: 18px;
  padding: 17px 18px 15px;
}

.label,
.wallet-sub span {
  font-size: 16px;
}

.wallet-main strong {
  margin-top: 5px;
  font-size: 35px;
}

.wallet-sub {
  margin-top: 12px;
  padding-top: 13px;
}

.wallet-sub b {
  margin-top: 4px;
  font-size: 23px;
}

.wallet-sub p {
  margin-top: 4px;
  font-size: 14px;
}

.withdraw-chip {
  min-width: 94px;
  height: 48px;
  border-radius: 16px;
  font-size: 18px;
}

.quick-grid {
  padding: 14px 0 12px;
}

.quick-grid a,
.quick-grid button {
  min-height: 78px;
  gap: 8px;
  font-size: 14px;
}

.quick-grid .icon {
  width: 34px;
  height: 34px;
}

.quick-grid a:not(:nth-child(4n))::after,
.quick-grid button:not(:nth-child(4n))::after {
  top: 16px;
  height: 42px;
}

.trust-card {
  min-height: 86px;
  padding: 16px 120px 14px 18px;
}

.trust-copy h2 {
  font-size: 18px;
  white-space: nowrap;
}

.trust-copy p {
  margin: 5px 0 9px;
  font-size: 13px;
}

.trust-actions {
  gap: 6px;
}

.trust-copy a {
  height: 28px;
  padding: 0 9px 0 12px;
}

.trust-art {
  right: 6px;
  bottom: 4px;
  transform: scale(0.88);
  transform-origin: right bottom;
}

.bottom-nav {
  min-height: 62px;
}

.bottom-nav a,
.bottom-nav button {
  min-height: 52px;
}

.subpage-hero {
  min-height: 176px;
  padding-bottom: 16px;
}

.subpage-hero .hero-top {
  margin-top: 26px;
}

.subpage-hero + .content {
  min-height: calc(100vh - 252px - var(--safe-bottom));
  margin-top: 0;
  padding: 14px 12px 18px;
  background:
    linear-gradient(180deg, rgba(255, 247, 202, 0.38) 0, rgba(245, 246, 248, 0.96) 74px, #f5f6f8 100%);
}

.subpage-hero + .content > .panel:first-child,
.subpage-hero + .content > .wallet-page-card:first-child,
.subpage-hero + .content > .withdraw-page-card:first-child {
  margin-top: 0;
}

.subpage-hero + .content .panel {
  position: relative;
  overflow: hidden;
  padding: 17px 14px 16px;
  border: 1px solid rgba(255, 207, 35, 0.2);
  background:
    linear-gradient(180deg, #fff 0%, #fff 72%, #fffdf4 100%) padding-box;
  box-shadow: 0 16px 36px rgba(31, 36, 48, 0.08);
}

.subpage-hero + .content .section-title {
  margin-bottom: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f2eddc;
}

.subpage-hero + .content .section-title h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #171717;
  font-size: 20px;
  font-weight: 900;
}

.subpage-hero + .content .section-title h2::before {
  content: "";
  width: 5px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffd800, #ffae1d);
}

.subpage-hero + .content .section-title span {
  height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff5c4;
  color: #866000;
  font-size: 12px;
  font-weight: 800;
}

.subpage-hero + .content .record-list {
  gap: 0;
}

.subpage-hero + .content .record-item {
  position: relative;
  min-height: 78px;
  padding: 15px 2px 15px 17px;
  border: 0;
  border-top: 1px solid #f1efe5;
  border-radius: 0;
  background: transparent;
}

.subpage-hero + .content .record-item:first-child {
  border-top: 0;
}

.subpage-hero + .content .record-item::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 19px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffc400;
  box-shadow: 0 0 0 4px #fff4bf;
}

.subpage-hero + .content .record-item h3 {
  margin-bottom: 5px;
  color: #202124;
  font-size: 16px;
  font-weight: 900;
}

.subpage-hero + .content .record-item p {
  color: #7b8290;
  font-size: 13px;
  line-height: 1.45;
}

.subpage-hero + .content .record-item aside {
  gap: 5px;
  padding-top: 1px;
}

.subpage-hero + .content .record-item aside strong {
  font-size: 17px;
  line-height: 1.1;
  font-weight: 900;
}

.subpage-hero + .content .record-item aside span:not(.tag) {
  color: #8b8f98;
  font-size: 12px;
}

.subpage-hero + .content .record-item .tag {
  background: #fff5c4;
  color: #7b5900;
  font-weight: 800;
}

.subpage-hero + .content .empty-state {
  position: relative;
  overflow: hidden;
  margin-top: 12px;
  padding: 34px 16px 36px;
  border: 1px solid #ffe49a;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 88% 8%, rgba(255, 214, 0, 0.22), transparent 34%),
    linear-gradient(145deg, #fff8d8 0%, #fffdf4 52%, #fff 100%);
  color: #8a6100;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.62);
}

.subpage-hero + .content .empty-state::before {
  content: "";
  display: block;
  width: 42px;
  height: 42px;
  margin: 0 auto 12px;
  border-radius: 14px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, #ffd900, #ffb000) border-box;
  border: 2px solid transparent;
  box-shadow: 0 10px 20px rgba(255, 190, 0, 0.18);
}

.subpage-hero + .content .empty-state::after {
  content: "";
  position: absolute;
  left: calc(50% - 8px);
  top: 47px;
  width: 16px;
  height: 10px;
  border-left: 3px solid #ffc400;
  border-bottom: 3px solid #ffc400;
  transform: rotate(-45deg);
}

.subpage-hero + .content .empty-state div {
  color: #1f2430;
  font-size: 17px;
  font-weight: 900;
}

.subpage-hero + .content .empty-state p {
  color: #8a6100;
}

.profile-check-list {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.profile-check-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 10px 12px;
  border-radius: var(--radius);
  border: 1px solid #f1ead0;
  background: #fffdf5;
}

.profile-check-row strong,
.profile-check-row span {
  display: block;
}

.profile-check-row strong {
  color: #202124;
  font-size: 15px;
}

.profile-check-row span {
  margin-top: 3px;
  color: #818895;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.profile-check-row em {
  min-width: 58px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.profile-check-row.is-ok em {
  background: #eaf8f1;
  color: #139663;
}

.profile-check-row.is-warn {
  border-color: #ffd65c;
  background: #fff7d5;
}

.profile-check-row.is-warn em {
  background: #ffb900;
  color: #171717;
}

.profile-alert-list {
  display: grid;
  gap: 8px;
  margin: 0 0 14px;
}

.profile-alert-list a {
  position: relative;
  display: block;
  padding: 11px 36px 11px 12px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #fff0d4, #ffe087);
  color: #5d3f00;
  box-shadow: inset 0 0 0 1px rgba(255, 183, 0, 0.42);
}

.profile-alert-list a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 14px;
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

.profile-alert-list strong,
.profile-alert-list span {
  display: block;
}

.profile-alert-list strong {
  font-size: 14px;
  font-weight: 900;
}

.profile-alert-list span {
  margin-top: 2px;
  color: rgba(93, 63, 0, 0.72);
  font-size: 12px;
}

.wallet-page-card {
  position: relative;
  overflow: hidden;
  margin-top: 0;
  padding: 14px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 90% 4%, rgba(255, 255, 255, 0.78), transparent 28%),
    linear-gradient(145deg, #fff7cf 0%, #fff 48%, #fff8dc 100%);
  box-shadow: 0 14px 34px rgba(31, 36, 48, 0.08);
}

.wallet-page-card::before {
  content: "";
  position: absolute;
  right: -42px;
  top: -42px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(255, 211, 0, 0.22);
}

.wallet-page-head,
.wallet-balance-main,
.wallet-page-sub,
.wallet-freeze-reason {
  position: relative;
  z-index: 1;
}

.wallet-page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.wallet-page-head span {
  color: #9a6200;
  font-size: 13px;
  font-weight: 700;
}

.wallet-page-head h2 {
  margin: 4px 0 0;
  font-size: 22px;
  line-height: 1.15;
}

.wallet-page-head .quick-icon {
  width: 42px;
  height: 42px;
}

.wallet-balance-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid rgba(255, 200, 0, 0.22);
}

.wallet-balance-main.has-frozen {
  align-items: center;
}

.wallet-available {
  min-width: 0;
}

.wallet-balance-main span,
.wallet-page-sub span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #8b8f98;
  font-size: 15px;
}

.wallet-balance-main .icon {
  width: 17px;
  height: 17px;
}

.wallet-balance-main strong {
  display: block;
  margin-top: 5px;
  color: #111;
  font-size: 36px;
  line-height: 1.1;
  font-weight: 900;
}

.wallet-balance-side {
  display: grid;
  place-items: center;
  justify-self: end;
  max-width: 96px;
}

.wallet-balance-side .withdraw-chip {
  min-width: 92px;
  height: 46px;
  border-radius: 15px;
  font-size: 18px;
}

.wallet-frozen-inline {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: var(--radius);
  background: #fff3c5;
  color: #8a6100;
  overflow-wrap: anywhere;
}

.wallet-frozen-inline span {
  display: block;
  color: #8a6100;
  font-size: 13px;
  font-weight: 700;
}

.wallet-frozen-inline b {
  display: block;
  margin-top: 2px;
  color: #111;
  font-size: 18px;
  line-height: 1.08;
}

.wallet-frozen-inline p {
  margin: 0;
  color: #8a6100;
  font-size: 12px;
  line-height: 1.35;
  text-align: right;
}

@media (max-width: 360px) {
  .wallet-balance-main {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .wallet-balance-side {
    width: auto;
    max-width: 96px;
  }

  .wallet-frozen-inline {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .wallet-frozen-inline p {
    text-align: left;
  }

  .wallet-balance-main strong {
    font-size: 32px;
  }
}

.wallet-page-sub {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
  padding: 11px 14px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid rgba(255, 200, 0, 0.18);
}

.wallet-page-sub b {
  display: block;
  margin-top: 4px;
  font-size: 23px;
  line-height: 1.1;
}

.wallet-freeze-reason {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: var(--radius);
  background: #fff3c5;
  color: #8a6100;
  font-size: 14px;
}

.wallet-action-list {
  margin-top: 12px;
  padding: 8px;
  border-radius: var(--radius);
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, rgba(255, 210, 0, 0.32), rgba(255, 149, 31, 0.12)) border-box;
  border: 1px solid rgba(255, 207, 35, 0.28);
  box-shadow: 0 14px 34px rgba(31, 36, 48, 0.07);
}

.wallet-action-list a {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 74px;
  padding: 0 8px;
  border-radius: var(--radius);
  border-top: 1px solid #f5f1df;
}

.wallet-action-list a:first-child {
  border-top: 0;
}

.wallet-action-list a:active {
  background: #fff8df;
}

.wallet-action-list .quick-icon {
  width: 38px;
  height: 38px;
}

.wallet-action-list strong,
.wallet-action-list span {
  display: block;
}

.wallet-action-list strong {
  color: #1f2430;
  font-size: 16px;
}

.wallet-action-list span {
  margin-top: 3px;
  color: #9aa0aa;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wallet-action-list em {
  min-width: 58px;
  height: 30px;
  padding: 0 10px 0 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: linear-gradient(135deg, #fff5bd, #ffd326);
  color: #6f4300;
  box-shadow: 0 8px 16px rgba(255, 190, 0, 0.18);
  font-style: normal;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.wallet-action-list em::after {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.withdraw-page-card {
  position: relative;
  overflow: hidden;
  padding: 16px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 91% 2%, rgba(255, 255, 255, 0.76), transparent 29%),
    linear-gradient(145deg, #fff7cf 0%, #fff 48%, #fff8dc 100%);
  box-shadow: 0 14px 34px rgba(31, 36, 48, 0.08);
}

.withdraw-page-card::before {
  content: "";
  position: absolute;
  right: -48px;
  top: -48px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(255, 211, 0, 0.2);
}

.withdraw-page-head,
.withdraw-rule-card,
.withdraw-form {
  position: relative;
  z-index: 1;
}

.withdraw-page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
}

.withdraw-page-head span {
  display: block;
  color: #9a6200;
  font-size: 13px;
  font-weight: 700;
}

.withdraw-page-head h2 {
  margin: 4px 0 0;
  font-size: 23px;
  line-height: 1.15;
}

.withdraw-page-head strong {
  margin-top: 4px;
  color: #8b8f98;
  font-size: 13px;
  white-space: nowrap;
}

.withdraw-rule-card {
  margin-bottom: 12px;
  padding: 12px;
  border-radius: var(--radius);
  background: #fff3c5;
  color: #8a6100;
  font-size: 13px;
}

.withdraw-rule-card p {
  margin: 0;
}

.withdraw-rule-card p + p {
  margin-top: 5px;
}

.withdraw-warning-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  margin: 0 0 12px;
  padding: 12px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #fff7d5, #ffe68c);
  color: #6f4c00;
  box-shadow: inset 0 0 0 1px rgba(255, 184, 0, 0.42);
}

.withdraw-warning-list p,
.withdraw-warning-list a {
  position: relative;
  margin: 0;
  padding-left: 13px;
  padding-right: 18px;
  color: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
  text-decoration: none;
}

.withdraw-warning-list p::before,
.withdraw-warning-list a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffb900;
}

.withdraw-warning-list a::after {
  content: "";
  position: absolute;
  right: 1px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}

.withdraw-form .field input {
  background: #fff;
  border-color: rgba(255, 200, 0, 0.22);
}

.forgot-pay-link {
  margin-top: -4px;
  color: #9a6200;
  font-size: 13px;
  text-align: center;
}

.withdraw-empty-card {
  position: relative;
  z-index: 1;
  padding: 22px 16px 18px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid rgba(255, 200, 0, 0.22);
  text-align: center;
}

.withdraw-empty-card .quick-icon {
  width: 48px;
  height: 48px;
}

.withdraw-empty-card h3 {
  margin: 10px 0 6px;
  font-size: 19px;
}

.withdraw-empty-card p {
  margin: 0 0 14px;
  color: #8b8f98;
  font-size: 13px;
}

.avatar {
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

.avatar img {
  object-fit: contain;
}
