:root {
  color-scheme: dark;
  --bg: #050807;
  --panel: rgba(12, 18, 16, .82);
  --panel-strong: rgba(17, 25, 21, .94);
  --line: rgba(185, 255, 64, .16);
  --line-strong: rgba(185, 255, 64, .42);
  --lime: #baff3f;
  --green: #42ee9a;
  --text: #f4f8f4;
  --muted: #92a097;
  --danger: #ff7c76;
  --radius: 22px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 78% 5%, rgba(53, 235, 145, .09), transparent 30rem),
    linear-gradient(180deg, #050807, #070b09 55%, #040605);
  min-height: 100vh;
}
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
[hidden] { display: none !important; }

.checkout-celebration-toast {
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 130;
  max-width: min(420px, calc(100vw - 32px));
  padding: 15px 18px;
  color: #efffe0;
  border: 1px solid rgba(186,255,63,.55);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(25,48,28,.98), rgba(8,18,13,.98));
  box-shadow: 0 18px 55px rgba(0,0,0,.42), 0 0 34px rgba(186,255,63,.18);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(-18px) scale(.98);
  transition: opacity .24s ease, transform .24s ease;
}
.checkout-celebration-toast.is-visible { opacity: 1; transform: translateY(0) scale(1); }
.checkout-confetti-layer { position: fixed; inset: 0; z-index: 120; overflow: hidden; pointer-events: none; }
.checkout-confetti-piece {
  position: absolute;
  top: -24px;
  left: var(--confetti-left);
  width: 9px;
  height: 15px;
  border-radius: 2px;
  background: var(--confetti-color);
  box-shadow: 0 0 8px color-mix(in srgb, var(--confetti-color) 55%, transparent);
  opacity: 0;
  animation: checkout-confetti-fall var(--confetti-duration) var(--confetti-delay) cubic-bezier(.18,.72,.3,1) forwards;
}
.checkout-confetti-piece:nth-child(3n) { width: 7px; height: 7px; border-radius: 50%; }
.checkout-confetti-piece:nth-child(4n) { width: 12px; height: 5px; border-radius: 999px; }
@keyframes checkout-confetti-fall {
  0% { opacity: 0; transform: translate3d(0,-3vh,0) rotate(0deg); }
  10% { opacity: 1; }
  100% { opacity: 0; transform: translate3d(var(--confetti-drift),105vh,0) rotate(var(--confetti-spin)); }
}
@media (prefers-reduced-motion: reduce) {
  .checkout-confetti-layer { display: none; }
  .checkout-celebration-toast { transition: none; }
}

.aurora {
  position: fixed;
  width: 32rem;
  height: 32rem;
  border-radius: 50%;
  filter: blur(110px);
  opacity: .12;
  z-index: -1;
  pointer-events: none;
}
.aurora-a { top: 12rem; left: -20rem; background: var(--lime); }
.aurora-b { right: -22rem; bottom: 8rem; background: var(--green); }

