/* 全局禁止文本选择/复制（不变） */
* {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
body::selection, *::selection {
    background: transparent !important;
    color: inherit !important;
}

/* 顶部通知栏：恢复原颜色+样式 */
.newyear-top-bar {
    position: fixed; 
    left: 0; 
    right: 0;
    top: 0;
    z-index: 9999; 
    background: rgba(240,232,245,0.98) !important;
    backdrop-filter: blur(8px);
    border-bottom: 2px solid #a773d1 !important;
    padding: 12px 30px;
    box-shadow: 0 3px 10px rgba(167,115,209,0.15);
    text-align: center;
    width: 100vw;
    min-height: 80px;
    transition: 
        top 0.8s cubic-bezier(0.25, 0.1, 0.25, 1),
        z-index 0.1s 0.8s;
}
.newyear-top-bar.move-down {
    top: 60px; 
    z-index: 998; 
}

/* 电脑端图片+文案容器：恢复原颜色 */
.elaina-container {
    position: relative;
    width: 80%;
    max-width: 800px;
    margin: 20px auto 0;
    background: rgba(240,232,245,0.98) !important;
    backdrop-filter: blur(8px);
    border: 2px solid #a773d1 !important;
    border-radius: 12px;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    opacity: 0;
    transition: opacity 0.5s ease 0.8s;
}
.newyear-top-bar.move-down ~ .elaina-container {
    opacity: 1;
}
.elaina-img {
    width: 80px;
    height: auto;
    border-radius: 8px;
    object-fit: contain;
}
.elaina-greeting {
    font-size: 16px;
    color: #664a8c !important;
    line-height: 1.5;
    text-align: center;
    font-weight: 500;
}

/* 电脑端抽签按钮 */
.draw-btn {
    display: block;
    margin: 20px auto;
    padding: 10px 25px;
    background: #a773d1;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}
.draw-btn:hover {
    background: #905ed6;
    transform: scale(1.05);
}
body.maintenance-active .draw-btn {
    background: #c89fff;
    color: #301934;
}

/* 抽签弹窗样式（电脑端+手机端统一） */
.draw-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.6);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
.draw-modal-content {
    background: rgba(240,232,245,0.98);
    backdrop-filter: blur(8px);
    border: 2px solid #a773d1;
    border-radius: 12px;
    padding: 30px 20px;
    max-width: 400px;
    width: 90%;
}
body.maintenance-active .draw-modal-content {
    background: rgba(30,10,20,0.95);
    border-color: #c89fff;
}
body.maintenance-active .draw-modal h3 {
    color: #c89fff !important;
}
body.maintenance-active .draw-modal p {
    color: #b090c8 !important;
}

/* 手机端弹窗样式（统一） */
.mobile-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.6);
    z-index: 99999 !important;
    display: flex !important;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
@media (min-width: 769px) {
    .mobile-modal {
        display: none !important;
    }
}

/* 音乐激活按钮：恢复原颜色 */
.music-activate-btn {
    border: none;
    background: #a773d1 !important;
    color: white !important;
    border-radius: 6px;
    padding: 5px 12px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}
.music-activate-btn:hover {
    background: #905ed6 !important;
    transform: scale(1.05);
}
body.maintenance-active .music-activate-btn {
    background: #c89fff !important;
    color: #301934 !important;
}

/* 维护模式样式：恢复原颜色 */
body.maintenance-active .newyear-top-bar {
    background: rgba(30,10,20,0.95) !important;
    border-bottom-color: #c89fff !important;
}
body.maintenance-active .elaina-container {
    background: rgba(30,10,20,0.95) !important;
    border-color: #c89fff !important;
}
body.maintenance-active .elaina-greeting {
    color: #b090c8 !important;
}

/* 倒计时区域样式（不变） */
.countdown-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 8px;
    flex-wrap: nowrap;
}

/* 倒计时标题样式（不变） */
.countdown-title {
    font-size: 18px;
    font-weight: 700;
    color: #a773d1 !important;
    display: flex;
    align-items: center;
    gap: 8px;
}
.countdown-title::before {
    content: "🧧"; 
    font-size: 22px;
}
body.maintenance-active .countdown-title {
    color: #c89fff !important;
}

/* 倒计时数字样式（不变） */
.countdown-numbers {
    display: flex; 
    gap: 10px;
}
.countdown-item-wrap {
    display: flex; 
    flex-direction: column;
    align-items: center; 
    gap: 3px;
}
.countdown-item {
    background: #a773d1 !important;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 8px;
    display: flex; 
    align-items: center; 
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(167,115,209,0.3);
}
body.maintenance-active .countdown-item {
    background: #c89fff !important;
}
.countdown-label {
    font-size: 12px;
    color: #664a8c !important;
    font-weight: 600;
}
body.maintenance-active .countdown-label {
    color: #b090c8 !important;
}
.countdown-separator {
    color: #a773d1 !important;
    font-size: 20px;
    font-weight: 700;
    display: flex; 
    align-items: center;
}
body.maintenance-active .countdown-separator {
    color: #c89fff !important;
}

/* 名言区域样式（不变） */
.quote-section {
    font-size: 17px;
    color: #664a8c !important;
    line-height: 1.6;
    font-weight: 500;
    padding: 0 30px;
    min-height: 2em;
}
.quote-char {
    display: inline-block;
    opacity: 0;
    transition: opacity 0.3s ease;
}
body.maintenance-active .quote-section {
    color: #b090c8 !important;
}

/* 页面主体间距（不变） */
body {
    padding-top: 240px !important;
}

/* 手机端适配（不变） */
@media (max-width: 768px) {
    .newyear-top-bar {
        top: 0 !important; 
        z-index: 9999 !important;
        padding: 6px 15px;
        min-height: 70px;
        transition: none !important;
    }
    .countdown-section {
        flex-wrap: wrap;
        gap: 8px;
    }
    .countdown-item {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    .countdown-label {
        font-size: 10px;
    }
    .quote-section {
        font-size: 14px;
        padding: 0 10px;
    }
    body {
        padding-top: 100px !important;
    }
    .elaina-container {
        display: none !important;
    }
}
