/* winter.css — зимняя тема LymuCloud (07.11.2026). Пара к winter.js. */

/* снегопад */
#wsn-sky {
  position: fixed; inset: 0; z-index: 9990;
  pointer-events: none;
}

/* снежная шапка на карточке */
.wsn-rel { position: relative; }
.wsn-cap {
  position: absolute; top: -11px; left: 0; right: 0; height: 24px;
  z-index: 4; pointer-events: none; display: block; line-height: 0;
  filter: drop-shadow(0 1px 1.5px rgba(0, 0, 0, .35)) drop-shadow(0 0 6px rgba(190, 220, 255, .18));
  animation: wsn-fall .6s ease-out both;
}
.wsn-cap.wsn-in { top: -3px; }
.wsn-cap svg { display: block; width: 100%; height: 24px; overflow: visible; }
html.light:not(.lc-home) .wsn-cap {
  filter: drop-shadow(0 1px 1px rgba(60, 100, 160, .35)) drop-shadow(0 0 0.5px rgba(60, 100, 160, .5));
}
@keyframes wsn-fall { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .wsn-cap { animation: none; }
}
@media print { #wsn-sky, .wsn-cap { display: none !important; } }


/* баннер «Добро пожаловать» на главной кабинета — зимняя картинка (07.11) */
html:not(.lc-home):not(.lc-x) body #root .pg-banner.lc-dban.lc-dban {
  background:
    linear-gradient(90deg, rgba(6, 12, 24, .82) 0%, rgba(6, 12, 24, .58) 42%, rgba(6, 12, 24, .12) 78%, rgba(6, 12, 24, 0) 100%),
    url("/img/winter-banner.webp") center 64% / cover no-repeat,
    #0b1220 !important;
}
html:not(.lc-home) #root .lc-dban :is(.lc-dban-art, .lc-dban-art2) { display: none !important; }
html:not(.lc-home) #root .lc-dban h1, html:not(.lc-home) #root .lc-dban h1 .pg-name { color: #fff !important; -webkit-text-fill-color: #fff !important; text-shadow: 0 2px 14px rgba(0, 0, 0, .35); }
html:not(.lc-home) #root .lc-dban p { color: rgba(255, 255, 255, .82) !important; }
html:not(.lc-home) #root .lc-dban .lc-dban-kick { color: rgba(255, 255, 255, .9) !important; background: rgba(255, 255, 255, .14) !important; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
html:not(.lc-home) #root .lc-dban .lc-dban-sec { background: rgba(255, 255, 255, .14) !important; color: #fff !important; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
html:not(.lc-home) #root .lc-dban .lc-dban-sec:hover { background: rgba(255, 255, 255, .22) !important; }
@media (max-width: 767px) {
  html:not(.lc-home):not(.lc-x) body #root .pg-banner.lc-dban.lc-dban {
    background:
      linear-gradient(180deg, rgba(6, 12, 24, .55) 0%, rgba(6, 12, 24, .78) 100%),
      url("/img/winter-banner-m.webp") 30% 60% / cover no-repeat,
      #0b1220 !important;
  }
}

