:root {
  font-family: "Space Grotesk", "Rajdhani", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: dark;
  --bg: radial-gradient(circle at 20% 20%, rgba(0, 255, 255, 0.06), transparent 35%),
    radial-gradient(circle at 80% 0%, rgba(114, 92, 255, 0.08), transparent 30%),
    linear-gradient(135deg, #061026, #030712 55%, #02040b);
  --card: rgba(17, 28, 56, 0.7);
  --card-strong: rgba(24, 48, 96, 0.8);
  --border: rgba(103, 189, 255, 0.25);
  --text: #eaf7ff;
  --muted: #92a6c6;
  --accent: #45d7ff;
  --accent-2: #6d7bff;
  --shadow: 0 10px 45px rgba(0, 0, 0, 0.4);
  --glow: 0 0 20px rgba(69, 215, 255, 0.35);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: url('./ui/background.png') center/cover no-repeat fixed;
  color: var(--text);
  position: relative;
  overflow-x: hidden;
}

@font-face {
  font-family: 'DS-Digital';
  src: url('./ui/DS-DIGI.TTF') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.app,
.admin-app {
  width: min(480px, 100%);
  margin: 0 auto;
  padding: 32px 20px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.top-bar {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

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

.actions-compact {
  gap: 8px;
}

.lang-selector {
  position: relative;
}
.lang-btn {
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.lang-btn img {
  width: 32px;
  height: 32px;
}
.lang-menu {
  position: absolute;
  top: 40px;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: rgba(10, 18, 40, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 8px;
  min-width: 140px;
  box-shadow: var(--shadow);
  z-index: 1200;
}
.lang-menu button {
  background: transparent;
  border: none;
  color: #fff;
  text-align: left;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease;
  font-size: 12px;
  white-space: nowrap;
}
.lang-menu button:hover {
  background: rgba(255, 255, 255, 0.08);
}
.lang-select {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  border-radius: 10px;
  padding: 6px 8px;
  font-size: 12px;
  position: absolute;
  top: 40px;
  right: 0;
  z-index: 1000;
}

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

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.icon-inline {
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex-shrink: 0;
}

.rank-top1 {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-right: 6px;
}

.rank-text {
  font-size: 12px;
  font-weight: 700;
  color: #f6d06f;
  letter-spacing: 0.02em;
}

.rank-text.silver {
  color: #d7e3ff;
}

.rank-text.bronze {
  color: #d9b48a;
}

.rank-top1.vertical {
  flex-direction: column;
  align-items: center;
  gap: 2px;
  vertical-align: middle;
}

.icon-inline.small {
  width: 14px;
  height: 14px;
}

.leaderboard-card td:first-child {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.leaderboard-card td,
.leaderboard-card th {
  font-size: 13px;
  color: #fff;
  border-bottom: none;
}
.leaderboard-card span.unit {
  color: #fff;
  margin-left: 4px;
}
.leaderboard-card td:last-child {
  color: #4da3ff;
  font-weight: 700;
}

.top-bar h1 {
  margin: 4px 0;
  font-size: 28px;
}

.eyebrow {
  letter-spacing: 0.28em;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--accent-2);
}

.muted {
  color: var(--muted);
  line-height: 1.4;
}

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

.actions-compact {
  gap: 8px;
}

.primary-compact {
  padding: 8px 12px;
  min-width: auto;
  border-radius: 10px;
}

.primary {
  border: none;
  border-radius: 16px;
  padding: 12px 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
  background: linear-gradient(120deg, #55e3ff, #6d7bff 65%, #9c74ff);
  color: #051020;
  cursor: pointer;
  flex: 1;
  box-shadow: var(--glow);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.primary.ghost {
  background: rgba(255, 255, 255, 0.06);
  border: none;
  color: var(--text);
  box-shadow: none;
}

.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(109, 123, 255, 0.35);
}

.primary:active {
  transform: translateY(0);
}

.network-pill {
  border-radius: 12px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  font-size: 13px;
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.quick-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.quick-card {
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow);
  text-align: left;
  position: relative;
  display: flex;
  flex-direction: column;
}

.quick-card .label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 6px;
  width: 100%;
}
.quick-card .label-row {
  flex-direction: column;
  align-items: flex-start;
  row-gap: 6px;
}
.quick-card .label span {
  flex: 1 1 auto;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #fff;
}
.quick-card .label-row span {
  flex: 1 1 auto;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 12px;
  color: #fff;
}

.quick-card.clickable {
  cursor: pointer;
}

.quick-card strong {
  display: block;
  font-size: 20px;
  margin: 6px 0 2px;
  color: #4da3ff;
  white-space: nowrap;
}
.quick-card .cta-quick {
  width: auto;
  align-self: flex-start;
  margin: 0 0 0;
}

.invite-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 12px;
  margin-top: 4px;
}
.invite-highlight {
  color: #4da3ff;
  font-weight: 700;
}
.invite-text {
  color: #fff;
  font-weight: 700;
}

.quick-card strong span.unit {
  color: #fff;
  margin-left: 4px;
  font-size: 14px;
}
.card .metric span.unit,
.list strong span.unit {
  color: #fff;
  margin-left: 4px;
}

.cta-image-btn {
  border: none;
  background: none;
  padding: 0;
  margin-top: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--glow);
}

.cta-image-btn img {
  width: 140px;
  height: auto;
  display: block;
}

.cta-quick {
  margin-top: 0;
  padding: 8px 12px;
  width: auto;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: linear-gradient(120deg, #55e3ff, #6d7bff 65%, #9c74ff);
  color: #041025;
  cursor: pointer;
  box-shadow: var(--glow);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.cta-quick:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(109, 123, 255, 0.35);
}

.cta-quick:active {
  transform: translateY(0);
}

.cta-quick.mini {
  width: auto;
  padding: 2px 6px;
  margin-top: 0;
  font-size: 9px;
  border-radius: 10px;
  min-width: 54px;
  max-width: 26%;
  flex: 0 0 auto;
  margin-left: 6px;
}

@media (max-width: 375px) {
  .quick-card strong {
    font-size: 18px;
  }
  .hero .timer.digital {
    font-size: 20px;
    line-height: 1.1;
    white-space: nowrap;
  }
  .cta-quick.mini {
    padding: 2px 6px;
    min-width: 58px;
    max-width: 28%;
    font-size: 9px;
  }
}

@media (max-width: 340px) {
  .quick-card .cta-quick.mini {
    padding: 2px 5px;
    font-size: 9px;
    min-width: 56px;
    max-width: 28%;
  }
}

.overlay {
  position: fixed;
  inset: 0;
  background: url('./ui/background.png') center/cover no-repeat fixed;
  backdrop-filter: blur(4px);
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  z-index: 999;
  overflow: auto;
}

.overlay.hidden {
  display: none;
}

.hidden {
  display: none !important;
}

.overlay-content {
  width: 100vw;
  height: 100vh;
  max-width: 100%;
  background: linear-gradient(180deg, rgba(8, 16, 40, 0.88), rgba(5, 12, 28, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  padding: 24px 20px 32px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#refPromptOverlay {
  justify-content: center;
  align-items: center;
}
#refPromptOverlay .overlay-content {
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: 18px;
  padding: 20px;
}
.overlay-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.overlay-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
  position: relative;
}

.overlay-back {
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 0;
}

.overlay-back img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.overlay-header h2 {
  margin: 0;
  font-size: 18px;
  letter-spacing: 0.02em;
}

.vertical-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mini-btn {
  padding: 4px 6px;
  width: auto;
  min-width: 42px;
  font-size: 10px;
}

.label-row .icon-inline {
  width: 14px;
  height: 14px;
  margin-right: 4px;
  vertical-align: middle;
  flex-shrink: 0;
}

.wallet-list .wallet-item {
  justify-content: flex-end;
}

.wallet-list .wallet-info {
  flex: 1;
}

.wallet-item .vertical-info strong {
  font-size: 18px;
  color: var(--text);
}

.wallet-item .wallet-label {
  font-size: 13px;
  color: var(--text);
}

.wallet-icon {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.wallet-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: none;
  box-shadow: none;
  background: transparent;
}

.wallet-label-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.wallet-list .wallet-item {
  padding: 0;
  border-radius: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.overlay-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  flex: 1;
  align-content: start;
}

.overlay-card {
  border: none;
  border-radius: 18px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  text-align: center;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.overlay-ticket-img {
  width: 52px;
  height: auto;
  display: block;
  margin: 0 auto 10px;
}

.overlay-ticket-count {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}
.overlay-cost {
  font-size: 14px;
  color: #fff;
  margin-bottom: 10px;
}

.overlay-cta {
  background: linear-gradient(120deg, #55e3ff, #6d7bff 65%, #9c74ff);
  color: #051020;
  border-radius: 12px;
  padding: 10px;
  font-weight: 700;
}

.overlay-list {
  gap: 14px;
}

.overlay-form {
  margin-top: 12px;
}

.overlay-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}

.overlay-highlight {
  padding: 16px 16px;
  border-radius: 16px;
  background: url('./ui/Frame 1171277217.png') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.overlay-highlight-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 700;
}

.overlay-highlight-value {
  font-size: 22px;
  font-weight: 800;
  color: #f5fcff;
  text-shadow: 0 0 10px rgba(124, 245, 255, 0.25);
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  word-break: break-all;
}

.invite-banner {
  width: 100%;
  min-height: 120px;
  border-radius: 16px;
  border: 1px solid rgba(83, 178, 255, 0.28);
  background: linear-gradient(135deg, rgba(52, 98, 176, 0.42), rgba(10, 28, 72, 0.62));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  margin-bottom: 16px;
  padding: 0;
  box-shadow: 0 10px 26px rgba(52, 120, 200, 0.22), 0 0 12px rgba(90, 130, 220, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.06), inset 0 -1px 0 rgba(8, 16, 36, 0.4);
  overflow: hidden;
  position: relative;
}

.invite-banner img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* 去掉悬浮特效，移动端避免跳动 */

.invite-word {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 92%;
  height: auto;
  pointer-events: none;
}

.invite-actions {
  display: flex;
  justify-content: center;
  margin: 12px 0 8px;
}

.list > div:not(.overlay-highlight):not(.wallet-item) {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(83, 178, 255, 0.24);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(8, 18, 42, 0.25));
  box-shadow: 0 6px 16px rgba(30, 80, 150, 0.16), 0 0 8px rgba(70, 110, 190, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.05), inset 0 -1px 0 rgba(6, 10, 20, 0.35);
  align-items: center;
  gap: 8px;
}

.hero-pot {
  border-radius: 28px;
  padding: 24px;
  border: none;
  background: transparent;
  box-shadow: none;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-banner {
  background: url('./ui/image 121.png') center 20%/contain no-repeat;
  border: none;
  min-height: 220px;
  padding-top: 28px;
}

.pot-icon {
  font-size: 30px;
  color: var(--accent);
  display: flex;
  justify-content: center;
  margin-bottom: 6px;
}

.pot-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.pot-icon img {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  object-fit: cover;
}

.pot-value {
  font-size: 44px;
  margin: 8px 0;
  font-family: "Rajdhani", sans-serif;
  letter-spacing: 0.02em;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.7), 0 0 16px rgba(80, 180, 255, 0.6);
}

.timer {
  font-size: 24px;
  color: var(--muted);
  margin-bottom: 0px;
  margin-top: -6px;
}

.timer.digital {
  font-family: "DS-Digital", "Rajdhani", monospace;
  letter-spacing: 0.1em;
  font-size: 30px;
  color: #fff;
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 16px;
  letter-spacing: 0.2em;
}

.notify {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 10px;
  font-size: 14px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
}

.hero-stats div {
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 12px;
  font-size: 13px;
  background: var(--card);
}

.hero-stats strong {
  display: block;
  font-size: 18px;
  margin-top: 6px;
}

.tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.tab {
  border: none;
  border-radius: 16px;
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.tab.active {
  background: linear-gradient(120deg, rgba(68, 170, 255, 0.25), rgba(109, 123, 255, 0.25));
  border: 1px solid var(--border);
  color: var(--text);
  box-shadow: var(--glow);
}

.tab-panel {
  display: none;
  flex-direction: column;
  gap: 16px;
}

.tab-panel.active {
  display: flex;
}

.leaderboard-card {
  margin-top: -8px;
}

.card {
  border-radius: 20px;
  padding: 18px;
  border: 1px solid var(--border);
  background: var(--card);
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow);
}

.card.raised {
  background: var(--card-strong);
}

.ticket-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ticket-chip {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 18px 14px 16px;
  background: linear-gradient(180deg, rgba(16, 32, 64, 0.7), rgba(6, 12, 24, 0.9));
  color: var(--text);
  text-align: center;
  cursor: pointer;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.1s ease, border-color 0.1s ease, box-shadow 0.1s ease;
  overflow: hidden;
}

.ticket-chip strong {
  display: block;
  margin-top: 4px;
  font-family: "Rajdhani", sans-serif;
  color: var(--accent);
  font-size: 18px;
}

.ticket-chip span {
  font-size: 14px;
  color: var(--text);
}

.ticket-chip::before {
  content: "";
  width: 66px;
  height: 66px;
  border-radius: 18px;
  margin: 0 auto;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.5), transparent 55%),
    linear-gradient(135deg, #5ad6ff, #6f7cff);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

.ticket-chip::after {
  content: "立即购票";
  margin-top: 6px;
  align-self: center;
  padding: 8px 18px;
  border-radius: 16px;
  background: linear-gradient(120deg, #3ec7ff, #4f7cff);
  color: #041022;
  font-size: 14px;
  font-weight: 700;
  box-shadow: var(--glow);
}

.ticket-chip:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
  box-shadow: var(--glow);
}


.referral-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.referral-list li {
  padding: 10px 0;
  font-size: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  word-break: break-all;
}

.referral-list li:last-child {
  border-bottom: none;
}

.pager {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.secondary-btn {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px 12px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.secondary-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

label {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

input {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(13, 24, 52, 0.7);
  color: var(--text);
  padding: 10px;
}

.label {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-2);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.leaderboard-title {
  color: #fff;
  font-weight: 700;
}

.tiny {
  font-size: 12px;
}

.list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.list > div {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--muted);
}

/* 常规列表项加边框，专用高亮及钱包项除外 */
.list > div:not(.overlay-highlight):not(.wallet-item) {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(83, 178, 255, 0.24);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(8, 18, 42, 0.25));
  align-items: center;
  gap: 8px;
  justify-content: flex-start;
}

.inline-row {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-start;
}
.clickable-row {
  cursor: pointer;
}
.ref-list {
  list-style: none;
  padding-left: 8px;
  margin: 4px 0 10px;
  color: var(--text);
  font-size: 12px;
  word-break: break-all;
  display: none;
}
.ref-pagination {
  display: none !important;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.ref-pagination span {
  color: var(--text);
  font-size: 12px;
}

/* 钱包列表完全无边框/背景 */
.wallet-list .wallet-item {
  padding: 14px;
  border: 1px solid rgba(83, 178, 255, 0.24);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(8, 20, 46, 0.9), rgba(5, 12, 28, 0.9));
  box-shadow: 0 6px 14px rgba(30, 80, 150, 0.14), 0 0 8px rgba(70, 110, 190, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.wallet-list .wallet-info,
.wallet-list .wallet-label-row,
.wallet-list .wallet-label,
.wallet-list .wallet-item strong {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* 钱包列表不加任何边框或背景 */
.wallet-list .wallet-item {
  padding: 10px 0 !important;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.list strong {
  color: var(--text);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

th,
td {
  text-align: left;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

th {
  color: var(--muted);
  font-weight: 500;
}

.footer {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

.bottom-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
}

code {
  background: rgba(255, 255, 255, 0.12);
  padding: 2px 4px;
  border-radius: 6px;
}

.admin-card {
  border-radius: 20px;
  padding: 20px;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.admin-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, #2f3d5d, transparent);
  margin: 4px 0 8px;
  grid-column: 1 / -1;
}

.admin-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-fields input,
.admin-fields select {
  flex: 1 1 140px;
}

.admin-card select {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  padding: 10px;
  width: 100%;
}

#currentBeneficiaries {
  word-break: break-all;
}

.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(5, 7, 18, 0.9);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 14px 16px;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 9999;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.label-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
}
