:root {
  --bg: #0f1116;
  --bg-2: #161922;
  --surface: #1c2029;
  --elev: #252a35;
  --line: #454c5c;
  --line-soft: #353b48;
  --text: #fbfaf7;
  --muted: #c8c3b8;
  --silver: #efe8dc;
  --champagne: #e0d0ae;
  --green: #3de0b5;
  --danger: #ff8a90;
  --warn: #ecc06a;
  --white-soft: rgba(255,255,255,.08);
  --white-mid: rgba(255,255,255,.14);
  --radius: 14px;
  --shadow: 0 18px 44px rgba(0,0,0,.42);
  --font: "Manrope", "Segoe UI", sans-serif;
  --display: "Syne", "Manrope", sans-serif;
  --ease: cubic-bezier(.22,1,.36,1);
}
* { box-sizing: border-box; }
html {
  overflow-x: clip;
  max-width: 100%;
}
html, body {
  margin: 0;
  min-height: 100%;
  max-width: 100%;
  overflow-x: clip;
  background:
    radial-gradient(1000px 480px at 8% -8%, rgba(255,255,255,.11), transparent 55%),
    radial-gradient(820px 400px at 96% 0%, rgba(224,208,174,.12), transparent 52%),
    radial-gradient(640px 340px at 50% 108%, rgba(61,224,181,.06), transparent 56%),
    linear-gradient(180deg, #171a22 0%, var(--bg) 40%, #0a0c10 100%);
  background-attachment: fixed;
  color: var(--text);
  font: 13.75px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}
a { color: var(--champagne); text-decoration: none; transition: color .15s var(--ease); }
a:hover { color: #fff; }
button, input, select, textarea { font: inherit; color: inherit; }
img { max-width: 100%; }
code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 12px; }
pre {
  background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 10px; padding: 10px;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  max-width: 100%; white-space: pre; word-break: normal;
}
code {
  background: rgba(255,255,255,.08); border: 1px solid rgba(201,184,150,.22);
  border-radius: 6px; padding: 1px 6px; color: var(--champagne);
  word-break: break-all; overflow-wrap: anywhere;
}

.shell {
  --side-w: 236px;
  display: grid; grid-template-columns: 0 1fr; min-height: 100vh;
  transition: grid-template-columns .28s var(--ease);
}
.shell.is-side-open { grid-template-columns: var(--side-w) 1fr; }
.shell-main { min-width: 0; display: flex; flex-direction: column; min-height: 100vh; }
.side-backdrop {
  display: none; position: fixed; inset: 0; z-index: 28;
  background: rgba(0,0,0,.55); backdrop-filter: blur(3px);
}
.side {
  position: sticky; top: 0; height: 100vh; width: var(--side-w);
  padding: 12px 10px 14px; margin-left: calc(var(--side-w) * -1);
  border-right: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(28,30,38,.97), rgba(16,18,24,.98));
  backdrop-filter: blur(16px);
  display: flex; flex-direction: column; gap: 4px;
  overflow: hidden; opacity: 0; pointer-events: none;
  transition: margin-left .28s var(--ease), opacity .22s var(--ease);
  z-index: 30;
}
.shell.is-side-open .side {
  margin-left: 0; opacity: 1; pointer-events: auto;
}
.side-head {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-bottom: 8px; padding: 2px 2px 10px; border-bottom: 1px solid var(--line-soft);
}
.side-head .brand { margin: 0; min-width: 0; }
.side-nav { display: flex; flex-direction: column; gap: 2px; overflow: auto; flex: 1; }
.side a, .side button.linkish {
  display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 10px;
  color: #d2cdc3; background: transparent; border: 0; width: 100%; text-align: left; cursor: pointer;
  transition: background .15s var(--ease), color .15s var(--ease), transform .15s var(--ease);
  font-size: 13px; font-weight: 500;
}
.side a.active, .side a:hover, .side button.linkish:hover { background: var(--white-mid); color: var(--text); }
.side a.active { box-shadow: inset 2px 0 0 var(--champagne); color: #fffef9; }

.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 10px;
  min-height: 54px; padding: 8px 14px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  background: linear-gradient(180deg, rgba(34,38,48,.94), rgba(16,18,24,.92));
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
}
.topbar .brand { margin: 0; }
.topbar-spacer { flex: 1; }
.host-switch {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  padding: 8px 12px; border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(8,9,12,.72);
}
.host-switch a {
  font-size: 12.5px; font-weight: 600; color: var(--silver);
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04);
}
.host-switch a:hover { color: #fff; border-color: var(--champagne); }
.host-switch a.is-current {
  color: #14120e; border-color: transparent;
  background: linear-gradient(180deg, #f4f1ea, #c9b896);
}
.auth-panel .host-switch { margin: 0 0 14px; border-radius: 12px; }
.topbar-tag {
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700;
  color: #14120e; background: linear-gradient(180deg, #f4f1ea, #c9b896);
  border-radius: 999px; padding: 4px 9px;
}
.icon-btn {
  width: 36px; height: 36px; border-radius: 10px; flex: 0 0 auto;
  display: inline-grid; place-items: center; cursor: pointer;
  border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.06); color: var(--text);
  transition: border-color .15s var(--ease), background .15s var(--ease), transform .15s var(--ease);
}
.icon-btn:hover { border-color: var(--champagne); background: rgba(255,255,255,.1); transform: translateY(-1px); }
.nav-toggle-bars {
  display: grid; gap: 4px; width: 14px;
}
.nav-toggle-bars i {
  display: block; height: 1.5px; border-radius: 2px; background: var(--silver);
  transition: transform .22s var(--ease), opacity .22s var(--ease);
}
.shell.is-side-open .nav-toggle-bars i:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.shell.is-side-open .nav-toggle-bars i:nth-child(2) { opacity: 0; }
.shell.is-side-open .nav-toggle-bars i:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.main { padding: 14px 16px 56px; max-width: 1040px; width: 100%; min-width: 0; animation: rise .35s var(--ease); }
.public-shell { max-width: 1080px; margin: 0 auto; padding: 12px 16px 48px; width: 100%; min-width: 0; animation: rise .4s var(--ease); }
.public-shell--home { padding-top: 4px; }
.shell--public .side { background: linear-gradient(180deg, rgba(30,32,40,.98), rgba(16,18,24,.99)); }
.top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
h1, .display { font-family: var(--display); font-size: 20px; font-weight: 700; margin: 0; letter-spacing: -.03em; }
h2 { font-family: var(--display); font-size: 15px; margin: 0 0 6px; font-weight: 600; letter-spacing: -.02em; }
p { margin: 0 0 8px; }
.muted { color: var(--muted); }
.grid { display: grid; gap: 12px; }
.grid.cards { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.card {
  background:
    linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.03)),
    linear-gradient(180deg, rgba(36,40,50,.97), rgba(18,20,26,.99));
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 12px 14px;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.07);
  transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.card:hover { border-color: rgba(224,208,174,.45); }
