/* 左上角固定弹窗 */
[v-cloak] {
    display: none !important;
}

.lottery-popup {
    position: fixed;
    top: 78px;
    left: 20px;
    z-index: 9999;
    animation: fadeInDown 0.5s ease;
}

.lottery-card {
    background: linear-gradient(135deg, #ffd700, #ffb347);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    text-align: center;
    min-width: 250px;
    min-height: 180px;
    animation: pulse 1.5s infinite alternate;
    z-index: 10001;
}

.lottery-header {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    margin-bottom: 10px;
}

.lottery-scroll {
    /*overflow: hidden;*/
    /*height: 40px;*/
    margin: 10px 0;
}

.scroll-text {
    animation: scrollUp 0.8s ease-out;
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 0 10px rgba(255,255,255,0.8);
}

.lottery-winner {
    font-size: 24px;
    font-weight: bold;
    color: #c0392b;
    background: rgba(255,255,255,0.95);
    padding: 5px 15px;
    border-radius: 20px;
    margin: 10px 0;
}

.lottery-points {
    font-size: 16px;
    color: #fff;
}

.points {
    font-size: 22px;
    font-weight: bold;
    color: #fff;
    background: #ccc;
    padding: 2px 10px;
    border-radius: 8px;
    display: inline-block;
    margin-left: 5px;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-50px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 10px rgba(255,215,0,0.5); }
    100% { transform: scale(1.05); box-shadow: 0 0 30px rgba(255,215,0,0.8); }
}

@keyframes scrollUp {
    0% { transform: translateY(50px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}