:root {
  color-scheme: dark;
  --bg: #0c0c0d;
  --surface: #151516;
  --surface-2: #1d1d1f;
  --surface-3: #262628;
  --line: rgba(255, 255, 255, 0.1);
  --text: #f8f6f2;
  --muted: #a3a0a0;
  --orange: #ff7a1a;
  --orange-2: #ff9d46;
  --green: #67d391;
  --red: #ff6969;
  --yellow: #f3c85a;
  --radius: 22px;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 122, 26, 0.14), transparent 32rem),
    radial-gradient(circle at 86% 20%, rgba(255, 122, 26, 0.07), transparent 28rem),
    var(--bg);
  font-family:
    Inter, "SF Pro Text", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

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

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.46;
}

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

img {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

.topbar {
  position: sticky;
  z-index: 30;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 12px max(24px, calc((100vw - 1240px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(12, 12, 13, 0.86);
  backdrop-filter: blur(20px);
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand img {
  border-radius: 12px;
}

.brand span {
  display: grid;
  gap: 2px;
  line-height: 1.05;
}

.brand small {
  color: var(--orange);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.17em;
}

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

.network-pill,
.wallet-button {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  font-size: 13px;
  font-weight: 700;
}

.network-pill {
  gap: 8px;
  color: #d7d3cc;
}

.network-pill i,
.online-dot,
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(103, 211, 145, 0.1);
}

.wallet-button {
  border-color: var(--orange);
  background: var(--orange);
  color: #17110c;
}

main {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.5fr);
  gap: 48px;
  align-items: center;
  min-height: 520px;
  padding: 86px 0 64px;
}

.eyebrow {
  display: block;
  margin-bottom: 12px;
  color: var(--orange);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.hero h1,
.admin-login h1,
.admin-topline h1 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(42px, 7vw, 88px);
  font-weight: 870;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.hero h1 em {
  color: var(--orange);
  font-style: normal;
}

.hero-copy > p {
  max-width: 720px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.hero-badges span,
.fee-chip,
.step-chip {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #d8d3cc;
  background: rgba(255, 255, 255, 0.035);
  font-size: 11px;
  font-weight: 700;
}

.hero-token {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 6px;
  overflow: hidden;
  padding: 40px 24px;
  border: 1px solid rgba(255, 122, 26, 0.24);
  border-radius: 36px;
  background:
    linear-gradient(150deg, rgba(255, 122, 26, 0.13), transparent 60%),
    var(--surface);
  box-shadow: var(--shadow);
}

.hero-token::after {
  position: absolute;
  right: -50px;
  bottom: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: var(--orange);
  filter: blur(90px);
  opacity: 0.22;
  content: "";
}

.hero-token img {
  position: relative;
  z-index: 1;
  width: 144px;
  height: auto;
  margin-bottom: 18px;
  border-radius: 34px;
  box-shadow: 0 18px 50px rgba(255, 122, 26, 0.26);
}

.hero-token span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.hero-token strong {
  font-size: 44px;
  letter-spacing: -0.06em;
}

.hero-token small {
  max-width: 220px;
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.notice {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
  padding: 22px 24px;
  border: 1px solid rgba(255, 122, 26, 0.24);
  border-radius: var(--radius);
  background: linear-gradient(90deg, rgba(255, 122, 26, 0.12), transparent);
}

.notice strong {
  font-size: 16px;
}

.notice p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.notice button {
  flex: 0 0 auto;
  padding: 12px 18px;
  border: 0;
  border-radius: 999px;
  color: #15100c;
  background: var(--orange);
  font-weight: 800;
}

.dashboard {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.stat-card {
  display: grid;
  gap: 6px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.stat-card.accent {
  border-color: rgba(255, 122, 26, 0.4);
  background:
    linear-gradient(140deg, rgba(255, 122, 26, 0.16), transparent 60%),
    var(--surface);
}

.stat-card span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.stat-card strong {
  margin-top: 8px;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.05em;
}

.stat-card small {
  color: var(--muted);
  font-size: 10px;
}

.account-strip {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 62px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.account-strip > div,
.account-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.account-strip small {
  display: block;
  color: var(--muted);
  font-size: 9px;
}

.account-strip strong {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
}

.account-actions button,
.copy-box button,
.pay-address button,
.outline-button {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  background: var(--surface-3);
  font-size: 11px;
  font-weight: 700;
}

.account-actions span {
  color: var(--muted);
  font-size: 11px;
}

.section {
  margin-bottom: 72px;
}

.section-heading,
.panel-heading,
.admin-topline {
  display: flex;
  gap: 20px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 22px;
}

.section-heading h2,
.panel-heading h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.055em;
}

.section-heading > p,
.panel-heading p,
.admin-topline p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.tier-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.tier-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  transition:
    transform 180ms ease,
    border-color 180ms ease;
}

.tier-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 122, 26, 0.52);
}

.tier-image {
  position: relative;
  height: 152px;
  overflow: hidden;
  background: #262626;
}

.tier-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.tier-card:hover .tier-image img {
  transform: scale(1.04);
}

.tier-index {
  position: absolute;
  top: 12px;
  left: 12px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(10px);
  font-size: 10px;
  font-weight: 800;
}

.tier-body {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.tier-body h3 {
  margin: 0;
  font-size: 19px;
  letter-spacing: -0.035em;
}

.tier-model {
  margin: -7px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.tier-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 12px 0;
  border-block: 1px solid var(--line);
}

.tier-values span {
  color: var(--muted);
  font-size: 9px;
}

.tier-values strong {
  display: block;
  margin-top: 3px;
  font-size: 16px;
}

.buy-button,
.primary-button {
  min-height: 46px;
  border: 0;
  border-radius: 13px;
  color: #18110b;
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  font-weight: 850;
}

.split-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 72px;
}

.panel {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.14);
}

.panel-heading {
  align-items: flex-start;
  margin-bottom: 24px;
}

.panel-heading h2 {
  font-size: 32px;
}

.fee-chip,
.step-chip {
  color: var(--orange-2);
}

.withdraw-progress {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
  padding: 16px;
  border-radius: 14px;
  background: var(--surface-2);
}

.withdraw-progress > div:first-child {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
}

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

.progress-track {
  overflow: hidden;
  height: 7px;
  border-radius: 999px;
  background: #343436;
}

.progress-track i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--orange), var(--orange-2));
  transition: width 300ms ease;
}

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

.field > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.field input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  outline: none;
  color: var(--text);
  background: var(--surface-2);
}

