body.home-page-active:has(.christmas-widget) > header {
    position: relative;
    background: #0b2925;
}

.christmas-widget {
    container-type: inline-size;
    position: relative;
    isolation: isolate;
    color: #f7f1df;
    background: #0b2925;
    border-block: 1px solid #776747;
}

.christmas-widget::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
        linear-gradient(90deg, #091f1d 1%, rgb(9 31 29 / 94%) 27%, rgb(9 31 29 / 35%) 68%, #091f1d 100%),
        url("../images/christmas/arcade-winter-2026.webp") center 54% / cover;
}

.christmas-widget__inner {
    max-inline-size: 72rem;
    margin-inline: auto;
    padding: 1.25rem clamp(1rem, 4vw, 3rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.christmas-widget .christmas-widget__copy :is(h1, h2) {
    color: #fff1d4;
    font: 700 clamp(1.75rem, 4vw, 2.75rem)/1.05 "Georgia", serif;
    margin: 0;
    text-wrap: balance;
}

.christmas-widget__copy :is(h1, h2) span {
    color: #edc37a;
}

.christmas-widget .christmas-widget__copy p {
    color: #eee6d4;
    font-size: .9rem;
    margin: .55rem 0 .9rem;
}

.christmas-widget__schedule {
    margin-block: -.5rem .9rem;
    color: #eee6d4;
    font-size: .9rem;
    line-height: 1.6;
}

.christmas-widget__schedule [data-christmas-local]:not([hidden]) + time::before {
    content: " · ";
}

.christmas-widget__schedule [data-christmas-countdown] {
    font-variant-numeric: tabular-nums;
}

.christmas-widget__clue { color: #f7dfa5; font: italic 1rem/1.4 Georgia, serif; overflow-wrap: anywhere; }
.christmas-widget__clue .clue-redaction { font: .85rem/1 ui-monospace, monospace; white-space: nowrap; }

.christmas-widget .christmas-widget__link {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    padding: .55rem .95rem;
    border-radius: .25rem;
    background: #f7dfa5;
    color: #231e15;
    font-weight: 700;
    font-size: .9rem;
    line-height: 1.35;
    text-decoration: none;
}

.christmas-widget .christmas-widget__link:hover {
    background: #fff1cc;
    color: #231e15;
}

.christmas-widget[dir="rtl"] .christmas-widget__link i {
    transform: rotate(180deg);
}

.christmas-widget__days {
    display: grid;
    flex: none;
    grid-template-columns: repeat(5, 1.65rem);
    gap: .15rem;
    padding: .35rem;
    background: #082824;
    border: 1px solid #927952;
    border-radius: .25rem;
}

.christmas-widget__days > * {
    display: grid;
    min-block-size: 1.5rem;
    place-items: center;
    font: 600 .74rem/1 ui-monospace, monospace;
    font-variant-numeric: tabular-nums;
    border: 1px solid #43635b;
    border-radius: 2px;
    color: #c0d1c7;
    background: #163c34;
}

.christmas-widget__days a {
    color: #fff2ce;
    background: #742d34;
    border-color: #ac7956;
    text-decoration: none;
}

.christmas-widget__days .is-latest,
.christmas-widget__days a:hover {
    color: #30251b;
    background: #f3d7a0;
}

.christmas-widget a:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 2px;
    z-index: 1;
}

@container (max-width: 35rem) {
    .christmas-widget__inner {
        align-items: stretch;
        flex-direction: column;
        gap: 1rem;
    }

    .christmas-widget__days {
        grid-template-columns: repeat(auto-fit, minmax(32px, 1fr));
    }

    .christmas-widget__days > * {
        min-block-size: 32px;
    }
}
