/* Windows'da bayroq emojilari harf bo'lib chiqadi — faqat bayroq belgilari uchun Twemoji (CC-BY 4.0). */
@font-face {
  font-family: "Twemoji Country Flags";
  unicode-range: U+1F1E6-1F1FF, U+1F3F4, U+E0062-E0063, U+E0065, U+E0067, U+E006C, U+E006E, U+E0073-E0074, U+E0077, U+E007F;
  src: url("../assets/fonts/TwemojiCountryFlags.woff2") format("woff2");
  font-display: swap;
}

:root {
  --bg0: #05080f;
  --bg1: #0a1220;
  --panel: rgba(16, 26, 44, 0.55);
  --glass: rgba(255, 255, 255, 0.07);
  --glass-2: rgba(255, 255, 255, 0.11);
  --line: rgba(255, 255, 255, 0.14);
  --text: #f3f7ff;
  --muted: #93a4bd;
  --accent: #39ff9a;
  --accent-2: #2fd3ff;
  --warm: #ffc857;
  --danger: #ff5d6c;
  --ok: #39ff9a;
  --radius: 22px;
  --tab-h: 72px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bot: env(safe-area-inset-bottom, 0px);
  --font: "Twemoji Country Flags", Manrope, system-ui, sans-serif;
  --display: "Twemoji Country Flags", Orbitron, Manrope, sans-serif;
  --glow: rgba(47, 211, 255, 0.22);
  --glow2: rgba(57, 255, 154, 0.16);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: var(--font);
  background: var(--bg0);
  color: var(--text);
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}

