/* ZRE BD SHOP — storefront styles (mobile first) */
:root {
  --bg: #0b0f1a;
  --bg-2: #0f1422;
  --card: #141a29;
  --card-2: #1a2134;
  --line: #232b40;
  --text: #e8ecf4;
  --muted: #8a93a6;
  --accent: #e5383b;
  --accent-2: #ff5a5f;
  --accent-soft: rgba(229, 56, 59, .14);
  --ok: #22c55e;
  --warn: #f59e0b;
  --info: #3b82f6;
  --radius: 14px;
  --header-h: 60px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  --font: "Inter", "Hind Siliguri", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}
[data-theme="light"] {
  --bg: #f3f5fa;
  --bg-2: #ffffff;
  --card: #ffffff;
  --card-2: #f5f7fb;
  --line: #e3e7ef;
  --text: #111827;
  --muted: #6b7280;
  --accent-soft: rgba(229, 56, 59, .09);
  --shadow: 0 10px 30px rgba(17, 24, 39, .08);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 56px); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; }
button { font: inherit; }
.ic { flex-shrink: 0; vertical-align: middle; }
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 14px; }
.narrow { max-width: 560px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.text-warn { color: var(--warn); }
.main { min-height: 60vh; padding-bottom: 40px; }

/* ---------- Buttons + inputs ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border-radius: 10px; border: 1px solid transparent; background: var(--card-2); color: var(--text); font-weight: 600; font-size: 15px; cursor: pointer; text-decoration: none !important; transition: transform .08s ease, background .15s, border-color .15s; }
.btn:active { transform: scale(.98); }
.btn-primary { background: linear-gradient(180deg, var(--accent-2), var(--accent)); color: #fff; box-shadow: 0 6px 18px rgba(229, 56, 59, .3); }
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-light { background: #fff; color: #111; }
.btn-google { background: #fff; color: #1f2937; border-color: #dadce0; }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 14px; font-size: 13px; border-radius: 999px; }
.btn[disabled], .btn:disabled { opacity: .55; cursor: not-allowed; box-shadow: none; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--text); cursor: pointer; }
.icon-btn:hover { border-color: var(--accent); }

.input { width: 100%; padding: 12px 13px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-2); color: var(--text); font: inherit; font-size: 16px; outline: none; transition: border-color .15s, box-shadow .15s; }
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.input-lg { font-size: 20px; letter-spacing: 1px; text-align: center; }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
.field-label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin: 14px 0 6px; }
.input-wrap { position: relative; }
.input-wrap .input { padding-right: 46px; }
.input-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--muted); padding: 8px; cursor: pointer; }
.hint { font-size: 12px; color: var(--muted); margin: 10px 0 0; display: flex; gap: 6px; align-items: flex-start; }
.stack { display: flex; flex-direction: column; gap: 4px; }
.stack .btn { margin-top: 12px; }
.inline-form { display: flex; gap: 8px; }
.inline-form .input { flex: 1; }

/* ---------- Alerts / badges ---------- */
.flashes { padding-top: 12px; }
.alert { padding: 12px 14px; border-radius: 10px; margin: 0 0 10px; font-size: 14px; border: 1px solid; display: block; }
.alert-success { background: rgba(34, 197, 94, .1); border-color: rgba(34, 197, 94, .35); color: #4ade80; }
.alert-error { background: rgba(229, 56, 59, .1); border-color: rgba(229, 56, 59, .4); color: #ff7b7e; }
.alert-info { background: rgba(59, 130, 246, .1); border-color: rgba(59, 130, 246, .35); color: #7fb0ff; }
.alert-warn { background: rgba(245, 158, 11, .1); border-color: rgba(245, 158, 11, .4); color: #fbbf24; }
[data-theme="light"] .alert-success { color: #15803d; }
[data-theme="light"] .alert-error { color: #b91c1c; }
[data-theme="light"] .alert-info { color: #1d4ed8; }
[data-theme="light"] .alert-warn { color: #b45309; }
.alert-link { display: flex; align-items: center; gap: 8px; text-decoration: none !important; }
.alert-link b { margin-left: auto; white-space: nowrap; }
.badge { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--card-2); color: var(--muted); border: 1px solid var(--line); white-space: nowrap; }
.badge-pending, .badge-verifying { color: #fbbf24; border-color: rgba(245, 158, 11, .4); background: rgba(245, 158, 11, .1); }
.badge-processing { color: #7fb0ff; border-color: rgba(59, 130, 246, .4); background: rgba(59, 130, 246, .1); }
.badge-completed, .badge-paid { color: #4ade80; border-color: rgba(34, 197, 94, .4); background: rgba(34, 197, 94, .1); }
.badge-cancelled, .badge-failed, .badge-unpaid { color: #ff7b7e; border-color: rgba(229, 56, 59, .4); background: rgba(229, 56, 59, .1); }
.badge-refunded { color: #c4b5fd; border-color: rgba(139, 92, 246, .4); }
[data-theme="light"] .badge-pending, [data-theme="light"] .badge-verifying { color: #b45309; }
[data-theme="light"] .badge-processing { color: #1d4ed8; }
[data-theme="light"] .badge-completed, [data-theme="light"] .badge-paid { color: #15803d; }
[data-theme="light"] .badge-cancelled, [data-theme="light"] .badge-failed, [data-theme="light"] .badge-unpaid { color: #b91c1c; }
.chip { display: inline-block; font-size: 12px; padding: 3px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-2); font-weight: 600; }

/* ---------- Header ---------- */
.topbar { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
@supports not (background: color-mix(in srgb, red 50%, blue)) { .topbar { background: var(--bg); } }
.topbar-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--text); text-decoration: none !important; font-weight: 800; letter-spacing: .5px; min-width: 0; }
.brand-logo { height: 34px; width: auto; max-width: 170px; object-fit: contain; }
.brand-mark { width: 30px; height: 22px; background: linear-gradient(115deg, transparent 0 18%, var(--accent) 18% 42%, transparent 42% 52%, var(--accent-2) 52% 76%, transparent 76%); transform: skewX(-12deg); border-radius: 3px; flex-shrink: 0; }
.brand-text { font-size: 17px; font-style: italic; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top-actions { display: flex; gap: 8px; }
.searchbar { border-top: 1px solid var(--line); padding: 10px 0; background: var(--bg); position: relative; }
.search-form { display: flex; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); color: var(--muted); }
.search-form input { flex: 1; border: 0; background: transparent; color: var(--text); font: inherit; font-size: 16px; padding: 11px 0; outline: none; }
.search-results { position: absolute; left: 14px; right: 14px; max-width: 1092px; margin: 6px auto 0; background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; z-index: 60; }
.search-results a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; color: var(--text); text-decoration: none !important; border-bottom: 1px solid var(--line); }
.search-results a:last-child { border-bottom: 0; }
.search-results a:hover, .search-results a.active { background: var(--card-2); }
.search-results .thumb { width: 38px; height: 38px; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.search-results .thumb img, .search-results .thumb .tile { width: 100%; height: 100%; object-fit: cover; }
.search-results .thumb .tile span { font-size: 13px; }
.search-empty { padding: 14px; color: var(--muted); font-size: 14px; }

/* ---------- Drawer ---------- */
.drawer { position: fixed; top: 0; bottom: 0; left: 0; width: min(86vw, 330px); background: var(--bg-2); border-right: 1px solid var(--line); z-index: 90; transform: translateX(-105%); transition: transform .25s ease; overflow-y: auto; padding: 14px; }
.drawer-open .drawer { transform: none; }
.drawer-backdrop { position: fixed; inset: 0; background: rgba(0, 0, 0, .55); z-index: 80; opacity: 0; pointer-events: none; transition: opacity .25s; }
.drawer-open .drawer-backdrop { opacity: 1; pointer-events: auto; }
.drawer-open { overflow: hidden; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.drawer-welcome { padding: 4px 2px 16px; border-bottom: 1px solid var(--line); }
.drawer-welcome strong { font-size: 20px; }
.drawer-auth { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.drawer-auth .btn { padding: 10px; font-size: 14px; }
.drawer-user { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.drawer-user-name { font-weight: 700; }
.drawer-warn { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: rgba(245, 158, 11, .1); color: #fbbf24; font-size: 13px; font-weight: 600; }
[data-theme="light"] .drawer-warn { color: #b45309; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-2); display: flex; align-items: center; justify-content: center; font-weight: 800; overflow: hidden; flex-shrink: 0; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-lg { width: 60px; height: 60px; font-size: 20px; }
.drawer-label { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin: 18px 4px 6px; }
.drawer-nav a, .drawer-toggle, .drawer-logout button { display: flex; align-items: center; gap: 12px; padding: 11px 10px; border-radius: 10px; color: var(--text); text-decoration: none !important; font-weight: 500; width: 100%; background: none; border: 0; cursor: pointer; text-align: left; }
.drawer-nav a:hover, .drawer-toggle:hover, .drawer-logout button:hover { background: var(--card); }
.drawer-nav a span, .drawer-toggle span { flex: 1; }
.drawer-nav a .ic:last-child { color: var(--muted); }
.drawer-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.switch { width: 40px; height: 22px; border-radius: 999px; background: var(--line); position: relative; transition: background .2s; flex-shrink: 0; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s; }
.drawer-toggle input:checked + .switch { background: var(--accent); }
.drawer-toggle input:checked + .switch::after { transform: translateX(18px); }
.drawer-logout { margin-top: 6px; border-top: 1px solid var(--line); padding-top: 6px; }
.drawer-logout button { color: var(--accent-2); }

/* ---------- Hero slider ---------- */
.hero { padding-top: 14px; }
.slider { position: relative; }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; border-radius: 16px; scrollbar-width: none; }
.slides::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: start; border-radius: 16px; overflow: hidden; }
.slide img { width: 100%; aspect-ratio: 2.4 / 1; object-fit: cover; }
.slide-default { position: relative; min-height: 170px; padding: 22px 20px; display: flex; align-items: center; background: radial-gradient(120% 140% at 100% 0%, #ff6b6e 0%, #e5383b 35%, #7f1d1d 75%, #2a0c12 100%); color: #fff; }
.slide-alt { background: radial-gradient(120% 140% at 100% 0%, #60a5fa 0%, #2563eb 40%, #1e1b4b 100%); }
.slide-copy { position: relative; z-index: 2; max-width: 68%; }
.slide-copy h1 { font-size: clamp(20px, 5.4vw, 34px); font-weight: 800; margin: 6px 0; }
.slide-copy p { margin: 0 0 12px; font-size: 13px; opacity: .92; }
.slide-kicker { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; background: rgba(255, 255, 255, .16); padding: 4px 10px; border-radius: 999px; }
.slide-art { position: absolute; right: -10px; top: 50%; transform: translateY(-50%) rotate(-12deg); display: grid; grid-template-columns: repeat(2, 54px); gap: 10px; opacity: .9; }
.slide-art span { width: 54px; height: 54px; border-radius: 14px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .28); }
.slide-art span:nth-child(2) { background: rgba(255, 255, 255, .28); }
.slide-art span:nth-child(3) { background: rgba(0, 0, 0, .2); }
.dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.dots button { width: 7px; height: 7px; border-radius: 999px; border: 0; background: var(--line); padding: 0; cursor: pointer; transition: width .2s, background .2s; }
.dots button.active { width: 22px; background: var(--accent); }

/* ---------- Category tabs ---------- */
.cat-tabs { position: sticky; top: var(--header-h); z-index: 40; background: var(--bg); padding: 10px 0; border-bottom: 1px solid var(--line); margin-top: 12px; }
.cat-tabs-inner { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.cat-tabs-inner::-webkit-scrollbar { display: none; }
.cat-tab { flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--text); font-size: 14px; font-weight: 600; text-decoration: none !important; white-space: nowrap; }
.cat-tab b { font-size: 11px; background: var(--card-2); color: var(--muted); padding: 1px 7px; border-radius: 999px; }
.cat-tab.active { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-2); }
.cat-tab.active b { background: var(--accent); color: #fff; }

/* ---------- Product grid ---------- */
.shop-section { padding-top: 22px; }
.section-title { font-size: 20px; font-weight: 800; padding-left: 12px; border-left: 4px solid var(--accent); margin: 0 0 6px; }
.section-desc { color: var(--muted); font-size: 14px; margin: 0 0 12px; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 7px 7px 10px; color: var(--text); text-decoration: none !important; transition: transform .12s ease, border-color .15s; display: block; }
.card:hover { transform: translateY(-2px); border-color: var(--accent); }
.card.is-extra { display: none; }
.section-open .card.is-extra { display: block; }
.card-media { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 1 / 1; background: var(--card-2); }
.card-media img, .card-media .tile { width: 100%; height: 100%; object-fit: cover; }
.card-name { font-size: 13px; font-weight: 600; text-align: center; margin-top: 8px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.ribbon { position: absolute; top: 6px; left: 6px; font-size: 10px; font-weight: 800; letter-spacing: .4px; padding: 3px 7px; border-radius: 6px; background: var(--accent); color: #fff; }
.ribbon-out { background: rgba(17, 17, 17, .78); color: #fff; }
.tile { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, hsl(var(--h, 0) 70% 52%), hsl(calc(var(--h, 0) + 40) 75% 32%)); color: #fff; }
.tile span { font-size: clamp(20px, 7vw, 34px); font-weight: 800; letter-spacing: 1px; text-shadow: 0 2px 10px rgba(0, 0, 0, .25); }
.shop-section .center { margin-top: 14px; }
.count { background: var(--accent); color: #fff; padding: 0 7px; border-radius: 999px; font-size: 11px; }
.empty-box { padding: 26px 16px; text-align: center; color: var(--muted); background: var(--card); border: 1px dashed var(--line); border-radius: var(--radius); margin-top: 18px; }

/* ---------- Help box ---------- */
.help-box { margin-top: 34px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 26px 18px; text-align: center; }
.help-icon { width: 54px; height: 54px; margin: 0 auto 12px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent-2); }
.help-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 14px; }

/* ---------- Boxes / pages ---------- */
.box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-top: 14px; }
.page-title { font-size: 24px; font-weight: 800; margin: 18px 0 4px; }
.back-link { display: inline-flex; align-items: center; gap: 4px; margin-top: 14px; color: var(--muted); font-size: 14px; }
.prose { line-height: 1.75; }

/* Product page */
.product-page { max-width: 760px; }
.product-hero { display: flex; gap: 16px; align-items: center; margin-top: 14px; }
.product-thumb { position: relative; width: 96px; height: 96px; border-radius: 18px; overflow: hidden; flex-shrink: 0; box-shadow: 0 10px 24px rgba(0, 0, 0, .35); }
.product-thumb img, .product-thumb .tile { width: 100%; height: 100%; object-fit: cover; }
.product-thumb .tile span { font-size: 28px; }
.corner-ribbon { position: absolute; top: 12px; left: -26px; width: 100px; transform: rotate(-45deg); background: var(--accent); color: #fff; font-size: 9px; font-weight: 800; letter-spacing: 1px; text-align: center; padding: 3px 0; box-shadow: 0 2px 6px rgba(0, 0, 0, .3); }
.product-hero-info { min-width: 0; }
.product-hero h1 { font-size: 22px; font-weight: 800; margin: 0 0 10px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 6px 8px; }
.hb { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--text); }
.hb-safe i { width: 16px; height: 16px; border-radius: 50%; background: #2563eb; color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.hb-time .ic { color: var(--warn); }
.hb-region .ic { color: var(--accent-2); }
.trust { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 12px; color: var(--muted); }
.step-box { position: relative; padding-top: 18px; overflow: hidden; }
.step-title { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: .6px; margin: 0 0 14px; }
.step-no { width: 34px; height: 34px; margin: -18px 0 0 -16px; border-radius: 0 0 12px 0; background: linear-gradient(135deg, var(--accent-2), var(--accent)); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; box-shadow: 0 6px 14px rgba(229, 56, 59, .3); }
.hint-card { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 14px; margin-bottom: 14px; background: linear-gradient(135deg, rgba(99, 102, 241, .14), rgba(59, 130, 246, .08)); border: 1px solid rgba(99, 102, 241, .28); }
.hint-card[hidden] { display: none; }
.hint-bot { width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(135deg, #6366f1, #a855f7); box-shadow: 0 8px 18px rgba(99, 102, 241, .35); }
.hint-text strong { display: block; font-size: 15px; margin-bottom: 2px; }
.hint-text p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; padding-right: 36px; }
.hint-close { position: absolute; top: 10px; right: 12px; background: none; border: 0; color: #60a5fa; font-weight: 600; font-size: 13px; cursor: pointer; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fg { grid-column: 1 / -1; min-width: 0; }
.fg-half { grid-column: span 1; }
.fl { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.fl .req { color: var(--accent-2); }
.fl .opt { font-weight: 400; opacity: .8; }
@media (max-width: 380px) { .fg-half { grid-column: 1 / -1; } }
.pkg-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.pkg { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 14px 12px; min-height: 84px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg-2); cursor: pointer; transition: border-color .15s, background .15s; }
.pkg input { position: absolute; opacity: 0; pointer-events: none; }
.pkg-name { font-weight: 700; font-size: 14px; padding-right: 22px; }
.pkg-price { margin-top: auto; font-weight: 700; color: var(--accent-2); font-size: 15px; }
.pkg-icon { position: absolute; right: 10px; bottom: 10px; width: 30px; height: 30px; object-fit: contain; opacity: .9; }
.pkg-check { position: absolute; top: 10px; right: 10px; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line); display: flex; align-items: center; justify-content: center; color: transparent; }
.pkg:has(input:checked), .pkg.is-checked { border-color: var(--accent); background: var(--accent-soft); }
.pkg:has(input:checked) .pkg-check, .pkg.is-checked .pkg-check { background: var(--accent); border-color: var(--accent); color: #fff; }
.pkg.is-out { opacity: .45; cursor: not-allowed; }
.pkg.is-out .pkg-price { color: var(--muted); font-size: 13px; }
.step-phone { border-color: rgba(245, 158, 11, .45); }
.total-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 16px; }
.total-row strong { font-size: 22px; color: var(--accent-2); }
.checkout-box { position: sticky; bottom: 10px; z-index: 5; box-shadow: var(--shadow); }
.desc { color: var(--muted); line-height: 1.75; font-size: 14px; }
.desc p { margin: 0 0 8px; }
.desc b { color: var(--text); }
.desc ul { margin: 6px 0 10px; padding-left: 20px; }
.desc li { margin: 3px 0; }
.desc li::marker { color: var(--accent); }
.desc-box h3 { font-size: 16px; }

.coupon-box { margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px dashed var(--line); }
.coupon-toggle { background: none; border: 0; color: var(--accent-2); font-weight: 600; font-size: 14px; cursor: pointer; padding: 0; display: inline-flex; align-items: center; gap: 6px; }
.coupon-row { display: flex; gap: 8px; margin-top: 10px; }
.coupon-row .input { flex: 1; }
.coupon-msg { margin-top: 6px; }
.coupon-msg.good { color: var(--ok); }
.coupon-msg.bad { color: var(--accent-2); }
.discount-row { margin-bottom: 6px; font-size: 14px; }
.discount-row strong { font-size: 15px !important; color: var(--ok) !important; }

.badge-priority { color: #fbbf24; border-color: rgba(245, 158, 11, .5); background: rgba(245, 158, 11, .12); }
.speed-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.speed-opt { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; gap: 2px 10px; align-items: center; padding: 12px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg-2); cursor: pointer; }
.speed-opt input { position: absolute; opacity: 0; pointer-events: none; }
.speed-icon { grid-row: 1 / 3; width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--card-2); color: var(--muted); }
.speed-text { display: flex; flex-direction: column; min-width: 0; }
.speed-text small { color: var(--muted); font-size: 12px; }
.speed-price { grid-column: 2; font-weight: 800; font-size: 13px; color: var(--ok); }
.speed-priority .speed-price { color: #fbbf24; }
.speed-opt.is-checked, .speed-opt:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.speed-priority.is-checked .speed-icon, .speed-priority:has(input:checked) .speed-icon { background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #111; }
.fee-row { font-size: 14px; margin-bottom: 6px; }
.fee-row strong { font-size: 15px !important; color: #fbbf24 !important; }
@media (max-width: 380px) { .speed-grid { grid-template-columns: 1fr; } }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); backdrop-filter: blur(3px); }
.modal-sheet { position: relative; width: 100%; max-width: 440px; max-height: 88vh; overflow-y: auto; background: var(--bg-2); border: 1px solid var(--line); border-radius: 18px; padding: 22px 18px 18px; box-shadow: var(--shadow); animation: pop .2s ease; }
@keyframes pop { from { transform: translateY(12px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-x { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border-radius: 50%; }
.pill-note { display: table; margin: 0 auto 10px; font-size: 11px; font-weight: 700; letter-spacing: .5px; padding: 4px 10px; border-radius: 999px; background: rgba(59, 130, 246, .12); color: #7fb0ff; }
.pill-note .ic { margin-top: -2px; }
.theme-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0; }
.theme-opt { border: 1.5px solid var(--line); border-radius: 14px; padding: 10px; cursor: pointer; display: flex; flex-direction: column; gap: 2px; }
.theme-opt input { position: absolute; opacity: 0; }
.theme-opt:has(input:checked), .theme-opt.is-checked { border-color: var(--accent); background: var(--accent-soft); }
.theme-name { font-weight: 700; margin-top: 8px; }
.theme-preview { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 8px; border-radius: 10px; height: 74px; }
.theme-preview i { grid-column: 1 / -1; height: 26px; border-radius: 6px; }
.theme-preview b { border-radius: 5px; }
.theme-preview-dark { background: #0b0f1a; }
.theme-preview-dark i { background: linear-gradient(90deg, #7f1d1d, #e5383b); }
.theme-preview-dark b { background: #1a2134; }
.theme-preview-light { background: #eef1f7; }
.theme-preview-light i { background: linear-gradient(90deg, #2563eb, #60a5fa); }
.theme-preview-light b { background: #fff; }
.notice-sheet { padding-top: 26px; border-top: 4px solid transparent; border-image: linear-gradient(90deg, #f59e0b, #e5383b, #8b5cf6, #3b82f6) 1; border-radius: 0 0 18px 18px; }
.notice-head { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.notice-head strong { font-size: 18px; }
.notice-sub { color: var(--warn); }
.notice-icon { width: 46px; height: 46px; border-radius: 12px; background: rgba(20, 184, 166, .14); color: #2dd4bf; display: flex; align-items: center; justify-content: center; }
.notice-body { font-family: "Hind Siliguri", var(--font); font-size: 15px; line-height: 1.8; color: var(--text); max-height: 46vh; overflow-y: auto; padding-right: 4px; }
.notice-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }

/* Orders / pay */
.order-summary .sum-row { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.order-summary .sum-row:last-child { border-bottom: 0; }
.order-summary .sum-row > span:last-child, .order-summary .sum-row > strong:last-child { text-align: right; word-break: break-word; }
.order-summary .total { font-size: 17px; }
.order-summary .total strong { color: var(--accent-2); }
.badges-row { display: flex; gap: 6px; flex-wrap: wrap; }
.timeline { list-style: none; padding: 0; margin: 18px 0 6px; display: flex; justify-content: space-between; position: relative; counter-reset: s; }
.timeline::before { content: ""; position: absolute; left: 12%; right: 12%; top: 11px; height: 2px; background: var(--line); }
.timeline li { position: relative; flex: 1; text-align: center; font-size: 12px; color: var(--muted); }
.timeline li span { display: block; width: 24px; height: 24px; margin: 0 auto 6px; border-radius: 50%; background: var(--card); border: 2px solid var(--line); position: relative; z-index: 1; }
.timeline li.done { color: var(--text); font-weight: 600; }
.timeline li.done span { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.delivery-box { border-color: rgba(34, 197, 94, .45); }
.delivery-text { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 15px; background: var(--bg-2); padding: 12px; border-radius: 10px; word-break: break-word; }
.pay-option-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.method-tabs { display: flex; gap: 8px; margin-bottom: 12px; }
.method-tab { flex: 1; }
.method-tab input { position: absolute; opacity: 0; }
.method-tab span { display: block; text-align: center; padding: 10px; border-radius: 10px; border: 1.5px solid var(--line); font-weight: 700; cursor: pointer; }
.method-tab input:checked + span { border-color: var(--accent); background: var(--accent-soft); }
.method-bkash input:checked + span { border-color: #e2136e; background: rgba(226, 19, 110, .12); color: #ff4f9a; }
.method-nagad input:checked + span { border-color: #f6921e; background: rgba(246, 146, 30, .12); color: #ffa94d; }
.method-rocket input:checked + span { border-color: #8c3494; background: rgba(140, 52, 148, .14); color: #d68cdc; }
.send-to { background: var(--bg-2); border-radius: 12px; padding: 12px; text-align: center; }
.send-number { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 24px; font-weight: 800; letter-spacing: 1px; margin-top: 4px; }
.instructions { color: var(--muted); margin: 12px 0 4px; line-height: 1.7; }
.order-list { display: flex; flex-direction: column; gap: 0; }
.order-item { display: flex; justify-content: space-between; gap: 12px; color: var(--text); text-decoration: none !important; margin-top: 10px; }
.order-item:hover { border-color: var(--accent); }
.order-item-right { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.profile-box { display: flex; gap: 14px; align-items: center; }
.profile-meta { min-width: 0; }
.profile-meta .muted { overflow: hidden; text-overflow: ellipsis; }
.settings-box summary { cursor: pointer; font-weight: 700; }
.settings-box form { margin-top: 12px; }
.settings-box h4 { margin: 16px 0 4px; }
.contact-list { display: flex; flex-direction: column; gap: 4px; }
.contact-list a { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 10px; color: var(--text); }
.contact-list a:hover { background: var(--card-2); text-decoration: none; }

input[data-upper] { text-transform: uppercase; }
input[data-upper]::placeholder { text-transform: none; }

/* Wallet */
.wallet-card { margin-top: 14px; border-radius: 18px; padding: 22px 20px; color: #fff; background: radial-gradient(120% 140% at 100% 0%, #ff6b6e 0%, #e5383b 40%, #7f1d1d 100%); box-shadow: 0 14px 30px rgba(229, 56, 59, .3); }
.wallet-card .muted { color: rgba(255, 255, 255, .8); }
.wallet-balance { font-size: 34px; font-weight: 800; margin: 4px 0 6px; letter-spacing: .5px; }
.quick-amounts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.via-list { display: flex; flex-direction: column; gap: 8px; }
.via { display: flex; gap: 12px; align-items: center; padding: 12px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; }
.via input { accent-color: var(--accent); width: 18px; height: 18px; flex-shrink: 0; }
.via span { display: flex; flex-direction: column; }
.via.is-checked, .via:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.manual-fields { margin-top: 14px; }
.tx-list { padding: 4px 16px; }
.tx { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.tx:last-child { border-bottom: 0; }
.tx-amt { text-align: right; font-weight: 800; white-space: nowrap; }
.tx-amt.plus { color: var(--ok); }
.tx-amt.minus { color: var(--accent-2); }
.text-ok { color: var(--ok); }
.pay-card { background: #1a1f71; }
.pay-wallet { border-color: rgba(229, 56, 59, .4); }
.wallet-mini { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--text); text-decoration: none !important; }
.wallet-mini strong { font-size: 20px; }
.drawer-wallet { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: var(--card); border: 1px solid var(--line); color: var(--text); text-decoration: none !important; }
.drawer-wallet b { color: var(--accent-2); }

/* Auth */
.auth-box { margin-top: 26px; padding: 24px 18px; }
.auth-box h1 { font-size: 24px; }
.auth-icon { width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent-2); }
.or { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; margin: 16px 0 4px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- Notice bar ---------- */
.notice-bar { position: relative; display: flex; align-items: center; overflow: hidden; height: 34px; font-size: 13px; font-weight: 600; color: #fff; background: linear-gradient(90deg, var(--accent), #b91c1c); }
.notice-bar[hidden] { display: none; }
.notice-info { background: linear-gradient(90deg, #2563eb, #1d4ed8); }
.notice-success { background: linear-gradient(90deg, #16a34a, #15803d); }
.notice-warn { background: linear-gradient(90deg, #f59e0b, #d97706); color: #111; }
.notice-track { display: flex; gap: 80px; white-space: nowrap; color: inherit; text-decoration: none !important; padding-left: 100%; animation: marquee 22s linear infinite; }
.notice-bar:hover .notice-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .notice-track { animation: none; padding-left: 14px; } }
.notice-x { position: absolute; right: 0; top: 0; bottom: 0; width: 34px; border: 0; color: inherit; font-size: 18px; cursor: pointer; background: inherit; }

/* ---------- Recent orders + reviews ---------- */
.live-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--ok); margin-left: 6px; vertical-align: middle; box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
.recent-list { display: grid; gap: 8px; margin-top: 12px; }
.recent-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; color: var(--text); text-decoration: none !important; }
.recent-item:hover { border-color: var(--accent); }
.recent-thumb { width: 44px; height: 44px; border-radius: 10px; overflow: hidden; flex-shrink: 0; }
.recent-thumb img, .recent-thumb .tile { width: 100%; height: 100%; object-fit: cover; }
.recent-thumb .tile span { font-size: 15px; }
.recent-info { flex: 1; min-width: 0; font-size: 14px; }
.recent-what { display: block; color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.recent-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex-shrink: 0; }
.stars { display: inline-flex; gap: 1px; vertical-align: middle; }
.stars svg { fill: var(--line); }
.stars svg.on { fill: #fbbf24; }
.stars svg.half { fill: #fbbf24; opacity: .55; }
.rating-line { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text); margin: -4px 0 8px; text-decoration: none !important; }
.reviews-title-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.reviews-score { display: inline-flex; align-items: center; gap: 6px; }
.reviews-score b { font-size: 22px; }
.review-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; margin-top: 12px; }
.review-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.review-card p { margin: 0; font-size: 14px; line-height: 1.6; flex: 1; }
.review-by { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.avatar-sm { width: 32px; height: 32px; font-size: 12px; }
.reviews-box .reviews-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.reviews-box h3 { margin: 0; }
.review { padding: 12px 0; border-bottom: 1px dashed var(--line); }
.review:last-child { border-bottom: 0; }
.review-top { display: flex; gap: 10px; align-items: center; }
.review p { margin: 8px 0 0; font-size: 14px; line-height: 1.6; }
.verified { font-size: 11px; color: var(--ok); font-weight: 600; margin-left: 4px; }
.review-box h3 { margin-top: 0; }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; margin: 4px 0 12px; }
.star-input input { position: absolute; opacity: 0; pointer-events: none; }
.star-input label { font-size: 34px; line-height: 1; color: var(--line); cursor: pointer; transition: color .1s; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: #fbbf24; }
.promo-sheet { text-align: center; }
.promo-icon { width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 16px; display: flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(135deg, var(--accent-2), var(--accent)); }
.promo-text { color: var(--muted); text-align: left; margin: 10px 0 16px; line-height: 1.7; }
.promo-text ul { padding-left: 20px; }
.toast { position: fixed; left: 14px; bottom: 18px; z-index: 75; max-width: 330px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); transform: translateY(20px); opacity: 0; transition: transform .3s ease, opacity .3s ease; }
.toast.in { transform: none; opacity: 1; }
.toast-body { display: flex; gap: 10px; align-items: center; padding: 10px 34px 10px 10px; color: var(--text); text-decoration: none !important; font-size: 13px; line-height: 1.4; }
.toast-thumb { width: 42px; height: 42px; border-radius: 10px; overflow: hidden; flex-shrink: 0; }
.toast-thumb img, .toast-thumb .tile { width: 100%; height: 100%; object-fit: cover; }
.toast-thumb .tile span { font-size: 14px; }
.toast-what { color: var(--muted); }
.toast-ago { color: var(--ok); font-size: 12px; }
.toast-x { position: absolute; top: 4px; right: 6px; background: none; border: 0; color: var(--muted); font-size: 18px; cursor: pointer; }
@media (max-width: 640px) { .toast { right: 84px; } }
body:has(.checkout-box) .toast { bottom: 128px; }
@media (min-width: 960px) { body:has(.checkout-box) .toast { bottom: 18px; } }

/* ---------- Footer ---------- */
.footer { margin-top: 40px; border-top: 1px solid var(--line); background: var(--bg-2); padding: 28px 0 90px; font-size: 14px; }
.footer-top p { margin: 10px 0 14px; max-width: 520px; }
.socials { display: flex; gap: 10px; }
.social { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; }
.social-facebook { background: #1877f2; }
.social-instagram { background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af); }
.social-youtube { background: #ff0000; }
.social-telegram { background: #229ed9; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.footer h4 { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.footer-cols a { display: block; color: var(--text); padding: 4px 0; }
.we-accept { margin-top: 22px; }
.pay-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.pay { font-size: 12px; font-weight: 800; padding: 6px 12px; border-radius: 8px; color: #fff; letter-spacing: .3px; }
.pay-bkash { background: #e2136e; }
.pay-nagad { background: #f6921e; }
.pay-rocket { background: #8c3494; }
.pay-upay { background: #0b5ea8; }
.pay-badges.mini .pay { padding: 4px 8px; font-size: 11px; }
.copyright { margin-top: 22px; color: var(--muted); font-size: 12px; }
.chat-fab { position: fixed; right: 16px; bottom: 18px; width: 54px; height: 54px; border-radius: 16px; background: linear-gradient(180deg, var(--accent-2), var(--accent)); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(229, 56, 59, .45); z-index: 70; }
.product-page ~ .chat-fab, body:has(.checkout-box) .chat-fab { bottom: calc(var(--cb-h, 170px) + 22px); }
body:has(.checkout-box) .support-pop { bottom: calc(var(--cb-h, 170px) + 84px); }
@media (min-width: 960px) { body:has(.checkout-box) .chat-fab { bottom: 18px; } body:has(.checkout-box) .support-pop { bottom: 84px; } }

/* ---------- Bigger screens ---------- */
@media (min-width: 640px) {
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
  .pkg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .slide-default { min-height: 230px; padding: 30px; }
  .slide-art { right: 30px; grid-template-columns: repeat(2, 80px); }
  .slide-art span { width: 80px; height: 80px; border-radius: 20px; }
  .box { padding: 20px; }
}
@media (min-width: 960px) {
  .grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .slide-default { min-height: 280px; padding: 44px; }
  .slide-copy p { font-size: 15px; }
  .checkout-box { position: static; box-shadow: none; }
  body:has(.checkout-box) .chat-fab { bottom: 18px; }
}
@media (max-width: 360px) {
  .brand-text { font-size: 14px; }
  .icon-btn { width: 34px; height: 34px; }
}

/* =========================================================
   v1.2 — ranks, support, follow, language, app install
   ========================================================= */
.lang-bn body, .lang-bn .btn, .lang-bn .input { font-family: "Hind Siliguri", "Inter", system-ui, sans-serif; }

/* Language switch */
.lang-switch { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 34px; padding: 0 8px; border-radius: 10px; border: 1px solid var(--line); color: var(--text); font-size: 13px; font-weight: 700; text-decoration: none !important; }
.lang-switch:hover { border-color: var(--accent); }
.drawer-langs { display: flex; align-items: center; gap: 10px; padding: 12px 16px; color: var(--text); }
.drawer-langs > span { flex: 1; }
.drawer-langs a, .lang-pick a { padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line); color: var(--text); font-size: 13px; font-weight: 600; text-decoration: none !important; }
.drawer-langs a.active, .lang-pick a.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.lang-pick { display: flex; justify-content: center; gap: 8px; margin: 4px 0 16px; }

/* Rank badge + premium avatar frame */
.rank-badge { --rc: #94a3b8; display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px 3px 6px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .2px; color: var(--rc); background: color-mix(in srgb, var(--rc) 14%, transparent); border: 1px solid color-mix(in srgb, var(--rc) 45%, transparent); white-space: nowrap; vertical-align: middle; }
.rank-badge i { font-style: normal; font-size: 13px; line-height: 1; }
.rank-badge.rank-sm { font-size: 11px; padding: 2px 8px 2px 5px; }
.rank-badge.rank-premium { background: linear-gradient(90deg, color-mix(in srgb, var(--rc) 22%, transparent), color-mix(in srgb, var(--rc) 6%, transparent)); box-shadow: 0 0 14px color-mix(in srgb, var(--rc) 30%, transparent); }
.avatar-frame { --rc: #67e8f9; position: relative; padding: 3px; border-radius: 50%; background: conic-gradient(from 0deg, var(--rc), #fff8, var(--rc), color-mix(in srgb, var(--rc) 40%, #f472b6), var(--rc)); animation: zre-spin 6s linear infinite; flex-shrink: 0; width: max-content; }
.avatar-frame > .avatar { border: 2px solid var(--card); animation: zre-spin 6s linear infinite reverse; }
.avatar-frame .frame-emoji { position: absolute; right: -4px; bottom: -4px; font-size: 15px; line-height: 1; background: var(--card); border-radius: 50%; padding: 2px; animation: zre-spin 6s linear infinite reverse; }
.avatar-frame.avatar-lg > .avatar { width: 60px; height: 60px; font-size: 20px; }
@keyframes zre-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .avatar-frame, .avatar-frame > .avatar, .avatar-frame .frame-emoji { animation: none; } }

/* Account: premium profile, rank card, coupons, tiles */
.profile-premium { border-color: color-mix(in srgb, var(--rc) 55%, transparent); background: radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--rc) 16%, transparent), transparent 60%), var(--card); }
.premium-tag { display: inline-block; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 999px; color: #111; background: linear-gradient(90deg, #fde68a, #f472b6, #67e8f9); vertical-align: middle; }
.rank-card { --rc: #94a3b8; border-color: color-mix(in srgb, var(--rc) 40%, var(--line)); background: linear-gradient(135deg, color-mix(in srgb, var(--rc) 14%, var(--card)), var(--card)); margin: 14px 0; padding: 16px; border-radius: var(--radius); border: 1px solid; }
.rank-top, .rank-card-top { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.rank-emoji { font-size: 40px; line-height: 1; filter: drop-shadow(0 4px 10px color-mix(in srgb, var(--rc) 50%, transparent)); }
.rank-info { flex: 1; min-width: 0; }
.rank-name, .rank-card-name { display: block; font-size: 20px; font-weight: 800; color: var(--rc); }
.rank-progress { height: 10px; border-radius: 999px; background: var(--card-2); overflow: hidden; margin: 6px 0 8px; border: 1px solid var(--line); }
.rank-progress i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, color-mix(in srgb, var(--rc) 60%, #fff), var(--rc)); transition: width .6s ease; }
.rank-next { color: var(--muted); }
.rank-perks { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.rank-perk { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; padding: 3px 9px; border-radius: 999px; background: var(--card-2); border: 1px solid var(--line); }
.my-coupons { margin: 14px 0; }
.my-coupon { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px; margin-top: 8px; border-radius: 12px; border: 2px dashed rgba(245, 158, 11, .55); background: rgba(245, 158, 11, .07); }
.my-coupon code { font-size: 16px; font-weight: 800; letter-spacing: 1.5px; }
.account-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0; }
.tile-link { display: flex; flex-direction: column; gap: 4px; color: var(--text); text-decoration: none !important; transition: border-color .15s, transform .1s; }
.tile-link:hover { border-color: var(--accent); }
.tile-cta { color: var(--accent-2); font-weight: 600; margin-top: auto; }

/* Public ranks page */
.rank-ladder { display: grid; gap: 10px; margin: 18px 0 30px; }
.rank-step { --rc: #94a3b8; display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); position: relative; }
.rank-step.reached { border-color: color-mix(in srgb, var(--rc) 45%, var(--line)); }
.rank-step.current { box-shadow: 0 0 0 2px var(--rc), 0 10px 30px color-mix(in srgb, var(--rc) 25%, transparent); }
.rank-step-emoji { font-size: 34px; width: 54px; height: 54px; display: flex; align-items: center; justify-content: center; border-radius: 14px; background: color-mix(in srgb, var(--rc) 14%, transparent); flex-shrink: 0; }
.rank-step-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.rank-step-body strong { color: var(--rc); font-size: 17px; }
.rank-check { color: var(--ok); }

/* Follow us strip */
.follow-strip { border-top: 1px solid var(--line); background: var(--bg-2); padding: 18px 0; margin-top: 30px; }
.follow-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.follow-inner > div:first-child { display: flex; flex-direction: column; }
.follow-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.follow-btn { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 10px; color: #fff; font-weight: 700; font-size: 14px; text-decoration: none !important; transition: transform .1s, filter .15s; }
.follow-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.follow-facebook { background: #1877f2; }
.follow-youtube { background: #ff0000; }
.follow-whatsapp { background: #25d366; color: #06301a; }
.follow-instagram { background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af); }
.follow-telegram { background: #229ed9; }

/* Live support popover */
.support-pop { position: fixed; right: 16px; bottom: 84px; width: min(340px, calc(100vw - 32px)); background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); z-index: 80; overflow: hidden; animation: zre-pop .18s ease-out; }
.support-pop[hidden] { display: none; }
@keyframes zre-pop { from { opacity: 0; transform: translateY(10px) scale(.97); } }
.support-head { display: flex; align-items: center; gap: 12px; padding: 16px; background: linear-gradient(135deg, var(--accent), #7f1d1d); color: #fff; }
.support-head > div:nth-child(2) { flex: 1; display: flex; flex-direction: column; }
.support-avatar { width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .18); display: flex; align-items: center; justify-content: center; }
.support-x { background: none; border: 0; color: #fff; font-size: 26px; line-height: 1; cursor: pointer; opacity: .85; }
.online-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 3px rgba(74, 222, 128, .25); margin-right: 3px; }
.support-list { padding: 8px; display: grid; gap: 4px; }
.support-item { display: flex; align-items: center; gap: 12px; padding: 11px; border-radius: 12px; color: var(--text); text-decoration: none !important; }
.support-item:hover { background: var(--card-2); }
.support-item > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; }
.support-item small { color: var(--muted); }
.support-ic { width: 38px; height: 38px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; background: var(--muted); flex-shrink: 0; }
.support-whatsapp .support-ic { background: #25d366; }
.support-messenger .support-ic { background: linear-gradient(45deg, #0099ff, #a033ff, #ff5280); }
.support-telegram .support-ic { background: #229ed9; }
.support-ticket .support-ic { background: var(--accent); }
body.support-open .chat-fab { transform: rotate(8deg) scale(.95); }

/* Support page + tickets */
.support-quick { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.support-quick > div:first-child { display: flex; flex-direction: column; }
.support-quick-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.chan-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 10px; color: #fff; font-weight: 700; font-size: 13px; text-decoration: none !important; }
.chan-whatsapp { background: #25d366; color: #06301a; }
.chan-messenger { background: linear-gradient(45deg, #0099ff, #a033ff); }
.chan-telegram { background: #229ed9; }
.ticket-new h2 { font-size: 18px; }
.topic-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.topic-pill input { position: absolute; opacity: 0; pointer-events: none; }
.topic-pill span { display: inline-block; padding: 8px 13px; border-radius: 999px; border: 1px solid var(--line); background: var(--card-2); font-size: 13px; font-weight: 600; cursor: pointer; transition: all .12s; }
.topic-pill input:checked + span { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-2); }
.topic-pill input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.ticket-list { display: grid; gap: 8px; }
.ticket-row { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); color: var(--text); text-decoration: none !important; }
.ticket-row:hover { border-color: var(--accent); }
.ticket-row-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ticket-row-main strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ticket-preview { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ticket-unread { border-left: 3px solid var(--accent); }
.ticket-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin: 6px 0 16px; }
.chat-thread { display: flex; flex-direction: column; gap: 12px; margin-bottom: 14px; }
.chat-msg { display: flex; flex-direction: column; max-width: 86%; }
.chat-msg.from-me { align-self: flex-end; align-items: flex-end; }
.chat-msg.from-staff { align-self: flex-start; }
.chat-meta { font-size: 12px; color: var(--muted); margin: 0 4px 3px; }
.chat-bubble { padding: 11px 14px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); white-space: normal; overflow-wrap: anywhere; }
.from-me .chat-bubble { background: linear-gradient(180deg, var(--accent-2), var(--accent)); border-color: transparent; color: #fff; border-bottom-right-radius: 5px; }
.from-staff .chat-bubble { border-bottom-left-radius: 5px; }
.chat-reply textarea { margin-bottom: 10px; }

/* App install banner + iPhone steps */
.app-banner { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 90; display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 12px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(0, 0, 0, .45); max-width: 520px; margin: 0 auto; animation: zre-pop .25s ease-out; }
.app-banner[hidden] { display: none; }
.app-banner img { border-radius: 10px; }
.app-banner-text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.app-banner-text span { font-size: 12px; color: var(--muted); }
.app-banner-x { background: none; border: 0; color: var(--muted); font-size: 24px; line-height: 1; padding: 0 4px; cursor: pointer; }
body.has-app-banner .chat-fab { bottom: 84px; }
body.has-app-banner .support-pop { bottom: 150px; }
.ios-steps { padding-left: 20px; margin: 10px 0 18px; display: grid; gap: 10px; }
.ios-share { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 6px; background: var(--info); color: #fff; font-size: 13px; }

@media (min-width: 720px) {
  .account-tiles { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Flash sale ---------- */
.ribbon-sale { background: linear-gradient(90deg, #f59e0b, #ef4444); color: #fff; animation: zre-pulse 1.8s ease-in-out infinite; }
@keyframes zre-pulse { 50% { transform: scale(1.06); } }
.flash-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 12px; margin: 0 0 12px; border-radius: 12px; background: linear-gradient(90deg, rgba(245, 158, 11, .16), rgba(239, 68, 68, .16)); border: 1px solid rgba(245, 158, 11, .45); }
.flash-tag { font-weight: 900; font-size: 13px; letter-spacing: .5px; color: #fbbf24; }
.flash-text { font-weight: 700; flex: 1; }
.flash-ends { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); font-weight: 600; }
.section-title .flash-ends { font-size: 13px; margin-left: 8px; vertical-align: middle; }
.countdown { display: inline-flex; align-items: center; gap: 2px; font-variant-numeric: tabular-nums; }
.countdown b { display: inline-block; min-width: 26px; padding: 3px 4px; text-align: center; border-radius: 6px; background: #111827; color: #fff; font-size: 13px; }
.countdown i { font-style: normal; color: var(--muted); font-weight: 700; padding: 0 1px; }
.countdown.cd-zero-days b[data-cd="d"], .countdown.cd-zero-days b[data-cd="d"] + i { display: none; }
.countdown.is-ended { color: var(--muted); }
.pkg.is-sale { border-color: rgba(245, 158, 11, .55); }
.pkg-price s { color: var(--muted); font-weight: 500; font-size: 12px; margin-left: 4px; }
.pkg-off { position: absolute; top: -8px; left: 10px; font-size: 10px; font-weight: 800; padding: 2px 6px; border-radius: 6px; background: linear-gradient(90deg, #f59e0b, #ef4444); color: #fff; }

/* ---------- Cashback + refer ---------- */
.cashback-row { display: flex; justify-content: space-between; font-size: 13px; color: #34d399; font-weight: 600; margin: -2px 0 8px; }
.refer-card { background: linear-gradient(135deg, rgba(34, 197, 94, .14), var(--card)); border-color: rgba(34, 197, 94, .4); }
.refer-link { display: flex; gap: 8px; margin: 10px 0; }
.refer-link input { flex: 1; min-width: 0; font-size: 13px; }
.refer-share { display: flex; gap: 8px; flex-wrap: wrap; }
.refer-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; text-align: center; }
.refer-stats div { background: var(--card-2); border-radius: 10px; padding: 8px 4px; display: flex; flex-direction: column; }
.refer-stats b { font-size: 18px; }
.refer-stats span { font-size: 11px; color: var(--muted); }
.shop-paused { background: rgba(245, 158, 11, .14); border: 1px solid rgba(245, 158, 11, .5); color: #fbbf24; padding: 10px 14px; border-radius: 12px; font-weight: 600; margin: 12px 0; text-align: center; }
.maint-bar { background: #f59e0b; color: #111; text-align: center; font-weight: 700; font-size: 13px; padding: 8px 12px; }
.maint-bar a { color: #111; text-decoration: underline; }
[hidden] { display: none !important; }
.flash-text { white-space: nowrap; }
.flash-ends { margin-left: auto; }

/* ==================================================   v1.4 — bottom menu, notifications, app bonus, saved IDs, FAQ
   ========================================================= */
:root { --bn: 0px; }
.bnav { display: none; }
@media (max-width: 959px) {
  body.has-bnav { --bn: calc(62px + env(safe-area-inset-bottom, 0px)); padding-bottom: var(--bn); }
  body.has-bnav .bnav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 85; display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); height: var(--bn); padding-bottom: env(safe-area-inset-bottom, 0px); background: color-mix(in srgb, var(--bg-2) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
  .bnav a, .bnav button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--muted); background: none; border: 0; padding: 6px 2px; font-size: 11px; font-weight: 600; text-decoration: none !important; cursor: pointer; min-width: 0; -webkit-tap-highlight-color: transparent; }
  .bnav span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .bnav .active { color: var(--accent-2); }
  .bnav .active .ic { transform: translateY(-1px); }
  .bnav a:active, .bnav button:active { transform: scale(.94); }
  .bnav-av { width: 24px; height: 24px; border-radius: 50%; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent-2); font-size: 10px; font-weight: 800; }
  .bnav .active .bnav-av { box-shadow: 0 0 0 2px var(--accent-2); }
  .bnav-av img { width: 100%; height: 100%; object-fit: cover; }
  /* everything that sits at the bottom moves above the menu */
  .checkout-box { bottom: calc(10px + var(--bn)); }
  .chat-fab { bottom: calc(18px + var(--bn)); }
  .support-pop { bottom: calc(84px + var(--bn)); }
  .product-page ~ .chat-fab, body:has(.checkout-box) .chat-fab { bottom: calc(var(--cb-h, 170px) + 22px + var(--bn)); }
  body:has(.checkout-box) .support-pop { bottom: calc(var(--cb-h, 170px) + 84px + var(--bn)); }
  .toast { bottom: calc(18px + var(--bn)); }
  body:has(.checkout-box) .toast { bottom: calc(128px + var(--bn)); }
  body.has-app-banner .chat-fab, body.has-nudge .chat-fab { bottom: calc(84px + var(--bn)); }
  body.has-app-banner .support-pop, body.has-nudge .support-pop { bottom: calc(150px + var(--bn)); }
}

/* Notification permission sheet */
.push-sheet { text-align: center; }
.push-bell { width: 64px; height: 64px; margin: 0 auto 10px; border-radius: 20px; display: flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(180deg, var(--accent-2), var(--accent)); box-shadow: 0 10px 24px rgba(229, 56, 59, .4); animation: zre-ring 1.6s ease-in-out 2; }
@keyframes zre-ring { 0%, 100% { transform: rotate(0); } 15% { transform: rotate(14deg); } 30% { transform: rotate(-12deg); } 45% { transform: rotate(8deg); } 60% { transform: rotate(-4deg); } }
.push-box { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.push-box .btn { flex-shrink: 0; }

/* App bonus */
.bonus-nudge { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 90; display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 12px; border-radius: 16px; max-width: 520px; margin: 0 auto; background: linear-gradient(135deg, rgba(245, 158, 11, .22), transparent 60%), var(--card); border: 1px solid rgba(245, 158, 11, .55); box-shadow: 0 16px 40px rgba(0, 0, 0, .45); animation: zre-pop .25s ease-out; }
.bonus-nudge-ic { font-size: 28px; }
.bonus-nudge-text { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.bonus-nudge-text small { color: var(--muted); font-size: 12px; }
.appb-hero { text-align: center; background: linear-gradient(160deg, rgba(245, 158, 11, .18), var(--card) 65%); border-color: rgba(245, 158, 11, .45); }
.appb-hero h1 { font-size: 22px; margin: 6px 0; }
.appb-gift { font-size: 52px; line-height: 1; animation: zre-pulse 1.8s ease-in-out infinite; }
.appb-steps { list-style: none; padding: 0; margin: 14px 0; display: grid; gap: 10px; }
.appb-steps li { display: flex; gap: 12px; align-items: flex-start; margin: 0; }
.appb-steps p { margin: 2px 0 8px; }
.appb-no { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; background: var(--accent-soft); color: var(--accent-2); }
.appb-ok { color: var(--ok); font-weight: 700; }
.appb-claim .alert { margin-bottom: 10px; }
.appb-status { display: flex; gap: 12px; align-items: flex-start; margin-top: 14px; }
.appb-status p { margin: 4px 0 0; }
.appb-ic { font-size: 30px; line-height: 1; }
.appb-status.appb-approved { border-color: rgba(34, 197, 94, .5); }
.appb-status.appb-rejected { border-color: rgba(229, 56, 59, .5); }
.appb-card { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none !important; background: linear-gradient(135deg, rgba(245, 158, 11, .14), var(--card) 70%); border-color: rgba(245, 158, 11, .4); }
.appb-card.appb-approved { background: var(--card); border-color: var(--line); }
.appb-card-ic { font-size: 26px; }
.appb-card-text { flex: 1; display: flex; flex-direction: column; min-width: 0; }

/* Saved game IDs */
.saved-ids { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 12px; }
.saved-chip { border: 1px dashed var(--accent); background: var(--accent-soft); color: var(--text); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600; cursor: pointer; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.saved-chip.is-picked { border-style: solid; background: var(--accent); color: #fff; }

/* Recently viewed */
.rv-list { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.rv-item { flex: 0 0 92px; scroll-snap-align: start; color: var(--text); text-decoration: none !important; display: flex; flex-direction: column; gap: 6px; }
.rv-thumb { width: 92px; height: 92px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--card); }
.rv-thumb img, .rv-thumb .tile { width: 100%; height: 100%; object-fit: cover; }
.rv-name { font-size: 12px; font-weight: 600; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.link-btn { background: none; border: 0; cursor: pointer; padding: 4px; }
.link-btn:hover { color: var(--accent-2); }

/* How to order */
.how-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.how-step { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 10px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.how-step strong { font-size: 14px; }
.how-step small { font-size: 12px; line-height: 1.4; }
.how-ic { width: 46px; height: 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: var(--accent-soft); color: var(--accent-2); }
.how-no { position: absolute; top: 8px; left: 10px; font-size: 12px; font-weight: 800; color: var(--muted); }
@media (max-width: 520px) {
  .how-steps { grid-template-columns: 1fr; }
  .how-step { display: grid; grid-template-columns: 46px 1fr; column-gap: 12px; row-gap: 2px; text-align: left; justify-items: start; align-items: center; padding: 12px 14px; }
  .how-step .how-ic { grid-row: span 2; }
  .how-no { display: none; }
}

/* FAQ */
.faq-list { display: grid; gap: 8px; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.faq-item summary { cursor: pointer; padding: 13px 40px 13px 14px; font-weight: 600; list-style: none; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 20px; color: var(--accent-2); transition: transform .2s; }
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { padding: 0 14px 14px; color: var(--muted); font-size: 14px; }

/* Fix: long names in "Recent orders" made the page wider than the phone */
.recent-list { grid-template-columns: minmax(0, 1fr); }
.recent-item { min-width: 0; }
.recent-info strong { overflow-wrap: anywhere; }
@media (max-width: 959px) {
  .app-banner, .bonus-nudge { bottom: calc(10px + var(--bn)); }
}
.push-box .push-note { color: var(--warn); }

/* =========================================================
   v1.5 — cleaner cards, easy checkout, clear order status,
          account dashboard, wallet history, mobile support
   ========================================================= */

/* Product cards */
.card-v2 { padding: 6px 6px 10px; display: flex; flex-direction: column; }
.card-v2 .card-body { padding: 8px 4px 0; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.card-v2 .card-name { text-align: left; margin: 0; font-size: 13.5px; min-height: 2.6em; }
.card-price { font-size: 13px; color: var(--muted); line-height: 1.2; }
.card-price small { font-size: 11px; }
.card-price b { color: var(--text); font-size: 15px; font-weight: 800; }
.card-price s { font-size: 11px; }
.card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: 11px; color: var(--muted); margin-top: auto; }
.card-meta i { font-style: normal; opacity: .6; }
.card-rate { color: #fbbf24; font-weight: 700; }
.card-v2.is-out { opacity: .6; }
.ribbon-hot { background: linear-gradient(90deg, #f97316, #ef4444); color: #fff; }
@media (max-width: 380px) { .card-v2 .card-name { font-size: 12.5px; } .card-price b { font-size: 14px; } .card-meta { display: none; } }

/* Checkout */
.co-pick { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 10px; margin-bottom: 8px; border-radius: 10px; background: var(--accent-soft); font-size: 14px; }
.co-pick .ic { color: var(--ok); }
.co-wallet { margin: -2px 0 8px; color: var(--muted); }
.co-wallet.is-enough { color: var(--ok); font-weight: 600; }
.co-trust { display: flex; justify-content: center; gap: 14px; margin-top: 8px; font-size: 11.5px; color: var(--muted); flex-wrap: wrap; }
.co-trust span { display: inline-flex; align-items: center; gap: 4px; }
.co-steps { list-style: none; display: flex; gap: 6px; padding: 0; margin: 14px 0 4px; counter-reset: none; }
.co-steps li { flex: 1; display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--muted); padding-bottom: 8px; border-bottom: 3px solid var(--line); }
.co-steps li span { width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; background: var(--card-2); border: 1px solid var(--line); flex-shrink: 0; }
.co-steps li.done { color: var(--ok); border-color: var(--ok); }
.co-steps li.done span { background: var(--ok); color: #fff; border-color: var(--ok); }
.co-steps li.now { color: var(--text); border-color: var(--accent); }
.co-steps li.now span { background: var(--accent); color: #fff; border-color: var(--accent); }
.tag-fast { font-size: 11px; font-weight: 800; padding: 2px 7px; border-radius: 999px; background: rgba(34, 197, 94, .15); color: var(--ok); margin-left: 4px; vertical-align: middle; }
.pay-wallet { border-color: rgba(34, 197, 94, .45); }
.secure-note { color: var(--muted); margin: 14px 0 4px; text-align: center; }
.secure-note .ic { vertical-align: -2px; }

/* Order status */
.ostat { display: flex; gap: 14px; align-items: flex-start; margin-top: 14px; padding: 18px 16px; border-radius: 18px; border: 1px solid var(--line); background: var(--card); }
.ostat h1 { font-size: 21px; margin: 0 0 4px; }
.ostat p { margin: 0 0 8px; color: var(--muted); font-size: 14px; }
.ostat-ic { font-size: 30px; width: 54px; height: 54px; border-radius: 16px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: var(--card-2); }
.ostat-no { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--muted); flex-wrap: wrap; }
.ostat-copy { background: none; border: 0; color: var(--muted); cursor: pointer; padding: 2px; }
.ostat-copy.copied { color: var(--ok); }
.ostat-ok { background: linear-gradient(135deg, rgba(34, 197, 94, .16), var(--card) 65%); border-color: rgba(34, 197, 94, .45); }
.ostat-ok .ostat-ic { background: rgba(34, 197, 94, .18); }
.ostat-work { background: linear-gradient(135deg, rgba(59, 130, 246, .16), var(--card) 65%); border-color: rgba(59, 130, 246, .45); }
.ostat-work .ostat-ic { background: rgba(59, 130, 246, .18); animation: zre-pulse 1.8s ease-in-out infinite; }
.ostat-wait { background: linear-gradient(135deg, rgba(245, 158, 11, .16), var(--card) 65%); border-color: rgba(245, 158, 11, .45); }
.ostat-wait .ostat-ic { background: rgba(245, 158, 11, .18); }
.ostat-bad { background: linear-gradient(135deg, rgba(229, 56, 59, .14), var(--card) 65%); border-color: rgba(229, 56, 59, .4); }
.ostat-bad .ostat-ic { color: #f87171; }
.vsteps { list-style: none; padding: 4px 0 0 4px; margin: 16px 0 14px; }
.vstep { position: relative; display: flex; gap: 12px; padding: 0 0 16px 0; }
.vstep:last-child { padding-bottom: 0; }
.vstep::before { content: ""; position: absolute; left: 11px; top: 24px; bottom: -2px; width: 2px; background: var(--line); }
.vstep:last-child::before { display: none; }
.vstep.is-done::before { background: var(--ok); }
.vstep-dot { width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border: 2px solid var(--line); background: var(--bg); color: #fff; position: relative; z-index: 1; }
.vstep.is-done .vstep-dot { background: var(--ok); border-color: var(--ok); }
.vstep.is-now .vstep-dot { border-color: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); }
.vstep.is-now .vstep-dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: zre-pulse 1.4s ease-in-out infinite; }
.vstep div { display: flex; flex-direction: column; padding-top: 1px; }
.vstep strong { font-size: 14px; }
.vstep small { font-size: 12px; color: var(--muted); }
.vstep.is-next strong { color: var(--muted); font-weight: 500; }

/* Account dashboard */
.acct { padding-top: 10px; }
.acct-hero { position: relative; display: flex; gap: 14px; align-items: center; padding: 18px 16px; margin-top: 8px; border-radius: 20px; border: 1px solid var(--line); background: radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--rc, var(--accent)) 28%, transparent), var(--card) 60%); }
.acct-hero h1 { font-size: 20px; margin: 0; }
.acct-hero-text { flex: 1; min-width: 0; }
.acct-hero-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 6px; }
.rank-chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--text); background: color-mix(in srgb, var(--rc, var(--accent)) 22%, transparent); border: 1px solid color-mix(in srgb, var(--rc, var(--accent)) 55%, transparent); text-decoration: none !important; }
.acct-gear { position: absolute; top: 12px; right: 12px; }
.acct-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.acct-stats a { display: flex; flex-direction: column; gap: 2px; padding: 12px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); color: var(--text); text-decoration: none !important; min-width: 0; }
.acct-stats a:hover { border-color: var(--accent); }
.acct-stats small { font-size: 11.5px; color: var(--muted); }
.acct-stats b { font-size: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acct-stats span { font-size: 11.5px; color: var(--accent-2); font-weight: 600; }
.acct-actions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 12px 0 4px; }
.acct-actions a { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--text); text-decoration: none !important; text-align: center; }
.aa-ic { position: relative; width: 52px; height: 52px; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: var(--card); border: 1px solid var(--line); color: var(--accent-2); transition: transform .12s; }
.acct-actions a:hover .aa-ic { border-color: var(--accent); transform: translateY(-2px); }
.aa-ic b { position: absolute; top: -5px; right: -5px; background: var(--accent); color: #fff; font-size: 10px; min-width: 18px; height: 18px; border-radius: 999px; display: flex; align-items: center; justify-content: center; }
.acct-live { margin-top: 16px; }
.live-order { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none !important; margin-top: 8px; border-color: rgba(59, 130, 246, .45); }
.live-ic { font-size: 22px; }
.live-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.live-main strong { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live-main small { font-size: 12px; color: var(--muted); }
.live-bar { height: 5px; border-radius: 999px; background: var(--card-2); overflow: hidden; margin-top: 4px; }
.live-bar i { display: block; height: 100%; background: linear-gradient(90deg, #3b82f6, #22c55e); border-radius: inherit; animation: zre-grow 1.2s ease-out; }
@keyframes zre-grow { from { width: 0; } }
.rank-mini { display: flex; flex-direction: column; gap: 8px; color: var(--text); text-decoration: none !important; margin-top: 14px; }
.rank-mini-top { display: flex; justify-content: space-between; font-weight: 700; }
.rank-mini .rank-progress { margin: 0; }
.chips { display: flex; gap: 6px; overflow-x: auto; padding: 2px 0 8px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex-shrink: 0; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--text); font-size: 13px; font-weight: 600; cursor: pointer; }
.chip b { font-size: 11px; color: var(--muted); margin-left: 3px; }
.chip.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.chip.active b { color: rgba(255, 255, 255, .85); }
.order-cards { display: flex; flex-direction: column; gap: 8px; }
.order-card { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); color: var(--text); text-decoration: none !important; }
.order-card:hover { border-color: var(--accent); }
.oc-thumb { width: 46px; height: 46px; border-radius: 12px; overflow: hidden; flex-shrink: 0; }
.oc-thumb img, .oc-thumb .tile { width: 100%; height: 100%; object-fit: cover; }
.oc-thumb .tile span { font-size: 14px; }
.oc-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.oc-main strong { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.oc-main small { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.oc-side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex-shrink: 0; }
.oc-pill { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.oc-active .oc-pill { background: rgba(59, 130, 246, .16); color: #60a5fa; }
.oc-done .oc-pill { background: rgba(34, 197, 94, .14); color: var(--ok); }
.oc-unpaid .oc-pill { background: rgba(245, 158, 11, .16); color: #fbbf24; }
.oc-cancelled .oc-pill { background: rgba(229, 56, 59, .14); color: #f87171; }
.oc-cancelled { opacity: .7; }
[data-theme="light"] .oc-active .oc-pill { color: #1d4ed8; }
[data-theme="light"] .oc-unpaid .oc-pill { color: #b45309; }
.empty-state-c { text-align: center; padding: 28px 14px; font-size: 38px; border: 1px dashed var(--line); border-radius: 16px; }
.empty-state-c p { font-size: 14px; color: var(--muted); margin: 6px 0 12px; }

/* Wallet */
.wallet-month { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
.wallet-month div { background: rgba(255, 255, 255, .14); border-radius: 12px; padding: 8px 10px; display: flex; flex-direction: column; min-width: 0; }
.wallet-month small { font-size: 11px; color: rgba(255, 255, 255, .82); }
.wallet-month b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tx2-list { display: flex; flex-direction: column; }
.tx2-day { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; padding: 14px 2px 6px; }
.tx2 { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); margin-bottom: 6px; }
.tx2-ic { width: 38px; height: 38px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 17px; background: var(--card-2); flex-shrink: 0; }
.tx2-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.tx2-main strong { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tx2-main strong a { color: var(--text); }
.tx2-main small { font-size: 12px; color: var(--muted); }
.tx2-amt { font-weight: 800; white-space: nowrap; }
.tx2-added .tx2-amt, .tx2-bonus .tx2-amt, .tx2-refund .tx2-amt, .tx2-other .tx2-amt { color: var(--ok); }
.tx2-spent .tx2-amt { color: var(--accent-2); }
.tx2-bonus .tx2-ic { background: rgba(245, 158, 11, .16); }
.tx2-added .tx2-ic { background: rgba(34, 197, 94, .14); }
.tx2-refund .tx2-ic { background: rgba(59, 130, 246, .16); }

/* Support */
.quick-answers { margin-top: 18px; }
.ticket-new { margin-top: 18px; }
@media (max-width: 959px) {
  .chat-reply { position: sticky; bottom: calc(8px + var(--bn)); z-index: 6; box-shadow: var(--shadow); }
  .chat-reply textarea { min-height: 46px; }
  body:has(.chat-reply) .chat-fab { display: none; }
}
@media (max-width: 420px) {
  .acct-actions { gap: 4px; }
  .aa-ic { width: 46px; height: 46px; border-radius: 14px; }
  .acct-stats b { font-size: 16px; }
  .wallet-month b { font-size: 13px; }
  .ostat { padding: 14px 12px; }
  .ostat h1 { font-size: 19px; }
}
.rank-progress > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, color-mix(in srgb, var(--rc, var(--accent)) 60%, #fff), var(--rc, var(--accent))); }
.pay-logo { display: inline-flex; align-items: center; justify-content: center; padding: 5px 10px; min-height: 32px; }
.pay-logo img { height: 22px; width: auto; max-width: 110px; object-fit: contain; display: block; }
.social-whatsapp, .social-wa_channel, .social-whatsapp_channel { background: #25d366; }
.social-messenger { background: linear-gradient(45deg, #0099ff, #a033ff); }

/* v1.5.2 — install help + status message */
.install-sheet { text-align: center; }
.install-sheet .ios-steps { text-align: left; }
.install-icon { width: 64px; height: 64px; border-radius: 16px; margin: 0 auto 8px; box-shadow: var(--shadow); }
.install-bonus { color: #fbbf24; font-weight: 700; margin: -4px 0 6px; }
.zre-say { position: fixed; left: 50%; bottom: calc(24px + var(--bn, 0px)); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; z-index: 200; max-width: min(92vw, 420px); padding: 11px 16px; border-radius: 12px; background: #0f172a; color: #fff; border: 1px solid rgba(34, 197, 94, .5); box-shadow: 0 12px 30px rgba(0, 0, 0, .45); font-size: 14px; font-weight: 600; text-align: center; transition: opacity .2s, transform .2s; }
.zre-say.show { opacity: 1; transform: translate(-50%, 0); }
.zre-say.bad { border-color: rgba(229, 56, 59, .6); }
.won-sheet { text-align: center; overflow: hidden; }
.won-burst { font-size: 64px; line-height: 1; margin: 4px 0 6px; animation: zre-pop .5s ease-out, zre-pulse 1.6s ease-in-out .5s infinite; }
.won-amount { font-size: 38px; font-weight: 900; color: var(--ok); margin: 0 0 6px; }
=======
/* ---------- Game groups: region picker (v1.4) ---------- */
.card-flag { position: absolute; top: 6px; right: 6px; display: inline-flex; line-height: 0; border-radius: 4px; overflow: hidden; box-shadow: 0 2px 6px rgba(0, 0, 0, .45); }
.card-flag img { width: 26px; height: 18px; object-fit: cover; display: block; }
.card-flag.flag-global { background: rgba(17, 17, 17, .7); color: #fff; padding: 3px 5px; border-radius: 6px; line-height: 1; }
.corner-tag { position: absolute; top: 14px; left: -30px; width: 110px; transform: rotate(-45deg); background: var(--accent); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: 1px; text-align: center; padding: 3px 0; box-shadow: 0 2px 6px rgba(0, 0, 0, .35); text-transform: uppercase; }
.group-count { position: absolute; right: 6px; bottom: 6px; display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; padding: 3px 7px; border-radius: 999px; background: rgba(17, 17, 17, .72); color: #fff; backdrop-filter: blur(4px); }

.group-modal .group-sheet { max-width: 680px; padding: 0; display: flex; flex-direction: column; overflow: hidden; }
.group-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.group-head > div { min-width: 0; flex: 1; }
.group-head h3, .group-head h1 { margin: 0; font-size: 17px; font-weight: 800; letter-spacing: .3px; text-transform: uppercase; line-height: 1.25; }
.group-sub { display: inline-flex; align-items: center; gap: 5px; margin-top: 2px; }
.group-logo { width: 46px; height: 46px; border-radius: 10px; overflow: hidden; flex-shrink: 0; background: var(--card-2); }
.group-logo img, .group-logo .tile { width: 100%; height: 100%; object-fit: cover; }
.group-logo .tile span { font-size: 15px; }
.group-x { border-radius: 50%; width: 36px; height: 36px; flex-shrink: 0; }
.group-body { padding: 16px 18px; overflow-y: auto; flex: 1; }
.group-foot { border-top: 1px solid var(--line); padding: 12px; display: flex; justify-content: center; align-items: center; gap: 8px; background: var(--bg); }
.group-foot .brand-logo { max-height: 30px; width: auto; }
.group-foot .brand-text { font-weight: 800; letter-spacing: .5px; }

.region-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 420px) { .region-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 640px) { .region-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; } }
.region-card { padding: 0; overflow: hidden; }
.region-card .card-media { border-radius: 0; }
.region-card .card-name { font-size: 14px; font-weight: 700; padding: 0 8px 10px; margin-top: 10px; }
.region-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.group-page .group-head { padding: 4px 0 16px; border: 0; }
.group-page .group-head h1 { font-size: 20px; }
.group-page .region-grid { margin-bottom: 14px; }
@media (min-width: 960px) { .group-page .region-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

.group-promo { margin-top: 14px; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: linear-gradient(100deg, #1d4ed8, #2563eb 55%, #3b82f6); color: #fff; }
.group-promo-copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.group-promo-label { font-size: 10px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; opacity: .85; }
.group-promo strong { font-size: 15px; line-height: 1.3; }
.group-promo .btn { flex-shrink: 0; color: #1d4ed8; font-weight: 700; }

@media (max-width: 520px) {
  .group-modal { padding: 0; align-items: flex-end; }
  .group-modal .group-sheet { max-height: 92vh; border-radius: 18px 18px 0 0; border-bottom: 0; }
  .group-promo { flex-wrap: wrap; }
}

/* Region switcher on the product page */
.region-switch { margin-top: 14px; }
.region-switch-label { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.region-chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.region-chip { flex-shrink: 0; display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--text); font-size: 13px; font-weight: 600; text-decoration: none !important; white-space: nowrap; }
.region-chip:hover { border-color: var(--accent); }
.region-chip.active { border-color: var(--accent); background: var(--accent-soft); }
.chip-flag { display: inline-flex; line-height: 0; border-radius: 3px; overflow: hidden; }
.chip-flag img { width: 20px; height: 14px; object-fit: cover; }
.chip-flag.flag-global { line-height: 1; color: var(--muted); }
.card-flag.flag-txt, .chip-flag.flag-txt { background: rgba(17, 17, 17, .75); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .5px; padding: 3px 5px; line-height: 1; }

/* ---------- v1.6: package tags, saved IDs, buy again, live progress ---------- */
.pkg-tags { position: absolute; top: -9px; left: 10px; display: flex; gap: 4px; z-index: 1; }
.pkg-tags .pkg-off { position: static; }
.pkg-tag { font-size: 10px; font-weight: 800; padding: 2px 7px; border-radius: 6px; color: #fff; white-space: nowrap; letter-spacing: .2px; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); }
.pkg-tag-popular { background: linear-gradient(90deg, #f97316, #e5383b); }
.pkg-tag-best { background: linear-gradient(90deg, #06b6d4, #3b82f6); }
.pkg-tag-hot { background: linear-gradient(90deg, #a855f7, #ec4899); }
.pkg:has(.pkg-tags) { padding-top: 18px; }

.saved-ids { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; }
.saved-label { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); }
.saved-chip { font: inherit; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--card-2); color: var(--text); cursor: pointer; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.saved-chip:hover { border-color: var(--accent); }
.saved-chip.active { border-color: var(--accent); background: var(--accent-soft); }
.hint-saved { color: var(--ok); }
.again-bar { margin-top: 14px; }

.order-item { position: relative; }
.order-link { color: inherit; text-decoration: none !important; }
.order-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.order-again { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; border: 1px solid var(--accent); color: var(--accent-2); background: var(--accent-soft); text-decoration: none !important; }
.order-again:hover { background: var(--accent); color: #fff; }

.progress { list-style: none; padding: 0; margin: 18px 0 8px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; }
.progress li { position: relative; text-align: center; font-size: 12px; color: var(--muted); padding: 0 2px; }
.progress li::before { content: ""; position: absolute; top: 13px; left: -50%; width: 100%; height: 3px; background: var(--line); z-index: 0; }
.progress li:first-child::before { display: none; }
.progress li.done::before, .progress li.active::before { background: var(--accent); }
.progress .dot { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; margin: 0 auto 6px; border-radius: 50%; background: var(--card); border: 2px solid var(--line); color: transparent; }
.progress li.done .dot { background: var(--accent); border-color: var(--accent); color: #fff; }
.progress li.active .dot { border-color: var(--accent); background: var(--accent-soft); animation: zre-ring 1.6s ease-out infinite; }
.progress li.active .dot::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.progress li.done, .progress li.active { color: var(--text); font-weight: 600; }
.progress small { display: block; font-weight: 400; color: var(--muted); font-size: 11px; margin-top: 1px; }
@keyframes zre-ring { 0% { box-shadow: 0 0 0 0 rgba(229, 56, 59, .45); } 100% { box-shadow: 0 0 0 10px rgba(229, 56, 59, 0); } }
.live-note { display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 12px; color: var(--muted); margin: 4px 0 12px; }
.live-note[hidden] { display: none; }
.live-note i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(34, 197, 94, .5); animation: zre-live 1.6s infinite; }
.live-note.is-paused i { background: var(--muted); animation: none; }
@keyframes zre-live { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .5); } 100% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); } }
.again-btn { margin-top: 10px; }
@media (prefers-reduced-motion: reduce) { .progress li.active .dot, .live-note i { animation: none; } }

/* v1.8 — order cards with Buy again */
.order-card { flex-wrap: wrap; padding: 0; overflow: hidden; }
.order-card .oc-link { display: flex; align-items: center; gap: 12px; padding: 10px 12px; flex: 1 1 100%; min-width: 0; color: var(--text); text-decoration: none !important; }
.oc-again { flex: 1 1 100%; display: block; padding: 8px 12px; border-top: 1px dashed var(--line); font-size: 13px; font-weight: 700; color: var(--accent-2); text-decoration: none !important; text-align: center; background: var(--accent-soft); }
.oc-again:hover { filter: brightness(1.15); }
