/* 23.11 (владелец: «окно нехватки GEM верни, красиво, ненавязчиво»): на русской версии окно #buyGemModal это компактная нижняя панель, а не весь экран.
   Не затемняет и не блокирует страницу, не выше 35% экрана, один текст, одна кнопка от 56 px, крестик 48 px, только transform-анимация (на слабых устройствах без неё).
   Класс .gw ставит static/js/ru/gemwall.js при показе окна. */
#buyGemModal.gw { background: transparent !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; animation: none !important;
    align-items: flex-end; justify-content: center; pointer-events: none; box-sizing: border-box; padding: 0 12px var(--gw-bottom, 76px); }
#buyGemModal.gw[style*="none"] { display: none !important; }
#buyGemModal.gw .bg-dialog { pointer-events: auto; position: relative; width: 100%; max-width: 440px; max-height: 35vh; height: auto !important; min-height: 0 !important; overflow-y: auto; box-sizing: border-box; margin: 0;
    padding: 12px 14px; border-radius: 20px; text-align: left; border: 1px solid rgba(255, 122, 184, .35); box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
    animation: gw-up .22s ease-out both; }
@keyframes gw-up { from { transform: translateY(18px); } to { transform: translateY(0); } }
html.lite #buyGemModal.gw .bg-dialog { animation: none; }
@media (prefers-reduced-motion: reduce) { #buyGemModal.gw .bg-dialog { animation: none; } }
@media (min-width: 900px) { #buyGemModal.gw { justify-content: flex-end; padding-right: 24px; } }

#buyGemModal.gw .bg-illustration, #buyGemModal.gw .bg-title, #buyGemModal.gw .bg-free, #buyGemModal.gw .bg-note,
#buyGemModal.gw #bgTrialBtn, #buyGemModal.gw #bgTariffBtn, #buyGemModal.gw .bgr-pack, #buyGemModal.gw .bgr-tag, #buyGemModal.gw .bgr-what, #buyGemModal.gw .bgr > .bgr-more { display: none !important; }
#buyGemModal.gw.gw-slim .bg-dialog { padding-right: 56px; }
#buyGemModal.gw #bgSubtitle { padding-right: 40px; margin: 0 0 10px; font-size: 17px; line-height: 1.35; font-weight: 600; color: var(--text-primary, #fff); }
#buyGemModal.gw.gw-slim #bgSubtitle { display: none; }
#buyGemModal.gw .bg-close-btn { top: 0; right: 0; width: 48px; height: 48px; background: transparent; border-radius: 0; }
#buyGemModal.gw .bg-actions { margin: 0; }
#buyGemModal.gw .bgr { gap: 4px; }
#buyGemModal.gw .bgr-pay, #buyGemModal.gw #bgBuyBtn { min-height: 56px; width: 100%; box-sizing: border-box; border-radius: 16px; font-size: 18px; font-weight: 700; }
#buyGemModal.gw .bgr-sub { font-size: 15px; text-align: center; }
#buyGemModal.gw .bgr-wait b { font-size: 17px; }
#buyGemModal.gw .bgr-wait p { font-size: 15px; }
@media (max-width: 340px) { #buyGemModal.gw .bg-dialog { padding-left: 12px; } #buyGemModal.gw #bgSubtitle { font-size: 16px; margin-bottom: 8px; } #buyGemModal.gw .bgr-pay, #buyGemModal.gw #bgBuyBtn { font-size: 17px; } }
