/* AutoCreator Web App — neon / chaqmoq / plazma ko'rinishi.
   Eski WebView'lar uchun: flex `gap`, `inset`, `aspect-ratio`, `color-mix` ishlatilmagan. */
:root {
  --bg: #06060f;
  --bg2: #0b0b1d;
  --panel: rgba(20, 20, 44, .86);
  --panel2: rgba(13, 13, 30, .9);
  --line: rgba(140, 150, 255, .16);
  --line2: rgba(160, 170, 255, .28);
  --text: #f4f5ff;
  --muted: #a3a8d0;
  --dim: #6f7499;
  --cyan: #19e6ff;
  --blue: #4d7cff;
  --violet: #8b5cff;
  --magenta: #ff3df0;
  --green: #2bff9a;
  --amber: #ffc53d;
  --red: #ff4d6d;
  --grad: linear-gradient(100deg, #00c8ff 0%, #4d7cff 38%, #9a4dff 70%, #f02fd0 100%);
  --radius: 20px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --tint: var(--cyan);
  --tint-rgb: 25, 230, 255;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; background: var(--bg); }
html { -webkit-text-size-adjust: 100%; }
body {
  color: var(--text);
  font: 400 15px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(104px + var(--safe-b));
}
body.no-tabs { padding-bottom: calc(120px + var(--safe-b)); }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; text-align: inherit; }
button:disabled { cursor: default; }
input, textarea { font: inherit; color: inherit; }
h1, h2, p, ul, ol, pre { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: var(--cyan); text-decoration: none; }
.mono, pre, code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, "Roboto Mono", monospace; }
.muted { color: var(--muted); font-size: 13.500px; }
.center { text-align: center; }
.offscreen { position: fixed; left: -9999px; top: 0; opacity: 0; }
.noscript { padding: 40px 20px; text-align: center; color: var(--muted); }

/* ---------- ikonka, bayroq ---------- */
.ico { display: inline-flex; width: 22px; height: 22px; flex: 0 0 auto; }
.ico svg { width: 100%; height: 100%; display: block; }
.flag-wrap { display: inline-flex; width: 26px; height: 18px; border-radius: 4px; overflow: hidden; flex: 0 0 auto; box-shadow: 0 0 0 1px rgba(255, 255, 255, .16), 0 0 10px rgba(25, 230, 255, .18); }
.flag-wrap svg { width: 100%; height: 100%; display: block; }

