:root, [data-theme="white"] {
  --bg: #ffffff; --surface: #f5f3ff; --card: #ffffff; --line: #e9e5fb; --text: #14121f; --muted: #6b6880;
  --accent: #6d4bff; --on-accent: #ffffff;
  --hero: linear-gradient(135deg, #6d4bff 0%, #4f46e5 100%); --on-hero: #ffffff;
  --ok: #16a34a; --warn: #d97706; --info: #6d4bff; --bad: #dc2626;
}
[data-theme="white"] .bottom a.on { color: #6d4bff; }
[data-theme="white"] .hero { box-shadow: 0 18px 40px -20px rgba(109, 75, 255, .55); }
/* Giftoia — default brand theme: deep navy + violet */
[data-theme="violet"] {
  --bg: #0a0c12; --surface: #0f131c; --card: #141926; --line: #232a3a; --text: #eaecf3; --muted: #8b92a6;
  --accent: #7c5cff; --on-accent: #ffffff;
  --hero: linear-gradient(135deg, #6d4bff 0%, #4f46e5 100%); --on-hero: #ffffff;
  --ok: #22c55e; --warn: #f59e0b; --info: #a48bff; --bad: #ef4444;
}
[data-theme="violet"] body {
  background:
    radial-gradient(1200px 700px at 80% -10%, rgba(124, 92, 255, .14), transparent 60%),
    radial-gradient(900px 600px at 0% 110%, rgba(236, 72, 153, .10), transparent 55%),
    var(--bg);
}
[data-theme="violet"] .top { background: rgba(10, 12, 18, .82); backdrop-filter: blur(10px); }
[data-theme="violet"] .bottom { background: rgba(15, 19, 28, .92); backdrop-filter: blur(10px); }
[data-theme="violet"] .hero { box-shadow: 0 18px 40px -18px rgba(109, 75, 255, .7); }
[data-theme="violet"] .btn:not(.ghost):not(.tg) { background: linear-gradient(135deg, #7c5cff, #4f46e5); }
[data-theme="violet"] .bottom .sell-btn span { background: linear-gradient(135deg, #7c5cff, #4f46e5); box-shadow: 0 0 0 6px rgba(124, 92, 255, .22), 0 10px 24px -8px rgba(124, 92, 255, .8); }
[data-theme="violet"] .values button.on { border-color: #a48bff; }
[data-theme="violet"] .bottom a.on { color: #a48bff; }
[data-theme="violet"] .offers { background: linear-gradient(90deg, #6d4bff, #4f46e5); }

* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.45 system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif; }
body { padding-bottom: 96px; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
main { max-width: 560px; margin: 0 auto; padding: 8px 16px 24px; }
h1 { font-size: 28px; margin: 12px 0 16px; }
h2 { font-size: 18px; margin: 20px 0 10px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

.top { position: sticky; top: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: var(--bg); max-width: 560px; margin: 0 auto; }
.brand { font-weight: 800; font-size: 20px; letter-spacing: -.5px; }
.top-actions { display: flex; gap: 8px; }
.chip { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; min-width: 38px; height: 38px; padding: 0 10px; display: grid; place-items: center; cursor: pointer; }

.offers { overflow: hidden; background: var(--accent); color: var(--on-accent); font-size: 14px; white-space: nowrap; }
.offers-track { display: inline-block; padding: 7px 0; animation: marquee 22s linear infinite; }
.offers-track span { margin: 0 28px; }
@keyframes marquee { from { transform: translateX(100vw); } to { transform: translateX(-100%); } }
[dir="rtl"] .offers-track { animation-name: marquee-rtl; }
@keyframes marquee-rtl { from { transform: translateX(-100vw); } to { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) { .offers-track { animation: none; } }

.hero { background: var(--hero); color: var(--on-hero); border-radius: 24px; padding: 22px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; width: 260px; height: 110px; border: 1px solid currentColor; opacity: .18; border-radius: 50%; right: -60px; top: 20px; transform: rotate(-18deg); }
.hero .big { font-size: 42px; font-weight: 800; letter-spacing: -1px; }
.hero .big small { font-size: 18px; font-weight: 600; }
.hero .row { display: flex; justify-content: space-between; align-items: center; }
.hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; position: relative; z-index: 1; }
.hero-actions a, .hero-actions button { background: color-mix(in srgb, var(--on-hero) 16%, transparent); border: 0; border-radius: 999px; padding: 12px; text-align: center; color: var(--on-hero); cursor: pointer; font-weight: 600; }

.ticker { display: flex; justify-content: space-between; padding: 12px 4px; color: var(--muted); font-size: 14px; }
.box { background: var(--surface); border-radius: 18px; padding: 14px; margin: 8px 0; }
.box .inner { background: var(--card); border-radius: 14px; padding: 14px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.btn { display: inline-block; border: 0; background: var(--accent); color: var(--on-accent); border-radius: 999px; padding: 12px 18px; font-weight: 700; cursor: pointer; text-align: center; }
.btn.ghost { background: transparent; color: var(--text); border: 1.5px solid var(--text); }
.btn.block { display: block; width: 100%; }
.btn:disabled { opacity: .5; cursor: default; }

.list { list-style: none; margin: 0; padding: 0; }
.list li a, .list li button.rowbtn { display: flex; align-items: center; gap: 14px; padding: 14px 4px; border-bottom: 1px solid var(--line); width: 100%; background: none; border-left: 0; border-right: 0; border-top: 0; cursor: pointer; text-align: start; }
.logo { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 15px; flex: none; background: var(--surface); border: 1px solid var(--line); }
.grow { flex: 1; min-width: 0; }
.name { font-size: 17px; }
.arrow { color: var(--text); }
.arrow { display: inline-block; }
.hero .arrow, .btn .arrow { color: inherit; }
[dir="rtl"] .arrow { transform: scaleX(-1); }
.hot { font-size: 12px; background: var(--accent); color: var(--on-accent); border-radius: 6px; padding: 1px 6px; margin-inline-start: 6px; }

.search { width: 100%; border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 12px 18px; margin-bottom: 14px; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tile { cursor: pointer; background: none; border: 0; padding: 0; text-align: start; }
.tile .face { aspect-ratio: 1.6; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: 22px; position: relative; overflow: hidden; color: #fff; }
.tile .face .rate { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,.45); color: #fff; font-size: 13px; font-weight: 500; padding: 4px 10px; }
.tile .label { display: block; font-weight: 600; margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.values button { border: 1.5px solid var(--line); background: var(--card); border-radius: 14px; padding: 14px 0; font-weight: 700; cursor: pointer; }
.values button.on { border-color: var(--text); background: var(--accent); color: var(--on-accent); }
.quote { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0; }
.quote div { background: var(--surface); border-radius: 14px; padding: 12px; }
.quote b { display: block; font-size: 22px; }
textarea, .input { width: 100%; border: 1.5px solid var(--line); background: var(--card); border-radius: 14px; padding: 14px; resize: vertical; }
textarea:focus, .input:focus { outline: none; border-color: var(--text); }
label { display: block; font-size: 14px; color: var(--muted); margin: 12px 0 6px; }
.steps { display: flex; gap: 6px; margin-bottom: 14px; }
.steps i { flex: 1; height: 4px; border-radius: 4px; background: var(--line); }
.steps i.on { background: var(--text); }

.order { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px; margin-bottom: 12px; }
.order .head { display: flex; gap: 12px; align-items: center; }
.order .sub { background: var(--surface); border-radius: 12px; padding: 10px 12px; margin-top: 10px; font-size: 14px; }
.order .sub .line { display: flex; justify-content: space-between; color: var(--muted); }
.st { font-weight: 700; font-size: 14px; white-space: nowrap; }
.st.RECEIVED, .st.PENDING { color: var(--warn); } .st.USING { color: var(--info); } .st.COMPLETED, .st.PAID { color: var(--ok); } .st.REJECTED { color: var(--bad); }

.tx { display: flex; justify-content: space-between; padding: 12px 2px; border-bottom: 1px solid var(--line); gap: 10px; }
.tx .amt.pos { color: var(--ok); } .tx .amt.neg { color: var(--bad); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stats div { background: var(--surface); border-radius: 14px; padding: 12px; }
.stats b { display: block; font-size: 20px; }
.copy { display: flex; gap: 8px; } .copy input { flex: 1; }
.menu { background: var(--surface); border-radius: 18px; padding: 0 16px; margin-top: 16px; }
.menu .list li:last-child a, .menu .list li:last-child button.rowbtn { border-bottom: 0; }
.tabs { display: flex; gap: 8px; margin-bottom: 12px; }
.tabs button { flex: 1; }
.empty { text-align: center; color: var(--muted); padding: 48px 0; }
.err { color: var(--bad); font-size: 14px; min-height: 20px; margin-top: 8px; }

.bottom { position: fixed; bottom: 0; left: 0; right: 0; display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; background: var(--surface); border-top: 1px solid var(--line); padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); z-index: 6; }
.bottom a { display: flex; flex-direction: column; align-items: center; font-size: 12px; color: var(--muted); gap: 2px; }
.bottom a span { font-size: 20px; line-height: 1; }
.bottom a.on { color: var(--text); font-weight: 700; }
.bottom .sell-btn span { width: 62px; height: 62px; margin-top: -30px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-size: 28px; box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 18%, transparent); }
.fab { position: fixed; inset-inline-end: 0; top: 45%; background: var(--accent); color: var(--on-accent); padding: 10px 12px; opacity: .92; border-start-start-radius: 22px; border-end-start-radius: 22px; font-size: 22px; z-index: 6; }
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: 110px; background: var(--text); color: var(--bg); padding: 10px 18px; border-radius: 999px; z-index: 10; font-size: 14px; }

.logo.img { width: 42px; height: 56px; border-radius: 7px; background: var(--surface); overflow: hidden; padding: 0; border: 0; box-shadow: 0 1px 3px rgba(0,0,0,.18); margin-inline: 3px; }
.logo.img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile .face.hasimg { background: #111; border: 0; }
.tile .face.hasimg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; max-height: none; margin: 0; }
.eye { background: none; border: 0; color: inherit; font-size: 20px; cursor: pointer; vertical-align: middle; padding: 0 4px; }
.ticker { align-items: center; overflow: hidden; }
.ticker #tick { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; animation: fadein .4s; }
@keyframes fadein { from { opacity: 0; transform: translateY(4px); } }
a.order { display: block; }
.timeline { list-style: none; padding: 0; margin: 0 0 14px; }
.timeline li { position: relative; padding: 0 0 18px; padding-inline-start: 30px; display: flex; flex-direction: column; color: var(--muted); }
.timeline li::before { content: ""; position: absolute; inset-inline-start: 6px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--line); }
.timeline li:not(:last-child)::after { content: ""; position: absolute; inset-inline-start: 11px; top: 18px; bottom: 2px; width: 2px; background: var(--line); }
.timeline li.on { color: var(--text); }
.timeline li.on::before { background: var(--text); }
.timeline li.on.COMPLETED::before { background: var(--ok); }
.timeline li.on.REJECTED::before { background: var(--bad); }
.timeline li.on.USING::before { background: var(--info); }
.faq { border-bottom: 1px solid var(--line); padding: 14px 2px; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { color: var(--muted); margin: 8px 0 0; }

.auth-buttons { display: grid; gap: 10px; margin: 18px 0 6px; }
.gbtn { min-height: 44px; display: flex; justify-content: center; }
.btn.tg { background: #229ED9; color: #fff; }
.sep { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; margin: 14px 0; }
.sep::before, .sep::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.code-input { font-size: 26px; letter-spacing: 10px; text-align: center; font-family: ui-monospace, Consolas, monospace; }
.list.methods li.method { display: flex; align-items: center; gap: 12px; padding: 12px 2px; border-bottom: 1px solid var(--line); }
.list.methods .btn { padding: 8px 14px; }

.custom-amt { margin-top: 12px; }
.custom-amt .copy { align-items: center; }
.custom-amt .cur { font-weight: 700; font-size: 20px; }
.custom-amt .input { font-size: 20px; font-weight: 700; }

.cur-pick { background: color-mix(in srgb, var(--on-hero) 16%, transparent); color: var(--on-hero); border: 0; border-radius: 999px; padding: 6px 12px; font-weight: 700; cursor: pointer; position: relative; z-index: 1; }
.cur-pick option { color: #111; }
.approx { margin-top: 2px; font-size: 15px; opacity: .9; }
.hero-link { display: inline-block; margin-top: 8px; opacity: .85; position: relative; z-index: 1; }

.usage-inline { font-size: 13px; font-weight: 400; color: var(--muted); white-space: nowrap; vertical-align: middle; margin-inline-start: 6px; }

.brand { display: inline-flex; align-items: center; gap: 8px; }
.brand img { border-radius: 7px; }

/* ===== Visual polish: solid buttons, clear edges, line icons ===== */
.ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: middle; }
.ico.sm { width: 15px; height: 15px; stroke-width: 2.2; vertical-align: -2px; }
[data-icon] { display: inline-flex; }
[dir="rtl"] .arrow .ico { transform: scaleX(-1); }
.arrow { color: var(--muted); display: inline-flex; }
.arrow .ico { width: 20px; height: 20px; }

.chip { background: var(--card); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(20, 18, 31, .06); color: var(--text); font-weight: 700; }
.chip .ico { width: 19px; height: 19px; }

.btn { background: linear-gradient(135deg, #7c5cff, #5b46f0); color: #fff; font-weight: 800; letter-spacing: .2px;
  box-shadow: 0 10px 22px -12px rgba(91, 70, 240, .9), inset 0 1px 0 rgba(255, 255, 255, .18); transition: transform .08s ease, box-shadow .15s ease, filter .15s ease; }
.btn:hover:not(:disabled) { filter: brightness(1.06); }
.btn:active:not(:disabled) { transform: translateY(1px) scale(.99); }
.btn:disabled { opacity: 1; background: var(--line); color: var(--muted); box-shadow: none; cursor: not-allowed; }
.btn.ghost { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); box-shadow: none; }
[data-theme="violet"] .btn.ghost { color: #c4b5ff; border-color: #7c5cff; }
.btn.tg { background: #229ED9; box-shadow: 0 10px 22px -12px rgba(34, 158, 217, .9); }

.values button { background: var(--card); border: 1.5px solid var(--line); box-shadow: 0 1px 2px rgba(20, 18, 31, .05); color: var(--text); transition: border-color .12s, transform .08s; }
.values button:hover { border-color: var(--accent); }
.values button.on { background: linear-gradient(135deg, #7c5cff, #5b46f0); border-color: transparent; color: #fff; box-shadow: 0 8px 18px -10px rgba(91, 70, 240, .9); }

.input, textarea, .search { border: 1.5px solid var(--line); background: var(--card); color: var(--text); }
.input:focus, textarea:focus, .search:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 15%, transparent); }

.box { border: 1px solid var(--line); }
.box .inner { border: 1px solid var(--line); }
.box-title { display: flex; align-items: center; gap: 8px; font-weight: 800; margin-bottom: 10px; }
.box-title .ico { color: var(--accent); }
.quote div, .stats div { border: 1px solid var(--line); background: var(--card); }
.order { box-shadow: 0 1px 3px rgba(20, 18, 31, .05); }

/* card thumbnails: a real card placeholder instead of a faded empty box */
.logo.img { background: linear-gradient(135deg, #ece8ff, #dcd5ff); box-shadow: 0 2px 6px rgba(20, 18, 31, .12); }
.logo.avatar { color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, var(--card)); border-color: transparent; }
.logo.avatar .ico { width: 24px; height: 24px; }

.hero-actions a, .hero-actions button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .22); }
.hero-actions .ico { width: 19px; height: 19px; }
.eye { display: inline-flex; opacity: .9; }
.eye .ico { width: 22px; height: 22px; }
.usage-inline .ico { width: 14px; height: 14px; }

/* bottom bar */
.bottom a { gap: 3px; }
.bottom a span .ico { width: 23px; height: 23px; }
.bottom .sell-btn span { color: #fff; }
.bottom .sell-btn span .ico { width: 28px; height: 28px; stroke-width: 2.1; }
.fab { display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 10px 22px -10px rgba(91, 70, 240, .9); }
.fab .ico { width: 24px; height: 24px; }
.list.methods .logo .ico { width: 22px; height: 22px; color: var(--accent); }

/* support button: bottom corner above the nav bar, never over form fields */
.fab { top: auto; bottom: calc(96px + env(safe-area-inset-bottom)); border-radius: 50%; padding: 12px; inset-inline-end: 14px; }
body { padding-bottom: 170px; } /* room so the last button can scroll above the support bubble */

.countries { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.countries button { border: 1.5px solid var(--line); background: var(--card); color: var(--text); border-radius: 999px; padding: 9px 14px; font-weight: 700; cursor: pointer; }
.countries button.on { background: linear-gradient(135deg, #7c5cff, #5b46f0); color: #fff; border-color: transparent; }

/* Country: yellow dropdown with real flags */
.flag-img { width: 22px; height: 16px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0,0,0,.08); vertical-align: -3px; flex: none; }
.flag-img.globe { box-shadow: none; width: auto; height: auto; font-size: 16px; }
.cty-drop { position: relative; margin-bottom: 8px; }
.cty-current { width: 100%; display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 16px; border: 2px solid #f5b400;
  background: linear-gradient(135deg, #ffe066, #ffc83d); color: #3a2a00; font-weight: 800; font-size: 16px; cursor: pointer; box-shadow: 0 8px 18px -12px rgba(200, 140, 0, .9); }
.cty-current span:not(.caret) { flex: 1; text-align: start; }
.cty-current .caret { font-size: 14px; }
.cty-current .flag-img { width: 28px; height: 20px; }
.cty-menu { position: absolute; z-index: 20; inset-inline: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; background: var(--card);
  border: 2px solid #f5b400; border-radius: 16px; box-shadow: 0 18px 40px -16px rgba(0,0,0,.35); max-height: 320px; overflow: auto; }
.cty-menu li { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 12px; cursor: pointer; font-weight: 700; color: var(--text); }
.cty-menu li span { flex: 1; }
.cty-menu li:hover { background: #fff6d6; color: #3a2a00; }
.cty-menu li[aria-selected="true"] { background: #ffe066; color: #3a2a00; }
.cty-menu li b { color: var(--muted); }
.cty-menu li[aria-selected="true"] b { color: #3a2a00; }

/* ===== Orders v2: clean cards with status pill + progress ===== */
.order.o2 { padding: 14px 14px 12px; border-radius: 18px; box-shadow: 0 1px 2px rgba(20,18,31,.04), 0 8px 24px -18px rgba(20,18,31,.35); transition: transform .08s; }
.order.o2:active { transform: scale(.995); }
.o-title { font-weight: 800; display: flex; align-items: center; gap: 6px; }
.o-amt { text-align: end; display: flex; flex-direction: column; }
.o-amt b { font-size: 18px; }
.o-status { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: 13px; font-weight: 800; }
.pill.RECEIVED { background: #fff4d6; color: #8a5a00; }
.pill.USING { background: #e7e9ff; color: #3b35c9; }
.pill.COMPLETED { background: #dcfce7; color: #15803d; }
.pill.REJECTED { background: #fee2e2; color: #b91c1c; }
[data-theme="violet"] .pill.RECEIVED { background: rgba(245,158,11,.15); color: #fbbf24; }
[data-theme="violet"] .pill.USING { background: rgba(124,92,255,.2); color: #c4b5ff; }
[data-theme="violet"] .pill.COMPLETED { background: rgba(34,197,94,.15); color: #4ade80; }
[data-theme="violet"] .pill.REJECTED { background: rgba(239,68,68,.15); color: #f87171; }
.ok-text { color: var(--ok); display: inline-flex; align-items: center; gap: 4px; }
.bad-text { color: var(--bad); }
.prog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin-top: 12px; }
.prog i { height: 5px; border-radius: 99px; background: var(--line); }
.prog i.on { background: linear-gradient(90deg, #7c5cff, #5b46f0); }
.order.COMPLETED .prog i.on { background: #22c55e; }
.o-code { margin-top: 10px; letter-spacing: 1px; }
.notif-card { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; margin-bottom: 14px; border: 1.5px dashed var(--accent);
  background: color-mix(in srgb, var(--accent) 7%, var(--card)); }
.notif-card .btn { white-space: nowrap; padding: 10px 14px; display: inline-flex; align-items: center; gap: 6px; }
.banner { position: fixed; z-index: 50; top: 10px; inset-inline: 12px; max-width: 520px; margin: 0 auto; display: flex; align-items: center; gap: 10px;
  padding: 14px 16px; border-radius: 16px; background: linear-gradient(135deg, #7c5cff, #5b46f0); color: #fff; font-weight: 800;
  box-shadow: 0 18px 40px -16px rgba(91,70,240,.9); transform: translateY(-140%); transition: transform .25s ease; }
.banner.show { transform: translateY(0); }
.banner .ico { width: 22px; height: 22px; }

/* Back button (inner pages) */
.top { gap: 8px; }
.back-btn { margin-inline-end: 4px; }
.back-btn .ico { width: 20px; height: 20px; }
[dir="rtl"] .back-btn .ico { transform: scaleX(-1); }
.top .brand { margin-inline-end: auto; }

.coin-img { width: 28px; height: 28px; border-radius: 50%; object-fit: contain; flex: none; background: #fff; }
.cty-menu .coin-img { width: 26px; height: 26px; }

/* Withdraw: two method groups + fee note */
.wd-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 6px 0 12px; }
.wd-groups button { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 10px; border-radius: 16px; border: 1.5px solid var(--line);
  background: var(--card); color: var(--text); font-weight: 800; cursor: pointer; }
.wd-groups button.on { border-color: transparent; background: linear-gradient(135deg, #7c5cff, #5b46f0); color: #fff; box-shadow: 0 10px 22px -12px rgba(91,70,240,.9); }
.fee-note { font-size: 12.5px; margin: 8px 2px 4px; }
.fee-note.warn { color: #b45309; }
.fee-note.free { color: var(--ok); }
[data-theme="violet"] .fee-note.warn { color: #fbbf24; }