/* 09.11.2026: баннеры разделов кабинета — у каждого раздела своё фото */
html:not(.lc-home):not(.lc-x) body #root .pg-banner.lc-dban.lc-bn-servers {
  background: linear-gradient(90deg, rgba(6,12,24,.86) 0%, rgba(6,12,24,.60) 46%, rgba(6,12,24,.12) 82%, rgba(6,12,24,0) 100%), url("/img/bn/servers.jpg") center 55% / cover no-repeat, #0b1220 !important;
}
html:not(.lc-home):not(.lc-x) body #root .pg-banner.lc-dban.lc-bn-balance {
  background: linear-gradient(90deg, rgba(6,12,24,.86) 0%, rgba(6,12,24,.60) 46%, rgba(6,12,24,.12) 82%, rgba(6,12,24,0) 100%), url("/img/bn/balance.jpg") center 50% / cover no-repeat, #0b1220 !important;
}
html:not(.lc-home):not(.lc-x) body #root .pg-banner.lc-dban.lc-bn-referrals {
  background: linear-gradient(90deg, rgba(6,12,24,.86) 0%, rgba(6,12,24,.60) 46%, rgba(6,12,24,.12) 82%, rgba(6,12,24,0) 100%), url("/img/bn/referrals.jpg") center 45% / cover no-repeat, #0b1220 !important;
}
html:not(.lc-home):not(.lc-x) body #root .pg-banner.lc-dban.lc-bn-support {
  background: linear-gradient(90deg, rgba(6,12,24,.86) 0%, rgba(6,12,24,.60) 46%, rgba(6,12,24,.12) 82%, rgba(6,12,24,0) 100%), url("/img/bn/support.jpg") center 35% / cover no-repeat, #0b1220 !important;
}
html:not(.lc-home):not(.lc-x) body #root .pg-banner.lc-dban.lc-bn-tickets {
  background: linear-gradient(90deg, rgba(6,12,24,.86) 0%, rgba(6,12,24,.60) 46%, rgba(6,12,24,.12) 82%, rgba(6,12,24,0) 100%), url("/img/bn/support.jpg") center 35% / cover no-repeat, #0b1220 !important;
}
html:not(.lc-home):not(.lc-x) body #root .pg-banner.lc-dban.lc-bn-profile {
  background: linear-gradient(90deg, rgba(6,12,24,.86) 0%, rgba(6,12,24,.60) 46%, rgba(6,12,24,.12) 82%, rgba(6,12,24,0) 100%), url("/img/bn/profile.jpg") center 55% / cover no-repeat, #0b1220 !important;
}
html:not(.lc-home):not(.lc-x) body #root .pg-banner.lc-dban.lc-bn-buy {
  background: linear-gradient(90deg, rgba(6,12,24,.86) 0%, rgba(6,12,24,.60) 46%, rgba(6,12,24,.12) 82%, rgba(6,12,24,0) 100%), url("/img/bn/buy.jpg") center 60% / cover no-repeat, #0b1220 !important;
}
html:not(.lc-home):not(.lc-x) body #root .pg-banner.lc-dban.lc-bn-notif {
  background: linear-gradient(90deg, rgba(6,12,24,.86) 0%, rgba(6,12,24,.60) 46%, rgba(6,12,24,.12) 82%, rgba(6,12,24,0) 100%), url("/img/bn/notif.jpg") center 55% / cover no-repeat, #0b1220 !important;
}
html:not(.lc-home):not(.lc-x) body #root .pg-banner.lc-dban.lc-bn-reviews {
  background: linear-gradient(90deg, rgba(6,12,24,.86) 0%, rgba(6,12,24,.60) 46%, rgba(6,12,24,.12) 82%, rgba(6,12,24,0) 100%), url("/img/bn/reviews.jpg") center 55% / cover no-repeat, #0b1220 !important;
}
@media (max-width: 767px) {
  html:not(.lc-home):not(.lc-x) body #root .pg-banner.lc-dban.lc-bn-servers {
    background: linear-gradient(180deg, rgba(6,12,24,.52) 0%, rgba(6,12,24,.82) 100%), url("/img/bn/servers.jpg") 50% 55% / cover no-repeat, #0b1220 !important;
  }
  html:not(.lc-home):not(.lc-x) body #root .pg-banner.lc-dban.lc-bn-balance {
    background: linear-gradient(180deg, rgba(6,12,24,.52) 0%, rgba(6,12,24,.82) 100%), url("/img/bn/balance.jpg") 50% 50% / cover no-repeat, #0b1220 !important;
  }
  html:not(.lc-home):not(.lc-x) body #root .pg-banner.lc-dban.lc-bn-referrals {
    background: linear-gradient(180deg, rgba(6,12,24,.52) 0%, rgba(6,12,24,.82) 100%), url("/img/bn/referrals.jpg") 50% 45% / cover no-repeat, #0b1220 !important;
  }
  html:not(.lc-home):not(.lc-x) body #root .pg-banner.lc-dban.lc-bn-support,
  html:not(.lc-home):not(.lc-x) body #root .pg-banner.lc-dban.lc-bn-tickets {
    background: linear-gradient(180deg, rgba(6,12,24,.52) 0%, rgba(6,12,24,.82) 100%), url("/img/bn/support.jpg") 50% 30% / cover no-repeat, #0b1220 !important;
  }
  html:not(.lc-home):not(.lc-x) body #root .pg-banner.lc-dban.lc-bn-profile {
    background: linear-gradient(180deg, rgba(6,12,24,.52) 0%, rgba(6,12,24,.82) 100%), url("/img/bn/profile.jpg") 50% 55% / cover no-repeat, #0b1220 !important;
  }
  html:not(.lc-home):not(.lc-x) body #root .pg-banner.lc-dban.lc-bn-buy {
    background: linear-gradient(180deg, rgba(6,12,24,.52) 0%, rgba(6,12,24,.82) 100%), url("/img/bn/buy.jpg") 50% 60% / cover no-repeat, #0b1220 !important;
  }
  html:not(.lc-home):not(.lc-x) body #root .pg-banner.lc-dban.lc-bn-notif {
    background: linear-gradient(180deg, rgba(6,12,24,.52) 0%, rgba(6,12,24,.82) 100%), url("/img/bn/notif.jpg") 50% 55% / cover no-repeat, #0b1220 !important;
  }
  html:not(.lc-home):not(.lc-x) body #root .pg-banner.lc-dban.lc-bn-reviews {
    background: linear-gradient(180deg, rgba(6,12,24,.52) 0%, rgba(6,12,24,.82) 100%), url("/img/bn/reviews.jpg") 50% 55% / cover no-repeat, #0b1220 !important;
  }
}