.field input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 122, 26, 0.12);
}

.input-with-suffix {
  position: relative;
}

.input-with-suffix input {
  padding-right: 62px;
}

.input-with-suffix b {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 10px;
}

.withdraw-preview {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 9px;
  margin: 16px 0;
  padding: 16px;
  border-radius: 13px;
  background: var(--surface-2);
  font-size: 12px;
}

.withdraw-preview span {
  color: var(--muted);
}

.primary-button {
  width: 100%;
  padding: 0 18px;
}

.form-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

.steps {
  display: grid;
  gap: 12px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px;
  border-radius: 13px;
  background: var(--surface-2);
}

.steps b {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 10px;
  color: var(--orange);
  background: rgba(255, 122, 26, 0.1);
  font-size: 9px;
}

.steps span {
  color: #c8c4be;
  font-size: 12px;
  line-height: 1.65;
}

.copy-box,
.pay-address {
  display: grid;
  gap: 7px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-2);
}

.copy-box > span,
.pay-address > span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.copy-box code,
.pay-address code {
  overflow: hidden;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-box button {
  width: max-content;
}

.explorer-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--orange-2);
  font-size: 11px;
}

.order-list {
  display: grid;
  gap: 12px;
}

.order-card {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr) minmax(180px, 0.5fr);
  gap: 18px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.order-card img {
  width: 116px;
  height: 78px;
  border-radius: 12px;
  object-fit: cover;
}

