.mood-popup[hidden] { display: none; }
.mood-popup { inset: 0; opacity: 0; position: fixed; transition: opacity .26s ease; z-index: 180; }
.mood-popup.is-visible { opacity: 1; }
.mood-popup__backdrop { background: rgba(5, 10, 17, .72); backdrop-filter: blur(8px); border: 0; inset: 0; padding: 0; position: absolute; width: 100%; }
.mood-popup__panel { background: #f7f3e9; border-radius: 1.4rem; box-shadow: 0 2rem 6rem rgba(0,0,0,.32); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr); left: 50%; max-height: min(680px, calc(100vh - 2rem)); max-width: 900px; overflow: hidden; position: absolute; top: 50%; transform: translate(-50%, calc(-50% + 1.5rem)) scale(.97); transition: transform .38s cubic-bezier(.2,.8,.2,1); width: calc(100vw - 2rem); }
.mood-popup.is-visible .mood-popup__panel { transform: translate(-50%, -50%) scale(1); }
.mood-popup__close { align-items: center; background: rgba(255,255,255,.9); border: 0; border-radius: 50%; color: #0c1728; display: flex; font-size: 1.4rem; height: 2.5rem; justify-content: center; position: absolute; right: 1rem; top: 1rem; width: 2.5rem; z-index: 4; }
.mood-popup__visual { display: grid; grid-template-columns: 1fr 1fr; min-height: 500px; overflow: hidden; position: relative; }
.mood-popup__image { height: 100%; margin: 0; overflow: hidden; }
.mood-popup__image img { height: 100%; object-fit: cover; width: 100%; }
.mood-popup__image--snow img { object-position: 48% center; }
.mood-popup__image--sun img { object-position: 55% center; }
.mood-popup__visual::after { background: linear-gradient(90deg, rgba(8,19,31,.12), transparent 45%, rgba(255,167,62,.08)); content: ""; inset: 0; position: absolute; }
.mood-popup__versus { align-items: center; background: #f7f3e9; border-radius: 50%; color: #16263b; display: flex; height: 3.1rem; justify-content: center; left: 50%; position: absolute; top: 50%; transform: translate(-50%, -50%); width: 3.1rem; z-index: 2; }
.mood-popup__versus span { font-family: var(--font-editorial); font-size: 1.1rem; font-style: italic; }
.mood-popup__weather { font-size: 2rem; position: absolute; text-shadow: 0 .2rem .6rem rgba(0,0,0,.28); z-index: 2; }
.mood-popup__weather--snow { left: 1.2rem; top: 1.2rem; }
.mood-popup__weather--sun { bottom: 1.2rem; right: 1.2rem; }
.mood-popup__content { align-self: center; padding: clamp(2rem, 5vw, 4.2rem); }
.mood-popup__kicker { color: var(--blue); font-size: .7rem; font-weight: 800; letter-spacing: .14em; margin-bottom: 1rem; text-transform: uppercase; }
.mood-popup__content h2 { font-size: clamp(2.8rem, 5vw, 4.9rem); letter-spacing: -.065em; margin: 0 0 1.2rem; }
.mood-popup__content > p:not(.mood-popup__kicker) { color: #62656a; font-size: .95rem; line-height: 1.7; margin-bottom: 1.8rem; }
.mood-popup__cta { align-items: center; background: #214e68; border-radius: .75rem; color: #fff; display: flex; font-size: .82rem; font-weight: 800; justify-content: space-between; padding: 1rem 1.15rem; text-decoration: none; transition: background .2s ease, transform .2s ease; }
.mood-popup__cta:hover { background: #173d54; color: #fff; transform: translateY(-2px); }
.mood-popup__cta span { font-size: 1.1rem; }
.mood-popup__later { background: none; border: 0; color: #777; display: block; font-size: .74rem; margin: .9rem auto 0; padding: .35rem; text-decoration: underline; text-underline-offset: .2em; }
.has-mood-popup { overflow: hidden; }

@media (max-width: 700px) {
  .mood-popup__panel { display: block; max-height: calc(100svh - 1rem); overflow-y: auto; width: calc(100vw - 1rem); }
  .mood-popup__visual { min-height: 240px; }
  .mood-popup__content { padding: 1.7rem 1.35rem 1.5rem; }
  .mood-popup__content h2 { font-size: 2.65rem; }
  .mood-popup__content > p:not(.mood-popup__kicker) { font-size: .86rem; margin-bottom: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  .mood-popup, .mood-popup__panel { transition-duration: .01ms !important; }
}
