.ny26-root,
.ny26-root * { box-sizing: border-box; }
.ny26-snow {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 998;
}
.ny26-countdown {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 190px;
    padding: 13px 16px;
    color: var(--text-color, #263244);
    background: color-mix(in srgb, var(--bg2, #fff) 92%, transparent);
    border: 1px solid rgba(127, 140, 160, .22);
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(15, 23, 42, .12);
    backdrop-filter: blur(12px);
    font-family: "Roboto Flex", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.ny26-countdown[hidden] { display: none !important; }
.ny26-countdown__title {
    color: var(--text-muted, #778397);
    font-size: 12px;
    font-weight: 600;
}
.ny26-countdown__time {
    color: var(--accent, #4f8cff);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
    letter-spacing: .02em;
}
@media (max-width: 575.98px) {
    .ny26-countdown {
        right: 10px;
        bottom: 10px;
        min-width: 0;
        padding: 9px 12px;
        border-radius: 11px;
    }
    .ny26-countdown__time { font-size: 16px; }
}
.ny26-fireworks-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1001;
    pointer-events: none;
}
.ny26-fireworks-canvas[hidden] { display: none !important; }
.ny26-celebration {
    position: fixed;
    left: 50%;
    top: 50%;
    z-index: 1002;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: min(460px, calc(100vw - 32px));
    padding: 25px 22px;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 22px;
    color: #fff;
    text-align: center;
    background: linear-gradient(135deg, rgba(16,45,82,.96), rgba(23,107,135,.96));
    box-shadow: 0 22px 70px rgba(8,25,48,.35);
    animation: ny26-greeting-in .55s cubic-bezier(.2,.8,.2,1) both;
    pointer-events: none;
}
.ny26-celebration[hidden] { display: none !important; }
.ny26-celebration__emoji { font-size: 30px; letter-spacing: 3px; }
.ny26-celebration strong { font-size: clamp(24px, 5vw, 36px); line-height: 1.15; }
.ny26-celebration span:last-child { font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.88); }
@keyframes ny26-greeting-in {
    from { opacity: 0; transform: translate(-50%, -44%) scale(.92); }
    to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.ny26-countdown {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    text-align: left;
    border: 1px solid rgba(127, 140, 160, .28);
    transition: width .28s ease, height .28s ease, padding .28s ease,
                border-radius .28s ease, box-shadow .28s ease,
                background-color .28s ease;
}
.ny26-countdown:focus-visible {
    outline: 3px solid var(--accent, #4f8cff);
    outline-offset: 4px;
}
.ny26-countdown.is-collapsed {
    width: 58px;
    height: 58px;
    min-width: 58px;
    padding: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ny26-countdown__compact {
    display: none;
    position: relative;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    line-height: 1;
    gap: 1px;
}
.ny26-countdown.is-collapsed .ny26-countdown__compact { display: flex; }
.ny26-countdown__days {
    color: var(--accent, #4f8cff);
    font-size: 19px;
    font-weight: 850;
    font-variant-numeric: tabular-nums;
}
.ny26-countdown__days-label {
    color: var(--text-muted, #778397);
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
}
.ny26-countdown__mini-fireworks {
    display: none;
    position: absolute;
    inset: 0;
    align-items: center;
    justify-content: center;
    font-size: 27px;
    color: #ffca55;
    text-shadow: 0 0 12px rgba(255, 190, 55, .8);
    animation: ny26-mini-pop .9s ease-in-out infinite alternate;
}
.ny26-countdown.is-newyear .ny26-countdown__days,
.ny26-countdown.is-newyear .ny26-countdown__days-label { visibility: hidden; }
.ny26-countdown.is-newyear .ny26-countdown__mini-fireworks { display: flex; }
.ny26-countdown__expanded {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.ny26-countdown.is-collapsed .ny26-countdown__expanded { display: none; }
.ny26-countdown:not(.is-collapsed) {
    min-width: 190px;
    width: max-content;
    height: auto;
    border-radius: 14px;
    padding: 13px 16px;
}
@keyframes ny26-mini-pop {
    from { transform: scale(.78) rotate(-12deg); opacity: .7; }
    to { transform: scale(1.08) rotate(12deg); opacity: 1; }
}
@media (max-width: 575.98px) {
    .ny26-countdown.is-collapsed {
        width: 54px;
        height: 54px;
        min-width: 54px;
    }
    .ny26-countdown:not(.is-collapsed) {
        max-width: calc(100vw - 24px);
        min-width: 0;
        padding: 10px 12px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .ny26-countdown { transition: none; }
    .ny26-countdown__mini-fireworks { animation: none; }
}
.ny26-countdown {
    bottom: 92px;
}
@media (max-width: 575.98px) {
    .ny26-countdown {
        bottom: 88px;
        right: 1.25rem;
    }
}