.order-title {
  display: flex;
  gap: 8px;
  align-items: center;
}

.order-title h3 {
  margin: 0;
  font-size: 18px;
}

.order-model {
  margin: 4px 0 8px;
  color: var(--muted);
  font-size: 11px;
}

.order-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
  font-size: 10px;
}

.order-earnings {
  text-align: right;
}

.order-earnings span {
  color: var(--muted);
  font-size: 9px;
}

.order-earnings strong {
  display: block;
  margin: 4px 0 8px;
  color: var(--orange-2);
  font-size: 24px;
  letter-spacing: -0.04em;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
}

.status-pending {
  color: var(--yellow);
  background: rgba(243, 200, 90, 0.1);
}

.status-active {
  color: var(--green);
  background: rgba(103, 211, 145, 0.1);
}

.status-expired,
.status-paid {
  color: #bcaefc;
  background: rgba(188, 174, 252, 0.1);
}

.status-rejected {
  color: var(--red);
  background: rgba(255, 105, 105, 0.1);
}

.status-approved {
  color: #72b4ff;
  background: rgba(114, 180, 255, 0.1);
}

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

.withdrawal-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) repeat(2, minmax(100px, 0.35fr)) minmax(120px, 0.4fr);
  gap: 18px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.withdrawal-row small {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 9px;
}

.withdrawal-row strong {
  font-size: 13px;
}

.empty-state {
  padding: 44px 22px;
  border: 1px dashed var(--line);
  border-radius: 18px;
  color: var(--muted);
  text-align: center;
  background: rgba(255, 255, 255, 0.015);
  font-size: 13px;
}

footer {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
  width: min(1240px, calc(100% - 48px));
  margin: 30px auto 0;
  padding: 30px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
}

footer div {
  display: grid;
  gap: 4px;
}

footer strong {
  color: var(--text);
  font-size: 14px;
}

footer p {
  max-width: 560px;
  margin: 0;
  text-align: right;
  line-height: 1.6;
}

footer a {
  color: var(--orange-2);
  font-weight: 700;
}

dialog {
  width: min(520px, calc(100% - 28px));
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 24px;
  color: var(--text);
  background: var(--surface);
  box-shadow: var(--shadow);
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
}

.dialog-card {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 28px;
}

.dialog-card h2 {
  margin: -4px 0 0;
  font-size: 30px;
  letter-spacing: -0.045em;
}

.dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text);
  background: var(--surface-2);
  font-size: 22px;
}

.buy-summary {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 16px;
  align-items: center;
}

.buy-summary img {
  width: 116px;
  height: 82px;
  border-radius: 13px;
  object-fit: cover;
}

.buy-summary div {
  display: grid;
  gap: 4px;
}

.buy-summary span,
.buy-summary small {
  color: var(--muted);
  font-size: 10px;
}

.buy-summary strong {
  color: var(--orange-2);
  font-size: 22px;
}

