.commerce-store-switch {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 18px;
    padding: 5px;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    background: var(--card-bg);
}

.commerce-store-btn {
    border: 0;
    border-radius: 12px;
    padding: 11px 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: transparent;
    color: var(--text-muted);
    font: inherit;
    font-size: .82rem;
    font-weight: 700;
    cursor: pointer;
}

.commerce-store-btn svg { width: 17px; height: 17px; }
.commerce-store-btn.active {
    color: #fff;
    background: var(--primary-gradient);
    box-shadow: 0 8px 24px rgba(99, 102, 241, .22);
}

.commerce-section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}
.commerce-section-head h2 { font-size: 1.2rem; margin: 0 0 5px; }
.commerce-section-head p { color: var(--text-muted); font-size: .8rem; line-height: 1.6; margin: 0; }
.commerce-small-btn { width: auto !important; padding: 9px 11px !important; white-space: nowrap; font-size: .76rem !important; }

.commerce-inline-loading {
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: .84rem;
}
.commerce-inline-loading.hidden { display: none; }

.commerce-product-list, .commerce-order-list, .commerce-price-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.commerce-product-card, .commerce-order-card, .commerce-price-card {
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 15px;
    background: var(--card-bg);
}
.commerce-product-card h3, .commerce-order-card h3 { font-size: .96rem; margin: 0; }
.commerce-product-card p { color: var(--text-muted); font-size: .79rem; line-height: 1.75; margin: 9px 0 13px; white-space: pre-line; }
.commerce-product-meta, .commerce-order-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: var(--text-muted);
    font-size: .76rem;
}
.commerce-price-main { font-weight: 800; color: #22d3ee; font-size: .94rem; }
/* Account products are priced in dollars; the toman equivalent sits beneath. */
.commerce-price-toman { display: block; margin-top: 2px; font-size: .68rem; font-weight: 600; color: var(--text-muted, #94a3b8); }
.commerce-old-price { text-decoration: line-through; color: #ef4444; font-size: .72rem; margin-left: 5px; }
.commerce-card-actions { display: flex; gap: 8px; margin-top: 13px; }
.commerce-card-actions .btn { padding: 10px; font-size: .8rem; }

.account-variant-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 105px), 1fr));
    gap: 8px;
    margin-bottom: 12px;
}
.account-variant-choice {
    display: grid;
    align-content: start;
    gap: 4px;
    text-align: start;
    min-height: 48px;
    padding: 9px;
    color: var(--text-color);
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font: inherit;
    font-size: .78rem;
    cursor: pointer;
}
.account-variant-choice[aria-pressed="true"] {
    border-color: #0891b2;
    background: rgba(8,145,178,.12);
    box-shadow: inset 0 0 0 1px #0891b2;
}
.account-variant-details { margin-bottom: 12px; color: var(--text-muted); font-size: .78rem; }
.account-variant-details p { white-space: pre-line; line-height: 1.7; }

.commerce-step-label { margin: 4px 0 12px; font-size: .86rem; font-weight: 800; }
.commerce-service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 600px) {
    .commerce-service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
}
.commerce-service-card {
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 14px 12px;
    background: var(--card-bg);
    color: var(--text-color);
    font: inherit;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    text-align: right;
    direction: rtl;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.commerce-service-card:hover, .commerce-service-card:active {
    transform: translateY(-2px);
    border-color: rgba(99, 102, 241, 0.45);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.15);
}
.service-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}
.service-icon-badge {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 13px;
    background: rgba(99, 102, 241, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6366f1;
    flex-shrink: 0;
    transition: transform .25s cubic-bezier(0.34, 1.56, 0.64, 1), background-color .2s ease;
}
body.light-theme .service-icon-badge {
    background: #eef2ff;
    color: #4f46e5;
}
.commerce-service-card:hover .service-icon-badge {
    transform: scale(1.08);
    background: rgba(99, 102, 241, 0.22);
}
body.light-theme .commerce-service-card:hover .service-icon-badge {
    background: #e0e7ff;
}
.service-icon-mask {
    display: inline-block;
    width: 25px;
    height: 25px;
    background-color: currentColor;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}
.service-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
    overflow: hidden;
}
.service-name-fa {
    font-size: .88rem;
    font-weight: 800;
    color: var(--text-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}
.service-name-en {
    font-size: .72rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
    direction: ltr;
    text-align: right;
}
.service-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-top: 8px;
    border-top: 1px solid var(--border-color);
    font-size: .72rem;
    color: #6366f1;
    font-weight: 700;
}
body.light-theme .service-card-footer {
    color: #4f46e5;
}
.service-card-footer svg {
    width: 13px;
    height: 13px;
    transition: transform .2s ease;
}
.commerce-service-card:hover .service-card-footer svg {
    transform: translateX(-3px);
}

