.balance-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.card.balance-card {padding:28px;background:linear-gradient(140deg,#fff,#edf1fc);min-width:0}
.balance-card.usdc {background:linear-gradient(140deg,#fff,#f0edfa)}
.balance-heading,.balance-reserved,.balance-history-heading,.credit-receipt {display:flex;align-items:center;justify-content:space-between;gap:16px}
.balance-heading {justify-content:flex-start;margin-bottom:22px}
.balance-heading h2 {margin:0;font-size:19px}
.balance-value {display:block;font-size:clamp(24px,3vw,36px);font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin:6px 0 22px}
.balance-reserved {padding-top:16px;border-top:1px solid var(--line);font-size:14px;flex-wrap:wrap}
.balance-reserved strong {overflow-wrap:anywhere;min-width:0}
.balance-explanation {margin:18px 0 28px}
.balance-history-heading {margin-bottom:16px}
.balance-history-heading h2 {margin:0;font-size:20px}
.balance-history {display:grid;gap:12px}
.balance-entry {display:grid;grid-template-columns:auto minmax(0,1fr) minmax(80px,35%);gap:18px;align-items:center;padding:20px}
.balance-entry h3,.balance-entry p {margin:0}
.balance-entry h3 {font-size:15px}
.balance-entry p,.balance-entry small {color:var(--muted);font-size:12px}
.balance-entry>strong {text-align:right;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.balance-entry>strong small {display:block}
.balance-toggle {display:flex;gap:12px;align-items:center;padding:18px;border:1px solid var(--line);border-radius:14px;background:var(--brand-soft);margin:18px 0}
.balance-toggle input {width:18px;height:18px;margin:0;flex:0 0 auto;accent-color:var(--brand)}
.balance-toggle small {display:block;overflow-wrap:anywhere;color:var(--muted);margin-top:4px}
.credit-preview {border-top:1px solid var(--line);margin-top:16px;padding-top:10px}
.credit-receipt {border-radius:10px;background:var(--brand-soft);padding:12px 16px;margin:14px 0;flex-wrap:wrap}
.credit-receipt strong {overflow-wrap:anywhere;min-width:0}
.credit-notice {display:flex;align-items:center;gap:16px;flex-wrap:wrap}
@media(max-width:600px) {
  .balance-grid {grid-template-columns:1fr;gap:14px}
  .balance-card {padding:22px}
  .balance-entry {grid-template-columns:minmax(0,1fr) minmax(80px,38%);gap:12px;padding:16px}
  .balance-entry>.record-icon {display:none}
  .account-tabs {flex-wrap:wrap}
}
:root {
  color-scheme: light;
  --ink: #29344c;
  --muted: #606b82;
  --line: #e1e5ef;
  --surface: #f6f7fb;
  --brand: #4e5eb8;
  --brand-hover: #414f9d;
  --brand-soft: #edf1fc;
  --accent: #dce3ff;
  --focus: #7584cf;
  --focus-ring: #6578cb1f;
  --art-panel: linear-gradient(145deg, #e7edfc, #f0edfa 75%, #faf8fc);
  --paper: #fff;
  --shadow: 0 4px 24px #303d6b05, 0 1px 3px #303d6b03;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
  font-synthesis: none;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
button,
input {
  font: inherit;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}
h1,
h2,
p {
  margin-top: 0;
}
.icon {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
}
button .icon,
a .icon {
  pointer-events: none;
}
.shop-header {
  max-width: 1240px;
  margin: auto;
  padding: 24px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 23px;
  line-height: 1.15;
  font-weight: 750;
  letter-spacing: -0.8px;
  flex-shrink: 0;
}
.brand img {
  width: 39px;
  height: 39px;
}
.brand small {
  display: block;
  margin-top: 5px;
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--muted);
  font-weight: 500;
}
.shop-header nav {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
}
.shop-header nav a,
.shop-header nav button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 15px;
  border-radius: 9px;
  border: 0;
  background: transparent;
  color: var(--muted);
  min-height: 40px;
  white-space: nowrap;
}
.shop-header nav a:hover,
.shop-header nav button:hover {
  background: #e4e6ee;
  color: var(--ink);
}
.shop-header nav a[aria-current] {
  background: #e1e3ee;
  color: var(--ink);
  font-weight: 650;
}
.shop-header nav .nav-login {
  background: var(--brand);
  color: white;
  padding: 10px 17px;
  margin-left: 10px;
}
.shop-header nav .nav-login:hover,
.shop-header nav .nav-login[aria-current] {
  background: var(--brand-hover);
  color: white;
}
main {
  max-width: 1200px;
  width: 100%;
  margin: auto;
  padding: 38px 40px 72px;
  min-height: calc(100dvh - 170px);
}
.page-title {
  margin-bottom: 34px;
}
.page-title h1 {
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.3;
  letter-spacing: -1px;
  margin: 8px 0 12px;
  font-weight: 650;
}
.page-title p,
.card p {
  color: var(--muted);
  font-size: 13px;
}
.page-title p {
  margin-bottom: 0;
}
.eyebrow {
  color: #5c6179;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.8px;
}
.catalog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.payment-method {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 30px;
  font-size: 12px;
  background: #fff9;
  color: #5f6271;
  white-space: nowrap;
}
.compact {
  margin-bottom: 26px;
}
.order-number {
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: 0.1px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow);
  min-width: 0;
}
.card h2 {
  font-size: 19px;
  line-height: 1.4;
  font-weight: 650;
  margin: 0 0 12px;
  overflow-wrap: anywhere;
}
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 17px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  gap: 9px;
  transition:
    background 0.16s,
    border-color 0.16s,
    box-shadow 0.16s;
}
.button:hover {
  background: #edeef5;
  border-color: #bfc3d5;
}
.button.primary {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  box-shadow: 0 3px 7px #191f3c12;
}
.button.primary:hover {
  background: var(--brand-hover);
  border-color: var(--brand-hover);
}
.full {
  width: 100%;
}
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.plan-grid.single-plan {
  grid-template-columns: minmax(0, 1fr);
}
.plan-grid.dual-plan {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.plan-grid > .empty {
  grid-column: 1 / -1;
}
.plan {
  --plan-accent: #4e5eb8;
  --plan-start: #eef2ff;
  --plan-end: #e2e9fb;
  --plan-glow: #ffffffa6;
  --plan-border: #cfd8f0;
  --plan-offset: 0px;
  display: flex;
  flex-direction: column;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 30px;
  color: var(--ink);
  border: 1px solid var(--plan-border);
  border-radius: 24px;
  background:
    radial-gradient(ellipse at 100% 0, var(--plan-glow), transparent 65%),
    linear-gradient(145deg, var(--plan-start), var(--plan-end));
  box-shadow:
    0 14px 32px -20px #3e4e8738,
    inset 0 1px 0 #ffffffcc;
  transform: translateY(var(--plan-offset));
  transition:
    transform 0.22s,
    border-color 0.22s,
    box-shadow 0.22s;
}
.plan-indigo {
  --plan-accent: #7056a5;
  --plan-start: #f5f0fc;
  --plan-end: #eae3f7;
  --plan-glow: #ffffffa6;
  --plan-border: #ddd0ef;
}
.plan-ocean {
  --plan-accent: #416b99;
  --plan-start: #eff5fd;
  --plan-end: #e2ecf7;
  --plan-glow: #ffffffa6;
  --plan-border: #cfdfef;
}
.plan::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 250px;
  height: 250px;
  right: -130px;
  top: -165px;
  border: 1px solid var(--plan-border);
  border-radius: 50%;
  box-shadow:
    0 0 0 30px #ffffff18,
    0 0 0 60px #ffffff14,
    0 0 0 90px #ffffff10;
  pointer-events: none;
}
.plan:hover,
.plan:focus-within {
  border-color: var(--plan-accent);
  box-shadow:
    0 24px 40px -24px #3e4e874d,
    inset 0 1px 0 #ffffffcc;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .plan:hover {
    transform: translateY(calc(var(--plan-offset) - 6px));
  }
}
@media (min-width: 1101px) {
  .plan-grid:not(.single-plan):not(.dual-plan) {
    padding-bottom: 16px;
  }
  .plan-grid:not(.single-plan):not(.dual-plan) .plan:nth-child(3n + 2) {
    --plan-offset: 16px;
  }
}
.plan-main,
.plan-details {
  min-width: 0;
}
.plan-details {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.plan-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 26px;
}
.plan-icon,
.record-icon,
.section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid #d7dae8;
  background: #ebedf5;
  color: #4b5276;
  border-radius: 12px;
  flex-shrink: 0;
}
.plan-duration {
  font-size: 11px;
  color: var(--muted);
  background: #ffffff80;
  border: 1px solid var(--plan-border);
  padding: 5px 11px;
  border-radius: 20px;
}
.plan-tags {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 7px;
  margin-left: 12px;
}
.plan-exclusive {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 9px;
  border: 1px solid var(--plan-border);
  border-radius: 20px;
  background: #ffffffb3;
  color: var(--plan-accent);
  font-size: 11px;
  font-weight: 600;
}
.plan-exclusive .icon {
  width: 13px;
  height: 13px;
}
.plan .plan-icon {
  color: var(--plan-accent);
  background: #ffffff80;
  border-color: var(--plan-border);
}
.plan h2 {
  font-size: 24px;
  letter-spacing: -0.4px;
}
.plan .description {
  color: #59667e;
  font-size: 13px;
}
.plan-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 26px 0 8px;
  font-variant-numeric: tabular-nums;
}
.plan-price strong {
  font-size: clamp(38px, 3.6vw, 48px);
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -1.8px;
  color: var(--plan-accent);
  overflow-wrap: anywhere;
  min-width: 0;
}
.plan-price > span {
  font-size: 11px;
  color: #59667e;
}
.plan .facts {
  margin: 20px 0 26px;
}
.plan .facts > div {
  border-color: var(--plan-border);
}
.plan .facts dt {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #59667e;
}
.plan .facts .icon {
  width: 15px;
  height: 15px;
  color: var(--plan-accent);
  opacity: 0.85;
}
.plan .button.primary {
  min-height: 48px;
  color: #fff;
  background: var(--plan-accent);
  border-color: var(--plan-accent);
  box-shadow: none;
}
.plan .button.primary:hover {
  filter: brightness(1.06);
}
.plan-cta-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #ffffff40;
}
.plan-grid.single-plan .plan {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 56px;
  padding: 36px;
}
.single-plan .plan-main h2 {
  font-size: 30px;
}
.single-plan .plan-price strong {
  font-size: 60px;
}
.single-plan .plan-details {
  padding-left: 40px;
  border-left: 1px solid var(--plan-border);
  justify-content: center;
}
.single-plan .plan .facts {
  margin-top: 0;
}
.single-plan .plan-details > .button {
  margin-top: 0;
}
.description {
  min-height: 42px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.7;
  margin-bottom: 0;
}
.price {
  margin: 22px 0 12px;
  font-size: 42px;
  line-height: 1.2;
  font-weight: 650;
  letter-spacing: -1.5px;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}