.site-header {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.brand { display: inline-flex; align-items: center; gap: 11px; color: inherit; text-decoration: none; }
.brand img { width: 38px; height: 38px; border-radius: 11px; }
.brand > span { display: grid; }
.brand strong { font-size: 18px; letter-spacing: -.02em; }
.brand strong span { color: var(--lime); }
.brand small { margin-top: 2px; color: var(--muted); font-size: 9px; letter-spacing: .2em; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.support-x-button, .back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 13px;
  color: #dce6df;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  text-decoration: none;
  font-size: 13px;
  transition: .2s ease;
}
.support-x-button {
  color: #071005;
  border-color: rgba(186,255,63,.82);
  background: linear-gradient(135deg, #c8ff53, #7df58f);
  box-shadow: 0 8px 24px rgba(186,255,63,.13);
  font-weight: 850;
}
.back-link {
  color: #e1ece5;
  border-color: rgba(255,255,255,.16);
  background: linear-gradient(145deg, rgba(29,42,35,.96), rgba(13,21,17,.96));
  box-shadow: inset 0 1px rgba(255,255,255,.045);
  font-weight: 750;
}
.support-x-button:hover {
  color: #071005;
  border-color: #dcff91;
  background: linear-gradient(135deg, #dcff91, #8fffa0);
  box-shadow: 0 10px 28px rgba(186,255,63,.22);
}
.back-link:hover {
  color: var(--lime);
  border-color: var(--line-strong);
  background: linear-gradient(145deg, rgba(38,56,46,.98), rgba(18,30,23,.98));
}

.page-shell { width: min(1240px, calc(100% - 40px)); margin: 0 auto; padding: 70px 0 100px; }
.hero { max-width: 880px; margin-bottom: 42px; }
.eyebrow { display: inline-flex; gap: 9px; align-items: center; color: var(--lime); font-size: 11px; letter-spacing: .18em; font-weight: 800; }
.eyebrow i { width: 20px; height: 1px; background: currentColor; box-shadow: 0 0 10px currentColor; }
.hero h1 { margin: 17px 0 20px; font-size: clamp(42px, 6.2vw, 78px); line-height: .98; letter-spacing: -.06em; }
.hero h1 em { color: var(--lime); font-style: normal; }
.hero > p { max-width: 720px; color: #a9b6ae; line-height: 1.8; }
.benefit-row, .route-strip { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.benefit-row span, .route-strip span {
  padding: 8px 11px;
  color: #c6d2ca;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 999px;
  background: rgba(255,255,255,.025);
  font-size: 12px;
}
.route-strip span {
  color: #e9f5e5;
  border-color: rgba(186,255,63,.28);
  background:
    radial-gradient(circle at 86% 0%, rgba(186,255,63,.14), transparent 55%),
    linear-gradient(135deg, rgba(186,255,63,.09), rgba(66,238,154,.045));
  box-shadow: inset 0 1px rgba(255,255,255,.035);
  font-weight: 800;
}
.route-strip .recommended-route-chip {
  color: #071005;
  border-color: var(--lime);
  background: linear-gradient(135deg, var(--lime), #71f2a3);
  box-shadow: 0 0 22px rgba(186,255,63,.18);
}
.recommended-route-chip b { margin-right: 6px; font-size: 10px; letter-spacing: .08em; }

.panel {
  background: linear-gradient(145deg, rgba(17,25,21,.92), rgba(8,13,11,.78));
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius);
  box-shadow: 0 20px 70px rgba(0,0,0,.22);
  backdrop-filter: blur(22px);
}
.public-layout, .checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 22px; align-items: start; }
.product-main { padding: 30px; min-width: 0; }
.query-panel { padding: 25px; position: sticky; top: 20px; }
.query-panel > small, .section-heading small, .panel-heading small, .route-picker > small, .method-title small {
  color: var(--lime);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
}
.query-heading-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.query-heading-row > span { min-width: 0; }
.query-heading-row small { color: var(--lime); font-size: 10px; font-weight: 800; letter-spacing: .18em; }
.query-heading-row h2 { margin: 6px 0 0; letter-spacing: -.025em; }
.all-orders-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 32px;
  padding: 0 11px;
  color: var(--lime);
  border: 1px solid rgba(186,255,63,.3);
  border-radius: 10px;
  background: rgba(186,255,63,.065);
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
  transition: .2s ease;
}
.all-orders-link:hover { color: #071005; border-color: var(--lime); background: var(--lime); }
.query-panel h2, .section-heading h2, .panel-heading h2 { margin: 6px 0 0; letter-spacing: -.025em; }
.query-panel > p, .section-heading > p { color: var(--muted); line-height: 1.65; font-size: 14px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.section-heading > p { max-width: 330px; margin: 0; text-align: right; }

.plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; margin-top: 26px; }
.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  min-height: 240px;
  padding: 22px;
  color: inherit;
  text-align: left;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 17px;
  background: rgba(255,255,255,.024);
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.plan-card:hover { transform: translateY(-3px); border-color: var(--line-strong); background: rgba(186,255,63,.045); }
.plan-card.recommended { border-color: rgba(186,255,63,.36); box-shadow: inset 0 0 36px rgba(186,255,63,.035); }
.plan-card i {
  position: absolute; right: 16px; top: 15px; padding: 5px 8px;
  color: #081005; background: var(--lime); border-radius: 999px; font-size: 10px; font-style: normal; font-weight: 900;
}
.plan-card > span { color: #c8d5cd; font-size: 14px; }
.plan-card > strong { margin: 13px 0 2px; font-size: 37px; letter-spacing: -.05em; }
.plan-card > small { color: var(--muted); }
.plan-card > small s, .compact-plan-grid small s { color: #7e8b83; text-decoration-thickness: 1px; text-decoration-color: rgba(255,123,123,.8); }
.plan-card ul { margin: 20px 0 22px; padding-left: 18px; color: #aebbb3; line-height: 1.8; font-size: 13px; }
.plan-card b { margin-top: auto; color: var(--lime); font-size: 13px; }
.free-plan-card { background: linear-gradient(145deg, rgba(66,238,154,.08), rgba(255,255,255,.02)); }
.route-strip { padding: 14px 0; }
.inline-support-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 15px; color: #e7f6dc; border: 1px solid rgba(186,255,63,.32); border-radius: 12px; background: linear-gradient(135deg, rgba(186,255,63,.12), rgba(66,238,154,.05)); font-size: 13px; font-weight: 800; text-decoration: none; transition: .18s ease; }
.inline-support-button:hover { color: #071005; border-color: var(--lime); background: var(--lime); transform: translateY(-1px); }
.query-support-button { width: 100%; margin-top: 24px; }
.public-order-query-button { width: 100%; min-height: 46px; margin-top: 16px; color: #071005 !important; border-color: rgba(186,255,63,.58) !important; background: linear-gradient(135deg, #c8ff53, #76ef91) !important; box-shadow: 0 12px 28px rgba(138,235,77,.14); }
.public-order-query-button:hover { color: #071005 !important; border-color: #dcff77 !important; background: linear-gradient(135deg, #dcff77, #8ff3a5) !important; box-shadow: 0 16px 34px rgba(138,235,77,.23); }

.plan-comparison { margin-top: 20px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.07); }
.plan-comparison h3 { margin: 5px 0; font-size: 17px; }
.comparison-scroll { overflow-x: auto; }
table { width: 100%; min-width: 590px; border-collapse: collapse; font-size: 13px; }
th, td { padding: 12px; border-bottom: 1px solid rgba(255,255,255,.07); text-align: left; }
th { color: #d9e3dd; } td { color: var(--muted); }
.product-start-button {
  width: 100%;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
  padding: 15px 20px;
  text-align: left;
  border-radius: 16px;
  background:
    radial-gradient(circle at 88% 0%, rgba(255,255,255,.32), transparent 38%),
    linear-gradient(135deg, #c8ff53, #76ef91);
  box-shadow: 0 18px 44px rgba(138,235,77,.17);
}
.product-start-button span { display: grid; gap: 3px; }
.product-start-button small { color: rgba(7,16,5,.62); font-size: 9px; letter-spacing: .16em; }
.product-start-button strong { color: #071005; font-size: 21px; }
.product-start-button b { color: #071005; font-size: 13px; white-space: nowrap; }
.product-start-button:hover { box-shadow: 0 22px 52px rgba(138,235,77,.25); }
.contact-plan-card {
  width: 100%;
  min-height: 210px;
  margin-top: 14px;
  background:
    radial-gradient(circle at 90% 8%, rgba(186,255,63,.12), transparent 36%),
    linear-gradient(145deg, rgba(19,31,24,.96), rgba(10,16,13,.96));
}
.session-summary { margin-top: 20px; padding: 14px; color: var(--muted); border-radius: 13px; background: rgba(255,255,255,.03); font-size: 13px; overflow-wrap: anywhere; }

.checkout-progress { margin: 0 0 22px; }
.checkout-progress ol {
  position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 0; padding: 0; list-style: none;
}
.checkout-progress ol::before { content: ""; position: absolute; left: 5%; right: 5%; top: 19px; height: 1px; background: rgba(255,255,255,.1); }
.checkout-progress li { position: relative; display: flex; align-items: center; gap: 10px; padding: 8px; color: var(--muted); }
.checkout-progress li > span {
  z-index: 1; display: grid; place-items: center; width: 24px; height: 24px; flex: 0 0 24px;
  color: #839088; background: #111713; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; font-size: 9px;
}
.checkout-progress li div { display: grid; min-width: 0; }
.checkout-progress li small { color: inherit; font-size: 8px; letter-spacing: .14em; }
.checkout-progress li strong { margin-top: 2px; font-size: 12px; white-space: nowrap; }
.checkout-progress li.is-active, .checkout-progress li.is-complete { color: var(--text); }
.checkout-progress li.is-active > span, .checkout-progress li.is-complete > span { color: #071005; background: var(--lime); border-color: var(--lime); box-shadow: 0 0 16px rgba(186,255,63,.3); }
.checkout-progress > p { margin: 8px 0 0; color: var(--muted); font-size: 12px; }

.wizard-column { min-width: 0; }
.wizard-panel { min-height: 470px; padding: 28px; }
.panel-heading { display: flex; align-items: center; gap: 13px; margin-bottom: 24px; }
.panel-heading .countdown { margin-left: auto; }
.step-index { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 42px; color: #0c120b; background: var(--lime); border-radius: 13px; font-size: 12px; font-weight: 900; }
.compact-plan-grid, .channel-grid, .route-grid { display: grid; gap: 12px; }
.compact-plan-grid { grid-template-columns: repeat(3, 1fr); }
.compact-plan-grid button, .channel-grid button, .route-grid button, .wallet-item {
  padding: 17px; color: inherit; border: 1px solid rgba(255,255,255,.1); border-radius: 15px; background: rgba(255,255,255,.025); cursor: pointer; text-align: left;
}
.compact-plan-grid button { position: relative; display: grid; }
.compact-plan-grid strong { margin: 7px 0; color: var(--lime); font-size: 23px; }
.compact-plan-grid small { color: var(--muted); }
.compact-plan-badge {
  position: absolute;
  z-index: 1;
  top: -9px;
  right: 12px;
  padding: 4px 9px;
  color: #2b1a00;
  border: 1px solid rgba(255,231,166,.78);
  border-radius: 999px;
  background: linear-gradient(135deg, #ffe28a, #f6b94a);
  box-shadow: 0 6px 18px rgba(246,185,74,.2);
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: .04em;
}
.compact-plan-badge[hidden] { display: none; }
.plan-daily-price {
  width: max-content;
  max-width: 100%;
  margin-top: 12px;
  padding: 5px 8px;
  color: #d9f99d;
  border: 1px solid rgba(186,255,63,.2);
  border-radius: 8px;
  background: rgba(186,255,63,.065);
  font-size: 11px;
  font-weight: 800;
}
.compact-plan-grid button.is-selected, .channel-grid button.is-selected, .route-grid button.is-selected, .wallet-item.is-selected {
  border-color: var(--line-strong); background: rgba(186,255,63,.07); box-shadow: inset 0 0 0 1px rgba(186,255,63,.08);
}
.hint { color: var(--muted); font-size: 13px; line-height: 1.6; }

.form-stack { display: grid; gap: 14px; }
label { display: grid; gap: 8px; color: #cbd6cf; font-size: 13px; }
input, select {
  width: 100%; min-height: 48px; padding: 0 14px; color: var(--text); border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px; outline: 0; background: #0c120f;
}
input:focus, select:focus, button:focus-visible, a:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
fieldset { margin: 0; padding: 0; border: 0; }
legend { margin-bottom: 9px; color: #cbd6cf; font-size: 13px; }
.otp-boxes { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 7px; }
.otp-digit { min-width: 0; height: 54px; padding: 0; text-align: center; font-size: 19px; font-weight: 800; }
button {
  min-height: 46px; padding: 0 18px; color: #071005; border: 1px solid var(--lime);
  border-radius: 12px; background: var(--lime); font-weight: 800; cursor: pointer; transition: .18s ease;
}
button:hover { filter: brightness(1.06); transform: translateY(-1px); }
button:disabled { cursor: not-allowed; opacity: .46; transform: none; filter: none; }
button.secondary { color: #d9e5dd; background: rgba(255,255,255,.035); border-color: rgba(255,255,255,.13); }
button.text-button { min-height: 36px; padding: 0 8px; color: var(--lime); background: transparent; border-color: transparent; }
button.refresh-control { min-height: 30px; padding: 0 10px; border-color: rgba(186,255,63,.34); border-radius: 8px; background: rgba(186,255,63,.065); box-shadow: inset 0 0 0 1px rgba(255,255,255,.02); font-size: 12px; font-weight: 750; }
button.refresh-control:hover { border-color: rgba(186,255,63,.66); background: rgba(186,255,63,.13); box-shadow: 0 0 16px rgba(186,255,63,.08); }
.logout-button { min-height: 38px; color: #d7e2db; background: transparent; border-color: rgba(255,255,255,.12); }
.logout-button:hover { color: var(--lime); border-color: var(--line-strong); background: rgba(186,255,63,.05); }
.is-loading { position: relative; padding-left: 42px !important; opacity: .82 !important; }
.is-loading::after { content: ""; position: absolute; top: 50%; left: 15px; width: 16px; height: 16px; margin-top: -8px; border: 2px solid rgba(0,0,0,.22); border-top-color: currentColor; border-radius: 50%; animation: spin .7s linear infinite; }

.verified-account { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px; border: 1px solid var(--line); border-radius: 15px; background: rgba(66,238,154,.05); }
.verified-account > div { display: grid; gap: 5px; min-width: 0; }
.verified-account small { color: var(--green); letter-spacing: .12em; }
.verified-account strong { overflow-wrap: anywhere; }
.verified-account span { color: var(--muted); font-size: 12px; }
.channel-grid { grid-template-columns: 1fr 1fr; }
.channel-grid button { display: flex; align-items: center; gap: 13px; }
.channel-grid i { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 10px; background: rgba(186,255,63,.11); color: var(--lime); font-style: normal; }
.channel-grid span { display: grid; gap: 5px; }
.channel-grid small { color: var(--muted); font-weight: 500; }
.method-block, .route-picker { margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.07); }
.method-title, .recent-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.method-title h3, .recent-heading h3 { margin: 4px 0; font-size: 15px; }
.wallet-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.wallet-item { display: flex; align-items: center; gap: 10px; }
.wallet-item img { width: 28px; height: 28px; border-radius: 8px; }
.wallet-fallback { display: grid; place-items: center; width: 28px; height: 28px; color: var(--lime); background: rgba(186,255,63,.09); border-radius: 8px; }
.bound-address { display: grid; gap: 5px; margin-top: 13px; padding: 12px; border-radius: 11px; background: rgba(255,255,255,.03); }
.bound-address-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bound-address-head button { min-height: 32px; padding: 5px 12px; color: #071005; border-color: transparent; background: linear-gradient(135deg, var(--lime), var(--green)); font-size: 12px; }
.bound-address small { color: var(--muted); }
code, .order-summary a { color: #d7e5dc; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; overflow-wrap: anywhere; word-break: break-all; }
.route-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 10px; }
.route-picker { margin-top: 0; padding-top: 0; border-top: 0; }
.route-grid button { position: relative; display: grid; gap: 4px; }
.route-grid small { color: var(--muted); }
.route-recommended-badge {
  position: absolute;
  z-index: 1;
  top: -8px;
  right: 10px;
  padding: 4px 8px;
  color: #2b1a00;
  border: 1px solid rgba(255,231,166,.78);
  border-radius: 999px;
  background: linear-gradient(135deg, #ffe28a, #f6b94a);
  box-shadow: 0 6px 18px rgba(246,185,74,.2);
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: .04em;
}
.route-details { display: grid; gap: 6px; margin-top: 12px; padding: 13px 14px; border: 1px solid rgba(186,255,63,.18); border-radius: 12px; background: rgba(186,255,63,.035); }
.route-details[hidden] { display: none; }
.route-details small { color: var(--muted); font-weight: 700; }
.route-details a { color: var(--lime); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 12px; overflow-wrap: anywhere; word-break: break-all; }
.manual-order-hint { margin: -6px 0 12px; color: #f6c96b; font-size: 13px; font-weight: 750; line-height: 1.55; }
.manual-order-hint[hidden] { display: none; }

.wizard-actions { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; margin-top: 14px; }
.wizard-actions #returnProductButton { justify-self: start; }
.wizard-actions button:disabled {
  color: #6f7c74;
  border-color: rgba(255,255,255,.08);
  background: rgba(255,255,255,.035);
  box-shadow: none;
  cursor: not-allowed;
  opacity: .72;
}
.countdown { padding: 7px 10px; color: var(--lime); border: 1px solid var(--line); border-radius: 10px; background: rgba(186,255,63,.05); font: 800 12px ui-monospace, monospace; }
.loading-card { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 230px; color: var(--muted); }
.spinner { width: 20px; height: 20px; border: 2px solid rgba(186,255,63,.2); border-top-color: var(--lime); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.order-summary { display: grid; gap: 0; margin: 0; }
.order-summary > div { display: grid; grid-template-columns: 145px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.order-summary dt { color: var(--muted); font-size: 12px; }
.order-summary dd { min-width: 0; margin: 0; text-align: right; overflow-wrap: anywhere; }
.order-summary dd button { min-height: 28px; margin-left: 7px; padding: 0 8px; color: var(--lime); border-color: transparent; background: transparent; font-size: 11px; }
.order-number-row code { color: #e9f8ef; font-weight: 750; }
#paymentRoute { color: #65e6ff; font-weight: 800; }
#paymentRecipient { color: #d5ff8d; font-size: 20px; font-weight: 750; line-height: 1.5; }
.payment-instructions {
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(186,255,63,.24);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(84,55,139,.22), rgba(186,255,63,.045)),
    rgba(12,16,17,.7);
  box-shadow: inset 3px 0 0 rgba(186,255,63,.72);
}
.payment-instructions h3 { margin: 0 0 10px; color: #f3f7f4; font-size: 14px; }
.payment-instructions ol { display: grid; gap: 7px; margin: 0; padding-left: 22px; color: #d7ded9; font-size: 13px; line-height: 1.55; }
.payment-instructions li::marker { color: var(--lime); font-weight: 850; }
.payment-instructions li strong { color: #f6dd8a; }
.payment-instructions p { margin: 11px 0 0; padding-top: 10px; color: #8f9692; border-top: 1px solid rgba(255,255,255,.07); font-size: 12px; line-height: 1.5; }
.payment-instructions p strong { color: #ab9ec8; }
.payment-refresh-bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 10px; padding: 13px 14px; border: 1px solid rgba(186,255,63,.18); border-radius: 13px; background: linear-gradient(135deg, rgba(186,255,63,.055), rgba(255,255,255,.025)); }
.payment-refresh-bar.is-checking { border-color: rgba(101,230,255,.44); background: linear-gradient(135deg, rgba(101,230,255,.1), rgba(186,255,63,.035)); }
.payment-refresh-bar.is-checking strong::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border: 2px solid rgba(101,230,255,.26); border-top-color: #65e6ff; border-radius: 50%; animation: spin .7s linear infinite; }
.payment-refresh-bar.is-error { border-color: rgba(255,196,101,.34); background: linear-gradient(135deg, rgba(255,196,101,.085), rgba(255,255,255,.025)); }
.payment-refresh-bar.is-error small { color: #f2c66d; }
.payment-refresh-bar > span { min-width: 0; display: grid; gap: 4px; }
.payment-refresh-bar strong { color: #e9f8ef; font-size: 13px; }
.payment-refresh-bar small { color: var(--muted); line-height: 1.45; }
.payment-refresh-bar button { flex: 0 0 auto; min-height: 38px; padding: 0 14px; color: var(--lime); border-color: rgba(186,255,63,.28); background: rgba(186,255,63,.06); font-size: 12px; }
.payment-refresh-bar button:hover:not(:disabled) { border-color: var(--lime); background: rgba(186,255,63,.13); }
.amount-value { display: flex; align-items: center; justify-content: flex-end; }
.amount-row strong { color: var(--lime); font-size: 20px; }
.manual-amount-note { display: block; max-width: 440px; margin: 6px 0 0 auto; color: #f6c96b; font-size: 11px; line-height: 1.55; }
.manual-amount-note[hidden] { display: none; }
.manual-payment { display: grid; grid-template-columns: 190px 1fr; gap: 20px; align-items: center; margin-top: 20px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: rgba(186,255,63,.035); }
.qr-quiet-zone { display: grid; place-items: center; padding: 14px; background: #fff; border-radius: 12px; }
.qr-quiet-zone img { display: block; width: 100%; height: auto; image-rendering: pixelated; }
.manual-payment p { color: var(--muted); line-height: 1.55; font-size: 13px; }
.payment-actions { margin-top: 18px; }
.payment-actions button { width: 100%; }
.hash-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; margin-top: 18px; }
.message { min-height: 1.3em; color: #9eb0a5; font-size: 13px; line-height: 1.5; }
#paymentMessage { min-height: 0; margin: 7px 0 0; }
#paymentMessage:not(:empty) { padding: 11px 13px; border: 1px solid rgba(255,255,255,.1); border-radius: 11px; background: rgba(255,255,255,.035); font-weight: 750; }
#paymentMessage.success { color: #a8ffbc; border-color: rgba(66,238,154,.36); background: rgba(66,238,154,.09); box-shadow: 0 0 24px rgba(66,238,154,.06); }
#paymentMessage.error { color: #ff9b96; border-color: rgba(255,124,118,.34); background: rgba(255,124,118,.085); }
#paymentMessage:empty { display: none; }
.message.error { color: var(--danger); }
.message.is-working { color: var(--lime); font-weight: 750; }
.message.is-working::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 12px currentColor; animation: working-pulse 1s ease-in-out infinite; }
@keyframes working-pulse { 50% { opacity: .3; transform: scale(.72); } }

.query-panel .form-stack { margin-top: 20px; }
.recent-heading { margin-top: 24px; margin-bottom: 10px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.07); }
.orders-list { display: grid; gap: 8px; }
.orders-toggle { width: 100%; margin-top: 8px; border: 1px solid rgba(186,255,63,.14) !important; border-radius: 10px; background: rgba(186,255,63,.035) !important; }
.orders-toggle:hover { border-color: rgba(186,255,63,.38) !important; background: rgba(186,255,63,.09) !important; }
.order-item { display: grid; gap: 7px; width: 100%; min-height: 0; padding: 12px; color: inherit; text-align: left; border-color: rgba(255,255,255,.08); background: rgba(255,255,255,.025); }
.order-item strong { overflow-wrap: anywhere; font-size: 12px; }
.order-item span { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 10px; }
.muted { color: var(--muted); font-size: 13px; }
.order-detail { margin-top: 16px; padding: 15px; border: 1px solid var(--line); border-radius: 13px; background: rgba(186,255,63,.03); }
.order-detail-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.order-detail-heading > span:first-child { min-width: 0; }
.order-detail-actions { display: inline-flex; align-items: center; justify-content: flex-end; gap: 7px; }
.order-detail-footer { display: flex; justify-content: flex-end; padding-top: 12px; }
.order-detail-footer button { min-height: 30px; padding: 0 10px; }
.order-detail h3 { margin: 4px 0 11px; }
.order-detail-loading { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; margin-top: 4px; padding: 6px 8px; color: var(--lime); border: 1px solid rgba(186,255,63,.2); border-radius: 999px; background: rgba(186,255,63,.06); font-size: 10px; font-weight: 750; }
.order-detail-loading[hidden] { display: none; }
.order-detail-loading i { width: 10px; height: 10px; border: 1.5px solid rgba(186,255,63,.25); border-top-color: currentColor; border-radius: 50%; animation: spin .7s linear infinite; }
.order-detail dl { margin: 0; }
.order-detail dl div { display: grid; grid-template-columns: 85px 1fr; gap: 9px; padding: 6px 0; font-size: 11px; border-bottom: 1px solid rgba(255,255,255,.05); }
.order-detail dt { color: var(--muted); }
.order-detail dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.order-status { display: inline-flex; align-items: center; justify-content: center; min-height: 22px; padding: 2px 8px; border: 1px solid currentColor; border-radius: 999px; font-size: 10px; font-weight: 800; }
.order-status.status-pending { color: #f2cd66; background: rgba(242,205,102,.08); }
.order-status.status-submitted, .order-status.status-confirming { color: #65e6ff; background: rgba(101,230,255,.08); }
.order-status.status-paid { color: #8ff3a5; background: rgba(143,243,165,.09); }
.order-status.status-expired { color: #9aa8a0; background: rgba(154,168,160,.08); }
.order-status.status-underpaid { color: #f5a85b; background: rgba(245,168,91,.09); }
.order-status.status-invalid, .order-status.status-failed, .order-status.status-exception, .order-status.status-unknown { color: #ff7887; background: rgba(255,120,135,.09); }
.skeleton-value { display: inline-block; width: min(118px, 72%); height: 10px; border-radius: 999px; background: linear-gradient(90deg, rgba(255,255,255,.05), rgba(186,255,63,.14), rgba(255,255,255,.05)); background-size: 220% 100%; animation: skeleton-shimmer 1.2s linear infinite; }
.order-detail-skeleton div:nth-child(3n) .skeleton-value { width: min(84px, 58%); }
.order-detail-error { margin: 12px 0 0; color: var(--danger); font-size: 11px; line-height: 1.5; }
@keyframes skeleton-shimmer { to { background-position: -220% 0; } }

footer {
  width: min(1240px, calc(100% - 40px)); margin: 0 auto; padding: 25px 0 40px;
  display: flex; justify-content: space-between; gap: 20px; color: #647168; border-top: 1px solid rgba(255,255,255,.06); font-size: 11px;
}

@media (max-width: 920px) {
  .public-layout, .checkout-layout { grid-template-columns: 1fr; }
  .query-panel { position: static; }
}

@media (max-width: 720px) {
  .site-header, .page-shell, footer { width: min(100% - 24px, 1240px); }
  .site-header { min-height: 68px; }
  .support-x-button { padding: 8px; font-size: 0; }
  .support-x-button span { font-size: 15px; }
  .back-link { font-size: 11px; }
  .page-shell { padding-top: 42px; }
  .hero h1 { font-size: clamp(39px, 13vw, 58px); }
  .product-main, .wizard-panel, .query-panel { padding: 20px; }
  .section-heading { align-items: start; flex-direction: column; }
  .section-heading > p { text-align: left; }
  .plan-grid, .channel-grid, .compact-plan-grid, .route-grid { grid-template-columns: 1fr; }
  .plan-card { min-height: 220px; }
  .product-start-button { min-height: 70px; }
  .checkout-progress { overflow: hidden; }
  .checkout-progress ol { grid-template-columns: repeat(4, minmax(64px, 1fr)); gap: 0; }
  .checkout-progress li { display: grid; justify-items: center; text-align: center; padding: 5px 2px; }
  .checkout-progress li div { justify-items: center; }
  .checkout-progress li small { display: none; }
  .checkout-progress li strong { font-size: 10px; }
  .otp-boxes { gap: 4px; }
  .otp-digit { height: 48px; font-size: 16px; }
  .wallet-list { grid-template-columns: 1fr; }
  .wizard-actions { grid-template-columns: 1fr 1fr; }
  .wizard-actions #returnProductButton { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
  .manual-payment { grid-template-columns: 1fr; }
  .qr-quiet-zone { width: min(230px, 100%); margin: auto; }
  .hash-form { grid-template-columns: 1fr; }
  .payment-refresh-bar { align-items: stretch; flex-direction: column; }
  .payment-refresh-bar button { width: 100%; }
  .order-summary > div { grid-template-columns: 1fr; gap: 5px; }
  .order-summary dd { text-align: left; }
  .amount-value { justify-content: flex-start; }
  .manual-amount-note { margin-left: 0; }
  footer { flex-direction: column; }
}

@media (max-width: 390px) {
  .brand small { display: none; }
  .hero h1 { font-size: 38px; }
  .product-main, .wizard-panel, .query-panel { padding: 16px; border-radius: 17px; }
  .otp-boxes { gap: 3px; }
  .otp-digit { height: 43px; border-radius: 8px; }
}
