/* Seasonal decorations and petals, scoped to the development preview. */
.bs-new-year-footer-trim {
  display: flex;
  justify-content: space-between;
  max-width: 1140px;
  margin: 0 auto;
  padding-inline: 24px;
  pointer-events: none;
}

.bs-new-year-footer-trim > .bs-new-year-icon {
  width: clamp(76px, 12vw, 112px);
  height: auto;
  font-size: clamp(24px, 4vw, 38px);
}

body.bs-new-year {
  background: #a72f3b;
  isolation: isolate;
}

body.bs-new-year::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 12px 12px, rgba(255, 222, 159, .18) 1px, transparent 2px) 0 0 / 24px 24px,
    linear-gradient(140deg, #b9404a, #8c2633);
  pointer-events: none;
}

body.bs-new-year > section {
  width: calc(100% - 48px);
  max-width: 1280px;
  margin-inline: auto;
  background-color: #fffbf0 !important;
  background-image: linear-gradient(rgba(255, 251, 240, .78), rgba(255, 251, 240, .78)), url("/images/user/new-year-section-background.jpg");
  background-position: center;
  background-size: cover;
}

body.bs-new-year > section:where(:nth-of-type(even)) {
  background-image: url("/images/user/new-year-floral-background.jpg");
}

.bs-new-year #home {
  overflow: hidden;
}

.bs-new-year #home .slider {
  width: 100%;
}

@media (max-width: 767px) {
  body.bs-new-year > section {
    width: calc(100% - 24px);
  }
}

@media print {
  body.bs-new-year::before { display: none; }
  body.bs-new-year { background: white; }
  body.bs-new-year > section { width: 100%; background-image: none; }
}
.bs-new-year .navbar-brand{display:inline-flex;align-items:center;gap:12px}
.bs-new-year-icons{display:inline-flex;align-items:center;gap:3px;pointer-events:none}
.bs-new-year-icon{display:inline-block;width:32px;height:32px;vertical-align:middle;text-align:center;font-size:clamp(16px, 2vw, 24px);line-height:1.3;flex-shrink:0;pointer-events:none}
.bs-new-year h2.display-4>.bs-new-year-icon{width:38px;height:38px;margin-left:12px;vertical-align:-5px}
.bs-new-year .bs-new-year-trail{display:flex;align-items:flex-end;justify-content:space-between;width:130px;max-width:80%;margin:24px auto 0 6%;pointer-events:none}
.bs-new-year .bs-new-year-trail-right{margin-left:auto;margin-right:6%}
.bs-new-year .bs-new-year-trail>.bs-new-year-icon{width:44px;height:44px}
.bs-new-year .bs-new-year-trail>.bs-new-year-icon+ .bs-new-year-icon{width:32px;height:32px;margin-bottom:5px;transform:rotate(7deg)}
@media(max-width:767px){.bs-new-year .bs-new-year-trail{width:100px;margin-top:18px}.bs-new-year .bs-new-year-trail>.bs-new-year-icon{width:36px;height:36px}}
@media(max-width:1199px){.bs-new-year-icons{gap:1px}.bs-new-year-icons .bs-new-year-icon{width:25px;height:25px}.bs-new-year .navbar-brand{gap:8px}}
@media(min-width:1200px) and (max-width:1439px){.bs-new-year-icons .bs-new-year-icon{width:23px;height:23px}.bs-new-year .navbar-brand{gap:6px}}
@media(max-width:374px){.bs-new-year-icons .bs-new-year-icon{width:21px;height:21px}}
.bs-new-year-petals{display:none;position:fixed;inset:0;z-index:1020;overflow:hidden;pointer-events:none}
.bs-new-year[data-bs-petals] .bs-new-year-petals{display:block}
.bs-new-year-petal{position:absolute;top:-20px;left:var(--petal-x);width:var(--petal-size);height:var(--petal-size);border-radius:70% 35% 70% 35%;background:#f5bfc8;border:1px solid rgba(160,62,80,.28);opacity:0;animation:bs-season-petals var(--petal-time) var(--petal-delay) linear infinite}
.bs-new-year-petal:nth-child(3n){background:#ffe0bc}
.bs-new-year-petal:nth-child(4n){filter:blur(.4px)}
.bs-new-year-toggle{position:fixed;bottom:90px;right:18px;z-index:1031;min-height:36px;padding:7px 11px;border:1px solid #d3dccd;border-radius:24px;background:rgba(255,255,255,.94);color:#4a5a53;font:inherit;font-size:11px;cursor:pointer;box-shadow:0 2px 8px rgba(22,34,29,.04)}
.bs-new-year-toggle[hidden]{display:none}
.bs-new-year-toggle:focus-visible{outline:2px solid #4fa383;outline-offset:3px}
.bs-new-year[data-bs-petals="paused"] .bs-new-year-petals{visibility:hidden}
.bs-new-year[data-bs-petals="paused"] .bs-new-year-petal{animation-play-state:paused}
.bs-new-year.menu-open .bs-new-year-petals,.bs-new-year.menu-open .bs-new-year-toggle{visibility:hidden}
@keyframes bs-season-petals{0%{transform:translate3d(0,-20px,0) rotate(0deg);opacity:0}8%,90%{opacity:.9}100%{transform:translate3d(var(--petal-drift),calc(100vh + 40px),0) rotate(330deg);opacity:0}}
@media(max-width:767px){.bs-new-year-petal:nth-child(n+17){display:none}.bs-new-year-toggle{right:12px;font-size:10px}}
@media(prefers-reduced-motion:reduce){.bs-new-year-petals,.bs-new-year-toggle{display:none!important}}
@media print{.bs-new-year-petals,.bs-new-year-toggle{display:none!important}}

.bs-new-year-kagami {
  color: transparent;
  background:
    radial-gradient(ellipse 3px 2.5px at 50% 23%, #df8439 97%, transparent),
    radial-gradient(ellipse 23% 14% at 50% 42%, #f9f1df 94%, #c5ab84 97%, transparent),
    radial-gradient(ellipse 33% 16% at 50% 62%, #fff8e7 94%, #c5ab84 97%, transparent),
    linear-gradient(#a72f3b, #a72f3b) center 79% / 70% 3px no-repeat;
}