.price span {
  font-size: 12px;
  color: var(--muted);
  margin-left: 7px;
  font-weight: 500;
  letter-spacing: 0;
}
.plan-details > .button {
  margin-top: auto;
  width: 100%;
  justify-content: space-between;
}
.plan.selected-plan {
  border-color: var(--plan-accent);
  box-shadow: 0 0 0 2px var(--focus);
}
.facts {
  margin: 14px 0 24px;
  font-size: 13px;
}
.facts > div {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #e9eaf0;
}
.facts dt {
  color: var(--muted);
  flex-shrink: 0;
}
.facts dd {
  margin: 0;
  font-weight: 550;
  text-align: right;
  overflow-wrap: anywhere;
  min-width: 0;
}
.facts .total {
  color: var(--ink);
  font-size: 17px;
  border-bottom: 0;
  padding-top: 20px;
}
.network-picker {
  min-width: 0;
  border: 0;
  padding: 0;
  margin: 0 0 32px;
}
.network-picker legend {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}
.network-picker > div {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.network-choice {
  display: flex;
  position: relative;
  min-width: 0;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  background: #ffffffb3;
  border: 1px solid var(--line);
  border-radius: 11px;
  cursor: pointer;
  transition:
    border-color 0.16s,
    background 0.16s;
}
.network-choice input {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  z-index: 1;
  cursor: inherit;
}
.network-choice:has(input:focus-visible) {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
.network-choice:has(input:disabled) {
  opacity: 0.48;
  cursor: not-allowed;
}
.network-choice:not(:has(input:disabled)):hover {
  border-color: #a6abc5;
}
.network-choice.selected {
  border-color: var(--focus);
  background: var(--brand-soft);
  box-shadow: inset 0 0 0 1px var(--focus);
}
.coin-mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e6efe5;
  color: #507952;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 17px;
  line-height: 1;
  flex-shrink: 0;
  font-weight: 600;
}
.coin-mark.usdc {
  background: #e6edf4;
  color: #577b9f;
}
.network-label {
  min-width: 0;
}
.network-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 5px;
  flex-shrink: 0;
  border: 1px solid #e5e6e9;
  border-radius: 9px;
  background: #fff;
}
.network-logo.solana {
  background: #14151c;
  border-color: #14151c;
}
.network-logo.tron {
  padding: 1px;
}
.network-logo.ethereum {
  padding: 3px;
}
.network-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.payment-heading .network-logo {
  width: 42px;
  height: 42px;
  padding: 9px;
  border-radius: 12px;
}
.payment-heading .network-logo.tron {
  padding: 2px;
}
.network-choice strong {
  font-size: 12px;
  font-weight: 600;
  display: block;
  overflow-wrap: anywhere;
}
.network-choice small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
  overflow-wrap: anywhere;
}
.network-picker p {
  font-size: 11px;
  color: var(--muted);
  margin: 10px 0 0;
}
.notice {
  border: 1px solid #e9dec3;
  background: #fbf7e9;
  color: #7c673e;
  border-radius: 12px;
  padding: 16px 20px;
  margin: 0 0 24px;
  font-size: 13px;
}
.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(290px, 1fr);
  gap: 24px;
  align-items: start;
}
.back-link {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 12px;
  color: var(--muted);
}
.selection-count {
  flex-shrink: 0;
  font-size: 12px;
  color: var(--muted);
}
.payment-options .network-picker {
  margin: 24px 0;
}
.payment-options .network-picker > div {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.payment-options .network-choice {
  min-height: 88px;
  background: #f8f8fb;
}
.payment-options .network-choice.selected {
  background: var(--brand-soft);
}
.payment-options .network-label {
  flex: 1;
}
.payment-options .network-label strong {
  font-size: 14px;
}
.network-check {
  display: inline-flex;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border: 1px solid #cfd1dd;
  border-radius: 50%;
  color: transparent;
}
.network-check .icon {
  width: 16px;
  height: 16px;
}
.selected .network-check {
  background: var(--brand);
  border-color: var(--brand);
  color: white;
}
.checkout-summary > .eyebrow {
  display: block;
  margin-bottom: 12px;
}
.checkout-summary .price {
  font-size: 36px;
}
.checkout-hint {
  color: var(--muted);
  text-align: center;
  font-size: 11px;
  margin: 12px 0 0;
}
.payment-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.payment-heading h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}
.countdown {
  font-variant-numeric: tabular-nums;
  border-radius: 7px;
  padding: 5px 10px;
  font-weight: 600;
  font-size: 13px;
  color: #4f5573;
  background: #e8eaf4;
}
.summary {
  position: sticky;
  top: 24px;
  background: #f8f9fc;
}
.summary > h2 {
  font-size: 16px;
}
.payment-qr {
  container-type: inline-size;
  margin: 20px 0 24px;
  padding: 20px;
  border: 1px solid #dadce8;
  border-radius: 18px;
  background: #f5f6fa;
}
.payment-qr-content {
  display: grid;
  grid-template-columns: 216px minmax(0, 1fr);
  align-items: center;
  gap: 22px;
}
.payment-qr-figure {
  min-width: 0;
  margin: 0;
  text-align: center;
}
.payment-qr-figure img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: auto;
  background: #fff;
  border: 1px solid #dfe1ea;
  border-radius: 0;
  image-rendering: pixelated;
}
.payment-qr-figure figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 11px;
}
.payment-qr-info {
  min-width: 0;
}
.payment-qr-network {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  font-weight: 600;
}
.payment-qr-network small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
}
.payment-qr-info h3 {
  margin: 18px 0 8px;
  font-size: 17px;
  font-weight: 650;
}
.payment-qr-info p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}
.payment-qr-info .button {
  min-height: 38px;
  padding: 8px 14px;
  font-size: 12px;
}
.qr-unavailable {
  color: var(--muted);
  font-size: 12px;
}
@container (max-width: 450px) {
  .payment-qr-content {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .payment-qr-info {
    text-align: center;
  }
  .payment-qr-network {
    justify-content: center;
  }
}
.copy-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin: 23px 0 8px;
}
.copy-field {
  display: flex;
  align-items: stretch;
  border: 1px solid #d4d6e3;
  border-radius: 10px;
  overflow: hidden;
  background: #f1f2f8;
}
.copy-field:focus-within {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
.copy-field input {
  flex: 1;
  width: 0;
  min-width: 0;
  border: 0;
  padding: 14px 12px;
  background: transparent;
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 13px;
  outline: none;
}
.copy-field button {
  flex-shrink: 0;
  background: #e4e6f2;
  border: 0;
  border-left: 1px solid #d4d6e3;
  padding: 10px 15px;
  color: #454b6a;
  font-size: 12px;
  font-weight: 600;
}
.copy-field button:hover {
  background: #d4d8eb;
}
.copy-field:has(#amount) {
  background: #e2e5f4;
  border-color: #afb6d8;
}
#amount {
  font-size: 29px;
  font-weight: 650;
  letter-spacing: -0.5px;
  padding: 17px 14px;
}
.transfer-note {
  font-size: 12px;
  color: #4d526b;
  background: #edeff7;
  padding: 17px;
  border-radius: 10px;
  margin-top: 24px;
  overflow-wrap: anywhere;
  line-height: 1.85;
}
.receipt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.muted {
  font-size: 11px !important;
  color: var(--muted);
}
.delivery {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 24px;
}
.delivery h2 {
  margin-top: 10px;
}
.token-details {
  margin: 20px 0;
  overflow-wrap: anywhere;
  font-size: 12px;
}
.token-details summary {
  cursor: pointer;
  font-weight: 600;
}
.empty,
.loading {
  text-align: center;
  padding: 60px 24px;
  color: var(--muted);
}
.empty {
  grid-column: 1 / -1;
  box-shadow: none;
}
.empty h1,
.empty h2 {
  color: var(--ink);
  font-size: 18px;
  margin-bottom: 8px;
}
.empty p {
  margin-bottom: 0;
}
.empty .button {
  margin-top: 24px;
}
.empty-icon {
  width: 58px;
  height: 58px;
  border: 1px solid #d8dae7;
  box-shadow: 0 0 0 7px #eff0f7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: #e7e9f4;
  color: #6a7299;
  margin-bottom: 26px;
}
.empty-icon .icon {
  width: 25px;
  height: 25px;
}
.loading {
  font-size: 13px;
}
.shop-footer {
  max-width: 1120px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 11px;
}
.shop-footer > span:first-child {
  font-weight: 650;
  color: var(--muted);
  letter-spacing: -0.3px;
}
#shop-toast {
  position: fixed;
  bottom: max(28px, env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100vw - 32px);
  border: 1px solid #ffffff24;
  border-radius: 11px;
  background: var(--ink);
  color: #fff;
  padding: 13px 20px;
  box-shadow: 0 8px 32px #191f3c25;
  font-size: 13px;
  z-index: 40;
}
main:has(.auth-layout) {
  max-width: 1060px;
  display: grid;
  align-items: center;
  padding-top: 26px;
  padding-bottom: 52px;
}
.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  width: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 22px 65px #22273d10;
}
.auth-visual {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  background: var(--art-panel);
  color: var(--ink);
  padding: 34px;
  position: relative;
  overflow: hidden;
}
.visual-label {
  font-weight: 600;
  letter-spacing: -0.4px;
  font-size: 19px;
  color: var(--brand);
}
.auth-visual > img {
  display: block;
  width: calc(100% + 42px);
  height: auto;
  max-height: 340px;
  margin: 12px -21px;
}
.visual-bottom h2 {
  font-size: 24px;
  letter-spacing: -0.5px;
  font-weight: 550;
  margin: 0 0 18px;
}
.visual-bottom > div {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.visual-bottom span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 11px;
}
.visual-bottom .icon {
  width: 14px;
  height: 14px;
}
.auth-card {
  padding: 40px 44px;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}
