/* Keep enlarged illustrations in their own space, including on narrow screens. */
.topbar .brand img{width:63px;height:63px}
.memory.featured{min-height:440px}
.memory.featured>.memory-sticker{width:277.5px;height:247.5px}
.birthday-cover{height:auto;min-height:100svh;grid-template-columns:minmax(0,1fr);justify-items:center;gap:24px;padding-top:100px;padding-bottom:56px}
.cover-copy{text-align:center;padding-left:0}
.birthday-cover .eyebrow{max-width:none}
.cover-illustration{width:min(calc((min(1160px,100vw - 56px) - 20px)*.833333),calc(100vw - 40px));height:auto;max-height:none}
.finale-inner{grid-template-columns:minmax(0,1fr);justify-items:center;text-align:center;gap:0}
.finale-copy{padding-bottom:35px}
.finale-copy .blessing-count{margin:16px 0 0;font-size:14px;line-height:1.8;color:var(--green)}
.finale-art{width:min(100%,calc((min(1280px,100vw) - 160px)*.825));align-self:end}
.anniversary .memory-card{background:linear-gradient(145deg,#fff4f7,#f8dce6);border-color:#e6afc2;box-shadow:4px 5px 0 #e3acc328;overflow:hidden}
.anniversary .memory-date,.anniversary h3{color:#96465f}
.anniversary:after{background:#c96b89;box-shadow:0 0 0 1px #dfa5b8}
.anniversary .memory-meta,.anniversary h3,.anniversary .entry-number{position:relative;z-index:1}
.anniversary .entry-number{color:#a77a8a}
.anniversary-hearts{position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:0}
.anniversary-hearts span{position:absolute;left:var(--heart-x);bottom:0;font-size:var(--heart-size);color:#ce6b90;opacity:.2;animation:anniversary-heart-rise 8s linear infinite;animation-delay:var(--heart-delay);animation-play-state:paused}
.hearts-visible .anniversary-hearts span{animation-play-state:running}
@keyframes anniversary-heart-rise{0%{transform:translate(-50%,20px) rotate(-12deg);opacity:0}15%{opacity:.25}75%{opacity:.2}100%{transform:translate(-50%,-280px) rotate(12deg);opacity:0}}
@media(max-width:800px){
  .memory.featured{min-height:370px}
  .memory.featured>.memory-sticker{width:232.5px;height:210px}
}
@media(max-width:600px){
  .topbar .brand img{width:54px;height:54px}
  .birthday-cover{grid-template-rows:auto auto;padding-top:90px;gap:24px}
  .cover-illustration{width:100%;max-width:calc(100vw - 40px);height:auto;max-height:none}
  .finale-art{width:100%;max-width:600px}
}
@media(max-width:580px){
  .memory.featured{min-height:0}
  .memory.featured>.memory-sticker,.memory.featured:nth-child(even)>.memory-sticker{width:217.5px;height:202.5px;max-width:calc(100% - 36px)}
  .anniversary-hearts span{animation-duration:7s}
}
@media(prefers-reduced-motion:reduce){
  .anniversary-hearts span{animation:none;bottom:15%;opacity:.18}
  .anniversary-hearts span:nth-child(2n){bottom:65%}
}
