/* =====================================================================
   TEST MARKET — web app. Telegram mavzusiga (och/qora) moslashadi.
   Uslub: yumshoq "neon" porlash + shisha kartalar + 3D emojilar.
   ===================================================================== */
:root {
  --fb-bg: #ffffff; --fb-bg2: #eef0f6; --fb-text: #15171c; --fb-hint: #747b8a; --fb-accent: #3b82f6; --fb-accent-text: #ffffff;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --fb-bg: #1b1c24; --fb-bg2: #0e0f14; --fb-text: #f3f4f8; --fb-hint: #8e96a8; --fb-accent: #5aa2ff; }
}
:root {
  --bg: var(--tg-theme-bg-color, var(--fb-bg));
  --bg2: var(--tg-theme-secondary-bg-color, var(--fb-bg2));
  --text: var(--tg-theme-text-color, var(--fb-text));
  --hint: var(--tg-theme-hint-color, var(--fb-hint));
  --accent: var(--tg-theme-button-color, var(--fb-accent));
  --accent-text: var(--tg-theme-button-text-color, var(--fb-accent-text));
  --line: rgba(128, 128, 128, .22);
  --soft: rgba(128, 128, 128, .13);
  --glass: var(--bg);
  --radius: 20px;
  --shadow: 0 2px 4px rgba(0, 0, 0, .05), 0 10px 28px rgba(0, 0, 0, .10);
}
@supports (color: color-mix(in srgb, red 10%, blue)) {
  :root {
    --line: color-mix(in srgb, var(--text) 10%, transparent);
    --soft: color-mix(in srgb, var(--text) 7%, transparent);
    --glass: color-mix(in srgb, var(--bg) 78%, transparent);
  }
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg2);
  color: var(--text);
  font: 15px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  padding-bottom: env(safe-area-inset-bottom);
  min-height: 100vh;
}
body.noscroll { overflow: hidden; }
/* fon: yumshoq rangli nur */
body::before {
  content: ""; position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 38% at 0% 0%, rgba(124, 92, 255, .26), transparent 70%),
    radial-gradient(52% 34% at 100% 6%, rgba(56, 189, 248, .22), transparent 70%),
    radial-gradient(70% 40% at 50% 112%, rgba(244, 114, 182, .20), transparent 70%);
}
html[data-theme="light"] body::before { opacity: .55; }
button { font: inherit; color: inherit; }
img { -webkit-user-drag: none; user-select: none; }

/* =====================================================================
   3D EMOJI
   ===================================================================== */
.emo { display: inline-block; width: 1.25em; height: 1.25em; vertical-align: -.28em; object-fit: contain; filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .28)); }
.emo--sm { width: 20px; height: 20px; vertical-align: -5px; }
.emo--md { width: 26px; height: 26px; }
.emo--lg { width: 34px; height: 34px; }
.emo--xl { width: 64px; height: 64px; }
.emo--hero { width: 92px; height: 92px; animation: bob 3.2s ease-in-out infinite; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .35)) drop-shadow(0 0 22px var(--halo, rgba(124, 92, 255, .55))); }
.emo--glow { filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .3)) drop-shadow(0 0 10px var(--halo, rgba(255, 255, 255, .5))); }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-7px) rotate(2deg); } }

/* =====================================================================
   PORLOVCHI TUGMALAR (.gbtn) — har xil rangda
   ===================================================================== */
.gbtn {
  --c1: #60a5fa; --c2: #2563eb; --gl: 59, 130, 246;
  position: relative; overflow: hidden; isolation: isolate; cursor: pointer; border: 0; color: #fff;
  font-weight: 800; letter-spacing: .2px; text-shadow: 0 1px 2px rgba(0, 0, 0, .3);
  background: linear-gradient(135deg, var(--c1), var(--c2));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), inset 0 -3px 8px rgba(0, 0, 0, .18),
              0 6px 18px rgba(var(--gl), .45), 0 0 26px rgba(var(--gl), .38);
  transition: transform .12s ease, filter .15s ease, box-shadow .2s ease;
}
.gbtn::before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: -1; border-radius: inherit; background: linear-gradient(180deg, rgba(255, 255, 255, .38), rgba(255, 255, 255, 0) 55%); }
.gbtn::after { content: ""; position: absolute; top: -60%; bottom: -60%; width: 36%; left: -60%; z-index: -1; transform: rotate(22deg); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .6), transparent); animation: sheen 4s ease-in-out infinite; pointer-events: none; }
@keyframes sheen { 0%, 55% { left: -60%; } 100% { left: 150%; } }
.gbtn:active { transform: scale(.95); filter: brightness(.93); }
.gbtn:disabled { cursor: not-allowed; filter: grayscale(.85) brightness(.85); box-shadow: none; opacity: .55; }
.gbtn:disabled::after { animation: none; }
.gbtn--green  { --c1: #4ade80; --c2: #059669; --gl: 16, 185, 129; }
.gbtn--violet { --c1: #b794ff; --c2: #5b4bf0; --gl: 124, 92, 255; }
.gbtn--gold   { --c1: #fde047; --c2: #f97316; --gl: 251, 146, 60; }
.gbtn--blue   { --c1: #7dd3fc; --c2: #2563eb; --gl: 59, 130, 246; }
.gbtn--pink   { --c1: #f9a8d4; --c2: #db2777; --gl: 236, 72, 153; }
.gbtn--red    { --c1: #fda4af; --c2: #e11d48; --gl: 244, 63, 94; }
.gbtn--cyan   { --c1: #67e8f9; --c2: #0891b2; --gl: 6, 182, 212; }

.btn { height: 50px; padding: 0 20px; border-radius: 16px; font-size: 15px; width: 100%; max-width: 340px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }

/* =====================================================================
   SARLAVHA
   ===================================================================== */
.header {
  position: sticky; top: 0; z-index: 5; padding: 12px 16px;
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px);
  box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(0, 0, 0, .06);
}
.header__row { display: flex; align-items: center; gap: 10px; }
.header__text { flex: 1; min-width: 0; }
.header__hello { font-size: 13px; color: var(--hint); display: flex; align-items: center; gap: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.header__hello .emo { filter: none; }  /* soya overflow:hidden ichida qirqilib, xira to'rtburchak hosil qilardi */
.header__title {
  font-size: 24px; font-weight: 900; letter-spacing: .3px; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  background: linear-gradient(90deg, #60a5fa, #a78bfa 45%, #f472b6); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 12px rgba(167, 139, 250, .45));
}
.icon-btn { flex: none; width: 46px; height: 46px; border-radius: 16px; border: 0; cursor: pointer; display: grid; place-items: center; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); transition: transform .12s ease, box-shadow .2s ease; }
.icon-btn:active { transform: scale(.9); }
.icon-btn .emo { width: 28px; height: 28px; animation: spin 14s linear infinite; }
.icon-btn:hover .emo { animation-duration: 4s; }
@keyframes spin { to { transform: rotate(360deg); } }

.pill { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 46px; padding: 0 14px; border-radius: 16px; font-weight: 900; white-space: nowrap; color: #c4b5fd; background: rgba(124, 92, 255, .16); box-shadow: inset 0 0 0 1px rgba(167, 139, 250, .35), 0 0 18px rgba(124, 92, 255, .3); }

.search-wrap { position: relative; margin-top: 12px; }
.search-wrap .emo { position: absolute; left: 13px; top: 50%; margin-top: -10px; width: 20px; height: 20px; pointer-events: none; }
.search { width: 100%; border: 0; outline: 0; color: var(--text); font-size: 15px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); padding: 13px 14px 13px 42px; border-radius: 16px; transition: box-shadow .15s ease, background .15s ease; }
.search:focus { background: var(--bg); box-shadow: 0 0 0 2px var(--accent); }
.search:focus { background: var(--bg); box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 70%, transparent), 0 0 22px color-mix(in srgb, var(--accent) 35%, transparent); }
.search::placeholder { color: var(--hint); }
.topbar { display: flex; justify-content: flex-end; padding: 14px 16px 0; }

/* =====================================================================
   MAHSULOTLAR
   ===================================================================== */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 14px 12px 34px; align-items: stretch; }
@media (min-width: 720px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 16px 16px 36px; } }
@media (min-width: 1040px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card {
  position: relative; display: flex; flex-direction: column; overflow: hidden; cursor: pointer; outline: 0; border-radius: var(--radius);
  background: var(--bg);
  background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 96%, #fff), var(--glass));
  box-shadow: var(--shadow), inset 0 0 0 1px var(--line);
  transition: transform .16s ease, box-shadow .2s ease;
  animation: rise .42s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i, 0) * 45ms);
}
.card:active { transform: scale(.98); }
.card:hover { box-shadow: var(--shadow), inset 0 0 0 1px var(--accent); }
.card:hover { box-shadow: var(--shadow), inset 0 0 0 1px color-mix(in srgb, var(--accent) 45%, transparent), 0 0 30px color-mix(in srgb, var(--accent) 22%, transparent); }
.card__media { position: relative; aspect-ratio: 1 / 1; background: var(--bg2); overflow: hidden; }
.card__media::after { content: ""; position: absolute; top: auto; right: 0; bottom: 0; left: 0; height: 26%; background: linear-gradient(0deg, rgba(0, 0, 0, .18), transparent); background: linear-gradient(0deg, color-mix(in srgb, var(--bg) 38%, transparent), transparent); pointer-events: none; }
.card__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.card:hover .card__img { transform: scale(1.05); }
.card__ph { width: 100%; height: 100%; display: grid; place-items: center; background: radial-gradient(circle at 30% 20%, rgba(124, 92, 255, .35), transparent 60%), radial-gradient(circle at 80% 90%, rgba(56, 189, 248, .3), transparent 60%), var(--bg2); }
.card__ph .emo { width: 76px; height: 76px; filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .35)) drop-shadow(0 0 20px rgba(167, 139, 250, .55)); animation: bob 4s ease-in-out infinite; }
.card__body { padding: 10px 11px 11px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card__name { font-weight: 800; font-size: 14.5px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; word-break: break-word; }
.card__desc { font-size: 12px; line-height: 1.35; color: var(--hint); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; word-break: break-word; }
.card .pbtns { margin-top: auto; padding-top: 8px; }

/* ---------- narx tugmalari ----------
   Yonma-yon sig'sa — yonma-yon (.is-row), sig'masa — pastma-past. "so'm" doim raqam bilan BIR QATORDA.
   Matn juda uzun bo'lsa JS shriftni biroz kichraytiradi (--shrink). */
.pbtns { display: grid; gap: 8px; grid-template-columns: 1fr; }
.pbtns--2.is-row { grid-template-columns: 1fr 1fr; }
.pbtn { --fs: 15px; display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-width: 0; height: 50px; padding: 0 10px; border-radius: 15px; }
.pbtn__emo { flex: none; width: 28px; height: 28px; filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .35)) drop-shadow(0 0 9px rgba(255, 255, 255, .55)); }
.pbtn__txt { flex: none; display: flex; align-items: baseline; gap: 4px; white-space: nowrap; line-height: 1; font-size: calc(var(--fs) * var(--shrink, 1)); }
.pbtn__txt b { font-size: 1em; font-weight: 900; }
.pbtn__txt small { font-size: .76em; font-weight: 800; opacity: .92; }
.card .pbtn { --fs: 14.5px; height: 44px; padding: 0 6px; gap: 5px; border-radius: 14px; }
.card .pbtn__emo { width: 22px; height: 22px; }

