/* ========================================
   星星显示样式
   ======================================== */
.stars-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    pointer-events: none;
    z-index: 2;
}

.star {
    position: absolute;
    opacity: 0;
    animation: twinkle var(--duration) infinite;
    color-scheme: light;
    isolation: isolate;
    background: none;
    border-radius: 0;
}

.star svg {
    width: 100%;
    height: 100%;
    display: block;
}

.star path {
    fill: white;
    color: white;
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0.5);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}

@media screen and (max-width: 540px) {
    .stars-container {
    width: 100%;
    height: 40%;
    }
}