.app-root {
  position: relative;
  height: 100%;
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background:
    radial-gradient(700px 340px at 10% -10%, var(--glow), transparent 55%),
    radial-gradient(560px 300px at 100% 20%, var(--glow2), transparent 50%),
    linear-gradient(165deg, #0d1628 0%, #070b14 48%, #05080f 100%);
}
.app-root { --accent-soft: rgba(57,255,154,.14); }
.app-root[data-theme="wallet"] { --glow: rgba(255,200,87,.22); --glow2: rgba(255,160,50,.1); --accent:#ffc857; --accent-soft: rgba(255,200,87,.14); }
.app-root[data-theme="fast"] { --glow: rgba(255,110,90,.2); --glow2: rgba(57,255,154,.14); --accent:#ff9a6a; --accent-soft: rgba(255,154,106,.14); }

/* O'yin muhitlari: har bir o'yinning o'z foni va urg'u rangi */
.app-root[data-theme="pubg"] {
  --accent: #f2a900; --accent-2: #ffd25a; --accent-soft: rgba(242,169,0,.16);
  background:
    radial-gradient(600px 300px at 92% -8%, rgba(242,169,0,.14), transparent 60%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.014) 0 2px, transparent 2px 10px),
    linear-gradient(180deg, #14150e 0%, #0c0d08 60%, #080905 100%);
}
.app-root[data-theme="ff"] {
  --accent: #3d8bff; --accent-2: #ffc53d; --accent-soft: rgba(61,139,255,.16);
  background:
    radial-gradient(520px 360px at 50% 112%, rgba(61,110,255,.22), transparent 60%),
    radial-gradient(420px 260px at 0% 0%, rgba(123,77,255,.18), transparent 60%),
    linear-gradient(180deg, #0a1233 0%, #070c26 50%, #050920 100%);
}
.app-root[data-theme="mlbb"] {
  --accent: #e9c46a; --accent-2: #49d3ff; --accent-soft: rgba(233,196,106,.16);
  background:
    radial-gradient(520px 320px at 88% -6%, rgba(106,76,255,.3), transparent 60%),
    radial-gradient(420px 300px at 0% 100%, rgba(233,196,106,.1), transparent 60%),
    linear-gradient(180deg, #0b1235 0%, #060a1e 60%, #04071a 100%);
}
.app-root[data-theme="steam"] {
  --accent: #66c0f4; --accent-2: #a4d007; --accent-soft: rgba(102,192,244,.16);
  background: linear-gradient(180deg, #1b2838 0%, #171d25 60%, #171a21 100%);
}
.app-root[data-theme="tg"] {
  --accent: #2aabee; --accent-2: #a259ff; --accent-soft: rgba(42,171,238,.16);
  background:
    radial-gradient(500px 300px at 100% 0%, rgba(42,171,238,.12), transparent 60%),
    radial-gradient(400px 300px at 0% 100%, rgba(124,77,255,.1), transparent 60%),
    #0e1621;
}
.app-root[data-theme="pubg"] .ambient,
.app-root[data-theme="steam"] .ambient,
.app-root[data-theme="tg"] .ambient { display: none; }
.app-root[data-theme="ff"] .ambient { background: radial-gradient(circle at 50% 120%, rgba(61,139,255,.12), transparent 45%); }
.app-root[data-theme="mlbb"] .ambient { background: radial-gradient(circle at 50% 120%, rgba(106,76,255,.12), transparent 45%); }

.ambient {
  pointer-events: none;
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 120%, rgba(57,255,154,.06), transparent 40%);
  animation: pulse 8s ease-in-out infinite alternate;
  z-index: 0;
}
@keyframes pulse {
  from { opacity: .7; transform: scale(1); }
  to { opacity: 1; transform: scale(1.04); }
}

/* Telegram 2-oyna: yuqorida TG o‘z qora stripi — bizning fake status bar kerak emas */
.tg-safe { display: none !important; }

/* Sticky: scroll bilan banner ketadi, faqat ← / UZCOD|PUBG / til qoladi */
.app-chrome {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  align-items: center;
  gap: 8px;
  padding: 12px 14px 8px;
  background: transparent;
  pointer-events: none;
}
.glass-chip {
  pointer-events: auto;
  display: grid;
  place-items: center;
  min-height: 34px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(8px) saturate(140%);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
  box-shadow: none;
  color: var(--text);
  text-decoration: none;
}
.glass-back {
  grid-column: 1;
  grid-row: 1;
  width: 36px;
  height: 34px;
  border-radius: 10px;
}
.glass-back svg { width: 16px; height: 16px; opacity: .92; }
.glass-back[hidden] { display: none !important; }
.glass-back.is-ghost {
  visibility: hidden;
  pointer-events: none;
}
.app-chrome.has-back .glass-back.is-ghost { display: none !important; }
.app-chrome:not(.has-back) #appBack { display: none !important; }

.glass-title {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  width: max-content;
  max-width: 100%;
  height: 32px;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: transparent;
  border-color: rgba(255,255,255,.14);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.glass-title span {
  display: block;
  font-family: var(--display);
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1;
  white-space: nowrap;
  text-align: center;
  text-transform: uppercase;
}
.glass-title em { font-style: normal; color: var(--accent); }
.app-chrome.is-cat .glass-title {
  height: 30px;
  min-height: 30px;
  padding: 0 10px;
}
.app-chrome.is-cat .glass-title span {
  letter-spacing: .1em;
  font-size: .86rem;
}

.glass-right {
  grid-column: 3;
  grid-row: 1;
  width: 36px;
  height: 34px;
  border-radius: 10px;
}
.glass-right img { width: 20px; height: 14px; border-radius: 2px; object-fit: cover; }

.view {
  position: relative;
  z-index: 1;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 52px 14px calc(var(--tab-h) + 48px + var(--safe-bot));
  scrollbar-width: none;
}
.view::-webkit-scrollbar { display: none; }
.view.no-tab { padding-bottom: 24px; }

/* Raised frosted glass tabbar */
.tabbar {
  position: absolute;
  left: 14px; right: 14px;
  bottom: calc(32px + var(--safe-bot));
  height: var(--tab-h);
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  padding: 8px 6px;
  border-radius: 28px;
  background: rgba(8, 14, 26, 0.42);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow:
    0 16px 44px rgba(0,0,0,.5),
    0 0 0 1px rgba(57,255,154,.06),
    inset 0 1px 0 rgba(255,255,255,.14);
  backdrop-filter: blur(26px) saturate(170%);
  -webkit-backdrop-filter: blur(26px) saturate(170%);
}
.tabbar[hidden] { display: none !important; }
.tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: var(--muted);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .01em;
}
.tab .ico {
  width: 34px; height: 34px;
  border-radius: 12px;
  display: grid; place-items: center;
  color: inherit;
}
.tab .ico svg { width: 20px; height: 20px; }
.tab.active { color: var(--accent); }
.tab.active .ico {
  background: var(--accent-soft);
  box-shadow: 0 0 18px var(--accent-soft);
  color: var(--accent);
}

.glass {
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}

.brand-bar { display: none !important; }
.brand {
  text-align: center;
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-shadow: 0 0 24px rgba(57,255,154,.35);
}
.brand em { font-style: normal; color: var(--accent); }
.lang-btn, .icon-btn, .back-btn {
  width: 42px; height: 42px; border-radius: 15px;
  border: 1px solid var(--line);
  background: var(--glass-2);
  backdrop-filter: blur(12px);
  display: grid; place-items: center;
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
}
.lang-btn img { width: 26px; height: 18px; border-radius: 3px; object-fit: cover; }
.back-btn svg { width: 18px; height: 18px; }

/* Sahifa ichidagi orqaga — chrome app-sub ishlatiladi, shuning uchun yashirin */
.cat-bar {
  display: none !important;
}
.cat-title {
  text-align: center;
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: .06em;
  font-weight: 700;
}

.section {
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 800;
  margin: 6px 0 10px;
}

.carousel { margin-bottom: 14px; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.carousel.is-dragging { cursor: grabbing; }
.carousel.is-dragging .slide { transition: none; }
.carousel-track {
  position: relative;
  height: 112px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  cursor: grab;
  touch-action: pan-y;
}
.slide {
  position: absolute; inset: 0;
  opacity: 0; transform: translateX(8%);
  transition: .45s ease;
  touch-action: pan-y;
}
.slide.active { opacity: 1; transform: none; z-index: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(5,8,15,.85), rgba(5,8,15,.15) 70%);
}
.slide .cap {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; justify-content: center;
  padding: 16px 18px;
}
.slide .cap strong {
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: .04em;
}
.slide .cap span { color: #c9d6ea; font-size: .78rem; margin-top: 3px; }
.dots { display: flex; justify-content: center; gap: 7px; margin-top: 10px; }
.dot {
  width: 7px; height: 7px; border-radius: 99px;
  background: rgba(255,255,255,.22); border: 0; cursor: pointer;
  transition: .3s;
}
.dot.on {
  width: 20px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 12px rgba(57,255,154,.35);
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile {
  position: relative;
  height: 132px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  display: block;
  box-shadow: 0 10px 28px rgba(0,0,0,.25);
}
.tile.wide { grid-column: 1 / -1; height: 112px; }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile-ff img { object-position: 50% 100%; }
.tile-ff .meta, .tile-steam .meta { text-align: right; }
.tile.wide .meta { right: 50%; }
.tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(4,8,14,.92));
}
.tile .meta {
  position: absolute; left: 11px; right: 11px; bottom: 11px; z-index: 1;
}
.tile .meta strong {
  display: block;
  font-family: var(--display);
  font-size: 1.14rem;
  letter-spacing: .04em;
  text-shadow: 0 2px 12px rgba(0,0,0,.55);
}
.tile .meta span { font-size: .76rem; color: #c4d0e2; }

.list { display: flex; flex-direction: column; gap: 8px; }
.row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 16px; text-decoration: none; color: inherit;
  border-radius: 18px; cursor: pointer; border: 0; width: 100%;
  font: inherit; text-align: left;
}
.row strong { font-size: .95rem; }
.row .sub { display: block; font-size: .72rem; color: var(--muted); margin-top: 2px; font-weight: 500; }
.row .price { color: var(--accent); font-weight: 800; font-size: .9rem; }
.row .amt-plus { color: var(--accent); font-weight: 800; }
.row .amt-minus { color: #c5d0e0; font-weight: 700; }

.id-panel { padding: 14px; margin-bottom: 10px; }
.id-panel label {
  display: block; font-size: .7rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted); font-weight: 800; margin-bottom: 7px;
}
.field {
  width: 100%; border: 1px solid var(--line);
  background: rgba(0,0,0,.28); color: var(--text);
  border-radius: 14px; padding: 13px 14px; font: inherit; outline: none;
  margin-bottom: 10px;
}
.field::placeholder { color: #6d7d96; }
.field:focus {
  border-color: rgba(57,255,154,.45);
  box-shadow: 0 0 0 3px rgba(57,255,154,.12);
}

.alert-red {
  display: none; margin-bottom: 10px; padding: 10px 12px;
  border-radius: 14px; background: rgba(255,70,90,.12);
  border: 1px solid rgba(255,90,100,.45); color: var(--danger);
  font-size: .82rem; font-weight: 700; line-height: 1.35;
}
.alert-red.show { display: block; animation: rise .3s ease; }

.nick {
  display: none; justify-content: space-between; align-items: center;
  padding: 10px 12px; border-radius: 14px; margin-bottom: 12px;
  background: rgba(57,255,154,.1); border: 1px solid rgba(57,255,154,.28);
  font-size: .84rem;
}
.nick.show { display: flex; animation: rise .35s ease; }
.nick b { color: var(--accent); }

.btn {
  border: 0; font: inherit; border-radius: 16px; padding: 14px 16px;
  font-weight: 800; display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; text-decoration: none; cursor: pointer; width: 100%;
}
.btn-accent {
  background: linear-gradient(135deg, #4dff9c, #2fd3ff);
  color: #041018;
  box-shadow: 0 10px 28px rgba(47,211,255,.22);
}
.btn-glass {
  background: var(--glass); border: 1px solid var(--line); color: var(--text);
  backdrop-filter: blur(12px);
}
.btn-danger {
  background: linear-gradient(135deg, #ff4d61, #d92b42);
  color: #fff;
  border: 1px solid rgba(255, 93, 108, .55);
  box-shadow: 0 10px 26px rgba(255, 77, 97, .28);
}
.rubl-warn-box {
  padding: 12px 14px; border-radius: 16px;
  background: rgba(255, 90, 100, .1); border: 1px solid rgba(255, 90, 100, .35);
  color: #f3f7ff; font-size: .84rem; line-height: 1.48; white-space: pre-line;
}
.btn + .btn { margin-top: 8px; }
.btn.is-hidden { display: none; }
.btn:disabled { opacity: .4; pointer-events: none; }

.region {
  aspect-ratio: 1; border-radius: 22px; display: flex;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; text-decoration: none; color: inherit; text-align: center; padding: 10px;
}
.region .flag { font-size: 1.6rem; }
.region strong { font-family: var(--display); font-size: .9rem; letter-spacing: .04em; }
.region span { font-size: .68rem; color: var(--muted); }

.reviews-track {
  display: flex; gap: 10px; overflow-x: auto;
  scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 2px;
}
.reviews-track::-webkit-scrollbar { display: none; }
.review-card {
  flex: 0 0 78%; scroll-snap-align: start; padding: 14px;
  text-decoration: none; color: inherit; min-height: 108px;
}
.review-card .who { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: .8rem; }
.review-card .who b { color: var(--accent); }
.review-card .who span { color: var(--muted); font-size: .7rem; }
.review-card p {
  font-size: .84rem; line-height: 1.4; color: #d7e0ef;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

.bal-card { padding: 26px 18px; text-align: center; margin-top: 6px; }
.bal-card .label { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 800; }
.bal-card .amt {
  font-family: var(--display); font-size: 2.2rem; font-weight: 800;
  letter-spacing: .04em; margin: 10px 0 6px;
  text-shadow: 0 0 28px rgba(255,200,87,.3);
}
.bal-card .hint { color: var(--muted); font-size: .82rem; margin-bottom: 16px; }

.receipt { padding: 16px; margin-bottom: 12px; }
.stamp {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px; font-size: .75rem; font-weight: 800; margin-bottom: 12px;
}
.stamp.ok { background: rgba(57,255,154,.14); color: var(--ok); border: 1px solid rgba(57,255,154,.35); }
.stamp.wait { background: rgba(255,200,87,.12); color: var(--warm); border: 1px solid rgba(255,200,87,.35); }
.stamp.bad { background: rgba(255,90,100,.12); color: var(--danger); border: 1px solid rgba(255,90,100,.4); }
.line {
  display: flex; justify-content: space-between; padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.06); font-size: .88rem;
}
.line span { color: var(--muted); }
.line:last-child { border: 0; }

.hero-center { text-align: center; padding: 28px 8px 18px; }
.hero-center .logo {
  font-family: var(--display); font-size: 2.2rem; font-weight: 800;
  letter-spacing: .12em; margin-bottom: 10px;
}
.hero-center .logo em { font-style: normal; color: var(--accent); }
.hero-center p { color: var(--muted); line-height: 1.45; font-size: .92rem; }

.contact-gate {
  padding: 26px 18px 18px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.contact-gate .gate-lock {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: var(--glass); border: 1px solid var(--line); color: var(--accent);
}
.contact-gate h3 { margin: 4px 0 0; font-size: 1.05rem; line-height: 1.35; }
.contact-gate p { margin: 0; line-height: 1.5; }
.contact-gate .btn { margin-top: 8px; }

.upload-zone {
  border: 1.5px dashed rgba(255,255,255,.22); border-radius: 20px;
  padding: 28px 16px; text-align: center; color: var(--muted);
  margin: 12px 0; background: rgba(255,255,255,.03);
}
.upload-zone strong { display: block; color: var(--text); margin-bottom: 6px; }

.code-box {
  margin-top: 10px; padding: 14px; border-radius: 14px;
  background: rgba(0,0,0,.35); border: 1px dashed rgba(57,255,154,.4);
  font-family: ui-monospace, monospace; font-size: 1.05rem;
  letter-spacing: .04em; text-align: center; color: var(--accent); word-break: break-all;
}

.vote { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.muted { color: var(--muted); }
.tiny { font-size: .75rem; }
.spacer { width: 42px; height: 42px; }

@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.fade-in { animation: rise .35s ease both; }

.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0; }
.stat { padding: 14px; }
.stat span { display: block; font-size: .72rem; color: var(--muted); margin-bottom: 4px; }
.stat strong { font-family: var(--display); font-size: 1.1rem; letter-spacing: .03em; }

.social-row {
  display: flex; flex-direction: column; gap: 8px; margin-bottom: 8px;
}
.social-chip {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; text-decoration: none; color: inherit;
  border-radius: 18px;
}
.social-chip strong { font-size: .92rem; }
.carousel-track a.slide { display: block; text-decoration: none; color: inherit; }

/* ---------- Umumiy holatlar ---------- */
.is-hidden { display: none !important; }

.toast {
  position: absolute; left: 50%; top: calc(14px + var(--safe-top)); z-index: 130;
  max-width: calc(100% - 32px); padding: 11px 16px; border-radius: 14px;
  transform: translate(-50%, -16px); opacity: 0; pointer-events: none;
  background: rgba(14, 20, 34, .94); border: 1px solid var(--line); color: var(--text);
  font-size: .84rem; font-weight: 700; line-height: 1.35; text-align: center;
  box-shadow: 0 14px 34px rgba(0,0,0,.45);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  transition: opacity .25s ease, transform .25s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.ok { border-color: rgba(57,255,154,.45); color: #b9ffd9; }
.toast.bad { border-color: rgba(255,93,108,.5); color: #ffc2c8; }

.skeleton-card {
  display: grid; gap: 12px; margin-top: 8px; padding: 18px;
  border-radius: var(--radius); background: var(--glass); border: 1px solid var(--line);
}
.skeleton-card span {
  height: 16px; border-radius: 8px;
  background: linear-gradient(90deg, rgba(255,255,255,.05), rgba(255,255,255,.13), rgba(255,255,255,.05));
  background-size: 200% 100%; animation: shimmer 1.2s linear infinite;
}
.skeleton-card span:first-child { height: 120px; border-radius: 14px; }
.skeleton-card span:last-child { width: 60%; }
@keyframes shimmer { to { background-position: -200% 0; } }

.state-box {
  margin-top: 40px; padding: 22px 18px; text-align: center;
  border-radius: var(--radius); background: var(--glass); border: 1px solid var(--line);
}
.state-box p { color: var(--muted); margin-bottom: 14px; line-height: 1.45; }

@keyframes shake {
  0%, 100% { transform: none; }
  20% { transform: translateX(-7px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(3px); }
}
.shake { animation: shake .4s ease; }

/* Yuklanish: matn yashiriladi, o'rtada spinner (rang: --spin) */
.loading { position: relative; pointer-events: none; color: transparent !important; }
.loading > * { visibility: hidden; }
.loading::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px;
  border-radius: 50%; border: 2.5px solid var(--spin, #fff); border-right-color: transparent;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.chip {
  display: inline-flex; align-items: center; padding: 4px 9px; border-radius: 999px;
  font-size: .66rem; font-weight: 800; letter-spacing: .02em; white-space: nowrap; border: 1px solid transparent;
}
.chip-ok { background: rgba(57,255,154,.13); color: #5dffa9; border-color: rgba(57,255,154,.3); }
.chip-wait { background: rgba(255,200,87,.12); color: #ffd27a; border-color: rgba(255,200,87,.3); }
.chip-bad { background: rgba(255,93,108,.12); color: #ff8592; border-color: rgba(255,93,108,.32); }
.chip-warn { background: rgba(255,140,60,.13); color: #ffaa6e; border-color: rgba(255,140,60,.32); }
.stamp.warn { background: rgba(255,140,60,.12); color: #ffaa6e; border: 1px solid rgba(255,140,60,.35); }

.row > svg { color: var(--muted); flex-shrink: 0; }
.row.is-current { box-shadow: inset 0 0 0 1px var(--accent); }
.row.is-current > svg { color: var(--accent); }
.row-ico { display: flex; align-items: center; gap: 12px; min-width: 0; }
.row-ico > svg { color: var(--accent); flex-shrink: 0; }
.accent { color: var(--accent); }
.rc-title { font-family: var(--display); font-size: 1rem; letter-spacing: .03em; margin-bottom: 10px; }

.hist-row, .fast-row { gap: 12px; border-left: 3px solid var(--hist, transparent); }
.hist-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.hist-main strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hist-game { font-size: .6rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--hist, var(--muted)); margin-bottom: 2px; }
.hist-side { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; flex-shrink: 0; }
.hist-pubg { --hist: #f2a900; }
.hist-ff { --hist: #ff6a1a; }
.hist-mlbb { --hist: #e9c46a; }
.hist-steam { --hist: #66c0f4; }
.hist-tg { --hist: #2aabee; }
.hist-wallet { --hist: #ffc857; }

.fast-head { display: flex; align-items: center; gap: 14px; padding: 16px; margin-bottom: 12px; }
.fast-ico {
  width: 52px; height: 52px; flex-shrink: 0; display: grid; place-items: center; border-radius: 16px;
  background: linear-gradient(135deg, #ff9a6a, #ff5d6c); color: #1a0806; box-shadow: 0 10px 26px rgba(255,110,90,.3);
}
.fast-head strong { font-family: var(--display); letter-spacing: .05em; }
.fast-head p { color: var(--muted); font-size: .8rem; line-height: 1.35; margin-top: 3px; }
.btn-sm { width: auto; flex-shrink: 0; padding: 9px 12px; border-radius: 12px; font-size: .74rem; }

.quick { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.quick button {
  flex: 1 1 auto; padding: 9px 10px; border-radius: 12px; border: 1px solid var(--line);
  background: rgba(255,255,255,.05); color: var(--text); font: inherit; font-size: .78rem; font-weight: 700; cursor: pointer;
}
.quick button:active { transform: scale(.97); }

.profile-card { display: flex; align-items: center; gap: 12px; padding: 16px; margin-bottom: 12px; }
.avatar {
  width: 52px; height: 52px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #041018;
  font-family: var(--display); font-size: 1.3rem; font-weight: 800;
  overflow: hidden;
}
.avatar-photo { padding: 0; background: rgba(255,255,255,.08); }
.avatar-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.pay-manual .pay-desc-block {
  margin: 12px 0 14px; padding: 12px; border-radius: 14px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08);
}
.pay-desc-title {
  font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  color: var(--warm); margin-bottom: 6px;
}
.pay-desc-body { margin: 0; white-space: pre-wrap; line-height: 1.45; font-size: .92rem; }
.pay-creds { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.pay-copy-row {
  display: flex; align-items: stretch; gap: 0;
  border: 1px solid rgba(255,255,255,.1); border-radius: 14px; overflow: hidden;
  background: rgba(0,0,0,.18);
}
.pay-copy-main { flex: 1; min-width: 0; padding: 10px 12px; }
.pay-copy-label { display: block; font-size: .62rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.pay-copy-val { font-family: var(--display); font-size: 1.02rem; word-break: break-all; }
.pay-copy-btn {
  width: 56px; min-width: 56px; border: 0; border-left: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.06); color: var(--text); cursor: pointer;
  display: grid; place-items: center; padding: 0;
}
.pay-copy-btn:active, .pay-copy-btn.done { background: rgba(57,255,154,.18); }
.pay-holder {
  display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px;
  border-radius: 14px; background: rgba(255,255,255,.04); font-size: .9rem;
}
.pay-holder span { color: var(--muted); }

/* Click (AVTO) */
.method-click { justify-content: flex-start; gap: 12px; }
.method-click > div { flex: 1; min-width: 0; }
.method-click .method-logo {
  width: 42px; height: 42px; border-radius: 13px; flex-shrink: 0;
  display: grid; place-items: center; background: #0b1424; border: 1px solid rgba(0,119,255,.35);
}
.click-logo { display: inline-flex; align-items: center; gap: 6px; }
.click-word { font-family: var(--font); font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; color: #fff; line-height: 1; }
.click-card { padding: 14px; margin-bottom: 10px; display: flex; flex-direction: column; gap: 12px; }
.click-top { display: flex; justify-content: center; }
.click-idrow {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 12px; border-radius: 14px; background: rgba(0,119,255,.08); border: 1px solid rgba(0,119,255,.25);
}
.click-id { min-width: 0; }
.click-id-label, .click-fee-mini span { display: block; font-size: .68rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.click-id-val { position: relative; display: flex; align-items: center; gap: 6px; margin-top: 2px; }
.click-id-val b { font-size: 1rem; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.click-help {
  width: 18px; height: 18px; flex-shrink: 0; border-radius: 50%; padding: 0; cursor: pointer;
  font: 800 .7rem/1 var(--font); color: #4da3ff; background: rgba(0,119,255,.15); border: 1px solid rgba(0,119,255,.45);
}
.click-tip {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 20; width: max-content; max-width: 200px;
  padding: 7px 9px; border-radius: 10px; font-size: .72rem; font-weight: 600; line-height: 1.35;
  color: #fff; background: #13233d; border: 1px solid rgba(0,119,255,.45); box-shadow: 0 8px 20px rgba(0,0,0,.35);
}
.click-tip[hidden] { display: none; }
.click-fee-mini { text-align: right; flex-shrink: 0; }
.click-fee-mini b { font-size: 1rem; color: #4da3ff; }
.click-amount label { display: block; font-size: .78rem; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.click-guide { padding: 12px 14px; margin-bottom: 10px; }
.click-guide-title { font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #4da3ff; margin-bottom: 6px; }
.click-guide p { margin: 0; font-size: .8rem; line-height: 1.5; white-space: pre-line; color: #dfe7f5; }
.click-guide .click-auto { margin-top: 8px; color: var(--muted); }
.click-amount .field { font-size: 1.1rem; font-weight: 800; }
.click-chips { display: flex; flex-wrap: nowrap; overflow: hidden; gap: 6px; margin: 8px 0 4px; }
.click-chips.click-chips-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin: 10px 0 6px;
}
.click-chips .chip { flex: 1 1 0; min-width: 0; white-space: nowrap; justify-content: center; text-align: center; cursor: pointer; font: inherit; font-size: .76rem; font-weight: 700; padding: 7px 4px; border-radius: 11px; background: rgba(0,119,255,.1); border: 1px solid rgba(0,119,255,.3); color: #cfe4ff; }
.click-chips .chip:active { background: rgba(0,119,255,.25); }
.field.field-invalid {
  border-color: #ff4d4f !important;
  background: rgba(255, 77, 79, 0.12) !important;
  color: #ffd6d6 !important;
  box-shadow: 0 0 0 2px rgba(255, 77, 79, 0.22);
}
.autocard-busy-box {
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 77, 79, 0.12);
  border: 1px solid rgba(255, 77, 79, 0.45);
  color: #ff8082;
  font-size: .78rem;
  line-height: 1.45;
}
.autocard-busy-box[hidden] { display: none; }
.autocard-suggest-row {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.autocard-suggest-btn {
  flex: 1 1 0;
  min-width: 110px;
  padding: 7px 10px;
  border-radius: 10px;
  border: 1px solid rgba(57, 255, 154, 0.45);
  background: rgba(57, 255, 154, 0.14);
  color: #7dffbe;
  font: 800 .82rem/1.2 var(--font);
  cursor: pointer;
  text-align: center;
}
.autocard-suggest-btn:active {
  background: rgba(57, 255, 154, 0.28);
}
.autocard-timer-box {
  text-align: center;
  padding: 10px 12px 12px;
  margin-bottom: 10px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.autocard-timer-label {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--muted);
}
.autocard-timer-val {
  font-family: var(--display);
  font-size: 1.85rem;
  font-weight: 900;
  letter-spacing: .04em;
  color: #fff;
  margin: 2px 0 4px;
}
.autocard-timer-sub {
  font-size: .74rem;
  font-weight: 700;
  color: #ff5a5f;
  margin: 0;
}
.autocard-strict-warn {
  margin-top: 10px;
  padding: 11px 12px;
  border-radius: 13px;
  background: rgba(255, 77, 79, 0.11);
  border: 1px solid rgba(255, 77, 79, 0.42);
  color: #ffd0d0;
  font-size: .8rem;
  font-weight: 600;
  line-height: 1.48;
}
.video-guide-row {
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px dashed rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  font-size: .8rem;
}
.video-guide-label {
  color: var(--muted);
  font-weight: 600;
}
.video-guide-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(0, 119, 255, 0.16);
  border: 1px solid rgba(0, 119, 255, 0.4);
  color: #7cc0ff;
  font-weight: 700;
  text-decoration: none;
  font-size: .76rem;
}
#clickAmtErr { color: var(--danger); margin: 6px 0 0; }
.btn-click {
  background: linear-gradient(135deg, #0077ff, #2f9bff); color: #fff;
  box-shadow: 0 10px 28px rgba(0,119,255,.3);
}
.btn-click svg path { fill: #fff; }
.method-paynet .method-logo { border-color: rgba(20,184,132,.4); }
.pay-img { display: block; object-fit: contain; }
.kiosk-warn {
  margin: 0; padding: 9px 12px; border-radius: 12px; font-size: .8rem; font-weight: 700; line-height: 1.4;
  color: #ff5a5f; background: rgba(255,77,79,.1); border: 1px solid rgba(255,77,79,.4);
}
.btn-paynet {
  background: linear-gradient(135deg, #0fa877, #2fd39c); color: #fff;
  box-shadow: 0 10px 28px rgba(20,184,132,.3);
}
.slide-static { cursor: grab; }
.pc-main { flex: 1; min-width: 0; }
.pc-main strong { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-main span { font-size: .72rem; color: var(--muted); }
.pc-bal { text-align: right; }
.pc-bal span { display: block; font-size: .6rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pc-bal b { font-family: var(--display); color: var(--warm); }

.rank-n {
  width: 30px; height: 30px; flex-shrink: 0; display: grid; place-items: center; border-radius: 10px;
  background: rgba(255,255,255,.07); font-size: .8rem; font-weight: 800;
}
.rank-1 .rank-n { background: linear-gradient(135deg, #ffd76a, #f2a900); color: #1b1300; }
.rank-2 .rank-n { background: linear-gradient(135deg, #e8eef7, #a9b6c8); color: #121820; }
.rank-3 .rank-n { background: linear-gradient(135deg, #f0b27a, #c87533); color: #1b0d03; }

.soc-ico { width: 34px; height: 34px; flex-shrink: 0; display: grid; place-items: center; border-radius: 12px; background: rgba(255,255,255,.08); }
.social-chip > svg:last-child { margin-left: auto; color: var(--muted); }
.soc-telegram .soc-ico { background: linear-gradient(135deg, #2aabee, #1d8fd0); color: #fff; }
.soc-instagram .soc-ico { background: linear-gradient(135deg, #feda75, #fa7e1e 30%, #d62976 60%, #962fbf 85%, #4f5bd5); color: #fff; }
.soc-reviews .soc-ico { background: linear-gradient(135deg, #ffc857, #ff9a3c); color: #1d1200; }
.soc-support .soc-ico { background: linear-gradient(135deg, #39ff9a, #2fd3ff); color: #041018; }

.btn.done { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- Promokod: Pul ishlash ---------- */
.promo-enter { padding: 14px; margin-bottom: 12px; }
.pe-head { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.pe-head strong { display: block; font-size: .95rem; }
.pe-ico, .ol-ico {
  width: 36px; height: 36px; flex-shrink: 0; display: grid; place-items: center; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent);
}
.pe-row { display: flex; gap: 8px; align-items: stretch; }
.pe-input {
  margin: 0; flex: 1; min-width: 0; font-family: var(--display); letter-spacing: .14em;
  text-transform: uppercase; font-weight: 700;
}
.pe-btn { width: auto; flex-shrink: 0; padding: 0 18px; border-radius: 14px; }

.promo-offer { padding: 14px; margin-bottom: 12px; }
.offer-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.offer-list li { display: flex; align-items: center; gap: 10px; font-size: .86rem; line-height: 1.35; }
.offer-list .ol-ico { width: 30px; height: 30px; border-radius: 10px; }
.offer-list b { color: var(--accent); }

.promo-mine { padding: 16px; margin-bottom: 4px; }
.pm-label { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 800; }
.pm-row {
  display: flex; align-items: stretch; margin: 8px 0; border-radius: 16px; overflow: hidden;
  border: 1px dashed rgba(255,255,255,.28); background: rgba(0,0,0,.22);
}
.pm-code {
  flex: 1; min-width: 0; padding: 14px 16px; font-family: var(--display); font-size: 1.45rem;
  letter-spacing: .22em; color: var(--accent); text-shadow: 0 0 18px var(--accent-soft);
}
.pm-row .pay-copy-btn { border-left: 1px dashed rgba(255,255,255,.28); }
.promo-mine .stat { background: rgba(255,255,255,.04); border-radius: 14px; }

.promo-list { gap: 8px; }
.promo-item {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 14px; border-radius: 18px; position: relative; overflow: hidden;
}
.promo-item::before {
  content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px; border-radius: 3px;
  background: var(--accent);
}
.promo-item.is-off { opacity: .45; filter: grayscale(.7); }
.pi-main { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pi-tag {
  display: inline-flex; align-items: center; gap: 4px; font-size: .62rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.pi-code { font-family: var(--display); font-size: 1rem; letter-spacing: .12em; word-break: break-all; }
.pi-max { font-size: .7rem; color: var(--muted); }
.pi-pct {
  font-family: var(--display); font-size: 1.9rem; font-weight: 800; line-height: 1; color: var(--accent);
  flex-shrink: 0;
}
.pi-pct small { font-size: .9rem; margin-left: 1px; }

/* ---------- Promokod: tasdiqlash oynasi ---------- */
.promo-bar {
  display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 12px; margin: 12px 0 6px;
  border-radius: 18px; transition: border-color .2s, opacity .2s;
}
.promo-bar.on { border-color: rgba(57,255,154,.45); }
.promo-bar.busy { opacity: .6; pointer-events: none; }
.pb-ico {
  width: 34px; height: 34px; flex-shrink: 0; display: grid; place-items: center; border-radius: 11px;
  background: rgba(57,255,154,.12); color: #39ff9a;
}
.promo-bar.off .pb-ico { background: rgba(255,93,108,.12); color: #ff5d6c; }
.pb-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.pb-label { font-size: .62rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #93a4bd; }
.pb-code { font-family: var(--display); letter-spacing: .1em; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #f3f7ff; }
.pb-pct { font-family: var(--display); font-weight: 800; font-size: 1.05rem; color: #39ff9a; flex-shrink: 0; }
.promo-bar.off .pb-pct, .promo-bar.off .pb-code { color: #93a4bd; text-decoration: line-through; }
.pb-switch {
  position: relative; width: 50px; height: 28px; flex-shrink: 0; border-radius: 999px; padding: 0; cursor: pointer;
  border: 1px solid rgba(255,93,108,.6); background: rgba(255,93,108,.35); transition: background .2s, border-color .2s;
}
.pb-switch .knob {
  position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.35); transition: transform .22s cubic-bezier(.3,.7,.4,1.2);
}
.promo-bar.on .pb-switch { border-color: rgba(57,255,154,.7); background: rgba(57,255,154,.55); }
.promo-bar.on .pb-switch .knob { transform: translateX(22px); }
.pb-change {
  width: 36px; height: 36px; flex-shrink: 0; display: grid; place-items: center; border-radius: 12px; cursor: pointer;
  border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); color: #f3f7ff; padding: 0;
}
.pb-change:active { transform: scale(.94); }
.promo-save {
  display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 0 6px; margin-bottom: 10px;
  font-size: .78rem; color: #93a4bd;
}
.promo-save b { color: #39ff9a; }
.price-promo s { opacity: .55; font-weight: 500; margin-right: 4px; }

.promo-sheet { position: fixed; inset: 0; z-index: 90; pointer-events: none; }
.promo-sheet.show { pointer-events: auto; }
.ps-backdrop {
  position: absolute; inset: 0; background: rgba(4,8,16,.45); opacity: 0; transition: opacity .22s;
  backdrop-filter: blur(10px) saturate(120%); -webkit-backdrop-filter: blur(10px) saturate(120%);
}
.promo-sheet.show .ps-backdrop { opacity: 1; }
.ps-sheet {
  position: absolute; left: 0; right: 0; bottom: 0; max-height: 72vh; display: flex; flex-direction: column;
  padding: 8px 14px calc(16px + var(--safe-bot)); border-radius: 26px 26px 0 0;
  background: rgba(18,28,46,.62); border: 1px solid rgba(255,255,255,.14); border-bottom: 0;
  backdrop-filter: blur(24px) saturate(150%); -webkit-backdrop-filter: blur(24px) saturate(150%);
  box-shadow: 0 -18px 50px rgba(0,0,0,.4);
  transform: translateY(100%); transition: transform .26s cubic-bezier(.2,.8,.3,1);
}
.promo-sheet.show .ps-sheet { transform: translateY(0); }
.ps-grab { width: 42px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.28); margin: 4px auto 10px; }
.ps-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.ps-x {
  width: 34px; height: 34px; border-radius: 11px; border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06); color: #f3f7ff; display: grid; place-items: center; cursor: pointer; padding: 0;
}
.ps-list { overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding-bottom: 4px; }
.ps-item {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; text-align: left;
  padding: 12px 14px; border-radius: 18px; cursor: pointer; font: inherit; color: #f3f7ff;
  border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.05);
}
.ps-item.on { border-color: rgba(57,255,154,.6); background: rgba(57,255,154,.1); }
.ps-main { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ps-side { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; flex-shrink: 0; }
.ps-item .pi-pct { color: #39ff9a; font-size: 1.6rem; }
.ps-minus { font-size: .74rem; font-weight: 800; color: #39ff9a; }
.ps-none .ps-side { font-size: .8rem; color: #93a4bd; }

/* ===================== Umumiy sheet + rasm tanlagich ===================== */
.ux-sheet .ps-sheet { max-height: 88vh; color: #f3f7ff; font-family: var(--font); }
.ux-sheet .ps-head strong { font-size: 1rem; }
.ux-sheet.busy .ps-x { opacity: .4; pointer-events: none; }
.rv-sheet-body, .up-body { overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding-bottom: 2px; -webkit-overflow-scrolling: touch; }
.pp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pp-tile, .pp-add { position: relative; aspect-ratio: 1; border-radius: 16px; overflow: hidden; }
.pp-tile { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); animation: rise .25s ease; }
.pp-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pp-x {
  position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; padding: 0; display: grid; place-items: center;
  border: 0; border-radius: 50%; cursor: pointer; background: rgba(5,8,15,.72); color: #fff;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); box-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.pp-x:active { transform: scale(.9); }
.pp-add {
  display: grid; place-items: center; padding: 0; cursor: pointer; font: inherit;
  border: 1.5px dashed rgba(255,255,255,.28); background: rgba(255,255,255,.04); color: var(--accent);
  transition: background .15s, border-color .15s, transform .12s;
}
.pp-add:active { transform: scale(.96); background: var(--accent-soft); border-color: var(--accent); }
.up-progress { height: 6px; border-radius: 6px; overflow: hidden; background: rgba(255,255,255,.08); }
.up-progress i { display: block; width: 0; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width .2s; }

/* ===================== Sharhlar ===================== */
.section-link { display: flex; align-items: center; justify-content: space-between; text-decoration: none; }
.section-link em { display: inline-flex; align-items: center; gap: 2px; font-style: normal; color: var(--accent); letter-spacing: .04em; text-transform: none; }
.review-slide { flex: 0 0 80%; scroll-snap-align: start; display: flex; min-width: 0; }
.review-slide > * { flex: 1; min-width: 0; margin: 0; }

.rv-card { padding: 14px; border-radius: 20px; color: inherit; text-decoration: none; display: flex; flex-direction: column; gap: 8px; }
.rv-card.compact { min-height: 132px; cursor: pointer; }
.rv-top { display: flex; align-items: center; gap: 10px; min-width: 0; }
.rv-ava {
  width: 36px; height: 36px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #041018; font-weight: 800;
}
.rv-who { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.rv-who b { font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rv-who small { color: var(--muted); font-size: .7rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rv-id { flex-shrink: 0; align-self: flex-start; color: var(--muted); font-size: .62rem; font-weight: 700; letter-spacing: .04em; opacity: .75; }
.rv-body { font-size: .86rem; line-height: 1.45; color: #d7e0ef; white-space: pre-line; overflow-wrap: anywhere; }
.rv-card.compact .rv-body { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rv-empty { justify-content: center; text-align: center; }
.rv-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.rv-photo { aspect-ratio: 1; padding: 0; border: 0; border-radius: 12px; overflow: hidden; cursor: zoom-in; background: rgba(255,255,255,.06); }
.rv-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rv-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.rv-pics { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: .7rem; }
.rv-like {
  display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: rgba(255,255,255,.05); color: var(--muted); font: 700 .72rem var(--font);
  transition: color .15s, background .15s, border-color .15s, transform .12s;
}
.rv-like:active { transform: scale(.92); }
.rv-like.on { color: var(--accent); background: var(--accent-soft); border-color: var(--accent); }
.rv-like.busy { opacity: .6; pointer-events: none; }

.rv-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; margin-bottom: 12px; border-radius: 20px; }
.rv-head-ico { width: 44px; height: 44px; flex-shrink: 0; display: grid; place-items: center; border-radius: 14px; background: linear-gradient(135deg, #ffc857, #ff9a3c); color: #1d1200; }
.rv-head-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.rv-head-txt strong { font-size: 1.05rem; }
.rv-head-txt a, .rv-head-txt span { display: inline-flex; align-items: center; gap: 4px; color: var(--accent); font-size: .78rem; font-weight: 700; text-decoration: none; }
.rv-total { flex-shrink: 0; padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: .74rem; font-weight: 800; }
.rv-total:empty { display: none; }
.rv-list { display: flex; flex-direction: column; gap: 10px; }
.rv-more { height: 44px; margin-top: 6px; --spin: var(--accent); }

.rv-lightbox {
  position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 20px;
  background: rgba(3,6,12,.86); opacity: 0; transition: opacity .2s; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.rv-lightbox.show { opacity: 1; }
.rv-lightbox img { max-width: 100%; max-height: 82vh; border-radius: 16px; object-fit: contain; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.rv-lightbox .ps-x { position: absolute; top: calc(14px + var(--safe-top)); right: 14px; }

.rv-slot { margin-top: 12px; font-family: var(--font); }
.rv-cta, .rv-cta-done {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; border-radius: 18px; cursor: pointer;
  color: var(--text); font: inherit; text-align: left; text-decoration: none; border: 1px solid var(--accent);
  background: linear-gradient(90deg, var(--accent-soft), rgba(255,255,255,.04)); animation: rise .3s ease;
}
.rv-cta b, .rv-cta-done b { flex: 1; font-size: .95rem; }
.rv-cta > svg:last-child, .rv-cta-done > svg:last-child { color: var(--muted); }
.rv-cta-done { border-color: var(--line); background: var(--glass); }
.rv-cta-done > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; }
.rv-cta-done small { color: var(--muted); font-size: .72rem; }
.rv-cta-ico { width: 34px; height: 34px; flex-shrink: 0; display: grid; place-items: center; border-radius: 12px; background: var(--accent); color: #041018; }

.rv-order { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; background: rgba(57,255,154,.07); border: 1px solid rgba(57,255,154,.25); }
.rv-order-ico { width: 38px; height: 38px; flex-shrink: 0; display: grid; place-items: center; border-radius: 12px; background: rgba(57,255,154,.18); color: #5dffa9; }
.rv-order-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.rv-order-main span { color: #93a4bd; font-size: .7rem; font-weight: 700; }
.rv-order-main b { font-size: .92rem; overflow-wrap: anywhere; }
.rv-order-side { flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-size: .82rem; }
.rv-label { display: flex; align-items: center; gap: 6px; margin-top: 4px; color: #93a4bd; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.rv-hint { margin-top: -6px; }
.rv-textwrap { position: relative; }
.rv-text { display: block; width: 100%; min-height: 104px; margin: 0; resize: none; padding-bottom: 24px; font: inherit; line-height: 1.45; }
.rv-count { position: absolute; right: 12px; bottom: 8px; color: #93a4bd; font-size: .66rem; font-weight: 700; }
.rv-send { margin-top: 4px; }
.soc-community .soc-ico { background: linear-gradient(135deg, #7b8cff, #2aabee); color: #fff; }

/* ===================== Chek yuklash ===================== */
.up-prompt { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: rgba(255,200,87,.08); border: 1px solid rgba(255,200,87,.26); }
.up-prompt-ico { width: 38px; height: 38px; flex-shrink: 0; display: grid; place-items: center; border-radius: 12px; background: rgba(255,200,87,.18); color: #ffc857; }
.up-prompt p { font-size: .88rem; line-height: 1.4; }
.up-prompt b { color: #ffc857; }
.up-body .pp-grid { margin-top: 2px; }
.up-done { padding: 26px 16px 10px; text-align: center; }
.up-done-ico { width: 64px; height: 64px; margin: 0 auto 12px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, #4dff9c, #2fd3ff); color: #041018; animation: rise .3s ease; }
.up-done h3 { font-size: 1.15rem; margin-bottom: 6px; }
.up-done p { color: #93a4bd; font-size: .86rem; line-height: 1.45; margin-bottom: 14px; }

/* ===================== Sharh: ogohlantirish, siqish, mening sharhlarim ===================== */
.pp-tile.loading > * { visibility: visible; }
.pp-tile.loading img { opacity: .4; filter: blur(1px); }
.pp-tile.loading::after { width: 22px; height: 22px; margin: -11px 0 0 -11px; --spin: var(--accent); }

.rv-notice {
  display: flex; gap: 10px; align-items: flex-start; padding: 11px 12px; border-radius: 14px;
  background: rgba(255,200,87,.08); border: 1px solid rgba(255,200,87,.3); color: #ffc857;
}
.rv-notice svg { flex-shrink: 0; margin-top: 1px; }
.rv-notice p { color: #e9dcbc; font-size: .76rem; line-height: 1.45; }

.rv-saved { padding: 18px 6px 4px; text-align: center; display: flex; flex-direction: column; gap: 10px; animation: rise .3s ease; }
.rv-saved .up-done-ico { margin: 0 auto 4px; }
.rv-saved h3 { font-size: 1.1rem; }
.rv-saved p { color: #93a4bd; font-size: .86rem; line-height: 1.5; margin-bottom: 4px; }

.hist-badge {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 4px; margin-top: 5px; padding: 3px 8px;
  border-radius: 999px; background: rgba(255,200,87,.12); color: #ffc857; font-size: .64rem; font-weight: 800;
}

.rv-mine { display: inline-flex; align-items: center; gap: 4px; color: var(--accent); font-size: .72rem; font-weight: 700; text-decoration: none; }
.my-rv-card .rv-ava { background: rgba(255,200,87,.16); color: #ffc857; }
.my-rv-left { color: var(--muted); font-size: .7rem; font-weight: 600; }
.my-rv-actions { display: flex; gap: 8px; justify-content: flex-end; }
.my-rv-actions .btn { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.my-rv-del { color: #ff8a8a; }
.my-rv-confirm { font-size: .9rem; line-height: 1.5; color: #d7e0ef; }
.btn.my-rv-del-ok { background: linear-gradient(135deg, #ff6b6b, #e03e3e); color: #fff; }
