.sw-holiday-notice {
  display: grid;
  place-items: center;
  background: #e6f3ed;
  color: #173f4e;
  border-block: 1px solid #9cc8b6;
}
.sw-holiday-notice button {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: .12rem .5rem;
  padding: .36rem .7rem;
  min-height: 2rem;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: .875rem;
  line-height: 1.25;
  cursor: pointer;
}
.sw-holiday-details { text-decoration: underline; text-underline-offset: .15em; }

.sw-holiday-dialog {
  box-sizing: border-box;
  position: fixed;
  inset: 0;
  max-width: calc(100vw - 1.5rem);
  width: 31rem;
  max-height: calc(100dvh - 1.5rem);
  margin: auto;
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid #a9cec2;
  border-radius: 1.4rem;
  background: #f9fdfb;
  color: #173b4c;
  box-shadow: 0 1.1rem 4rem #071e2b52;
  text-align: left;
}
.sw-holiday-dialog::backdrop { background: #092334a8; }
html:has(.sw-holiday-dialog[open]) { overflow: hidden; }

.sw-holiday-art {
  position: relative;
  height: clamp(7rem, 27vw, 11rem);
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(ellipse at 63% 10%, #ffffffd9, transparent 53%),
    linear-gradient(155deg, #bedfe9, #d6efe8 61%, #bfe6bc);
  border-bottom: 1px solid #a9cec2;
}
.sw-holiday-flake { position: absolute; color: #39738a; font-size: 1.25rem; line-height: 1; }
.sw-holiday-flake:nth-child(1) { top: 23%; left: 16%; }
.sw-holiday-flake:nth-child(2) { top: 65%; left: 13%; font-size: 1rem; }
.sw-holiday-flake:nth-child(3) { top: 20%; left: 71%; }
.sw-holiday-flake:nth-child(4) { top: 66%; left: 83%; font-size: 1.5rem; }
.sw-holiday-flake:nth-child(5) { top: 14%; left: 46%; font-size: .95rem; }
.sw-holiday-flake:nth-child(6) { top: 77%; left: 55%; font-size: .85rem; }
.sw-holiday-trail {
  position: absolute;
  width: 78%;
  height: 74%;
  left: 10%;
  top: 1%;
  border-bottom: 2px dashed #fff;
  border-radius: 50%;
  transform: rotate(-15deg);
}
.sw-holiday-mop {
  position: absolute;
  display: block;
  width: 8.5rem;
  height: 3rem;
  transform-origin: center;
  filter: drop-shadow(0 .2rem .15rem #25526835);
  --mop-grip: #227461;
  --mop-fringe: #f9fffa;
}
.sw-holiday-mop::before {
  content: '';
  position: absolute;
  left: 2.9rem;
  right: 0;
  top: 1.23rem;
  height: .46rem;
  border-radius: 1rem;
  background: linear-gradient(90deg, #a5bfc7 73%, var(--mop-grip) 73%);
}
.sw-holiday-mop i {
  position: absolute;
  top: .88rem;
  left: 2.34rem;
  width: 1.1rem;
  height: 1.2rem;
  border-radius: .4rem;
  background: var(--mop-grip);
}
.sw-holiday-mop::after {
  content: '';
  position: absolute;
  inset: .36rem auto auto 0;
  width: 2.75rem;
  height: 2.25rem;
  background: repeating-linear-gradient(3deg, var(--mop-fringe) 0 .24rem, #a8cbd3 .25rem .31rem);
  clip-path: polygon(0 3%, 31% 12%, 63% 29%, 100% 34%, 100% 65%, 65% 71%, 31% 90%, 0 98%, 10% 78%, 2% 74%, 13% 60%, 2% 52%, 14% 40%, 3% 28%, 14% 23%);
}
.sw-holiday-mop-back {
  top: 48%;
  left: 17%;
  transform: rotate(-24deg) scale(.74);
  --mop-grip: #315d87;
  --mop-fringe: #edf8ff;
}
.sw-holiday-mop-front {
  top: 29%;
  left: 48%;
  transform: rotate(-19deg);
}
@media (prefers-reduced-motion: no-preference) {
  .sw-holiday-dialog[open] .sw-holiday-mop-front {
    animation: sw-holiday-flight 850ms cubic-bezier(.15,.65,.25,1) both;
  }
}
@keyframes sw-holiday-flight {
  from { transform: translate(-29vw, 2rem) rotate(-35deg) scale(.83); opacity: 0; }
  to { transform: rotate(-19deg); opacity: 1; }
}

.sw-holiday-content { padding: clamp(1.05rem, 4vw, 1.6rem) clamp(1.15rem, 5vw, 2rem); }
.sw-holiday-content h2 { margin: 0 0 .65rem; color: inherit; font-size: clamp(1.42rem, 5vw, 2rem); line-height: 1.14; letter-spacing: -.025em; }
.sw-holiday-content p { margin: 0 0 .62rem; color: inherit; font-size: 1rem; line-height: 1.48; }
.sw-holiday-close, .sw-holiday-contact { display: inline-grid; place-items: center; cursor: pointer; }
.sw-holiday-close {
  position: absolute;
  top: .65rem;
  right: .65rem;
  z-index: 1;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid #7da6ac;
  border-radius: 50%;
  background: #f9fdfb;
  color: #173b4c;
  font: 1.65rem/1 system-ui, sans-serif;
}
.sw-holiday-contact {
  min-height: 2.75rem;
  margin-top: .35rem;
  padding: .35rem 1rem;
  border-radius: 999px;
  background: #215d50;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}
.sw-holiday-dialog :focus-visible, .sw-holiday-notice button:focus-visible { outline: 2px solid #2a83a0; outline-offset: 2px; }
html[data-resolved-theme="dark"] .sw-holiday-notice,
html[data-resolved-theme="dark"] .sw-holiday-dialog {
  background: #173743;
  color: #effbf6;
  border-color: #527d76;
}
html[data-resolved-theme="dark"] .sw-holiday-contact { background: #c5ebcb; color: #163c37; }
