.countdown-only {
    min-height: 100vh;
    background-color: #f0eeee;
    overflow: hidden;
}

.countdown-only #page-container {
    margin-top: 0;
}

.countdown-page {
    position: fixed;
    inset: 0;
    display: grid;
    align-items: center;
    justify-items: center;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    padding: clamp(1rem, 4vh, 3rem) 0;
    background-color: #f0eeee;
    color: #050505;
}

.countdown-page__inner {
    width: min(100%, 1500px);
    margin: 0 auto;
}

.countdown-hero {
    display: grid;
    gap: 0;
    justify-items: center;
    max-height: 100%;
    transform: translateY(-1.5vh);
}

.countdown-hero__art {
    width: 100%;
}

.countdown-hero__art img {
    display: block;
    width: 60%;
    max-width: 400px;
    height: auto;
    margin: 0 auto 1.8rem;
}

.countdown-hero__content {
    display: grid;
    justify-items: center;
    gap: 0.75rem;
    width: min(calc(100% - 2rem), 560px);
}

.countdown-timer {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(0.45rem, 1.7vw, 1rem);
    width: 100%;
}

.countdown-timer__unit {
    display: grid;
    justify-items: center;
    min-width: 0;
    padding: clamp(0.4rem, 1.25vw, 0.7rem) 0.3rem;
    border-top: 1px dashed rgba(5, 5, 5, 0.45);
    border-bottom: 1px dashed rgba(5, 5, 5, 0.45);
}

.countdown-timer__number {
    display: block;
    min-height: 1.05em;
    font-family: "Courier New", Courier, monospace;
    font-size: clamp(1.45rem, 4.4vw, 2.7rem);
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
}

.countdown-timer__label {
    margin-top: 0.12rem;
    font-family: "Courier New", Courier, monospace;
    font-size: clamp(0.62rem, 1.45vw, 0.78rem);
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.2;
}

.countdown-hero__status {
    margin: 0;
    font-family: "Courier New", Courier, monospace;
    font-size: clamp(0.72rem, 1.8vw, 0.88rem);
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.6;
    text-align: center;
}

@media (max-width: 640px) {
    .countdown-page {
        align-items: center;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .countdown-page__inner {
        width: 100%;
    }

    .countdown-hero {
        gap: 0;
        transform: translateY(-1vh);
    }

    .countdown-hero__art img {
        width: 84%;
        max-width: none;
        height: auto;
        margin: 0 auto 1.4rem;
    }

    .countdown-hero__content {
        width: calc(100% - 1.25rem);
    }

    .countdown-timer {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0.35rem;
    }

    .countdown-timer__unit {
        padding: 0.36rem 0.15rem;
    }

    .countdown-timer__number {
        font-size: clamp(1.1rem, 8vw, 1.8rem);
    }

    .countdown-timer__label {
        font-size: clamp(0.48rem, 2.7vw, 0.62rem);
    }
}