/* ---------- ranglar (kartochka va belgilar uchun) ---------- */
.tint-cyan { --tint: #19e6ff; --tint-rgb: 25, 230, 255; }
.tint-blue { --tint: #5c8cff; --tint-rgb: 92, 140, 255; }
.tint-violet { --tint: #a078ff; --tint-rgb: 160, 120, 255; }
.tint-magenta { --tint: #ff5cf0; --tint-rgb: 255, 92, 240; }
.tint-green { --tint: #2bff9a; --tint-rgb: 43, 255, 154; }
.tint-amber { --tint: #ffc53d; --tint-rgb: 255, 197, 61; }
.tint-red { --tint: #ff5c7a; --tint-rgb: 255, 92, 122; }

/* ================= FON: plazma nurlari, to'r, chaqmoq ================= */
#bg { position: fixed; left: 0; top: 0; width: 100%; height: 100%; z-index: 0; overflow: hidden; pointer-events: none;
  background: radial-gradient(120% 70% at 50% -10%, #1a1750 0%, #0c0c24 42%, #06060f 100%); }
#bg .orb { position: absolute; border-radius: 50%; will-change: transform; }
#bg .o1 { width: 90vmax; height: 90vmax; left: -38vmax; top: -34vmax;
  background: radial-gradient(circle, rgba(25, 230, 255, .42) 0%, rgba(25, 230, 255, .12) 34%, rgba(25, 230, 255, 0) 64%);
  animation: drift1 19s ease-in-out infinite alternate; }
#bg .o2 { width: 86vmax; height: 86vmax; right: -44vmax; top: 4vmax;
  background: radial-gradient(circle, rgba(255, 61, 240, .34) 0%, rgba(255, 61, 240, .1) 36%, rgba(255, 61, 240, 0) 64%);
  animation: drift2 23s ease-in-out infinite alternate; }
#bg .o3 { width: 100vmax; height: 100vmax; left: -20vmax; bottom: -62vmax;
  background: radial-gradient(circle, rgba(139, 92, 255, .4) 0%, rgba(77, 124, 255, .12) 38%, rgba(77, 124, 255, 0) 64%);
  animation: drift3 27s ease-in-out infinite alternate; }
#bg .grid { position: absolute; left: 0; top: 0; width: 100%; height: 100%; opacity: .5;
  background-image: linear-gradient(rgba(140, 160, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(140, 160, 255, .07) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 0%, transparent 78%);
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 0%, transparent 78%); }
#bg .lightning { position: absolute; top: -6px; width: 120px; height: 260px; opacity: 0;
  filter: drop-shadow(0 0 6px #6fe9ff) drop-shadow(0 0 18px rgba(25, 230, 255, .9)); }
#bg .l1 { right: 6%; animation: flash1 9s linear infinite; }
#bg .l2 { left: 4%; top: 30px; filter: drop-shadow(0 0 6px #ff8cf6) drop-shadow(0 0 18px rgba(255, 61, 240, .85)); animation: flash2 13s linear infinite; }
@keyframes drift1 { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(16vmax, 10vmax, 0) scale(1.18); } }
@keyframes drift2 { from { transform: translate3d(0, 0, 0) scale(1.1); } to { transform: translate3d(-18vmax, 14vmax, 0) scale(.92); } }
@keyframes drift3 { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(12vmax, -16vmax, 0) scale(1.14); } }
@keyframes flash1 { 0%, 61%, 63.500%, 66%, 100% { opacity: 0; } 62% { opacity: .95; } 64.500% { opacity: .55; } 65% { opacity: .9; } }
@keyframes flash2 { 0%, 23%, 25%, 27.500%, 100% { opacity: 0; } 24% { opacity: .85; } 26% { opacity: .5; } 26.500% { opacity: .8; } }

/* ================= PLAZMA SHAR (yuklanish, bosh sahifa) ================= */
.plasma { position: relative; width: 132px; height: 132px; margin: 0 auto; }
.plasma .core { position: absolute; left: 22%; top: 22%; width: 56%; height: 56%; border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, #ffffff 0%, #9ef3ff 16%, #4d7cff 46%, #8b5cff 70%, rgba(255, 61, 240, .2) 100%);
  box-shadow: 0 0 26px rgba(25, 230, 255, .95), 0 0 60px rgba(139, 92, 255, .75), 0 0 110px rgba(255, 61, 240, .45);
  animation: pulse 1.800s ease-in-out infinite; }
.plasma .ring { position: absolute; left: 0; top: 0; width: 100%; height: 100%; border-radius: 50%; }
.plasma .r1 { background: conic-gradient(from 0deg, rgba(25, 230, 255, 0) 0deg, #19e6ff 90deg, rgba(25, 230, 255, 0) 150deg, #ff3df0 260deg, rgba(255, 61, 240, 0) 330deg);
  -webkit-mask: radial-gradient(circle, transparent 60%, #000 62%, #000 68%, transparent 70%); mask: radial-gradient(circle, transparent 60%, #000 62%, #000 68%, transparent 70%);
  animation: spin 2.400s linear infinite; }
.plasma .r2 { background: conic-gradient(from 180deg, rgba(139, 92, 255, 0) 0deg, #a078ff 80deg, rgba(139, 92, 255, 0) 170deg, #19e6ff 280deg, rgba(25, 230, 255, 0) 340deg);
  -webkit-mask: radial-gradient(circle, transparent 46%, #000 48%, #000 51%, transparent 53%); mask: radial-gradient(circle, transparent 46%, #000 48%, #000 51%, transparent 53%);
  animation: spin 3.600s linear infinite reverse; }
.plasma-bolt { position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; color: #fff;
  filter: drop-shadow(0 0 6px #fff) drop-shadow(0 0 14px #19e6ff); animation: flicker 3.200s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { transform: scale(.94); } 50% { transform: scale(1.06); } }
@keyframes flicker { 0%, 18%, 22%, 25%, 53%, 57%, 100% { opacity: 1; } 20%, 24%, 55% { opacity: .35; } }

#splash { position: fixed; left: 0; top: 0; width: 100%; height: 100%; z-index: 5; display: none; flex-direction: column; align-items: center; justify-content: center; }
body.booting #splash, body.boot-failed #splash { display: flex; }
.splash-name { margin-top: 22px; font-size: 26px; font-weight: 800; letter-spacing: .5px; color: #fff;
  text-shadow: 0 0 8px rgba(120, 225, 255, .95), 0 0 22px rgba(25, 230, 255, .6), 0 0 44px rgba(139, 92, 255, .55); }
.splash-fail { display: none; margin: 14px 28px 0; text-align: center; color: var(--muted); }
body.boot-failed .splash-fail { display: block; }

/* ================= QOBIQ ================= */
#app { position: relative; z-index: 1; max-width: 560px; margin: 0 auto; }
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; padding: 12px 16px 10px;
  background: linear-gradient(180deg, rgba(6, 6, 15, .94) 0%, rgba(6, 6, 15, .78) 70%, rgba(6, 6, 15, 0) 100%); }
.brand { display: inline-flex; align-items: center; }
.brand-name { margin-left: 10px; font-size: 20px; font-weight: 800; letter-spacing: .2px;
  background: linear-gradient(95deg, #7ff1ff 0%, #a9b8ff 45%, #ff8cf6 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
  filter: drop-shadow(0 0 10px rgba(25, 230, 255, .45)); }
.logo { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #25255a, #0b0b1f); box-shadow: 0 0 16px rgba(25, 230, 255, .55), inset 0 0 10px rgba(139, 92, 255, .5); }
.logo .ico { width: 20px; height: 20px; color: #fff; filter: drop-shadow(0 0 5px #19e6ff); animation: flicker 4.500s linear infinite; }
.logo-ring { position: absolute; left: -2px; top: -2px; right: -2px; bottom: -2px; border-radius: 50%;
  background: conic-gradient(#19e6ff, #8b5cff, #ff3df0, #19e6ff);
  -webkit-mask: radial-gradient(circle, transparent 63%, #000 65%); mask: radial-gradient(circle, transparent 63%, #000 65%);
  animation: spin 6s linear infinite; }
.lang-btn { display: inline-flex; align-items: center; height: 38px; padding: 0 10px 0 9px; border-radius: 19px; font-weight: 700; font-size: 13px; letter-spacing: .4px;
  border: 1px solid rgba(25, 230, 255, .45); background: rgba(16, 18, 44, .8); box-shadow: 0 0 14px rgba(25, 230, 255, .22), inset 0 0 12px rgba(25, 230, 255, .08); }
.lang-btn > span { margin: 0 4px 0 8px; }
.lang-btn .ico { width: 16px; height: 16px; color: var(--cyan); }
.lang-btn:active { transform: scale(.96); }

#view { padding: 4px 16px 0; }
/* Kirish harakati sahifaning O'ZIGA emas, ichidagi bo'laklarga beriladi: aks holda pastga
   mahkamlangan tugmalar (.sticky) sahifa bilan birga siljib qolardi. */
#view.enter > .page > *:not(.sticky), #view.enter > :not(.page) { animation: rise .3s ease-out backwards; }
#view.enter > .page > *:nth-child(2) { animation-delay: .04s; }
#view.enter > .page > *:nth-child(3) { animation-delay: .08s; }
#view.enter > .page > *:nth-child(4) { animation-delay: .12s; }
#view.enter > .page > *:nth-child(n+5) { animation-delay: .16s; }
@keyframes rise { from { opacity: 0; transform: translate3d(0, 10px, 0); } to { opacity: 1; transform: none; } }
.page > * + * { margin-top: 12px; }
.page-title { font-size: 24px; line-height: 1.2; font-weight: 800; letter-spacing: .1px; color: #fff; padding-top: 4px;
  text-shadow: 0 0 10px rgba(120, 225, 255, .55), 0 0 26px rgba(139, 92, 255, .45); }
.page-sub { color: var(--muted); margin-top: 6px !important; }
.section-title { display: flex; align-items: center; justify-content: space-between; margin-top: 22px !important; padding: 0 2px; font-size: 13px; font-weight: 700;
  letter-spacing: .9px; text-transform: uppercase; color: #b9c0ee; }
.section-title > span:first-child { position: relative; padding-left: 12px; }
.section-title > span:first-child::before { content: ""; position: absolute; left: 0; top: 50%; width: 4px; height: 14px; margin-top: -7px; border-radius: 2px;
  background: linear-gradient(180deg, var(--cyan), var(--magenta)); box-shadow: 0 0 10px var(--cyan); }
.link { display: inline-flex; align-items: center; color: var(--cyan); font-weight: 600; font-size: 13px; text-transform: none; letter-spacing: 0; }
.link .ico { width: 16px; height: 16px; }
.meta-line { color: var(--muted); font-size: 13px; margin-top: 4px !important; padding: 0 2px; }

/* ================= KARTOCHKA ================= */
.card { display: block; width: 100%; position: relative; padding: 16px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(30, 30, 66, .88) 0%, rgba(15, 15, 36, .9) 100%);
  border: 1px solid var(--line); box-shadow: 0 12px 30px rgba(0, 0, 0, .38), inset 0 1px 0 rgba(255, 255, 255, .06); }
.card.soft { background: rgba(18, 18, 42, .62); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04); }
.card.center { text-align: center; }
.card > * + * { margin-top: 12px; }
.card.rows { padding: 4px 14px; }
.card.rows > * + * { margin-top: 0; border-top: 1px solid rgba(140, 150, 255, .1); }
.card-title { font-weight: 700; font-size: 15px; }

.row { display: flex; align-items: center; width: 100%; padding: 12px 0; min-height: 60px; }
.row-ico { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 13px; flex: 0 0 auto; color: var(--tint);
  background: rgba(var(--tint-rgb), .12); box-shadow: inset 0 0 0 1px rgba(var(--tint-rgb), .34), 0 0 14px rgba(var(--tint-rgb), .22); }
.row-ico .ico { width: 21px; height: 21px; filter: drop-shadow(0 0 5px rgba(var(--tint-rgb), .8)); }
.row-main { flex: 1 1 auto; min-width: 0; margin: 0 12px; display: flex; flex-direction: column; }
.row-title { font-weight: 600; font-size: 15px; overflow-wrap: anywhere; }
.row-sub { color: var(--muted); font-size: 12.500px; margin-top: 2px; }
.row-arrow { width: 18px; height: 18px; color: var(--dim); }
.row-value { display: inline-flex; align-items: center; color: var(--muted); font-size: 13.500px; }
.row-value .flag-wrap { margin-right: 8px; }
.row-value .ico { margin-left: 6px; }
.row.danger .row-title { color: #ff7d95; }
.row:active .row-ico { transform: scale(.94); }

.kv { display: flex; align-items: baseline; justify-content: space-between; }
.kv-label { color: var(--muted); font-size: 13.500px; flex: 0 0 auto; margin-right: 14px; }
.kv-value { font-weight: 600; text-align: right; overflow-wrap: anywhere; min-width: 0; }
.kv-note { color: var(--muted); font-size: 12.500px; margin-top: 4px !important; text-align: right; }
.kv-note.strong { color: var(--text); font-size: 14px; font-weight: 600; text-align: left; margin-top: 12px !important; }
.info-card > * + * { margin-top: 10px; }

.note { display: flex; align-items: flex-start; padding: 12px 14px; border-radius: 16px; font-size: 13.500px; line-height: 1.4;
  border: 1px solid rgba(25, 230, 255, .28); background: rgba(25, 230, 255, .07); color: #d5f6ff; }
.note .ico { width: 18px; height: 18px; margin: 1px 10px 0 0; color: var(--cyan); filter: drop-shadow(0 0 5px rgba(25, 230, 255, .8)); }
.note.warn { border-color: rgba(255, 197, 61, .38); background: rgba(255, 197, 61, .08); color: #ffe9b0; }
.note.warn .ico { color: var(--amber); filter: drop-shadow(0 0 5px rgba(255, 197, 61, .8)); }
.note.ok { border-color: rgba(43, 255, 154, .34); background: rgba(43, 255, 154, .07); color: #c9ffe6; }
.note.ok .ico { color: var(--green); filter: drop-shadow(0 0 5px rgba(43, 255, 154, .8)); }
.warn-card { border-color: rgba(255, 197, 61, .4); background: linear-gradient(180deg, rgba(60, 44, 14, .6), rgba(24, 18, 30, .9)); box-shadow: 0 0 22px rgba(255, 197, 61, .12), inset 0 1px 0 rgba(255, 255, 255, .06); }
.error-card { border-color: rgba(255, 77, 109, .45); background: linear-gradient(180deg, rgba(64, 16, 30, .62), rgba(22, 14, 30, .9)); box-shadow: 0 0 22px rgba(255, 77, 109, .14), inset 0 1px 0 rgba(255, 255, 255, .06); }
.warn-head { display: flex; align-items: flex-start; font-weight: 700; color: #ffe2a0; }
.error-card .warn-head { color: #ffb0bf; }
.warn-head .ico { margin-right: 10px; width: 20px; height: 20px; flex: 0 0 auto; }
.bullets > li { position: relative; padding-left: 16px; color: #d9dcf5; font-size: 13.500px; }
.bullets > li + li { margin-top: 6px; }
.bullets > li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.code { padding: 12px; border-radius: 12px; background: rgba(4, 4, 14, .72); border: 1px solid rgba(140, 150, 255, .14); color: #cfe3ff; font-size: 12px; line-height: 1.5;
  white-space: pre-wrap; overflow-wrap: anywhere; word-break: break-word; max-height: 240px; overflow: auto; }
.code.logs { max-height: none; font-size: 11.500px; }
.ask { color: #dfe2fb; font-size: 14.500px; padding: 0 2px; }
.okline { display: inline-flex; align-items: center; color: var(--green); font-weight: 600; }
.okline .ico { width: 18px; height: 18px; margin-right: 6px; filter: drop-shadow(0 0 5px rgba(43, 255, 154, .8)); }
.okline.big { font-size: 16px; color: var(--text); }
.okline.big .ico { color: var(--amber); width: 22px; height: 22px; margin-right: 10px; filter: drop-shadow(0 0 6px rgba(255, 197, 61, .8)); }
.crownline { display: inline-flex; align-items: center; }
.crownline .ico { width: 16px; height: 16px; margin-right: 6px; color: var(--amber); }

/* ================= TUGMALAR ================= */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; height: 54px; padding: 0 20px; border-radius: 17px; font-weight: 700; font-size: 16px;
  overflow: hidden; transition: transform .12s ease, opacity .2s ease; text-decoration: none; -webkit-user-select: none; user-select: none; }
.btn.block { display: flex; width: 100%; }
.btn.small { height: 40px; padding: 0 14px; border-radius: 13px; font-size: 14px; }
.btn .ico { width: 20px; height: 20px; margin-right: 9px; }
.btn.small .ico { width: 17px; height: 17px; margin-right: 6px; }
.btn-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.btn:active { transform: scale(.975); }
.btn:disabled { opacity: .42; transform: none; }
.btn.primary { color: #fff; background: var(--grad); text-shadow: 0 1px 2px rgba(10, 10, 40, .45);
  box-shadow: 0 10px 28px rgba(77, 124, 255, .45), 0 0 22px rgba(240, 47, 208, .28), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn.primary::after, .btn.success::after { content: ""; position: absolute; top: 0; left: -60%; width: 46%; height: 100%;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .42) 50%, rgba(255, 255, 255, 0) 100%); transform: skewX(-20deg); animation: shine 3.600s ease-in-out infinite; }
.btn.success { color: #04130c; background: linear-gradient(100deg, #2bff9a 0%, #19e6ff 100%);
  box-shadow: 0 10px 26px rgba(43, 255, 154, .34), 0 0 20px rgba(25, 230, 255, .25), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn.ghost { color: #d9f8ff; border: 1.500px solid rgba(25, 230, 255, .55); background: rgba(25, 230, 255, .07);
  box-shadow: 0 0 16px rgba(25, 230, 255, .18), inset 0 0 14px rgba(25, 230, 255, .07); }
.btn.ghost .ico { color: var(--cyan); filter: drop-shadow(0 0 5px rgba(25, 230, 255, .8)); }
.btn.glass { color: #fff; border: 1px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .1); }
.btn.danger { color: #ff8ca1; border: 1.500px solid rgba(255, 77, 109, .55); background: rgba(255, 77, 109, .08); box-shadow: 0 0 16px rgba(255, 77, 109, .16); }
.btn.danger-fill { color: #fff; background: linear-gradient(100deg, #ff4d6d, #ff3df0); box-shadow: 0 10px 26px rgba(255, 77, 109, .4), inset 0 1px 0 rgba(255, 255, 255, .3); }
@keyframes shine { 0%, 55% { left: -60%; } 85%, 100% { left: 130%; } }
.stack > * + * { margin-top: 10px; }
.duo { display: flex; }
.duo > * { flex: 1 1 0; min-width: 0; padding: 0 10px; }
.duo > * + * { margin-left: 10px; }
.duo .btn { height: 56px; font-size: 14.500px; padding: 0 8px; }
.duo .btn .ico { margin-right: 7px; width: 18px; height: 18px; }
.duo .btn-label { white-space: normal; text-align: center; line-height: 1.15; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 13px; flex: 0 0 auto; color: var(--cyan);
  border: 1px solid rgba(25, 230, 255, .4); background: rgba(25, 230, 255, .08); box-shadow: 0 0 12px rgba(25, 230, 255, .18); }
.icon-btn .ico { width: 19px; height: 19px; }
.icon-btn.danger { color: #ff7d95; border-color: rgba(255, 77, 109, .45); background: rgba(255, 77, 109, .08); box-shadow: 0 0 12px rgba(255, 77, 109, .16); }
.icon-btn:active { transform: scale(.93); }

.sticky { position: fixed; z-index: 15; left: 0; right: 0; bottom: 0; padding: 14px 16px calc(14px + var(--safe-b)); margin: 0 auto !important; max-width: 560px;
  background: linear-gradient(180deg, rgba(6, 6, 15, 0) 0%, rgba(6, 6, 15, .88) 34%, rgba(6, 6, 15, .97) 100%); }
.sticky > * + * { margin-top: 8px; }
.sticky .btn.ghost { background: rgba(9, 14, 40, .96); }

/* ================= BELGILAR ================= */
.chip { display: inline-flex; align-items: center; height: 26px; padding: 0 10px 0 9px; border-radius: 13px; font-size: 12px; font-weight: 700; white-space: nowrap; flex: 0 0 auto;
  color: var(--tint); background: rgba(var(--tint-rgb), .12); box-shadow: inset 0 0 0 1px rgba(var(--tint-rgb), .4), 0 0 12px rgba(var(--tint-rgb), .2); }
.chip .dot { width: 7px; height: 7px; border-radius: 50%; margin-right: 7px; background: var(--tint); box-shadow: 0 0 8px var(--tint); }
.chip .ico { width: 14px; height: 14px; margin-right: 6px; }
.chip.st-running { --tint: #2bff9a; --tint-rgb: 43, 255, 154; }
.chip.st-running .dot { animation: beat 1.600s ease-in-out infinite; }
.chip.st-stopped { --tint: #ff5c7a; --tint-rgb: 255, 92, 122; }
.chip.st-error { --tint: #ff7a3d; --tint-rgb: 255, 122, 61; }
.chip.st-suspended { --tint: #ffc53d; --tint-rgb: 255, 197, 61; }
.chip.st-deploying { --tint: #19e6ff; --tint-rgb: 25, 230, 255; }
.chip.st-deploying .dot { animation: beat .800s ease-in-out infinite; }
.chip.st-pending { --tint: #a3a8d0; --tint-rgb: 163, 168, 208; }
.chip.plain { --tint: #c9cdf2; --tint-rgb: 180, 186, 240; font-weight: 600; }
.chip.trial { --tint: #2bff9a; --tint-rgb: 43, 255, 154; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; margin: -4px; }
.chips > * { margin: 4px; }
@keyframes beat { 0%, 100% { box-shadow: 0 0 0 0 rgba(var(--tint-rgb), .7), 0 0 8px var(--tint); } 60% { box-shadow: 0 0 0 7px rgba(var(--tint-rgb), 0), 0 0 8px var(--tint); } }
.badge { display: inline-flex; align-items: center; align-self: flex-start; height: 22px; padding: 0 9px; border-radius: 11px; font-size: 11px; font-weight: 700; color: #04130c;
  background: linear-gradient(100deg, #2bff9a, #19e6ff); box-shadow: 0 0 12px rgba(43, 255, 154, .45); }
.badge.crown { color: #241800; background: linear-gradient(100deg, #ffc53d, #ff9a3d); box-shadow: 0 0 12px rgba(255, 197, 61, .5); }
.badge .ico { width: 13px; height: 13px; margin-right: 5px; }

/* ================= BOSH SAHIFA ================= */
.hello { padding: 2px 2px 0; }
.hello-text { font-size: 21px; font-weight: 800; color: #fff; text-shadow: 0 0 12px rgba(120, 225, 255, .5); }
.hero { position: relative; border-radius: 24px; padding: 1.500px; overflow: hidden; box-shadow: 0 0 34px rgba(77, 124, 255, .35), 0 0 70px rgba(255, 61, 240, .16), 0 16px 34px rgba(0, 0, 0, .45); }
.hero-glow { position: absolute; left: -50%; top: -150%; width: 200%; height: 400%;
  background: conic-gradient(from 0deg, #19e6ff, #4d7cff, #8b5cff, #ff3df0, #ffc53d, #19e6ff); animation: spin 7s linear infinite; }
.hero-in { position: relative; border-radius: 22.500px; padding: 18px 18px 20px; overflow: hidden;
  background: radial-gradient(120% 140% at 0% 0%, rgba(34, 44, 110, .96) 0%, rgba(16, 14, 44, .98) 55%, rgba(22, 10, 40, .98) 100%); }
.hero-in > .btn { margin-top: 14px; }
.hero-label { display: flex; align-items: center; color: #b9c6ff; font-size: 13px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; }
.hero-label .ico { width: 17px; height: 17px; margin-right: 7px; color: var(--cyan); }
.hero-amount { margin-top: 6px; display: flex; align-items: baseline; flex-wrap: wrap; }
.hero-amount .neon { font-size: 40px; line-height: 1.1; font-weight: 800; letter-spacing: .3px; font-variant-numeric: tabular-nums; }
.hero-unit { margin-left: 8px; font-size: 16px; font-weight: 700; color: #9ef3ff; }
.hero-text { position: relative; z-index: 1; margin-top: 10px; color: #d6dcff; font-size: 13.500px; max-width: 84%; }
.hero-bolt { position: absolute; right: -14px; top: -10px; width: 130px; height: 130px; color: rgba(140, 200, 255, .13); transform: rotate(12deg); pointer-events: none; }
.hero-bolt .ico { width: 100%; height: 100%; }
.neon { color: #fff; text-shadow: 0 0 6px rgba(140, 232, 255, .95), 0 0 16px rgba(25, 230, 255, .6), 0 0 34px rgba(139, 92, 255, .5); }

.cta { position: relative; display: flex; align-items: center; width: 100%; padding: 14px 14px 14px 12px; border-radius: 22px; overflow: hidden; color: #fff;
  background: var(--grad); box-shadow: 0 12px 34px rgba(77, 124, 255, .5), 0 0 30px rgba(240, 47, 208, .35), inset 0 1px 0 rgba(255, 255, 255, .4); }
.cta:active { transform: scale(.985); }
.cta-shine { position: absolute; top: 0; left: -60%; width: 40%; height: 100%; transform: skewX(-20deg);
  background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .5), rgba(255, 255, 255, 0)); animation: shine 3.200s ease-in-out infinite; }
.cta-orb { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; flex: 0 0 auto;
  background: radial-gradient(circle at 35% 30%, #fff 0%, #c8f6ff 30%, rgba(255, 255, 255, .2) 72%); box-shadow: 0 0 22px rgba(255, 255, 255, .7); color: #2a2bd6; }
.cta-orb .ico { width: 26px; height: 26px; animation: flicker 3.600s linear infinite; }
.cta-text { position: relative; flex: 1 1 auto; min-width: 0; margin: 0 10px 0 13px; display: flex; flex-direction: column; text-shadow: 0 1px 2px rgba(10, 10, 60, .45); }
.cta-text b { font-size: 18px; font-weight: 800; }
.cta-text small { font-size: 12.500px; opacity: .93; margin-top: 2px; }
.cta > .ico { position: relative; }

.tiles { display: grid; grid-template-columns: 1fr 1fr 1fr; grid-gap: 10px; margin-top: 22px !important; }
.quick { display: flex; flex-direction: column; align-items: flex-start; padding: 14px 12px; border-radius: 18px; min-width: 0;
  background: linear-gradient(180deg, rgba(var(--tint-rgb), .14) 0%, rgba(15, 15, 36, .88) 70%); border: 1px solid rgba(var(--tint-rgb), .34); box-shadow: 0 0 20px rgba(var(--tint-rgb), .14); }
.quick-ico { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 12px; color: var(--tint); background: rgba(var(--tint-rgb), .14);
  box-shadow: inset 0 0 0 1px rgba(var(--tint-rgb), .4), 0 0 14px rgba(var(--tint-rgb), .3); }
.quick-ico .ico { filter: drop-shadow(0 0 5px rgba(var(--tint-rgb), .9)); }
.quick b { margin-top: 10px; font-size: 14px; overflow-wrap: anywhere; }
.quick small { margin-top: 2px; font-size: 11.500px; color: var(--muted); line-height: 1.3; }
.quick:active { transform: scale(.97); }
.features-text { color: #d9dcf5; font-size: 13.500px; }
.ticks > li { display: flex; align-items: center; font-size: 13.500px; font-weight: 600; }
.ticks > li + li { margin-top: 7px; }
.ticks .ico { width: 17px; height: 17px; margin-right: 9px; color: var(--green); filter: drop-shadow(0 0 5px rgba(43, 255, 154, .8)); }

/* ================= BOT KARTOCHKASI ================= */
.bot-card { text-align: left; }
.bot-card:active { transform: scale(.985); }
.bot-head { display: flex; align-items: center; }
.avatar { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 15px; flex: 0 0 auto; font-weight: 800; font-size: 19px; color: #fff;
  background: linear-gradient(135deg, rgba(var(--tint-rgb), .95), rgba(139, 92, 255, .85)); box-shadow: 0 0 18px rgba(var(--tint-rgb), .45), inset 0 1px 0 rgba(255, 255, 255, .4); text-shadow: 0 1px 3px rgba(0, 0, 40, .5); }
.avatar.xl { width: 78px; height: 78px; border-radius: 26px; font-size: 32px; }
.bot-names { flex: 1 1 auto; min-width: 0; margin: 0 10px 0 12px; }
.bot-name { font-weight: 700; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.link-name { display: inline-flex; align-items: center; max-width: 100%; color: #fff; }
.link-name .ico { width: 15px; height: 15px; margin-left: 6px; color: var(--cyan); flex: 0 0 auto; }
.bot-tpl { color: var(--muted); font-size: 12.500px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 1px; }
.bot-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.sub-line { display: inline-flex; align-items: center; font-size: 13px; font-weight: 600; color: var(--tone, #c9cdf2); }
.sub-line .ico { width: 15px; height: 15px; margin-right: 6px; }
.bot-price { font-size: 12.500px; color: var(--muted); font-weight: 600; }
.tone-ok { --tone: #2bff9a; --tone-rgb: 43, 255, 154; }
.tone-trial { --tone: #19e6ff; --tone-rgb: 25, 230, 255; }
.tone-warn { --tone: #ffc53d; --tone-rgb: 255, 197, 61; }
.tone-bad { --tone: #ff5c7a; --tone-rgb: 255, 92, 122; }
.tone-free { --tone: #c9cdf2; --tone-rgb: 201, 205, 242; }
.bar { height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, rgba(var(--tone-rgb), .55), var(--tone)); box-shadow: 0 0 10px var(--tone); }
.growth { display: flex; align-items: center; padding-top: 12px; border-top: 1px solid rgba(140, 150, 255, .12); }
.growth-item { display: flex; flex-direction: column; margin-right: 20px; }
.growth-item b { font-size: 18px; font-variant-numeric: tabular-nums; }
.growth-item small { color: var(--muted); font-size: 11.500px; }
.picked { display: flex; align-items: center; padding: 8px 12px 8px 8px; border-radius: 16px; background: rgba(18, 18, 42, .7); border: 1px solid var(--line); font-weight: 600; }
.picked > span:nth-child(2) { flex: 1 1 auto; min-width: 0; margin: 0 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.picked .avatar, .picked .tile { width: 36px; height: 36px; border-radius: 12px; font-size: 15px; }
.picked .tile-emoji { font-size: 19px; }

.upgrade-banner { display: flex; align-items: center; width: 100%; padding: 12px 14px; border-radius: 18px; border: 1px solid rgba(255, 197, 61, .5);
  background: linear-gradient(100deg, rgba(255, 197, 61, .16), rgba(255, 61, 240, .1)); box-shadow: 0 0 24px rgba(255, 197, 61, .2); }
.upgrade-banner:active { transform: scale(.985); }

/* ---------- muddat doirasi ---------- */
.ring-meter { --pct: 0; position: relative; width: 62px; height: 62px; border-radius: 50%; flex: 0 0 auto; display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .08); background: conic-gradient(var(--tone) calc(var(--pct) * 1%), rgba(255, 255, 255, .09) 0);
  box-shadow: 0 0 18px rgba(var(--tone-rgb), .45); color: var(--tone); }
.ring-meter > i { position: absolute; left: 5px; top: 5px; right: 5px; bottom: 5px; border-radius: 50%; background: #121230; }
.ring-meter .ico { position: relative; width: 24px; height: 24px; filter: drop-shadow(0 0 6px var(--tone)); }
.sub-top { display: flex; align-items: center; }
.sub-text { margin-left: 14px; min-width: 0; }
.sub-big { font-size: 19px; font-weight: 800; color: #fff; text-shadow: 0 0 12px rgba(var(--tone-rgb), .6); }
.sub-small { color: var(--muted); font-size: 12.500px; margin-top: 2px; }
.sub-card { border-color: rgba(var(--tone-rgb), .34); }
.covers { display: flex; align-items: center; font-size: 13px; font-weight: 600; }
.covers .ico { width: 16px; height: 16px; margin-right: 7px; }
.covers.ok { color: #9ef3ff; }
.covers.bad { color: #ff8ca1; }
.timer-clock { display: block; font-size: 30px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1.15; }

/* ================= SHABLONLAR ================= */
.tpl-grid { display: grid; grid-template-columns: 1fr 1fr; grid-gap: 12px; }
.tpl { position: relative; display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 14px 12px 14px; border-radius: 20px; text-align: left;
  background: linear-gradient(170deg, rgba(var(--tint-rgb), .16) 0%, rgba(20, 20, 48, .9) 46%, rgba(13, 13, 32, .94) 100%);
  border: 1px solid rgba(var(--tint-rgb), .36); box-shadow: 0 0 24px rgba(var(--tint-rgb), .16), 0 12px 26px rgba(0, 0, 0, .34), inset 0 1px 0 rgba(255, 255, 255, .07); }
.tpl:active { transform: scale(.97); }
.tile { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 16px; flex: 0 0 auto; color: var(--tint);
  background: radial-gradient(circle at 30% 25%, rgba(var(--tint-rgb), .34), rgba(var(--tint-rgb), .08) 70%); box-shadow: inset 0 0 0 1px rgba(var(--tint-rgb), .45), 0 0 18px rgba(var(--tint-rgb), .35); }
.tile .ico { width: 26px; height: 26px; filter: drop-shadow(0 0 6px rgba(var(--tint-rgb), .9)); }
.tile-emoji { font-size: 27px; line-height: 1; }
.tile.big { width: 84px; height: 84px; border-radius: 28px; }
.tile.big .tile-emoji { font-size: 46px; }
.tile.big .ico { width: 42px; height: 42px; }
.tpl-name { margin-top: 12px; font-weight: 700; font-size: 14.500px; line-height: 1.25; overflow-wrap: anywhere; }
.tpl-price { margin-top: 6px; font-size: 12.500px; font-weight: 700; color: var(--tint); text-shadow: 0 0 10px rgba(var(--tint-rgb), .5); }
.tpl-price.free { color: var(--green); text-shadow: 0 0 10px rgba(43, 255, 154, .5); }
.tpl .badge { margin-top: 8px; }
.tpl-hero { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 10px 0 2px; }
.tpl-title { margin: 14px 0 12px; font-size: 23px; line-height: 1.2; font-weight: 800; text-shadow: 0 0 12px rgba(var(--tint-rgb), .6), 0 0 30px rgba(139, 92, 255, .4); }
.price-label { color: var(--muted); font-size: 12.500px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; }
.price-big { margin-top: 4px !important; font-size: 34px; font-weight: 800; line-height: 1.15; font-variant-numeric: tabular-nums; }
.price-big small { font-size: 15px; font-weight: 700; color: #9ef3ff; }
.price-big.free { color: var(--green); text-shadow: 0 0 14px rgba(43, 255, 154, .6); }
.price-note { color: #d9dcf5; font-size: 13.500px; }
.price-card.center .tile { margin: 0 auto 6px; }
.ladder > * + * { margin-top: 8px; }
.tier { padding: 12px; border-radius: 14px; background: rgba(8, 8, 22, .55); border: 1px solid rgba(140, 150, 255, .14); }
.tier.current { border-color: rgba(43, 255, 154, .55); background: rgba(43, 255, 154, .07); box-shadow: 0 0 18px rgba(43, 255, 154, .16); }
.tier-head { display: flex; align-items: baseline; justify-content: space-between; }
.tier-name { display: inline-flex; align-items: center; font-weight: 800; font-size: 15px; }
.tier-name .ico { width: 16px; height: 16px; margin-right: 6px; color: var(--green); }
.tier-price { font-weight: 700; color: #9ef3ff; font-size: 13.500px; text-shadow: 0 0 10px rgba(25, 230, 255, .45); white-space: nowrap; margin-left: 10px; }
.tier-range { display: flex; align-items: center; margin-top: 4px; color: var(--muted); font-size: 12.500px; }
.tier-range .ico { width: 14px; height: 14px; margin-right: 6px; }
.tier-desc { margin-top: 8px; font-size: 13px; color: #d9dcf5; }
.rich { font-size: 14px; line-height: 1.5; color: #e6e8fb; overflow-wrap: anywhere; word-break: break-word; }
.rich b { color: #fff; }
.rich code { padding: 1px 5px; border-radius: 6px; background: rgba(140, 150, 255, .16); font-size: 12.500px; }
.rich pre { padding: 10px; border-radius: 10px; background: rgba(4, 4, 14, .7); white-space: pre-wrap; font-size: 12.500px; margin: 6px 0; }
.rich blockquote { margin: 6px 0; padding: 6px 12px; border-left: 3px solid var(--cyan); background: rgba(25, 230, 255, .07); border-radius: 0 10px 10px 0; }
.rich a { text-decoration: underline; }
.rich .spoiler { border-radius: 4px; background: rgba(160, 170, 255, .4); color: transparent; }
.rich .spoiler.shown { background: rgba(160, 170, 255, .14); color: inherit; }
.rich.field-hint, .field-hint { display: block; color: var(--muted); font-size: 12.500px; line-height: 1.4; }

/* ================= MAYDONLAR ================= */
.field { display: block; }
.field > * + * { margin-top: 7px; }
.field-label { display: block; font-size: 13px; font-weight: 700; color: #c7ccf5; letter-spacing: .2px; }
.input-wrap { display: block; position: relative; border-radius: 15px; padding: 1.500px; background: linear-gradient(100deg, rgba(25, 230, 255, .55), rgba(139, 92, 255, .55), rgba(255, 61, 240, .5)); box-shadow: 0 0 18px rgba(77, 124, 255, .2); }
.input { display: block; width: 100%; height: 52px; padding: 0 14px; border: 0; outline: 0; border-radius: 13.500px; background: #0b0b20; color: #fff; font-size: 16px; }
textarea.input { height: auto; padding: 12px 14px; resize: none; }
.input.mono { font-size: 14.500px; letter-spacing: .2px; }
.input.huge { height: 66px; font-size: 30px; font-weight: 800; text-align: center; letter-spacing: .5px; }
.input::placeholder { color: #5a5f86; font-weight: 400; }
.input-wrap:focus-within { box-shadow: 0 0 26px rgba(25, 230, 255, .45); }
.field.bad .input-wrap { background: linear-gradient(100deg, #ff4d6d, #ff3df0); box-shadow: 0 0 22px rgba(255, 77, 109, .4); }
.field-error { display: none; color: #ff8ca1; font-size: 13px; font-weight: 600; }
.field.bad .field-error { display: block; }
.lockline { display: flex !important; align-items: center; }
.lockline .ico { width: 14px; height: 14px; margin-right: 6px; color: var(--green); }
.steps > li { display: flex; align-items: flex-start; font-size: 14px; }
.steps > li + li { margin-top: 10px; }
.steps > li > i, .time-step > i { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; flex: 0 0 auto; margin-right: 11px; font-style: normal;
  font-weight: 800; font-size: 13px; color: #06121a; background: linear-gradient(135deg, #19e6ff, #8b5cff); box-shadow: 0 0 14px rgba(25, 230, 255, .55); }
.steps > li > span { padding-top: 3px; }
.total-line { display: flex; align-items: baseline; justify-content: space-between; padding-top: 12px; border-top: 1px dashed rgba(140, 150, 255, .22); color: var(--muted); font-size: 13.500px; }
.total-line b { font-size: 22px; margin-left: 12px; white-space: nowrap; }
.pay-line { font-size: 17px; font-weight: 800; }

.switch { position: relative; width: 52px; height: 32px; border-radius: 16px; flex: 0 0 auto; background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); transition: background .2s ease, box-shadow .2s ease; }
.switch > i { position: absolute; left: 3px; top: 3px; width: 26px; height: 26px; border-radius: 50%; background: #dfe3ff; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.switch.on { background: linear-gradient(100deg, #19e6ff, #8b5cff); box-shadow: 0 0 16px rgba(25, 230, 255, .6); }
.switch.on > i { transform: translate3d(20px, 0, 0); background: #fff; box-shadow: 0 0 10px #fff; }
.switch:disabled { opacity: .55; }

/* ================= TO'LOV ================= */
.copy-row { display: flex; align-items: center; justify-content: space-between; }
.copy-main { min-width: 0; display: flex; flex-direction: column; margin-right: 12px; }
.copy-value { font-size: 18px; font-weight: 700; margin-top: 3px; overflow-wrap: anywhere; letter-spacing: .4px; }
.copy-row.big .copy-value { font-size: 30px; font-weight: 800; font-family: inherit; font-variant-numeric: tabular-nums; }
.pay-amount { border-color: rgba(25, 230, 255, .45); box-shadow: 0 0 28px rgba(25, 230, 255, .2), inset 0 1px 0 rgba(255, 255, 255, .06); }
.copy-inline { display: inline-flex; align-items: center; font-weight: 600; }
.copy-inline .ico { width: 15px; height: 15px; margin-left: 7px; color: var(--cyan); }
.drop { position: relative; min-height: 168px; border-radius: 20px; overflow: hidden; display: flex; align-items: center; justify-content: center;
  border: 1.500px dashed rgba(25, 230, 255, .6); background: rgba(25, 230, 255, .05); box-shadow: 0 0 22px rgba(25, 230, 255, .12), inset 0 0 28px rgba(25, 230, 255, .06); }
.drop.over { border-color: var(--green); background: rgba(43, 255, 154, .09); }
.drop-in { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 20px; position: relative; z-index: 1; }
.drop-ico { display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 18px; color: var(--cyan); background: rgba(25, 230, 255, .12);
  box-shadow: inset 0 0 0 1px rgba(25, 230, 255, .45), 0 0 18px rgba(25, 230, 255, .35); }
.drop-ico .ico { width: 28px; height: 28px; }
.drop-in b { margin-top: 10px; font-size: 15.500px; }
.drop-in small { margin-top: 4px; color: var(--muted); font-size: 12.500px; }
.drop-preview { display: none; position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; opacity: .34; }
.drop.has { border-style: solid; border-color: rgba(43, 255, 154, .7); }
.drop.has .drop-preview { display: block; }
.drop.has .drop-ico { color: var(--green); background: rgba(6, 20, 14, .7); box-shadow: inset 0 0 0 1px rgba(43, 255, 154, .6), 0 0 18px rgba(43, 255, 154, .4); }
.drop-input { position: absolute; left: 0; top: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; z-index: 2; font-size: 0; }
.tx { display: flex; align-items: center; padding: 12px 0; }
.tx-ico { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 12px; flex: 0 0 auto; }
.tx-ico .ico { width: 19px; height: 19px; }
.tx.plus .tx-ico { color: var(--green); background: rgba(43, 255, 154, .12); box-shadow: inset 0 0 0 1px rgba(43, 255, 154, .36), 0 0 12px rgba(43, 255, 154, .22); }
.tx.minus .tx-ico { color: #ff7d95; background: rgba(255, 77, 109, .1); box-shadow: inset 0 0 0 1px rgba(255, 77, 109, .34), 0 0 12px rgba(255, 77, 109, .18); }
.tx-amount { font-size: 15px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tx.plus .tx-amount { color: var(--green); text-shadow: 0 0 10px rgba(43, 255, 154, .45); }
.tx.minus .tx-amount { color: #ff9db0; }
.checking { display: flex; align-items: center; justify-content: center; color: var(--muted); font-weight: 600; }
.spinner { width: 20px; height: 20px; border-radius: 50%; margin-right: 10px; border: 2.500px solid rgba(25, 230, 255, .2); border-top-color: var(--cyan); animation: spin .8s linear infinite; }

/* ================= STATISTIKA, PROFIL, YORDAM ================= */
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; grid-gap: 10px; }
.stat { display: flex; flex-direction: column; align-items: flex-start; padding: 14px; border-radius: 18px; min-width: 0;
  background: linear-gradient(180deg, rgba(var(--tint-rgb), .12), rgba(15, 15, 36, .9) 72%); border: 1px solid rgba(var(--tint-rgb), .32); box-shadow: 0 0 20px rgba(var(--tint-rgb), .12); }
.stat b { margin-top: 10px; font-size: 19px; font-weight: 800; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; text-shadow: 0 0 12px rgba(var(--tint-rgb), .5); }
.stat small { margin-top: 2px; color: var(--muted); font-size: 12px; }
.profile-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 22px 16px; }
.profile-name { font-size: 20px; font-weight: 800; }
.profile-user { color: var(--cyan); font-weight: 600; margin-top: 2px !important; }
.time-step { display: flex; align-items: flex-start; position: relative; }
.time-step + .time-step { margin-top: 16px; }
.time-step b { display: block; font-size: 14.500px; color: #9ef3ff; }
.time-step p { margin-top: 3px; color: #dfe2fb; font-size: 13.500px; }
.token-sample { margin-top: 8px; padding: 10px; border-radius: 12px; background: rgba(4, 4, 14, .65); border: 1px solid rgba(140, 150, 255, .16); }
.token-sample small { display: block; color: var(--muted); font-size: 12px; }
.token-sample code { display: block; margin-top: 4px; font-size: 12px; color: #9ef3ff; overflow-wrap: anywhere; word-break: break-all; }

/* ================= BO'SH HOLAT, NATIJA ================= */
.empty { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 34px 18px; }
.empty-ico { display: inline-flex; align-items: center; justify-content: center; width: 76px; height: 76px; border-radius: 26px; color: var(--cyan); background: rgba(25, 230, 255, .1);
  box-shadow: inset 0 0 0 1px rgba(25, 230, 255, .4), 0 0 30px rgba(25, 230, 255, .3); }
.empty-ico .ico { width: 36px; height: 36px; filter: drop-shadow(0 0 8px rgba(25, 230, 255, .9)); }
.empty-title { margin-top: 16px; font-size: 17px; font-weight: 700; }
.empty-sub { margin-top: 6px; color: var(--muted); font-size: 13.500px; }
.empty > .btn { margin-top: 18px; }
.result { display: flex; flex-direction: column; align-items: stretch; padding-top: 22px; }
.result > * + * { margin-top: 12px; }
.burst { position: relative; width: 112px; height: 112px; margin: 0 auto 6px; display: flex; align-items: center; justify-content: center; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #d5fff0 0%, #2bff9a 34%, #0fae7a 76%); box-shadow: 0 0 34px rgba(43, 255, 154, .8), 0 0 80px rgba(25, 230, 255, .45); color: #04130c; }
.burst > .ico { position: relative; width: 52px; height: 52px; }
.burst > i { position: absolute; left: 0; top: 0; width: 100%; height: 100%; border-radius: 50%; border: 2px solid rgba(43, 255, 154, .8); animation: ripple 2.400s ease-out infinite; }
.burst > i:nth-child(2) { animation-delay: .8s; }
.burst > i:nth-child(3) { animation-delay: 1.600s; }
.result.bad .burst { background: radial-gradient(circle at 35% 30%, #ffd9df 0%, #ff4d6d 38%, #b01a45 80%); box-shadow: 0 0 34px rgba(255, 77, 109, .75), 0 0 80px rgba(255, 61, 240, .35); color: #fff; }
.result.bad .burst > i { border-color: rgba(255, 77, 109, .8); }
@keyframes ripple { from { transform: scale(1); opacity: .9; } to { transform: scale(1.9); opacity: 0; } }
.result-title { text-align: center; font-size: 21px; font-weight: 800; line-height: 1.25; text-shadow: 0 0 14px rgba(120, 225, 255, .5); }
.result-text { text-align: center; color: #d9dcf5; }
.result-bot { text-align: center; font-size: 18px; font-weight: 800; color: #9ef3ff; text-shadow: 0 0 12px rgba(25, 230, 255, .6); }
.result > .stack { margin-top: 18px; }

/* ================= PASTKI MENYU ================= */
.tabbar { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; margin: 0 auto; max-width: 560px; display: flex; align-items: flex-end; justify-content: space-around;
  padding: 8px 6px calc(8px + var(--safe-b)); background: linear-gradient(180deg, rgba(13, 13, 32, .97), rgba(7, 7, 18, .99));
  border-top: 1px solid rgba(140, 150, 255, .2); box-shadow: 0 -10px 30px rgba(0, 0, 0, .5), 0 -1px 18px rgba(77, 124, 255, .18); }
.tabbar.hidden { display: none; }
.tab { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; color: #7c82ad; padding: 4px 2px 2px; }
.tab > .ico { width: 24px; height: 24px; transition: transform .15s ease; }
.tab-label { margin-top: 4px; font-size: 10.500px; font-weight: 600; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tab.active { color: #fff; }
.tab.active > .ico { color: var(--cyan); filter: drop-shadow(0 0 6px #19e6ff) drop-shadow(0 0 14px rgba(25, 230, 255, .7)); transform: translate3d(0, -2px, 0); }
.tab.active .tab-label { text-shadow: 0 0 10px rgba(25, 230, 255, .7); }
.tab.main { position: relative; }
.tab-orb { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 58px; margin-top: -30px; border-radius: 50%; color: #fff;
  background: var(--grad); box-shadow: 0 0 0 5px rgba(8, 8, 20, .96), 0 0 26px rgba(77, 124, 255, .85), 0 0 46px rgba(240, 47, 208, .5); }
.tab-orb > i { position: absolute; left: -7px; top: -7px; right: -7px; bottom: -7px; border-radius: 50%; border: 2px solid rgba(25, 230, 255, .6); animation: ripple 2.600s ease-out infinite; }
.tab-orb .ico { width: 28px; height: 28px; filter: drop-shadow(0 0 6px #fff); animation: flicker 3.800s linear infinite; }
.tab.main .tab-label { color: #dfe6ff; }
.tab:active > .ico, .tab:active .tab-orb { transform: scale(.92); }

/* ================= OYNALAR, BILDIRISHNOMALAR ================= */
.sheet { position: fixed; z-index: 60; left: 0; top: 0; width: 100%; height: 100%; display: flex; align-items: flex-end; justify-content: center; }
.sheet-back { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: rgba(3, 3, 10, .72); animation: fade .2s ease-out both; }
.sheet-panel { position: relative; width: 100%; max-width: 560px; max-height: 88%; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 10px 18px calc(22px + var(--safe-b));
  border-radius: 26px 26px 0 0; background: linear-gradient(180deg, #1b1b44 0%, #0d0d24 100%); border: 1px solid rgba(140, 150, 255, .28); border-bottom: 0;
  box-shadow: 0 -12px 50px rgba(77, 124, 255, .35), 0 -2px 30px rgba(255, 61, 240, .16); animation: slideup .26s cubic-bezier(.2, .8, .2, 1) both; }
.sheet.out .sheet-panel { animation: slidedown .22s ease-in both; }
.sheet.out .sheet-back { animation: fadeout .22s ease-in both; }
.sheet-grip { width: 42px; height: 5px; border-radius: 3px; margin: 0 auto 14px; background: rgba(160, 170, 255, .34); }
.sheet-title { font-size: 20px; font-weight: 800; text-align: center; text-shadow: 0 0 12px rgba(120, 225, 255, .5); }
.sheet-sub { text-align: center; color: var(--muted); font-size: 13px; margin-top: 2px; }
.sheet-body { margin-top: 16px; }
.sheet-body > * + * { margin-top: 12px; }
.sheet-panel.center .sheet-body { text-align: center; }
@keyframes slideup { from { transform: translate3d(0, 100%, 0); } to { transform: none; } }
@keyframes slidedown { to { transform: translate3d(0, 100%, 0); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeout { to { opacity: 0; } }
.dialog-icon { display: inline-flex; align-items: center; justify-content: center; width: 68px; height: 68px; border-radius: 24px; margin: 0 auto; color: var(--cyan);
  background: rgba(25, 230, 255, .12); box-shadow: inset 0 0 0 1px rgba(25, 230, 255, .45), 0 0 26px rgba(25, 230, 255, .35); }
.dialog-icon .ico { width: 32px; height: 32px; }
.dialog-icon.danger { color: #ff7d95; background: rgba(255, 77, 109, .12); box-shadow: inset 0 0 0 1px rgba(255, 77, 109, .5), 0 0 26px rgba(255, 77, 109, .35); }
.dialog-icon.good { color: var(--green); background: rgba(43, 255, 154, .12); box-shadow: inset 0 0 0 1px rgba(43, 255, 154, .5), 0 0 26px rgba(43, 255, 154, .35); }
.dialog-text { font-size: 15.500px; color: #eef0ff; }
.dialog-note { font-size: 13.500px; color: var(--muted); }
.sheet-body .stack { text-align: left; margin-top: 18px; }
.lang-list > * + * { margin-top: 8px; }
.lang-row { display: flex; align-items: center; width: 100%; height: 56px; padding: 0 14px; border-radius: 16px; background: rgba(10, 10, 28, .6); border: 1px solid rgba(140, 150, 255, .16); }
.lang-row .flag-wrap { width: 34px; height: 23px; border-radius: 5px; }
.lang-name { flex: 1 1 auto; margin-left: 14px; font-size: 16px; font-weight: 600; }
.lang-row.active { border-color: rgba(25, 230, 255, .7); background: linear-gradient(100deg, rgba(25, 230, 255, .16), rgba(139, 92, 255, .14)); box-shadow: 0 0 22px rgba(25, 230, 255, .25); }
.lang-check { width: 22px; height: 22px; color: var(--cyan); filter: drop-shadow(0 0 6px #19e6ff); }
.lang-row:active { transform: scale(.985); }

.toasts { position: fixed; z-index: 90; left: 0; right: 0; top: 10px; display: flex; flex-direction: column; align-items: center; pointer-events: none; padding: 0 14px; }
.toast { display: flex; align-items: flex-start; max-width: 520px; width: 100%; margin-top: 8px; padding: 12px 14px; border-radius: 16px; font-size: 14px; font-weight: 600; line-height: 1.35;
  background: rgba(16, 18, 46, .97); border: 1px solid rgba(25, 230, 255, .5); box-shadow: 0 10px 30px rgba(0, 0, 0, .5), 0 0 22px rgba(25, 230, 255, .28); animation: drop .26s cubic-bezier(.2, .8, .2, 1) both; }
.toast .ico { width: 19px; height: 19px; margin: 0 10px 0 0; color: var(--cyan); }
.toast.success { border-color: rgba(43, 255, 154, .6); box-shadow: 0 10px 30px rgba(0, 0, 0, .5), 0 0 22px rgba(43, 255, 154, .28); }
.toast.success .ico { color: var(--green); }
.toast.error { border-color: rgba(255, 77, 109, .65); box-shadow: 0 10px 30px rgba(0, 0, 0, .5), 0 0 22px rgba(255, 77, 109, .3); }
.toast.error .ico { color: #ff7d95; }
.toast.out { opacity: 0; transform: translate3d(0, -12px, 0); transition: opacity .3s ease, transform .3s ease; }
@keyframes drop { from { opacity: 0; transform: translate3d(0, -18px, 0); } to { opacity: 1; transform: none; } }

.busy { position: fixed; z-index: 80; left: 0; top: 0; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px;
  background: rgba(4, 4, 12, .9); animation: fade .2s ease-out both; }
.busy.out { opacity: 0; transition: opacity .22s ease; }
.busy-title { margin-top: 26px; font-size: 20px; font-weight: 800; text-align: center; text-shadow: 0 0 14px rgba(120, 225, 255, .6); }
.busy-sub { margin-top: 6px; color: var(--muted); text-align: center; }
.dots { display: flex; margin-top: 18px; }
.dots > i { width: 8px; height: 8px; border-radius: 50%; margin: 0 4px; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: blink 1.200s ease-in-out infinite; }
.dots > i:nth-child(2) { animation-delay: .2s; background: var(--violet); box-shadow: 0 0 10px var(--violet); }
.dots > i:nth-child(3) { animation-delay: .4s; background: var(--magenta); box-shadow: 0 0 10px var(--magenta); }
@keyframes blink { 0%, 100% { opacity: .25; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.2); } }

.skeleton { padding-top: 10px; }
.sk-line { height: 64px; border-radius: 18px; margin-bottom: 12px; background: linear-gradient(100deg, rgba(40, 40, 86, .5) 0%, rgba(90, 110, 220, .34) 45%, rgba(40, 40, 86, .5) 90%); background-size: 220% 100%; animation: shimmer 1.300s linear infinite; }
.sk-line.short { height: 40px; width: 62%; }
@keyframes shimmer { from { background-position: 180% 0; } to { background-position: -40% 0; } }

/* ================= TO'SIQ VA TANISHTIRUV ================= */
.gate { padding-top: 26px; }
.gate-ico { display: flex; align-items: center; justify-content: center; width: 86px; height: 86px; margin: 0 auto 6px; border-radius: 30px; color: var(--amber); background: rgba(255, 197, 61, .1);
  box-shadow: inset 0 0 0 1px rgba(255, 197, 61, .5), 0 0 34px rgba(255, 197, 61, .35); }
.gate-ico .ico { width: 40px; height: 40px; }
.gate .stack { margin-top: 18px; }
.channel-plain { display: flex; align-items: center; padding: 14px; border-radius: 16px; border: 1px solid var(--line); background: rgba(18, 18, 42, .7); font-weight: 600; }
.channel-plain .ico { margin-right: 10px; color: var(--cyan); }
.landing { padding: 26px 18px 40px; display: flex; flex-direction: column; align-items: stretch; }
.land-orb { position: relative; width: 168px; height: 168px; margin: 8px auto 0; }
.land-orb .core { position: absolute; left: 22%; top: 22%; width: 56%; height: 56%; border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, #ffffff 0%, #9ef3ff 16%, #4d7cff 46%, #8b5cff 70%, rgba(255, 61, 240, .2) 100%);
  box-shadow: 0 0 30px rgba(25, 230, 255, .95), 0 0 70px rgba(139, 92, 255, .75), 0 0 130px rgba(255, 61, 240, .45); animation: pulse 1.800s ease-in-out infinite; }
.land-orb .ring { position: absolute; left: 0; top: 0; width: 100%; height: 100%; border-radius: 50%; }
.land-orb .r1 { background: conic-gradient(from 0deg, rgba(25, 230, 255, 0) 0deg, #19e6ff 90deg, rgba(25, 230, 255, 0) 150deg, #ff3df0 260deg, rgba(255, 61, 240, 0) 330deg);
  -webkit-mask: radial-gradient(circle, transparent 60%, #000 62%, #000 68%, transparent 70%); mask: radial-gradient(circle, transparent 60%, #000 62%, #000 68%, transparent 70%); animation: spin 2.400s linear infinite; }
.land-orb .r2 { background: conic-gradient(from 180deg, rgba(139, 92, 255, 0) 0deg, #a078ff 80deg, rgba(139, 92, 255, 0) 170deg, #19e6ff 280deg, rgba(25, 230, 255, 0) 340deg);
  -webkit-mask: radial-gradient(circle, transparent 46%, #000 48%, #000 51%, transparent 53%); mask: radial-gradient(circle, transparent 46%, #000 48%, #000 51%, transparent 53%); animation: spin 3.600s linear infinite reverse; }
.land-orb .plasma-bolt { width: 52px; height: 52px; margin: -26px 0 0 -26px; }
.land-title { margin-top: 26px; text-align: center; font-size: 30px; line-height: 1.18; font-weight: 800; color: #fff;
  text-shadow: 0 0 10px rgba(120, 225, 255, .8), 0 0 26px rgba(25, 230, 255, .5), 0 0 54px rgba(139, 92, 255, .55); }
.land-sub { margin-top: 12px; text-align: center; color: #d6dafa; font-size: 15.500px; }
.land-btn { margin-top: 24px; height: 58px; font-size: 17px; }
.land-grid { margin-top: 28px; }
.land-grid > * + * { margin-top: 12px; }
.land-card { display: flex; flex-direction: column; align-items: flex-start; border-color: rgba(var(--tint-rgb), .34); box-shadow: 0 0 22px rgba(var(--tint-rgb), .14), inset 0 1px 0 rgba(255, 255, 255, .06); }
.land-card b { font-size: 16px; }
.land-card > span:last-child { color: var(--muted); font-size: 13.500px; margin-top: 4px; }
.land-note { margin-top: 22px; text-align: center; color: var(--dim); font-size: 12.500px; }

@media (min-width: 520px) {
  .tpl-grid { grid-template-columns: 1fr 1fr 1fr; }
  .land-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; grid-gap: 12px; }
  .land-grid > * + * { margin-top: 0; }
}
@media (max-width: 350px) {
  .hero-amount .neon { font-size: 32px; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .brand-name { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  #bg .lightning { display: none; }
}
