/* Desktop uses original v3 presentation. All new visual rules are mobile-only. */
.contacts-refresh { display:none; }
.contacts-desktop-original { display:block; }
@media (max-width:1100px) {
.contacts-refresh { display:block; }
.contacts-desktop-original { display:none; }
/* Changes limited to the requested v3 presentation fixes. No layout-wide opacity/filter. */
:root { --sw-surface:rgba(12,12,16,.72); }
/* Only visible panels: never wrapper/main/header ancestors of fixed dialogs. */
body .sw-premium-card,
body .why-we,
body .guarantee-item,
body .guarantee-item-m1,
body .guarantee-item-m2,
body .home-about-slide,
body .game__main,
body .game__specs-card-dark,
body .game__specs-card,
body .game__specs,
body .game-info-section,
body .cases__link,
body .faq__item,
body .how-works,
body .news-card,
body .noob-profile__main,
body .noob-profile__trade,
body .profile-settings-card,
body .profile-games__item,
body .profile-dashboard-section,
body .prizes_list,
body .live_prizes,
body .mobile-topbar,
body .mobile-bottom-nav,
body .mobile-drawer,
body .popup-container,
body .refill.popup,
body #prize,
body .contacts-refresh__link {
  background:linear-gradient(rgba(255,255,255,.025),rgba(255,255,255,.025)),rgba(12,12,16,.72) !important;
  backdrop-filter:blur(12px) !important;
  -webkit-backdrop-filter:blur(12px) !important;
}
/* Fix the nested page-art pseudo-element without touching form behavior. */
body .profile-settings-card--security { background-image:none !important; }
body .profile-settings-card--security::before,
body .profile-settings-card--security::after { content:none !important; }
.contacts-refresh { padding:30px 0 45px; }
.contacts-refresh__heading { margin-bottom:24px; }
#contact.contacts-refresh .page-title { margin:0 0 12px !important;text-align:left !important; }
.contacts-refresh__heading p { font-size:16px;line-height:1.6;color:#c9cdd5;margin:0;max-width:600px; }
.contacts-refresh__links { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px; }
.contacts-refresh__link { display:flex;align-items:center;gap:16px;padding:22px 18px;border:1px solid rgba(243,206,117,.24);border-radius:16px;min-width:0;text-decoration:none;box-shadow:0 8px 24px rgba(0,0,0,.15); }
.contacts-refresh__link>img { width:48px;height:48px;object-fit:contain;flex:0 0 48px; }
.contacts-refresh__link>span:not(.contacts-refresh__arrow) { min-width:0;flex:1; }
.contacts-refresh__link strong { display:block;font-size:19px;line-height:1.3;color:#f5f3ef;margin-bottom:6px; }
.contacts-refresh__link small { display:block;font-size:14px;line-height:1.45;color:#c9cdd5;overflow-wrap:anywhere; }
.contacts-refresh__arrow { color:#f3ce75;font-size:22px; }
.contacts-refresh__link:hover { border-color:#f3ce75; }
.contacts-refresh__community { margin-top:36px; }
.contacts-refresh__community>h2 { margin:0 0 20px;font-size:26px;line-height:1.25;color:#f5f3ef; }
#contact .home-about-slide { border:1px solid rgba(243,206,117,.2) !important;border-radius:18px;box-sizing:border-box; }
#contact .home-about-slide__inner { display:flex;gap:20px;align-items:center; }
#contact .home-about-slide__art { position:static !important;float:none !important;width:120px !important;height:140px !important;object-fit:contain !important;margin:0 !important;flex:0 0 120px; }
#contact .home-about-slide__content { flex:1;min-width:0;padding:0 !important; }
#contact .home-about-slide h3 { font-size:21px;line-height:1.3;margin:0 0 12px;color:#f5f3ef; }
#contact .home-about-slide p { font-size:16px !important;line-height:1.6 !important;margin:0 0 20px;color:#c9cdd5; }
#contact .contacts-refresh__action { display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:10px 16px;border:1px solid #d8b66e;border-radius:11px;background:linear-gradient(135deg,#f4dfa0,#d7b16b);color:#241d12 !important;font-size:14px !important;line-height:1.4;font-weight:700;text-decoration:none;box-sizing:border-box; }
.contacts-refresh a:focus-visible { outline:3px solid #f3ce75;outline-offset:3px; }
/* Dialog art stays crisp. Blur is confined to the full-screen backdrop. */
body #swShopsBanner { filter:none !important;backdrop-filter:blur(8px) !important;-webkit-backdrop-filter:blur(8px) !important;background:rgba(0,0,0,.70) !important; }
body #swShopsBanner .sw-banner-content,
body #swShopsBanner .sw-banner-img,
body #swShopsBanner .sw-banner-footer { filter:none !important;backdrop-filter:none !important;-webkit-backdrop-filter:none !important;opacity:1 !important; }
body #swShopsBanner .sw-banner-content { max-height:calc(100dvh - 24px);overflow:auto;border-radius:14px; }
body #swShopsBanner .sw-banner-img { border:0 !important;box-shadow:none !important;max-height:70dvh;object-fit:contain; }
body #swShopsBanner .sw-banner-footer { margin:0;border:0 !important;background:rgba(12,12,16,.72);gap:12px;flex-wrap:wrap; }
body #swShopsBanner .sw-close-btn { top:8px !important;right:8px !important;width:44px !important;height:44px !important; }
@media(max-width:1100px) {
  :root { --sw-surface:rgba(12,12,16,.72); }
  .contacts-refresh { padding:20px 0 30px !important; }
  .contacts-refresh__links { grid-template-columns:1fr;gap:12px; }
  .contacts-refresh__link { padding:18px;min-height:86px;box-sizing:border-box; }
  #contact .home-about-carousel { margin:0 !important; }
  #contact .home-about-slide { padding:20px !important; }
  #contact .home-about-slide__inner { flex-direction:column !important;gap:16px; }
  #contact .home-about-slide__art { width:104px !important;height:104px !important;flex:0 0 104px;align-self:center; }
  #contact .home-about-slide__content { width:100% !important; }
  #contact .contacts-refresh__action { width:100%; }
  body .game__specs-header { display:flex !important;flex-wrap:nowrap !important;align-items:center !important;gap:8px !important; }
  body .game__specs-title { white-space:nowrap !important;font-size:clamp(16px,4.5vw,21px) !important;line-height:1.35 !important;margin:0 !important;letter-spacing:0 !important;word-break:normal !important; }
  body .game__specs-header>i { flex:0 0 auto; }
  body #swShopsBanner .sw-dont-show-label { font-size:14px !important;line-height:1.4 !important; }
  body #swShopsBanner .sw-close-footer-btn { min-height:44px;font-size:14px !important; }
}
body .header__menu,
body .header_catalog-wrapper,
body .mini-profile,
body .profile-frame {
  background:linear-gradient(rgba(255,255,255,.025),rgba(255,255,255,.025)),rgba(12,12,16,.72) !important;
  backdrop-filter:blur(12px) !important;
  -webkit-backdrop-filter:blur(12px) !important;
}
/* The carousel is a layout wrapper, not a second painted card. */
body .home-about-carousel { background:transparent !important; }

}

/* FAQ mobile: the outer card already supplies the surface. */
@media (max-width:1100px) {
  body .faq-how-works > .how-works {
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
    backdrop-filter:none !important;
    -webkit-backdrop-filter:none !important;
  }
}

/* Mobile account cards: one painted surface, 70% opacity = 30% transparency. */
@media (max-width:1100px) {
  body .cases__item,
  body .cases__item:hover,
  body .cases__item:active {
    background:rgba(22,22,28,.70) !important;
    backdrop-filter:blur(12px) !important;
    -webkit-backdrop-filter:blur(12px) !important;
    border:1px solid rgba(255,255,255,.10) !important;
    border-radius:18px !important;
    box-shadow:0 8px 24px rgba(0,0,0,.12) !important;
    transform:none !important;
    min-width:0 !important;
    min-height:0 !important;
    overflow:hidden;
  }
  body .cases__item > .cases__link,
  body .cases__item > .cases__link:hover,
  body .cases__item > .cases__link:active {
    display:block !important;
    width:100% !important;
    box-sizing:border-box;
    background:transparent !important;
    backdrop-filter:none !important;
    -webkit-backdrop-filter:none !important;
    border:0 !important;
    box-shadow:none !important;
    padding:18px 12px !important;
    touch-action:pan-y pinch-zoom;
    -webkit-tap-highlight-color:rgba(255,198,7,.08);
  }
  body .cases__item > .cases__link:focus-visible {
    outline:2px solid #ffc607;
    outline-offset:-4px;
  }
  body .cases__item .cases__name,
  body .cases__item .cases__name_2 {
    font-size:16px !important;
    line-height:1.45 !important;
    padding:0 6px !important;
    margin:0 !important;
    height:auto !important;
    min-height:0 !important;
    white-space:normal !important;
    overflow:visible !important;
    overflow-wrap:anywhere;
    -webkit-line-clamp:unset !important;
  }
  body .cases__item .cases__name::after,
  body .cases__item .cases__name_2::after {
    width:min(220px,80%) !important;
    margin:8px auto 4px !important;
  }
  body .cases__item .cases__image-wrapper {
    display:block !important;
    width:100% !important;
    height:auto !important;
    min-height:0 !important;
    max-height:none !important;
    margin:0 !important;
    padding:8px 0 0 !important;
    transform:none !important;
  }
  body .cases__item .cases__image {
    display:block !important;
    width:100% !important;
    max-width:580px !important;
    height:auto !important;
    max-height:360px !important;
    object-fit:contain !important;
    margin:0 auto !important;
  }
  body .cases__item .cases__price-wrapper {
    position:relative !important;
    justify-content:center !important;
    margin:14px 0 0 !important;
    padding:0 !important;
  }
  body .cases__item .cases__price { font-size:25px !important;line-height:1.25 !important; }
  body .cases__item .cases__percent { position:relative !important;top:auto !important;left:auto !important;margin:4px auto 8px !important; }
}

/* Bonus / wishes: mobile presentation only. Roulette geometry and scripts stay intact. */
@media (max-width:1100px) {
  body .roll_lenta > .roll-row {
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    width:calc(100% - 28px) !important;
    margin:16px 14px 24px !important;
    padding:18px !important;
    gap:16px !important;
    box-sizing:border-box;
    border:1px solid rgba(255,255,255,.10);
    border-radius:18px;
    background:rgba(22,22,28,.70);
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
  }
  body .roll_lenta .roll_text { width:100% !important;min-width:0; }
  body .roll_lenta .roll_text_h {
    margin:0 0 8px !important;
    font-size:28px !important;
    line-height:1.2 !important;
    letter-spacing:0 !important;
    text-transform:none !important;
    text-shadow:none !important;
    color:#f3ce75;
  }
  body .roll_lenta .roll_text_s { font-size:15px !important;line-height:1.6 !important;color:#c5c6cf; }
  body .roll_lenta .bg-info-sub { padding:14px !important;margin:0 0 18px;border-radius:12px;background:rgba(255,255,255,.035);overflow-wrap:anywhere; }
  body .roll_lenta .bg-info-sub img { max-width:32px !important;max-height:32px !important;object-fit:contain;vertical-align:middle; }
  body .roll_lenta .bg-info-sub a { display:inline-flex;align-items:center;gap:8px;min-height:44px;line-height:1.4; }
  body .roll_lenta .button {
    width:100% !important;
    min-height:52px !important;
    height:auto !important;
    margin:0 !important;
    padding:14px 16px !important;
    border-radius:12px !important;
    font-size:16px !important;
    line-height:1.45 !important;
    white-space:normal;
  }
  body .roll_lenta .button[disabled] { font-size:14px !important;color:#c5c6cf !important; }
  body .roll_lenta + .roll-row { display:grid !important;grid-template-columns:minmax(0,1fr) !important;gap:20px !important;padding:0 14px !important;margin:0 0 28px !important;box-sizing:border-box; }
  body .prizes_list,
  body .live_prizes { width:100% !important;margin:0 !important;padding:16px !important;box-sizing:border-box;border:1px solid rgba(255,255,255,.10) !important;border-radius:18px !important;background:rgba(22,22,28,.70) !important;backdrop-filter:blur(12px) !important;-webkit-backdrop-filter:blur(12px) !important; }
  body .prizes_list { display:grid !important;grid-template-columns:repeat(2,minmax(0,1fr)) !important;gap:12px !important;align-items:start; }
  body .prizes_list > h4,
  body .live_prizes > h4 { grid-column:1/-1;width:100%;margin:0 0 6px !important;padding:0 !important;font-size:21px !important;line-height:1.3 !important;text-transform:none !important;text-shadow:none !important;color:#f3ce75; }
  body .prizes_list .prizes_item { display:flex !important;flex-direction:column;width:100% !important;height:auto !important;min-width:0;margin:0 !important;overflow:hidden;border:1px solid rgba(255,255,255,.08);border-radius:12px;background:rgba(255,255,255,.025);box-sizing:border-box; }
  body .prizes_list .prizes_item img { display:block;width:100% !important;height:auto !important;aspect-ratio:16/10;object-fit:contain !important; }
  body .prizes_list .prizes_item span { display:block;position:static !important;left:auto;bottom:auto;width:auto !important;margin:0 !important;padding:10px !important;background:transparent !important;text-align:left !important;font-size:14px !important;line-height:1.45 !important;color:#efeff2;overflow-wrap:anywhere; }
  body .live_prizes { display:flex !important;flex-direction:column;gap:0 !important;max-height:none !important; }
  body .live_prizes .live_prizes_item { display:flex !important;align-items:center;gap:12px;width:100% !important;height:auto !important;min-height:72px;margin:0 !important;padding:12px 0;box-sizing:border-box;border-radius:0;overflow:visible;border-bottom:1px solid rgba(255,255,255,.08); }
  body .live_prizes .live_prizes_item:last-child { border-bottom:0;padding-bottom:0; }
  body .live_prizes .live_prizes_item_img { width:72px !important;height:50px !important;object-fit:contain !important;flex:0 0 72px;border-radius:8px; }
  body .live_prizes .live_prizes_item_text { position:static !important;left:auto;bottom:auto;flex:1;min-width:0;width:auto !important;margin:0;padding:0 !important;background:transparent !important;text-align:left !important;font-size:14px !important;line-height:1.5 !important;color:#d5d6df;overflow-wrap:anywhere; }
}