/* snow toggle (20.11.2026) — кнопка ❄ в шапке */
header .lk-hdr-right > .lc-snow-btn {
  width: 36px !important; height: 36px !important; padding: 0 !important;
  display: inline-flex !important; align-items: center !important; justify-content: center !important;
  border: 0 !important; border-radius: 10px !important;
  background: transparent !important; color: rgba(255,255,255,.4) !important;
  cursor: pointer !important; transition: background .18s ease, color .18s ease;
}
header .lk-hdr-right > .lc-snow-btn:hover { background: rgba(255,255,255,.06) !important; color: rgba(255,255,255,.85) !important; }
header .lk-hdr-right > .lc-snow-btn.is-on { background: rgba(255,255,255,.1) !important; color: #fff !important; }
html.light header .lk-hdr-right > .lc-snow-btn { color: rgba(24,24,27,.45) !important; }
html.light header .lk-hdr-right > .lc-snow-btn:hover { background: rgba(24,24,27,.06) !important; color: rgba(24,24,27,.8) !important; }
html.light header .lk-hdr-right > .lc-snow-btn.is-on { background: rgba(24,24,27,.08) !important; color: #111114 !important; }

/* §41 (21.11.2026): снег — аккуратный тумблер «Снег», без снежинки-звёздочки */
header .lk-hdr-right > .lc-snow-btn {
  width: auto !important; height: 30px !important;
  padding: 0 8px 0 10px !important;
  display: inline-flex !important; align-items: center !important; gap: 8px !important;
  flex: 0 0 auto !important;
  border: 0 !important; border-radius: 999px !important;
  background: rgba(255,255,255,.05) !important;
  color: rgba(255,255,255,.55) !important;
  cursor: pointer !important;
  transition: background .2s ease, color .2s ease;
}
header .lk-hdr-right > .lc-snow-btn:hover { background: rgba(255,255,255,.09) !important; color: rgba(255,255,255,.85) !important; }
header .lk-hdr-right > .lc-snow-btn .lc-snow-tx { font-size: 11.5px !important; font-weight: 500 !important; line-height: 1 !important; }
header .lk-hdr-right > .lc-snow-btn .lc-snow-track {
  position: relative !important;
  width: 30px !important; height: 18px !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.14) !important;
  transition: background .2s ease !important;
  flex: 0 0 auto !important;
}
header .lk-hdr-right > .lc-snow-btn .lc-snow-track i {
  position: absolute !important;
  top: 2px !important; left: 2px !important;
  width: 14px !important; height: 14px !important;
  border-radius: 50% !important;
  background: #fff !important;
  box-shadow: 0 1px 2px rgba(0,0,0,.35) !important;
  transition: transform .22s cubic-bezier(.2,.8,.2,1) !important;
}
header .lk-hdr-right > .lc-snow-btn.is-on { background: rgba(255,255,255,.1) !important; color: #fff !important; }
header .lk-hdr-right > .lc-snow-btn.is-on .lc-snow-track { background: rgba(255,255,255,.38) !important; }
header .lk-hdr-right > .lc-snow-btn.is-on .lc-snow-track i { transform: translateX(12px) !important; }
html.light header .lk-hdr-right > .lc-snow-btn { background: rgba(24,24,27,.04) !important; color: rgba(24,24,27,.55) !important; }
html.light header .lk-hdr-right > .lc-snow-btn:hover { background: rgba(24,24,27,.08) !important; color: rgba(24,24,27,.85) !important; }
html.light header .lk-hdr-right > .lc-snow-btn .lc-snow-track { background: rgba(24,24,27,.14) !important; }
html.light header .lk-hdr-right > .lc-snow-btn .lc-snow-track i { background: #18181b !important; }
html.light header .lk-hdr-right > .lc-snow-btn.is-on { background: rgba(24,24,27,.08) !important; color: #111114 !important; }
html.light header .lk-hdr-right > .lc-snow-btn.is-on .lc-snow-track { background: rgba(24,24,27,.32) !important; }

/* §41b: перебиваем базовый размер кнопок шапки (32×32) — тумблеру нужна своя ширина */
html:not(.lc-home):not(.lk-auth) .lk-header .lk-hdr-right > .lc-snow-btn,
html:not(.lc-home):not(.lk-auth) .lk-hdr-right > .lc-snow-btn {
  width: 84px !important;
  height: 30px !important;
  padding: 0 8px 0 10px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.05) !important;
  color: rgba(255,255,255,.55) !important;
}
html:not(.lc-home):not(.lk-auth) .lk-hdr-right > .lc-snow-btn:hover { background: rgba(255,255,255,.09) !important; color: rgba(255,255,255,.85) !important; }
html:not(.lc-home):not(.lk-auth) .lk-hdr-right > .lc-snow-btn.is-on { background: rgba(255,255,255,.1) !important; color: #fff !important; }
html.light:not(.lc-home):not(.lk-auth) .lk-hdr-right > .lc-snow-btn { background: rgba(24,24,27,.04) !important; color: rgba(24,24,27,.55) !important; }
html.light:not(.lc-home):not(.lk-auth) .lk-hdr-right > .lc-snow-btn.is-on { background: rgba(24,24,27,.08) !important; color: #111114 !important; }

/* §42 (21.11.2026): снег — иконка-кнопка без текста (аккуратная снежинка) */
html:not(.lc-home):not(.lk-auth) .lk-header .lk-hdr-right > .lc-snow-btn,
html:not(.lc-home):not(.lk-auth) .lk-hdr-right > .lc-snow-btn {
  width: 34px !important;
  height: 34px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 !important;
  border: 0 !important;
  border-radius: 9px !important;
  background: transparent !important;
  color: rgba(255,255,255,.45) !important;
  transition: background .18s ease, color .18s ease !important;
}
html:not(.lc-home):not(.lk-auth) .lk-hdr-right > .lc-snow-btn:hover { background: rgba(255,255,255,.06) !important; color: rgba(255,255,255,.9) !important; }
html:not(.lc-home):not(.lk-auth) .lk-hdr-right > .lc-snow-btn.is-on { background: rgba(255,255,255,.1) !important; color: #fff !important; }
html:not(.lc-home):not(.lk-auth) .lk-hdr-right > .lc-snow-btn svg { width: 16px !important; height: 16px !important; display: block !important; }
html:not(.lc-home):not(.lk-auth) .lk-hdr-right > .lc-snow-btn :is(.lc-snow-tx, .lc-snow-track) { display: none !important; }
html.light:not(.lc-home):not(.lk-auth) .lk-hdr-right > .lc-snow-btn { color: rgba(24,24,27,.45) !important; }
html.light:not(.lc-home):not(.lk-auth) .lk-hdr-right > .lc-snow-btn:hover { background: rgba(24,24,27,.06) !important; color: rgba(24,24,27,.9) !important; }
html.light:not(.lc-home):not(.lk-auth) .lk-hdr-right > .lc-snow-btn.is-on { background: rgba(24,24,27,.08) !important; color: #111114 !important; }

/* §43 (21.11.2026): снег — просто иконка без рамки/фона, 18px, с мягким свечением при включении */
html:not(.lc-home):not(.lk-auth) .lk-header .lk-hdr-right > .lc-snow-btn,
html:not(.lc-home):not(.lk-auth) .lk-hdr-right > .lc-snow-btn {
  width: 34px !important;
  height: 34px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 9px !important;
  background: transparent !important;
  box-shadow: none !important;
  color: rgba(255,255,255,.35) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: color .18s ease !important;
}
html:not(.lc-home):not(.lk-auth) .lk-hdr-right > .lc-snow-btn:hover { background: transparent !important; color: rgba(255,255,255,.75) !important; }
html:not(.lc-home):not(.lk-auth) .lk-hdr-right > .lc-snow-btn.is-on {
  background: transparent !important;
  color: #ffffff !important;
  filter: drop-shadow(0 0 6px rgba(255,255,255,.35));
}
html:not(.lc-home):not(.lk-auth) .lk-hdr-right > .lc-snow-btn svg { width: 18px !important; height: 18px !important; display: block !important; }
html.light:not(.lc-home):not(.lk-auth) .lk-hdr-right > .lc-snow-btn { color: rgba(24,24,27,.35) !important; }
html.light:not(.lc-home):not(.lk-auth) .lk-hdr-right > .lc-snow-btn:hover { color: rgba(24,24,27,.75) !important; }
html.light:not(.lc-home):not(.lk-auth) .lk-hdr-right > .lc-snow-btn.is-on { color: #111114 !important; filter: drop-shadow(0 0 6px rgba(24,24,27,.25)); }
