/* Homepage seasonal countdown — scoped to avoid altering existing cards. */
.rr-christmas-countdown {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-width: 0;
    margin: 0 0 14px;
    padding: 12px 16px;
    overflow: hidden;
    border: 1px solid rgba(61, 215, 169, .34);
    border-radius: 16px;
    background: radial-gradient(ellipse at 0% 10%, rgba(30, 166, 120, .25), transparent 60%), radial-gradient(ellipse at 100% 100%, rgba(218, 51, 74, .22), transparent 63%), linear-gradient(125deg, #101e25, #0d111c 60%, #1c141e);
    color: #f4fbff;
    box-shadow: 0 8px 26px rgba(0, 0, 0, .23), inset 0 1px rgba(255, 255, 255, .045);
}
.rr-christmas-countdown[hidden] { display: none !important; }
/* Quiet, stationary snowflakes: decorative only, with no animation or hit area. */
.rr-christmas-countdown::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='105' viewBox='0 0 180 105'%3E%3Cg fill='none' stroke='%23dcf8ed' stroke-width='1.1' stroke-linecap='round'%3E%3Cg transform='translate(20 20)' opacity='.19'%3E%3Cpath d='M0-9V9M-7.8-4.5L7.8 4.5M-7.8 4.5L7.8-4.5M-3-6L0-3 3-6M-3 6L0 3 3 6'/%3E%3C/g%3E%3Cg transform='translate(137 68) scale(1.4)' opacity='.12'%3E%3Cpath d='M0-9V9M-7.8-4.5L7.8 4.5M-7.8 4.5L7.8-4.5M-3-6L0-3 3-6M-3 6L0 3 3 6'/%3E%3C/g%3E%3C/g%3E%3Cg fill='%23f3d299' opacity='.22'%3E%3Ccircle cx='74' cy='14' r='1.2'/%3E%3Ccircle cx='104' cy='82' r='1.1'/%3E%3Ccircle cx='164' cy='29' r='1.4'/%3E%3C/g%3E%3C/svg%3E");
    background-repeat: repeat;
}
.rr-christmas-countdown::after {
    content: '';
    position: absolute;
    z-index: -1;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, #37d7a5 25%, #e7bc75 50%, #e55066 78%, transparent);
    box-shadow: 0 -1px 12px rgba(231, 188, 117, .25);
    opacity: .85;
}
.rr-christmas-copy { display: flex; align-items: center; gap: 12px; min-width: 0; }
.rr-christmas-copy > div { min-width: 0; }
.rr-christmas-icon {
    flex: 0 0 45px;
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(75, 231, 177, .34);
    border-radius: 13px;
    background: rgba(38, 187, 136, .13);
    color: #60e3b2;
    font-size: 23px;
    text-shadow: 0 0 14px rgba(63, 220, 164, .5);
    box-shadow: 0 0 18px rgba(63, 220, 164, .10);
}
.rr-christmas-kicker { color: #82e8c3; font-size: 9px; font-weight: 800; letter-spacing: .11em; line-height: 1.4; text-transform: uppercase; }
/* Override the global h2 padding (25px top and 20px bottom). */
.rr-christmas-countdown h2 { margin: 3px 0; padding: 0; color: #fff; font: 800 18px/1.25 Poppins, Arial, sans-serif; }
.rr-christmas-countdown p { margin: 0; padding: 0; color: #c4d2db; font-size: 11px; line-height: 1.4; }
.rr-christmas-preview { display: block; margin-top: 3px; color: #e8c58e; font-size: 9px; line-height: 1.3; }
.rr-christmas-clock { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; flex: 0 0 316px; min-width: 0; }
.rr-christmas-unit { min-width: 0; padding: 7px 4px; border: 1px solid rgba(222, 238, 255, .14); border-radius: 10px; background: rgba(3, 9, 15, .64); text-align: center; }
.rr-christmas-unit strong { display: block; color: #fff; font: 800 31px/1.05 Poppins, Arial, sans-serif; font-variant-numeric: tabular-nums; letter-spacing: -.035em; }
.rr-christmas-unit:first-child strong { color: #78ebc0; text-shadow: 0 0 13px rgba(66, 213, 159, .22); }
.rr-christmas-unit:last-child strong { color: #ff8794; text-shadow: 0 0 13px rgba(232, 79, 102, .22); }
.rr-christmas-unit span { display: block; margin-top: 4px; color: #b7c6d2; font-size: 9px; line-height: 1.2; font-weight: 750; letter-spacing: .045em; text-transform: uppercase; }
@media (max-width: 1100px) {
    .rr-christmas-countdown { gap: 10px; flex-wrap: wrap; }
    .rr-christmas-clock { flex: 1 1 260px; max-width: 316px; }
}
@media (max-width: 767px) {
    .rr-christmas-countdown { flex-direction: column; align-items: stretch; gap: 10px; padding: 12px; }
    .rr-christmas-clock { flex: 0 0 auto; max-width: none; }
    .rr-christmas-unit strong { font-size: 28px; }
}
@media (max-width: 360px) {
    .rr-christmas-clock { gap: 4px; }
    .rr-christmas-unit span { font-size: 8px; letter-spacing: 0; }
    .rr-christmas-countdown h2 { font-size: 16px; }
}

/* Christmas Day greeting shares the countdown card and its festive background. */
.rr-christmas-countdown [hidden] { display: none !important; }
.rr-christmas-is-day { justify-content: center; padding: 17px 20px; }
.rr-christmas-greeting { display: grid; grid-template-columns: 96px minmax(0, 1fr) 96px; align-items: center; column-gap: 12px; width: 100%; min-width: 0; text-align: center; }
.rr-christmas-tree, .rr-christmas-gifts { display: grid; place-items: center; min-width: 0; }
.rr-christmas-tree { filter: drop-shadow(0 0 12px rgba(56, 213, 159, .28)) drop-shadow(0 0 9px rgba(247, 209, 132, .22)); }
.rr-christmas-gifts { filter: drop-shadow(0 0 12px rgba(236, 101, 120, .25)) drop-shadow(0 0 9px rgba(247, 209, 132, .22)); }
.rr-christmas-tree svg, .rr-christmas-gifts svg { display: block; width: 88px; height: 95px; max-width: 100%; }
.rr-christmas-greeting-copy { min-width: 0; width: 100%; max-width: 570px; justify-self: center; }
.rr-christmas-greeting .rr-christmas-kicker { color: #f7d184; }
.rr-christmas-greeting h2 { margin: 4px 0 6px; padding: 0; font-size: 29px; line-height: 1.12; text-transform: none; text-shadow: 0 0 18px rgba(247, 209, 132, .16); }
.rr-christmas-greeting p { font-size: 14px; line-height: 1.5; color: #dce9e6; }
.rr-christmas-greeting-slogan { margin-top: 9px; color: #82e8c3; font-size: 10px; line-height: 1.4; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.rr-christmas-greeting .rr-christmas-preview { margin-top: 6px; }
@media (max-width: 900px) {
    .rr-christmas-greeting { grid-template-columns: 66px minmax(0, 1fr) 66px; column-gap: 8px; }
    .rr-christmas-tree svg, .rr-christmas-gifts svg { width: 62px; height: 67px; }
}
@media (max-width: 767px) {
    .rr-christmas-is-day { padding: 15px 12px; }
    .rr-christmas-greeting { grid-template-columns: 1fr 1fr; column-gap: 12px; row-gap: 7px; }
    .rr-christmas-tree { grid-row: 1; grid-column: 1; justify-self: end; }
    .rr-christmas-gifts { grid-row: 1; grid-column: 2; justify-self: start; }
    .rr-christmas-greeting-copy { grid-row: 2; grid-column: 1 / -1; }
    .rr-christmas-tree svg, .rr-christmas-gifts svg { width: 52px; height: 56px; }
    .rr-christmas-greeting h2 { font-size: 25px; }
}

/* New Year uses the same compact card and layout, with its own visual identity. */
.rr-christmas-countdown.rr-holiday-newyear {
    border-color: rgba(228, 193, 118, .42);
    background: radial-gradient(ellipse at 0% 8%, rgba(41, 102, 190, .29), transparent 62%), radial-gradient(ellipse at 100% 100%, rgba(202, 151, 54, .19), transparent 64%), linear-gradient(125deg, #101f39, #101323 59%, #211e25);
}
.rr-holiday-newyear::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='226' height='126' viewBox='0 0 226 126'%3E%3Cg stroke-linecap='round' fill='none' stroke-width='1.1'%3E%3Cpath stroke='%23f7d184' opacity='.24' d='M23 3v9m0 9v9M9 16h9m10 0h9M13 6l6 6m8 8 6 6M13 26l6-6m8-8 6-6'/%3E%3Cpath stroke='%23b7d9fc' opacity='.20' d='M174 62v13m0 14v13M154 82h13m14 0h13M160 68l9 9m10 10 9 9M160 96l9-9m10-10 9-9'/%3E%3Cpath stroke='%23f7d184' opacity='.24' d='M92 80v8m-4-4h8M209 23v8m-4-4h8'/%3E%3C/g%3E%3Cg fill='%23f7d184' opacity='.34'%3E%3Ccircle cx='61' cy='32' r='1.4'/%3E%3Ccircle cx='129' cy='17' r='1.1'/%3E%3Ccircle cx='38' cy='103' r='1.3'/%3E%3Ccircle cx='212' cy='111' r='1.5'/%3E%3C/g%3E%3Cg fill='%23b7d9fc' opacity='.25'%3E%3Ccircle cx='119' cy='61' r='1.4'/%3E%3Ccircle cx='80' cy='117' r='1.3'/%3E%3Ccircle cx='198' cy='48' r='1.1'/%3E%3C/g%3E%3C/svg%3E");
}
.rr-holiday-newyear::after { background: linear-gradient(90deg, transparent, #659ff5 23%, #f4cf79 52%, #d8e6f6 79%, transparent); box-shadow: 0 -1px 13px rgba(244, 207, 121, .30); }
.rr-holiday-newyear .rr-christmas-icon { color: #f7d184; border-color: rgba(247, 209, 132, .40); background: rgba(220, 178, 78, .13); box-shadow: 0 0 18px rgba(247, 209, 132, .12); }
.rr-holiday-newyear .rr-christmas-icon svg { filter: drop-shadow(0 0 5px rgba(247, 209, 132, .30)); }
.rr-holiday-newyear .rr-christmas-kicker, .rr-holiday-newyear .rr-christmas-greeting-slogan { color: #f7d184; }
.rr-holiday-newyear .rr-christmas-unit { border-color: rgba(219, 223, 239, .18); background: rgba(4, 10, 23, .70); }
.rr-holiday-newyear .rr-christmas-unit:first-child strong { color: #f7d184; text-shadow: 0 0 13px rgba(247, 209, 132, .25); }
.rr-holiday-newyear .rr-christmas-unit:last-child strong { color: #b7d9fc; text-shadow: 0 0 13px rgba(151, 196, 245, .25); }
.rr-holiday-newyear .rr-christmas-unit span { color: #c8d5e6; }
.rr-holiday-newyear .rr-christmas-greeting p { color: #dce6f4; }
.rr-holiday-newyear .rr-newyear-art { filter: drop-shadow(0 0 9px rgba(247, 209, 132, .30)) drop-shadow(0 0 12px rgba(123, 177, 243, .20)); }
