/* =====================================================================
   ArzonStars — dizayn tuzatishlari (asosiy CSS fayllardan keyin yuklanadi)
   ===================================================================== */

/* ---------- Umumiy: pastki menyu ostida kontent qolmasin ---------- */
.page {
    padding-bottom: calc(var(--nav-height, 84px) + 56px + env(safe-area-inset-bottom, 0px)) !important;
}

/* ---------- Modal oynalar: orqa fon ko'rinib turmasin ---------- */
[data-theme="dark"] .modal-sheet,
.modal-sheet {
    background: rgba(36, 36, 39, 0.97);
}

/* ---------- "O'zimga" tugmalari: barmoq bilan bosishga qulay ---------- */
.stars-for-me-btn,
.premium-for-me-btn {
    min-height: 32px;
    padding: 7px 14px;
    font-size: 13px;
    border-radius: 16px;
}

/* ---------- Premium tariflari: kichik ekranda sinmasin ---------- */
.premium-plan-duration,
.premium-plan-price,
.premium-plan-admin-badge,
.premium-plan-discount {
    white-space: nowrap;
}
@media (max-width: 360px) {
    .premium-plan { gap: 8px; padding: 10px 12px 10px 10px; }
    .premium-plan-duration { font-size: 15px; min-width: 0; }
    .premium-plan-price { font-size: 14px; }
    .premium-plan-admin-badge, .premium-plan-discount { font-size: 11px; padding: 3px 6px; }
}

/* ---------- Gift sahifasi: filtr va grid tekislash ---------- */
.gift-type-filter {
    padding: 0;
    gap: 6px;
}
.gift-type-btn {
    min-width: 0;
    padding: 10px 8px;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.gifts-grid {
    padding-left: 0;
    padding-right: 0;
}

/* ---------- Sahifa sarlavhalari bir xil ---------- */
#page-gift .section-header,
#page-top .section-header {
    margin-top: 4px;
    padding: 0;
}
#page-gift .section-title,
#page-top .section-title,
.history-title {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.2px;
}

/* ---------- To'lov sahifasi ---------- */
.pp-footer {
    position: sticky;
    bottom: 0;
    z-index: 5;
}
.pp-card-label { white-space: nowrap; margin-right: 10px; }
.pp-card-value { min-width: 0; }
.pp-card-number {
    white-space: nowrap;
    font-size: clamp(13px, 4.1vw, 16px);
    letter-spacing: 0.5px;
}
.pp-card-holder {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: right;
}

/* =====================================================================
   BUYURTMALAR TARIXI — yangi (korporativ) ko'rinish
   ===================================================================== */
