.homepage .birthday-card .birthday-preview { min-height: 0; flex: 0 0 auto; aspect-ratio: auto; background: #fff1f7; }
.birthday-slide { position: relative; display: flex; flex-direction: column; flex: 1; }
.birthday-slide[hidden], .birthday-slider-controls[hidden] { display: none; }
.birthday-slide .birthday-preview { touch-action: pan-y pinch-zoom; }
.birthday-slider-controls { position: absolute; inset: 0; pointer-events: none; }
.birthday-slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #ffffff50; border-radius: 50%; background: #152238b3; color: white; pointer-events: auto; }
.birthday-slider-arrow:hover { background: #152238; }
.birthday-slider-arrow .icon { width: 20px; height: 20px; }
.birthday-slider-previous { left: 12px; }
.birthday-slider-next { right: 12px; }
.birthday-page-heading { padding: 8px 0 14px; }
.birthday-page-heading h1 { margin: 6px 0; }
.birthday-list { gap: 14px; margin-bottom: 24px; }
.birthday-list-card { flex-direction: column; gap: 10px; padding: 10px; border-radius: 10px; }
.birthday-profile { padding: 12px; gap: 18px; border-radius: 10px; }
.birthday-profile h1 { margin-top: 6px; }
.birthday-profile h2 { margin-top: 10px; }
.birthday-biography { margin: 16px 0; }
.birthday-detail #birthday-reactions { padding: 12px; }
.birthday-detail #birthday-reactions h2 { margin-bottom: 10px; }
.homepage .birthday-card .birthday-preview img { position: static; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: contain; object-position: center; }
.homepage .birthday-card .birthday-preview-content { position: static; padding: 10px 12px; background: none; color: #111827; }
.homepage .birthday-card .birthday-preview h4 { color: #111827; text-shadow: none; }
.homepage .birthday-card .birthday-preview .birthday-wish { color: #b33c72; }
.homepage .birthday-card .birthday-social-row { position: relative; inset: auto; margin: 0 12px; padding: 6px 0; color: #657185; }
.homepage .birthday-card .birthday-reaction-count, .homepage .birthday-card .birthday-comment-link { color: #657185; }
.birthday-list-card img { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: contain; object-position: center top; }
.birthday-profile img { width: 240px; max-width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: contain; object-position: center top; }
@media (max-width: 540px) {
    .birthday-profile { padding: 10px; gap: 10px; }
    .birthday-profile img { width: 240px; height: auto; }
}
