/* Christmas (Theme): a red accent, snow falling over the page (themes.js), and snow settling on the boxes, a drift on
   the top edge of each that grows over the first seconds; without the motion for those who ask for less. */
:root {
    --accent: #e63950;
    --accent-rgb: 230, 57, 80;
    --accent-strong: #ff6070;
}

.theme-cap {
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    z-index: 3;
    height: 14px;
    border-radius: inherit;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 16' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0 0h200v6c-6 4-12 3-18 1s-10 6-17 5-9-6-16-4-8 7-15 7-10-5-17-4-9 6-16 5-8-6-15-5-11 7-18 6-8-5-15-4-10 6-17 5-9-5-16-4S6 12 0 8z'/%3E%3C/svg%3E") top / 100% 100% no-repeat;
    filter: drop-shadow(0 2px 2px rgba(120, 150, 200, 0.35));
    opacity: 0.94;
    pointer-events: none;
    transform-origin: top;
    animation: snow-settles 14s ease-out both;
}

.movie-card .poster .theme-cap { height: 10px; }

@keyframes snow-settles {
    from { transform: scaleY(0.2); opacity: 0.4; }
    to { transform: scaleY(1); opacity: 0.94; }
}

@media (prefers-reduced-motion: reduce) {
    .theme-cap { animation: none; }
}