/* ---------- zaxira: "N ta qoldi" / "Tugagan" ---------- */
.badge { position: absolute; top: 9px; left: 9px; z-index: 3; padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 900; line-height: 1.2; color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.badge--left { background: linear-gradient(135deg, rgba(251, 146, 60, .95), rgba(234, 88, 12, .95)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35), 0 0 14px rgba(251, 146, 60, .6); }
.badge--out { background: rgba(24, 24, 30, .86); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.card--soldout .card__img, .card--soldout .card__ph { filter: grayscale(.85); opacity: .5; }
.card--soldout .card__name { color: var(--hint); }
.pbtn--soldout { border: 0; font-family: inherit; font-weight: 900; cursor: not-allowed; color: var(--hint); background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.pbtn--soldout .pbtn__emo { filter: grayscale(1); opacity: .55; }

/* =====================================================================
   HISOBIM (hamyon): katta kartalar
   ===================================================================== */
@keyframes shine { 0% { left: -70%; } 55%, 100% { left: 130%; } }
.wallet { padding: 14px 12px 0; }
@media (min-width: 720px) { .wallet { padding: 16px 16px 0; } .wallet .wcard { max-width: 560px; } }
.wcard { position: relative; overflow: hidden; isolation: isolate; border-radius: 26px; padding: 18px 18px 16px; color: #fff; display: flex; flex-direction: column; gap: 4px;
  background: linear-gradient(135deg, #0d9488 0%, #2563eb 48%, #7c3aed 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3), inset 0 -8px 20px rgba(0, 0, 0, .22), 0 14px 34px rgba(37, 99, 235, .45), 0 0 46px rgba(124, 58, 237, .38); }
.wcard::before { content: ""; position: absolute; top: -70px; right: -50px; width: 210px; height: 210px; border-radius: 50%; background: rgba(255, 255, 255, .16); z-index: -1; }
.wcard::after { content: ""; position: absolute; bottom: -90px; left: -40px; width: 190px; height: 190px; border-radius: 50%; background: rgba(0, 0, 0, .14); z-index: -1; }
.wcard__shine { position: absolute; top: 0; left: -70%; width: 55%; height: 100%; transform: skewX(-20deg); pointer-events: none; z-index: -1;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2), transparent); animation: shine 6s ease-in-out infinite; }
.wcard__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.wcard__brand { display: flex; align-items: center; gap: 9px; font-size: 16px; font-weight: 900; text-shadow: 0 1px 3px rgba(0, 0, 0, .3); }
.wcard__emo { width: 34px; height: 34px; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .35)) drop-shadow(0 0 12px rgba(255, 255, 255, .5)); }
.wcard__chip { width: 44px; height: 32px; border-radius: 9px; background: linear-gradient(135deg, #fde68a, #f59e0b); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15), 0 3px 8px rgba(0, 0, 0, .3); }
.wcard__label { margin-top: 10px; font-size: 12px; font-weight: 800; letter-spacing: .9px; text-transform: uppercase; opacity: .85; }
.wcard__bal { display: flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.wcard__bal b { font-size: 40px; font-weight: 900; line-height: 1.05; font-variant-numeric: tabular-nums; text-shadow: 0 2px 12px rgba(0, 0, 0, .4); }
.wcard__bal small { font-size: 17px; font-weight: 800; opacity: .94; }
.wcard__bal--long b { font-size: 30px; }
.wcard__bal--long small { font-size: 14px; }
.wcard__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; font-size: 13px; font-weight: 700; }
.wcard__name { opacity: .92; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wcard__pend { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; text-align: right; background: rgba(0, 0, 0, .28); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.wcard__pemo { width: 16px; height: 16px; }
.wcard__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.wbtn { height: 48px; padding: 0 8px; border: 0; border-radius: 16px; cursor: pointer; font: inherit; font-size: 14.5px; font-weight: 900; display: flex; align-items: center; justify-content: center; gap: 7px; min-width: 0; transition: transform .1s ease; }
.wbtn:active { transform: scale(.97); }
.wbtn__emo { flex: none; width: 24px; height: 24px; }
.wbtn--main { color: #064e3b; background: linear-gradient(135deg, #ffffff, #d1fae5); box-shadow: 0 8px 20px rgba(0, 0, 0, .28), 0 0 24px rgba(255, 255, 255, .5); }
.wbtn--ghost { color: #fff; background: rgba(255, 255, 255, .18); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .42); text-shadow: 0 1px 2px rgba(0, 0, 0, .3); }
.sheet .wcard { margin-top: 2px; }

.amountin { width: 100%; border: 0; outline: 0; text-align: center; color: var(--text); font: inherit; font-size: 32px; font-weight: 900; font-variant-numeric: tabular-nums; padding: 16px 12px; border-radius: 20px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.amountin:focus { box-shadow: inset 0 0 0 2px #22c55e, 0 0 22px rgba(34, 197, 94, .3); }
.amountin::placeholder { color: var(--hint); opacity: .6; }
.presets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.preset { border: 0; cursor: pointer; font: inherit; font-weight: 800; font-size: 14.5px; color: var(--text); padding: 12px 4px; border-radius: 14px; white-space: nowrap; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); transition: transform .1s ease; }
.preset:active { transform: scale(.96); }
.preset--sel { color: #fff; background: linear-gradient(135deg, #34d399, #059669); box-shadow: 0 0 18px rgba(16, 185, 129, .5); text-shadow: 0 1px 2px rgba(0, 0, 0, .3); }
.methods { display: flex; flex-direction: column; gap: 9px; }
.method { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.method--on { background: linear-gradient(135deg, rgba(74, 222, 128, .16), rgba(16, 185, 129, .05)); box-shadow: inset 0 0 0 1.5px rgba(74, 222, 128, .6), 0 0 20px rgba(16, 185, 129, .2); }
.method--off { opacity: .55; }
.method__emo { flex: none; width: 34px; height: 34px; }
.method__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.method__txt b { font-size: 15px; line-height: 1.2; }
.method__txt small { color: var(--hint); font-weight: 600; line-height: 1.3; }
.method__tag { flex: none; padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 900; color: var(--hint); background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; }
.method__tag--on { color: #052e16; background: #4ade80; box-shadow: 0 0 14px rgba(74, 222, 128, .6); }

.brows { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border-radius: 18px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.brow { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; color: var(--hint); font-weight: 700; }
.brow b { color: var(--text); font-size: 16px; font-weight: 900; white-space: nowrap; }
.brow--ok b { color: #4ade80; text-shadow: 0 0 12px rgba(74, 222, 128, .45); }
.brow--low b { color: #fb7185; }
.lowbox { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 18px; font-weight: 800; line-height: 1.35; color: #fb7185; background: rgba(251, 113, 133, .12); box-shadow: inset 0 0 0 1px rgba(251, 113, 133, .4), 0 0 20px rgba(251, 113, 133, .18); }
.lowbox__emo { flex: none; width: 34px; height: 34px; }
.minicard { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; border-radius: 20px; color: #fff; background: linear-gradient(135deg, #312e81, #6d28d9 55%, #db2777); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25), 0 8px 22px rgba(109, 40, 217, .4); }
.minicard__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-weight: 800; }
.minicard__emo { width: 28px; height: 28px; }
.minicard__num { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 21px; font-weight: 800; letter-spacing: 1.5px; text-shadow: 0 2px 8px rgba(0, 0, 0, .35); }
.minicard__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-weight: 800; }
.minicard__holder { min-width: 0; text-transform: uppercase; }
.minicard .copybtn { color: #fff; background: rgba(255, 255, 255, .2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4); }
.donebal { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; width: 100%; max-width: 320px; padding: 12px 16px; border-radius: 16px; color: var(--hint); font-weight: 800; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.donebal b { font-size: 18px; color: #4ade80; white-space: nowrap; }

.txs { display: flex; flex-direction: column; gap: 8px; }
.tx { display: flex; align-items: center; gap: 11px; padding: 11px 13px; border-radius: 16px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.tx__ic { flex: none; width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; }
.tx__ic .emo { width: 26px; height: 26px; }
.tx__ic--in { background: rgba(74, 222, 128, .16); }
.tx__ic--out { background: rgba(251, 113, 133, .14); }
.tx__ic--wait { background: rgba(251, 191, 36, .16); }
.tx__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.tx__main b { font-size: 15px; line-height: 1.2; }
.tx__main small { color: var(--hint); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tx__amt { flex: none; font-weight: 900; font-size: 15px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tx__amt--in { color: #4ade80; }
.tx__amt--out { color: #fb7185; }
.tx__amt--wait { color: #fbbf24; }
.tx__main small.tx__wait { color: #fbbf24; }

.support { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; min-height: 46px; border: 0; cursor: pointer; font: inherit; font-weight: 800; font-size: 14.5px; color: var(--text); padding: 10px 14px; border-radius: 16px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.support:active { transform: scale(.98); }
.support__emo { width: 26px; height: 26px; }

/* ---------- Telegram tashqarisida ochilganda ---------- */
.out { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 22px 16px calc(26px + env(safe-area-inset-bottom)); }
.out__langs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.out__lang { width: 40px; height: 40px; padding: 4px; border: 0; cursor: pointer; border-radius: 14px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); opacity: .65; transition: transform .1s ease, opacity .15s ease; }
.out__lang img { width: 100%; height: 100%; display: block; border-radius: 50%; object-fit: cover; }
.out__lang--on { opacity: 1; box-shadow: inset 0 0 0 2px var(--accent), 0 0 16px color-mix(in srgb, var(--accent) 45%, transparent); }
.out__card { width: 100%; max-width: 420px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; padding: 26px 20px 22px; border-radius: 28px; background: var(--bg); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); }
.out__card h2 { margin: 0; font-size: 22px; font-weight: 900; }
.out__card p { margin: 0; color: var(--hint); line-height: 1.5; }
.out__shop { font-size: 13px; font-weight: 900; letter-spacing: .8px; text-transform: uppercase; color: var(--hint); }
.out__btns { width: 100%; display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.out__btn { max-width: none; text-decoration: none; height: 54px; font-size: 15px; justify-content: flex-start; padding: 0 18px; }
.out__emo { width: 30px; height: 30px; flex: none; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .35)); }
.out__qr { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 6px; }
.out__qr img { width: 176px; height: 176px; padding: 10px; border-radius: 20px; background: #fff; box-shadow: 0 8px 26px rgba(0, 0, 0, .25), 0 0 30px rgba(56, 189, 248, .3); }
.out__qr small { color: var(--hint); font-weight: 700; max-width: 260px; line-height: 1.4; }
.out__bot { font-weight: 900; color: var(--accent); }
.out__note { display: flex; align-items: flex-start; gap: 8px; margin-top: 6px; padding: 11px 13px; border-radius: 16px; font-size: 12.5px; line-height: 1.4; color: var(--hint); text-align: left; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.out__lock { flex: none; width: 20px; height: 20px; }

/* =====================================================================
   XIZMATLAR: ⭐ Stars / 💎 Premium
   ===================================================================== */
.svc { padding: 14px 12px 0; display: flex; flex-direction: column; gap: 10px; }
.svc .section-label { padding: 0 4px; }
.svc__grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.svc__grid--1 { grid-template-columns: 1fr; }
.svc-card { position: relative; overflow: hidden; isolation: isolate; border: 0; cursor: pointer; text-align: left; color: #fff; font-family: inherit;
  padding: 14px 13px 13px; border-radius: 22px; min-height: 150px; display: flex; flex-direction: column; gap: 4px;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3), inset 0 -4px 12px rgba(0, 0, 0, .16), 0 8px 22px rgba(var(--gl), .42), 0 0 28px rgba(var(--gl), .34);
  transition: transform .12s ease; }
.svc-card:active { transform: scale(.97); }
.svc-card::before { content: ""; position: absolute; top: -42px; right: -34px; width: 124px; height: 124px; border-radius: 50%; background: rgba(255, 255, 255, .2); z-index: -1; }
.svc-card--stars { --c1: #fcd34d; --c2: #f97316; --gl: 251, 146, 60; }
.svc-card--prem { --c1: #a78bfa; --c2: #4f46e5; --gl: 99, 102, 241; }
.svc-card--react { --c1: #67e8f9; --c2: #0e7490; --gl: 34, 211, 238; }
.svc-card--nft { --c1: #f9a8d4; --c2: #7c3aed; --gl: 168, 85, 247; }
.nft-chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 6px; scrollbar-width: none; }
.nft-chips::-webkit-scrollbar { display: none; }
.nft-chip { flex: none; white-space: nowrap; }
.nft-chip--on { color: #fff; background: linear-gradient(135deg, #a78bfa, #4f46e5); box-shadow: 0 0 14px rgba(99, 102, 241, .5); }
.nft-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.nft-card { display: flex; flex-direction: column; gap: 6px; border: 0; cursor: pointer; text-align: left; font: inherit; color: var(--text); padding: 8px; border-radius: 18px;
  background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); transition: transform .1s ease; }
.nft-card:active { transform: scale(.97); }
.nft-card__img { position: relative; aspect-ratio: 1 / 1; border-radius: 13px; overflow: hidden; background: linear-gradient(135deg, rgba(167, 139, 250, .25), rgba(244, 114, 182, .2)); }
.nft-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nft-card__t { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.nft-card__t b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nft-card__t small { color: var(--hint); font-weight: 700; }
.nft-card__p { align-self: flex-start; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 900; white-space: nowrap; color: #4ade80; background: rgba(74, 222, 128, .13); }
.nft-more { margin-top: 4px; }
.nft-hero { display: flex; justify-content: center; }
.nft-hero__box { position: relative; width: min(300px, 80%); aspect-ratio: 1 / 1; border-radius: 24px; overflow: hidden; box-shadow: 0 10px 30px rgba(124, 58, 237, .45); }
.nft-hero__box img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nft-anim { position: absolute; top: 0; left: 0; right: 0; bottom: 0; pointer-events: none; opacity: 0; transition: opacity .25s ease; }
.nft-anim--on { opacity: 1; }
.nft-anim svg, .nft-anim canvas { display: block; width: 100% !important; height: 100% !important; }
.seg.seg--3 { grid-template-columns: repeat(3, 1fr); }
.nft-colbtn { align-self: flex-start; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 10px 14px; }
.nft-collist { display: flex; flex-direction: column; gap: 6px; }
.nft-colrow { display: flex; justify-content: space-between; align-items: center; gap: 10px; border: 0; cursor: pointer; text-align: left; font: inherit; font-weight: 800; color: var(--text);
  padding: 12px 14px; border-radius: 14px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.nft-colrow small { color: var(--hint); font-weight: 700; }
.nft-colrow--on { color: #fff; background: linear-gradient(135deg, #a78bfa, #4f46e5); }
.nft-colrow--on small { color: rgba(255, 255, 255, .8); }
.nft-price { text-align: center; font-size: 26px; font-weight: 900; color: #4ade80; text-shadow: 0 0 18px rgba(74, 222, 128, .4); }
.nft-attrs { display: flex; flex-direction: column; gap: 6px; }
.nft-attr { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.nft-attr span { color: var(--hint); font-weight: 700; }
@media (max-width: 719px) { .svc__grid--3 .svc-card:nth-child(3) { grid-column: 1 / -1; min-height: 120px; } }
.svc-card__emo { width: 56px; height: 56px; margin-bottom: 2px; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .35)) drop-shadow(0 0 14px rgba(255, 255, 255, .55)); animation: bob 4s ease-in-out infinite; }
.svc-card__t { font-size: 16px; font-weight: 900; text-shadow: 0 1px 3px rgba(0, 0, 0, .3); }
.svc-card__d { font-size: 12px; line-height: 1.3; opacity: .95; text-shadow: 0 1px 2px rgba(0, 0, 0, .25); }
.svc-card__p { margin-top: auto; align-self: flex-start; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 900; white-space: nowrap; background: rgba(0, 0, 0, .28); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.svc-banner { padding: 10px 12px; border-radius: 14px; font-size: 13px; font-weight: 700; line-height: 1.35; color: #fbbf24; background: rgba(251, 191, 36, .13); box-shadow: inset 0 0 0 1px rgba(251, 191, 36, .35); }
.svc-banner--warn { color: #fb7185; background: rgba(251, 113, 133, .12); box-shadow: inset 0 0 0 1px rgba(251, 113, 133, .35); }
.rcpt { display: flex; flex-direction: column; gap: 8px; }
.rcpt__row { display: flex; gap: 8px; }
.field { flex: 1; min-width: 0; border: 0; outline: 0; color: var(--text); font: inherit; font-size: 16px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); padding: 14px; border-radius: 16px; }
.field:focus { box-shadow: inset 0 0 0 2px var(--accent); }
.field::placeholder { color: var(--hint); }
.chipbtn { flex: none; display: inline-flex; align-items: center; gap: 6px; border: 0; cursor: pointer; font: inherit; font-weight: 800; font-size: 14px; color: var(--text); padding: 0 14px; border-radius: 16px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.chipbtn__emo { width: 20px; height: 20px; }
.hint { min-height: 18px; font-size: 13px; color: var(--hint); line-height: 1.35; }
.hint--ok { color: #4ade80; font-weight: 700; }
.hint--bad { color: #fb7185; font-weight: 700; }
.pkgs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pkg { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 8px; align-items: center; text-align: left; border: 0; cursor: pointer; font: inherit; color: var(--text); padding: 11px 12px; border-radius: 16px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); transition: transform .1s ease, box-shadow .15s ease; }
.pkg:active { transform: scale(.97); }
.pkg:disabled { opacity: .45; cursor: not-allowed; }
.pkg__emo { grid-row: 1 / span 3; width: 30px; height: 30px; }
.pkg b { font-size: 17px; font-weight: 900; line-height: 1.1; }
.pkg small { color: var(--hint); font-weight: 700; font-size: 12.5px; white-space: nowrap; }
.pkg--sel { background: linear-gradient(135deg, rgba(251, 191, 36, .22), rgba(249, 115, 22, .14)); box-shadow: inset 0 0 0 2px #f59e0b, 0 0 18px rgba(251, 146, 60, .4); }
.pkg--sel small { color: #f59e0b; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; border-radius: 18px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.seg__btn { border: 0; cursor: pointer; font: inherit; font-weight: 800; font-size: 14px; color: var(--hint); padding: 11px 6px; border-radius: 14px; background: transparent; }
.seg__btn--on { color: #fff; background: linear-gradient(135deg, #a78bfa, #4f46e5); box-shadow: 0 0 16px rgba(99, 102, 241, .5); text-shadow: 0 1px 2px rgba(0, 0, 0, .3); }
.tiers { display: flex; flex-direction: column; gap: 8px; }
.tier { display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 0; cursor: pointer; font: inherit; color: var(--text); padding: 14px 16px; border-radius: 16px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.tier b { font-size: 17px; font-weight: 900; }
.tier__p { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-size: 14px; font-weight: 800; color: var(--hint); white-space: nowrap; }
.tier:disabled { opacity: .45; cursor: not-allowed; }
.tier--sel { background: linear-gradient(135deg, rgba(167, 139, 250, .28), rgba(79, 70, 229, .18)); box-shadow: inset 0 0 0 2px #8b5cf6, 0 0 18px rgba(124, 92, 255, .45); }
.tier--sel .tier__p { color: #a78bfa; }
.svcsum { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-radius: 18px; font-weight: 800; color: var(--hint); background: linear-gradient(135deg, rgba(74, 222, 128, .16), rgba(16, 185, 129, .06)); box-shadow: inset 0 0 0 1px rgba(74, 222, 128, .4); }
.svcsum__v { font-size: 21px; font-weight: 900; color: #4ade80; text-shadow: 0 0 14px rgba(74, 222, 128, .5); }

/* =====================================================================
   KATALOG PLITKALARI (bosh sahifa)
   ===================================================================== */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 14px 12px 34px; }
@media (min-width: 720px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 16px 16px 36px; } }
@media (min-width: 1040px) { .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tile {
  position: relative; overflow: hidden; border: 0; padding: 0; text-align: left; cursor: pointer; color: #fff;
  aspect-ratio: 1 / 1.1; border-radius: 26px; background: var(--bg2);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, .14);
  transition: transform .16s ease, box-shadow .2s ease;
  animation: rise .42s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i, 0) * 45ms);
}
.tile:active { transform: scale(.97); }
.tile:hover { box-shadow: var(--shadow), 0 0 34px var(--accent); }
.tile:hover { box-shadow: var(--shadow), 0 0 34px color-mix(in srgb, var(--accent) 38%, transparent); }
.tile__media { position: absolute; top: 0; right: 0; bottom: 0; left: 0; }
.tile__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.tile:hover .tile__img { transform: scale(1.06); }
.tile__ph { width: 100%; height: 100%; display: grid; place-items: center; padding-bottom: 24%; }
.tile--ph::after { height: 40%; background: linear-gradient(0deg, rgba(8, 9, 14, .6), transparent); }
.tile__ph--0 { background: radial-gradient(circle at 25% 15%, rgba(255, 255, 255, .35), transparent 55%), linear-gradient(135deg, #7c5cff, #38bdf8); }
.tile__ph--1 { background: radial-gradient(circle at 25% 15%, rgba(255, 255, 255, .35), transparent 55%), linear-gradient(135deg, #f472b6, #fb923c); }
.tile__ph--2 { background: radial-gradient(circle at 25% 15%, rgba(255, 255, 255, .35), transparent 55%), linear-gradient(135deg, #34d399, #22d3ee); }
.tile__ph--3 { background: radial-gradient(circle at 25% 15%, rgba(255, 255, 255, .35), transparent 55%), linear-gradient(135deg, #facc15, #f97316); }
.tile__ph--4 { background: radial-gradient(circle at 25% 15%, rgba(255, 255, 255, .35), transparent 55%), linear-gradient(135deg, #a78bfa, #ec4899); }
.tile__ph--5 { background: radial-gradient(circle at 25% 15%, rgba(255, 255, 255, .35), transparent 55%), linear-gradient(135deg, #60a5fa, #2dd4bf); }
.tile__emo { width: 46%; max-width: 112px; height: auto; filter: drop-shadow(0 14px 14px rgba(0, 0, 0, .32)) drop-shadow(0 0 12px rgba(255, 255, 255, .38)); animation: bob 4s ease-in-out infinite; }
.tile::after { content: ""; position: absolute; top: auto; right: 0; bottom: 0; left: 0; height: 62%; background: linear-gradient(0deg, rgba(8, 9, 14, .8), transparent); pointer-events: none; }
.tile__chip { position: absolute; top: 11px; right: 11px; z-index: 2; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 900; color: #fff; background: rgba(0, 0, 0, .38); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .32), 0 0 16px rgba(255, 255, 255, .22); }
.tile__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 14px 14px 15px; }
.tile__name { font-size: 17px; font-weight: 900; line-height: 1.2; text-shadow: 0 2px 10px rgba(0, 0, 0, .55); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; word-break: break-word; }
.icon-btn--back svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* =====================================================================
   HOLATLAR
   ===================================================================== */
.center { min-height: 62vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 24px; color: var(--hint); }
.center h2 { margin: 6px 0 0; color: var(--text); font-size: 22px; font-weight: 900; }
.center p { margin: 0; max-width: 330px; line-height: 1.5; }
.channels { display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 340px; margin-top: 8px; align-items: center; }

.skeleton .card { pointer-events: none; animation: none; }
.skeleton .card__media, .skeleton .line { background: var(--bg2); }
.skeleton .card__media, .skeleton .line { background: linear-gradient(90deg, var(--bg2) 25%, color-mix(in srgb, var(--bg2) 55%, var(--bg)) 50%, var(--bg2) 75%); background-size: 200% 100%; animation: shimmer 1.2s infinite linear; }
.skeleton .line { height: 14px; border-radius: 7px; }
.skeleton .line.btn-line { height: 54px; border-radius: 16px; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* =====================================================================
   PASTDAN CHIQUVCHI OYNA
   ===================================================================== */
.sheet-wrap { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 20; display: flex; align-items: flex-end; justify-content: center; background: rgba(5, 6, 12, .62); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); animation: fade .2s ease; }
.sheet { position: relative; background: var(--bg); width: 100%; max-width: 660px; max-height: 94vh; overflow-y: auto; overscroll-behavior: contain; border-radius: 28px 28px 0 0; padding-bottom: 0; box-shadow: 0 -10px 50px rgba(0, 0, 0, .35), 0 -1px 0 rgba(255, 255, 255, .1), 0 -2px 40px rgba(124, 92, 255, .25); animation: slide .28s cubic-bezier(.2, .85, .2, 1); }
.sheet__grab { width: 44px; height: 5px; border-radius: 5px; background: var(--line); margin: 9px auto 0; }
.sheet__top { position: relative; }
.sheet__img { width: 100%; max-height: 50vh; object-fit: cover; display: block; background: var(--bg2); }
.sheet__ph { height: 230px; display: grid; place-items: center; background: radial-gradient(circle at 30% 20%, rgba(124, 92, 255, .4), transparent 60%), radial-gradient(circle at 80% 90%, rgba(56, 189, 248, .32), transparent 60%), var(--bg2); }
.sheet__ph .emo { width: 110px; height: 110px; animation: bob 3.6s ease-in-out infinite; filter: drop-shadow(0 14px 22px rgba(0, 0, 0, .4)) drop-shadow(0 0 28px rgba(167, 139, 250, .6)); }
.sheet__x { position: absolute; top: 12px; right: 12px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .55); color: #fff; font-size: 16px; cursor: pointer; display: grid; place-items: center; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sheet__body { padding: 16px 18px calc(24px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 16px; }
.sheet__name { font-size: 24px; font-weight: 900; margin: 0; line-height: 1.2; word-break: break-word; }
.sheet__desc { margin: 0; opacity: .9; white-space: pre-wrap; word-break: break-word; line-height: 1.55; }
.sheet .pbtn { --fs: 20px; height: 62px; padding: 0 12px; gap: 9px; border-radius: 18px; }
.sheet .pbtn__emo { width: 38px; height: 38px; }
.sheet__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 6px; }
.sheet__title { margin: 0; font-size: 22px; font-weight: 900; display: flex; align-items: center; gap: 10px; }
.sheet__title .emo { width: 34px; height: 34px; }
.sheet__head .sheet__x { position: static; background: var(--soft); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.section-label { font-size: 12.5px; font-weight: 800; color: var(--hint); text-transform: uppercase; letter-spacing: .8px; display: flex; align-items: center; gap: 7px; }
.section-label .emo { width: 20px; height: 20px; }

/* =====================================================================
   SOZLAMALAR: TIL
   ===================================================================== */
.lang-list { display: flex; flex-direction: column; gap: 10px; }
.lang { --fg: 100, 116, 139; display: flex; align-items: center; gap: 14px; width: 100%; height: 62px; padding: 0 14px; border: 2px solid transparent; border-radius: 18px; cursor: pointer; text-align: left; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); transition: transform .12s ease, border-color .2s ease, background .2s ease, box-shadow .25s ease; }
.lang:active { transform: scale(.97); }
.flag { flex: none; width: 42px; height: 42px; border-radius: 50%; object-fit: cover; display: block; box-shadow: 0 0 0 2px rgba(255, 255, 255, .85), 0 5px 14px rgba(0, 0, 0, .35), 0 0 20px rgba(var(--fg), .65); }
.lang__name { flex: 1; font-weight: 800; font-size: 17px; }
.lang__check { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 15px; font-weight: 900; color: transparent; transform: scale(.6); opacity: 0; transition: transform .25s cubic-bezier(.3, 1.6, .5, 1), opacity .2s ease; }
.lang--active { border-color: rgb(var(--fg)); background: linear-gradient(135deg, rgba(var(--fg), .2), rgba(var(--fg), .06)); box-shadow: 0 0 0 1px rgba(var(--fg), .5), 0 0 28px rgba(var(--fg), .5), inset 0 0 18px rgba(var(--fg), .15); }
.lang--active .lang__check { opacity: 1; transform: scale(1); color: #fff; background: rgb(var(--fg)); box-shadow: 0 0 14px rgba(var(--fg), .9); }

/* ---------- to'lovlarim ---------- */
.orders { display: flex; flex-direction: column; gap: 8px; }
.order { display: flex; align-items: center; gap: 10px; padding: 11px 13px; border-radius: 16px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.order__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.order__main b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.order__main small { color: var(--hint); }
.chip { flex: none; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; }
.order--col { flex-direction: column; align-items: stretch; gap: 8px; }
.order__row { display: flex; align-items: center; gap: 10px; }
.ract { display: flex; flex-direction: column; gap: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.ract__why { font-size: 13px; line-height: 1.4; font-weight: 700; color: #fb7185; }
.ract__row { display: flex; flex-wrap: wrap; gap: 8px; }
.ract__chrow { display: flex; flex-wrap: wrap; gap: 8px; }
.ract__chrow .field { flex: 1 1 100%; min-width: 0; }
.minibtn { flex: 1 1 auto; border: 0; cursor: pointer; font: inherit; font-weight: 800; font-size: 14px; padding: 11px 14px; border-radius: 14px; color: #fff; text-align: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25), 0 4px 14px rgba(0, 0, 0, .18); transition: transform .1s ease; }
.minibtn:active { transform: scale(.97); }
.minibtn:disabled { opacity: .55; cursor: not-allowed; }
.minibtn--green { background: linear-gradient(135deg, #22c55e, #15803d); }
.minibtn--blue { background: linear-gradient(135deg, #38bdf8, #2563eb); }
.minibtn--gray { background: linear-gradient(135deg, #94a3b8, #475569); }
.chip--pending { color: #fbbf24; background: rgba(251, 191, 36, .15); box-shadow: 0 0 12px rgba(251, 191, 36, .25); }
.chip--approved { color: #4ade80; background: rgba(74, 222, 128, .15); box-shadow: 0 0 12px rgba(74, 222, 128, .25); }
.chip--rejected { color: #fb7185; background: rgba(251, 113, 133, .15); box-shadow: 0 0 12px rgba(251, 113, 133, .25); }
.muted { color: var(--hint); font-size: 14px; }

/* =====================================================================
   TO'LOV OYNASI
   ===================================================================== */
.payprod { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 18px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.payprod__img { flex: none; width: 56px; height: 56px; border-radius: 14px; object-fit: cover; background: var(--bg2); display: grid; place-items: center; }
.payprod__img .emo { width: 36px; height: 36px; }
.payprod__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.payprod__txt b { font-size: 16px; line-height: 1.2; word-break: break-word; }
.payprod__sum { font-weight: 900; font-size: 18px; color: #4ade80; text-shadow: 0 0 14px rgba(74, 222, 128, .55); }

.steps { display: flex; flex-direction: column; gap: 11px; margin: 0; padding: 0; list-style: none; }
.step { display: flex; gap: 12px; align-items: flex-start; }
.step__n { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; color: #fff; background: linear-gradient(135deg, #38bdf8, #7c5cff); box-shadow: 0 0 16px rgba(124, 92, 255, .6), inset 0 0 0 1px rgba(255, 255, 255, .3); }
.step__t { padding-top: 4px; line-height: 1.4; }

.ccard { position: relative; overflow: hidden; border-radius: 22px; padding: 18px 18px 16px; color: #fff; background: linear-gradient(135deg, #1e2a78 0%, #6d28d9 55%, #db2777 100%); box-shadow: 0 16px 38px rgba(109, 40, 217, .5), 0 0 34px rgba(219, 39, 119, .3), inset 0 0 0 1px rgba(255, 255, 255, .18); }
.ccard::before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: radial-gradient(circle at 90% -10%, rgba(255, 255, 255, .38), transparent 55%), radial-gradient(circle at -10% 110%, rgba(56, 189, 248, .35), transparent 50%); pointer-events: none; }
.ccard::after { content: ""; position: absolute; top: -60%; bottom: -60%; width: 30%; left: -50%; transform: rotate(22deg); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent); animation: sheen 5s ease-in-out infinite; pointer-events: none; }
.ccard > * { position: relative; z-index: 1; }
.ccard__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ccard__top .emo { width: 34px; height: 34px; }
.ccard__note { font-size: 13px; font-weight: 800; opacity: .95; text-align: right; }
.ccard__chip { width: 46px; height: 34px; border-radius: 8px; margin: 14px 0 4px; background: linear-gradient(135deg, #fde68a, #f59e0b 60%, #fbbf24); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18), 0 0 14px rgba(251, 191, 36, .5); }
.ccard__label { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; opacity: .8; }
.ccard__num { font: 800 22px/1.25 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: 1.5px; margin: 2px 0 12px; word-break: break-all; text-shadow: 0 2px 10px rgba(0, 0, 0, .35); }
.ccard__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.ccard__holder { font-weight: 800; font-size: 16px; text-transform: uppercase; letter-spacing: .6px; word-break: break-word; }
.copybtn { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border: 0; border-radius: 12px; cursor: pointer; color: #fff; font-weight: 800; font-size: 13px; background: rgba(255, 255, 255, .2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: transform .12s ease, background .2s ease; }
.copybtn:active { transform: scale(.93); }
.copybtn--ok { background: rgba(74, 222, 128, .4); box-shadow: inset 0 0 0 1px rgba(74, 222, 128, .8), 0 0 16px rgba(74, 222, 128, .6); }
.copybtn .emo { width: 18px; height: 18px; }

.amountrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 18px; background: linear-gradient(135deg, rgba(74, 222, 128, .16), rgba(16, 185, 129, .06)); box-shadow: inset 0 0 0 1px rgba(74, 222, 128, .4), 0 0 22px rgba(16, 185, 129, .22); }
.amountrow small { display: block; color: var(--hint); font-weight: 700; }
.amountrow b { font-size: 21px; font-weight: 900; color: #4ade80; text-shadow: 0 0 14px rgba(74, 222, 128, .5); }
.amountrow .copybtn { color: var(--text); background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.amountrow .copybtn--ok { color: #fff; }

.drop { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 150px; padding: 18px; text-align: center; cursor: pointer; border-radius: 20px; border: 2px dashed var(--accent); border: 2px dashed color-mix(in srgb, var(--accent) 65%, transparent); background: var(--soft); background: color-mix(in srgb, var(--accent) 8%, transparent); box-shadow: 0 0 26px color-mix(in srgb, var(--accent) 18%, transparent); transition: transform .12s ease, border-color .2s ease; }
.drop:active { transform: scale(.985); }
.drop .emo { width: 52px; height: 52px; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .35)) drop-shadow(0 0 18px rgba(56, 189, 248, .6)); animation: bob 3.4s ease-in-out infinite; }
.drop__t { font-weight: 800; }
.drop__h { color: var(--hint); font-size: 13px; max-width: 280px; }
.drop--filled { border-style: solid; border-color: rgba(74, 222, 128, .7); background: rgba(74, 222, 128, .07); box-shadow: 0 0 26px rgba(74, 222, 128, .25); padding: 10px; }
.drop__img { max-width: 100%; max-height: 260px; border-radius: 14px; display: block; box-shadow: 0 8px 22px rgba(0, 0, 0, .35); }
/* input maydonni to'liq qoplaydi: bosish to'g'ridan-to'g'ri unga tushadi (label orqali uzatishga bog'liq emas) */
.drop input { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; z-index: 2; font-size: 0; }
.drop--over { transform: scale(1.015); border-color: #4ade80; background: rgba(74, 222, 128, .12); box-shadow: 0 0 30px rgba(74, 222, 128, .35); }
.drop__desk { margin-top: -2px; opacity: .85; }
.sendbar { position: sticky; bottom: 0; z-index: 3; margin-top: -8px; padding: 14px 18px calc(14px + env(safe-area-inset-bottom)); background: var(--bg); background: linear-gradient(0deg, var(--bg) 62%, color-mix(in srgb, var(--bg) 0%, transparent)); }
.sendbtn { height: 56px; width: 100%; border-radius: 18px; font-size: 17px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.sendbtn .emo { width: 28px; height: 28px; }

.done { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 18px 10px 6px; }
.done h2 { margin: 0; font-size: 24px; font-weight: 900; }
.done p { margin: 0; color: var(--hint); max-width: 320px; line-height: 1.5; }

.spinner { width: 42px; height: 42px; border-radius: 50%; border: 4px solid var(--line); border-top-color: var(--accent); animation: spin .8s linear infinite; margin: 40px auto; }

/* =====================================================================
   XABAR (toast)
   ===================================================================== */
.toast { position: fixed; left: 50%; bottom: calc(26px + env(safe-area-inset-bottom)); z-index: 60; transform: translateX(-50%); display: flex; align-items: center; gap: 9px; max-width: calc(100% - 32px); padding: 13px 18px; border-radius: 18px; color: #fff; font-weight: 800; background: rgba(22, 24, 32, .94); box-shadow: 0 12px 34px rgba(0, 0, 0, .45), 0 0 28px rgba(124, 92, 255, .4), inset 0 0 0 1px rgba(255, 255, 255, .14); animation: toast .32s cubic-bezier(.2, 1.2, .3, 1); }
.toast .emo { width: 24px; height: 24px; }
@keyframes toast { from { transform: translate(-50%, 24px) scale(.9); opacity: 0; } }

@keyframes fade { from { opacity: 0; } }
@keyframes slide { from { transform: translateY(70px); opacity: .4; } }
@keyframes rise { from { transform: translateY(16px) scale(.98); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- eski brauzerlar uchun zaxira ---------- */
@supports not (aspect-ratio: 1 / 1) {
  .card__media::before { content: ""; display: block; padding-top: 100%; }
  .card__media > .card__img, .card__media > .card__ph { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
}

/* ---------- keng ekranlar (noutbuk / planshet): xizmat kartalari plitkalar bilan bir xil ustunda ---------- */
@media (min-width: 720px) {
  .svc__grid, .svc__grid--1 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .svc { padding: 16px 16px 0; }
}
@media (min-width: 1040px) { .svc__grid, .svc__grid--1 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* 💎 olmos narxi (so'm narxining yonida) */
.dia { display: inline-flex; align-items: center; gap: 4px; font-weight: 900; color: #c4b5fd; white-space: nowrap; }
.dia b { font-size: inherit; font-weight: 900; color: #c4b5fd; }
.dia__emo { width: 15px; height: 15px; flex: none; }
.pkg .dia { grid-column: 2; font-size: 12.5px; margin-top: 1px; }
.pkg .dia b { font-size: 12.5px; }
.tier .dia { font-size: 13px; }
.tier .dia b { font-size: 13px; }
.tier--sel .dia, .tier--sel .dia b { color: #ddd6fe; }
.svcsum__v .dia--inline { margin-left: 10px; font-size: 15px; text-shadow: none; }
.svcsum__v .dia--inline b { font-size: 15px; }
.payprod__txt .dia--sum { font-size: 14px; }
.payprod__txt .dia--sum b { font-size: 14px; }
.nft-card .dia--card { align-self: flex-start; padding: 3px 10px; border-radius: 999px; font-size: 13px; background: rgba(167, 139, 250, .14); }
.nft-card .dia--card b { font-size: 13px; }
.nft-price { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.nft-price .dia--item { font-size: 18px; text-shadow: 0 0 14px rgba(167, 139, 250, .45); }
.nft-price .dia--item b { font-size: 18px; }

/* ---------- NFT yuborilmoqda: teskari sanagich ---------- */
.cdwrap { display: flex; flex-direction: column; gap: 14px; }
.cd__prod .payprod__txt b { font-size: 15px; }
.cd { position: relative; width: 184px; height: 184px; margin: 4px auto 0; }
.cd::before { content: ""; position: absolute; inset: 18px; border-radius: 50%; background: radial-gradient(circle, rgba(139, 92, 246, .30), transparent 70%); animation: cdglow 2.4s ease-in-out infinite; }
.cd__ring { position: relative; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.cd__track { fill: none; stroke: var(--soft); stroke-width: 9; }
.cd__bar { fill: none; stroke: #8b5cf6; stroke-width: 9; stroke-linecap: round; filter: drop-shadow(0 0 7px rgba(139, 92, 246, .85)); transition: stroke .4s ease; }
.cd__center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.cd__num { font-size: 58px; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: -.02em;
  background: linear-gradient(135deg, #c4b5fd, #60a5fa); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cd__unit { margin-top: 4px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--hint); }
.cd__spin { display: inline-block; width: 40px; height: 40px; border-radius: 50%; border: 4px solid var(--line); border-top-color: #f59e0b; animation: spin .8s linear infinite; }
.cd__check { display: inline-block; font-size: 70px; font-weight: 900; color: #22c55e; -webkit-text-fill-color: #22c55e; text-shadow: 0 0 22px rgba(34, 197, 94, .7); animation: cdpop .5s cubic-bezier(.3, 1.6, .5, 1); }
.cd--late .cd__bar { stroke: #f59e0b; filter: drop-shadow(0 0 8px rgba(245, 158, 11, .8)); }
.cd--late::before { background: radial-gradient(circle, rgba(245, 158, 11, .26), transparent 70%); }
.cd--ok .cd__bar { stroke: #22c55e; filter: drop-shadow(0 0 12px rgba(34, 197, 94, .9)); }
.cd--ok::before { background: radial-gradient(circle, rgba(34, 197, 94, .34), transparent 70%); }
.cd__eta { margin: 0; text-align: center; font-size: 16px; font-weight: 800; line-height: 1.4; }
.cd__eta--ok { color: #4ade80; font-size: 20px; }
.cdsteps { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; border-radius: 18px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.cds { display: flex; align-items: center; gap: 12px; font-weight: 700; transition: opacity .3s ease; }
.cds--wait { opacity: .45; }
.cds__ic { flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; border: 3px solid var(--line); }
.cds--on .cds__ic { border-top-color: #8b5cf6; animation: spin .8s linear infinite; }
.cds--done .cds__ic { border: 0; background: linear-gradient(135deg, #4ade80, #059669); box-shadow: 0 0 12px rgba(16, 185, 129, .6); animation: cdpop .4s cubic-bezier(.3, 1.6, .5, 1); }
.cds--done .cds__ic::after { content: "✓"; color: #fff; font-size: 14px; font-weight: 900; }
.cd__foot { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.cd__note { text-align: center; }
.cd__msg { margin: 0; color: var(--hint); line-height: 1.5; max-width: 340px; }
.cd__safe { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 16px; font-weight: 700; line-height: 1.45;
  background: rgba(34, 197, 94, .10); box-shadow: inset 0 0 0 1px rgba(34, 197, 94, .35); }
.cd__safeemo { width: 28px; height: 28px; flex: 0 0 28px; }
@keyframes cdglow { 50% { transform: scale(1.07); opacity: .65; } }
@keyframes cdpop { from { transform: scale(.3); opacity: 0; } }
.cd--late .cd__ring { animation: cdspin 1.4s linear infinite; }
.cd--late .cd__bar { transition: none; }
@keyframes cdspin { from { transform: rotate(-90deg); } to { transform: rotate(270deg); } }
.ract:first-child { border-top: 0; padding-top: 0; }

/* ---------- sayt rejimi: kirish sahifasi va «Chiqish» ---------- */
.out__widget { min-height: 48px; display: flex; justify-content: center; align-items: center; margin-top: 6px; }
.out__widget iframe { border-radius: 14px; }
.out__or { display: flex; align-items: center; gap: 10px; width: 100%; color: var(--hint); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.out__or::before, .out__or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.out__alert { display: flex; align-items: flex-start; gap: 10px; width: 100%; padding: 12px 14px; border-radius: 16px; text-align: left; font-weight: 700; line-height: 1.4;
  background: rgba(245, 158, 11, .12); box-shadow: inset 0 0 0 1px rgba(245, 158, 11, .4); }
.out__alemo { width: 26px; height: 26px; flex: 0 0 26px; }
.logout { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; margin-top: 14px; padding: 13px 16px; border: 0; cursor: pointer; border-radius: 16px;
  font: inherit; font-weight: 800; color: var(--hint); background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.logout:active { transform: scale(.98); }
.logout__emo { width: 24px; height: 24px; }

/* ---------- 🎁 oddiy Telegram sovg'alari ---------- */
.svc-card--gift { --c1: #fda4af; --c2: #db2777; --gl: 236, 72, 153; }
@media (max-width: 719px) { .svc__grid--5 .svc-card:nth-child(5) { grid-column: 1 / -1; min-height: 120px; } }
.gift-hint { text-align: center; }
.gift-card__img { background: radial-gradient(circle at 50% 40%, rgba(244, 114, 182, .28), rgba(124, 58, 237, .16) 70%); }
.gift-card__img img { object-fit: contain; padding: 10%; }
.gift-card__img:has(.nft-anim--on) img, .gift-hero__box:has(.nft-anim--on) img { opacity: 0; }
.gift-card__emo { width: 100%; height: 100%; display: grid; place-items: center; font-size: 54px; }
.gift-card__emo--big { font-size: 120px; }
.gift-card { position: relative; }
.gift-card__ltd { position: absolute; top: 8px; left: 8px; padding: 3px 8px; border-radius: 999px; font-size: 11px; font-weight: 900; color: #fff;
  background: linear-gradient(135deg, #f59e0b, #db2777); box-shadow: 0 4px 12px rgba(219, 39, 119, .45); }
.gift-hero__box { background: radial-gradient(circle at 50% 40%, rgba(244, 114, 182, .35), rgba(124, 58, 237, .2) 70%); box-shadow: 0 10px 30px rgba(219, 39, 119, .4); }
.gift-hero__box img { object-fit: contain; padding: 8%; }
.gift-ltd { align-self: center; margin: -4px auto 0; padding: 5px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 900; color: #fff; text-align: center;
  width: max-content; background: linear-gradient(135deg, #f59e0b, #db2777); }
.gift-text { resize: none; min-height: 64px; line-height: 1.4; font: inherit; }
.gift-text__wrap { display: flex; flex-direction: column; gap: 6px; }
.gift-text__row { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.gift-text__cnt { color: var(--hint); font-weight: 700; font-variant-numeric: tabular-nums; flex: none; }

/* =====================================================================
   PASTKI BO'LIMLAR PANELI (telefon va kompyuterda — suzuvchi shisha panel)
   ===================================================================== */
:root { --navh: 70px; }
body.has-nav { padding-bottom: calc(var(--navh) + 18px + env(safe-area-inset-bottom)); }
.tabbar {
  position: fixed; z-index: 25; left: 50%; transform: translateX(-50%); bottom: calc(8px + env(safe-area-inset-bottom));
  width: calc(100% - 16px); max-width: 560px; height: 62px; padding: 6px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px;
  border-radius: 22px; background: var(--bg); background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(1.7) blur(18px); backdrop-filter: saturate(1.7) blur(18px);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .32), 0 0 0 1px var(--line), 0 0 30px rgba(124, 92, 255, .22);
  animation: navin .35s cubic-bezier(.2, .9, .3, 1);
}
.tabbar--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 5px; gap: 2px; }
.tabbar--5 .tab__t { font-size: 9.6px; letter-spacing: -.25px; }
@media (max-width: 379px) { .tabbar--5 .tab__t { font-size: 9px; letter-spacing: -.3px; } .tabbar--5 .tab__ic .emo { width: 24px; height: 24px; } }
@keyframes navin { from { transform: translate(-50%, 24px); opacity: 0; } to { transform: translate(-50%, 0); opacity: 1; } }
.tab { position: relative; border: 0; cursor: pointer; border-radius: 16px; background: transparent; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--hint); font-weight: 800; transition: background .2s ease, color .2s ease, transform .12s ease; }
.tab:active { transform: scale(.92); }
.tab__ic { position: relative; display: grid; place-items: center; }
.tab__ic .emo { width: 26px; height: 26px; filter: grayscale(.55) drop-shadow(0 2px 3px rgba(0, 0, 0, .25)); opacity: .82; transition: transform .25s cubic-bezier(.2, 1.4, .3, 1), filter .2s ease, opacity .2s ease; }
.tab__t { font-size: 10.5px; letter-spacing: .1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.tab--on { color: var(--text); background: linear-gradient(180deg, rgba(124, 92, 255, .22), rgba(56, 189, 248, .12)); box-shadow: inset 0 0 0 1px rgba(167, 139, 250, .35), 0 0 18px rgba(124, 92, 255, .25); }
.tab--on .tab__ic .emo { filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .3)) drop-shadow(0 0 10px rgba(167, 139, 250, .65)); opacity: 1; transform: translateY(-1px) scale(1.12); }
.tab--admin.tab--on { background: linear-gradient(180deg, rgba(251, 191, 36, .24), rgba(249, 115, 22, .12)); box-shadow: inset 0 0 0 1px rgba(251, 191, 36, .4), 0 0 18px rgba(251, 146, 60, .28); }
.tab__badge { position: absolute; top: -6px; right: -12px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; font-size: 11px; line-height: 18px; font-weight: 900; color: #fff; background: linear-gradient(135deg, #fb7185, #e11d48); box-shadow: 0 0 0 2px var(--bg), 0 0 12px rgba(244, 63, 94, .6); }
.has-nav .sheet-wrap { padding-bottom: calc(var(--navh) + 8px + env(safe-area-inset-bottom)); }
.has-nav .sheet { border-radius: 28px; margin: 0 8px; width: calc(100% - 16px); max-height: calc(100% - 10px); }
.has-nav .toast { bottom: calc(var(--navh) + 22px + env(safe-area-inset-bottom)); }
.kb-open .tabbar { display: none; }
.kb-open.has-nav .sheet-wrap { padding-bottom: 0; }
.kb-open.has-nav .sheet { border-radius: 28px 28px 0 0; margin: 0; width: 100%; }
@media (min-width: 720px) {
  .tabbar { height: 66px; }
  .tab__t, .tabbar--5 .tab__t { font-size: 11.5px; letter-spacing: 0; }
  .tab:hover { color: var(--text); background: var(--soft); }
}

/* =====================================================================
   ADMIN PANEL
   ===================================================================== */
.adm { gap: 14px; }
.adm-back { flex: none; width: 34px; height: 34px; margin-right: 4px; border: 0; cursor: pointer; border-radius: 12px; display: inline-grid; place-items: center; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); vertical-align: middle; }
.adm-back svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.adm-back:active { transform: scale(.9); }
.ahero { position: relative; overflow: hidden; border-radius: 24px; padding: 16px; color: #fff;
  background: radial-gradient(120% 90% at 0% 0%, #f59e0b 0%, transparent 55%), radial-gradient(90% 80% at 100% 10%, #ec4899 0%, transparent 60%), linear-gradient(135deg, #4c1d95, #1e3a8a);
  box-shadow: 0 14px 36px rgba(76, 29, 149, .45), inset 0 0 0 1px rgba(255, 255, 255, .18); }
.ahero__shine { position: absolute; top: -40%; left: -30%; width: 60%; height: 180%; transform: rotate(24deg); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .22), transparent); animation: sheen 6s ease-in-out infinite; pointer-events: none; }
.ahero__row { position: relative; display: flex; align-items: center; gap: 12px; }
.ahero__emo { width: 46px; height: 46px; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .35)) drop-shadow(0 0 14px rgba(253, 224, 71, .6)); }
.ahero__txt { display: flex; flex-direction: column; min-width: 0; }
.ahero__txt b { font-size: 19px; font-weight: 900; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ahero__txt small { opacity: .85; font-weight: 700; }
.astats { position: relative; margin-top: 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 560px) { .astats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.astat { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 8px; align-items: center; padding: 10px 11px; border-radius: 16px; background: rgba(255, 255, 255, .13); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
.astat__emo { grid-row: span 2; width: 28px; height: 28px; }
.astat__v { font-size: 15px; font-weight: 900; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.astat__l { font-size: 11px; opacity: .85; font-weight: 700; line-height: 1.15; overflow-wrap: anywhere; }
.astat--warn { background: rgba(251, 191, 36, .28); box-shadow: inset 0 0 0 1px rgba(253, 224, 71, .55), 0 0 18px rgba(251, 191, 36, .35); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; border-radius: 18px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.seg__btn { border: 0; cursor: pointer; height: 44px; border-radius: 14px; background: transparent; display: flex; align-items: center; justify-content: center; gap: 7px; font-weight: 800; color: var(--hint); transition: background .2s ease, color .2s ease; }
.seg__emo { width: 22px; height: 22px; }
.seg__btn--on { color: var(--text); background: var(--bg); box-shadow: 0 4px 14px rgba(0, 0, 0, .14), inset 0 0 0 1px var(--line); }
.seg__n { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; font-size: 12px; line-height: 22px; color: #fff; background: linear-gradient(135deg, #fb7185, #e11d48); box-shadow: 0 0 10px rgba(244, 63, 94, .5); }
.adm-box { display: flex; flex-direction: column; gap: 12px; min-height: 120px; }
.adm-empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 26px 12px; border-radius: 20px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.adm-empty__emo { width: 56px; height: 56px; margin-bottom: 4px; }
.adm-empty small { color: var(--hint); max-width: 340px; }
.adm-empty--err b { color: #fb7185; }
.spinner--sm { width: 22px; height: 22px; border-width: 3px; }

/* chek kartasi */
.rc { display: flex; flex-direction: column; gap: 10px; padding: 12px; border-radius: 22px; background: var(--bg); background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 94%, #fff), var(--bg)); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); }
.rc--dup { box-shadow: var(--shadow), inset 0 0 0 2px rgba(251, 191, 36, .65), 0 0 22px rgba(251, 191, 36, .25); }
.rc__top { display: flex; gap: 12px; align-items: stretch; }
.rc__img { flex: none; width: 96px; height: 120px; border-radius: 16px; overflow: hidden; display: grid; place-items: center; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.rc__img .emo { width: 40px; height: 40px; }
.rc__img img { width: 100%; height: 100%; object-fit: cover; }
.rc__img--ok { cursor: zoom-in; }
.rc__info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.rc__amt { font-size: 22px; font-weight: 900; color: #4ade80; text-shadow: 0 0 16px rgba(74, 222, 128, .35); font-variant-numeric: tabular-nums; white-space: nowrap; }
.rc__time { color: var(--hint); font-weight: 700; }
.rc__chips { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px; }
.rc__who { width: 100%; border: 0; cursor: pointer; text-align: left; display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 14px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); min-width: 0; }
.rc__whotxt { display: flex; flex-direction: column; min-width: 0; }
.rc__whotxt b, .rc__whotxt small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rc__whotxt small { color: var(--hint); font-weight: 600; }
.rc__warn, .rc__note { display: flex; align-items: flex-start; gap: 8px; padding: 10px 12px; border-radius: 14px; font-size: 13px; font-weight: 700; line-height: 1.35; }
.rc__warn { color: #fbbf24; background: rgba(251, 191, 36, .13); box-shadow: inset 0 0 0 1px rgba(251, 191, 36, .35); }
.rc__note { color: var(--hint); background: var(--soft); }
.rc__warn .emo, .rc__note .emo { flex: none; width: 20px; height: 20px; }
.rc__acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rc__btn { height: 46px; max-width: none; border-radius: 14px; font-size: 14px; }
.rc__btn .emo { width: 22px; height: 22px; }

/* foydalanuvchilar */
.adm-search { margin-top: 0; }
.ulist { display: flex; flex-direction: column; gap: 8px; }
.urow { border: 0; cursor: pointer; text-align: left; display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 18px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); transition: transform .12s ease, background .2s ease; min-width: 0; }
.urow:active { transform: scale(.98); }
@media (hover: hover) { .urow:hover { background: color-mix(in srgb, var(--soft) 60%, rgba(124, 92, 255, .14)); } }
.urow--ban { box-shadow: inset 0 0 0 1px rgba(251, 113, 133, .45); }
.urow__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.urow__main b, .urow__main small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.urow__main small { color: var(--hint); font-weight: 600; }
.urow__side { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.urow__bal { font-weight: 900; font-variant-numeric: tabular-nums; white-space: nowrap; }
.avatar { flex: none; width: 44px; height: 44px; border-radius: 15px; display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 18px; text-shadow: 0 1px 2px rgba(0, 0, 0, .3); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25), 0 6px 14px rgba(0, 0, 0, .18); }
.avatar--sm { width: 34px; height: 34px; border-radius: 12px; font-size: 15px; }
.avatar--lg { width: 64px; height: 64px; border-radius: 22px; font-size: 28px; }

/* foydalanuvchi kartasi */
.ucard { position: relative; overflow: hidden; border-radius: 26px; padding: 16px; color: #fff;
  background: radial-gradient(110% 90% at 0% 0%, #22d3ee 0%, transparent 55%), radial-gradient(90% 90% at 100% 0%, #a78bfa 0%, transparent 60%), linear-gradient(135deg, #1d4ed8, #6d28d9);
  box-shadow: 0 14px 36px rgba(29, 78, 216, .4), inset 0 0 0 1px rgba(255, 255, 255, .2); }
.ucard--ban { background: radial-gradient(110% 90% at 0% 0%, #fb7185 0%, transparent 55%), linear-gradient(135deg, #7f1d1d, #4c0519); box-shadow: 0 14px 36px rgba(127, 29, 29, .45), inset 0 0 0 1px rgba(255, 255, 255, .2); }
.ucard__shine { position: absolute; top: -40%; left: -30%; width: 60%; height: 180%; transform: rotate(24deg); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .2), transparent); animation: sheen 6.5s ease-in-out infinite; pointer-events: none; }
.ucard__top { position: relative; display: flex; gap: 12px; align-items: center; }
.ucard__who { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ucard__who b { font-size: 19px; font-weight: 900; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ucard__who small { opacity: .85; font-weight: 700; }
.ucard__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.ucard__idchip { border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: 999px; color: #fff; font-weight: 800; font-size: 12px; background: rgba(255, 255, 255, .18); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); font-variant-numeric: tabular-nums; }
.ucard__copy { width: 15px; height: 15px; filter: none; }
.ucard .chip { box-shadow: none; background: rgba(255, 255, 255, .2); color: #fff; }
.ucard__label { position: relative; margin-top: 14px; font-size: 12px; font-weight: 800; opacity: .8; text-transform: uppercase; letter-spacing: .8px; }
.ucard__bal { position: relative; display: flex; align-items: baseline; gap: 7px; }
.ucard__bal b { font-size: 34px; font-weight: 900; letter-spacing: .5px; font-variant-numeric: tabular-nums; text-shadow: 0 0 22px rgba(255, 255, 255, .35); }
.ucard__bal small { font-weight: 800; opacity: .85; }
.ucard__grid { position: relative; margin-top: 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 560px) { .ucard__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ucard__kv { padding: 8px 10px; border-radius: 14px; background: rgba(255, 255, 255, .13); display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.ucard__kv small { font-size: 11px; opacity: .8; font-weight: 700; }
.ucard__kv b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.ubanned { display: flex; align-items: center; gap: 9px; padding: 11px 13px; border-radius: 16px; font-weight: 800; font-size: 13.5px; color: #fb7185; background: rgba(251, 113, 133, .13); box-shadow: inset 0 0 0 1px rgba(251, 113, 133, .4); }
.ubanned .emo { flex: none; width: 22px; height: 22px; }
.uacts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 560px) { .uacts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.uact { --c1: #60a5fa; --c2: #2563eb; --gl: 59, 130, 246; border: 0; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 92px; padding: 12px 8px; border-radius: 20px; color: #fff; font-weight: 900; text-shadow: 0 1px 2px rgba(0, 0, 0, .3);
  background: linear-gradient(140deg, var(--c1), var(--c2)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), inset 0 -4px 10px rgba(0, 0, 0, .16), 0 8px 20px rgba(var(--gl), .4), 0 0 24px rgba(var(--gl), .25); transition: transform .12s ease, filter .15s ease; }
.uact:active { transform: scale(.95); filter: brightness(.95); }
.uact__ic { width: 44px; height: 44px; border-radius: 15px; display: grid; place-items: center; background: rgba(255, 255, 255, .2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.uact__ic .emo { width: 30px; height: 30px; }
.uact__t { font-size: 13.5px; line-height: 1.15; text-align: center; }
.uact--green { --c1: #4ade80; --c2: #059669; --gl: 16, 185, 129; }
.uact--red { --c1: #fda4af; --c2: #e11d48; --gl: 244, 63, 94; }
.uact--blue { --c1: #7dd3fc; --c2: #2563eb; --gl: 59, 130, 246; }
.uact--gold { --c1: #fde047; --c2: #f97316; --gl: 251, 146, 60; }
.uact--cyan { --c1: #67e8f9; --c2: #0891b2; --gl: 6, 182, 212; }
.umsgs { display: flex; flex-direction: column; gap: 8px; }
.umsg { padding: 10px 12px; border-radius: 16px 16px 16px 6px; background: rgba(59, 130, 246, .12); box-shadow: inset 0 0 0 1px rgba(96, 165, 250, .3); }
.umsg p { margin: 0 0 4px; white-space: pre-wrap; word-break: break-word; }
.umsg small { color: var(--hint); font-weight: 700; }
.umsg--bad { background: rgba(251, 113, 133, .1); box-shadow: inset 0 0 0 1px rgba(251, 113, 133, .3); }
.umsg__in { min-height: 132px; resize: vertical; line-height: 1.45; }
.umini { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 18px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.umini__t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.umini__t b, .umini__t small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.umini__t small { color: var(--hint); font-weight: 600; }
.umini__bal { flex: none; font-weight: 900; font-variant-numeric: tabular-nums; }
.adj__after { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 14px; border-radius: 16px; font-weight: 800; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); font-variant-numeric: tabular-nums; }
.adj__new { color: #4ade80; }
.adj__after small { flex: 1 1 100%; }
.adj__after--bad { color: #fb7185; box-shadow: inset 0 0 0 1px rgba(251, 113, 133, .45); }
.adj__after--bad .adj__new { color: #fb7185; }

/* tasdiqlash oynasi */
.dlg-wrap { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 40; display: grid; place-items: center; padding: 16px; background: rgba(5, 6, 12, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: fade .18s ease; }
.dlg { width: 100%; max-width: 400px; max-height: calc(100vh - 32px); overflow-y: auto; display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: 26px; background: var(--bg); box-shadow: 0 24px 60px rgba(0, 0, 0, .45), inset 0 0 0 1px var(--line), 0 0 40px rgba(var(--dg, 16, 185, 129), .25); animation: pop .26s cubic-bezier(.2, 1.3, .3, 1); }
@keyframes pop { from { transform: scale(.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.dlg--green { --dg: 16, 185, 129; } .dlg--red { --dg: 244, 63, 94; } .dlg--blue { --dg: 59, 130, 246; } .dlg--cyan { --dg: 6, 182, 212; }
.dlg__ic { align-self: center; width: 64px; height: 64px; border-radius: 22px; display: grid; place-items: center; background: rgba(var(--dg, 16, 185, 129), .16); box-shadow: 0 0 24px rgba(var(--dg, 16, 185, 129), .35); }
.dlg__ic .emo { width: 40px; height: 40px; }
.dlg__title { margin: 0; text-align: center; font-size: 19px; font-weight: 900; }
.dlg__lines { display: flex; flex-direction: column; gap: 1px; border-radius: 16px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.dlg__line { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; background: var(--soft); }
.dlg__line span { color: var(--hint); font-weight: 700; flex: none; }
.dlg__line b { text-align: right; word-break: break-word; font-variant-numeric: tabular-nums; }
.dlg__line--in b { color: #4ade80; } .dlg__line--out b { color: #fb7185; }
.dlg__text { margin: 0; color: var(--hint); font-size: 14px; line-height: 1.45; text-align: center; white-space: pre-wrap; word-break: break-word; }
.dlg__err { padding: 10px 12px; border-radius: 14px; font-size: 13.5px; font-weight: 800; color: #fb7185; background: rgba(251, 113, 133, .12); box-shadow: inset 0 0 0 1px rgba(251, 113, 133, .35); }
.dlg__btns { display: grid; grid-template-columns: 1fr 1.3fr; gap: 8px; }
.dlg__btns .btn { max-width: none; height: 50px; }
.dlg__no { border: 0; cursor: pointer; font-weight: 800; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.dlg__field { flex: none; width: 100%; }
.is-busy { pointer-events: none; }
.is-busy span { opacity: .35; }
.is-busy::before { content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .45); border-top-color: #fff; animation: spin .8s linear infinite; background: none; z-index: 2; }

/* chekni kattalashtirib ko'rish */
.viewer { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 50; display: grid; place-items: center; padding: 14px; background: rgba(0, 0, 0, .88); cursor: zoom-out; animation: fade .18s ease; }
.viewer img { max-width: 100%; max-height: 100%; border-radius: 12px; box-shadow: 0 20px 60px rgba(0, 0, 0, .6); }
.viewer__x { position: absolute; top: calc(12px + env(safe-area-inset-top)); right: 12px; width: 42px; height: 42px; border: 0; border-radius: 14px; font-size: 18px; color: #fff; background: rgba(255, 255, 255, .16); cursor: pointer; }

/* ---------- admin: bo'limlar katakchalari ---------- */
.atiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 560px) { .atiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.atile { --c1: #60a5fa; --c2: #2563eb; --gl: 59, 130, 246; position: relative; border: 0; cursor: pointer; min-height: 86px; padding: 12px; border-radius: 20px; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 8px; color: #fff; text-align: left; font-weight: 900;
  background: linear-gradient(140deg, var(--c1), var(--c2)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), inset 0 -4px 10px rgba(0, 0, 0, .15), 0 8px 18px rgba(var(--gl), .32); text-shadow: 0 1px 2px rgba(0, 0, 0, .3); transition: transform .12s ease, filter .15s ease; }
.atile:active { transform: scale(.95); filter: brightness(.95); }
.atile__ic { width: 40px; height: 40px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.atile__ic .emo { width: 28px; height: 28px; }
.atile__t { font-size: 14px; line-height: 1.15; }
.atile__n { position: absolute; top: 10px; right: 10px; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; font-size: 12.5px; line-height: 24px; text-align: center; color: #fff; background: linear-gradient(135deg, #fb7185, #e11d48); box-shadow: 0 0 0 2px rgba(255, 255, 255, .6), 0 0 14px rgba(244, 63, 94, .6); }
.atile--green { --c1: #4ade80; --c2: #059669; --gl: 16, 185, 129; } .atile--gold { --c1: #fde047; --c2: #f97316; --gl: 251, 146, 60; }
.atile--pink { --c1: #f9a8d4; --c2: #db2777; --gl: 236, 72, 153; } .atile--violet { --c1: #b794ff; --c2: #5b4bf0; --gl: 124, 92, 255; }
.atile--cyan { --c1: #67e8f9; --c2: #0891b2; --gl: 6, 182, 212; } .atile--blue { --c1: #7dd3fc; --c2: #2563eb; --gl: 59, 130, 246; }
.adm-note { text-align: center; }
.seg--3 { grid-template-columns: repeat(3, 1fr); }
.seg--3 .seg__btn { font-size: 13px; }
.rc--done { gap: 8px; }
.rc__img--sm { width: 64px; height: 80px; }
.rc__amt--no { color: var(--hint); text-shadow: none; text-decoration: line-through; }
.rc__acts--3 { grid-template-columns: 1fr 1fr 1fr; }
.rc__acts--3 .rc__btn { font-size: 12.5px; padding: 0 8px; }
.qrow { display: flex; gap: 10px; align-items: center; }
.qrow__ic, .mrow__ic { flex: none; width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.qrow__ic .emo, .mrow__ic .emo { width: 28px; height: 28px; }
.qrow__t { min-width: 0; display: flex; flex-direction: column; }
.qrow__t b { line-height: 1.25; }
.qrow__t small { color: var(--hint); font-weight: 600; }
/* statistika */
.sgroup { display: flex; flex-direction: column; gap: 8px; }
.sgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 560px) { .sgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.scell { padding: 11px 12px; border-radius: 16px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.scell b { font-size: 17px; font-weight: 900; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.scell small { color: var(--hint); font-weight: 700; font-size: 12px; }
.scell--good b { color: #4ade80; } .scell--warn b { color: #fbbf24; } .scell--bad b { color: #fb7185; }
/* menyu qatorlari */
.mrow { border: 0; cursor: pointer; text-align: left; display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 18px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); min-width: 0; transition: transform .12s ease; }
.mrow:active { transform: scale(.98); }
.mrow__t { flex: 1; min-width: 0; font-weight: 800; }
.mrow__go { flex: none; font-size: 22px; color: var(--hint); font-weight: 700; }
.mrow__flag { width: 30px; height: 30px; border-radius: 50%; flex: none; }
.pinfo { display: flex; flex-wrap: wrap; gap: 6px; }
.pinfo--col { flex-direction: column; gap: 4px; padding: 12px 14px; border-radius: 16px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.pinfo--col small { color: var(--hint); }
/* shakl */
.fform { display: flex; flex-direction: column; gap: 14px; }
.ff { display: flex; flex-direction: column; gap: 6px; }
.ff--row { flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); flex-wrap: wrap; }
.ff--row .ff__l { flex: 1; }
.ff__l { font-weight: 800; font-size: 14px; }
.ff__hint { color: var(--hint); font-size: 12.5px; line-height: 1.35; }
.ff__err { color: #fb7185; font-size: 13px; font-weight: 800; }
.ff__err:empty { display: none; }
.ff--row .ff__err { flex-basis: 100%; }
select.field { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--hint) 50%), linear-gradient(135deg, var(--hint) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 34px; }
.sw { flex: none; position: relative; width: 52px; height: 30px; border: 0; cursor: pointer; border-radius: 999px; background: rgba(128, 128, 128, .35); box-shadow: inset 0 0 0 1px var(--line); transition: background .2s ease, box-shadow .2s ease; }
.sw__k { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .3); transition: transform .22s cubic-bezier(.2, 1.3, .3, 1); }
.sw--on { background: linear-gradient(135deg, #4ade80, #059669); box-shadow: 0 0 14px rgba(16, 185, 129, .45); }
.sw--on .sw__k { transform: translateX(22px); }
/* mahsulotlar, kataloglar */
.adm-add { max-width: none; }
.adm-del { max-width: none; margin-top: 6px; }
.adm-reset { max-width: none; height: 46px; border-radius: 14px; }
.fchips { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.fchips::-webkit-scrollbar { display: none; }
.fchip { flex: none; border: 0; cursor: pointer; height: 34px; padding: 0 13px; border-radius: 999px; font-weight: 800; font-size: 13px; color: var(--hint); background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; }
.fchip--on { color: #fff; background: linear-gradient(135deg, #7c5cff, #2563eb); box-shadow: 0 0 14px rgba(124, 92, 255, .4); }
.pthumb { flex: none; width: 46px; height: 46px; border-radius: 14px; overflow: hidden; display: grid; place-items: center; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.pthumb img { width: 100%; height: 100%; object-fit: cover; }
.pthumb .emo { width: 28px; height: 28px; }
.prow--off { opacity: .62; }
.pphoto { display: flex; gap: 12px; align-items: center; }
.pphoto__img { flex: none; width: 110px; height: 110px; border-radius: 20px; overflow: hidden; display: grid; place-items: center; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.pphoto__img img { width: 100%; height: 100%; object-fit: cover; }
.pphoto__img .emo { width: 44px; height: 44px; }
.pphoto__btns { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.pphoto__btns .btn { max-width: none; height: 44px; border-radius: 14px; font-size: 14px; }
.stockrow { display: flex; gap: 6px; align-items: center; }
.stockrow .field { flex: 1; min-width: 0; }
.stockrow .preset { flex: none; min-width: 50px; }
.crow { padding: 6px 8px 6px 6px; }
.crow__main { flex: 1; min-width: 0; border: 0; background: transparent; cursor: pointer; text-align: left; display: flex; align-items: center; gap: 11px; padding: 4px; color: inherit; }
.crow__mv { flex: none; display: flex; flex-direction: column; gap: 4px; }
.mvbtn { flex: none; width: 34px; height: 30px; border: 0; cursor: pointer; border-radius: 10px; font-size: 12px; color: var(--text); background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.mvbtn:disabled { opacity: .3; cursor: default; }
.mvbtn--del { color: #fb7185; width: 36px; height: 36px; font-size: 15px; }
.chrow { gap: 10px; }
.addrow { display: flex; gap: 8px; }
.addrow .field { flex: 1; min-width: 0; }
.addrow .btn { flex: none; width: auto; height: 50px; padding: 0 16px; }
/* xabar tarqatish */
.bcp { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 18px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.bcp__bar { height: 12px; border-radius: 999px; overflow: hidden; background: rgba(128, 128, 128, .25); }
.bcp__bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #4ade80, #22d3ee); box-shadow: 0 0 14px rgba(34, 211, 238, .5); transition: width .4s ease; }
.bcp__nums { display: flex; flex-direction: column; gap: 2px; }
.bcp__nums small { color: var(--hint); font-weight: 700; }
.bcp__prev { margin: 0; color: var(--hint); white-space: pre-wrap; word-break: break-word; font-size: 13.5px; }
/* sozlamalar: ovoz, chiqish */
.setrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.setrow__t { display: flex; align-items: center; gap: 9px; font-weight: 800; }
.setrow__t .emo { width: 24px; height: 24px; }
.logout--all { color: #fb7185; }

/* ---------- 👥 referal ---------- */
.refwrap { padding-top: 10px; }
.refwrap:empty { display: none; }
.refcard { position: relative; overflow: hidden; width: 100%; border: 0; cursor: pointer; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 22px; color: #fff; text-align: left;
  background: radial-gradient(120% 120% at 0% 0%, #fb7185 0%, transparent 55%), linear-gradient(135deg, #db2777, #7c3aed); box-shadow: 0 10px 26px rgba(219, 39, 119, .35), inset 0 0 0 1px rgba(255, 255, 255, .22); transition: transform .12s ease; }
@media (min-width: 720px) { .refwrap .refcard { max-width: 560px; } }
.refcard:active { transform: scale(.98); }
.refcard__shine, .refhero__shine { position: absolute; top: -50%; left: -30%; width: 45%; height: 200%; transform: rotate(24deg); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .25), transparent); animation: sheen 5s ease-in-out infinite; pointer-events: none; }
.refcard__ic { flex: none; width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: rgba(255, 255, 255, .2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
.refcard__ic .emo { width: 34px; height: 34px; }
.refcard__t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; text-shadow: 0 1px 2px rgba(0, 0, 0, .25); }
.refcard__t b { font-size: 16px; font-weight: 900; }
.refcard__t small { font-weight: 700; opacity: .92; }
.refcard__go { flex: none; font-size: 26px; font-weight: 800; opacity: .9; }
.refhero { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 16px; border-radius: 24px; color: #fff; text-align: center;
  background: radial-gradient(120% 120% at 0% 0%, #fb7185 0%, transparent 55%), radial-gradient(90% 90% at 100% 0%, #a78bfa 0%, transparent 60%), linear-gradient(135deg, #db2777, #6d28d9); box-shadow: 0 14px 34px rgba(219, 39, 119, .38), inset 0 0 0 1px rgba(255, 255, 255, .2); }
.refhero__emo { width: 64px; height: 64px; animation: bob 3.2s ease-in-out infinite; }
.refhero__t { position: relative; font-size: 18px; font-weight: 900; text-shadow: 0 1px 3px rgba(0, 0, 0, .3); }
.refhero__stats { position: relative; display: flex; gap: 8px; width: 100%; }
.refhero__stats > div { flex: 1; min-width: 0; padding: 10px 6px; border-radius: 16px; background: rgba(255, 255, 255, .15); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); display: flex; flex-direction: column; gap: 2px; }
.refhero__stats b { font-size: 15.5px; font-weight: 900; line-height: 1.15; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.refhero__stats small { font-size: 11.5px; font-weight: 700; opacity: .88; }
.reflink { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px; border-radius: 18px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.reflink__l { display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 800; color: var(--hint); text-transform: uppercase; letter-spacing: .6px; }
.reflink__emo { width: 20px; height: 20px; }
.reflink__v { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 14px; font-weight: 700; word-break: break-all; user-select: all; }
.reflink .copybtn { align-self: flex-start; }
.refset { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); flex-wrap: wrap; }
.refset__t { flex: 1; min-width: 180px; display: flex; flex-direction: column; gap: 2px; }
.refset__t small { color: var(--hint); font-weight: 700; }
.refset__btn { width: auto; max-width: none; height: 44px; border-radius: 14px; font-size: 14px; }
.rankb { flex: none; min-width: 34px; height: 34px; padding: 0 6px; border-radius: 12px; display: grid; place-items: center; font-weight: 900; font-size: 13px; color: var(--hint); background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.rankb--1, .rankb--2, .rankb--3 { font-size: 22px; background: transparent; box-shadow: none; }
.refrow--top { box-shadow: inset 0 0 0 1px rgba(251, 191, 36, .45), 0 0 16px rgba(251, 191, 36, .14); }
.refrow__n { font-size: 16px; font-weight: 900; color: #4ade80; }
.refrow__e { color: var(--hint); font-weight: 700; font-size: 12px; }
.mrow--warn { box-shadow: inset 0 0 0 1px rgba(251, 191, 36, .5), 0 0 16px rgba(251, 191, 36, .16); }

/* ---------- 📦 yetkazib berish ---------- */
.dmap { position: relative; z-index: 0; height: 300px; border-radius: 20px; overflow: hidden; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line), 0 8px 22px rgba(0, 0, 0, .18); display: grid; place-items: center; }
@media (min-width: 720px) { .dmap { height: 360px; } }
.dmap .leaflet-container { width: 100%; height: 100%; font: inherit; }
.dmap.leaflet-container { width: 100%; }
.dmap__err { padding: 20px; text-align: center; color: var(--hint); font-weight: 700; }
.dl-tools { display: flex; gap: 8px; }
.dl-loc { max-width: none; height: 46px; border-radius: 14px; font-size: 14px; }
.dl-loc .emo { width: 22px; height: 22px; }
.dlview { display: flex; flex-direction: column; gap: 10px; padding: 12px 14px; border-radius: 16px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.dlview__row { display: flex; gap: 10px; align-items: flex-start; }
.dlview__emo { flex: none; width: 26px; height: 26px; }
.dlview__t { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.dlview__t b { overflow-wrap: anywhere; }
.dlview__t small { color: var(--hint); font-weight: 600; overflow-wrap: anywhere; }
.dlview__links { display: flex; gap: 6px; flex-wrap: wrap; }
.order__btn { max-width: none; height: 42px; border-radius: 13px; font-size: 13.5px; margin-top: 4px; }
.order__btn .emo { width: 20px; height: 20px; }
.svc-banner--ok { color: #4ade80; background: rgba(74, 222, 128, .12); box-shadow: inset 0 0 0 1px rgba(74, 222, 128, .35); }
.seg--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 479px) { .seg--4 { grid-template-columns: repeat(2, 1fr); } }
.seg--4 .seg__btn { font-size: 12px; padding: 0 4px; line-height: 1.1; height: 48px; }
.dl-cancel { color: #fb7185; }

/* ---------- admin 3-qism: tayyorlik markazi, narx va foyda, buyurtmalar ---------- */
.chks { display: flex; flex-direction: column; gap: 6px; }
.chk { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 14px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; line-height: 1.35; }
.chk__ic { flex: none; width: 20px; text-align: center; }
.chk__t { min-width: 0; overflow-wrap: anywhere; }
.chk--req { box-shadow: inset 0 0 0 1px rgba(251, 113, 133, .5); }
.chk--rec { box-shadow: inset 0 0 0 1px rgba(251, 191, 36, .35); }
.chk--ok .chk__t { color: var(--text); }
.chk--opt .chk__t { color: var(--hint); }
.pinfo--col .bcp__bar { margin: 4px 0; }
.pv { display: flex; flex-direction: column; border-radius: 16px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.pv__row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: baseline; padding: 9px 12px; }
.pv__row + .pv__row { border-top: 1px solid var(--line); }
.pv__l { min-width: 0; overflow-wrap: anywhere; font-weight: 700; font-size: 14px; }
.pv__p { font-variant-numeric: tabular-nums; white-space: nowrap; }
.pv__pr { color: #4ade80; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pv__err { color: var(--hint); font-weight: 700; overflow-wrap: anywhere; grid-column: span 2; text-align: right; }
.rc__acts--1 { grid-template-columns: 1fr; }
.chrow__open { border: 0; background: none; padding: 0; cursor: pointer; text-align: left; color: inherit; font: inherit; }

/* ---------- yetkazib berish: telefon raqam (majburiy) ---------- */
.ff__req { color: #fb7185; font-weight: 900; }
.field--bad { box-shadow: inset 0 0 0 2px rgba(251, 113, 133, .75) !important; }
.ff .dl-loc { margin-top: 6px; }
.dlview__phone { color: #60a5fa; font-weight: 800; font-size: 14px; text-decoration: none; font-variant-numeric: tabular-nums; }