.stat { font-family: var(--display); font-size: 22px; font-weight: 700; letter-spacing: -.03em; }
label { display: block; margin: 8px 0 4px; color: var(--silver); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; font-weight: 600; }
input, select, textarea {
  width: 100%; min-width: 0; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: 10px;
  padding: 10px 12px; outline: none; color: var(--text);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease), background .15s var(--ease);
}
input::placeholder, textarea::placeholder { color: #9a958c; font-size: 12.5px; opacity: 1; text-transform: none; letter-spacing: 0; }
textarea { min-height: 72px; resize: vertical; }
form.card, .card.compact, form.compact { padding: 16px 18px; }
.compact h1, form.card h1 { font-size: 20px; margin-bottom: 6px; color: #fffef9; }
.hint { font-size: 12px; margin: 4px 0 0; line-height: 1.45; color: var(--muted); }
.otp-row {
  display: grid; grid-template-columns: minmax(0, 1fr) 112px; gap: 8px; align-items: stretch;
  width: 100%;
}
.otp-row input { min-width: 0; width: 100%; }
.otp-send, .otp-row .btn {
  width: 100%; min-width: 0; min-height: 42px; padding: 8px 10px;
  display: inline-flex; align-items: center; justify-content: center;
  white-space: nowrap; font-weight: 650;
}
.otp-status { min-height: 2.6em; }
input:focus, select:focus, textarea:focus {
  border-color: rgba(224,208,174,.65); box-shadow: 0 0 0 3px rgba(224,208,174,.14); background: rgba(255,255,255,.08);
}
.row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.btn {
  border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.08); color: var(--text); border-radius: 10px;
  padding: 9px 15px; cursor: pointer; position: relative; overflow: hidden;
  transition: border-color .15s var(--ease), transform .15s var(--ease), background .15s var(--ease), filter .15s var(--ease);
}
.btn:hover { border-color: var(--champagne); background: rgba(255,255,255,.12); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }
.btn.primary {
  background: linear-gradient(180deg, #f7f3eb, #d6c9b0);
  color: #12100c; border-color: #ebe3d4; font-weight: 700;
}
.btn.primary::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.38) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: btnSheen 4.8s var(--ease) infinite;
}
.btn.primary:hover { filter: brightness(1.04); }
.btn.ghost {
  background: transparent; border-color: rgba(224,208,174,.45); color: var(--silver);
}
.btn.ghost:hover { border-color: var(--champagne); color: #fff; background: rgba(224,208,174,.08); }
.btn.danger { border-color: #6d3034; color: #ffd5d7; }
.btn.tiny { padding: 5px 10px; font-size: 12px; }
.btn-block { width: 100%; display: inline-flex; align-items: center; justify-content: center; margin-top: 14px; min-height: 44px; }
.ico { width: 16px; height: 16px; flex: 0 0 auto; }

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 4px 14px; text-decoration: none; color: inherit;
}
.brand--compact { gap: 8px; margin: 0; }
.brand--compact .brand-mark {
  width: 28px; height: 28px; border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(201,184,150,.3), 0 4px 12px rgba(0,0,0,.35);
}
.brand--compact .brand-word-main { font-size: 13px; }
.brand--compact .brand-word-sub { font-size: 9px; letter-spacing: .1em; }
.brand-mark {
  flex: 0 0 auto; width: 36px; height: 36px; border-radius: 11px;
  box-shadow: 0 0 0 1px rgba(201,184,150,.28), 0 8px 20px rgba(0,0,0,.4);
}
.brand-mark svg { display: block; width: 100%; height: 100%; }
.brand-word { display: grid; gap: 1px; line-height: 1.05; }
.brand-word-main {
  font-family: var(--display); font-weight: 700; font-size: 15px;
  letter-spacing: -.04em; color: #f4f1ea;
}
.brand-word-sub {
  font-family: var(--display); font-size: 11px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--champagne); opacity: .9;
}
.brand-scan { animation: brandScan 2.2s ease-in-out infinite; }
.brand-lock { animation: softPulse 3.2s ease-in-out infinite; }
@keyframes brandScan {
  0%, 100% { transform: translateY(-5px); opacity: .35; }
  50% { transform: translateY(6px); opacity: 1; }
}
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes softPulse { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes ringSpin { to { transform: rotate(360deg); } }
@keyframes shineSweep {
  0% { transform: translateX(-40%) rotate(12deg); opacity: 0; }
  30% { opacity: .45; }
  100% { transform: translateX(120%) rotate(12deg); opacity: 0; }
}
@keyframes btnSheen {
  0%, 70% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}
@keyframes authGlow {
  0%, 100% { opacity: .55; }
  50% { opacity: .9; }
}

.flash {
  border-radius: 10px; padding: 9px 12px; margin-bottom: 12px;
  border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.06);
}
.flash.success { border-color: rgba(45,212,168,.35); color: var(--green); background: rgba(45,212,168,.06); }
.flash.error { border-color: #6d3034; color: #ffb4b8; background: rgba(240,113,120,.06); }
.table-wrap { overflow: auto; border-radius: 10px; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 8px 8px; border-bottom: 1px solid var(--line-soft); white-space: nowrap; }
th { color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.pill {
  display: inline-flex; align-items: center; border-radius: 999px;
  padding: 2px 9px; border: 1px solid var(--line); color: var(--muted); font-size: 11px;
}
.pill.captured, .pill.active { color: var(--green); border-color: rgba(45,212,168,.4); background: rgba(45,212,168,.08); }
.pill.failed, .pill.suspended { color: var(--danger); border-color: #6d3034; background: rgba(240,113,120,.08); }
.pill.pending { color: var(--warn); border-color: #6d5a2a; background: rgba(224,180,92,.08); }

.date-filters { display: grid; gap: 8px; margin-top: 8px; }
.date-chips {
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
}
.date-chip {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 600;
  text-decoration: none; color: var(--muted);
  border: 1px solid var(--line); background: rgba(17,18,22,.7);
  transition: border-color .15s var(--ease), color .15s var(--ease), background .15s var(--ease);
}
.date-chip:hover { border-color: rgba(201,184,150,.45); color: var(--silver); }
.date-chip.is-active {
  color: #14120e; border-color: #e8e0d2;
  background: linear-gradient(180deg, #f4f1ea, #d9d0c0);
}
.date-custom {
  display: none; flex-wrap: wrap; gap: 8px; align-items: end;
  padding: 8px; border-radius: 10px; border: 1px solid var(--line-soft);
  background: rgba(13,14,18,.55);
}
.date-custom.is-open { display: flex; }
.date-custom-field { display: grid; gap: 4px; min-width: 132px; flex: 1 1 132px; }
.date-custom-field span { font-size: 11px; color: var(--muted); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.date-custom-field input[type="date"] { padding: 7px 10px; font-size: 13px; }

.link-bar {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line-soft);
  background: rgba(13,14,18,.55);
}
.link-bar-url {
  flex: 1 1 160px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: 12px; color: var(--champagne); background: transparent; border: 0; padding: 0;
}

.site-brand-bar {
  display: grid; gap: 2px; justify-items: center; text-align: center;
  margin: 0 0 12px; padding: 12px 14px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  background:
    linear-gradient(180deg, rgba(255,255,255,.1), rgba(201,184,150,.08));
}
.site-brand-kicker {
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); font-weight: 600;
}
.site-brand-name {
  font-family: var(--display); font-size: clamp(15px, 4.5vw, 18px);
  letter-spacing: -.03em; color: #f4f1ea;
  max-width: 100%; overflow-wrap: anywhere; word-break: break-word;
}
.site-brand-note { font-size: 12px; }

.auth {
  min-height: 100vh; display: grid; place-items: center; padding: 24px 16px;
  background:
    radial-gradient(720px 380px at 50% -18%, rgba(255,255,255,.12), transparent 58%),
    radial-gradient(520px 300px at 85% 100%, rgba(224,208,174,.12), transparent 54%),
    radial-gradient(420px 240px at 10% 80%, rgba(61,224,181,.05), transparent 60%),
    var(--bg);
  position: relative;
}
.auth::before {
  content: ""; position: absolute; width: min(420px, 70vw); aspect-ratio: 1;
  border-radius: 50%; border: 1px dashed rgba(224,208,174,.22);
  top: 12%; right: 8%; pointer-events: none; animation: ringSpin 36s linear infinite, authGlow 5s ease-in-out infinite;
}
.auth-panel {
  width: min(400px, 100%);
  max-width: 100%;
  display: grid;
  gap: 0;
  position: relative;
  z-index: 1;
}
.auth .card,
.auth .auth-card {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  animation: rise .42s var(--ease);
  border-color: rgba(255,255,255,.16);
  box-shadow: var(--shadow), 0 0 0 1px rgba(224,208,174,.08), inset 0 1px 0 rgba(255,255,255,.08);
}
.auth .brand { margin: 0 auto 16px; justify-content: center; }
.auth-meta {
  margin-top: 14px;
  display: grid;
  gap: 8px;
  text-align: center;
}
.auth-meta a { font-weight: 600; }
.auth-meta .muted { margin: 0; }
.auth-extra { margin-top: 10px; display: flex; justify-content: center; }
.auth .flash { width: 100%; box-sizing: border-box; }

.pay-body .install-fab,
.pay-body .install-pop,
.pay-body .whatsapp-fab { display: none !important; }
.pay-body {
  --pay-accent: var(--champagne);
  --pay-accent-soft: #e8e0d2;
  --pay-bg: var(--bg);
  --pay-bg-mid: #1c1f27;
  --pay-card: #fffaf3;
  --pay-card-text: #14120e;
  --pay-card-muted: #5c574c;
  --pay-btn-text: #14120e;
  background:
    radial-gradient(920px 460px at 50% -14%, rgba(255,255,255,.12), transparent 58%),
    radial-gradient(640px 320px at 100% 80%, color-mix(in srgb, var(--pay-accent) 18%, transparent), transparent 55%),
    linear-gradient(180deg, var(--pay-bg-mid) 0%, var(--pay-bg) 45%, #0f1116 100%);
  min-height: 100vh;
}
.pay-body.pay-themed {
  background:
    radial-gradient(920px 460px at 50% -14%, color-mix(in srgb, var(--pay-accent) 22%, transparent), transparent 58%),
    radial-gradient(640px 320px at 100% 80%, color-mix(in srgb, var(--pay-accent) 16%, transparent), transparent 55%),
    linear-gradient(180deg, var(--pay-bg-mid) 0%, var(--pay-bg) 48%, color-mix(in srgb, var(--pay-bg) 85%, #000) 100%);
}
.pay {
  max-width: 420px; width: 100%; margin: 0 auto;
  padding: 16px 14px 48px; animation: rise .35s var(--ease);
  min-width: 0; overflow-x: clip;
}
.pay-shell { display: grid; gap: 14px; min-width: 0; }
.pay .brand { margin: 0 auto 14px; max-width: 100%; }
.qr-card {
  position: relative; overflow: hidden; min-width: 0;
  background:
    linear-gradient(165deg, #ffffff 0%, var(--pay-card) 42%, color-mix(in srgb, var(--pay-card) 78%, var(--pay-accent)) 100%);
  color: var(--pay-card-text); border-radius: 22px; padding: 22px 18px 20px; text-align: center;
  border: 2px solid color-mix(in srgb, var(--pay-accent) 55%, transparent);
  box-shadow:
    0 24px 52px rgba(0,0,0,.36),
    0 0 0 1px rgba(255,255,255,.65) inset,
    0 1px 0 rgba(255,255,255,.9) inset;
  animation: rise .4s var(--ease);
}
.qr-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--pay-accent) 70%, #000), var(--pay-accent), var(--green), var(--pay-accent), color-mix(in srgb, var(--pay-accent) 70%, #000));
  background-size: 200% 100%;
  animation: payBar 4.5s ease-in-out infinite;
}
.qr-card::after {
  content: ""; position: absolute; inset: 8px; border-radius: 16px; pointer-events: none;
  border: 1px solid rgba(143,130,104,.22);
}
.qr-card--paid {
  background: linear-gradient(165deg, #f7fffb 0%, #e8f7ef 100%);
  border-color: rgba(45,212,168,.45);
}
.qr-logo {
  width: 48px; height: 48px; object-fit: cover; border-radius: 12px;
  margin: 0 auto 10px; display: block; position: relative; z-index: 1;
  box-shadow: 0 4px 14px rgba(0,0,0,.12); border: 2px solid #fff;
}
.qr-frame {
  position: relative; z-index: 1;
  margin: 16px auto 0; padding: 14px;
  width: fit-content; max-width: 100%;
  border-radius: 18px;
  background: #fff;
  border: 2px solid color-mix(in srgb, var(--pay-card-text) 88%, transparent);
  box-shadow:
    0 0 0 4px rgba(255,255,255,.95),
    0 0 0 6px color-mix(in srgb, var(--pay-accent) 55%, transparent),
    0 12px 28px rgba(20,18,14,.1);
}
.qr-img {
  display: block; width: min(228px, 68vw); height: auto;
  border-radius: 4px; image-rendering: pixelated;
}
.qr-scan-hint {
  position: relative; z-index: 1;
  margin: 14px 0 0; font-size: 12px; font-weight: 600;
  letter-spacing: .02em; color: var(--pay-card-muted);
}
.qr-title-row {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 6px; margin-top: 4px; min-width: 0;
}
.qr-merchant {
  font-family: var(--display); font-size: clamp(16px, 4.6vw, 19px);
  letter-spacing: -.02em; max-width: 100%; font-weight: 700;
  overflow-wrap: anywhere; word-break: break-word;
}
.qr-amount {
  position: relative; z-index: 1;
  font-family: var(--display); font-size: clamp(28px, 8.2vw, 36px);
  font-weight: 800; letter-spacing: -.045em; margin: 10px 0 4px; line-height: 1.05;
  color: var(--pay-card-text);
}
.qr-ref {
  position: relative; z-index: 1;
  color: var(--pay-card-muted) !important; margin: 0; font-size: 11px; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase;
  overflow-wrap: anywhere; word-break: break-all;
}
.qr-hint { position: relative; z-index: 1; margin-top: 10px; color: var(--pay-card-muted) !important; }
.qr-manual {
  position: relative; z-index: 1;
  margin-top: 10px; white-space: pre-wrap; text-align: left;
  overflow-wrap: anywhere; word-break: break-word; font-size: 13px;
  padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.7);
  border: 1px solid rgba(20,18,14,.06);
}
.qr-paid-banner {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin: 16px auto 4px; max-width: 280px; text-align: left;
  padding: 12px 14px; border-radius: 14px;
  background: rgba(45,212,168,.12); border: 1px solid rgba(45,212,168,.35);
}
.qr-paid-icon {
  width: 36px; height: 36px; border-radius: 999px; flex: 0 0 auto;
  display: grid; place-items: center; font-weight: 800; font-size: 16px;
  background: #2dd4a8; color: #06281c;
}
.collect-card { padding-bottom: 24px; }
.collect-kicker {
  position: relative; z-index: 1;
  display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: var(--pay-card-muted); margin-bottom: 8px;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(255,255,255,.65); border: 1px solid color-mix(in srgb, var(--pay-accent) 25%, transparent);
}
.collect-lead {
  position: relative; z-index: 1;
  margin: 10px auto 0; max-width: 30ch; font-size: 13px; color: var(--pay-card-muted) !important; line-height: 1.45;
}
.pay-cta {
  position: relative; z-index: 1;
  margin: 16px auto 0; width: 100%; max-width: 280px; display: inline-flex;
  justify-content: center; align-items: center; min-height: 46px; font-weight: 700;
}
.pay-body.pay-themed .btn.primary,
.pay-body.pay-themed .pay-cta.btn.primary {
  background: linear-gradient(180deg, color-mix(in srgb, var(--pay-accent) 88%, #fff), var(--pay-accent));
  color: var(--pay-btn-text);
  border-color: color-mix(in srgb, var(--pay-accent) 70%, #000);
}
.pay-body.pay-themed .site-brand-bar {
  border-color: color-mix(in srgb, var(--pay-accent) 35%, transparent);
  background: linear-gradient(180deg, color-mix(in srgb, var(--pay-accent) 18%, transparent), color-mix(in srgb, var(--pay-accent) 8%, transparent));
}
.pay-body.pay-themed .site-brand-name { color: color-mix(in srgb, var(--pay-accent) 40%, #fff); }
.pay-panel {
  margin: 0; min-width: 0; padding: 16px !important; gap: 12px;
  border-color: rgba(255,255,255,.14);
  animation: rise .45s var(--ease);
}
.pay-status-row {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.pay-msg {
  margin: 0; font-size: 12px; line-height: 1.45;
  overflow-wrap: anywhere; word-break: break-word;
}
.pay-live-hint {
  margin: 0; font-size: 11px; font-weight: 600; letter-spacing: .04em;
  color: var(--warn); display: flex; align-items: center; gap: 8px;
}
.pay-live-hint::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--warn); box-shadow: 0 0 0 0 rgba(224,180,92,.55);
  animation: livePulse 1.6s ease-out infinite;
}
.pay-actions {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: stretch;
}
.pay-actions .btn.tiny {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 8px 12px; font-size: 12px; min-height: 38px; font-weight: 650;
  flex: 1 1 calc(50% - 4px); text-align: center;
  border-color: rgba(255,255,255,.16);
  background: rgba(255,255,255,.07);
}
.pay-apps-head {
  margin: 6px 0 0; font-size: 11px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.apps {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  margin: 0; min-width: 0;
}
.app-btn {
  display: flex; align-items: center; gap: 8px;
  min-width: 0; padding: 10px 11px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  color: var(--text);
  text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent;
  touch-action: manipulation; user-select: none;
  transition: border-color .15s var(--ease), transform .15s var(--ease), background .15s var(--ease);
}
.app-btn:hover, .app-btn:focus-visible {
  border-color: var(--champagne); transform: translateY(-1px);
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.05));
  color: var(--text); outline: none;
}
.app-btn:active { transform: translateY(0); background: rgba(255,255,255,.08); }
.app-btn .mark, .app-btn .app-btn-label { pointer-events: none; }
.app-btn-label {
  min-width: 0; flex: 1;
  font-size: 12px; font-weight: 600; line-height: 1.2;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.mark {
  width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center;
  flex: 0 0 auto;
  background: rgba(255,255,255,.08); color: var(--champagne); font-size: 11px; font-weight: 700;
  border: 1px solid rgba(201,184,150,.32);
}
.pay-utr { margin-top: 4px; display: grid; gap: 6px; }
.pay-utr .btn { width: 100%; min-height: 44px; }
@keyframes payBar {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(224,180,92,.5); }
  70% { box-shadow: 0 0 0 8px rgba(224,180,92,0); }
  100% { box-shadow: 0 0 0 0 rgba(224,180,92,0); }
}
.checkout-card {
  max-width: 360px; width: 100%; margin: 0 auto; min-width: 0;
}
.checkout-plan, .checkout-amount { overflow-wrap: anywhere; }
.checkout-pay { width: 100%; margin-top: 8px; }
.admin-checkout-form { display: grid; gap: 4px; }
.admin-checkout-section {
  margin-top: 18px; padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}
.admin-checkout-section h2 {
  font-size: 15px; margin: 0 0 4px; color: #fffef9;
}
.upi-admin-list { display: grid; gap: 8px; margin-top: 10px; }
.upi-admin-row {
  padding: 12px 14px; border-radius: 12px;
  border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(13,14,18,.55));
  transition: border-color .15s var(--ease);
}
.upi-admin-row:hover { border-color: rgba(224,208,174,.35); }
.upi-admin-toggle {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin: 0 0 8px; text-transform: none; letter-spacing: 0; font-size: 14px; color: var(--text);
}
.upi-admin-toggle input { width: auto; accent-color: var(--champagne); }
.upi-admin-name { font-weight: 700; }
.pay-btn-admin-grid {
  display: grid; gap: 8px; margin-top: 12px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.pay-btn-admin-toggle {
  display: flex; align-items: flex-start; gap: 10px;
  margin: 0; padding: 12px 14px; border-radius: 12px;
  border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(13,14,18,.55));
  text-transform: none; letter-spacing: 0; font-size: 13px; color: var(--text);
  cursor: pointer; transition: border-color .15s var(--ease), transform .15s var(--ease);
}
.pay-btn-admin-toggle:hover { border-color: rgba(224,208,174,.4); transform: translateY(-1px); }
.pay-btn-admin-toggle input { width: auto; margin-top: 3px; accent-color: var(--champagne); flex: 0 0 auto; }
.pay-btn-admin-toggle strong { display: block; font-size: 13px; color: #fffef9; }
.pay-btn-admin-toggle .hint { display: block; margin: 2px 0 0; }
.premium-frame {
  border: 1px solid rgba(201,184,150,.45); border-radius: 14px; padding: 8px;
  background: linear-gradient(180deg, rgba(40,36,28,.9), rgba(16,16,18,.98));
  box-shadow: inset 0 0 0 1px rgba(201,184,150,.12), 0 10px 28px rgba(0,0,0,.35);
}
.premium-shot { position: relative; border-radius: 10px; overflow: hidden; background: #0c0c0c; min-height: 120px; }
.premium-shot img { display: block; width: 100%; height: 160px; object-fit: cover; }
.premium-ribbon {
  position: absolute; top: 0; left: 0; right: 0; padding: 7px 8px; text-align: center;
  letter-spacing: .18em; font-size: 11px; font-weight: 800; color: #14120e;
  background: linear-gradient(180deg, rgba(244,241,234,.92), rgba(201,184,150,.88));
  border-bottom: 1px solid rgba(201,184,150,.5);
}
.premium-copy { padding: 10px 6px 4px; min-width: 0; overflow-wrap: anywhere; word-break: break-word; }
.premium-copy strong, .premium-copy p { max-width: 100%; }
.badge-verified {
  display: inline-flex; align-items: center; gap: 4px; flex: 0 0 auto;
  background: #e8f0ff; color: #1e6bff; border: 1px solid #b7d0ff;
  font-weight: 700; font-size: 12px; padding: 2px 8px 2px 4px; border-radius: 999px;
  vertical-align: middle;
}
.api-lead { overflow-wrap: anywhere; word-break: break-word; max-width: 100%; }
.badge-verified svg { display: block; flex-shrink: 0; }
.badge {
  color: var(--green); border: 1px solid rgba(45,212,168,.4); border-radius: 999px;
  padding: 2px 8px; font-size: 11px; background: rgba(45,212,168,.1);
}
.chart { display: flex; align-items: flex-end; gap: 4px; height: 90px; }
.chart span {
  flex: 1; background: linear-gradient(180deg, #f4f1ea, #c9b896);
  border-radius: 4px 4px 0 0; min-height: 2px;
}
.toast {
  position: fixed; bottom: 16px; right: 16px; z-index: 50;
  background: linear-gradient(180deg, rgba(40,43,52,.96), rgba(24,26,32,.98));
  border: 1px solid rgba(255,255,255,.16); padding: 9px 13px; border-radius: 10px;
  animation: rise .25s var(--ease); box-shadow: var(--shadow);
}
.warn-banner {
  border: 1px solid #6d5a2a; color: var(--warn); padding: 10px 12px; border-radius: 10px;
  margin-bottom: 12px; background: rgba(224,180,92,.07);
}

/* Landing */
.hero {
  position: relative; min-height: min(88vh, 740px); display: grid; align-content: end;
  padding: 32px 0 44px; overflow: hidden;
}
.hero-visual {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 72% 32%, rgba(201,184,150,.12), transparent 60%),
    radial-gradient(ellipse 45% 40% at 18% 72%, rgba(45,212,168,.07), transparent 65%);
}
.hero-shine {
  position: absolute; top: -20%; left: -10%; width: 40%; height: 140%;
  background: linear-gradient(90deg, transparent, rgba(244,241,234,.09), transparent);
  animation: shineSweep 7s var(--ease) infinite;
}
.hero-orb {
  position: absolute; width: min(440px, 72vw); aspect-ratio: 1; right: -6%; top: 6%;
  border-radius: 42% 58% 48% 52% / 48% 42% 58% 52%;
  border: 1px solid rgba(201,184,150,.28);
  background:
    linear-gradient(145deg, rgba(244,241,234,.08), transparent 45%),
    radial-gradient(circle at 40% 40%, rgba(45,212,168,.14), transparent 55%);
  animation: softPulse 5.5s ease-in-out infinite;
}
.hero-ring {
  position: absolute; width: min(280px, 48vw); aspect-ratio: 1; right: 8%; top: 18%;
  border-radius: 50%; border: 1px dashed rgba(201,184,150,.28);
  animation: ringSpin 28s linear infinite;
}
.hero-grid {
  position: absolute; inset: 12% 8% 18% 42%;
  background-image:
    linear-gradient(rgba(201,184,150,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,184,150,.07) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
  opacity: .75;
}
.hero-copy { position: relative; z-index: 1; max-width: 560px; }
.hero-logo-row { margin-bottom: 16px; animation: rise .45s var(--ease); }
.hero-mark {
  display: inline-grid; place-items: center; padding: 3px;
  border-radius: 16px; box-shadow: 0 14px 34px rgba(0,0,0,.4), 0 0 0 1px rgba(201,184,150,.2);
}
.hero-brand {
  font-family: var(--display); font-size: clamp(42px, 8.8vw, 72px); font-weight: 800;
  letter-spacing: -.055em; line-height: .9; margin: 0 0 16px;
  background: linear-gradient(180deg, #fff8ef 18%, #c9b896 72%, #8f8268 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: rise .55s var(--ease);
}
.hero-line {
  font-family: var(--display); font-size: clamp(18px, 3vw, 24px); font-weight: 600;
  letter-spacing: -.03em; margin: 0 0 10px; max-width: 16ch; color: #ebe7df;
}
.hero-sub { color: var(--silver); max-width: 40ch; margin-bottom: 22px; font-size: 14.5px; line-height: 1.55; opacity: .92; }
.hero-cta { gap: 10px; animation: rise .7s var(--ease); }
.hero-cta .btn { min-height: 44px; padding: 10px 18px; }

.hero-banner-rail {
  position: relative; margin: 18px 0 8px; border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(201,184,150,.22); background: #0d0e12;
  box-shadow: 0 12px 32px rgba(0,0,0,.28);
}
.hero-banner-rail--home { margin-top: 10px; }
.hero-banner-rail--pay { margin: 0 0 14px; border-radius: 14px; }
.hero-banner-rail--dash { margin: 6px 0 10px; }
.hero-banner-track { position: relative; aspect-ratio: 16 / 7; background: #0a0b0e; }
.hero-banner-slide {
  position: absolute; inset: 0; opacity: 0; pointer-events: none;
  transition: opacity .45s var(--ease);
}
.hero-banner-slide.is-active { opacity: 1; pointer-events: auto; }
.hero-banner-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-banner-slide a { display: block; height: 100%; }
.hero-banner-slide figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 14px;
  background: linear-gradient(transparent, rgba(0,0,0,.75));
  font-size: 12px; color: #eee;
}
.hero-banner-dots {
  position: absolute; left: 0; right: 0; bottom: 10px; z-index: 2;
  display: flex; justify-content: center; gap: 6px; pointer-events: none;
}
.hero-banner-dots button {
  pointer-events: auto; width: 8px; height: 8px; border-radius: 999px; padding: 0;
  border: 0; background: rgba(255,255,255,.3); cursor: pointer;
}
.hero-banner-dots button.is-active { background: var(--champagne); width: 18px; }

.banner-admin-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.banner-admin-card {
  border: 1px solid var(--line); border-radius: 12px; padding: 8px; background: #0d0e12;
}
.banner-admin-card img {
  width: 100%; aspect-ratio: 16 / 7; object-fit: cover; border-radius: 8px; display: block; margin-bottom: 6px;
}

.section { margin-top: 36px; padding-top: 8px; animation: rise .5s var(--ease); }
.section-head { margin-bottom: 14px; }
.section-head h2 { font-size: 22px; font-weight: 700; color: #fffef9; }
.section-head .muted { color: var(--muted); max-width: 54ch; }
.plan-card { position: relative; overflow: hidden; transition: transform .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease); }
.plan-card:hover { transform: translateY(-3px); box-shadow: 0 20px 40px rgba(0,0,0,.35); }
.plan-card.featured {
  border-color: rgba(224,208,174,.6);
  background: linear-gradient(180deg, rgba(44,40,30,.97), rgba(14,14,16,.99));
  box-shadow: 0 16px 36px rgba(0,0,0,.32), inset 0 1px 0 rgba(224,208,174,.12);
}
.plan-card.featured::before {
  content: "PREMIUM"; position: absolute; top: 12px; right: 12px;
  font-size: 10px; letter-spacing: .16em; font-weight: 800; color: #14120e;
  background: linear-gradient(180deg, #f4f1ea, #c9b896); border-radius: 999px; padding: 4px 9px;
}
.plan-card ul { margin: 8px 0 12px; padding-left: 16px; color: var(--muted); }
.plan-card li { margin: 4px 0; }

.feature-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px;
}
.feature-strip article {
  padding: 16px 0; border-top: 1px solid rgba(224,208,174,.28);
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.feature-strip article:hover { border-color: rgba(224,208,174,.55); transform: translateY(-2px); }
.feature-strip h3 { font-family: var(--display); font-size: 15px; margin: 0 0 6px; font-weight: 650; color: #fffef9; }
.feature-strip .muted { color: var(--muted); font-size: 13px; line-height: 1.5; }

.dash-stat {
  position: relative; overflow: hidden;
  transition: transform .2s var(--ease), border-color .2s var(--ease);
}
.dash-stat::after {
  content: ""; position: absolute; inset: auto -20% -40% auto; width: 120px; height: 120px;
  border-radius: 50%; background: radial-gradient(circle, rgba(224,208,174,.12), transparent 70%);
  pointer-events: none;
}
.dash-stat:hover { transform: translateY(-2px); border-color: rgba(224,208,174,.4); }
.dash-stat h2 { color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.stack { display: grid; gap: 10px; margin-top: 12px; }

.pm-tabs {
  display: flex; flex-wrap: nowrap; gap: 8px;
  padding: 4px 2px 10px; border-bottom: 1px solid var(--line-soft);
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.docs-top { flex-wrap: wrap; gap: 10px; min-width: 0; }
.docs-top h1 { min-width: 0; overflow-wrap: anywhere; }
.docs-top .btn { flex: 0 0 auto; white-space: nowrap; }
.docs-lead { margin-bottom: 14px; max-width: 62ch; overflow-wrap: anywhere; }
.docs-download-hint { margin-bottom: 12px; min-width: 0; }
.docs-download-hint p, .docs-section p { overflow-wrap: anywhere; word-break: break-word; }
.docs-section { margin-top: 12px; min-width: 0; overflow: hidden; }
.docs-section h3 {
  font-family: var(--display); font-size: 14px; font-weight: 650;
  margin: 12px 0 6px; color: #fffef9; letter-spacing: -.02em;
}
.docs-steps { padding-left: 18px; margin: 0; color: var(--muted); display: grid; gap: 8px; }
.docs-steps li { overflow-wrap: anywhere; word-break: break-word; }
.docs-steps a { font-weight: 600; }
.docs-table { table-layout: fixed; width: 100%; }
.docs-table td, .docs-table th { white-space: normal; overflow-wrap: anywhere; word-break: break-word; }
.docs-table td.muted { white-space: normal; max-width: none; }
.docs-pre { max-height: 420px; }
.site-card { min-width: 0; overflow: hidden; }
.site-card h2 { overflow-wrap: anywhere; word-break: break-word; }
.site-card code { max-width: 100%; display: inline-block; }
.site-card-head { justify-content: space-between; align-items: flex-start; gap: 8px; }
.site-slug { font-size: 11px; overflow-wrap: anywhere; word-break: break-all; }
.checkout-theme {
  margin-top: 10px; padding: 12px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.03);
  display: grid; gap: 10px;
}
.checkout-theme-head {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.checkout-theme-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px;
}
.checkout-swatch {
  display: grid; gap: 6px; margin: 0; text-transform: none; letter-spacing: 0; font-size: 11px; color: var(--muted);
}
.checkout-swatch input[type="color"] {
  width: 100%; height: 40px; padding: 0; border: 1px solid var(--line);
  border-radius: 10px; background: transparent; cursor: pointer;
}
.checkout-theme-preview { display: grid; gap: 6px; }
.ctp-shell {
  border-radius: 14px; padding: 14px 12px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--preview-bg, #12141a) 92%, #fff), var(--preview-bg, #12141a));
  border: 1px solid rgba(255,255,255,.1);
}
.ctp-card {
  display: grid; gap: 6px; justify-items: center; text-align: center;
  padding: 14px 12px; border-radius: 12px;
  background: var(--preview-card, #fffaf3); color: #14120e;
  border: 2px solid color-mix(in srgb, var(--preview-accent, #c9b896) 55%, transparent);
}
.ctp-name { font-weight: 700; font-size: 13px; max-width: 100%; overflow-wrap: anywhere; }
.ctp-amt { font-family: var(--display); font-size: 22px; font-weight: 800; letter-spacing: -.04em; }
.ctp-btn {
  margin-top: 4px; min-width: 88px; padding: 7px 14px; border-radius: 9px;
  background: var(--preview-accent, #c9b896); color: #14120e; font-weight: 700; font-size: 12px;
}
.pm-tab {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px; border-radius: 10px; font-size: 13px; font-weight: 600;
  color: var(--muted); border: 1px solid transparent; background: transparent;
}
.pm-tab:hover { color: var(--silver); border-color: rgba(201,184,150,.25); }
.pm-tab.active {
  color: var(--champagne); border-color: rgba(201,184,150,.4);
  background: rgba(201,184,150,.08);
}
.pm-tab-count, .pm-tab-default, .pm-tab-badge {
  font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  padding: 2px 6px; border-radius: 999px; border: 1px solid rgba(201,184,150,.35);
  color: var(--champagne);
}
.pm-tab-badge { color: var(--green); border-color: rgba(45,212,168,.4); background: rgba(45,212,168,.08); }
.pm-tab-default { color: var(--green); border-color: rgba(45,212,168,.4); }
.pm-method-banner {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 12px;
  margin-top: 14px; padding: 16px 18px; border-radius: 12px;
  border: 1px solid rgba(201,184,150,.28);
  background: linear-gradient(135deg, rgba(201,184,150,.1), rgba(45,212,168,.05));
  color: #f4f1ea;
}
.pm-method-banner h2 { margin: 0 0 4px; font-size: 18px; color: inherit; }
.pm-method-banner p { margin: 0; font-size: 13px; opacity: .9; }
.pm-method-banner--upi { background: linear-gradient(135deg, #ff6b00, #ff4500); border-color: transparent; }
.pm-method-banner--sms { background: linear-gradient(135deg, #0ea5e9, #0369a1); border-color: transparent; }
.pm-method-banner--bharat { background: linear-gradient(135deg, #ff6b00, #ea580c); border-color: transparent; }
.pm-method-banner--heleket { background: linear-gradient(135deg, #8b5cf6, #7c3aed); border-color: transparent; }
.pm-method-banner--manual { background: linear-gradient(135deg, #3f3f46, #27272a); border-color: rgba(255,255,255,.08); }
.pm-method-status {
  flex: 0 0 auto; font-size: 12px; font-weight: 700; letter-spacing: .04em;
  padding: 6px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.12); color: #fff;
}
.pm-method-status.status-on { color: #d1fae5; border-color: rgba(16,185,129,.45); background: rgba(16,185,129,.22); }
.pm-method-status.status-off { opacity: .85; }
.pm-tab-live { color: var(--green) !important; border-color: rgba(45,212,168,.4) !important; background: rgba(45,212,168,.08) !important; }
.pm-webhook-box {
  padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line-soft);
  background: rgba(13,14,18,.55);
}
.pm-method-status.status-off { color: var(--muted); }
.pm-method-panel { margin-top: 10px; }
.callback-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; }
.pm-method-head {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 12px;
}
.pm-method-head h2 { margin: 0 0 4px; font-size: 18px; }
.pm-account-block {
  margin-bottom: 14px; padding-bottom: 14px;
  border-bottom: 1px dashed rgba(201,184,150,.28);
  display: grid; gap: 6px;
}
.pm-account-title {
  display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px;
}
.pm-default-check { font-size: 13px; color: var(--muted); }

.site-foot {
  margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line-soft);
  display: grid; gap: 8px;
}
.site-foot-brand {
  font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: -.02em;
  color: var(--champagne);
}
.site-foot-nav { display: flex; flex-wrap: wrap; gap: 14px; }
.site-foot-nav a { color: var(--muted); font-size: 12px; }
.site-foot-nav a:hover { color: var(--silver); }

.side-foot { margin-top: auto; display: grid; gap: 6px; padding-top: 12px; }
.side .install-open, .side-foot .btn { width: 100%; }
.whatsapp-link {
  display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px;
  color: #b7f0cf; background: rgba(37, 211, 102, .1); border: 1px solid rgba(37, 211, 102, .35);
  transition: background .15s var(--ease), border-color .15s var(--ease), transform .15s var(--ease);
}
.whatsapp-link:hover { color: #e8fff1; background: rgba(37, 211, 102, .16); border-color: rgba(37, 211, 102, .55); transform: translateY(-1px); }
.whatsapp-fab {
  display: none; position: fixed; left: 12px; bottom: 16px; z-index: 6;
  width: 44px; height: 44px; border-radius: 999px; place-items: center;
  background: #25d366; color: #062813; border: 0; box-shadow: 0 8px 20px rgba(0,0,0,.35);
}
.whatsapp-fab .ico { width: 20px; height: 20px; }
.install-fab { display: none; }
.install-pop { position: fixed; inset: 0; z-index: 40; background: rgba(0,0,0,.7); display: grid; place-items: center; padding: 16px; backdrop-filter: blur(6px); }
.install-pop[hidden] { display: none; }
.install-card { width: min(360px, 100%); animation: rise .28s var(--ease); border-color: rgba(201,184,150,.3); }
.install-options { margin: 8px 0; padding-left: 18px; color: var(--muted); }
.install-options li { margin: 4px 0; }
html.is-installed .install-open,
html.is-installed .install-fab,
html.is-installed .install-pop { display: none !important; }
@media (display-mode: standalone) {
  .install-open, .install-fab, .install-pop { display: none !important; }
}
@media (max-width: 900px) {
  .shell, .shell.is-side-open { grid-template-columns: 1fr; }
  .side {
    position: fixed; left: 0; top: 0; bottom: 0; margin-left: 0;
    width: min(86vw, 280px);
    transform: translateX(-105%); opacity: 1; pointer-events: auto;
    box-shadow: 16px 0 40px rgba(0,0,0,.45);
  }
  .shell.is-side-open .side { transform: translateX(0); }
  .shell.is-side-open .side-backdrop { display: block; }
  .topbar { padding: 8px 10px; gap: 8px; }
  .topbar .brand-word-sub { display: none; }
  .topbar .btn.tiny { padding: 5px 8px; font-size: 11px; }
  .topbar-hide-sm { display: none; }
  .main { padding: 12px 12px 88px; max-width: 100%; }
  .public-shell { padding: 10px 12px 64px; }
  input, select, textarea { font-size: 16px; padding: 10px 12px; } /* prevent iOS zoom */
  .otp-row { grid-template-columns: minmax(0, 1fr) 108px; }
  .otp-send, .otp-row .btn { width: 100%; min-height: 44px; font-size: 12px; }
  form.card, .card.compact, form.compact { padding: 14px; }
  .pm-tab { flex: 0 0 auto; white-space: nowrap; font-size: 12px; padding: 8px 10px; }
  .pm-method-head { flex-direction: column; align-items: flex-start; }
  .pm-account-block { gap: 8px; }
  .checkout-theme-grid { grid-template-columns: 1fr; }
  .docs-pre, pre {
    font-size: 11px; max-width: 100%;
    padding: 8px; border-radius: 8px;
  }
  .docs-table td, .docs-table th { white-space: normal; font-size: 12px; padding: 6px; }
  .table-wrap { margin: 0; max-width: 100%; }
  .top { flex-wrap: wrap; align-items: flex-start; }
  .row { gap: 8px; }
  .btn { min-height: 40px; }
  .btn.tiny { min-height: 34px; }
  .grid.cards { grid-template-columns: 1fr; }
  .pay { padding: 12px 12px 40px; max-width: 100%; }
  .pay-panel { padding: 12px !important; }
  .pay-actions .btn.tiny { flex: 1 1 calc(50% - 6px); }
  .apps { grid-template-columns: 1fr 1fr; gap: 8px; }
  .app-btn { padding: 9px 10px; }
  .qr-card { padding: 18px 14px 16px; border-radius: 18px; border-width: 2px; }
  .qr-card::after { inset: 6px; border-radius: 14px; }
  .qr-frame { padding: 10px; border-width: 2px; }
  .pay-cta { max-width: 100%; }
  .site-brand-bar { padding: 10px 12px; margin-bottom: 10px; }
  .flash { overflow-wrap: anywhere; word-break: break-word; }
  .flash code { display: inline-block; max-width: 100%; }
  h1, h2, .stat { overflow-wrap: anywhere; }
  .callback-row { grid-template-columns: 1fr; }
  .otp-row input { min-width: 0; }
  .whatsapp-fab { display: grid; bottom: 16px; }
  .hero { min-height: 68vh; align-content: center; padding: 20px 2px 24px; }
  .hero-brand { font-size: clamp(36px, 11vw, 56px); }
  .hero-line { font-size: clamp(22px, 7vw, 32px); max-width: 14ch; }
  .hero-sub { font-size: 14px; max-width: 34ch; }
  .hero-cta { width: 100%; }
  .hero-cta .btn { flex: 1 1 140px; justify-content: center; text-align: center; }
  .hero-orb { opacity: .45; top: 0; width: min(320px, 78vw); }
  .hero-ring { opacity: .4; }
  .hero-grid { inset: 8% 0 30% 0; }
  .feature-strip { grid-template-columns: 1fr; gap: 4px; }
  .site-foot { margin-top: 28px; padding-top: 16px; }
  .auth {
    padding: 16px 14px 28px;
    align-content: start;
    place-items: start center;
    padding-top: max(6vh, 24px);
  }
  .auth::before { opacity: .35; top: 4%; right: -18%; }
  .auth-panel { width: min(100%, 400px); }
  .auth .card, .auth .auth-card { width: 100%; }
  .btn-block { min-height: 46px; }
  .muted { color: var(--muted); }
}

@media (max-width: 420px) {
  .otp-row { grid-template-columns: 1fr; }
  .otp-send, .otp-row .btn { min-height: 42px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; flex: none; }
}
@media (min-width: 901px) {
  .side-close { display: none; }
}
html.side-lock, html.side-lock body { overflow: hidden; }

/* Bilingual (i) help tips */
.help-i {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; margin-left: 4px; padding: 0;
  border-radius: 50%; border: 1px solid #9aa3b2; background: #f3f5f8; color: #3a4454;
  font: 700 11px/1 Georgia, "Times New Roman", serif; cursor: help; vertical-align: middle;
}
.help-i:hover, .help-i:focus-visible { background: #1e6bff; color: #fff; border-color: #1e6bff; outline: none; }
.help-pop {
  position: fixed; z-index: 80; max-width: min(340px, calc(100vw - 24px));
  padding: 12px 14px; border-radius: 10px; border: 1px solid #d5dbe6;
  background: #0f1724; color: #f4f6fa; box-shadow: 0 12px 40px rgba(0,0,0,.28);
  font-size: 13px; line-height: 1.45;
}
.help-pop .help-en { margin: 0 0 8px; }
.help-pop .help-hi { margin: 0; opacity: .92; border-top: 1px solid rgba(255,255,255,.12); padding-top: 8px; }
.help-pop[hidden] { display: none !important; }
.pay-hi { margin-top: 8px; opacity: .9; font-size: .95em; }
.site-card h2 .pill { font-size: 11px; margin-left: 6px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .pay-live-hint::before { box-shadow: none !important; }
}
