:root{--holiday-banner:url(/style/img/newyear-boulevard.webp);--holiday-hat:url(/style/img/newyear-logo-hat.webp);--holiday-hero:url(/style/img/newyear-hero.webp)}
:root {
  --holiday-night: #101927;
  --holiday-deep: #152338;
  --holiday-ice: #bee4fb;
  --holiday-gold: #ffd18b;
  --holiday-line: #b7cde0;
  --holiday-warm: #fff3e5;
  --holiday-surface: #f7fbff;
  --holiday-rule: linear-gradient(90deg, transparent, #9dc9e7 36%, #ffd495 68%, transparent);
  --holiday-action: linear-gradient(118deg,#ffd488,#ffad47 55%,#ff7b13);
  --holiday-paper: radial-gradient(ellipse at 98% 0%, #fff1de, transparent 62%),
    linear-gradient(140deg, #fff, #eef5fc);
}
.sm-holiday-snow {
  position: absolute;
  display: block;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
header.sm-header, header.sm-header.is-scrolled {
  background: linear-gradient(100deg, #14253aee, #0d141fee 55%, #2b1d1bea);
  border-bottom-color: #3a526a;
}
header.sm-header::after, html#XF .p-nav::after, footer.sm-footer::before {
  content: "";
  position: absolute;
  inset-inline: 5%;
  bottom: -1px;
  height: 1px;
  pointer-events: none;
  background: var(--holiday-rule);
}
header.sm-header .sm-btn--primary {
  background: var(--holiday-action);
  box-shadow: 0 4px 20px #f4a54b43, inset 0 1px #ffdea4a0;
}
header.sm-header .sm-logo { filter: drop-shadow(0 1px 9px #a5c4db45); }
.mobile_menu { background-color: #101e30f7; }

.page-main .hero_video::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, #101c2a64, transparent 25%, #07132012 44%, #081323e8 91%, #081323);
}
.page-main .hero_inner {
  bottom: clamp(36px, 12vh, 118px) !important;
  padding-inline: 16px;
}
.sm-holiday-title {
  max-width: 755px;
  margin: 0 auto clamp(16px, 3vw, 25px);
  text-align: center;
  text-shadow: 0 3px 22px #080f1c;
}
.sm-holiday-title p {
  margin: 0 auto 10px;
  color: #ffddaa;
  font: 800 11px/1.3 Manrope, system-ui, sans-serif;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.sm-holiday-title p::before, .sm-holiday-title p::after {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 18px;
  height: 1px;
  margin-inline: 8px;
  background: linear-gradient(90deg,#ffdfb1,#e8b86650);
}
.sm-holiday-title h1 {
  margin: 0;
  color: #fff8f1;
  font: 800 clamp(38px, 6vw, 83px)/1.01 Manrope, system-ui, sans-serif;
  letter-spacing: -.06em;
  text-wrap: balance;
}
.sm-holiday-title h1 span { color: #ffcf95; }
.page-main .hero_inner .hi_inner.sm-dl-row { margin-inline: auto; width: fit-content; max-width: 100%; padding: 0; gap: 10px; }
.page-main .hero_inner .sm-dl-btn {
  border-color: #8db4d280;
  background: linear-gradient(120deg,#1d3046f2,#111d2df5);
  box-shadow: 0 12px 30px #040e1b78;
  border-radius: 15px;
}
.page-main .hero_inner .sm-dl-btn:is(:hover,:focus-visible) { border-color: var(--holiday-gold); }
.page-main .smh__glow--b { background: radial-gradient(closest-side, #5686b84a, transparent); }
.page-main .smp { background-color: #eff5fd; }
.page-main .smp__glow--b { background: radial-gradient(closest-side, #f8b46145, transparent); }
footer.sm-footer {
  background: radial-gradient(660px 340px at 12% 0%, #1a304a, transparent 70%),
    radial-gradient(600px 260px at 91% 0%, #3b251f, transparent 66%), #101927 !important;
}
footer.sm-footer::before { top: -1px; bottom: auto; height: 1px; }
.sm-footer__cta {
  background: radial-gradient(ellipse at right top, #3c2c22, transparent 72%), #14243a;
  box-shadow: inset 0 0 0 1px #b3cede50, 0 16px 38px #091a2e66;
}
.site-main .page-title {
  position: relative;
  isolation: isolate;
  border-bottom: 1px solid #7899b8;
  background: linear-gradient(90deg,#101e30dd,#15273b8a 48%,#10192744),
    var(--holiday-banner) center 55% / cover no-repeat, #151d2b;
}
.site-main .page-title .pt_in { position: relative; z-index: 2; }
.site-main .page-title .pt_hr {
  height: 3px !important;
  background: linear-gradient(90deg,#bfe2f5,#ffcb81 58%,#ff9828) !important;
}
.site-main .page_content {
  background: radial-gradient(ellipse at 5% 0%,#dcebf9,transparent 58%),
    radial-gradient(ellipse at 99% 0%,#fff0de,transparent 60%), #f2f6fc !important;
}
:is(.page-shop,.page-account,.page-recovery,.page-settings) .content_donate :is(.container_login,.container_donate,.container_recovery),
.page-roulette .rl-card,
.page-roulette .rl-live__rail {
  border: 1px solid #cbd9e8;
  background: var(--holiday-paper) !important;
  box-shadow: 0 16px 44px #28466724;
}
.content_donate :is(.container_login,.container_donate,.container_recovery)::before, .page-roulette .rl-card::before {
  background: radial-gradient(closest-side,#afcbea68,transparent);
}
.site-main .content_donate .header_block,
.page-roulette .rl-head__title {
  color: #182b40 !important;
  font: 800 clamp(25px, 3.1vw, 37px)/1.12 Manrope, system-ui, sans-serif !important;
  letter-spacing: -.045em !important;
}
.site-main .content_donate .input_group :is(input, select), .site-main .content_donate .sm-select__btn {
  border-color: #c5d5e5 !important;
}
.site-main .content_donate .input_group :is(input, select):focus, .site-main .content_donate .sm-select__btn:focus-visible {
  border-color: #597e9f !important;
  box-shadow: 0 0 0 3px #8fb5d367 !important;
}
.site-main .content_donate .sm-donate-terms, .page-roulette .rl-hint { color: #506174; }
.site-main .content_donate .sm-donate-terms a, .site-main .content_donate .input_href a:hover { color: #8b4700 !important; }
.site-main .content_donate .input_group input::placeholder, .site-main .content_donate .sm-select__sub { color: #637287; }
.site-main .content_donate .btn-form, .page-roulette .rl-card .rl-spin {
  background: var(--holiday-action) !important;
  color: #281a10 !important;
  box-shadow: 0 7px 23px #9f591e38 !important;
}
.site-main .content_donate .btn-form img, .page-roulette .rl-card .rl-spin img { filter: brightness(0); }
.page-roulette .rl-head__title br { display: none; }
.page-roulette .rl-reel:not(.is-spinning):not(.is-settled) { border-color: #91a7bc; }
.page-roulette .rl-best, .page-roulette .rl-sound { border-color: #6a8299; }
.page-roulette .rl-best::before {
  background: radial-gradient(ellipse at 68% 63%, #ae6334, #563b37 43%, transparent 76%),
    linear-gradient(125deg,#20374e,#1c2032);
}
.site-main .shop-block, .site-main .profile .left_block,
.market-app :is(.market-navigation,.market-wallet,#filters) {
  border-color: #cbd9e8;
}
.market-app :is(.market-navigation,.market-wallet,#filters) {
  background: linear-gradient(115deg,#fcfdff,#f7fbff 65%,#fffaf3);
}
.market-wallet dl > div { background: #e9f1fb; }

body.sm-holiday-info {
  background: radial-gradient(ellipse at top left,#213b56,transparent 38rem),
    radial-gradient(ellipse at top right,#3d2c20,transparent 32rem), #0e1624;
}
body.sm-holiday-info .top, body.sm-holiday-info .card { border-color: #415975; }
body.sm-holiday-info .intro h1::after { background: linear-gradient(90deg,#bee4fb,#ffd18b,#fd8c33); }
body.sm-holiday-info .intro :is(h1,p) { position: relative; z-index: 2; }

html#XF[data-template] {
  --samp-white: #fbfdff;
  --samp-border: #cfddec;
  --samp-tint: #fff0dc;
  --holiday-forum-canvas: #edf4fb;
  --holiday-forum-edge: #bed0e3;
  --holiday-forum-mist: #6997bb20;
  --holiday-forum-warm: #ffb64325;
}
html#XF[data-template][data-color-scheme="dark"] {
  --samp-white: #172332;
  --samp-border: #34495e;
  --samp-tint: #372b20;
  --holiday-forum-canvas: #101a28;
  --holiday-forum-edge: #46607b;
  --holiday-forum-mist: #8cb4e325;
  --holiday-forum-warm: #d3863625;
}
@media (prefers-color-scheme: dark) {
  html#XF[data-template]:not([data-color-scheme]) {
    --samp-white: #172332;
    --samp-border: #34495e;
    --samp-tint: #372b20;
    --holiday-forum-canvas: #101a28;
    --holiday-forum-edge: #46607b;
    --holiday-forum-mist: #8cb4e325;
    --holiday-forum-warm: #d3863625;
  }
}
html#XF .p-body {
  background: radial-gradient(ellipse at 81% 2%,var(--holiday-forum-warm),transparent 38rem), var(--holiday-forum-canvas);
}
html#XF .p-nav { position: relative; }
html#XF .samp-rail {
  background: linear-gradient(160deg, var(--samp-white) 67%, var(--holiday-forum-mist)), var(--samp-white);
  border-color: var(--holiday-forum-edge);
}
html#XF[data-template] .samp-rail :is(.samp-rail-links a,.samp-rail-game) { color: var(--samp-ink); }
html#XF[data-template] .samp-rail :is(.samp-rail-links a.is-current,.samp-rail-links a:hover,.samp-rail-game:hover) {
  background: var(--samp-tint); color: var(--samp-ink); border-color: var(--samp-border);
}
html#XF[data-template] .samp-home-intro {
  position: relative;
  isolation: isolate;
  min-height: 220px;
  border-color: #4a6882;
  background: radial-gradient(ellipse at left top,#223d58,transparent 43%), #142338;
}
html#XF[data-template] .samp-home-intro__copy { position: relative; z-index: 2; padding: 24px clamp(17px, 3vw, 34px); }
html#XF[data-template] .samp-home-intro h1 {
  color: #fffaf3; font: 800 clamp(33px,4vw,55px)/1.03 Manrope, system-ui, sans-serif;
  letter-spacing: -.056em;
}
html#XF[data-template] .samp-home-intro h1 span {
  color: #ffd18b; font: 800 11px/1.3 Manrope, system-ui, sans-serif;
  letter-spacing: .16em;
}
html#XF[data-template] .samp-home-intro h1 span::after { content: " · Зимний сезон"; color: #b9ddf6; }
html#XF[data-template] .samp-home-intro p { margin: 8px 0 17px; color: #dbe8f5; }
html#XF[data-template] .samp-home-intro__art {
  min-height: 0;
  clip-path: none;
  background: linear-gradient(90deg,#142338 0%,#14233840 32%,transparent 62%),
    var(--holiday-banner) center 62% / cover no-repeat, #142338;
}
html#XF[data-template] .samp-home-intro__art img { opacity: 0; }
html#XF[data-template] .samp-home-intro__art::after { background: linear-gradient(0deg,#14233855,transparent 55%); }
html#XF[data-template] .samp-home-intro .samp-cta--outline { background: #20394f; color: #fff8f1; border-color: #7295b4; }
html#XF[data-template] .samp-home-intro .samp-cta--outline:hover { background: #315370; }
html#XF .samp-home-shortcuts a, html#XF .samp-directory-search {
  border-color: var(--holiday-forum-edge);
}
html#XF .samp-directory-search:focus-within { box-shadow: 0 0 0 3px var(--holiday-forum-mist); }
html#XF .samp-section-title::after { background: linear-gradient(90deg,#a8d4ed,#ffb453 60%,#ff8819); }
html#XF .block-container > .block-header.samp-legacy-heading {
  background-image: linear-gradient(110deg,var(--holiday-forum-mist),transparent 55%,var(--holiday-forum-warm));
  border-bottom-color: var(--holiday-forum-edge);
}
html#XF :is(.p-footer,.message.message--post,.structItemContainer,.p-body-sideNav .block-container) { border-color: var(--holiday-forum-edge); }
html#XF .message.message--post .message-cell--user {
  background-image: linear-gradient(180deg,var(--holiday-forum-mist),transparent 180px);
}

@media (max-width: 700px) {
  .page-main .hero, .page-main .hero_video { height: min(840px, 86svh); min-height: 505px; }
  .page-main .hero_inner { bottom: 8vh !important; }
  .page-main .hero_video #heroVideo {
    position: absolute; width: 100%; height: 100%; min-width: 0; min-height: 0;
    object-fit: cover; object-position: center;
  }
  .sm-holiday-title h1 { font-size: clamp(33px, 8.6vw, 58px); }
  .page-main .hero_inner .hi_inner.sm-dl-row {
    display: grid; width: min(100%, 430px); grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px;
  }
  .page-main .hero_inner .sm-dl-btn { min-width: 0; width: auto; gap: 7px; padding: 7px; border-radius: 10px; }
  .page-main .hero_inner .sm-dl-btn__icon { width: 33px; height: 33px; border-radius: 8px; }
  .page-main .hero_inner .sm-dl-btn__icon svg { width: 20px; height: 20px; }
  .page-main .hero_inner .sm-dl-btn__text b { font-size: clamp(14px,4.7vw,20px); }
  .page-main .hero_inner .sm-dl-btn__text small { font-size: 8px; }
  .page-main .hero_inner .sm-dl-btn__tag { display: none; }
}
@media (max-width: 660px) {
  html#XF[data-template] .samp-home-intro { min-height: 0; grid-template-columns: minmax(0, 1fr); }
  html#XF[data-template] .samp-home-intro__art {
    grid-row: 1;
    min-height: 91px;
    background: linear-gradient(0deg,#142338,transparent 45%), var(--holiday-banner) center 60% / cover no-repeat, #142338;
  }
  html#XF[data-template] .samp-home-intro__copy { padding: 8px 13px 15px; }
  html#XF[data-template] .samp-home-intro p { margin: 6px 0 12px; }
  html#XF[data-template] .samp-home-intro h1 span { margin-bottom: 5px; }
}

body.sm-holiday-info :is(.intro,.card) { overflow-wrap: anywhere; }


:root { --holiday-logo-shadow: 0 2px 2px rgba(13,20,36,.38); }
header.sm-header .sm-logo > .logo,
footer.sm-footer .footer_logo,
.sm-holiday-info header .logo,
html#XF picture:has(> img[src^="/styles/samp-mobile/logo"]) {
  position: relative;
}
html#XF picture:has(> img[src^="/styles/samp-mobile/logo"]) { display: inline-block; line-height: 0; }
header.sm-header .sm-logo > .logo::after,
footer.sm-footer .footer_logo::after,
.sm-holiday-info header .logo::after,
html#XF picture:has(> img[src^="/styles/samp-mobile/logo"])::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 1;
  width: 35%;
  aspect-ratio: 1.5;
  top: -12%;
  left: -4%;
  background: var(--holiday-hat) center / contain no-repeat;
  transform: rotate(-13deg);
  filter: drop-shadow(var(--holiday-logo-shadow));
}
html#XF .p-nav-smallLogo picture:has(> img[src^="/styles/samp-mobile/logo"])::after {
  top: -15%;
  width: 41%;
}

.page-main .hero_video {
  isolation: isolate;
  background: #101927 var(--holiday-hero) center 61% / cover no-repeat;
}
.page-main .hero_video #heroVideo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: cover;
  opacity: 0;
  transition: opacity .65s ease;
}
.page-main .hero_video #heroVideo.sm-holiday-playing { opacity: 1; }
.page-main .hero_video::after {
  z-index: 2;
  background: linear-gradient(180deg, #08132333, transparent 26%, #0713200a 40%, #081323e8 93%, #081323);
}
.sm-holiday-snow.sm-holiday-snow--viewport {
  position: fixed;
  inset: 0;
  z-index: 70;
  opacity: .72;
}
.page-main .sm-holiday-snow.sm-holiday-snow--viewport { opacity: .92; }
html#XF[data-color-scheme="light"] .sm-holiday-snow--viewport { opacity: .64; }
header.sm-header .h_innter, html#XF .p-nav-inner { isolation: isolate; }

@media (max-width: 700px) {
  header.sm-header .sm-logo > .logo::after { top: -10%; width: 34%; left: -2%; }
  .page-main .hero_video { background-position: 68% 58%; }
}
@media (prefers-reduced-motion: reduce) {
  .page-main .hero_video #heroVideo { transition: none; }
}
