

#newyear-intro {

    position: fixed;

    inset: 0;

    margin: 0;

    padding: 0;

    width: 100vw;

    height: 100dvh;

    max-width: none;

    max-height: none;

    box-sizing: border-box;

    border: none;

    border-radius: 0;

    overflow: hidden;

    color: #ffe6b9 !important;

}

#newyear-intro[data-type="newyear"] {

    background: radial-gradient(

        ellipse at 50% 35%,

        #273555,

        #141d35 45%,

        #090f22 90%

    ) !important;

}

#newyear-intro[data-type="spring"] {

    background: radial-gradient(

        ellipse at 50% 35%,

        #922c28,

        #591b20 50%,

        #280e16 90%

    ) !important;

}

#newyear-intro::backdrop {

    background: #090f22;

    backdrop-filter: none !important;

}

#newyear-canvas {

    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    touch-action: none;

    cursor: crosshair;

}

.newyear-content {

    position: absolute;

    inset: 32% 0 40px;

    overflow-y: auto;

    text-align: center;

    padding: 16px;

    pointer-events: none;

}

.newyear-content button {

    pointer-events: auto;

}

.newyear-content small {

    color: #ffe0a6;

    font-size: 10px;

    letter-spacing: 4px;

}

.newyear-year {

    font-family: Georgia,serif;

    font-size: clamp(60px,12vw,110px);

    font-weight: normal;

    line-height: 1.15;

    color: #ffe4ab;

    text-shadow: 0 0 30px #ffd68145;

}

#newyear-intro h1 {

    font-family: Georgia,serif;

    font-style: italic;

    font-weight: normal;

    font-size: clamp(30px,6vw,54px);

    color: #ffe6b9 !important;

    margin: 12px 0;

}

#newyear-intro[data-type="spring"] h1 {

    font-family:
        "Songti SC",serif;

    font-style: normal;

    letter-spacing: 8px;

}

.newyear-couple {

    font-size: 24px;

    margin: 10px 0;

}

.newyear-content p {

    color: #f0d5a9;

    font-size: 13px;

    line-height: 1.8;

}

#newyear-intro #newyear-fire {

    display: block;

    margin: 12px auto;

    padding: 12px 24px;

    border: 1px solid #ffdc9080;

    border-radius: 30px;

    background: #ffe0a610;

    color: #ffe5b9 !important;

}

#newyear-intro #newyear-music {

    padding: 10px;

    background: transparent;

    border: none;

    color: #ffe0a6 !important;

    font-size: 12px;

}

#newyear-status {

    min-height: 14px;

    font-size: 11px;

    margin: 5px;

}

#newyear-intro #newyear-enter {

    display: block;

    width: min(320px,85%);

    margin: 16px auto 10px;

    padding: 14px 25px;

    border: none;

    border-radius: 40px;

    background: linear-gradient(

        135deg,#ffe3aa,#cda360

    );

    color: #35271b !important;

    font-weight: 600;

    letter-spacing: 2px;

}

#newyear-countdown {

    display: block;

    font-variant-numeric: tabular-nums;

    opacity: .65;

    letter-spacing: 1px !important;

}

.newyear-hint {

    position: absolute;

    bottom: 15px;

    left: 0;

    right: 0;

    text-align: center;

    font-size: 11px;

    color: #ffe0a690;

    pointer-events: none;

}

body:has(#newyear-intro[open])
#universe-effects,

body:has(#newyear-intro[open])
#universe-wallpaper {

    visibility: hidden !important;

}

@media (max-height:750px) {

    .newyear-content {

        top: 26%;

    }

    .newyear-year {

        font-size: 58px;

    }

    #newyear-intro h1 {

        font-size: 30px;

        margin: 5px 0;

    }

    .newyear-couple {

        margin: 5px;

    }

    .newyear-content p {

        margin: 5px;

    }

    #newyear-intro #newyear-fire,

    #newyear-intro #newyear-enter {

        margin: 8px auto;

    }

}