.history-filters {
    gap: 8px;
    margin-bottom: 16px;
}
.history-filter {
    height: 34px;
    padding: 0 14px;
    background: var(--bg-secondary, #2b2b2d);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-secondary, #a0a0a5);
    font-size: 13px;
    font-weight: 600;
    border-radius: 17px;
}
.history-filter.active {
    background: var(--accent, #0a84ff);
    border-color: var(--accent, #0a84ff);
    color: #fff;
}
.history-filter img { width: 16px; height: 16px; }

.history-list-new { gap: 0; }

.hx-group { margin-bottom: 18px; }
.hx-group-title {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--text-secondary, #8e8e93);
    padding: 0 4px 8px;
}
.hx-card {
    background: var(--bg-secondary, #2b2b2d);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    overflow: hidden;
}
.hx-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    cursor: pointer;
    position: relative;
    transition: background 0.15s ease;
}
.hx-row + .hx-row::before {
    content: '';
    position: absolute;
    top: 0;
    left: 66px;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
}
.hx-row:active { background: rgba(255, 255, 255, 0.04); }

.hx-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.06);
}
.hx-icon img { width: 24px; height: 24px; object-fit: contain; display: block; }
.hx-icon.hx-stars   { background: rgba(255, 193, 7, 0.14); }
.hx-icon.hx-premium { background: rgba(10, 132, 255, 0.16); }
.hx-icon.hx-gift    { background: rgba(191, 90, 242, 0.16); }
.hx-icon.hx-topup   { background: rgba(48, 209, 88, 0.14); }

.hx-main { flex: 1; min-width: 0; }
.hx-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary, #fff);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hx-sub {
    margin-top: 3px;
    font-size: 12.5px;
    color: var(--text-secondary, #8e8e93);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hx-sub { display: flex; align-items: center; }
.hx-who { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hx-time { flex-shrink: 0; }
.hx-dot { margin: 0 6px; opacity: 0.6; flex-shrink: 0; }

.hx-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
    flex-shrink: 0;
}
.hx-amount {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary, #fff);
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}
.hx-amount.plus { color: var(--success, #30d158); }

.hx-badge {
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    padding: 4px 8px;
    border-radius: 6px;
    white-space: nowrap;
}
.hx-badge.ok    { color: #30d158; background: rgba(48, 209, 88, 0.12); }
.hx-badge.wait  { color: #ff9f0a; background: rgba(255, 159, 10, 0.12); }
.hx-badge.err   { color: #ff453a; background: rgba(255, 69, 58, 0.12); }
.hx-badge.muted { color: #8e8e93; background: rgba(142, 142, 147, 0.14); }

.hx-empty {
    padding: 40px 20px;
    text-align: center;
    background: var(--bg-secondary, #2b2b2d);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    color: var(--text-secondary, #8e8e93);
}
.hx-empty-icon { font-size: 34px; margin-bottom: 8px; }
.hx-empty-text { font-size: 14px; }

@media (max-width: 360px) {
    .hx-row { gap: 10px; padding: 11px 12px; }
    .hx-row + .hx-row::before { left: 60px; }
    .hx-icon { width: 36px; height: 36px; border-radius: 10px; }
    .hx-icon img { width: 22px; height: 22px; }
    .hx-title, .hx-amount { font-size: 14px; }
    .hx-sub { font-size: 12px; }
}

/* To'lov sahifasi: tor ekranda karta qatori ikki qavatga tushadi, nusxa tugmasi siqilmaydi */
.pp-card-row { flex-wrap: wrap; row-gap: 8px; }
.pp-card-value { margin-left: auto; max-width: 100%; }
.pp-copy-btn { flex-shrink: 0; }

/* =====================================================================
   UMUMIY KARTA USLUBI: to'lov tanlash, referal, profil (tarix bilan bir xil)
   ===================================================================== */

/* ---------- To'lov usulini tanlash ---------- */
.payment-select-list {
    display: block;
    background: var(--bg-secondary, #2b2b2d);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    overflow: hidden;
    padding: 0;
    gap: 0;
}
.payment-select-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 12px 14px;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    position: relative;
    min-height: 64px;
    box-shadow: none !important;
}
.payment-select-item + .payment-select-item::before {
    content: '';
    position: absolute;
    top: 0; left: 66px; right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
}
.payment-select-item:active { background: rgba(255, 255, 255, 0.04) !important; }
.payment-select-item.selected { background: rgba(10, 132, 255, 0.08) !important; }
.payment-select-item.disabled { opacity: 0.55; }
.payment-select-icon {
    width: 40px; height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}
.payment-select-icon img { width: 28px; height: 28px; object-fit: contain; border-radius: 6px; }
.payment-select-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.payment-select-name { font-size: 15px; font-weight: 600; color: var(--text-primary, #fff); }
.payment-select-desc { font-size: 12.5px; color: var(--text-secondary, #8e8e93); }
.payment-select-desc.warning { color: var(--warning, #ff9f0a); }
/* Radio o'ng tomonda, belgi ko'rinishida */
.payment-select-radio {
    order: 3;
    width: 22px; height: 22px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.22);
    flex-shrink: 0;
    position: relative;
    background: transparent;
}
.payment-select-item.selected .payment-select-radio {
    border-color: var(--accent, #0a84ff);
    background: var(--accent, #0a84ff);
}
.payment-select-item.selected .payment-select-radio::after {
    content: '';
    position: absolute;
    left: 6px; top: 2px;
    width: 5px; height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.payment-continue-btn {
    margin-top: 16px;
    border-radius: 14px !important;
    height: 50px;
    font-size: 16px;
    font-weight: 600;
}

/* ---------- Referal ---------- */
.ref-bonus-card,
.ref-stats-card,
.ref-friends-section {
    background: var(--bg-secondary, #2b2b2d) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 16px !important;
    box-shadow: none !important;
}
.ref-bonus-item { padding: 12px 14px; gap: 12px; position: relative; }
.ref-bonus-item + .ref-bonus-item { border-top: 1px solid rgba(255, 255, 255, 0.06); }
.ref-bonus-icon { width: 40px !important; height: 40px !important; border-radius: 12px !important; }
.ref-bonus-title { font-size: 15px; font-weight: 600; }
.ref-bonus-desc { font-size: 12.5px; color: var(--text-secondary, #8e8e93); }
.ref-invite-btn { border-radius: 14px !important; height: 50px; font-size: 16px; font-weight: 600; }
.ref-copy-btn {
    border-radius: 14px !important;
    width: 50px !important; height: 50px !important;
    background: var(--bg-secondary, #2b2b2d) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
}
.ref-stats-card { padding: 14px 0 !important; }
.ref-stat-value { font-size: 22px; font-weight: 700; }
.ref-stat-label { font-size: 12.5px; color: var(--text-secondary, #8e8e93); }
.ref-friends-header { padding: 14px 14px 10px !important; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.ref-friends-title { font-size: 12px !important; font-weight: 600; letter-spacing: 0.6px; text-transform: uppercase; color: var(--text-secondary, #8e8e93); }
.ref-item {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 14px !important;
    background: transparent !important;
    border-radius: 0 !important;
    margin: 0 !important;
}
.ref-item + .ref-item { border-top: 1px solid rgba(255, 255, 255, 0.06); }
.ref-item-avatar { width: 40px !important; height: 40px !important; border-radius: 12px !important; }
.ref-empty { padding: 28px 16px !important; font-size: 14px; color: var(--text-secondary, #8e8e93); }

/* ---------- Profil ---------- */
.profile-avatar-big { box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08); }
.profile-name-center { font-size: 20px; font-weight: 700; }
.profile-username-center { font-size: 14px; color: var(--text-secondary, #8e8e93); }
.profile-menu-section {
    background: var(--bg-secondary, #2b2b2d) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 16px !important;
    overflow: hidden;
    margin-bottom: 16px !important;
    box-shadow: none !important;
}
.profile-menu-item {
    min-height: 54px;
    padding: 10px 14px !important;
    gap: 12px;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    position: relative;
}
.profile-menu-item + .profile-menu-item::before {
    content: '';
    position: absolute;
    top: 0; left: 58px; right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
}
.profile-menu-item:active { background: rgba(255, 255, 255, 0.04) !important; }
.profile-menu-icon { width: 32px !important; height: 32px !important; border-radius: 9px !important; flex-shrink: 0; }
.profile-menu-text { font-size: 15px; font-weight: 500; }
.profile-menu-value { font-size: 14px; color: var(--text-secondary, #8e8e93) !important; }
.profile-version { font-size: 12px; color: var(--text-tertiary, #6e6e73); }

/* =====================================================================
   v5 — ZAMONAVIY / KORPORATIV SAYQAL (tuzilma o'zgarmaydi, faqat ko'rinish)
   ===================================================================== */
:root {
    --as-card: #232326;
    --as-card-hi: rgba(255, 255, 255, 0.045);
    --as-line: rgba(255, 255, 255, 0.07);
    --as-radius: 18px;
    --as-accent-grad: linear-gradient(180deg, #2f95ff 0%, #0a7cff 100%);
}

/* Kartalar: bir xil fon, yuqori chetida nozik yorug'lik, yumshoq soya */
.hx-card,
.hx-empty,
.payment-select-list,
.ref-bonus-card,
.ref-stats-card,
.ref-friends-section,
.profile-menu-section {
    background: var(--as-card) !important;
    border: 1px solid var(--as-line) !important;
    border-radius: var(--as-radius) !important;
    box-shadow: inset 0 1px 0 var(--as-card-hi), 0 8px 24px rgba(0, 0, 0, 0.18) !important;
}

/* Raqamlar tekis ustunda turadi */
.hx-amount, .ref-stat-value, .profile-menu-value, .payment-select-desc, .pp-card-amount, .pp-detail-price {
    font-variant-numeric: tabular-nums;
}

/* Guruh sarlavhalari */
.hx-group-title,
.ref-friends-title {
    font-size: 11.5px !important;
    letter-spacing: 0.8px !important;
    color: #7d7d84 !important;
}

/* Ikonka plitkalari: yumshoq ichki chegara */
.hx-icon, .payment-select-icon, .ref-bonus-icon, .ref-item-avatar, .profile-menu-icon {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

/* Holat belgilari: kapsula shakl */
.hx-badge { border-radius: 999px; padding: 4px 9px; letter-spacing: 0.1px; }

/* Asosiy tugmalar: gradient, yumshoq soya, bir xil balandlik */
.payment-continue-btn,
.ref-invite-btn,
.premium-buy-btn,
.pp-footer-pay {
    background: var(--as-accent-grad) !important;
    border: none !important;
    border-radius: 14px !important;
    box-shadow: 0 6px 18px rgba(10, 124, 255, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
    letter-spacing: 0.1px;
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.payment-continue-btn:active,
.ref-invite-btn:active,
.premium-buy-btn:active,
.pp-footer-pay:active {
    transform: scale(0.985);
    box-shadow: 0 3px 10px rgba(10, 124, 255, 0.22) !important;
    filter: brightness(0.96);
}

/* Filtr tugmalari (tarix) */
.history-filter { background: var(--as-card); border-color: var(--as-line); }
.history-filter.active {
    background: var(--as-accent-grad);
    box-shadow: 0 4px 12px rgba(10, 124, 255, 0.28);
}

/* Qatorlar bosilganda yumshoq javob */
.hx-row, .payment-select-item, .profile-menu-item, .ref-item { transition: background 0.15s ease; }

/* To'lov tanlash: tanlangan qator chap chetida aksent chiziq */
.payment-select-item.selected::after {
    content: '';
    position: absolute;
    left: 0; top: 10px; bottom: 10px;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: var(--accent, #0a84ff);
}
.payment-select-item.selected .payment-select-radio {
    box-shadow: 0 0 0 4px rgba(10, 132, 255, 0.18);
}

/* Modal oynalar sarlavhasi */
.modal-title { font-size: 17px !important; font-weight: 700 !important; letter-spacing: -0.2px; }
.modal-close {
    background: rgba(255, 255, 255, 0.08) !important;
    border: none !important;
    color: #c7c7cc !important;
}

/* Referal: sarlavha va statistika */
.ref-hero-title { font-size: 24px !important; font-weight: 800 !important; letter-spacing: -0.4px; }
.ref-hero-desc { color: #9a9aa1 !important; }
.ref-stat-label { text-transform: uppercase; font-size: 11px !important; letter-spacing: 0.6px; margin-top: 2px; }
.ref-stat-value { font-size: 24px !important; font-weight: 800 !important; letter-spacing: -0.3px; }
.ref-stat-divider { background: var(--as-line) !important; }

/* Profil: avatar halqasi va sarlavha */
.profile-avatar-big {
    border: none !important;
    box-shadow: 0 0 0 3px #1c1c1e, 0 0 0 5px rgba(10, 132, 255, 0.55), 0 10px 30px rgba(10, 132, 255, 0.18) !important;
}
.profile-name-center { font-size: 22px !important; font-weight: 800 !important; letter-spacing: -0.3px; }
.profile-menu-section:first-of-type .profile-menu-item:first-child .profile-menu-value { color: #e5e5ea !important; font-weight: 600; }

/* Tanlash belgisi: aniq SVG ✓ */
.payment-select-item.selected .payment-select-radio::after { content: none !important; }
.payment-select-item.selected .payment-select-radio {
    background: var(--accent, #0a84ff) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px 14px no-repeat !important;
}

/* =====================================================================
   v6 — BOSH SAHIFA
   ===================================================================== */

.home-sec-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 18px 0 8px;
    padding: 0 4px;
}
.home-sec-head .section-mini-title { margin: 0 !important; }
.home-sec-count {
    min-width: 20px; height: 20px; padding: 0 6px;
    border-radius: 10px;
    background: rgba(255, 159, 10, 0.16);
    color: #ff9f0a;
    font-size: 12px; font-weight: 700;
    display: inline-flex; align-items: center; justify-content: center;
}
.home-sec-count:empty { display: none; }
.home-sec-link {
    background: none; border: none; padding: 4px 0;
    color: var(--accent, #0a84ff);
    font-size: 13px; font-weight: 600;
    cursor: pointer;
}

/* Kutilayotgan buyurtma: tarix kartasi + amallar qatori */
.po-card { border-color: rgba(255, 159, 10, 0.22) !important; }
.po-row { flex-wrap: wrap; row-gap: 10px; }
.po-actions {
    flex-basis: 100%;
    display: flex;
    gap: 8px;
    padding-left: 52px;
}
.po-pay-btn {
    flex: 1;
    height: 38px;
    border: none;
    border-radius: 11px;
    background: var(--as-accent-grad, #0a84ff);
    color: #fff;
    font-size: 14px; font-weight: 600;
    box-shadow: 0 4px 12px rgba(10, 124, 255, 0.25);
    cursor: pointer;
}
.po-pay-btn:active { transform: scale(0.98); }
.po-x-btn {
    width: 38px; height: 38px;
    flex-shrink: 0;
    border: 1px solid var(--as-line, rgba(255,255,255,0.07));
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.05);
    color: #a0a0a5;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
}
.po-x-btn svg { width: 16px; height: 16px; }
.po-x-btn:active { background: rgba(255, 69, 58, 0.14); color: #ff453a; }
.po-timer {
    font-size: 11.5px; font-weight: 700;
    padding: 4px 9px;
    border-radius: 999px;
    color: #ff9f0a;
    background: rgba(255, 159, 10, 0.12);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.po-timer.urgent { color: #ff453a; background: rgba(255, 69, 58, 0.14); }
@media (max-width: 360px) { .po-actions { padding-left: 46px; } }

/* Oxirgi buyurtmalar ro'yxati — eski uslubni o'chiramiz */
.recent-orders-list { display: block; }
.recent-orders-list .empty-text {
    padding: 22px 16px;
    text-align: center;
    background: var(--as-card, #232326);
    border: 1px solid var(--as-line, rgba(255,255,255,0.07));
    border-radius: 18px;
    color: var(--text-secondary, #8e8e93);
    font-size: 14px;
}
.pending-orders-list { display: block; }

/* Xizmat kartalari: narx izohi */
.service-subtitle { font-variant-numeric: tabular-nums; font-weight: 500; }

/* =====================================================================
   v7 — GIFT XARID OYNASI va HISOB TO'LDIRISH OYNASI (umumiy ro'yxat uslubi)
   ===================================================================== */

/* --- Konteyner: bitta karta ichida ro'yxat --- */
.payment-methods {
    display: block !important;
    background: var(--as-card, #232326);
    border: 1px solid var(--as-line, rgba(255,255,255,0.07));
    border-radius: 18px;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.045), 0 8px 24px rgba(0,0,0,0.18);
    padding: 0 !important;
}
.gift-payments { margin-top: 16px; }
.gift-payments-title {
    font-size: 11.5px !important;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #7d7d84 !important;
    padding: 0 4px 8px;
    margin: 0 !important;
}

/* --- Qator --- */
.payment-method,
.gift-pay-option {
    display: flex !important;
    align-items: center;
    gap: 12px;
    min-height: 64px;
    margin: 0 !important;
    padding: 12px 14px !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    position: relative;
    cursor: pointer;
    transition: background 0.15s ease;
}
.gift-pay-option {
    background: var(--as-card, #232326) !important;
    border-left: 1px solid var(--as-line, rgba(255,255,255,0.07)) !important;
    border-right: 1px solid var(--as-line, rgba(255,255,255,0.07)) !important;
}
.gift-payments-title + .gift-pay-option {
    border-top: 1px solid var(--as-line, rgba(255,255,255,0.07)) !important;
    border-radius: 18px 18px 0 0 !important;
}
.gift-pay-option:last-child {
    border-bottom: 1px solid var(--as-line, rgba(255,255,255,0.07)) !important;
    border-radius: 0 0 18px 18px !important;
}
.payment-method + .payment-method::before,
.gift-pay-option + .gift-pay-option::before {
    content: '';
    position: absolute;
    top: 0; left: 66px; right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
}
.payment-method:active, .gift-pay-option:active { background: rgba(255,255,255,0.04) !important; }
.payment-method.selected, .gift-pay-option.selected { background: rgba(10, 132, 255, 0.08) !important; }
.gift-pay-option.disabled { opacity: 0.5; }
.payment-method.selected::after,
.gift-pay-option.selected::after {
    content: '';
    position: absolute;
    left: 0; top: 10px; bottom: 10px;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: var(--accent, #0a84ff);
}

/* --- Ikonka: haqiqiy logotiplar plitkada --- */
.payment-icon,
.gift-pay-icon {
    width: 40px !important; height: 40px !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.06) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    color: #fff;
}
.payment-icon img,
.gift-pay-icon img { width: 28px !important; height: 28px !important; object-fit: contain; border-radius: 6px; }

/* --- Matn --- */
.payment-info,
.gift-pay-info { flex: 1; min-width: 0; display: flex !important; flex-direction: column !important; gap: 3px; }
.payment-name,
.gift-pay-info strong { font-size: 15px !important; font-weight: 600 !important; color: var(--text-primary, #fff); }
.payment-desc,
.gift-pay-info span { font-size: 12.5px !important; color: var(--text-secondary, #8e8e93) !important; margin: 0 !important; }

/* --- Tanlash doirasi (o'ngda) --- */
.payment-check,
.gift-pay-check {
    width: 22px !important; height: 22px !important;
    border-radius: 50% !important;
    border: 2px solid rgba(255, 255, 255, 0.22) !important;
    background: transparent !important;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    opacity: 1 !important;
}
.payment-check svg { display: none !important; }
.gift-pay-check::after { content: none !important; }
.payment-method.selected .payment-check,
.gift-pay-option.selected .gift-pay-check {
    border-color: var(--accent, #0a84ff) !important;
    background: var(--accent, #0a84ff) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px 14px no-repeat !important;
    box-shadow: 0 0 0 4px rgba(10, 132, 255, 0.18);
}

/* --- To'ldirish oynasi: summa va tugma --- */
.modal-sheet .price-display {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 16px !important;
    background: var(--as-card, #232326) !important;
    border: 1px solid var(--as-line, rgba(255,255,255,0.07)) !important;
    border-radius: 16px !important;
}
.modal-sheet .price-label { font-size: 14px; color: var(--text-secondary, #8e8e93); }
.modal-sheet .price-value { font-size: 18px; font-weight: 800; color: var(--text-primary, #fff) !important; font-variant-numeric: tabular-nums; }
.modal-sheet .primary-btn,
.gift-buy-btn {
    width: 100%;
    height: 50px;
    border: none !important;
    border-radius: 14px !important;
    background: var(--as-accent-grad, #0a84ff) !important;
    color: #fff !important;
    font-size: 16px; font-weight: 600;
    box-shadow: 0 6px 18px rgba(10, 124, 255, 0.28), inset 0 1px 0 rgba(255,255,255,0.18) !important;
    transition: transform 0.15s ease, opacity 0.15s ease;
}
.gift-buy-btn { margin-top: 16px; }
.gift-buy-btn:disabled {
    background: rgba(255, 255, 255, 0.08) !important;
    color: rgba(255, 255, 255, 0.35) !important;
    box-shadow: none !important;
}
.modal-sheet .primary-btn:active, .gift-buy-btn:not(:disabled):active { transform: scale(0.985); }

/* --- Gift oynasi sarlavhasi va qo'shimcha yozuv --- */
.gift-modal-header { padding: 6px 0 18px !important; border-bottom: none !important; text-align: center; }
.gift-modal-image {
    width: 104px; height: 104px;
    margin: 0 auto 12px;
    border-radius: 26px;
    background: radial-gradient(circle at 50% 40%, rgba(10,132,255,0.16), rgba(255,255,255,0.03) 70%);
    border: 1px solid var(--as-line, rgba(255,255,255,0.07));
    display: flex; align-items: center; justify-content: center;
}
.gift-modal-image img { width: 76px !important; height: 76px !important; object-fit: contain; }
.gift-modal-name { font-size: 20px !important; font-weight: 800 !important; letter-spacing: -0.3px; }
.gift-modal-price {
    display: inline-block;
    margin-top: 8px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(10, 132, 255, 0.14);
    color: #4da3ff !important;
    font-size: 15px !important; font-weight: 700 !important;
    font-variant-numeric: tabular-nums;
}
.gift-option-card {
    background: var(--as-card, #232326) !important;
    border: 1px solid var(--as-line, rgba(255,255,255,0.07)) !important;
    border-radius: 18px !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.045) !important;
    padding: 0 !important;
    overflow: hidden;
}
.gift-option-row { padding: 12px 14px !important; min-height: 60px; }
.gift-option-icon {
    width: 40px; height: 40px;
    border-radius: 12px;
    background: rgba(255, 159, 10, 0.14);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.gift-option-left { display: flex; align-items: center; gap: 12px; }
.gift-option-text { font-size: 15px; font-weight: 600; }
.gift-option-text small { display: block; font-size: 12.5px; font-weight: 500; color: var(--text-secondary, #8e8e93); margin-top: 2px; }
.gift-custom-input {
    margin: 0 14px 14px !important;
    width: calc(100% - 28px) !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid var(--as-line, rgba(255,255,255,0.07)) !important;
}
.gift-toggle.on { background: var(--accent, #0a84ff) !important; }
.gift-toggle::after { content: '' !important; }

/* =====================================================================
   v8 — to'lov qatorlari: bosilganda "g'alati" effektlarni olib tashlash,
        gift / to'ldirish oynalarida asosiy tugma doim ko'rinadi
   ===================================================================== */
.payment-method,
.gift-pay-option,
.payment-select-item {
    -webkit-tap-highlight-color: transparent !important;
    outline: none !important;
    transform: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transition: background-color 0.15s ease !important;
    user-select: none;
    -webkit-user-select: none;
}
.payment-method:active,
.gift-pay-option:active,
.payment-select-item:active { transform: none !important; }
.payment-method *,
.gift-pay-option *,
.payment-select-item * { transition: none !important; }
/* Tanlangan qator: faqat yumshoq fon + chap chiziq (ramka yo'q) */
.payment-method.selected,
.gift-pay-option.selected,
.payment-select-item.selected {
    border-top-color: transparent;
    border-bottom-color: transparent;
}
.gift-payments-title + .gift-pay-option.selected { border-top-color: var(--as-line, rgba(255,255,255,0.07)) !important; }
.gift-pay-option.selected:last-child { border-bottom-color: var(--as-line, rgba(255,255,255,0.07)) !important; }
/* Faqat sichqoncha bo'lgan qurilmalarda hover */
@media (hover: hover) {
    .payment-method:not(.selected):hover,
    .gift-pay-option:not(.selected):not(.disabled):hover,
    .payment-select-item:not(.selected):hover { background: rgba(255, 255, 255, 0.03) !important; }
}

/* Gift oynasi ixchamroq */
.gift-modal-header { padding: 0 0 14px !important; }
.gift-modal-image { width: 88px; height: 88px; border-radius: 22px; margin-bottom: 10px; }
.gift-modal-image img { width: 64px !important; height: 64px !important; }
.gift-payments { margin-top: 14px; }
.gift-pay-option, .payment-method { min-height: 58px; padding-top: 10px !important; padding-bottom: 10px !important; }

/* Asosiy tugma oyna pastida yopishib turadi (pastga tushmasdan bosiladi) */
.gift-buy-btn,
.modal-sheet .primary-btn,
.payment-continue-btn {
    position: sticky !important;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    z-index: 5;
}
.gift-buy-btn,
.modal-sheet .primary-btn,
.payment-continue-btn {
    box-shadow: 0 6px 18px rgba(10, 124, 255, 0.28), inset 0 1px 0 rgba(255,255,255,0.18), 0 10px 0 10px #242427 !important;
}
.gift-buy-btn:disabled { box-shadow: 0 10px 0 10px #242427 !important; background: #3a3a3e !important; }

/* v10 — "Premium allaqachon bor" ogohlantirishi */
.premium-warning {
    align-items: flex-start;
    gap: 12px;
    background: rgba(255, 159, 10, 0.10) !important;
    border: 1px solid rgba(255, 159, 10, 0.28) !important;
    border-radius: 16px !important;
    padding: 12px 14px !important;
}
.premium-warning .warning-icon {
    width: 32px; height: 32px;
    border-radius: 10px;
    background: rgba(255, 159, 10, 0.16);
    color: #ff9f0a;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.premium-warning .warning-text { display: flex; flex-direction: column; gap: 2px; font-size: 13px; line-height: 1.35; color: #e5e5ea; }
.premium-warning .warning-text strong { font-size: 14px; color: #fff; }
.premium-warning .warning-text span { color: #ffb340; }
#buy-premium-btn:disabled {
    background: #3a3a3e !important;
    color: rgba(255, 255, 255, 0.4) !important;
    box-shadow: none !important;
}
#page-premium .premium-warning { margin: 0 16px 14px !important; }

/* =====================================================================
   v11 — PROFIL (dashboard uslubi)
   ===================================================================== */
#page-profile .pf-card {
    background: var(--as-card, #232326);
    border: 1px solid var(--as-line, rgba(255,255,255,0.07));
    border-radius: 20px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.045), 0 8px 24px rgba(0,0,0,0.18);
    margin-bottom: 12px;
}
.pf-head { padding: 14px; }
.pf-head-row { display: flex; align-items: center; gap: 10px; }
.pf-user { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.pf-avatar {
    width: 52px; height: 52px; border-radius: 16px; overflow: hidden; flex-shrink: 0;
    background: linear-gradient(135deg, #5e8bff, #7b5cff);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; font-weight: 800; color: #fff;
    box-shadow: 0 0 0 2px rgba(255,255,255,0.08);
}
.pf-avatar img { width: 100%; height: 100%; object-fit: cover; }
.pf-user-info { min-width: 0; }
.pf-name { font-size: 17px; font-weight: 800; color: #fff; letter-spacing: -0.2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-tags { display: flex; align-items: center; gap: 6px; margin-top: 4px; flex-wrap: wrap; }
.pf-username { font-size: 12.5px; color: #8e8e93; }
.pf-badge {
    font-size: 11px; font-weight: 700; color: #ffcc4d;
    background: rgba(255, 193, 7, 0.14); border: 1px solid rgba(255, 193, 7, 0.25);
    padding: 2px 7px; border-radius: 7px;
}
.pf-balance {
    flex-shrink: 0; cursor: pointer; position: relative;
    background: rgba(255,255,255,0.05); border: 1px solid var(--as-line, rgba(255,255,255,0.07));
    border-radius: 14px; padding: 8px 30px 8px 12px;
    display: flex; flex-direction: column; gap: 2px;
}
.pf-balance-label { font-size: 11.5px; color: #8e8e93; }
.pf-balance-value { font-size: 15px; font-weight: 800; color: #fff; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pf-balance-plus {
    position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
    width: 18px; height: 18px; border-radius: 6px;
    background: var(--accent, #0a84ff); color: #fff; font-size: 14px; font-weight: 700;
    display: flex; align-items: center; justify-content: center; line-height: 1;
}
.pf-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--as-line, rgba(255,255,255,0.07)); }
.pf-stat { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pf-stat:nth-child(2) { text-align: center; }
.pf-stat:nth-child(3) { text-align: right; }
.pf-stat b { font-size: 16px; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pf-stat span { font-size: 11.5px; color: #8e8e93; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.pf-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.pf-tile {
    position: relative; overflow: hidden; cursor: pointer;
    min-height: 118px; border-radius: 20px; padding: 14px;
    display: flex; flex-direction: column; justify-content: space-between;
    border: 1px solid var(--as-line, rgba(255,255,255,0.07));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}
.pf-tile-hist { background: radial-gradient(120% 120% at 0% 100%, rgba(48,209,88,0.28), rgba(35,35,38,1) 60%); }
.pf-tile-top  { background: radial-gradient(120% 120% at 100% 100%, rgba(255,179,0,0.38), rgba(35,35,38,1) 62%); }
.pf-tile-title { font-size: 14px; font-weight: 800; color: #fff; }
.pf-tile-gif { position: absolute; right: 10px; bottom: 30px; width: 46px; height: 46px; object-fit: contain; opacity: 0.95; }
.pf-tile-sub { font-size: 12.5px; font-weight: 600; color: rgba(255,255,255,0.72); }
.pf-tile:active { transform: scale(0.985); }

.pf-ref { padding: 12px; }
.pf-ref-head {
    display: flex; align-items: center; gap: 8px; cursor: pointer;
    padding: 12px 14px; border-radius: 14px;
    background: linear-gradient(90deg, rgba(10,132,255,0.22), rgba(10,132,255,0.08));
    border: 1px solid rgba(10,132,255,0.28);
}
.pf-ref-title { font-size: 15px; font-weight: 800; color: #fff; text-transform: uppercase; letter-spacing: 0.3px; }
.pf-ref-pill { font-size: 12px; font-weight: 800; color: #fff; background: var(--accent, #0a84ff); padding: 3px 8px; border-radius: 999px; }
.pf-ref-more { margin-left: auto; font-size: 13px; font-weight: 600; color: #4da3ff; }
.pf-ref-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.pf-mini {
    background: rgba(255,255,255,0.04); border: 1px solid var(--as-line, rgba(255,255,255,0.07));
    border-radius: 14px; padding: 12px;
    display: grid; grid-template-columns: 26px 1fr; grid-template-rows: auto auto; column-gap: 8px; row-gap: 4px; align-items: center;
}
.pf-mini-wide { grid-column: 1 / -1; }
.pf-mini-ic { width: 26px; height: 26px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 14px; grid-row: 1; }
.pf-mini-ic.green { background: rgba(48,209,88,0.18); }
.pf-mini-ic.purple { background: rgba(191,90,242,0.2); }
.pf-mini-ic.blue { background: rgba(10,132,255,0.2); }
.pf-mini span { font-size: 12.5px; color: #8e8e93; grid-row: 1; }
.pf-mini b { grid-column: 1 / -1; font-size: 18px; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }

.pf-invite-btn {
    width: 100%; height: 52px; margin: 4px 0 10px;
    border: none; border-radius: 16px;
    background: var(--as-accent-grad, #0a84ff); color: #fff;
    font-size: 16px; font-weight: 700;
    box-shadow: 0 6px 18px rgba(10,124,255,0.28), inset 0 1px 0 rgba(255,255,255,0.18);
}
.pf-invite-btn:active { transform: scale(0.985); }
#page-profile .profile-menu-section { margin-bottom: 12px !important; }
@media (max-width: 360px) {
    .pf-balance-value { font-size: 14px; }
    .pf-stat b { font-size: 15px; }
    .pf-name { font-size: 16px; }
}
.pf-ref-title { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-ref-pill, .pf-ref-more { white-space: nowrap; flex-shrink: 0; }
.pf-tile-sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-tile-title { padding-right: 40px; }
@media (max-width: 360px) {
    .pf-ref-head { padding: 11px 12px; gap: 6px; }
    .pf-ref-title { font-size: 12.5px; letter-spacing: 0; }
    .pf-ref-more { font-size: 12px; }
    .pf-tile-title { font-size: 13px; }
    .pf-tile-sub { font-size: 12px; }
}

/* =====================================================================
   v12 — Emoji o'rniga SVG ikonkalar
   ===================================================================== */
.ic { width: 1em; height: 1em; display: inline-block; vertical-align: -0.14em; flex-shrink: 0; }
.ic-spin { animation: icSpin 0.8s linear infinite; }
@keyframes icSpin { to { transform: rotate(360deg); } }

.pf-mini-ic .ic { width: 15px; height: 15px; }
.pf-mini-ic.green  { color: #30d158; }
.pf-mini-ic.purple { color: #bf5af2; }
.pf-mini-ic.blue   { color: #4da3ff; }
.pf-mini b { display: flex; align-items: center; gap: 6px; }
.pf-star { color: #ffc93c; display: inline-flex; }
.pf-star .ic { width: 16px; height: 16px; }
.pf-badge { display: inline-flex; align-items: center; gap: 4px; }
.pf-badge .ic { width: 11px; height: 11px; }

.pp-card-warning { display: flex; align-items: center; justify-content: center; gap: 6px; }
.pp-card-warning .ic { width: 16px; height: 16px; color: #ff9f0a; }
.po-timer { display: inline-flex; align-items: center; gap: 4px; }
.po-timer .ic { width: 12px; height: 12px; }
.hx-empty-icon { color: #8e8e93; }
.hx-empty-icon .ic { width: 34px; height: 34px; }
.lang-select-icon .ic, .terms-icon .ic { width: 44px; height: 44px; color: var(--accent, #0a84ff); }
.rating-cat-icon .ic { width: 18px; height: 18px; }
.gift-option-icon { color: #ff9f0a; }
.gift-option-icon .ic { width: 20px; height: 20px; }
.gift-card-placeholder, .gift-big-ic { color: #bf5af2; display: flex; align-items: center; justify-content: center; }
.gift-card-placeholder .ic { width: 40px; height: 40px; }
.gift-big-ic .ic { width: 56px; height: 56px; }
.gift-payment-header .ic { width: 30px; height: 30px; }
.gift-warning { display: inline-flex; align-items: center; gap: 6px; }
.gift-warning .ic { width: 15px; height: 15px; }
.gift-buy-btn .ic { width: 16px; height: 16px; vertical-align: -0.2em; }
.gift-success-check { display: flex; align-items: center; justify-content: center; }
.top-rank.gold, .top-rank.silver, .top-rank.bronze {
    color: #1c1c1e !important; font-weight: 800; font-size: 13px;
    width: 26px; height: 26px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
}
.top-rank.gold   { background: linear-gradient(180deg, #ffe07a, #f5b400) !important; }
.top-rank.silver { background: linear-gradient(180deg, #f1f3f6, #b9c0ca) !important; }
.top-rank.bronze { background: linear-gradient(180deg, #f3c79a, #c8834a) !important; }

/* =====================================================================
   v13 — PROFIL SARLAVHASI: markazda avatar, Premium toji, ID
   ===================================================================== */
.pf-hero {
    display: flex; flex-direction: column; align-items: center;
    padding: 18px 0 16px;
    margin: -4px -16px 12px;
    background: radial-gradient(90% 100% at 50% 0%, rgba(10,132,255,0.16), rgba(10,132,255,0) 70%);
}
.pf-hero-avatar { position: relative; width: 96px; height: 96px; }
.pf-hero .pf-avatar {
    width: 96px; height: 96px; border-radius: 50%;
    font-size: 36px;
    box-shadow: 0 0 0 3px #1c1c1e, 0 0 0 6px #2f7cf6, 0 12px 32px rgba(10,132,255,0.25);
}
.pf-crown {
    position: absolute; right: -2px; bottom: 2px;
    width: 30px; height: 30px; border-radius: 50%;
    background: linear-gradient(180deg, #ffd54a, #f5a800);
    color: #3a2a00;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 0 3px #1c1c1e, 0 4px 10px rgba(245,168,0,0.35);
}
.pf-crown svg { width: 17px; height: 17px; }
.pf-hero .pf-name {
    margin-top: 14px;
    font-size: 22px; font-weight: 800; letter-spacing: -0.3px;
    max-width: 90%; text-align: center;
}
.pf-id {
    margin-top: 10px;
    display: inline-flex; align-items: center; gap: 8px;
    height: 36px; padding: 0 14px;
    border-radius: 18px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    color: #fff; cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.pf-id:active { background: rgba(255,255,255,0.12); }
.pf-id-label { font-size: 13px; font-weight: 700; color: #8e8e93; }
.pf-id-value { font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: 0.2px; }
.pf-id svg { width: 16px; height: 16px; color: #c7c7cc; }

.pf-stats-card {
    display: grid; grid-template-columns: repeat(3, 1fr);
    padding: 14px 8px;
}
.pf-stats-card .pf-stat { text-align: center !important; align-items: center; position: relative; }
.pf-stats-card .pf-stat + .pf-stat::before {
    content: ''; position: absolute; left: 0; top: 4px; bottom: 4px; width: 1px;
    background: var(--as-line, rgba(255,255,255,0.07));
}
.pf-stats-card .pf-stat b { font-size: 16px; }
.pf-stat-link { cursor: pointer; }
.pf-stat-link b { color: #4da3ff !important; }
@media (max-width: 360px) {
    .pf-stats-card .pf-stat b { font-size: 14px; }
    .pf-hero-avatar, .pf-hero .pf-avatar { width: 84px; height: 84px; }
}
.pf-mini b .pf-star, .pf-mini b .pf-star svg { color: #ffc93c !important; fill: #ffc93c; }

/* v14 — gift buyurtmalarida aynan o'sha giftning rasmi */
.hx-icon.has-img { background: rgba(191, 90, 242, 0.12); }
.hx-icon.has-img img { width: 32px !important; height: 32px !important; }
.order-detail-icon img { object-fit: contain; }

/* v15 — profil: Reyting o'rniga Referal plitkasi */
.pf-tile-ref { background: radial-gradient(120% 120% at 100% 100%, rgba(10,132,255,0.38), rgba(35,35,38,1) 62%); }

/* v16 — profil: sozlamalar ham plitka ko'rinishida */
.pf-tiles-3 { grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pf-tile-sm { min-height: 104px; padding: 12px; border-radius: 18px; }
.pf-tile-sm .pf-tile-title { font-size: 13.5px; padding-right: 0; }
.pf-tile-sm .pf-tile-gif { width: 34px; height: 34px; right: 10px; bottom: 34px; }
.pf-tile-sm .pf-tile-sub { font-size: 12px; }
.pf-tile-lang { background: radial-gradient(120% 120% at 100% 100%, rgba(191,90,242,0.38), rgba(35,35,38,1) 62%); }
.pf-tile-help { background: radial-gradient(120% 120% at 100% 100%, rgba(255,159,10,0.36), rgba(35,35,38,1) 62%); }
.pf-tile-news { background: radial-gradient(120% 120% at 100% 100%, rgba(255,214,10,0.30), rgba(35,35,38,1) 62%); }
@media (max-width: 360px) {
    .pf-tiles-3 { gap: 6px; }
    .pf-tile-sm { padding: 10px; min-height: 96px; }
    .pf-tile-sm .pf-tile-title { font-size: 12.5px; }
    .pf-tile-sm .pf-tile-sub { font-size: 11px; }
    .pf-tile-sm .pf-tile-gif { width: 28px; height: 28px; }
}

/* =====================================================================
   v17 — REFERAL sahifasi (profil uslubida) va TARIX filtrlari
   ===================================================================== */
.rf-hero {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    padding: 14px 0 16px; margin: -4px -16px 12px;
    background: radial-gradient(90% 100% at 50% 0%, rgba(10,132,255,0.16), rgba(10,132,255,0) 70%);
}
.rf-hero-img {
    width: 92px; height: 92px; border-radius: 28px; overflow: hidden;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 12px 32px rgba(10,132,255,0.22);
}
.rf-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.rf-title { margin: 14px 0 0; font-size: 22px; font-weight: 800; letter-spacing: -0.3px; color: #fff; }
.rf-desc { margin: 6px 0 0; font-size: 13.5px; color: #8e8e93; }
.rf-stats .pf-stat b { display: inline-flex; align-items: center; justify-content: center; gap: 5px; }
.rf-star { color: #ffc93c; display: inline-flex; }
.rf-star .ic { width: 15px; height: 15px; }
.rf-tile-premium { background: radial-gradient(120% 120% at 100% 100%, rgba(10,132,255,0.4), rgba(35,35,38,1) 62%); }
.rf-tile-stars   { background: radial-gradient(120% 120% at 100% 100%, rgba(255,179,0,0.38), rgba(35,35,38,1) 62%); }
.rf-bonus { display: flex; align-items: center; gap: 5px; }
.rf-bonus b { font-size: 24px; font-weight: 800; color: #fff; letter-spacing: -0.3px; }
.rf-bonus .rf-star .ic { width: 18px; height: 18px; }
#page-referral .pf-tile { min-height: 128px; cursor: default; }
#page-referral .pf-tile:active { transform: none; }
#page-referral .pf-tile-sub { white-space: normal; font-size: 12px; }
#page-referral .ref-action-row { margin-top: 2px; }
.rf-withdraw-btn {
    width: 100%; height: 48px; margin: 10px 0 12px;
    border-radius: 14px;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--as-line, rgba(255,255,255,0.07));
    color: #fff; font-size: 15px; font-weight: 700;
    -webkit-tap-highlight-color: transparent;
}
.rf-withdraw-btn:active { background: rgba(255,255,255,0.1); }
.rf-withdraw-btn.is-disabled { color: rgba(255,255,255,0.4); }

/* Tarix filtrlari: turi bo'yicha rangli, zamonaviy kapsulalar */
.history-filters {
    display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
    padding: 2px 16px 4px; margin: 0 -16px 16px;
}
.history-filters::-webkit-scrollbar { display: none; }
.history-filter {
    flex-shrink: 0;
    display: inline-flex; align-items: center; gap: 7px;
    height: 38px; padding: 0 14px 0 12px !important;
    border-radius: 13px !important;
    background: var(--as-card, #232326) !important;
    border: 1px solid var(--as-line, rgba(255,255,255,0.07)) !important;
    color: #a1a1a6 !important;
    font-size: 13.5px !important; font-weight: 700 !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04) !important;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.history-filter img {
    width: 22px !important; height: 22px !important;
    padding: 3px; border-radius: 7px;
    background: rgba(255,255,255,0.06);
    box-sizing: border-box;
}
.history-filter.active { color: #fff !important; box-shadow: none !important; }
.history-filter[data-filter="all"].active     { background: var(--as-accent-grad, #0a84ff) !important; border-color: transparent !important; box-shadow: 0 4px 12px rgba(10,124,255,0.3) !important; }
.history-filter[data-filter="stars"].active   { background: rgba(255,179,0,0.18) !important;  border-color: rgba(255,179,0,0.45) !important; }
.history-filter[data-filter="premium"].active { background: rgba(10,132,255,0.18) !important; border-color: rgba(10,132,255,0.5) !important; }
.history-filter[data-filter="gift"].active    { background: rgba(191,90,242,0.18) !important; border-color: rgba(191,90,242,0.5) !important; }
.history-filter[data-filter="topup"].active   { background: rgba(48,209,88,0.16) !important;  border-color: rgba(48,209,88,0.45) !important; }
.hf-ic { width: 16px; height: 16px; }
#page-referral .pf-card {
    background: var(--as-card, #232326);
    border: 1px solid var(--as-line, rgba(255,255,255,0.07));
    border-radius: 20px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.045), 0 8px 24px rgba(0,0,0,0.18);
    margin-bottom: 12px;
}
#page-referral .rf-stats .pf-stat b { font-size: 18px; }
#page-referral .rf-stats .pf-stat b,
#page-referral .rf-stats .pf-stat b span:not(.rf-star) { font-size: 18px !important; font-weight: 800 !important; color: #fff !important; }
#page-referral .rf-stats .rf-star,
#page-referral .rf-stats .rf-star svg { color: #ffc93c !important; fill: #ffc93c; }

/* ==========================================================================
   v18 — Sahifaga mos skeleton, rasm yuklanishi, yangi to'lov oynasi
   ========================================================================== */
@keyframes asSk { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
.sk-b, .as-ghost .gh, .as-ghost .gh-box, img.as-ld {
    background: linear-gradient(90deg, rgba(255,255,255,.055) 30%, rgba(255,255,255,.12) 50%, rgba(255,255,255,.055) 70%) !important;
    background-size: 300% 100% !important;
    animation: asSk 1.5s ease-in-out infinite;
}
.sk-b {
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
    border-radius: 6px;
}
.sk-b * { visibility: hidden !important; }
img.sk-b { object-position: -9999px 0; border-radius: 12px; }
svg.sk-b { border-radius: 8px; }
img.as-ld { color: transparent; border-radius: 12px; }
.as-ghost .gh { display: inline-block; max-width: 100%; border-radius: 6px; vertical-align: middle; }
.as-ghost .gh-box { border-radius: 12px; }
.as-ghost .gh-box img { display: none; }
.as-ghost .hx-side { align-items: flex-end; gap: 6px; }
.as-ghost .hx-sub { margin-top: 6px; }
.as-ghost .gh-img { width: 56px; height: 56px; border-radius: 14px; display: block; margin: 0 auto; }
.gift-card.as-ghost { pointer-events: none; }
.gift-card.as-ghost .gift-card-name, .gift-card.as-ghost .gift-card-price { display: flex; justify-content: center; margin-top: 6px; }
.as-ghost { pointer-events: none; }
.skeleton-page-wrapper { display: none !important; }

/* Rasm yuklanmasa — zaxira belgi */
.as-fb {
    display: inline-grid; place-items: center;
    width: 100%; height: 100%; min-width: 24px; min-height: 24px;
    color: #fff; font-weight: 700; font-size: 15px; line-height: 1;
    border-radius: 10px;
}
.as-fb-gift { background: linear-gradient(135deg, #3a2f5c, #24203a); color: #b9a6ff; border-radius: 14px; }
.as-fb-gift svg { width: 46%; height: 46%; }

/* ---------------- To'lov oynasi (Tez uslub) ---------------- */
.modal-sheet.as-pay { background: #1f1f22 !important; border-top: 1px solid rgba(255,255,255,.06); }
.modal-sheet.as-pay .modal-header { justify-content: center; border-bottom: 0 !important; padding-top: 6px; padding-bottom: 6px; }
.modal-sheet.as-pay .modal-title { width: 100%; text-align: center; font-size: 15px; font-weight: 700; }
.modal-sheet.as-pay .modal-close { display: none; }
.modal-sheet.as-pay .modal-body { padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
.aps-sub { text-align: center; font-size: 13px; color: #8e8e93; margin: -2px 0 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aps-sub b { color: #fff; font-weight: 700; }
.aps-label { font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: #8e8e93; font-weight: 600; margin: 14px 2px 8px; }
.aps-list.shake { animation: apsShake .35s ease; }
@keyframes apsShake { 0%,100% { transform: none; } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.aps-it {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 12px; margin-bottom: 8px;
    background: #26262a; border: 1.5px solid rgba(255,255,255,.07); border-radius: 14px;
    cursor: pointer; -webkit-tap-highlight-color: transparent; user-select: none;
    transition: border-color .15s ease, background-color .15s ease;
    transform: none !important;
}
.aps-it:last-child { margin-bottom: 0; }
.aps-it.on { border-color: #0a84ff; background: rgba(10,132,255,.08); }
.aps-it.dis { opacity: .5; }
.aps-it.dis .aps-nm small { opacity: 1; }
.aps-rd { width: 18px; height: 18px; flex-shrink: 0; box-sizing: border-box; border-radius: 50%; border: 2px solid rgba(255,255,255,.28); transition: all .15s ease; }
.aps-it.on .aps-rd { border-color: #0a84ff; background: #0a84ff; box-shadow: inset 0 0 0 3px #1f1f22; }
.aps-lg { width: 36px; height: 36px; flex-shrink: 0; border-radius: 10px; overflow: hidden; background: #2c2c30; display: grid; place-items: center; }
.aps-lg img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.aps-lg .as-fb { border-radius: 0; }
.aps-nm { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.aps-nm b { font-size: 15px; font-weight: 700; color: #fff; }
.aps-nm small { font-size: 12px; color: #8e8e93; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aps-nm small a { color: #3d9bff; font-weight: 600; text-decoration: none; cursor: pointer; }
.aps-rem { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 14px 0 2px; font-size: 13px; font-weight: 600; color: #d1d1d6; cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent; }
.aps-cb { width: 18px; height: 18px; box-sizing: border-box; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); transition: all .15s ease; }
.aps-cb.on { background: #0a84ff; border-color: #0a84ff; box-shadow: inset 0 0 0 3px #1f1f22; }
/* Eski Telegram uchun zaxira HTML tugma */
.aps-fbbtn { position: relative; overflow: hidden; width: 100%; height: 50px; margin-top: 14px; border: 0; border-radius: 12px; background: #0a84ff; color: #fff; font-size: 15.5px; font-weight: 600; font-family: inherit; }
.aps-fbbtn:disabled { background: #2c2c30; color: #6d6d72; }
.aps-fbbtn.loading { color: transparent; }
.aps-fbbtn.loading::after { content: ''; position: absolute; left: 50%; top: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border: 2.5px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: apsSpin .8s linear infinite; }
@keyframes apsSpin { to { transform: rotate(360deg); } }
/* Gift qismi */
.aps-hero { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: #26262a; border: 1px solid rgba(255,255,255,.06); border-radius: 14px; }
.aps-hero-img { width: 52px; height: 52px; flex-shrink: 0; border-radius: 12px; background: #2c2c30; display: grid; place-items: center; overflow: hidden; }
.aps-hero-img img { width: 46px; height: 46px; object-fit: contain; }
.aps-hero-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.aps-hero-txt b { font-size: 16px; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aps-hero-txt small { font-size: 12px; color: #8e8e93; }
.aps-hero-price { font-size: 15px; font-weight: 700; color: #fff; text-align: right; white-space: nowrap; }
.aps-hero-price small { display: block; font-size: 11px; color: #8e8e93; font-weight: 500; margin-top: 2px; }
.aps-opt { margin-top: 10px !important; margin-bottom: 0 !important; }
.gift-card-image .as-fb, .gift-modal-image .as-fb { width: 56px !important; height: 56px !important; margin: 0 auto; border-radius: 14px !important; }
.hx-icon .as-fb, .aps-hero-img .as-fb { width: 100% !important; height: 100% !important; }
/* v18.1 — tezlik: to'lov oynasida orqa fon blur o'chirildi (iPhone'da qotishning sababi) */
.modal-overlay:has(.modal-sheet.as-pay) { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; background: rgba(0,0,0,.62) !important; }
.modal-sheet.as-pay { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
@media (prefers-reduced-motion: reduce) { .sk-b, .as-ghost .gh, .as-ghost .gh-box, img.as-ld { animation: none; } }
/* v18.2 — tezlik: backdrop-filter faqat pastki menyuda qoladi.
   Kartalar foni deyarli to'liq qora bo'lgani uchun ko'rinish o'zgarmaydi (piksel solishtiruvida farq 0),
   lekin iPhone'da har bir animatsiya kadrida blur qayta hisoblanmaydi — qotish yo'qoladi. */
*:not(.navbar-gift):not(.navbar-gift *), *::before, *::after { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
img[data-anim] { image-rendering: auto; }
/* v18.3 — Referal: Stars yechib olish oynasi */
.wd-hero { text-align: center; padding: 6px 0 4px; }
.wd-amount { display: inline-flex; align-items: center; gap: 8px; font-size: 38px; font-weight: 800; color: #fff; letter-spacing: -.5px; line-height: 1.1; }
.wd-star { width: 30px; height: 30px; }
.wd-cap { font-size: 13px; color: #8e8e93; margin-top: 6px; }
.wd .aps-label { margin-top: 18px; }
.wd-av { border-radius: 50% !important; background: linear-gradient(135deg, #5e5ce6, #0a84ff) !important; }
.wd-av img { width: 100%; height: 100%; object-fit: cover; }
.wd-av span { color: #fff; font-weight: 700; font-size: 15px; }
.wd-ic { color: #8e8e93; }
.wd-ic svg { width: 20px; height: 20px; }
.wd-other { display: none; align-items: center; gap: 4px; height: 48px; padding: 0 14px; margin: -2px 0 8px; background: #26262a; border: 1.5px solid #0a84ff; border-radius: 14px; }
.wd-other.show { display: flex; }
.wd-other.shake { animation: apsShake .35s ease; border-color: #ff453a; }
.wd-at { color: #8e8e93; font-size: 16px; font-weight: 600; }
.wd-other input { flex: 1; min-width: 0; height: 100%; background: transparent; border: 0; outline: 0; color: #fff; font-size: 16px; font-family: inherit; }
.wd-other input::placeholder { color: #5c5c61; }
.wd-note { font-size: 12px; color: #8e8e93; text-align: center; margin: 14px 8px 2px; line-height: 1.45; }
.wd-done { text-align: center; padding: 18px 0 8px; }
.wd-ok { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; background: rgba(48,209,88,.14); color: #30d158; display: grid; place-items: center; }
.wd-ok svg { width: 32px; height: 32px; }
.wd-done b { display: block; font-size: 18px; color: #fff; }
.wd-done p { margin: 6px 0 0; font-size: 14px; color: #8e8e93; }
/* v18.4 — Til tanlash: bayroq emoji o'rniga toza kod belgisi */
.lang-b { width: 36px; height: 36px; flex-shrink: 0; border-radius: 10px; background: #2c2c30; color: #d1d1d6; display: grid; place-items: center; font-size: 12.5px; font-weight: 700; letter-spacing: .3px; }
.aps-it.on .lang-b { background: rgba(10,132,255,.16); color: #4da3ff; }
.lang-option { display: flex !important; align-items: center; gap: 12px; text-align: left; }
.lang-option .lang-b { width: 38px; height: 38px; }
.lang-option .lang-name { display: flex; flex-direction: column; gap: 1px; }
.lang-option .lang-name small { font-size: 12px; font-weight: 500; color: #8e8e93; }
/* v18.50 — endi real animatsion bayroq giflar ko'rsatiladi (eski yashirish qoidasi olib tashlandi) */
.lang-option .lang-b { background: #3a3a3e; color: #e5e5ea; }
/* v18.11 — Kanalga obuna taklifi (ArzonStars uslubi) */
#as-promo { position: fixed; inset: 0; z-index: 9990; pointer-events: none; }
#as-promo .pr-ov { position: absolute; inset: 0; background: rgba(4,10,16,.62); opacity: 0; transition: opacity .25s ease; pointer-events: auto; }
#as-promo .pr-sheet {
    position: absolute; left: 0; right: 0; bottom: 0; overflow: hidden; pointer-events: auto;
    border-radius: 26px 26px 0 0; background: #0f1418;
    box-shadow: 0 -12px 40px rgba(0,0,0,.45);
    transform: translateY(105%); transition: transform .32s cubic-bezier(.2,.9,.25,1);
}
#as-promo.on .pr-ov { opacity: 1; }
#as-promo.on .pr-sheet { transform: none; }
/* Yuqori brend qismi: logotip ranglari + olmos naqsh */
#as-promo .pr-art {
    position: relative; height: 128px;
    background: linear-gradient(155deg, #6fb9d2 0%, #2f8ab6 42%, #1a6795 100%);
}
#as-promo .pr-pat {
    position: absolute; inset: -20px; opacity: .17;
    background-image: url("../images/as-pattern.png");
    background-size: 88px 88px;
    transform: rotate(-8deg);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.6) 55%, transparent 92%); mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.6) 55%, transparent 92%);
}
#as-promo .pr-art::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 84px; background: linear-gradient(180deg, rgba(15,20,24,0), #0f1418); }
#as-promo .pr-x { position: absolute; top: 14px; right: 14px; z-index: 2; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(8,30,45,.35); color: #fff; display: grid; place-items: center; cursor: pointer; -webkit-tap-highlight-color: transparent; }
#as-promo .pr-x svg { width: 17px; height: 17px; }
#as-promo .pr-logo { position: relative; z-index: 2; width: 84px; height: 84px; margin: -64px auto 0; border-radius: 24px; overflow: hidden; border: 3px solid #0f1418; box-shadow: 0 10px 28px rgba(26,103,149,.45); }
#as-promo .pr-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
#as-promo .pr-body { padding: 12px 20px calc(18px + env(safe-area-inset-bottom, 0px)); text-align: center; }
#as-promo .pr-title { font-size: 22px; font-weight: 800; color: #fff; letter-spacing: -.2px; }
#as-promo .pr-sub { margin-top: 4px; font-size: 13px; font-weight: 600; color: #6fb9d2; }
#as-promo .pr-p { margin: 14px auto 20px; max-width: 320px; font-size: 14.5px; line-height: 1.5; color: rgba(255,255,255,.7); }
#as-promo .pr-btn {
    width: 100%; height: 52px; border: 0; border-radius: 14px; cursor: pointer; -webkit-tap-highlight-color: transparent;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    background: linear-gradient(135deg, #3a9cc6 0%, #1a6795 100%); color: #fff; font-size: 16px; font-weight: 700; font-family: inherit;
    box-shadow: 0 8px 22px rgba(26,103,149,.35);
}
#as-promo .pr-btn svg { width: 20px; height: 20px; }
#as-promo .pr-btn:active { opacity: .88; }
/* v18.15 — Payme (hozircha faqat admin uchun) */
.pp-pay-link.payme { background: linear-gradient(135deg, #00c4cf, #0094a3); box-shadow: 0 4px 16px rgba(0,180,190,.3); }
.pp-pay-link .as-fb { width: 28px !important; height: 28px !important; border-radius: 8px !important; font-size: 13px; background: rgba(255,255,255,.25) !important; }
/* v18.18 — To'ldirish qatorlarida to'lov tizimi logotipi (to'lov oynasidagi kabi kvadrat plitka) */
.hx-icon.pay-logo { background: none !important; overflow: hidden; padding: 0; }
.hx-icon.pay-logo img { width: 100% !important; height: 100% !important; object-fit: cover; border-radius: inherit; }
.order-detail-icon.pay-logo { background: none !important; overflow: hidden; border-radius: 12px !important; }
.order-detail-icon.pay-logo img { width: 100% !important; height: 100% !important; object-fit: cover; border-radius: inherit; }

/* ===================== v18.21: HISOBNI TO'LDIRISH (A1) + TO'LOV OYNASI (C2/C3) ===================== */
#page-topup.tp.active { display: flex; flex-direction: column; min-height: calc(var(--tg-viewport-stable-height, 100vh) - 20px); padding-bottom: 12px; }
#page-topup .tp-bal { text-align: center; font-size: 13px; color: #8e8e93; margin-top: 8px; }
#page-topup .tp-bal b { color: #fff; font-weight: 600; }
#page-topup .tp-amt { display: flex; align-items: baseline; justify-content: center; gap: 6px; margin: 22px 0 4px; }
#page-topup .tp-amt span { font: 800 56px/1.05 -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif; letter-spacing: -2px; color: #fff; font-variant-numeric: tabular-nums; }
#page-topup .tp-amt.long span { font-size: 44px; }
#page-topup .tp-amt span.ph { color: #48484d; }
#page-topup .tp-amt em { font-style: normal; font-size: 22px; font-weight: 600; color: #8e8e93; }
#page-topup .tp-after { text-align: center; font-size: 13px; color: #8e8e93; min-height: 18px; }
#page-topup .tp-after b { color: #30d158; font-weight: 600; }
#page-topup .tp-chips { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 16px 0 16px; }
#page-topup .tp-chips .topup-quick-btn { all: unset; box-sizing: border-box; padding: 7px 13px; border-radius: 20px; background: #1f1f22; font-size: 13px; font-weight: 600; color: #c7c7cc; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: transform .1s, background .15s; }
#page-topup .tp-chips .topup-quick-btn:active { transform: scale(.95); background: rgba(10,132,255,.18); color: #4da3ff; }
#page-topup .tp-pm { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: #1c1c1f; border: 1px solid rgba(255,255,255,.06); cursor: pointer; -webkit-tap-highlight-color: transparent; }
#page-topup .tp-pm:active { background: #232326; }
#page-topup .tp-pm-ch { margin-left: auto; flex-shrink: 0; font-size: 13px; color: #4da3ff; font-weight: 600; }
#page-topup .tp-pm-0 { background: rgba(10,132,255,.14) !important; color: #4da3ff; display: grid !important; place-items: center; }
#page-topup .tp-pm-0 svg { width: 22px; height: 22px; }
#page-topup .tp-pm.shake { animation: apsShake .35s ease; }
#page-topup .tp-cash { margin-top: 10px; border-radius: 16px; background: #1c1c1f; border: 1px solid rgba(255,255,255,.06); overflow: hidden; }
#page-topup .tp-cash-h { display: flex; align-items: center; gap: 12px; padding: 12px 14px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
#page-topup .tp-cash-lg { width: 40px; height: 40px; flex-shrink: 0; border-radius: 11px; overflow: hidden; }
#page-topup .tp-cash-lg img { width: 100%; height: 100%; object-fit: cover; display: block; }
#page-topup .tp-cash-t { flex: 1; min-width: 0; }
#page-topup .tp-cash-t b { display: block; font-size: 14.5px; color: #fff; }
#page-topup .tp-cash-t small { display: block; font-size: 12px; color: #8e8e93; margin-top: 1px; }
#page-topup .tp-cash-chev { color: #8e8e93; transition: transform .2s; }
#page-topup .tp-cash-chev svg { width: 20px; height: 20px; display: block; }
#page-topup .tp-cash.open .tp-cash-chev { transform: rotate(180deg); }
#page-topup .tp-cash-b { display: none; padding: 0 14px 14px; }
#page-topup .tp-cash.open .tp-cash-b { display: block; }
#page-topup .tp-cash-img { margin-top: 14px; border-radius: 12px; overflow: hidden; }
#page-topup .tp-cash-img img { width: 100%; display: block; }
#page-topup .tp-kp { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: auto; padding-top: 10px; }
#page-topup.cash-open .tp-kp { display: none; }
#page-topup .tp-kp button { all: unset; height: 56px; display: grid; place-items: center; font: 500 26px -apple-system, BlinkMacSystemFont, sans-serif; color: #fff; border-radius: 14px; cursor: pointer; -webkit-tap-highlight-color: transparent; user-select: none; }
#page-topup .tp-kp button:active { background: rgba(255,255,255,.08); }
#page-topup .tp-kp button.s { font-size: 16px; color: #8e8e93; }
#page-topup .tp-kp button svg { width: 26px; height: 26px; }
#page-topup .tp-fbbtn { display: block; width: 100%; height: 50px; margin-top: 10px; border: 0; border-radius: 12px; background: #0a84ff; color: #fff; font: 600 15.5px -apple-system, sans-serif; position: relative; flex-shrink: 0; }
#page-topup .tp-fbbtn.native { display: none; }
#page-topup .tp-fbbtn:disabled { background: #2c2c30; color: #6d6d72; }
#page-topup .tp-fbbtn.loading { color: transparent; }
#page-topup .tp-fbbtn.loading::after { content: ''; position: absolute; left: 50%; top: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border: 2.5px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: apsSpin .8s linear infinite; }

/* Ro'yxat qatori (C uslubi) — sahifa va oynalar uchun umumiy */
.pc-grp { border-radius: 16px; background: #232326; overflow: hidden; }
.pc-grp + .pc-grp { margin-top: 10px; }
.pc-it { position: relative; display: flex; align-items: center; gap: 13px; padding: 11px 14px; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background .12s; }
.pc-it:active { background: rgba(255,255,255,.04); }
.pc-it + .pc-it::before { content: ''; position: absolute; top: 0; left: 67px; right: 0; height: 1px; background: rgba(255,255,255,.07); }
.pc-lg { width: 40px; height: 40px; flex-shrink: 0; border-radius: 11px; overflow: hidden; background: #2c2c30; }
.pc-lg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pc-nm { flex: 1; min-width: 0; }
.pc-nm b { display: block; font-size: 15px; font-weight: 600; color: #fff; }
.pc-nm small { display: block; font-size: 12px; color: #8e8e93; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-nm small i { font-style: normal; color: #30d158; font-weight: 600; }
.pc-nm small a { color: #4da3ff; font-weight: 600; text-decoration: none; cursor: pointer; }
.pc-ck { width: 22px; height: 22px; flex-shrink: 0; color: #0a84ff; opacity: 0; transform: scale(.6); transition: all .15s; }
.pc-ck svg { width: 22px; height: 22px; display: block; }
.pc-it.on .pc-ck { opacity: 1; transform: none; }
.pc-it.dis .pc-lg, .pc-it.dis .pc-nm b { opacity: .45; }
.pc-ord { text-align: center; padding: 2px 0 6px; }
.pc-ord img { width: 56px; height: 56px; object-fit: contain; display: block; margin: 0 auto; }
.pc-ord b { display: block; margin-top: 6px; font: 800 30px/1.1 -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif; letter-spacing: -.5px; color: #fff; }
.pc-ord small { display: block; margin-top: 4px; font-size: 13px; color: #8e8e93; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aps.apc .aps-label { margin-top: 16px; }
.aps-list.shake { animation: apsShake .35s ease; }
.apc-rem { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding: 0 2px; cursor: pointer; -webkit-tap-highlight-color: transparent; user-select: none; }
.apc-rem b { display: block; font-size: 14px; font-weight: 600; color: #e5e5ea; }
.apc-rem small { display: block; font-size: 11.5px; color: #8e8e93; margin-top: 1px; }
.apc-sw { position: relative; width: 44px; height: 26px; flex-shrink: 0; border-radius: 13px; background: #3a3a3e; transition: background .2s; }
.apc-sw::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.apc-sw.on { background: #0a84ff; }
.apc-sw.on::after { transform: translateX(18px); }

/* Paynet ko'rsatmasi */
.tpc-id { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 14px; background: #1b2a20; border: 1px solid rgba(48,209,88,.25); }
.tpc-id small { display: block; font-size: 12px; color: #7fd19a; }
.tpc-id b { font-size: 22px; letter-spacing: 2px; color: #fff; font-variant-numeric: tabular-nums; }
.tpc-copy { border: 0; padding: 9px 14px; border-radius: 10px; background: rgba(48,209,88,.18); color: #5be38a; font: 700 13px -apple-system, sans-serif; flex-shrink: 0; }
.tpc-copy.ok { background: #30d158; color: #0b2913; }
.tpc-steps { margin-top: 14px; display: grid; gap: 10px; }
.tpc-st { display: flex; gap: 11px; align-items: flex-start; }
.tpc-st span { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: #2c2c30; display: grid; place-items: center; font-size: 11.5px; font-weight: 700; color: #fff; }
.tpc-st p { margin: 1px 0 0; font-size: 13.5px; line-height: 1.42; color: #d1d1d6; }

/* ===================== v18.25: NFT SOVG'A XARIDI (Portals) ===================== */
.rt-svc-ic { width: 52px; height: 52px; flex-shrink: 0; border-radius: 14px; display: grid; place-items: center; color: #ffd36b;
    background: radial-gradient(120% 120% at 30% 20%, rgba(255,196,64,.28), rgba(255,140,40,.10)); }
.rt-svc-ic svg { width: 28px; height: 28px; }
.rt-badge { font-style: normal; font-size: 9.5px; font-weight: 800; letter-spacing: .06em; padding: 2px 6px; border-radius: 6px; background: rgba(10,132,255,.18); color: #4da3ff; vertical-align: 2px; margin-left: 4px; }

.rt-head { padding: 6px 2px 0; }
.rt-title { font-size: 26px; font-weight: 800; letter-spacing: -.4px; color: #fff; margin: 0; }
.rt-sub { margin: 4px 0 0; font-size: 13.5px; color: #8e8e93; }
.rt-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 3px; margin: 16px 0 14px; border-radius: 12px; background: #1c1c1f; }
.rt-tab { all: unset; text-align: center; height: 34px; line-height: 34px; border-radius: 9px; font-size: 13.5px; font-weight: 600; color: #8e8e93; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.rt-tab.on { background: #2c2c30; color: #fff; }
.rt-tab span:not(:empty) { display: inline-block; min-width: 18px; height: 18px; line-height: 18px; padding: 0 5px; margin-left: 4px; border-radius: 9px; background: #0a84ff; color: #fff; font-size: 11px; font-weight: 700; box-sizing: border-box; }

.rt-cols { display: flex; gap: 8px; overflow-x: auto; margin: 0 -16px 14px; padding: 0 16px 2px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.rt-cols::-webkit-scrollbar { display: none; }
.rt-col { all: unset; flex-shrink: 0; padding: 8px 12px; border-radius: 12px; background: #1c1c1f; border: 1.5px solid transparent; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.rt-col b { display: block; font-size: 13px; font-weight: 700; color: #fff; white-space: nowrap; }
.rt-col small { display: block; font-size: 11px; color: #8e8e93; margin-top: 1px; white-space: nowrap; }
.rt-col.on { border-color: #0a84ff; background: rgba(10,132,255,.10); }

.rt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rt-card { border-radius: 16px; background: #1c1c1f; padding: 8px 8px 10px; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: transform .1s; min-width: 0; }
.rt-card:active { transform: scale(.97); }
.rt-im, .rt-hero-im, .rt-row-im { position: relative; display: block; overflow: hidden; background: #26262a; }
.rt-im { width: 100%; aspect-ratio: 1; border-radius: 12px; }
.rt-im img, .rt-hero-im img, .rt-row-im img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.rt-im i, .rt-hero-im i, .rt-row-im i { position: absolute; inset: 0; display: grid; place-items: center; color: #48484d; font-style: normal; }
.rt-im i svg { width: 38%; height: 38%; }
.rt-row-im i svg, .rt-hero-im i svg { width: 45%; height: 45%; }
.rt-card b { display: block; margin: 8px 2px 0; font-size: 13.5px; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rt-card small { display: block; margin: 1px 2px 0; font-size: 11.5px; color: #8e8e93; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-height: 14px; }
.rt-pr { display: block; margin: 6px 2px 0; font-size: 11.5px; color: #8e8e93; }
.rt-pr em { font-style: normal; font-size: 14px; font-weight: 800; color: #fff; }
.rt-card.sk { cursor: default; }
.rt-card.sk b, .rt-card.sk small { height: 12px; border-radius: 6px; width: 70%; }
.rt-card.sk small { width: 45%; margin-top: 6px; }
.rt-more { display: block; width: 100%; height: 44px; margin-top: 14px; border: 0; border-radius: 12px; background: #1c1c1f; color: #4da3ff; font: 600 14px -apple-system, sans-serif; }
.rt-more[hidden] { display: none; }
.rt-more.loading { color: #8e8e93; }
.rt-empty { grid-column: 1 / -1; text-align: center; padding: 36px 16px; color: #8e8e93; font-size: 14px; line-height: 1.45; white-space: pre-line; word-break: break-word; }
.rt-empty button { display: block; margin: 14px auto 0; padding: 9px 16px; border: 0; border-radius: 10px; background: rgba(10,132,255,.15); color: #4da3ff; font: 600 13.5px -apple-system, sans-serif; }

.rt-at { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; padding: 2px 0; }
.rt-at span { color: #8e8e93; flex-shrink: 0; }
.rt-at b { color: #e5e5ea; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rt-sum { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: #232326; }
.rt-sum span { font-size: 13.5px; color: #8e8e93; }
.rt-sum b { font-size: 20px; font-weight: 800; color: #fff; }
.rt-err { color: #ff6b6b; font-size: 13px; font-weight: 600; }
.rt-sum .rt-err { font-size: 13px; }
.rt-note { margin-top: 10px; font-size: 12px; line-height: 1.45; color: #8e8e93; padding: 0 2px; }
.rt-dots { display: inline-flex; gap: 4px; font-style: normal; }
.rt-dots i { width: 6px; height: 6px; border-radius: 50%; background: #5f5f64; animation: rtDot 1s infinite ease-in-out; }
.rt-dots i:nth-child(2) { animation-delay: .15s; }
.rt-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes rtDot { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }

/* Natija */
.rt-done { text-align: center; padding: 18px 8px 8px; }
.rt-done b { display: block; margin-top: 14px; font-size: 18px; color: #fff; }
.rt-done p { margin: 8px 0 0; font-size: 13.5px; line-height: 1.45; color: #aeaeb2; }
.rt-spin { display: inline-block; width: 44px; height: 44px; border-radius: 50%; border: 3px solid rgba(10,132,255,.25); border-top-color: #0a84ff; animation: apsSpin .9s linear infinite; }
.rt-okic { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: rgba(48,209,88,.16); color: #30d158; }
.rt-okic svg { width: 28px; height: 28px; }
.rt-btn { display: block; width: 100%; height: 46px; margin-top: 18px; border: 0; border-radius: 12px; background: #0a84ff; color: #fff; font: 600 15px -apple-system, sans-serif; }

/* Ijaralarim */
.rt-list { display: grid; gap: 8px; }
.rt-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px; background: #1c1c1f; }
.rt-row-im { width: 52px; height: 52px; flex-shrink: 0; border-radius: 12px; }
.rt-row-t { flex: 1; min-width: 0; }
.rt-row-t b { display: block; font-size: 14.5px; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rt-row-t small { display: block; font-size: 12px; color: #8e8e93; margin-top: 2px; }
.rt-row-r { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex-shrink: 0; }
.rt-pill { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 8px; background: #2c2c30; color: #aeaeb2; white-space: nowrap; }
.rt-row.st-active .rt-pill { background: rgba(48,209,88,.15); color: #30d158; }
.rt-row.st-processing .rt-pill, .rt-row.st-review .rt-pill { background: rgba(255,159,10,.15); color: #ff9f0a; }
.rt-row.st-failed .rt-pill { background: rgba(255,69,58,.14); color: #ff6b6b; }
.rt-row.st-expired { opacity: .6; }
.rt-mini { border: 0; padding: 7px 11px; border-radius: 9px; background: #0a84ff; color: #fff; font: 700 12px -apple-system, sans-serif; white-space: nowrap; }
.rt-mini.ghost { background: rgba(10,132,255,.14); color: #4da3ff; }
.rt-row.sk b, .rt-row.sk small { height: 12px; border-radius: 6px; width: 60%; }
.rt-row.sk .rt-im { width: 52px; height: 52px; aspect-ratio: auto; flex-shrink: 0; }


#page-nft.rt { padding-bottom: 110px; }
.nf-hero { display: flex; justify-content: center; }
.nf-hero-im { position: relative; display: block; width: 168px; height: 168px; border-radius: 22px; overflow: hidden; background: #26262a; }
.nf-hero-im img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.nf-hero-im i { position: absolute; inset: 0; display: grid; place-items: center; color: #48484d; font-style: normal; }
.nf-hero-im i svg { width: 40%; height: 40%; }
.nf-name { text-align: center; margin-top: 12px; font-size: 19px; font-weight: 800; color: #fff; }
.nf-attrs { margin: 12px 0 0; padding: 8px 14px; border-radius: 14px; background: #232326; }
.nf-attrs .rt-at { padding: 5px 0; font-size: 13px; }
.nf-attrs .rt-at + .rt-at { border-top: 1px solid rgba(255,255,255,.06); }

/* v18.26: NFT katalog — qidiruv, tartib, filtrlar, ro'yxat ko'rinishi */
.nf-bar { display: flex; gap: 8px; align-items: center; }
.nf-search { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 12px; border-radius: 14px; background: #1c1c1f; border: 1px solid rgba(255,255,255,.06); color: #8e8e93; box-sizing: border-box; }
.nf-search svg { width: 18px; height: 18px; flex-shrink: 0; }
.nf-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: #fff; font: 15px -apple-system, BlinkMacSystemFont, sans-serif; -webkit-appearance: none; }
.nf-search input::placeholder { color: #8e8e93; }
.nf-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.nf-search.in-sheet { margin-bottom: 10px; background: #232326; }
.nf-ib { all: unset; flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%; background: #1c1c1f; border: 1px solid rgba(255,255,255,.06); display: grid; place-items: center; color: #e5e5ea; cursor: pointer; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
.nf-ib svg { width: 19px; height: 19px; }
.nf-ib.on { color: #4da3ff; border-color: rgba(10,132,255,.5); background: rgba(10,132,255,.12); }
#nf-view .v-list { display: none; }
#nf-view.list .v-grid { display: none; }
#nf-view.list .v-list { display: block; }
.nf-filters { display: flex; align-items: center; gap: 8px; margin: 10px -16px 0; padding: 0 16px 2px; overflow-x: auto; scrollbar-width: none; }
.nf-filters::-webkit-scrollbar { display: none; }
.nf-filters .nf-ib { width: 38px; height: 38px; }
.nf-sep { width: 1px; height: 22px; background: rgba(255,255,255,.12); flex-shrink: 0; }
.nf-chip { all: unset; flex-shrink: 0; display: inline-flex; align-items: center; gap: 4px; height: 38px; padding: 0 12px 0 14px; border-radius: 19px; background: #1c1c1f; border: 1px solid rgba(255,255,255,.06); font-size: 13.5px; font-weight: 700; color: #fff; cursor: pointer; box-sizing: border-box; max-width: 190px; -webkit-tap-highlight-color: transparent; }
.nf-chip span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nf-chip .nf-ch { width: 15px; height: 15px; flex-shrink: 0; color: #8e8e93; }
.nf-chip.on { background: rgba(10,132,255,.14); border-color: rgba(10,132,255,.55); color: #4da3ff; }
.nf-chip.on .nf-ch { color: #4da3ff; }
.nf-chip.dis { color: #6d6d72; }
.nf-info { display: flex; justify-content: space-between; align-items: center; min-height: 18px; margin: 12px 2px 10px; font-size: 12.5px; color: #8e8e93; }
.nf-info button { border: 0; background: none; padding: 0; color: #4da3ff; font: 600 12.5px -apple-system, sans-serif; }
.nf-num { color: #8e8e93; font-weight: 600; }
.nf-price { flex-shrink: 0; padding: 7px 12px; border-radius: 16px; background: #0a84ff; color: #fff; font-size: 13.5px; font-weight: 800; font-variant-numeric: tabular-nums; }
.nf-price.block { display: block; margin: 8px 0 0; padding: 6px 0; text-align: center; border-radius: 10px; font-size: 13px; }
.rt-grid.nf-list { display: block; border-radius: 18px; background: #1c1c1f; overflow: hidden; }
.nf-row { display: flex; align-items: center; gap: 12px; padding: 9px 12px; cursor: pointer; -webkit-tap-highlight-color: transparent; position: relative; }
.nf-row + .nf-row::before { content: ''; position: absolute; top: 0; left: 70px; right: 0; height: 1px; background: rgba(255,255,255,.06); }
.nf-row:active { background: rgba(255,255,255,.04); }
.nf-row-im { position: relative; display: block; width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; overflow: hidden; background: #26262a; }
.nf-row-im img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.nf-row-im i { position: absolute; inset: 0; display: grid; place-items: center; color: #48484d; }
.nf-row-im i svg { width: 45%; height: 45%; }
.nf-row-t { flex: 1; min-width: 0; }
.nf-row-t b { display: block; font-size: 15px; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nf-row-t small { display: block; font-size: 12.5px; color: #8e8e93; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rt-grid.nf-list .rt-card.sk { display: none; }
.rt-grid.nf-list .rt-empty { padding: 30px 16px; }
/* Pastki oynalar */
.nf-sheetlist .nf-opts { max-height: 52vh; overflow-y: auto; margin: 0 -4px; padding: 0 4px; }
.nf-opt { display: flex; align-items: center; gap: 12px; padding: 12px 4px; cursor: pointer; -webkit-tap-highlight-color: transparent; border-radius: 10px; }
.nf-opt:active { background: rgba(255,255,255,.04); }
.nf-opt b { font-size: 15px; font-weight: 600; color: #fff; }
.nf-opt-t { flex: 1; min-width: 0; }
.nf-opt-t b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nf-opt-t small, .nf-from { display: block; font-size: 12px; color: #8e8e93; margin-top: 1px; }
.nf-from { flex-shrink: 0; margin: 0; }
.nf-opt-im { position: relative; display: block; width: 34px; height: 34px; flex-shrink: 0; border-radius: 9px; overflow: hidden; background: #26262a; }
.nf-opt-im img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.nf-opt-im i { position: absolute; inset: 0; display: grid; place-items: center; color: #48484d; }
.nf-opt-im i svg { width: 50%; height: 50%; }
.nf-rd { width: 20px; height: 20px; flex-shrink: 0; border-radius: 50%; border: 2px solid rgba(255,255,255,.28); box-sizing: border-box; transition: all .15s; }
.nf-opt.on .nf-rd { border: 6px solid #0a84ff; }
.nf-cb { width: 22px; height: 22px; flex-shrink: 0; border-radius: 7px; border: 2px solid rgba(255,255,255,.28); box-sizing: border-box; display: grid; place-items: center; color: #fff; transition: all .15s; }
.nf-cb svg { width: 13px; height: 13px; opacity: 0; }
.nf-opt.on .nf-cb { background: #0a84ff; border-color: #0a84ff; }
.nf-opt.on .nf-cb svg { opacity: 1; }
.nf-sheet-foot { display: flex; justify-content: center; padding-top: 8px; }
.nf-clear { border: 0; background: none; color: #4da3ff; font: 600 14px -apple-system, sans-serif; padding: 6px 12px; }
.nf-name span { color: #8e8e93; font-weight: 700; }
.nf-rar { font-style: normal; margin-left: 6px; padding: 1px 6px; border-radius: 6px; background: rgba(10,132,255,.15); color: #4da3ff; font-size: 11px; font-weight: 700; }
.nf-hint { margin: -2px 0 10px; padding: 9px 12px; border-radius: 12px; background: rgba(10,132,255,.12); color: #4da3ff; font-size: 13px; font-weight: 600; text-align: center; }
/* v18.27: NFT sovg'a oynasi (Portals uslubi), qulf belgisi, tez yuklanish */
.modal-sheet.nf-modal .modal-header h3, .modal-sheet.nf-modal #modal-title { display: none; }
.nf-detail { padding-top: 2px; }
.nf-card { position: relative; width: min(100%, 300px); aspect-ratio: 1; margin: 0 auto; border-radius: 26px; overflow: hidden; background: #26262a; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.nf-card-im { position: absolute; inset: 0; display: block; }
.nf-card-im img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.nf-card-im i { position: absolute; inset: 0; display: grid; place-items: center; color: #48484d; }
.nf-card-im i svg { width: 34%; height: 34%; }
.nf-anim { position: absolute; inset: 0; z-index: 2; opacity: 0; transition: opacity .25s; pointer-events: none; }
.nf-anim.on { opacity: 1; }
.nf-anim svg { width: 100% !important; height: 100% !important; }
.nf-card-top { position: absolute; top: 10px; right: 10px; z-index: 3; display: flex; gap: 8px; }
.nf-cbtn { width: 36px; height: 36px; border: 0; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(0,0,0,.32); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); padding: 0; cursor: pointer; }
.nf-cbtn svg { width: 18px; height: 18px; }
.nf-cbtn:active { transform: scale(.94); }
.nf-card-name { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 34px 12px 12px; text-align: center; background: linear-gradient(180deg, transparent, rgba(0,0,0,.42)); pointer-events: none; }
.nf-card-name b { display: block; font-size: 22px; font-weight: 800; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.35); }
.nf-card-name span { display: block; margin-top: 1px; font-size: 13.5px; font-weight: 700; color: rgba(255,255,255,.82); }
.nf-table { margin-top: 14px; border-radius: 16px; border: 1px solid rgba(255,255,255,.08); background: #1f1f22; overflow: hidden; }
.nf-tr { display: grid; grid-template-columns: 104px 1fr auto; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; }
.nf-tr + .nf-tr { border-top: 1px solid rgba(255,255,255,.07); }
.nf-tl { font-size: 13.5px; color: #8e8e93; }
.nf-tv { display: flex; align-items: center; gap: 6px; min-width: 0; }
.nf-tv b { font-size: 14px; font-weight: 700; color: #4da3ff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nf-tr:last-child .nf-tv b { color: #fff; }
.nf-tv .nf-rar { margin: 0; flex-shrink: 0; }
.nf-tp { font-size: 13.5px; font-weight: 800; color: #fff; white-space: nowrap; font-variant-numeric: tabular-nums; }
.nf-sk { display: inline-block; width: 54px; height: 11px; border-radius: 6px; background: linear-gradient(90deg, #2a2a2e, #34343a, #2a2a2e); background-size: 200% 100%; animation: nfSk 1.2s infinite linear; vertical-align: middle; }
@keyframes nfSk { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.nf-locknote { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(255,159,10,.1); color: #ffb340; font-size: 12.5px; line-height: 1.4; }
.nf-locknote .nf-lock { position: static; }
.nf-lock { position: absolute; top: 14px; left: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 3px; padding: 3px 7px 3px 5px; border-radius: 8px; background: rgba(0,0,0,.55); color: #ffb340; font-size: 11px; font-weight: 800; white-space: nowrap; }
.nf-lock svg { width: 12px; height: 12px; }
.rt-card { position: relative; }
.rt-card.locked .nf-price, .nf-row.locked .nf-price { background: #2c2c30; color: #aeaeb2; }
.nf-row .nf-lock { position: static; margin-right: 2px; }
.nf-pay-im { position: relative; display: block; width: 72px; height: 72px; margin: 0 auto; border-radius: 18px; overflow: hidden; background: #26262a; }
.nf-pay-im img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.nf-pay-im i { position: absolute; inset: 0; display: grid; place-items: center; color: #48484d; }
.nf-pay-im i svg { width: 45%; height: 45%; }
.nf-pchg { margin: 8px 0 0; padding: 8px 12px; border-radius: 10px; background: rgba(255,159,10,.12); color: #ffb340; font-size: 12.5px; font-weight: 600; text-align: center; }
.nf-pchg[hidden] { display: none; }
.nf-paynote { text-align: center; }
/* katta ro'yxatda aylantirish yengil bo'lsin */
#nf-grid .rt-card, #nf-grid .nf-row { content-visibility: auto; contain-intrinsic-size: 240px 260px; }
#nf-grid .nf-row { contain-intrinsic-size: 300px 64px; }
#nf-more { height: 1px; margin: 0; padding: 0; opacity: 0; pointer-events: none; }
/* animatsiya o'ynaganda statik rasm faqat rangli fon bo'lib qoladi (sovg'a ikki marta ko'rinmasin) */
.nf-card-im img { transition: filter .35s, transform .35s, opacity .35s; }
.nf-card.anim .nf-card-im img { filter: blur(26px) saturate(1.35); transform: scale(1.35); opacity: .9; }
/* v18.28: NFT sahifasi qidiruvdan boshlanadi; to'lov oynasi boshqalari bilan bir xil */
#page-nft.rt { padding-top: 6px; }
#nf-mybtn { position: relative; }
#nf-mybtn em { position: absolute; top: -2px; right: -2px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: #ff9f0a; color: #fff; font: 800 10px/16px -apple-system, sans-serif; font-style: normal; text-align: center; box-sizing: border-box; }
#nf-mybtn em:empty { display: none; }
.nf-myhead { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.nf-myhead b { font-size: 20px; font-weight: 800; color: #fff; }
.pc-ord .nf-pay-im { width: 56px; height: 56px; border-radius: 14px; }
.pc-ord .nf-pay-im img { width: 100%; height: 100%; object-fit: cover; margin: 0; }
/* v18.29: oyna ochiqligida orqa fon qotiriladi; ichki ro'yxat aylanishi tashqariga o'tmaydi */
body.as-locked { position: fixed; left: 0; right: 0; width: 100%; overflow: hidden; }
.modal-overlay, .modal-sheet, .nf-sheetlist .nf-opts, #payment-page-overlay { overscroll-behavior: contain; }
.modal-sheet { -webkit-overflow-scrolling: touch; }
/* iOS: 16px dan kichik shriftli maydonga bosilganda ekran kattalashib ketmasin */
.nf-search input { font-size: 16px; }
body.as-locked #main-content { overflow: hidden !important; }
#main-content { overscroll-behavior-y: contain; }

/* v18.31 — NFT: qayta yuborish va Portals eslatmasi */
.nf-pnote { margin: 10px 0 4px; padding: 10px 12px; border-radius: 12px; background: rgba(120,140,170,.10); font-size: 12.5px; line-height: 1.45; color: var(--tg-theme-hint-color, #8a94a6); }
.nf-pnote a { color: var(--tg-theme-link-color, #2f80ed); font-weight: 600; text-decoration: none; white-space: nowrap; }
.rt-row.st-review { flex-wrap: wrap; }
.nf-rs { flex-basis: 100%; margin-top: 10px; }
.nf-rs p { margin: 0 0 8px; font-size: 12.5px; line-height: 1.45; color: var(--tg-theme-hint-color, #8a94a6); }
.nf-rs-b { display: flex; gap: 8px; }
.nf-rs-b button { flex: 1; height: 38px; border: 0; border-radius: 10px; font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.nf-rs-p { background: rgba(120,140,170,.14); color: var(--tg-theme-text-color, #111); }
.nf-rs-r { background: var(--tg-theme-button-color, #2f80ed); color: var(--tg-theme-button-text-color, #fff); }
.nf-rs-b button:disabled { opacity: .55; }
.nf-rs-m { display: block; margin-top: 6px; font-size: 12px; color: var(--tg-theme-hint-color, #8a94a6); }
.nf-rs-m:empty { display: none; }

/* v18.33 — To'lov: alohida to'liq sahifa (chek ko'rinishi) */
.modal-overlay.as-page-ov { background: var(--bg-primary, #1c1c1e) !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; align-items: stretch; animation: none; }
.modal-sheet.as-page { position: fixed; inset: 0; max-width: none; width: 100%; height: 100%; max-height: none; border: 0 !important; border-radius: 0; background: var(--bg-primary, #1c1c1e) !important; animation: asPageIn .22s cubic-bezier(.2,.8,.2,1); overflow-y: auto; overscroll-behavior: contain; }
@keyframes asPageIn { from { transform: translateX(28px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-sheet.as-page .modal-handle { display: none; }
.modal-sheet.as-page .modal-header { justify-content: center !important; padding: calc(14px + var(--tg-header-height, 0px)) 20px 10px !important; border: 0 !important; }
.modal-sheet.as-page .modal-title { width: 100%; text-align: center !important; font-size: 28px !important; font-weight: 700 !important; letter-spacing: -.4px; }
.modal-sheet.as-page .modal-body { padding: 0 16px calc(24px + env(safe-area-inset-bottom, 0px)) !important; }
.modal-sheet.as-page .aps-label { margin: 22px 6px 8px; }
/* usullar: radio doirachalar */
.modal-sheet.as-page .pc-ck { opacity: 1; transform: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--text-tertiary, #636366); box-sizing: border-box; transition: border .15s; }
.modal-sheet.as-page .pc-ck svg { display: none; }
.modal-sheet.as-page .pc-it.on .pc-ck { border: 7px solid #0a84ff; }
.modal-sheet.as-page .pc-it.dis .pc-ck { opacity: .35; }
/* chek kartasi */
.rcp { background: var(--bg-secondary, #2b2b2d); border: 1px solid var(--border-color, #3e3e40); border-radius: 18px; padding: 16px; }
.rcp-h { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px dashed var(--border-color, #3e3e40); }
.rcp-h img { width: 48px; height: 48px; object-fit: contain; flex: none; }
.rcp-h b { display: block; font-size: 18px; font-weight: 700; color: var(--text-primary); }
.rcp-h small { font-size: 13px; color: var(--text-secondary); }
.rcp-rows { padding-top: 4px; }
.rcp-r { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 10px; font-size: 14.5px; color: var(--text-secondary); }
.rcp-r > span:first-child { flex: none; }
.rcp-v { display: flex; align-items: center; justify-content: flex-end; gap: 8px; min-width: 0; color: var(--text-primary); font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }
.rcp-nm { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-secondary); }
.rcp-nm b { color: var(--text-primary); font-weight: 600; }
.rcp-av { position: relative; flex: none; width: 26px; height: 26px; border-radius: 50%; overflow: hidden; background: linear-gradient(135deg, #5e5ce6, #0a84ff); display: flex; align-items: center; justify-content: center; }
.rcp-av em { font-style: normal; font-size: 12px; font-weight: 700; color: #fff; }
.rcp-av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rcp-tot { display: flex; justify-content: space-between; align-items: baseline; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--border-color, #3e3e40); }
.rcp-tot span { font-size: 15px; color: var(--text-secondary); }
.rcp-tot b { font-size: 24px; font-weight: 700; color: var(--text-primary); font-variant-numeric: tabular-nums; letter-spacing: -.3px; }

/* v18.34 — NFT Xaridlarim: "Yangilash" */
.nf-sync { margin: 14px 0 6px; }
.nf-sync p { margin: 0 2px 10px; font-size: 12.5px; line-height: 1.45; color: var(--text-secondary, #8a94a6); }
.nf-sync p a { color: #0a84ff; font-weight: 600; text-decoration: none; }
.nf-sync-b { width: 100%; height: 48px; border: 0; border-radius: 14px; background: #0a84ff; color: #fff; font: inherit; font-size: 15.5px; font-weight: 600; cursor: pointer; transition: opacity .15s; }
.nf-sync-b:disabled { opacity: .55; }
.nf-sync-b.busy { position: relative; color: transparent; }
.nf-sync-b.busy:after { content: ''; position: absolute; left: 50%; top: 50%; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.35); border-top-color: #fff; animation: asSpin .7s linear infinite; }
@keyframes asSpin { to { transform: rotate(360deg); } }
.nf-sync-m { display: block; margin-top: 8px; text-align: center; font-size: 12.5px; color: var(--text-secondary, #8a94a6); }
.nf-sync-m:empty { display: none; }

/* =====================================================================
   v18.35 — Profil va Referal: "Ro'yxat" uslubi (to'lov sahifasiga mos)
   ===================================================================== */
.pg-ls { --ls-card: var(--bg-secondary, #2c2c2e); --ls-line: var(--border-color, rgba(255,255,255,.09)); --ls-sub: var(--text-secondary, #8e8e93); }
.ls-card { background: var(--ls-card); border: 1px solid var(--ls-line); border-radius: 18px; }
.ls-lb { font-size: 12.5px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--ls-sub); margin: 22px 6px 8px; }
.ls-list { padding: 0 14px; }
.ls-it { display: flex; align-items: center; gap: 13px; width: 100%; padding: 12px 0; background: none; border: 0; border-bottom: 1px solid var(--ls-line); color: var(--text-primary, #fff); font: inherit; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.ls-it:last-child { border-bottom: 0; }
.ls-it:not(.ls-static):active { opacity: .6; }
.ls-static { cursor: default; }
.ls-ic { width: 34px; height: 34px; border-radius: 10px; flex: none; display: flex; align-items: center; justify-content: center; color: #fff; }
.ls-ic svg { width: 19px; height: 19px; }
.ls-img { width: 36px; height: 36px; flex: none; object-fit: contain; border-radius: 9px; }
.ls-t { flex: 1; min-width: 0; font-size: 15.5px; font-weight: 500; }
.ls-t small { display: block; margin-top: 1px; font-size: 12.5px; font-weight: 400; color: var(--ls-sub); }
.ls-v { flex: none; font-size: 14.5px; color: var(--ls-sub); display: inline-flex; align-items: center; gap: 3px; font-variant-numeric: tabular-nums; }
.ls-strong { color: var(--text-primary, #fff); font-weight: 600; font-size: 15px; }
.ls-ch { width: 17px; height: 17px; flex: none; color: var(--text-tertiary, #636366); }
.ls-btn, .ls-btn2 { height: 50px; border-radius: 14px; font: inherit; font-size: 15.5px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: opacity .15s; }
.ls-btn { background: #0a84ff; color: #fff; border: 0; }
.ls-btn2 { background: var(--ls-card); color: var(--text-primary, #fff); border: 1px solid var(--ls-line); }
.ls-btn svg, .ls-btn2 svg { width: 18px; height: 18px; }
.ls-btn:active, .ls-btn2:active { opacity: .7; }
.ls-btn2.is-disabled { opacity: .45; }
.pg-ls .pf-star svg { width: 1em; height: 1em; }

/* Profil */
.pf2-h { display: flex; align-items: center; gap: 14px; padding: 6px 2px 0; }
.pf2-av { position: relative; flex: none; }
.pf2-av .pf-avatar { width: 58px; height: 58px; border-radius: 50%; font-size: 23px; box-shadow: none; }
.pf2-av .pf-crown { width: 22px; height: 22px; right: -3px; bottom: -2px; box-shadow: 0 0 0 2.5px var(--bg-primary, #1c1c1e); }
.pf2-av .pf-crown svg { width: 13px; height: 13px; }
.pf2-nm { min-width: 0; flex: 1; }
.pf2-nm .pf-name { font-size: 21px; font-weight: 700; letter-spacing: -.3px; }
.pf2-nm .pf-id { margin-top: 3px; height: auto; padding: 2px 0; border: 0; background: none; border-radius: 0; gap: 6px; }
.pf2-nm .pf-id-label { font-size: 13px; font-weight: 500; }
.pf2-nm .pf-id-value { font-size: 13.5px; font-weight: 600; color: var(--text-primary, #fff); }
.pf2-nm .pf-id svg { width: 14px; height: 14px; color: var(--ls-sub); }
.pf2-bal { margin-top: 18px; padding: 16px; }
.pf2-bal > small { font-size: 13px; color: var(--ls-sub); }
.pf2-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 2px; }
.pf2-row > b { font-size: 28px; font-weight: 700; letter-spacing: -.6px; color: var(--text-primary, #fff); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.pf2-add { flex: none; height: 40px; padding: 0 15px; border: 0; border-radius: 12px; background: #0a84ff; color: #fff; font: inherit; font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 6px; cursor: pointer; }
.pf2-add svg { width: 16px; height: 16px; stroke-width: 2.4; }
.pf2-add:active { opacity: .7; }
.pf2-ms { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--ls-line); font-size: 13.5px; color: var(--ls-sub); }
.pf2-ms b { color: var(--text-primary, #fff); font-weight: 600; }
#page-profile.pg-ls .profile-version { text-align: center; margin-top: 22px; }

/* Referal */
.rf2-h h1 { font-size: 28px; font-weight: 700; letter-spacing: -.4px; margin: 6px 2px 2px; color: var(--text-primary, #fff); }
.rf2-h p { font-size: 14px; color: var(--ls-sub); margin: 0 2px; }
.rf2-w { margin-top: 16px; padding: 16px; }
.rf2-w > small { font-size: 13px; color: var(--ls-sub); }
.rf2-big { display: flex; align-items: center; gap: 6px; font-size: 32px; font-weight: 700; letter-spacing: -.6px; margin-top: 2px; color: var(--text-primary, #fff); }
.rf2-big .pf-star svg { width: 24px; height: 24px; }
.rf2-g { display: flex; gap: 10px; margin-top: 14px; }
.rf2-g > div { flex: 1; background: rgba(255,255,255,.05); border-radius: 12px; padding: 10px 12px; font-size: 12.5px; color: var(--ls-sub); }
.rf2-g b { display: flex; align-items: center; gap: 4px; font-size: 17px; font-weight: 700; color: var(--text-primary, #fff); }
.rf2-g span { display: block; }
.rf2-g b span { display: inline-flex; }
.rf2-link { width: 100%; display: flex; align-items: center; gap: 10px; padding: 13px 14px; font: inherit; font-size: 14px; color: var(--ls-sub); cursor: pointer; text-align: left; }
.rf2-link span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rf2-link svg { width: 19px; height: 19px; color: #0a84ff; flex: none; }
.rf2-link:active { opacity: .7; }
.rf2-btns { display: flex; gap: 10px; margin-top: 12px; }
.rf2-btns .ls-btn { flex: 1.4; }
.rf2-btns .ls-btn2 { flex: 1; }
#page-referral.pg-ls .ref-friends-list { padding: 0 14px; overflow: hidden; }
#page-referral.pg-ls .ref-item { padding: 12px 0 !important; background: none !important; border-radius: 0 !important; }
#page-referral.pg-ls .ref-item + .ref-item { border-top: 1px solid var(--ls-line); }
#page-referral.pg-ls .ref-empty { text-align: center; }

/* =====================================================================
   v18.36 — NFT katalogi Portals uslubida + savat + tepaga qaytish
   ===================================================================== */
.rt-grid.nf2-grid:not(.nf-list) { grid-template-columns: 1fr 1fr; gap: 10px; }
.nf2 { position: relative; min-width: 0; padding: 8px 8px 10px; border-radius: 20px; background: #1c1c1f; border: 1.5px solid transparent; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: border-color .15s, transform .1s; }
.nf2:active { transform: scale(.985); }
.nf2.sel { border-color: #0a84ff; }
.nf2-im { position: relative; display: block; width: 100%; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: #26262a; }
.nf2-im img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.nf2-im i { position: absolute; inset: 0; display: grid; place-items: center; color: #48484d; font-style: normal; }
.nf2-im i svg { width: 38%; height: 38%; }
.nf2 > b { display: block; margin: 9px 4px 0; font-size: 15.5px; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nf2 > small { display: block; margin: 1px 4px 0; font-size: 12.5px; color: #8e8e93; font-variant-numeric: tabular-nums; }
.nf2-ft { display: flex; align-items: center; gap: 6px; margin-top: 9px; }
.nf2-ft .nf-price { flex: 1; min-width: 0; text-align: center; padding: 0 8px; height: 34px; line-height: 34px; border-radius: 17px; font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nf2 .nf-lock { z-index: 2; }
.nf-cart { flex: none; width: 46px; height: 34px; border-radius: 17px; border: 0; padding: 0; background: #2c2c30; color: #e5e5ea; display: flex; align-items: center; justify-content: center; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: background .15s, color .15s; }
.nf-cart svg { width: 19px; height: 19px; }
.nf-cart.on { background: #fff; color: #0a84ff; }
.nf-cart.dis { opacity: .35; cursor: default; }
.nf-cart:active { transform: scale(.94); }
.nf2.locked .nf2-ft .nf-price { background: #3a3a3e; color: #8e8e93; }
/* ro'yxat */
.nf2-grid.nf-list .nf-row { gap: 12px; padding: 10px 12px; }
.nf2-grid.nf-list .nf-row-im { width: 52px; height: 52px; border-radius: 13px; }
.nf2-grid.nf-list .nf-row + .nf-row::before { left: 76px; }
.nf2-grid.nf-list .nf-row .nf-price { min-width: 86px; height: 34px; line-height: 34px; padding: 0 12px; border-radius: 17px; text-align: center; font-size: 14px; font-weight: 700; }
.nf2-grid.nf-list .nf-row.sel { background: rgba(10,132,255,.1); }
.nf2-grid.nf-list .nf-row-t small { font-variant-numeric: tabular-nums; }
/* savat paneli */
.nf-cartbar { position: fixed; z-index: 60; left: 12px; right: 12px; bottom: calc(var(--nav-height, 84px) + 12px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 10px; border-radius: 20px; background: rgba(44,44,48,.96); border: 1px solid rgba(255,255,255,.08); box-shadow: 0 12px 32px rgba(0,0,0,.45); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); animation: nfCbIn .2s ease; }
@keyframes nfCbIn { from { transform: translateY(14px); opacity: 0; } to { transform: none; opacity: 1; } }
.nf-cb-x { width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.08); color: #c7c7cc; display: flex; align-items: center; justify-content: center; cursor: pointer; flex: none; }
.nf-cb-x svg { width: 16px; height: 16px; }
.nf-cb-t { flex: 1; min-width: 0; font-size: 14.5px; color: #fff; font-weight: 600; }
.nf-cb-t small { display: block; font-size: 12.5px; color: #8e8e93; font-weight: 500; font-variant-numeric: tabular-nums; }
.nf-cb-go { flex: none; height: 44px; padding: 0 18px; border: 0; border-radius: 14px; background: #0a84ff; color: #fff; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.nf-cb-go:active { opacity: .8; }
body.nf-has-cart #page-nft #nf-cat { padding-bottom: 76px; }
/* tepaga qaytish */
.nf-top { position: fixed; z-index: 59; left: 14px; bottom: calc(var(--nav-height, 84px) + 14px + env(safe-area-inset-bottom, 0px)); width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); background: rgba(44,44,48,.92); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0,0,0,.4); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); cursor: pointer; animation: nfCbIn .2s ease; }
.nf-top[hidden] { display: none; }
.nf-top svg { width: 22px; height: 22px; }
body.nf-has-cart .nf-top { bottom: calc(var(--nav-height, 84px) + 84px + env(safe-area-inset-bottom, 0px)); }
/* savat to'lov sahifasi */
.nfc-ic { width: 48px; height: 48px; border-radius: 14px; background: rgba(10,132,255,.15); color: #0a84ff; display: flex; align-items: center; justify-content: center; flex: none; }
.nfc-ic svg { width: 24px; height: 24px; }
.nfc-list { padding-top: 4px; }
.nfc-r { display: flex; align-items: center; gap: 11px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.nfc-r:last-child { border-bottom: 0; }
.nfc-r .nf-row-im { width: 44px; height: 44px; border-radius: 11px; }
.nfc-t { flex: 1; min-width: 0; }
.nfc-t b { display: block; font-size: 14.5px; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nfc-t small { font-size: 12.5px; color: #8e8e93; }
.nfc-p { font-size: 14.5px; font-weight: 600; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.nfc-x { width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(255,255,255,.07); color: #8e8e93; display: flex; align-items: center; justify-content: center; cursor: pointer; flex: none; }
.nfc-x svg { width: 14px; height: 14px; }
.nfc-load { padding: 18px 0 8px; text-align: center; font-size: 13.5px; color: #8e8e93; }
.nfc .nf-pnote { margin-top: 10px; }
.nf-cartbar[hidden] { display: none; }
.nf2-grid.nf-list .nf-row-t small .nf-lock { position: static; display: inline-flex; margin-left: 6px; vertical-align: 1px; transform: scale(.9); transform-origin: left center; }
/* v18.37 — tanlangan NFT: yashil belgi (Portals uslubi) */
.nf-cart.on { background: rgba(48, 209, 88, .18); color: #30d158; box-shadow: inset 0 0 0 1px rgba(48, 209, 88, .28); }
.nf-cart.on svg { width: 18px; height: 18px; stroke-width: 2.6; animation: nfChk .22s cubic-bezier(.3,1.5,.5,1); }
@keyframes nfChk { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.nf2.sel { border-color: rgba(48, 209, 88, .45); }
.nf2-grid.nf-list .nf-row.sel { background: transparent; }
.nf2-grid.nf-list .nf-row-t small { display: flex; align-items: center; white-space: nowrap; overflow: visible; }

/* v18.40 — Model/Fon/Belgi oynasi Portals uslubida */
.nfa-sheet { padding-bottom: 76px; }
.nfa-hd { display: flex; justify-content: space-between; padding: 12px 4px 4px; }
.nfa-hd button { display: inline-flex; align-items: center; gap: 3px; border: 0; background: none; padding: 4px 0; font: inherit; font-size: 13px; font-weight: 600; color: #8e8e93; cursor: pointer; }
.nfa-hd button svg { width: 13px; height: 13px; opacity: .7; }
.nfa-hd button.on { color: #fff; }
.nfa-hd button.on.n_asc svg path:last-child, .nfa-hd button.on.p_asc svg path:last-child { opacity: .25; }
.nfa-hd button.on.n_desc svg path:first-child, .nfa-hd button.on.p_desc svg path:first-child { opacity: .25; }
.nf-opt.nfa { gap: 12px; padding: 9px 4px; }
.nfa-ck { width: 22px; height: 22px; flex: none; border-radius: 50%; border: 2px solid rgba(255,255,255,.25); box-sizing: border-box; position: relative; transition: background .15s, border-color .15s; }
.nf-opt.on .nfa-ck { background: #0a84ff; border-color: #0a84ff; }
.nf-opt.on .nfa-ck::after { content: ''; position: absolute; left: 6px; top: 2.5px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2.2px 2.2px 0; transform: rotate(45deg); }
.nfa-sw { width: 44px; height: 44px; flex: none; border-radius: 12px; background: #26262a; position: relative; overflow: hidden; }
.nfa-sw::after { content: ''; position: absolute; inset: 9px; border-radius: 8px; background: radial-gradient(circle at 50% 38%, color-mix(in srgb, var(--c) 78%, #fff) 0%, var(--c) 58%, color-mix(in srgb, var(--c) 70%, #000) 100%); background-color: var(--c); }
.nf-opt.nfa .nf-opt-t b { font-size: 15.5px; font-weight: 700; }
.nfa-r { display: inline-block; margin-top: 3px; padding: 1px 5px; border-radius: 5px; background: rgba(10,132,255,.16); color: #4da3ff; font-style: normal; font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums; }
.nfa-p { flex: none; font-size: 15px; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.nfa-p small { font-size: 12px; font-weight: 600; color: #8e8e93; }
.nfa-foot { position: sticky; bottom: 0; display: flex; gap: 10px; margin: 8px -4px 0; padding: 12px 4px calc(10px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(transparent, rgba(36,36,39,.97) 22%); }
.nfa-foot button { flex: 1; height: 50px; border: 0; border-radius: 25px; font: inherit; font-size: 15.5px; font-weight: 700; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.nfa-clear { background: #3a3a3e; color: #fff; }
.nfa-clear:disabled { color: #8e8e93; }
.nfa-go { background: #0a84ff; color: #fff; }
.nfa-foot button:active { opacity: .8; }
.nfa-foot .nfa-clear { flex: 0 0 34%; }
.nfa-foot .nfa-go { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 12px; }

/* v18.41 — NFT ijarasi: kunlar, komissiya, jami narx */
.nf-per { font-style: normal; font-size: 11px; font-weight: 600; color: #8e8e93; margin-left: 3px; }
.nf-price .nf-per { margin-left: 3px; }
.nf-days { display: block; margin-top: 2px; font-size: 11.5px; font-weight: 600; color: #8e8e93; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nf2 .nf-days { margin-top: 3px; }
.nf-rent { margin: 12px 0 4px; padding: 4px 14px; border-radius: 14px; background: rgba(120,120,128,.12); }
.nf-rent-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-bottom: 1px solid rgba(120,120,128,.16); font-size: 14.5px; }
.nf-rent-row:last-child { border-bottom: 0; }
.nf-rent-row span { color: #8e8e93; }
.nf-rent-row span small { color: #6d6d72; font-size: 12px; }
.nf-rent-row b { color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.nf-rent-row.total span { color: #fff; font-weight: 700; }
.nf-rent-row.total b { font-size: 16.5px; }
.nf-rent-row b .nf-per { color: #8e8e93; }
.nf-days-pick { display: inline-flex; align-items: center; gap: 12px; }
.nf-days-pick button { width: 38px; height: 38px; border-radius: 12px; border: 0; background: rgba(10,132,255,.18); color: #4da3ff; font: inherit; font-size: 22px; font-weight: 700; line-height: 1; cursor: pointer; -webkit-tap-highlight-color: transparent; padding: 0; }
.nf-days-pick button:active { opacity: .7; }
.nf-days-pick b { min-width: 34px; text-align: center; font-size: 18px; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }

/* =====================================================================
   v18.45 — TELEGRAM GIFT katalogi: grid ekrandan chiqib ketmasligi
   (nowrap nomlar min-content kengligini kuchaytirib 3-ustunni sahifadan
   chiqarib yuborardi) + chiroyli karta ko'rinishi
   ===================================================================== */
.gifts-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 0 16px 120px;
    max-width: 100%;
}
.gift-card {
    min-width: 0;
    border-radius: 18px;
    padding: 16px 10px 14px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
    overflow: hidden;
}
.gift-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.38);
}
.gift-card:active { transform: scale(0.96); }
.gift-card-image {
    width: 66px;
    height: 66px;
    margin: 0 auto 10px;
    filter: drop-shadow(0 5px 12px rgba(0, 0, 0, 0.3));
}
.gift-card-name {
    font-size: 12.5px;
    line-height: 1.25;
    max-width: 100%;
}
.gift-card-price {
    display: inline-block;
    margin-top: 7px;
    padding: 4px 6px;
    border-radius: 999px;
    background: rgba(36, 139, 218, 0.16);
    color: #4da3e8 !important;
    font-size: 11px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    letter-spacing: -0.1px;
}
.gift-card-badge {
    top: 8px;
    left: 8px;
    right: auto;
    font-size: 8.5px;
    padding: 3px 7px;
    border-radius: 999px;
    letter-spacing: 0.2px;
}
@media (max-width: 350px) {
    .gifts-grid { gap: 8px; padding: 0 12px 120px; }
    .gift-card { border-radius: 16px; padding: 13px 8px 12px; }
    .gift-card-image { width: 56px; height: 56px; }
}
@media (min-width: 480px) {
    .gifts-grid { grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); }
}

/* =====================================================================
   v18.46 — Til bayroqlari (animatsion gif)
   ===================================================================== */
.lang-b.lang-flag { padding: 0; overflow: hidden; border-radius: 12px; }
.lang-b.lang-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

/* =====================================================================
   v18.47 — iOS "Liquid Glass" bildirishnomalar (tepadan tushadi)
   ===================================================================== */
.notif-stack {
    position: fixed;
    top: calc(env(safe-area-inset-top, 0px) + 10px);
    left: 50%;
    transform: translateX(-50%);
    width: min(calc(100% - 24px), 400px);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    z-index: 12000;
    pointer-events: none;
}
.notif {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 26px;
    background: rgba(24, 24, 27, 0.58);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    backdrop-filter: blur(28px) saturate(180%);
    border: 0.5px solid rgba(255, 255, 255, 0.16);
    box-shadow:
        0 14px 44px rgba(0, 0, 0, 0.5),
        inset 0 0.5px 0 rgba(255, 255, 255, 0.22),
        inset 0 -8px 18px rgba(255, 255, 255, 0.04);
    color: #fff;
    cursor: pointer;
    animation: notifIn 0.55s cubic-bezier(0.28, 1.6, 0.45, 1) both;
    position: relative;
    overflow: hidden;
    -webkit-user-select: none;
    user-select: none;
}
.notif::before {
    content: '';
    position: absolute;
    top: 0;
    left: 8%;
    right: 8%;
    height: 38%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0));
    border-radius: 26px 26px 45% 45%;
    pointer-events: none;
}
.notif.out { animation: notifOut 0.4s cubic-bezier(0.5, 0, 0.75, 0.35) both; }
@keyframes notifIn {
    0% { opacity: 0; transform: translateY(-140%) scale(0.92); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes notifOut {
    0% { opacity: 1; transform: translateY(0) scale(1); }
    100% { opacity: 0; transform: translateY(-130%) scale(0.94); }
}
.notif-ic {
    width: 38px;
    height: 38px;
    flex: none;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    box-shadow: inset 0 0.5px 0 rgba(255, 255, 255, 0.35), 0 2px 8px rgba(0, 0, 0, 0.25);
    position: relative;
    z-index: 1;
}
.notif-ic svg { width: 19px; height: 19px; }
.notif-success .notif-ic { background: linear-gradient(180deg, #4cd964, #28b84c); }
.notif-error .notif-ic { background: linear-gradient(180deg, #ff6b5e, #e5392e); }
.notif-info .notif-ic { background: linear-gradient(180deg, #98a4b0, #5b6670); }
.notif-main { flex: 1; min-width: 0; position: relative; z-index: 1; }
.notif-title { font-size: 13px; font-weight: 700; letter-spacing: -0.1px; }
.notif-msg {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.78);
    margin-top: 1px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.notif-time {
    flex: none;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.55);
    position: relative;
    z-index: 1;
}

/* =====================================================================
   v18.50 — NOMER OLISH sahifasi (Spanch SMS)
   ===================================================================== */
.nb-sub {
    margin: 2px 16px 14px;
    font-size: 13px;
    line-height: 1.45;
    color: #8e8e93;
}
.nb-bal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px;
    margin: 0 16px 4px;
}
.nb-bal-l {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    font-weight: 600;
    color: #fff;
}
.nb-bal-l .ls-ic { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.nb-bal-l .ls-ic svg { width: 17px; height: 17px; color: #fff; }
.nb-bal-r { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; }
.nb-bal-r b { font-size: 13.5px; font-weight: 700; color: #30d158; }
.nb-bal-r b.nb-bad { color: #ff453a; }
.nb-bal-r small { font-size: 11px; color: #8e8e93; }
.nb-lbl {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 14px 16px 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: #8e8e93;
}
.nb-q {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: none;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 7px 10px;
    font: inherit;
    font-size: 12.5px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    color: #fff;
}
.nb-q::placeholder { color: #6d6d72; }
.nb-chips {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 16px 6px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.nb-chips::-webkit-scrollbar { display: none; }
.nb-chip2 {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    max-width: 190px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.05);
    color: #d1d1d6;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.15s ease, border-color 0.15s ease;
}
.nb-chip2 span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nb-chip2 img { width: 20px; height: 15px; object-fit: cover; border-radius: 3px; flex: none; }
.nb-chip2.on { background: rgba(100, 210, 255, 0.16); border-color: rgba(100, 210, 255, 0.45); color: #a8e6ff; }
.nb-chip2:active { transform: scale(0.97); }
.nb-none { font-size: 13px; color: #6d6d72; padding: 6px 2px; }
.nb-price {
    margin: 10px 16px 0;
    padding: 4px 14px;
    background: rgba(120, 120, 128, 0.12);
}
.nb-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(120, 120, 128, 0.14);
    font-size: 14px;
}
.nb-price-row:last-child { border-bottom: 0; }
.nb-price-row span { color: #8e8e93; }
.nb-price-row b { color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; }
.nb-price-row.total span { color: #fff; font-weight: 700; }
.nb-price-row.total b { font-size: 16px; color: #64d2ff; }
.nb-go {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: calc(100% - 32px);
    margin: 12px 16px 0;
    padding: 14px 16px;
    border: 0;
    border-radius: 16px;
    background: #248bda;
    color: #fff;
    font: inherit;
    font-size: 15.5px;
    font-weight: 700;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: opacity 0.15s ease, transform 0.1s ease;
}
.nb-go svg { width: 18px; height: 18px; }
.nb-go:disabled { opacity: 0.45; cursor: default; }
.nb-go:not(:disabled):active { transform: scale(0.985); }
.nb-my { margin: 0 16px 8px; padding: 4px 14px; }
.nb-empty { padding: 18px 4px; text-align: center; font-size: 13px; color: #6d6d72; }
.nb-list { display: flex; flex-direction: column; }
.nb-item {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(120, 120, 128, 0.12);
}
.nb-item:last-child { border-bottom: 0; }
.nb-flag {
    width: 26px;
    height: 20px;
    object-fit: cover;
    border-radius: 4px;
    flex: none;
    margin-top: 2px;
}
.nb-item-t { flex: 1; min-width: 0; }
.nb-item-t b { display: block; font-size: 15px; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
.nb-item-t small { display: block; margin-top: 1px; font-size: 12px; color: #8e8e93; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nb-code {
    margin-top: 6px;
    padding: 6px 10px;
    border-radius: 10px;
    background: rgba(48, 209, 88, 0.14);
    font-size: 12.5px;
    color: #b7efc5;
    display: flex;
    flex-direction: column;
    gap: 1px;
}
.nb-code b { font-size: 15px; letter-spacing: 1px; color: #30d158; }
.nb-code small { font-size: 11px; color: #8fae96; word-break: break-all; }
.nb-item-r { display: flex; flex-direction: column; align-items: flex-end; gap: 7px; flex: none; }
.nb-st {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(255, 214, 10, 0.15);
    color: #ffd60a;
    white-space: nowrap;
}
.nb-st.ok { background: rgba(48, 209, 88, 0.15); color: #30d158; }
.nb-st.bad { background: rgba(142, 142, 147, 0.15); color: #8e8e93; }
.nb-acts { display: flex; gap: 6px; }
.nb-acts button {
    border: 0;
    border-radius: 9px;
    padding: 6px 10px;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    background: rgba(36, 139, 218, 0.18);
    color: #4da3e8;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.nb-acts button.warn { background: rgba(255, 69, 58, 0.16); color: #ff6b60; }
.nb-acts button:disabled { opacity: 0.5; }
.nb-acts button:active { opacity: 0.8; }
@media (max-width: 350px) {
    .nb-bal, .nb-price, .nb-my { margin-left: 12px; margin-right: 12px; }
    .nb-chips { padding-left: 12px; padding-right: 12px; }
    .nb-lbl { margin-left: 12px; margin-right: 12px; }
    .nb-go { width: calc(100% - 24px); margin-left: 12px; margin-right: 12px; }
}

/* ==========================================================================
   v18.50 — NOMER OLISH + v18.51 — SMM XIZMATLAR (NFT katalog uslubida)
   ========================================================================== */
#page-numbers.nbp, #page-smm.nbp { padding-bottom: 90px; }
.nb-hd { margin: 2px 0 14px; }
.nb-hd .section-title { font-size: 24px; font-weight: 800; color: #fff; margin: 0; letter-spacing: -.4px; }
.nb-sub { margin: 7px 0 0; font-size: 13.5px; line-height: 1.5; color: #8e8e93; }

/* Davlat kartasi: bayroq kvadrat plitka ichida to'liq ko'rinadi */
.nb-im { display: grid; place-items: center; background: #2b3744; }
.nb-im img { position: static !important; width: 78% !important; height: 78% !important; object-fit: contain !important; border-radius: 6px; }

/* Narx kutilmoqda (shimmer) */
.nb-wait .nb-skpr { display: inline-block; width: 62px; height: 12px; border-radius: 6px; background: linear-gradient(90deg,#2a2a2e,#34343a,#2a2a2e); background-size: 200% 100%; animation: nfSk 1.2s infinite linear; vertical-align: middle; }
.nb-waittxt { opacity: .65; }

/* Davlat/servis oynasi */
.nb-sheet { display: flex; flex-direction: column; }
.nb-shd { display: flex; align-items: center; gap: 12px; padding: 2px 4px 12px; }
.nb-shd-im { position: relative; display: grid; place-items: center; width: 46px; height: 46px; flex-shrink: 0; border-radius: 13px; overflow: hidden; background: #2b3744; }
.nb-shd-im img { width: 74%; height: 74%; object-fit: contain; border-radius: 4px; }
.nb-shd-t { flex: 1; min-width: 0; }
.nb-shd-t b { display: block; font-size: 16.5px; font-weight: 800; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nb-shd-t small { display: block; font-size: 12.5px; color: #8e8e93; margin-top: 2px; }
.nb-sheet .nf-opts { max-height: 44vh; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.nb-sheet .nf-opts::-webkit-scrollbar { display: none; }
.nb-sfoot { padding: 12px 4px 2px; border-top: 1px solid rgba(255,255,255,.07); margin-top: 8px; }
.nb-sfoot .nb-sfee { display: block; text-align: center; font-size: 12px; color: #8e8e93; margin-bottom: 10px; }
.nb-sfoot .nb-sfee b { color: #c7c7cc; font-weight: 700; }
.nb-sfoot .rt-btn { margin-top: 0; }
.nb-sfoot .rt-btn:disabled { opacity: .45; }

/* SMM xizmat kartasi */
.smm-im { display: grid; place-items: center; }
.smm-im i, .nb-shd-im i { font-style: normal; font-size: 27px; font-weight: 800; color: #fff; letter-spacing: .5px; text-shadow: 0 1px 4px rgba(0,0,0,.28); }
.nb-shd-im.smm-im i { font-size: 18px; }
.smm2 > b { white-space: normal !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.25; min-height: 2.5em; }
.smm2 .smm-cat { display: block; margin: 1px 4px 0; font-size: 11.5px; color: #8e8e93; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.smm2 .smm-mm { display: block; margin: 0 4px; font-size: 11px; color: #6d6d72; font-variant-numeric: tabular-nums; min-height: 13px; }
.smm2 .nf-price em.nf-per { font-style: normal; font-weight: 600; opacity: .75; font-size: 11px; margin-left: 2px; }

/* SMM buyurtma oynasi */
.smm-sheet .nb-srate { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 12px; background: #2b3744; margin: 0 4px 10px; }
.smm-sheet .nb-srate span { font-size: 13px; color: #8e8e93; }
.smm-sheet .nb-srate b { font-size: 15px; font-weight: 800; color: #fff; }
.nb-inp { display: block; margin: 0 4px 10px; }
.nb-inp small { display: block; font-size: 12px; color: #8e8e93; margin: 0 2px 6px; }
.nb-inp small em { font-style: normal; color: #6d6d72; }
.nb-inp input { width: 100%; height: 46px; padding: 0 14px; border-radius: 13px; border: 1px solid rgba(255,255,255,.08); background: #232326; color: #fff; font: 15px -apple-system, BlinkMacSystemFont, sans-serif; outline: 0; box-sizing: border-box; -webkit-appearance: none; appearance: none; }
.nb-inp input:focus { border-color: rgba(10,132,255,.55); }
.smm-qerr { display: none; margin: -4px 6px 8px; font-size: 12px; font-weight: 600; color: #ff6b6b; }
.nb-stotal { display: flex; justify-content: space-between; align-items: baseline; margin: 2px 4px 10px; padding: 12px 14px; border-radius: 14px; background: #2b3744; }
.nb-stotal span { font-size: 13.5px; color: #8e8e93; }
.nb-stotal b { font-size: 19px; font-weight: 800; color: #fff; }
.nb-testnote { margin: 0 4px 12px; padding: 9px 12px; border-radius: 11px; background: rgba(255,159,10,.12); color: #ffb340; font-size: 12px; font-weight: 600; text-align: center; }

/* Bosh sahifa: Nomer olish ikonkasi eniga sal uzunroq */
.fx-card.fx-num .fx-art { width: 148px; max-width: calc(100% + 8px); }
.nb-moren { padding: 10px 6px 4px; font-size: 12px; color: #6d6d72; text-align: center; }
#nb-grid .nf2, #smm-grid .nf2 { content-visibility: auto; contain-intrinsic-size: 230px 250px; }

/* ==========================================================================
   v18.52 — NOMER OLISH + SMM: 1 qatorda 1 ta karta (NFT ijarasi list uslubi),
   markazlashtirilgan sarlavha/tavsif, ikon-filtrlar
   ========================================================================== */

/* Sarlavha va tavsif — boshqa bo'limlar kabi markazda */
.nb-hd { text-align: center; padding: 4px 8px 0; }
.nb-hd .section-title { font-size: 24px; font-weight: 800; color: #fff; margin: 0; letter-spacing: -.4px; }
.nb-hd .nb-sub { margin: 7px auto 0; max-width: 560px; }
.nb-sub { margin: 7px auto 0; max-width: 560px; }

/* nf-bar ichidagi ikon-filtrlar (Messenger / Bo'lim / Tartiblash) */
.nf-bar .nf-ib.on { color: #4da3ff; border-color: rgba(10,132,255,.5); background: rgba(10,132,255,.12); }

/* Qator kartalar — NFT ijarasi list ko'rinishi */
#nb-grid.nf-list, #smm-grid.nf-list { display: block; }
#nb-grid .nf-row, #smm-grid .nf-row { content-visibility: auto; contain-intrinsic-size: 72px 74px; }
#nb-grid .nf-row .nf-price, #smm-grid .nf-row .nf-price { min-width: 104px; max-width: 46%; height: 34px; line-height: 34px; padding: 0 12px; border-radius: 17px; text-align: center; font-size: 14px; font-weight: 800; }
.nf-price em.nf-per { font-style: normal; font-weight: 600; opacity: .75; font-size: 11px; margin-left: 2px; }
#nb-grid .nf-row .nf-price.nb-wait { min-width: 104px; }

/* Bayroq kvadrat plitka ichida to'liq ko'rinadi */
.nb-im { display: grid; place-items: center; background: #2b3744; }
.nf-row-im.nb-im img { position: static !important; width: 74% !important; height: 74% !important; object-fit: contain !important; border-radius: 5px; }

/* SMM platforma logotipi */
.smm-im { background: #26262a; overflow: hidden; }
.nf-row-im.smm-im img, .nb-shd-im.smm-im img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.nb-shd-im.smm-im img { border-radius: 0; }

/* Qator skeletlari */
.nf-row.sk { cursor: default; }
.nf-row.sk .nf-row-t b { display: block; width: 58%; height: 13px; border-radius: 6px; }
.nf-row.sk .nf-row-t small { display: block; width: 40%; height: 11px; border-radius: 6px; margin-top: 7px; }
.nb-skrow { display: inline-block; width: 96px; height: 30px; border-radius: 15px; flex-shrink: 0; }

/* Messenger filtri bo'sh holat tugmasi */
.rt-empty .nb-msgreset, .rt-empty button { display: inline-block; margin-top: 10px; border: 0; background: rgba(10,132,255,.14); color: #4da3ff; font: 600 13px -apple-system, BlinkMacSystemFont, sans-serif; padding: 9px 16px; border-radius: 11px; }

/* v18.52 fix: nb/smm qatorlarida izoh matni pill ostiga chiqib ketmasin */
#nb-grid .nf-row-t small, #smm-grid .nf-row-t small { overflow: hidden !important; text-overflow: ellipsis; padding-right: 4px; }
#nb-grid .nf-row .nf-price, #smm-grid .nf-row .nf-price { flex-shrink: 0; }