.commerce-price-card { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.commerce-price-card .country { font-weight: 750; font-size: .88rem; }
.commerce-price-card .stock { color: var(--text-muted); font-size: .7rem; margin-top: 3px; }
.commerce-price-card .btn { width: auto; padding: 9px 12px; font-size: .76rem; }

.commerce-search-wrap { position: relative; margin-bottom: 12px; }
.commerce-search-wrap svg { position: absolute; right: 12px; top: 12px; width: 17px; height: 17px; color: var(--text-muted); }
.commerce-search-wrap input { padding-right: 38px; }
.commerce-back-link {
    border: 0;
    background: transparent;
    color: #22d3ee;
    font: inherit;
    font-size: .8rem;
    font-weight: 700;
    padding: 0 0 13px;
    cursor: pointer;
}

.commerce-status {
    display: inline-block;
    border-radius: 99px;
    padding: 4px 8px;
    font-size: .68rem;
    font-weight: 800;
    color: #fbbf24;
    background: rgba(245, 158, 11, .12);
}
.commerce-status.completed { color: #34d399; background: rgba(16, 185, 129, .12); }
.commerce-status.failed { color: #f87171; background: rgba(239, 68, 68, .12); }
.commerce-delivery {
    margin-top: 12px;
    padding: 11px;
    border-radius: 11px;
    background: rgba(6, 182, 212, .08);
    border: 1px dashed rgba(34, 211, 238, .28);
    direction: ltr;
    text-align: left;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    font-family: monospace;
    font-size: .78rem;
}
.commerce-order-shortcuts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.commerce-order-shortcuts button {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 10px 7px;
    background: var(--card-bg);
    color: var(--text-color);
    font: inherit;
    font-size: .75rem;
    font-weight: 700;
}
.commerce-empty { text-align: center; color: var(--text-muted); padding: 36px 12px; font-size: .84rem; }

/* Loyalty club */
.loyalty-hero{position:relative;overflow:hidden;min-height:230px;padding:22px;border-radius:25px;color:#fff;background:linear-gradient(140deg,#5039c8 0%,#7c4dff 48%,#08a9c9 100%);box-shadow:0 22px 55px rgba(80,57,200,.28);isolation:isolate}.loyalty-orb{position:absolute;border-radius:50%;filter:blur(2px);opacity:.3;z-index:-1}.loyalty-orb-one{width:180px;height:180px;left:-65px;top:-70px;background:#fff}.loyalty-orb-two{width:150px;height:150px;right:-45px;bottom:-70px;background:#38e8ff}.loyalty-hero-top{display:flex;justify-content:space-between;align-items:center}.loyalty-eyebrow{display:flex;align-items:center;gap:7px;font-size:.82rem;font-weight:800}.loyalty-eyebrow svg{width:17px}.loyalty-tier-badge{padding:6px 11px;border-radius:99px;background:rgba(255,255,255,.17);border:1px solid rgba(255,255,255,.27);font-size:.72rem;font-weight:800}.loyalty-points{display:flex;flex-direction:column;align-items:center;margin:25px 0 18px}.loyalty-points strong{font-size:3.25rem;line-height:1;font-weight:900;text-shadow:0 8px 20px rgba(0,0,0,.18)}.loyalty-points span{margin-top:8px;font-size:.77rem;opacity:.84}.loyalty-progress{height:8px;border-radius:99px;background:rgba(255,255,255,.2);overflow:hidden}.loyalty-progress span{display:block;width:0;height:100%;border-radius:inherit;background:#fff;box-shadow:0 0 14px #fff;transition:width .7s ease}.loyalty-hero p{margin:9px 0 0;text-align:center;font-size:.72rem;opacity:.82}.loyalty-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0}.loyalty-stats>div{display:grid;grid-template-columns:39px 1fr;grid-template-rows:auto auto;column-gap:9px;padding:13px;border:1px solid var(--border-color);border-radius:16px;background:var(--card-bg)}.loyalty-stat-icon{grid-row:1/3;width:39px;height:39px;border-radius:12px;display:flex;align-items:center;justify-content:center}.loyalty-stat-icon svg{width:19px}.loyalty-stat-icon.violet{color:#a78bfa;background:rgba(139,92,246,.12)}.loyalty-stat-icon.cyan{color:#22d3ee;background:rgba(6,182,212,.12)}.loyalty-stats small{color:var(--text-muted);font-size:.65rem}.loyalty-stats strong{margin-top:3px;font-size:.79rem}.loyalty-rule{display:flex;gap:9px;align-items:flex-start;padding:12px 13px;margin:4px 0 20px;border-radius:14px;color:var(--text-muted);background:rgba(245,158,11,.08);border:1px solid rgba(245,158,11,.2);font-size:.74rem;line-height:1.75}.loyalty-rule svg{flex:0 0 auto;width:18px;color:#f59e0b}.loyalty-section-head{display:flex;align-items:center;justify-content:space-between;margin:20px 2px 11px}.loyalty-section-head h3{font-size:1rem;margin:0}.loyalty-section-head p{font-size:.68rem;color:var(--text-muted);margin:3px 0 0}.loyalty-section-head>svg{width:21px;color:#a78bfa}.loyalty-rewards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.loyalty-reward{overflow:hidden;border:1px solid var(--border-color);border-radius:18px;background:var(--card-bg)}.loyalty-reward-media{height:105px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,rgba(139,92,246,.14),rgba(6,182,212,.12))}.loyalty-reward-media img{width:100%;height:100%;object-fit:cover}.loyalty-reward-media svg{width:40px;height:40px;color:#a78bfa}.loyalty-reward-body{padding:12px}.loyalty-reward h4{font-size:.82rem;margin:0 0 5px}.loyalty-reward p{height:38px;overflow:hidden;font-size:.67rem;line-height:1.6;color:var(--text-muted);margin:0 0 9px}.loyalty-reward-meta{display:flex;justify-content:space-between;align-items:center;font-size:.67rem;color:var(--text-muted)}.loyalty-reward-meta strong{font-size:.8rem;color:#f59e0b}.loyalty-reward button{width:100%;margin-top:10px;padding:8px;border:0;border-radius:10px;color:#fff;background:var(--primary-gradient);font:inherit;font-size:.72rem;font-weight:800}.loyalty-reward button:disabled{opacity:.45}.loyalty-history{display:flex;flex-direction:column;gap:8px}.loyalty-history-item{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid var(--border-color);border-radius:14px;background:var(--card-bg)}.loyalty-history-icon{width:37px;height:37px;border-radius:12px;display:flex;align-items:center;justify-content:center;color:#34d399;background:rgba(16,185,129,.1)}.loyalty-history-icon.negative{color:#f87171;background:rgba(239,68,68,.1)}.loyalty-history-icon svg{width:18px}.loyalty-history-copy{min-width:0;flex:1}.loyalty-history-copy strong{display:block;font-size:.76rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.loyalty-history-copy small{display:block;color:var(--text-muted);font-size:.63rem;margin-top:3px}.loyalty-history-points{font-weight:900;font-size:.82rem;color:#34d399;direction:ltr}.loyalty-history-points.negative{color:#f87171}.loyalty-status{font-size:.62rem;padding:4px 7px;border-radius:99px;background:rgba(245,158,11,.12);color:#f59e0b}.loyalty-status.fulfilled{background:rgba(16,185,129,.12);color:#34d399}.loyalty-status.cancelled{background:rgba(239,68,68,.12);color:#f87171}
.commerce-notice {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-bottom: 14px;
    padding: 11px 12px;
    border: 1px solid rgba(34, 211, 238, .22);
    border-radius: 13px;
    background: rgba(6, 182, 212, .07);
    color: var(--text-muted);
    font-size: .76rem;
    line-height: 1.7;
}
.commerce-notice svg { width: 18px; height: 18px; flex: 0 0 auto; color: #22d3ee; margin-top: 2px; }
.commerce-quantity-row { display: flex; gap: 8px; align-items: center; margin-top: 10px; }
.commerce-quantity-row input { width: 84px; text-align: center; }

.commerce-stars-custom { grid-column: 1 / -1; }
.commerce-stars-value { text-align: center; margin: 12px 0 4px; color: #22d3ee; }
.commerce-stars-value strong { font-size: 1.8rem; line-height: 1; }
.commerce-stars-range { width: 100%; direction: ltr; accent-color: #22d3ee; margin: 10px 0 14px; }
.commerce-stars-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.commerce-stars-controls label { color: var(--text-muted); font-size: .8rem; white-space: nowrap; }
.commerce-stars-controls input { width: 140px; margin: 0; text-align: center; font-weight: 800; }
.commerce-stars-limit { display: block; color: var(--text-muted); font-size: .7rem; margin-top: 10px; text-align: center; }

.telegram-service-section { grid-column: 1 / -1; padding: 13px; border: 1px solid var(--border-color); border-radius: 22px; }
.telegram-service-section-head { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; }
.telegram-service-section-head > span { display: grid; place-items: center; width: 43px; height: 43px; flex: 0 0 auto; border-radius: 14px; color: #fff; }
.telegram-service-section-head svg { width: 21px; height: 21px; }
.telegram-service-section-head h3 { margin: 0 0 3px; font-size: .94rem; }
.telegram-service-section-head p { margin: 0; color: var(--text-muted); font-size: .69rem; line-height: 1.55; }
.telegram-service-section-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.telegram-stars-section { border-color: rgba(245,158,11,.34); background: linear-gradient(135deg,rgba(245,158,11,.12),rgba(234,179,8,.045)); }
.telegram-stars-section .telegram-service-section-head > span { background: linear-gradient(135deg,#f59e0b,#eab308); box-shadow: 0 9px 22px rgba(245,158,11,.24); }
.telegram-stars-card { border-color: rgba(245,158,11,.30); background: linear-gradient(145deg,var(--card-bg),rgba(245,158,11,.08)); }
.telegram-stars-card .commerce-price-main,.telegram-stars-card .commerce-stars-value { color: #f59e0b; }
.telegram-stars-card .commerce-card-actions .btn { background: linear-gradient(135deg,#f59e0b,#d97706); }
.telegram-stars-card .commerce-stars-range { accent-color: #f59e0b; }
.telegram-premium-section { border-color: rgba(59,130,246,.34); background: linear-gradient(135deg,rgba(59,130,246,.11),rgba(99,102,241,.045)); }
.telegram-premium-section .telegram-service-section-head > span { background: linear-gradient(135deg,#3b82f6,#6366f1); box-shadow: 0 9px 22px rgba(59,130,246,.24); }
.telegram-premium-card { border-color: rgba(59,130,246,.29); background: linear-gradient(145deg,var(--card-bg),rgba(59,130,246,.075)); }
.telegram-premium-card .commerce-price-main { color: #60a5fa; }
.telegram-premium-card .commerce-card-actions .btn { background: linear-gradient(135deg,#3b82f6,#4f46e5); }
.telegram-gifts-section { border-color: rgba(236,72,153,.34); background: linear-gradient(135deg,rgba(236,72,153,.11),rgba(168,85,247,.05)); }
.telegram-gifts-section .telegram-service-section-grid { grid-template-columns: 1fr; }
.telegram-gifts-section .telegram-service-section-head > span { background: linear-gradient(135deg,#ec4899,#a855f7); box-shadow: 0 9px 22px rgba(236,72,153,.24); }
.telegram-gift-card { position: relative; overflow: hidden; border-color: rgba(236,72,153,.28); background: linear-gradient(145deg,var(--card-bg),rgba(236,72,153,.075)); }
.telegram-gift-card .commerce-price-main { color: #f472b6; }
.telegram-gift-card .commerce-card-actions .btn { background: linear-gradient(135deg,#ec4899,#9333ea); }
.telegram-gift-card .commerce-card-actions .btn:disabled { opacity: .55; filter: grayscale(.2); }
.telegram-gift-visual { display: grid; place-items: center; width: 104px; height: 104px; margin: 0 auto 10px; border-radius: 28px; background: radial-gradient(circle,rgba(244,114,182,.23),rgba(168,85,247,.07) 65%,transparent 66%); }
.telegram-gift-visual img { width: 88px; height: 88px; object-fit: contain; filter: drop-shadow(0 12px 17px rgba(168,85,247,.28)); }
.telegram-gift-visual > span { font-size: 3.4rem; filter: drop-shadow(0 12px 17px rgba(168,85,247,.28)); }
.telegram-gift-browser { min-width: 0; overflow: hidden; border: 1px solid rgba(148,163,184,.18); border-radius: 22px; background: #101923; box-shadow: inset 0 1px rgba(255,255,255,.035); }
.telegram-gift-browser-tabs { display: flex; align-items: center; justify-content: center; gap: 5px; padding: 10px 10px 6px; direction: ltr; }
.telegram-gift-browser-tabs button { padding: 7px 15px; border: 0; border-radius: 18px; color: #98a7b9; background: transparent; font: inherit; font-size: .74rem; font-weight: 800; }
.telegram-gift-browser-tabs button.active { color: #fff; background: #3d4857; }
.telegram-gift-browser-panel { max-height: 470px; overflow-y: auto; padding: 8px 10px 13px; scrollbar-width: thin; scrollbar-color: #405064 transparent; }
.telegram-gift-browser-panel.hidden { display: none; }
.telegram-gift-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; direction: ltr; }
.telegram-gift-cell { position: relative; min-width: 0; min-height: 132px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 8px 3px 7px; overflow: hidden; border: 1px solid transparent; border-radius: 14px; color: #fff; background: #182431; font: inherit; transition: transform .16s,border-color .16s,background .16s; }
.telegram-gift-cell:active { transform: scale(.97); }
.telegram-gift-cell.selected { border-color: #38bdf8; background: #1d3040; box-shadow: 0 0 0 2px rgba(56,189,248,.12); }
.telegram-gift-cell:disabled { opacity: .45; }
.telegram-gift-cell-media { display: grid; place-items: center; width: 76px; height: 76px; }
.telegram-gift-cell-media img { width: 74px; height: 74px; object-fit: contain; filter: drop-shadow(0 8px 11px rgba(0,0,0,.32)); }
.telegram-gift-cell-media > span { font-size: 2.85rem; }
.telegram-gift-asset { position: relative; display: grid; place-items: center; width: 100%; height: 100%; overflow: visible; }
.telegram-gift-asset .telegram-gift-fallback,.telegram-gift-asset .telegram-gift-emoji { position: relative; z-index: 2; transition: opacity .2s ease; }
.telegram-gift-asset [data-gift-lottie],.telegram-gift-asset [data-gift-video] { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.telegram-gift-asset [data-gift-lottie] svg { width: 100%!important; height: 100%!important; overflow: visible; filter: drop-shadow(0 8px 11px rgba(0,0,0,.32)); }
.telegram-gift-asset.animation-ready .telegram-gift-fallback,.telegram-gift-asset.animation-ready .telegram-gift-emoji { opacity: 0; pointer-events: none; }
.telegram-gift-asset.animation-ready [data-gift-lottie],.telegram-gift-asset.animation-ready [data-gift-video] { z-index: 3; }
.telegram-gift-cell strong { display: flex; align-items: center; gap: 2px; min-height: 23px; padding: 3px 8px; border-radius: 12px; color: #f8d166; background: rgba(113,91,49,.48); font-size: .69rem; white-space: nowrap; }
.telegram-gift-cell strong i { font-style: normal; font-size: .65rem; }
.telegram-gift-cell small { max-width: 100%; overflow: hidden; color: #93a4b6; font-size: .55rem; text-overflow: ellipsis; white-space: nowrap; }
.telegram-gift-cell em { position: absolute; top: 7px; right: -22px; width: 76px; padding: 3px 0; transform: rotate(45deg); color: #fff; background: #22c55e; font-size: .53rem; font-style: normal; font-weight: 800; text-transform: uppercase; }
.telegram-gift-browser-footer { position: sticky; bottom: 0; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; padding: 11px 12px; border-top: 1px solid rgba(148,163,184,.14); background: rgba(16,25,35,.96); backdrop-filter: blur(12px); }
.telegram-gift-browser-footer > div { display: flex; min-width: 0; flex-direction: column; gap: 2px; }
.telegram-gift-browser-footer span { overflow: hidden; color: #e6edf5; font-size: .7rem; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.telegram-gift-browser-footer small { color: #7f90a3; font-size: .56rem; }
.telegram-gift-browser-footer .btn { width: auto; min-width: 82px; min-height: 38px; margin: 0; padding: 8px 14px; border-radius: 12px; background: linear-gradient(135deg,#229ed9,#4f46e5); font-size: .72rem; }
.telegram-gift-market-state { min-height: 245px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 22px; text-align: center; color: #8191a3; }
.telegram-gift-market-state svg { width: 39px; height: 39px; color: #a855f7; }
.telegram-gift-market-state strong { color: #d8e0ea; font-size: .78rem; }
.telegram-gift-market-state span { max-width: 260px; font-size: .66rem; line-height: 1.7; }
.telegram-ads-section { border-color: rgba(139,92,246,.36); background: linear-gradient(135deg,rgba(139,92,246,.12),rgba(14,165,233,.05)); }
.telegram-ads-section .telegram-service-section-head > span { background: linear-gradient(135deg,#7c3aed,#0ea5e9); box-shadow: 0 9px 22px rgba(124,58,237,.24); }

body.telegram-modal-open { overflow: hidden; }
.telegram-recipient-modal { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: flex-end; justify-content: center; padding: 0; }
.telegram-recipient-modal.hidden { display: none; }
.telegram-recipient-backdrop { position: absolute; inset: 0; background: rgba(2, 6, 23, .72); backdrop-filter: blur(8px); }
.telegram-recipient-sheet {
    position: relative; width: 100%; max-width: 520px; max-height: 92vh; overflow-y: auto;
    padding: 10px 20px calc(20px + env(safe-area-inset-bottom)); border: 1px solid var(--border-color);
    border-radius: 28px 28px 0 0; background: var(--bg-color); color: var(--text-color);
    box-shadow: 0 -24px 70px rgba(2, 6, 23, .42); animation: telegramSheetIn .24s ease-out;
}
.telegram-recipient-handle { width: 42px; height: 5px; margin: 0 auto 17px; border-radius: 20px; background: var(--border-color-hover); }
.telegram-recipient-heading { display: grid; grid-template-columns: 48px 1fr 38px; align-items: center; gap: 11px; margin-bottom: 20px; }
.telegram-recipient-logo { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; color: white; background: linear-gradient(135deg,#229ed9,#38bdf8); box-shadow: 0 10px 24px rgba(34,158,217,.25); }
.telegram-recipient-logo svg { width: 23px; height: 23px; }
.telegram-recipient-heading h3 { margin: 0 0 3px; font-size: 1.05rem; }
.telegram-recipient-heading p { margin: 0; color: var(--text-muted); font-size: .74rem; }
.telegram-recipient-close { display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 12px; color: var(--text-muted); background: var(--card-bg-hover); }
.telegram-recipient-close svg { width: 19px; height: 19px; }
.telegram-recipient-label { display: block; margin-bottom: 8px; font-size: .8rem; font-weight: 800; }
.telegram-recipient-input-wrap { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; direction: ltr; min-height: 56px; padding: 5px 6px 5px 7px; border: 1px solid var(--border-color-hover); border-radius: 17px; background: var(--card-bg); transition: border-color .2s, box-shadow .2s; }
.telegram-recipient-input-wrap:focus-within { border-color: #38bdf8; box-shadow: 0 0 0 4px rgba(56,189,248,.12); }
.telegram-recipient-input-wrap > span { text-align: center; color: #38bdf8; font-size: 1.15rem; font-weight: 900; }
.telegram-recipient-input-wrap input { width: 100%; min-width: 0; margin: 0; padding: 10px 3px; direction: ltr; text-align: left; border: 0 !important; outline: 0; box-shadow: none !important; color: var(--text-color); background: transparent; font: 800 .95rem/1.2 monospace; }
.telegram-recipient-input-wrap button { height: 42px; padding: 0 14px; border: 0; border-radius: 12px; color: white; background: linear-gradient(135deg,#0ea5e9,#2563eb); font-size: .76rem; font-weight: 800; }
.telegram-recipient-input-wrap button:disabled { opacity: .6; }
.telegram-recipient-help { margin: 7px 4px 14px; color: var(--text-muted); font-size: .7rem; }
.telegram-profile-state { display: flex; align-items: center; gap: 9px; min-height: 58px; margin-bottom: 13px; padding: 12px 14px; border-radius: 16px; color: var(--text-muted); background: var(--card-bg); font-size: .76rem; line-height: 1.6; }
.telegram-profile-state.hidden { display: none; }
.telegram-profile-state.error { color: #f87171; background: rgba(239,68,68,.09); }
.telegram-profile-state svg { width: 18px; height: 18px; flex: 0 0 auto; }
.telegram-profile-spinner { width: 20px; height: 20px; flex: 0 0 auto; border: 2px solid rgba(56,189,248,.22); border-top-color: #38bdf8; border-radius: 50%; animation: telegramSpin .75s linear infinite; }
.telegram-profile-preview { position: relative; display: grid; grid-template-columns: 64px 1fr 28px; align-items: center; gap: 12px; margin-bottom: 13px; padding: 14px; overflow: hidden; border: 1px solid rgba(34,197,94,.28); border-radius: 20px; background: linear-gradient(135deg,rgba(34,197,94,.10),rgba(56,189,248,.08)); }
.telegram-profile-preview.hidden { display: none; }
.telegram-profile-avatar { display: grid; place-items: center; width: 64px; height: 64px; overflow: hidden; border: 3px solid rgba(255,255,255,.72); border-radius: 50%; color: white; background: linear-gradient(135deg,#229ed9,#6366f1); box-shadow: 0 7px 20px rgba(2,132,199,.25); font-size: 1.4rem; font-weight: 900; }
.telegram-profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.telegram-profile-copy { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.telegram-profile-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .95rem; }
.telegram-profile-copy > span { direction: ltr; text-align: right; color: #38bdf8; font: 700 .78rem/1.4 monospace; }
.telegram-profile-copy small { display: -webkit-box; overflow: hidden; color: var(--text-muted); font-size: .68rem; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.telegram-profile-check { display: grid; place-items: center; width: 27px; height: 27px; border-radius: 50%; color: white; background: #22c55e; }
.telegram-profile-check svg { width: 16px; height: 16px; stroke-width: 3; }
.telegram-recipient-warning { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 14px; padding: 10px 12px; border-radius: 14px; color: var(--text-muted); background: rgba(245,158,11,.08); font-size: .7rem; line-height: 1.7; }
.telegram-recipient-warning svg { width: 17px; height: 17px; flex: 0 0 auto; color: #f59e0b; margin-top: 2px; }
.telegram-recipient-confirm { margin: 0; min-height: 52px; border-radius: 16px !important; }
.telegram-recipient-confirm:disabled { opacity: .42; filter: grayscale(.3); }
.telegram-gift-sheet { max-width: 560px; }
.telegram-gift-logo { background: linear-gradient(135deg,#ec4899,#9333ea); box-shadow: 0 10px 24px rgba(236,72,153,.25); }
.telegram-gift-summary { display: grid; grid-template-columns: 62px 1fr auto; align-items: center; gap: 12px; margin-bottom: 16px; padding: 12px; border: 1px solid rgba(236,72,153,.25); border-radius: 19px; background: linear-gradient(135deg,rgba(236,72,153,.10),rgba(168,85,247,.07)); }
.telegram-gift-summary > div:first-child { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 17px; background: rgba(255,255,255,.08); }
.telegram-gift-summary img { width: 56px; height: 56px; object-fit: contain; }
.telegram-gift-summary .telegram-gift-asset { width: 56px; height: 56px; }
.telegram-gift-summary > div:first-child span { font-size: 2.2rem; }
.telegram-gift-summary > div:nth-child(2) { display: flex; flex-direction: column; gap: 4px; }
.telegram-gift-summary strong { font-size: .85rem; }
.telegram-gift-summary span { color: var(--text-muted); font-size: .7rem; }
.telegram-gift-summary > b { color: #f472b6; font-size: .82rem; white-space: nowrap; }
.telegram-gift-recipient-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.telegram-gift-recipient-tabs button { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 48px; border: 1px solid var(--border-color); border-radius: 15px; color: var(--text-muted); background: var(--card-bg); font: inherit; font-size: .78rem; font-weight: 800; }
.telegram-gift-recipient-tabs button.active { color: #fff; border-color: transparent; background: linear-gradient(135deg,#ec4899,#9333ea); box-shadow: 0 8px 18px rgba(236,72,153,.2); }
.telegram-gift-recipient-tabs svg,.telegram-gift-friend svg { width: 17px; height: 17px; }
.telegram-gift-friend { width: 100%; display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 8px; margin-bottom: 12px; padding: 13px; border: 1px dashed rgba(56,189,248,.5); border-radius: 15px; color: var(--text-color); background: rgba(56,189,248,.07); font: inherit; font-size: .75rem; font-weight: 800; text-align: right; }
.telegram-gift-friend.hidden { display: none; }
.telegram-gift-friend b { direction: ltr; color: #38bdf8; }
.telegram-gift-friend.selected { border-style: solid; border-color: rgba(34,197,94,.45); background: rgba(34,197,94,.08); }
.telegram-gift-manual { display: block; width: 100%; margin: -4px 0 12px; border: 0; color: #38bdf8; background: transparent; font: inherit; font-size: .68rem; font-weight: 700; }
.telegram-gift-manual.hidden { display: none; }
.telegram-gift-message { display: grid; gap: 7px; margin-bottom: 12px; font-size: .78rem; font-weight: 800; }
.telegram-gift-message > span { display: flex; justify-content: space-between; }
.telegram-gift-message small { color: var(--text-muted); font-weight: 500; }
.telegram-gift-message textarea { width: 100%; margin: 0; padding: 12px 13px; resize: vertical; border: 1px solid var(--border-color-hover); border-radius: 15px; outline: 0; color: var(--text-color); background: var(--card-bg); font: inherit; line-height: 1.7; }
.telegram-gift-message textarea:focus { border-color: #ec4899; box-shadow: 0 0 0 4px rgba(236,72,153,.10); }
.telegram-gift-upgrade { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; padding: 12px; border: 1px solid rgba(245,158,11,.25); border-radius: 15px; background: rgba(245,158,11,.07); }
.telegram-gift-upgrade.hidden { display: none; }
.telegram-gift-upgrade input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: #ec4899; }
.telegram-gift-upgrade span { display: flex; flex-direction: column; gap: 3px; }
.telegram-gift-upgrade strong { font-size: .75rem; }
.telegram-gift-upgrade small { color: var(--text-muted); font-size: .66rem; }
.telegram-gift-total { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; padding: 13px 14px; border-radius: 15px; background: var(--card-bg); }
.telegram-gift-total span { color: var(--text-muted); font-size: .75rem; }
.telegram-gift-total strong { color: #f472b6; font-size: .95rem; }
.telegram-gift-order { border-color: rgba(236,72,153,.25); }
.telegram-gift-order-message { margin: 8px 0; padding: 9px 11px; border-radius: 12px; color: var(--text-muted); background: rgba(236,72,153,.07); font-size: .72rem; line-height: 1.65; }
.telegram-ads-card { grid-column: 1 / -1; border-color: rgba(167,139,250,.38); background: linear-gradient(135deg,rgba(124,58,237,.13),rgba(14,165,233,.09)); }
.telegram-ads-card-title { display: flex; align-items: center; gap: 10px; margin: 10px 0 8px; }
.telegram-ads-card-title > span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; color: #fff; background: linear-gradient(135deg,#7c3aed,#0ea5e9); }
.telegram-ads-card-title svg { width: 20px; height: 20px; }
.telegram-ads-card-title h3 { margin: 0; }
.telegram-ads-card .commerce-product-icon { color: #fff; background: linear-gradient(135deg,#7c3aed,#0ea5e9); box-shadow: 0 10px 24px rgba(124,58,237,.22); }
.telegram-ads-sheet { max-width: 580px; }
.telegram-ads-logo { background: linear-gradient(135deg,#7c3aed,#0ea5e9); box-shadow: 0 10px 24px rgba(124,58,237,.24); }
.telegram-ads-form { display: grid; gap: 12px; }
.telegram-ads-form > label,.telegram-ads-grid label { display: grid; gap: 7px; color: var(--text-color); font-size: .77rem; font-weight: 800; }
.telegram-ads-form label small { color: var(--text-muted); font-size: .66rem; font-weight: 500; }
.telegram-ads-form input,.telegram-ads-form textarea { width: 100%; margin: 0; padding: 12px 13px; border: 1px solid var(--border-color-hover); border-radius: 14px; outline: 0; color: var(--text-color); background: var(--card-bg); font: inherit; resize: vertical; transition: border-color .2s,box-shadow .2s; }
.telegram-ads-form input:focus,.telegram-ads-form textarea:focus { border-color: #8b5cf6; box-shadow: 0 0 0 4px rgba(139,92,246,.11); }
.telegram-ads-form .ltr { direction: ltr; text-align: left; }
.telegram-ads-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.telegram-ads-preview { padding: 13px 14px; border: 1px solid rgba(34,158,217,.25); border-radius: 17px; background: linear-gradient(135deg,rgba(34,158,217,.08),rgba(124,58,237,.07)); }
.telegram-ads-preview strong { display: block; margin-bottom: 7px; font-size: .76rem; }
.telegram-ads-preview p { margin: 0 0 8px; font-size: .77rem; line-height: 1.75; white-space: pre-wrap; }
.telegram-ads-preview a { direction: ltr; display: block; overflow: hidden; color: #38bdf8; font-size: .7rem; text-overflow: ellipsis; white-space: nowrap; }
.telegram-ads-quote { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 3px 12px; padding: 13px 14px; border-radius: 16px; background: var(--card-bg); }
.telegram-ads-quote span { color: var(--text-muted); font-size: .74rem; }
.telegram-ads-quote strong { color: #22d3ee; font-size: 1rem; }
.telegram-ads-quote small { grid-column: 1 / -1; color: var(--text-muted); font-size: .65rem; }
.telegram-ads-order { border-color: rgba(139,92,246,.25); }
.telegram-ads-order > p { color: var(--text-muted); font-size: .75rem; line-height: 1.7; white-space: pre-wrap; }
.telegram-ads-status-note { display: block; margin-top: 9px; padding: 8px 10px; border-radius: 11px; color: var(--text-muted); background: var(--card-bg-hover); font-size: .68rem; line-height: 1.65; }
@keyframes telegramSheetIn { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes telegramSpin { to { transform: rotate(360deg); } }

/* Smart VPN purchase guide */
.smart-guide-launch { position: relative; width: 100%; display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 11px; margin: 0 0 18px; padding: 13px; overflow: hidden; border: 1px solid rgba(56,189,248,.3); border-radius: 18px; color: var(--text-color); background: linear-gradient(125deg,rgba(14,165,233,.13),rgba(124,58,237,.12),rgba(236,72,153,.08)); font: inherit; text-align: right; box-shadow: 0 12px 30px rgba(14,165,233,.08); }
.smart-guide-launch::after { content: ''; position: absolute; top: -45px; left: 18%; width: 90px; height: 120px; transform: rotate(25deg); background: linear-gradient(90deg,transparent,rgba(255,255,255,.1),transparent); animation: smartGuideShine 4.5s ease-in-out infinite; pointer-events: none; }
.smart-guide-launch-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; color: #fff; background: linear-gradient(135deg,#06b6d4,#7c3aed); box-shadow: 0 9px 22px rgba(124,58,237,.25); }
.smart-guide-launch-icon svg { width: 23px; height: 23px; }
.smart-guide-launch-copy { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.smart-guide-launch-copy strong { font-size: .84rem; }
.smart-guide-launch-copy small { color: var(--text-muted); font-size: .65rem; line-height: 1.55; }
.smart-guide-launch-action { display: flex; align-items: center; gap: 2px; padding: 7px 10px; border-radius: 11px; color: #38bdf8; background: rgba(56,189,248,.1); font-size: .66rem; font-weight: 800; white-space: nowrap; }
.smart-guide-launch-action svg { width: 14px; height: 14px; }
body.smart-guide-open { overflow: hidden; }
.smart-guide-modal { position: fixed; z-index: 10020; inset: 0; display: flex; align-items: flex-end; justify-content: center; }
.smart-guide-modal.hidden { display: none; }
.smart-guide-backdrop { position: absolute; inset: 0; background: rgba(2,6,23,.74); backdrop-filter: blur(7px); }
.smart-guide-sheet { position: relative; width: 100%; max-width: 570px; max-height: min(92vh,760px); overflow: auto; border: 1px solid var(--border-color-hover); border-radius: 28px 28px 0 0; color: var(--text-color); background: color-mix(in srgb,var(--bg-color) 95%,#111827 5%); box-shadow: 0 -25px 80px rgba(2,6,23,.45); animation: smartGuideUp .28s cubic-bezier(.22,.8,.3,1); scrollbar-width: none; }
.smart-guide-sheet::-webkit-scrollbar { display: none; }
.smart-guide-handle { position: sticky; z-index: 4; top: 0; width: 42px; height: 5px; margin: 9px auto 0; border-radius: 6px; background: rgba(148,163,184,.35); }
.smart-guide-question { padding: 5px 18px 20px; }
.smart-guide-top { display: grid; grid-template-columns: 36px 1fr 36px; align-items: center; gap: 9px; margin: 7px 0 11px; }
.smart-guide-brand { display: flex; align-items: center; justify-content: center; gap: 8px; }
.smart-guide-brand > span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; color: #fff; background: linear-gradient(135deg,#06b6d4,#7c3aed); }
.smart-guide-brand svg { width: 17px; height: 17px; }
.smart-guide-brand > div { display: flex; flex-direction: column; gap: 1px; }
.smart-guide-brand strong { font-size: .77rem; }
.smart-guide-brand small { color: var(--text-muted); font-size: .58rem; }
.smart-guide-close,.smart-guide-back { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--border-color); border-radius: 12px; color: var(--text-muted); background: var(--card-bg); }
.smart-guide-close svg,.smart-guide-back svg { width: 17px; height: 17px; }
.smart-guide-top-spacer { width: 36px; }
.smart-guide-progress { height: 5px; overflow: hidden; border-radius: 5px; background: rgba(148,163,184,.13); direction: rtl; }
.smart-guide-progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#7c3aed,#06b6d4); transition: width .25s ease; }
.smart-guide-question-copy { padding: 22px 2px 14px; text-align: center; }
.smart-guide-question-copy > span { display: inline-flex; padding: 5px 10px; border-radius: 20px; color: #22d3ee; background: rgba(34,211,238,.09); font-size: .62rem; font-weight: 800; }
.smart-guide-question-copy h2 { margin: 10px 0 6px; font-size: 1.08rem; line-height: 1.55; }
.smart-guide-question-copy p { max-width: 430px; margin: auto; color: var(--text-muted); font-size: .7rem; line-height: 1.75; }
.smart-guide-options { display: grid; gap: 9px; }
.smart-guide-options > button { width: 100%; display: grid; grid-template-columns: 43px 1fr 18px; align-items: center; gap: 10px; padding: 11px; border: 1px solid var(--border-color); border-radius: 16px; color: var(--text-color); background: var(--card-bg); font: inherit; text-align: right; transition: transform .16s,border-color .16s,background .16s; }
.smart-guide-options > button:active { transform: scale(.985); border-color: rgba(34,211,238,.45); background: rgba(34,211,238,.06); }
.smart-guide-options > button > svg { width: 16px; color: var(--text-muted); }
.smart-guide-option-icon { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 13px; color: #67e8f9; background: linear-gradient(135deg,rgba(6,182,212,.17),rgba(124,58,237,.13)); }
.smart-guide-option-icon svg { width: 21px; height: 21px; }
.smart-guide-options > button > span:nth-child(2) { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
.smart-guide-options strong { font-size: .77rem; line-height: 1.5; }
.smart-guide-options small { color: var(--text-muted); font-size: .62rem; line-height: 1.6; }
.smart-guide-privacy { display: flex; align-items: center; justify-content: center; gap: 5px; margin: 14px 0 0; color: var(--text-muted); font-size: .57rem; }
.smart-guide-privacy svg { width: 14px; height: 14px; color: #22c55e; }
.smart-guide-result { --guide-accent:#22d3ee; padding: 20px 18px 22px; }
.smart-guide-tone-violet { --guide-accent:#a78bfa; }
.smart-guide-tone-rose { --guide-accent:#fb7185; }
.smart-guide-tone-emerald { --guide-accent:#34d399; }
.smart-guide-tone-amber { --guide-accent:#fbbf24; }
.smart-guide-tone-blue { --guide-accent:#60a5fa; }
.smart-guide-result-celebrate { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 2px 0 17px; color: #22c55e; font-size: .66rem; font-weight: 800; }
.smart-guide-result-celebrate svg { width: 17px; height: 17px; }
.smart-guide-result-hero { display: grid; grid-template-columns: 70px 1fr; align-items: center; gap: 14px; padding: 17px; border: 1px solid color-mix(in srgb,var(--guide-accent) 32%,transparent); border-radius: 22px; background: linear-gradient(135deg,color-mix(in srgb,var(--guide-accent) 14%,transparent),rgba(124,58,237,.06)); }
.smart-guide-result-icon { position: relative; display: grid; place-items: center; width: 70px; height: 70px; border-radius: 21px; color: #fff; background: linear-gradient(145deg,var(--guide-accent),#6d28d9); box-shadow: 0 13px 30px color-mix(in srgb,var(--guide-accent) 25%,transparent); }
.smart-guide-result-icon svg { width: 29px; height: 29px; }
.smart-guide-result-icon b { position: absolute; right: -5px; bottom: -5px; display: grid; place-items: center; width: 26px; height: 26px; border: 3px solid var(--bg-color); border-radius: 50%; color: #fff; background: #111827; font-size: .78rem; }
.smart-guide-result-hero small { color: var(--guide-accent); font-size: .58rem; font-weight: 800; }
.smart-guide-result-hero h2 { margin: 3px 0; font-size: 1.2rem; }
.smart-guide-result-hero p { margin: 0; color: var(--text-muted); font-size: .68rem; line-height: 1.65; }
.smart-guide-result-location { display: flex; align-items: center; gap: 7px; margin: 11px 0; padding: 10px 12px; border-radius: 14px; color: var(--text-muted); background: var(--card-bg); font-size: .68rem; font-weight: 700; }
.smart-guide-result-location svg { width: 17px; height: 17px; color: var(--guide-accent); }
.smart-guide-result-reasons { display: grid; gap: 7px; margin: 13px 1px; }
.smart-guide-result-reasons > div { display: flex; align-items: flex-start; gap: 7px; color: var(--text-color); font-size: .7rem; line-height: 1.7; }
.smart-guide-result-reasons svg { flex: 0 0 auto; width: 16px; height: 16px; margin-top: 4px; padding: 2px; border-radius: 50%; color: #052e16; background: #4ade80; }
.smart-guide-result-apps { display: grid; grid-template-columns: 38px 1fr; align-items: center; gap: 9px; margin: 13px 0 16px; padding: 11px; border: 1px dashed color-mix(in srgb,var(--guide-accent) 35%,transparent); border-radius: 15px; background: color-mix(in srgb,var(--guide-accent) 6%,transparent); }
.smart-guide-result-apps > svg { width: 21px; color: var(--guide-accent); }
.smart-guide-result-apps > div { display: flex; flex-direction: column; gap: 2px; }
.smart-guide-result-apps small { color: var(--text-muted); font-size: .56rem; }
.smart-guide-result-apps strong { font-size: .68rem; line-height: 1.55; }
.smart-guide-buy { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 50px; margin: 0; border-radius: 15px; background: linear-gradient(135deg,var(--guide-accent),#6d28d9); font-size: .78rem; }
.smart-guide-buy svg { width: 17px; height: 17px; }
.smart-guide-result-actions { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 13px; }
.smart-guide-result-actions button { display: flex; align-items: center; gap: 4px; border: 0; color: var(--text-muted); background: transparent; font: inherit; font-size: .62rem; }
.smart-guide-result-actions svg { width: 14px; height: 14px; }
@keyframes smartGuideUp { from { opacity: 0; transform: translateY(35px); } to { opacity: 1; transform: translateY(0); } }
@keyframes smartGuideShine { 0%,58% { transform: translateX(150px) rotate(25deg); opacity: 0; } 68% { opacity: 1; } 88%,100% { transform: translateX(-270px) rotate(25deg); opacity: 0; } }

@media (min-width: 640px) {
    .telegram-recipient-modal { align-items: center; padding: 20px; }
    .telegram-recipient-sheet { border-radius: 28px; padding: 14px 24px 24px; box-shadow: 0 30px 100px rgba(2,6,23,.55); }
    .smart-guide-modal { align-items: center; padding: 20px; }
    .smart-guide-sheet { border-radius: 28px; }
    .smart-guide-options { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 380px) {
    .smart-guide-launch { grid-template-columns: 43px 1fr; }
    .smart-guide-launch-icon { width: 43px; height: 43px; }
    .smart-guide-launch-action { display: none; }
    .smart-guide-question { padding-inline: 13px; }
    .smart-guide-result { padding-inline: 13px; }
}

@media (min-width: 640px) {
    .commerce-product-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .commerce-service-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .telegram-service-section-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 390px) {
    .commerce-store-btn { padding-inline: 3px; font-size: .72rem; gap: 3px; }
    .commerce-store-btn svg { width: 15px; height: 15px; }
    .telegram-ads-grid { grid-template-columns: 1fr; }
}

/* Ready Telegram Account Card & Banner */
.ready-account-hero-card {
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(99, 102, 241, 0.4);
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(30, 27, 75, 0.5), rgba(15, 23, 42, 0.8));
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px -5px rgba(99, 102, 241, 0.2);
    transition: all 0.3s ease;
    grid-column: 1 / -1;
}
body.light-theme .ready-account-hero-card {
    border-color: rgba(99, 102, 241, 0.25);
    background: linear-gradient(145deg, #ffffff, #f1f5f9);
    box-shadow: 0 10px 30px -5px rgba(99, 102, 241, 0.1);
}
.ready-account-hero-card:hover {
    border-color: #6366f1;
    transform: translateY(-2px);
    box-shadow: 0 14px 35px -5px rgba(99, 102, 241, 0.3);
}
.ready-account-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}
.ready-account-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 9px;
    border-radius: 9999px;
    font-size: 0.68rem;
    font-weight: 700;
}
.ready-account-pill.amber {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}
.ready-account-pill.indigo {
    background: rgba(99, 102, 241, 0.15);
    color: #818cf8;
    border: 1px solid rgba(99, 102, 241, 0.3);
}
.ready-account-pill.emerald {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}
.ready-account-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}
.ready-account-avatar {
    position: relative;
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: linear-gradient(135deg, #0284c7, #3b82f6);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 16px rgba(14, 165, 233, 0.3);
}
.ready-account-avatar img {
    width: 30px;
    height: 30px;
}
.ready-account-avatar .flag-badge {
    position: absolute;
    bottom: -4px;
    left: -4px;
    font-size: 14px;
    border-radius: 50%;
    line-height: 1;
    background: var(--bg-color);
    padding: 2px;
}
.ready-account-header h3 {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 4px;
    color: var(--text-color);
}
.ready-account-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    margin: 12px 0 16px;
    font-size: 0.72rem;
    color: var(--text-muted);
}
.ready-account-feature-item {
    display: flex;
    align-items: center;
    gap: 6px;
}
.ready-account-feature-item svg {
    width: 14px;
    height: 14px;
    color: #10b981;
    flex-shrink: 0;
}
.ready-account-pricing-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
    margin-top: 12px;
}
.ready-account-qty-ctrl {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 3px 8px;
}
.ready-account-qty-btn {
    background: none;
    border: none;
    color: var(--text-color);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    cursor: pointer;
    font-size: 1rem;
}
.ready-account-qty-input {
    width: 32px;
    text-align: center;
    background: transparent;
    border: none;
    color: var(--text-color);
    font-weight: bold;
    font-size: 0.85rem;
}
.ready-account-sms-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(168, 85, 247, 0.08));
    border: 1px dashed rgba(99, 102, 241, 0.35);
    border-radius: 14px;
    padding: 12px 14px;
    margin-bottom: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.ready-account-sms-banner:hover {
    border-color: #6366f1;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.18), rgba(168, 85, 247, 0.12));
}
.ready-account-sms-banner-text {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--text-color);
}
.ready-account-sms-banner-text svg {
    color: #f59e0b;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}
.ready-account-sms-banner-cta {
    font-size: 0.72rem;
    font-weight: 700;
    color: #6366f1;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* BiDi Title Isolation Fix */
.commerce-product-card h3 {
    direction: rtl;
    text-align: right;
    unicode-bidi: isolate;
    line-height: 1.55;
    margin-top: 10px;
}
.commerce-product-card h3 bdi,
.ready-account-header h3 bdi {
    direction: ltr;
    unicode-bidi: isolate;
    display: inline-block;
    margin: 0 4px;
    font-family: inherit;
    font-weight: 800;
}

/* Custom Account Inquiry Card */
.custom-account-inquiry-card {
    grid-column: 1 / -1;
    margin-top: 20px;
    padding: 18px 20px;
    border-radius: 20px;
    border: 1.5px dashed rgba(99, 102, 241, 0.4);
    background: linear-gradient(145deg, rgba(30, 27, 75, 0.35), rgba(15, 23, 42, 0.6));
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: border-color 0.2s ease;
}
body.light-theme .custom-account-inquiry-card {
    background: linear-gradient(145deg, #f8fafc, #edf2f7);
    border-color: rgba(99, 102, 241, 0.35);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}
.custom-account-inquiry-card:hover {
    border-color: #6366f1;
}
.inquiry-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}
.inquiry-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(245, 158, 11, 0.2));
    color: #f59e0b;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.inquiry-icon svg {
    width: 22px;
    height: 22px;
}
.inquiry-header h4 {
    margin: 0 0 4px;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-color);
}
.inquiry-header p {
    margin: 0;
    font-size: 0.73rem;
    color: var(--text-muted);
    line-height: 1.5;
}
.inquiry-form {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}
.inquiry-form input {
    flex: 1;
    font-size: 0.8rem;
    padding: 10px 14px;
    border-radius: 12px;
}
.inquiry-form button {
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 12px;
}
.inquiry-status {
    margin-top: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
}
.inquiry-status.success {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}
.inquiry-status.error {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Account Quantity Interactive Bottom Sheet Modal */
.account-qty-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}
.account-qty-modal.active {
    opacity: 1;
    pointer-events: auto;
}
.account-qty-sheet {
    width: 100%;
    max-width: 520px;
    max-height: 94dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #0f172a;
    border-radius: 26px 26px 0 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 20px 28px;
    transform: translateY(100%);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.5);
    color: var(--text-color);
}
body.light-theme .account-qty-sheet {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.12);
}
.account-qty-modal.active .account-qty-sheet {
    transform: translateY(0);
}
.account-qty-sheet-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}
.account-qty-sheet-title {
    display: flex;
    align-items: center;
    gap: 10px;
}
.account-qty-sheet-title h3 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 800;
}
.account-qty-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
body.light-theme .account-qty-close {
    background: #f1f5f9;
}
.account-qty-unit-price-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    font-size: 0.75rem;
    margin-bottom: 16px;
}
.account-qty-presets {
    display: flex;
    gap: 8px;
    margin: 12px 0;
}
.account-qty-chip {
    flex: 1;
    padding: 9px 6px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-color);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    transition: all 0.18s ease;
}
body.light-theme .account-qty-chip {
    border-color: #e2e8f0;
    background: #f8fafc;
}
.account-qty-chip.active {
    background: #6366f1;
    border-color: #6366f1;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35);
}
.account-qty-stepper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 16px 0;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
}
body.light-theme .account-qty-stepper {
    background: #f8fafc;
    border-color: #e2e8f0;
}
.account-qty-step-btn {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-color);
    font-size: 1.35rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
}
body.light-theme .account-qty-step-btn {
    background: #ffffff;
    border-color: #cbd5e1;
}
.account-qty-step-btn:active {
    transform: scale(0.92);
}
.account-qty-input-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}
.account-qty-number-input {
    width: 90px;
    font-size: 1.45rem;
    font-weight: 800;
    text-align: center;
    border: none;
    background: transparent;
    color: var(--text-color);
    outline: none;
}
.account-qty-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 14px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(16, 185, 129, 0.08));
    border: 1px solid rgba(99, 102, 241, 0.25);
    margin: 16px 0 20px;
}
.account-qty-confirm-btn {
    width: 100%;
    min-height: 48px;
    font-size: 0.92rem;
    font-weight: 800;
    border-radius: 14px;
}