.auth-heading {
  margin-bottom: 26px;
}
.auth-heading .section-icon {
  margin-bottom: 18px;
}
.auth-heading h1 {
  font-size: 29px;
  line-height: 1.3;
  letter-spacing: -0.7px;
  font-weight: 650;
  margin: 0 0 9px;
}
.auth-heading p {
  margin: 0;
}
.auth-card form,
.security-card form {
  display: grid;
  gap: 9px;
}
.auth-card label,
.security-card label {
  font-size: 13px;
  font-weight: 600;
  margin-top: 9px;
}
.auth-card input,
.security-card input {
  width: 100%;
  min-width: 0;
  min-height: 47px;
  border: 1px solid #d6d8e3;
  border-radius: 9px;
  padding: 11px 13px;
  color: var(--ink);
  background: #f9fafd;
  font-size: 14px;
  transition:
    box-shadow 0.16s,
    border-color 0.16s;
}
.auth-card input::placeholder,
.security-card input::placeholder {
  color: #717481;
  font-size: 13px;
}
.auth-card input:focus,
.security-card input:focus {
  background: white;
  border-color: var(--focus);
  box-shadow: 0 0 0 3px var(--focus-ring);
  outline: none;
}
.field-hint {
  margin: 0;
  font-size: 11px !important;
  line-height: 1.7;
}
.form-error {
  color: #a33025 !important;
  margin: 6px 0 0;
  overflow-wrap: anywhere;
}
.verification-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}
.verification-row .button {
  padding: 10px 12px;
  min-width: 108px;
  font-size: 12px;
  white-space: nowrap;
}
#code-hint,
.account-heading h1 {
  overflow-wrap: anywhere;
}
.auth-card form > .button,
.security-card form > .button {
  margin-top: 15px;
}
.auth-card form > .button {
  justify-content: space-between;
  min-height: 47px;
}
.auth-switch {
  padding-top: 23px;
  border-top: 1px solid #e7e9f0;
  margin: 28px 0 0;
  font-size: 12px !important;
}
.auth-recovery {
  justify-self: end;
  font-size: 12px;
  padding: 4px 0;
}
.auth-switch a,
.text-link {
  color: #3e4671;
  font-weight: 650;
  margin-left: 7px;
}
.account-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 0 0 26px;
  padding: 26px;
  background: linear-gradient(110deg, #edf1fc, #f3f0fa);
  border: 1px solid #d3d6e7;
  border-radius: 18px;
}
.account-identity {
  display: flex;
  gap: 18px;
  align-items: center;
  min-width: 0;
}
.account-identity > div {
  min-width: 0;
}
.account-heading h1 {
  font-size: clamp(21px, 3vw, 29px);
  line-height: 1.3;
  margin: 4px 0 0;
  overflow-wrap: anywhere;
  font-weight: 650;
  letter-spacing: -0.5px;
}
.account-avatar {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #ccd0e3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #454d73;
}
.account-heading > .button {
  flex-shrink: 0;
}
.account-tabs {
  display: inline-flex;
  max-width: 100%;
  gap: 5px;
  padding: 5px;
  background: #e4e6ee;
  border: 1px solid #dcdee8;
  border-radius: 12px;
  margin-bottom: 25px;
}
.account-tabs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 12px;
  padding: 10px 18px;
  color: #575c74;
  border-radius: 8px;
  white-space: nowrap;
}
.account-tabs .icon {
  width: 16px;
  height: 16px;
}
.account-tabs a:hover {
  color: var(--ink);
}
.account-tabs a[aria-current] {
  color: var(--ink);
  font-weight: 600;
  background: white;
  box-shadow: 0 2px 5px #24294209;
}
.order-list {
  display: grid;
  gap: 14px;
}
.customer-order {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  transition:
    border-color 0.16s,
    box-shadow 0.16s;
}
.customer-order:hover {
  border-color: #a8adc5;
  box-shadow: 0 5px 22px #23273d08;
}
.order-content {
  min-width: 0;
  flex: 1;
}
.order-arrow {
  color: #747b9d;
}
.order-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 20px;
  font-size: 12px;
  color: var(--muted);
}
.order-meta strong {
  color: #444a68;
  font-weight: 600;
}
.order-content > p {
  margin: 10px 0 0;
  font-size: 11px;
  color: #63677d;
}
.record-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}
.record-heading h2 {
  min-width: 0;
  font-size: 16px;
}
.record-title {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}
.record-title h2 {
  margin-bottom: 0;
}
.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  border-radius: 6px;
  padding: 4px 8px;
  background: #edeef2;
  color: #5f6270;
  font-size: 11px;
  line-height: 1.5;
}
.status-chip::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}
.status-chip.positive {
  background: #e9f4ed;
  color: #397351;
}
.status-chip.pending {
  background: #fbf1df;
  color: #84662d;
}
.subscription-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.usage-summary {
  background: #f1f2f8;
  border: 1px solid #e6e8f0;
  border-radius: 11px;
  padding: 17px 18px;
  margin-top: 24px;
}
.usage-summary > span {
  font-size: 11px;
  color: var(--muted);
  display: block;
  margin-bottom: 7px;
}
.usage-summary > strong {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.5px;
  overflow-wrap: anywhere;
}
.usage-summary small {
  font-size: 11px;
  font-weight: 400;
  color: #81859b;
  letter-spacing: 0;
}
.usage-summary progress {
  display: block;
  width: 100%;
  height: 4px;
  margin-top: 15px;
  appearance: none;
  border: 0;
  border-radius: 4px;
  overflow: hidden;
  background: #d8dbe9;
}
.usage-summary progress::-webkit-progress-bar {
  background: #d8dbe9;
}
.usage-summary progress::-webkit-progress-value {
  background: #636d9f;
}
.usage-summary progress::-moz-progress-bar {
  background: #636d9f;
}
.subscription-facts {
  margin-bottom: 12px;
}
.subscription-facts > div {
  padding: 11px 0;
}
.subscription-card .copy-label {
  margin-top: 18px;
}
.subscription-card .receipt-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.security-card {
  max-width: 600px;
  padding: 30px;
}
.security-card > .section-icon {
  margin-bottom: 18px;
}
.security-card > p {
  margin-bottom: 24px;
}
.security-card form > .button {
  justify-self: start;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
  font-size: 11px;
  color: #73778c;
}
.pagination > span:first-child {
  margin-right: auto;
}
.pagination .button {
  min-height: 36px;
  padding: 7px 12px;
  font-size: 11px;
}
.inactive {
  opacity: 0.4;
  cursor: default;
}
.list-actions {
  margin-top: 22px;
}
.list-actions .button {
  font-size: 12px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 1100px) {
  .network-picker > div {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .shop-footer {
    margin-left: 40px;
    margin-right: 40px;
  }
}
@media (max-width: 900px) {
  .plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .checkout-grid {
    grid-template-columns: 1fr;
  }
  .summary {
    position: static;
  }
  .auth-card {
    padding: 32px;
  }
  .auth-visual {
    padding: 28px;
  }
  .visual-bottom > div {
    gap: 10px;
  }
}
@media (max-width: 760px) {
  .plan-grid.single-plan .plan {
    display: flex;
    padding: 26px;
    gap: 22px;
  }
  .single-plan .plan-details {
    padding: 12px 0 0;
    border-left: 0;
    border-top: 1px solid var(--plan-border);
  }
  .single-plan .plan-main h2 {
    font-size: 26px;
  }
  .single-plan .plan-price strong {
    font-size: 48px;
  }
  .subscription-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .auth-layout {
    grid-template-columns: minmax(0, 1fr);
    max-width: 470px;
    margin: auto;
  }
  .auth-visual {
    display: none;
  }
  main:has(.auth-layout) {
    padding-top: 18px;
  }
}
@media (max-width: 600px) {
  .payment-options .network-picker > div {
    grid-template-columns: minmax(0, 1fr);
  }
  .payment-options .network-choice {
    min-height: 72px;
    padding: 13px 14px;
    gap: 12px;
  }
  .shop-header {
    padding: 20px;
    gap: 12px;
    flex-wrap: wrap;
  }
  .brand {
    font-size: 20px;
    gap: 9px;
  }
  .brand img {
    width: 34px;
    height: 34px;
  }
  .brand small {
    font-size: 9px;
    margin-top: 4px;
  }
  .shop-header nav {
    gap: 0;
    font-size: 11px;
  }
  .shop-header nav a,
  .shop-header nav button {
    padding: 8px 10px;
    gap: 5px;
  }
  .shop-header nav .nav-login {
    padding: 8px 11px;
    margin-left: 5px;
  }
  .shop-header nav .icon {
    width: 15px;
    height: 15px;
  }
  .shop-header nav button .icon {
    display: none;
  }
  main {
    padding: 26px 18px 52px;
  }
  main:has(.auth-layout) {
    padding: 20px 18px 42px;
  }
  .page-title {
    margin-bottom: 24px;
  }
  .catalog-heading {
    gap: 12px;
    align-items: flex-start;
  }
  .payment-method {
    font-size: 10px;
    padding: 7px 9px;
    margin-top: 25px;
    gap: 5px;
  }
  .payment-method .icon {
    width: 15px;
    height: 15px;
  }
  .card {
    padding: 22px;
    border-radius: 15px;
  }
  .plan-grid,
  .plan-grid.dual-plan {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .plan {
    padding: 25px;
  }
  .plan-heading {
    margin-bottom: 20px;
  }
  .description {
    min-height: 0;
  }
  .price {
    font-size: 40px;
  }
  .network-picker > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .network-choice {
    padding: 11px 10px;
    gap: 7px;
  }
  .network-choice strong {
    font-size: 12px;
  }
  .network-choice small {
    font-size: 11px;
  }
  .coin-mark {
    width: 24px;
    height: 24px;
    font-size: 15px;
  }
  .network-logo {
    width: 24px;
    height: 24px;
    padding: 4px;
    border-radius: 7px;
  }
  .payment-heading .network-logo {
    width: 33px;
    height: 33px;
    padding: 7px;
    border-radius: 9px;
  }
  .network-picker p {
    font-size: 11px;
  }
  .checkout-grid {
    gap: 18px;
  }
  .payment-heading .section-icon {
    width: 33px;
    height: 33px;
    border-radius: 9px;
  }
  .payment-heading h2 {
    font-size: 17px;
    gap: 8px;
  }
  .receipt-actions > .button {
    flex: 1;
    padding: 10px 12px;
    font-size: 12px;
  }
  .copy-field input {
    font-size: 11px;
    padding: 13px 10px;
  }
  .copy-field button {
    padding: 10px 12px;
  }
  #amount {
    font-size: 26px;
  }
  .shop-footer {
    margin: 0 20px;
    padding: 21px 0;
  }
  .auth-card {
    padding: 28px;
    border-radius: 0;
  }
  .auth-heading h1 {
    font-size: 26px;
  }
  .auth-card input,
  .security-card input {
    font-size: 16px;
  }
  .account-heading {
    padding: 20px;
    border-radius: 15px;
    gap: 12px;
  }
  .account-identity {
    gap: 12px;
  }
  .account-avatar {
    width: 43px;
    height: 43px;
    border-radius: 13px;
    font-size: 20px;
  }
  .account-heading > .button {
    padding: 9px 11px;
    min-height: 40px;
    font-size: 11px;
  }
  .account-heading > .button .icon {
    display: none;
  }
  .account-tabs {
    display: flex;
    width: 100%;
    gap: 3px;
    padding: 4px;
    margin-bottom: 20px;
  }
  .account-tabs a {
    flex: 1;
    gap: 6px;
    padding: 10px 7px;
    font-size: 11px;
  }
  .account-tabs .icon {
    width: 14px;
    height: 14px;
  }
  .customer-order {
    padding: 20px;
    gap: 12px;
    align-items: flex-start;
  }
  .customer-order > .record-icon {
    display: none;
  }
  .order-arrow {
    display: none;
  }
  .record-heading {
    gap: 10px;
  }
  .record-heading h2 {
    font-size: 15px;
  }
  .record-title {
    gap: 10px;
  }
  .record-title > .record-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }
  .order-meta {
    font-size: 11px;
    gap: 6px 12px;
  }
  .order-content > p {
    font-size: 10px;
  }
  .subscription-card .receipt-actions .button {
    padding: 10px 9px;
    font-size: 11px;
  }
  .security-card {
    padding: 25px;
  }
  .pagination {
    gap: 8px;
  }
  .empty {
    padding: 46px 20px;
  }
}
@media (max-width: 360px) {
  .shop-header {
    padding: 18px 16px;
  }
  .brand small {
    display: none;
  }
  .shop-header nav a,
  .shop-header nav button {
    padding: 8px;
  }
  .nav-login .icon {
    display: none;
  }
  .payment-method {
    display: none;
  }
  .account-heading {
    flex-wrap: wrap;
  }
  .account-heading > .button {
    margin-left: auto;
  }
  .auth-card {
    padding: 24px;
  }
  .record-title > .record-icon {
    display: none;
  }
  .account-tabs a {
    gap: 4px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

.client-picker {
  container-type: inline-size;
  margin: 22px 0 6px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.client-picker-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 5px 12px;
  margin-bottom: 13px;
}
.client-picker-heading h3 {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
}
.client-picker-heading > span {
  color: var(--muted);
  font-size: 11px;
}
.client-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.client-button {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 17px;
  align-items: center;
  gap: 11px;
  min-width: 0;
  margin: 0;
  padding: 16px 14px;
  text-align: left;
  color: var(--ink);
  background: #f8f8fb;
  border: 1px solid #dbdde7;
  border-radius: 14px;
  box-shadow: 0 1px 2px #23273d03;
  transition:
    border-color 0.16s,
    background 0.16s,
    box-shadow 0.16s;
}
.client-button:hover {
  background: #ebedf6;
  border-color: #9ea5c6;
  box-shadow: 0 4px 12px #23273d08;
}
.client-button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
.client-button.is-copied {
  background: #e4e7f4;
  border-color: var(--focus);
}
.client-logo {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 3px #1d223d10;
}
.client-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.client-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 4px;
}
.client-info strong {
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.client-info small {
  color: var(--muted);
  font-size: 9px;
  font-weight: 400;
  line-height: 1.5;
}
.client-copy-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #767b92;
}
.client-copy-mark .icon {
  width: 17px;
  height: 17px;
}
.client-button.is-copied .client-copy-mark {
  color: #333c67;
}
.client-link-details {
  margin-top: 15px;
}
.client-link-details summary {
  width: fit-content;
  padding: 4px 0;
  color: var(--muted);
  font-size: 11px;
  cursor: pointer;
}
.client-link-details[open] summary {
  margin-bottom: 8px;
}
.client-link-details .copy-label {
  margin-top: 8px;
}
@container (max-width: 390px) {
  .client-button {
    grid-template-columns: minmax(0, 1fr) 17px;
    align-items: start;
    gap: 11px 8px;
    padding: 14px;
  }
  .client-copy-mark {
    align-self: start;
    padding-top: 2px;
  }
  .client-info {
    grid-row: 2;
    grid-column: 1 / -1;
  }
  .client-info small {
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .client-button {
    transition: none;
  }
}

.payment-progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 20px 0;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--border, #e4e5e9);
}
.payment-progress > div {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 8px;
}
.payment-progress span {
  font-size: 12px;
  color: var(--muted, #646673);
}
.payment-progress strong {
  font-size: 19px;
  line-height: 1.45;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}
.payment-progress small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  margin-top: 3px;
  color: var(--muted, #646673);
}
@media (max-width: 480px) {
  .payment-progress {
    gap: 10px;
  }
  .payment-progress strong {
    font-size: 16px;
  }
  .payment-progress span {
    font-size: 11px;
  }
}

.copy-field.precise-amount #amount {
  font-size: clamp(13px, 3.7vw, 19px);
  letter-spacing: 0;
}
@media (max-width: 600px) {
  .payment-progress {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .payment-progress > div {
    grid-template-columns: 76px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
  }
  .payment-progress strong {
    font-size: 14px;
    text-align: right;
  }
  .payment-progress span {
    padding-top: 3px;
    font-size: 12px;
  }
  .payment-progress small {
    margin-top: 1px;
  }
}