.pay-address > div {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.toast {
  position: fixed;
  z-index: 100;
  right: 24px;
  bottom: max(24px, env(safe-area-inset-bottom));
  max-width: min(420px, calc(100vw - 48px));
  padding: 13px 18px;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--text);
  background: #262627;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
  font-size: 12px;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.admin-body {
  background:
    radial-gradient(circle at 30% 0%, rgba(255, 122, 26, 0.1), transparent 34rem),
    #0d0d0e;
}

.admin-main {
  padding: 48px 0 80px;
}

.admin-login {
  max-width: 520px;
  margin: 8vh auto 0;
}

.admin-login h1 {
  margin-bottom: 14px;
  font-size: 46px;
}

.admin-login p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.admin-login .primary-button {
  margin-top: 16px;
}

.admin-topline {
  align-items: center;
  margin-bottom: 24px;
}

.admin-topline h1 {
  font-size: 58px;
}

.admin-stats {
  margin-bottom: 64px;
}

.admin-list {
  display: grid;
  gap: 12px;
}

.admin-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.5fr);
  gap: 20px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.admin-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.admin-card p {
  margin: 5px 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.admin-wallet {
  color: #d4cec5;
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  word-break: break-all;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-content: center;
  justify-content: flex-end;
}

.admin-actions button,
.admin-actions a {
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  background: var(--surface-3);
  font-size: 10px;
  font-weight: 750;
}

.admin-actions .approve {
  border-color: rgba(103, 211, 145, 0.25);
  color: var(--green);
  background: rgba(103, 211, 145, 0.08);
}

.admin-actions .reject {
  border-color: rgba(255, 105, 105, 0.25);
  color: var(--red);
  background: rgba(255, 105, 105, 0.08);
}

.admin-pay-row {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.admin-pay-row input {
  min-width: 0;
  flex: 1;
  height: 37px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  outline: none;
  color: var(--text);
  background: var(--surface-2);
  font-size: 10px;
}

@media (max-width: 1060px) {
  .tier-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dashboard {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .topbar {
    min-height: 68px;
    padding-inline: 16px;
  }

  .brand small {
    display: none;
  }

  .network-pill {
    display: none;
  }

  main,
  footer {
    width: min(100% - 28px, 1240px);
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 30px;
    min-height: auto;
    padding: 58px 0 44px;
  }

  .hero h1 {
    font-size: clamp(40px, 13vw, 68px);
  }

  .hero-token {
    display: grid;
    grid-template-columns: 74px 1fr;
    justify-items: start;
    align-items: center;
    padding: 20px;
    border-radius: 22px;
  }

  .hero-token img {
    grid-row: span 3;
    width: 74px;
    margin: 0;
    border-radius: 20px;
  }

  .hero-token strong {
    font-size: 30px;
  }

  .hero-token small {
    max-width: calc(100vw - 160px);
  }

  .notice {
    display: grid;
  }

  .notice button {
    width: 100%;
  }

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

  .stat-card {
    padding: 16px;
  }

  .stat-card strong {
    font-size: 27px;
  }

  .account-strip {
    display: grid;
  }

  .account-actions {
    flex-wrap: wrap;
  }

  .section,
  .split-section {
    margin-bottom: 52px;
  }

  .section-heading,
  .panel-heading {
    display: grid;
    gap: 8px;
    align-items: start;
  }

  .tier-grid {
    display: flex;
    gap: 10px;
    margin-inline: -14px;
    padding: 0 14px 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .tier-grid::-webkit-scrollbar {
    display: none;
  }

  .tier-card {
    min-width: 252px;
    scroll-snap-align: start;
  }

  .split-section {
    grid-template-columns: 1fr;
  }

  .panel {
    padding: 20px;
  }

  .order-card {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .order-card img {
    width: 88px;
    height: 70px;
  }

  .order-earnings {
    grid-column: 1 / -1;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    text-align: left;
  }

  .withdrawal-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .withdrawal-row > div:first-child {
    grid-column: 1 / -1;
  }

  footer {
    display: grid;
    gap: 14px;
  }

  footer p {
    text-align: left;
  }

  .admin-card {
    grid-template-columns: 1fr;
  }

  .admin-actions {
    justify-content: flex-start;
  }

  .admin-topline h1 {
    font-size: 44px;
  }
}

@media (max-width: 430px) {
  .brand span {
    font-size: 14px;
  }

  .wallet-button {
    min-height: 38px;
    padding-inline: 12px;
    font-size: 11px;
  }

  .hero {
    padding-top: 42px;
  }

  .hero-copy > p {
    font-size: 14px;
  }

  .dashboard {
    grid-template-columns: 1fr 1fr;
  }

  .stat-card span,
  .stat-card small {
    font-size: 9px;
  }

  .account-actions {
    gap: 7px;
  }

  .account-strip strong {
    max-width: 210px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .buy-summary {
    grid-template-columns: 88px 1fr;
  }

  .buy-summary img {
    width: 88px;
    height: 70px;
  }

  .dialog-card {
    padding: 22px;
  }
}

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