/* 
 * =========================================
 *  子比抽奖中心 - 全新现代高级UI (Glassmorphism + 悬浮卡片)
 * =========================================
 */

/* --- 顶级容器与全局重置 --- */
.zibll-lottery-new-container {
    max-width: 100%;
    min-height: 100vh;
    margin: 0 auto;
    background: #f8fafc;
    background-image: 
        radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.1) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(168, 85, 247, 0.1) 0px, transparent 50%);
    border-radius: 0;
    padding: 20px 20px 30px 20px; /* 调整内边距，使其不至于太靠下 */
    box-shadow: none;
    border: none;
    font-family: inherit;
    position: relative;
    overflow: hidden;
    color: #334155;
    box-sizing: border-box;
}

/* 容器背景装饰光晕 */
.zibll-lottery-new-container::before {
    content: '';
    position: absolute;
    top: -150px; right: -100px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    filter: blur(40px);
}
.zibll-lottery-new-container::after {
    content: '';
    position: absolute;
    bottom: -150px; left: -100px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    filter: blur(40px);
}

/* --- 顶部控制台 (Header) --- */
.lottery-top-header {
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 10;
}

.lottery-title-area h2 {
    font-size: 32px;
    font-weight: 900;
    margin: 0 0 8px 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #6366f1 50%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(99,102,241,0.2);
}
.lottery-title-area p {
    font-size: 14px;
    color: #475569;
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.lottery-top-controls {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 10px;
}

.lottery-sound-btn {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}
.lottery-sound-btn:hover {
    background: #fff;
    color: #3b82f6;
    border-color: #3b82f6;
    box-shadow: 0 4px 10px rgba(59,130,246,0.1);
}
.lottery-sound-btn.muted i::before {
    content: "\f026"; /* fa-volume-off */
}

/* --- 跑马灯播报 --- */
.lottery-marquee-wrapper {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.5) 0%, rgba(248, 250, 252, 0.3) 50%, rgba(255, 255, 255, 0.5) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: none;
    border-radius: 50px;
    padding: 6px 20px;
    margin: 0 auto 30px auto;
    display: flex;
    align-items: center;
    max-width: 800px;
    position: relative;
    z-index: 10;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(31, 38, 135, 0.05);
    will-change: transform;
}
.lottery-marquee-icon {
    color: #4f46e5;
    font-weight: 900;
    font-size: 14px;
    white-space: nowrap;
    margin-right: 15px;
    display: flex;
    align-items: center;
    z-index: 2;
    background: transparent;
    padding: 4px 15px 4px 10px;
    position: relative;
}
.lottery-marquee-icon::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 2px;
    background: linear-gradient(180deg, transparent, rgba(99,102,241,0.3), transparent);
    border-radius: 2px;
}
.lottery-marquee-icon i {
    margin-right: 5px;
    animation: ringRing 2s infinite ease-in-out;
    will-change: transform;
}
@keyframes ringRing {
    0%, 100% { transform: rotate(0deg); }
    10%, 30%, 50% { transform: rotate(10deg); }
    20%, 40%, 60% { transform: rotate(-10deg); }
    70% { transform: rotate(0deg); }
}
.lottery-marquee-content {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 24px;
    display: flex;
    align-items: center;
}
.lottery-marquee-inner {
    position: absolute;
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: marqueeScroll 80s linear infinite;
    will-change: transform;
    font-size: 13px;
    color: #475569;
    padding-left: 0;
    height: 100%;
}
.lottery-marquee-inner:hover {
    animation-play-state: paused;
}
.lottery-marquee-item {
    display: inline-flex;
    align-items: center;
    margin-right: 40px;
}
.lottery-marquee-item b {
    color: #1e293b;
    margin: 0 6px;
}
.lottery-marquee-item .m-prize {
    color: #ef4444;
    font-weight: bold;
}
@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- 卡池切换 Tabs --- */
.lottery-pool-tabs {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 6px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
    display: inline-flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 20px;
}
.lottery-pool-tabs .pool-tab {
    padding: 8px 18px !important;
    border-radius: 20px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    color: #64748b !important;
    background: transparent !important;
    border: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer;
    position: relative;
    box-shadow: none !important;
}
.lottery-pool-tabs .pool-tab:hover {
    color: #3b82f6 !important;
    background: rgba(255, 255, 255, 0.5) !important;
}
.lottery-pool-tabs .pool-tab.active {
    background: #ffffff !important;
    color: #6366f1 !important;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15) !important;
}
.lottery-pool-tabs .pool-tab.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: #6366f1;
    border-radius: 3px;
}
.luck-progress-container {
    position: relative;
}
.luck-floating-text {
    position: absolute;
    right: 0;
    top: -20px;
    color: #ef4444;
    font-weight: bold;
    font-size: 16px;
    opacity: 0;
    pointer-events: none;
    z-index: 20;
    will-change: transform, opacity;
}
.luck-floating-text.animate {
    animation: floatUp 1.5s ease-out forwards;
}
@keyframes floatUp {
    0% { transform: translateY(0) scale(1); opacity: 1; }
    50% { transform: translateY(-15px) scale(1.2); opacity: 0.8; }
    100% { transform: translateY(-30px) scale(1); opacity: 0; }
}
.premium-progress-fill.flash {
    animation: progressFlash 0.5s ease-in-out 2;
}
@keyframes progressFlash {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.5) drop-shadow(0 0 8px rgba(59,130,246,0.8)); }
}

/* --- 欧皇排行榜 --- */
.lottery-rank-list {
    max-height: 250px;
    overflow-y: auto;
    background: #fff;
}
.lottery-rank-list::-webkit-scrollbar {
    width: 4px;
}
.lottery-rank-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
.lottery-rank-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border-bottom: 1px solid #f8fafc;
    transition: background 0.2s;
}
.lottery-rank-item:hover {
    background: #f1f5f9;
}
.rank-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin-right: 12px;
    object-fit: cover;
    border: 1px solid #e2e8f0;
}
.rank-info {
    flex: 1;
    overflow: hidden;
}
.rank-user {
    font-size: 13px;
    color: #1e293b;
    font-weight: bold;
    margin-bottom: 2px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.rank-prize {
    font-size: 12px;
    color: #ef4444;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.rank-time {
    font-size: 11px;
    color: #94a3b8;
    white-space: nowrap;
    margin-left: 10px;
}

/* --- 欧皇排行榜弹窗加强版 --- */
.large-modal {
    max-width: 800px !important;
    max-height: 90vh !important;
}
.large-modal .zibll-lottery-modal-body {
    overflow-y: hidden !important;
    display: flex;
    flex-direction: column;
    padding-bottom: 10px;
}
.rank-content-wrap {
    flex: 1;
    min-height: 0;
}
.rank-tabs {
    display: flex;
    background: #f1f5f9;
    border-radius: 8px;
    padding: 6px;
    margin-bottom: 20px;
    flex-shrink: 0;
}
.rank-tab {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    font-size: 15px;
    font-weight: bold;
    color: #64748b;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
}
.rank-tab.active {
    background: #fff;
    color: #3b82f6;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.rank-pane {
    display: none;
    height: 100%;
}
.rank-pane.active {
    display: block;
}
.lottery-rank-list.large {
    max-height: calc(90vh - 160px);
    height: 100%;
    overflow-y: auto;
}
.lottery-rank-list.large .lottery-rank-item {
    padding: 18px 15px;
}
.lottery-rank-list.large .rank-avatar {
    width: 48px;
    height: 48px;
    margin-right: 15px;
}
.lottery-rank-list.large .rank-user {
    font-size: 15px;
    margin-bottom: 4px;
}
.lottery-rank-list.large .rank-prize {
    font-size: 14px;
}
.lottery-rank-list.large .rank-time {
    font-size: 13px;
}
.rank-medal {
    width: 28px;
    height: 28px;
    line-height: 28px;
    text-align: center;
    border-radius: 50%;
    font-size: 14px;
    font-weight: bold;
    margin-right: 18px;
    flex-shrink: 0;
}
.rank-medal.gold { background: linear-gradient(135deg, #fde047, #f59e0b); color: #fff; box-shadow: 0 2px 8px rgba(245,158,11,0.3); }
.rank-medal.silver { background: linear-gradient(135deg, #e2e8f0, #94a3b8); color: #fff; box-shadow: 0 2px 8px rgba(148,163,184,0.3); }
.rank-medal.bronze { background: linear-gradient(135deg, #fed7aa, #d97706); color: #fff; box-shadow: 0 2px 8px rgba(217,119,6,0.3); }
.rank-medal.normal { background: #f1f5f9; color: #94a3b8; }
.rank-val {
    font-size: 16px;
    font-weight: bold;
    color: #f59e0b;
    margin-left: 15px;
}

.lottery-user-assets {
    display: flex;
    gap: 15px;
}

.asset-badge {
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 8px 14px;
    border-radius: 12px;
    font-size: 14px;
    color: #334155;
    font-weight: 600;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02), inset 0 2px 0 rgba(255,255,255,0.8);
    transition: all 0.2s;
}
.asset-badge:hover {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border-color: #cbd5e1;
    box-shadow: 0 4px 8px rgba(0,0,0,0.04), inset 0 2px 0 rgba(255,255,255,1);
}

.asset-badge i {
    margin-right: 8px;
    font-size: 16px;
}
.asset-badge .fa-gem { color: #6366f1; }
.asset-badge .fa-star { color: #f5a623; }
.asset-badge b {
    font-size: 18px;
    margin-left: 5px;
    color: #0f172a;
    font-family: monospace;
}

.lottery-recharge-btn {
    font-size: 11px;
    color: #ffffff;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    padding: 2px 8px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(99,102,241,0.2);
    margin-left: auto;
}
.lottery-recharge-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(99,102,241,0.35);
    color: #ffffff;
}

/* --- 抽奖主体区 (包含机器和两侧信息) --- */
.lottery-main-body.three-col-layout {
    display: grid;
    grid-template-columns: 260px 1fr 260px;
    gap: 30px;
    position: relative;
    z-index: 10;
    align-items: start;
}
@media (max-width: 1024px) {
    .lottery-main-body.three-col-layout {
        grid-template-columns: 1fr 280px;
    }
    .lottery-left-col {
        grid-column: 1 / -1;
        display: flex;
        flex-direction: row;
        gap: 20px;
    }
    .lottery-left-col > * {
        flex: 1;
    }
}
@media (max-width: 768px) {
    .lottery-main-body.three-col-layout { 
        display: flex;
        flex-direction: column; 
    }
    .lottery-center-col {
        order: -1;
        margin-bottom: 15px;
    }
    .lottery-left-col {
        flex-direction: column;
        order: 1;
    }
    .lottery-top-header { flex-direction: column; align-items: flex-start; gap: 15px; position: relative; }
    .lottery-top-controls {
        position: absolute;
        top: 0;
        right: 0;
        transform: none;
        flex-direction: row;
        gap: 8px;
    }
    .lottery-sound-btn {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
}

/* 抽奖区域 */
.lottery-center-col {
    display: flex;
    flex-direction: column;
}
.lottery-machine-area {
    flex: 1;
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 28px;
    padding: 24px;
    border: 1px solid #cbd5e1;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08), inset 0 2px 0 rgba(255, 255, 255, 0.9), inset 0 -4px 10px rgba(0,0,0,0.05);
    position: relative;
}

/* 机器底座氛围灯 */
.lottery-machine-area::after {
    content: '';
    position: absolute;
    bottom: -15px; left: 10%; right: 10%;
    height: 30px;
    background: radial-gradient(ellipse at center, rgba(99,102,241,0.25) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(8px);
    z-index: -1;
}

.zibll-lottery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 14px;
    width: 100%;
    box-sizing: border-box;
    padding: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
    border-radius: 22px;
    border: 1px solid #e2e8f0;
    box-shadow: inset 0 8px 20px rgba(0,0,0,0.04), 0 2px 0 rgba(255,255,255,1), 0 4px 10px rgba(0,0,0,0.02);
}

/* 极简高级卡片 */
.lottery-item {
    background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
    border: 1px solid #cbd5e1;
    border-bottom-width: 4px;
    border-radius: 18px;
    padding: 15px 5px;
    transition: transform 0.1s ease, box-shadow 0.1s ease, border-color 0.1s ease, background 0.1s ease;
    will-change: transform, box-shadow;
    position: relative;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.04), inset 0 2px 0 rgba(255,255,255,0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    box-sizing: border-box;
    margin: 0 !important;
    overflow: hidden;
}

/* 给卡片增加一个高级的顶部内发光和玻璃感反光 */
.lottery-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.1) 100%);
    pointer-events: none;
    z-index: 1;
    border-radius: 16px 16px 0 0;
}

.lottery-item.empty-item {
    background: transparent;
    box-shadow: none;
    border: none;
}

.lottery-item-inner {
    text-align: center;
    width: 100%;
    position: relative;
    z-index: 2;
}

.lottery-item-inner img {
    max-width: 50px;
    height: auto;
    margin-bottom: 10px;
    object-fit: contain;
    transition: transform 0.15s ease;
    will-change: transform;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.06));
}

.lottery-item-inner .lottery-icon {
    font-size: 32px;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.lottery-item-inner .prize-name {
    display: block;
    font-size: 14px;
    color: #0f172a;
    font-weight: 800;
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(255,255,255,0.9);
    letter-spacing: 0.5px;
}

/* 激活状态 (光效浮动) */
.lottery-item.active {
    background: #ffffff;
    border-color: #6366f1;
    border-bottom-width: 5px;
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.3), 0 0 0 5px rgba(99, 102, 241, 0.15), inset 0 2px 0 rgba(255,255,255,1);
    z-index: 2;
}
.lottery-item.active::before {
    background: linear-gradient(180deg, rgba(99,102,241,0.1) 0%, transparent 100%);
}
.lottery-item.active .lottery-item-inner img {
    transform: scale(1.1);
}

/* --- 盲盒翻牌子模式 (Card Flip) --- */
.zibll-lottery-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 15px;
    width: 100%;
    margin: 0;
}

.card-item {
    background-color: transparent;
    width: 100%;
    min-height: 120px;
    perspective: 1000px;
    cursor: pointer;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s cubic-bezier(0.4, 0.2, 0.2, 1);
    transform-style: preserve-3d;
}

.card-item.flipped .card-inner {
    transform: rotateY(180deg);
}

/* 洗牌聚拢动画 */
.card-item.shuffle-deal {
    transition: transform 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
/* 针对 3x3 布局，将所有卡牌聚拢到中间 (即索引 4 的位置) */
.card-item:nth-child(1).shuffle-deal { transform: translate(100%, 100%) rotate(15deg); z-index: 10; }
.card-item:nth-child(2).shuffle-deal { transform: translate(0, 100%) rotate(-10deg); z-index: 9; }
.card-item:nth-child(3).shuffle-deal { transform: translate(-100%, 100%) rotate(25deg); z-index: 8; }
.card-item:nth-child(4).shuffle-deal { transform: translate(100%, 0) rotate(-15deg); z-index: 7; }
.card-item:nth-child(5).shuffle-deal { transform: translate(0, 0) rotate(5deg); z-index: 6; }
.card-item:nth-child(6).shuffle-deal { transform: translate(-100%, 0) rotate(-20deg); z-index: 5; }
.card-item:nth-child(7).shuffle-deal { transform: translate(100%, -100%) rotate(10deg); z-index: 4; }
.card-item:nth-child(8).shuffle-deal { transform: translate(0, -100%) rotate(-5deg); z-index: 3; }
.card-item:nth-child(9).shuffle-deal { transform: translate(-100%, -100%) rotate(20deg); z-index: 2; }

/* 洗牌散开动画 (恢复原位) */
.card-item.shuffled {
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translate(0, 0) rotate(0deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.card-front {
    background: linear-gradient(135deg, #8b5cf6, #c084fc);
    color: white;
    border: 2px solid rgba(255,255,255,0.2);
    font-size: 32px;
}

.card-front:hover {
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
    transform: translateY(-2px);
    transition: all 0.3s;
}

.card-back {
    background: #ffffff;
    color: #333;
    transform: rotateY(180deg);
    border: 2px solid #e2e8f0;
    padding: 10px;
}

.card-back img {
    max-width: 80%;
    max-height: 50%;
    object-fit: contain;
    margin-bottom: 8px;
}

.card-back i {
    font-size: 32px;
    margin-bottom: 8px;
}

.card-prize-name {
    font-size: 12px;
    font-weight: bold;
    color: #1e293b;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 768px) {
    .zibll-lottery-card-grid {
        gap: 8px;
    }
    .card-front { font-size: 24px; }
    .card-back { padding: 5px; }
    .card-prize-name { font-size: 10px; }
}

/* 悬浮角标 */
.lottery-badge {
    position: absolute;
    top: -1px; 
    right: -1px;
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 0 12px 0 8px;
    color: #fff;
    font-weight: bold;
    z-index: 5;
    box-shadow: -2px 2px 6px rgba(0,0,0,0.05);
}
.badge-guarantee { background: linear-gradient(135deg, #f5a623, #ff6a00); }
.badge-piece { background: linear-gradient(135deg, #3b82f6, #60a5fa); }
.badge-jackpot { background: linear-gradient(135deg, #ec4899, #f43f5e); }
.badge-custom { background: linear-gradient(135deg, #6366f1, #8b5cf6); color: #fff; }
.badge-level-n { background: linear-gradient(135deg, #94a3b8, #cbd5e1); color: #fff; }
.badge-level-r { background: linear-gradient(135deg, #10b981, #34d399); color: #fff; }
.badge-level-sr { background: linear-gradient(135deg, #8b5cf6, #c084fc); color: #fff; }
.badge-level-ssr { background: linear-gradient(135deg, #f59e0b, #fbbf24); color: #fff; box-shadow: 0 0 10px rgba(245, 158, 11, 0.5); }

/* 卡片边框稀有度特效 */
.lottery-item[data-level="R"] { border-color: rgba(16, 185, 129, 0.3); border-bottom-color: rgba(16, 185, 129, 0.5); }
.lottery-item[data-level="SR"] { border-color: rgba(139, 92, 246, 0.4); border-bottom-color: rgba(139, 92, 246, 0.6); box-shadow: inset 0 0 10px rgba(139, 92, 246, 0.05); }
.lottery-item[data-level="SSR"] { border-color: rgba(245, 158, 11, 0.5); border-bottom-color: rgba(245, 158, 11, 0.8); box-shadow: inset 0 0 15px rgba(245, 158, 11, 0.1); background: linear-gradient(135deg, #ffffff 0%, #fffbeb 100%); }

/* --- 中心圆形抽奖大按钮 --- */
.lottery-action-center {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%; height: 100%;
    margin: 0 !important;
    position: relative;
    z-index: 10;
}

.lottery-action-center button {
    width: 104px !important;
    height: 104px !important;
    min-height: auto !important;
    border-radius: 50% !important;
    font-size: 20px !important;
    line-height: 1.3 !important;
    font-weight: 900 !important;
    color: #ffffff !important;
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%) !important;
    border: none !important;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.4), inset 0 -6px 12px rgba(0,0,0,0.15), inset 0 2px 4px rgba(255,255,255,0.4) !important;
    position: relative;
    overflow: visible !important;
    transition: transform 0.2s cubic-bezier(0.18, 0.89, 0.32, 1.28), box-shadow 0.2s cubic-bezier(0.18, 0.89, 0.32, 1.28) !important;
    will-change: transform, box-shadow;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    margin: 0 auto !important;
    animation: none;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* 按钮的呼吸光环特效 */
.lottery-action-center button::after {
    content: '';
    position: absolute;
    top: -6px; right: -6px; bottom: -6px; left: -6px;
    background: linear-gradient(135deg, rgba(99,102,241,0.5), rgba(168,85,247,0.5));
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
    filter: blur(12px);
}

.lottery-action-center button:hover:not(:disabled) {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.5) !important;
}
.lottery-action-center button:hover:not(:disabled)::after {
    opacity: 1;
    animation: pulseRing 2s infinite;
}
@keyframes pulseRing {
    0% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.05); opacity: 0.8; }
    100% { transform: scale(1); opacity: 0.6; }
}

.lottery-action-center button:active:not(:disabled) {
    transform: translateY(4px) scale(0.95);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.2) !important;
}
.lottery-action-center button[disabled] {
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1) !important;
    border: none !important;
    box-shadow: none !important;
    color: #94a3b8 !important;
    cursor: not-allowed;
    transform: none !important;
    text-shadow: none;
}

.lottery-action-center button .free-bubble {
    position: absolute;
    top: -8px;
    right: -10px;
    background: #ec4899;
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    white-space: nowrap;
    box-shadow: 0 2px 5px rgba(236,72,153,0.3);
    z-index: 10;
    animation: bounce-bubble 2s infinite;
    will-change: transform;
}
@keyframes bounce-bubble {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.lottery-action-center button .btn-text {
    display: block;
    text-align: center;
}

/* --- 两侧面板 --- */
.lottery-side-panel {
    width: 100%;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
@media (max-width: 768px) {
    .lottery-side-panel { width: 100%; }
}

.modern-side-box {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 30px rgba(31, 38, 135, 0.05), inset 0 2px 0 rgba(255, 255, 255, 1);
    color: #475569;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, box-shadow;
}
.modern-side-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(31, 38, 135, 0.08), inset 0 2px 0 rgba(255, 255, 255, 1);
}

.modern-box-title {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    text-shadow: 0 1px 1px rgba(255,255,255,0.8);
}
.modern-box-title i {
    margin-right: 6px;
    color: #6366f1;
}

/* 细长优美的进度条 */
.premium-progress-bg {
    height: 8px;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 8px;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}
.premium-progress-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 0 5px rgba(255,255,255,0.5) inset;
    position: relative;
    overflow: hidden;
}
.premium-progress-fill::after {
    content: '';
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
    background-image: linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.2) 25%,
        transparent 25%,
        transparent 50%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0.2) 75%,
        transparent 75%,
        transparent
    );
    background-size: 1rem 1rem;
    animation: progress-stripes 1s linear infinite;
}
@keyframes progress-stripes {
    from { background-position: 1rem 0; }
    to { background-position: 0 0; }
}
.fill-luck { background: linear-gradient(90deg, #f59e0b, #ea580c); }
.fill-piece { background: linear-gradient(90deg, #6366f1, #8b5cf6); }

#zibll-lottery-invite-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(16,185,129,0.4), inset 0 2px 0 rgba(255,255,255,0.3) !important;
}
#zibll-lottery-invite-btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 5px rgba(16,185,129,0.2) !important;
}

#zibll-lottery-records-btn:hover {
    color: #6366f1 !important;
}

/* 碎片列表 */
.modern-pieces-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.modern-piece-item {
    font-size: 13px;
    color: #64748b;
}
.piece-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

/* --- 新增：垂直资产列表 --- */
.lottery-user-assets-vertical {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* 底部控制区（已移至右侧，保留部分样式作为备用或通用） */
.lottery-bottom-actions {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
    position: relative;
    z-index: 10;
}

.modern-btn-link {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    padding: 12px 24px;
    border-radius: 16px;
    color: #475569;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 10px rgba(31, 38, 135, 0.02);
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}
.modern-btn-link i {
    margin-right: 6px;
    color: #94a3b8;
    transition: color 0.3s;
}

.modern-btn-link:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.1);
    color: #6366f1 !important;
}
.modern-btn-link:hover i {
    color: #6366f1 !important;
}

/* 中奖3D翻转高亮特写 */
.lottery-item.prize-flip-active {
    animation: prize-flip 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    z-index: 20;
    box-shadow: 0 30px 60px rgba(99, 102, 241, 0.5), 0 0 0 6px rgba(99, 102, 241, 0.2);
    border-color: #6366f1;
    background: #ffffff;
    will-change: transform;
}
@keyframes prize-flip {
    0% { transform: perspective(600px) rotateY(0deg) scale(1); }
    50% { transform: perspective(600px) rotateY(180deg) scale(1.1); }
    100% { transform: perspective(600px) rotateY(360deg) scale(1.15); }
}

/* 全站播报 Toast 样式 */
.lottery-toast-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999999;
    display: flex;
    flex-direction: column-reverse;
    gap: 10px;
    pointer-events: none;
}
.lottery-toast {
    background: #ffffff;
    border-left: 4px solid #3b82f6;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    font-size: 13px;
    color: #334155;
    display: flex;
    align-items: center;
    animation: toast-slide-in 0.5s cubic-bezier(0.18, 0.89, 0.32, 1.28) forwards, toast-slide-out 0.5s 3.5s forwards;
    border: 1px solid #f1f5f9;
    border-left: 4px solid #3b82f6;
}
.lottery-toast i {
    color: #3b82f6;
    margin-right: 8px;
    font-size: 16px;
}
@keyframes toast-slide-in {
    from { transform: translateX(120%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
@keyframes toast-slide-out {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(120%); opacity: 0; }
}

/* =========================================
   独立弹窗组件 (全局通用)
========================================= */
.zibll-lottery-custom-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
}
.zibll-lottery-custom-modal.show {
    display: flex !important;
}
.zibll-lottery-modal-mask {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(5px);
}
.zibll-lottery-modal-dialog {
    position: relative;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 20px;
    width: 90%;
    max-width: 400px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    animation: lottery-modal-in 0.4s cubic-bezier(0.18, 0.89, 0.32, 1.28);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    margin: auto;
    z-index: 1;
}
@keyframes lottery-modal-in {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.zibll-lottery-modal-close {
    position: absolute;
    top: 15px; right: 20px;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #94a3b8;
    transition: color 0.2s;
    z-index: 10;
}
.zibll-lottery-modal-close:hover { color: #3b82f6; }
.zibll-lottery-modal-title {
    padding: 24px 20px 15px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    color: #1e293b;
}
.zibll-lottery-modal-body {
    padding: 0 24px 24px;
    overflow-y: auto;
    color: #475569;
    flex: 1;
    min-height: 0;
}
.zibll-lottery-modal-body::-webkit-scrollbar {
    width: 4px;
}
.zibll-lottery-modal-body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

/* 抽奖记录列表 (弹窗内) */
/* 我的记录 Tab 样式 */
.record-tab {
    flex: 1;
    text-align: center;
    padding: 8px 0;
    font-size: 14px;
    color: #64748b;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
}
.record-tab.active {
    background: #fff;
    color: #3b82f6;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    font-weight: bold;
}

/* 记录列表专属徽章 (精致现代风) */
.record-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 6px;
    vertical-align: middle;
    line-height: 1;
    letter-spacing: 0.5px;
}
.record-badge.badge-physical {
    background: linear-gradient(135deg, #fffbeb, #ffedd5);
    color: #d97706;
    border: 1px solid #fdba74;
}
.record-badge.badge-kami {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    color: #0284c7;
    border: 1px solid #7dd3fc;
}

.lottery-record-list {
    list-style: none;
    padding: 0; margin: 0;
}
.lottery-record-list li {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    margin-bottom: 12px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    font-size: 14px;
}
.lottery-record-list li:last-child { margin-bottom: 0; }
.lottery-record-list .record-time { color: #94a3b8; font-size: 12px; }
.lottery-record-list .record-cost { color: #64748b; }
.lottery-record-list .record-prize { font-weight: bold; color: #3b82f6; }

.lottery-modal-content h4 { display: none; }
.lottery-modal-content ol { padding-left: 20px; color: #4a5568; line-height: 1.8; }
.lottery-modal-content li { margin-bottom: 8px; }

/* =========================================
   抽奖/盲盒 移动端优化
========================================= */
/* 单抽/十连抽按钮统一尺寸（内联样式已迁移到此） */
#zibll-do-lottery,
#zibll-do-lottery-ten {
    width: 100% !important;
    min-width: 100% !important;
    border-radius: 14px !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
}
#zibll-do-lottery {
    height: 55px !important;
    font-size: 19px !important;
}
#zibll-do-lottery-ten {
    height: 42px !important;
    font-size: 14px !important;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6) !important;
}

@media (max-width: 768px) {
    /* === 机器外壳 === */
    .lottery-machine-area {
        padding: 12px;
        border-radius: 18px;
    }
    .lottery-machine-area::after {
        bottom: -10px;
        height: 20px;
    }

    /* === 九宫格：卡片更紧凑 === */
    .zibll-lottery-grid {
        padding: 10px;
        gap: 10px;
        border-radius: 14px;
    }
    .lottery-item {
        min-height: 88px;
        padding: 8px 2px;
        border-radius: 12px;
        border-bottom-width: 3px;
    }
    .lottery-item.active {
        transform: translateY(-3px) scale(1.02);
        box-shadow: 0 12px 24px rgba(99, 102, 241, 0.25), 0 0 0 4px rgba(99, 102, 241, 0.15), inset 0 2px 0 rgba(255,255,255,1);
    }
    .lottery-item-inner img {
        max-width: 38px;
        margin-bottom: 5px;
    }
    .lottery-item-inner .lottery-icon {
        font-size: 24px;
        margin-bottom: 4px;
    }
    .lottery-item-inner .prize-name {
        font-size: 11px;
        line-height: 1.3;
        letter-spacing: 0;
    }
    .lottery-badge {
        font-size: 9px;
        padding: 2px 6px;
        border-radius: 0 10px 0 6px;
    }

    /* === 抽奖按钮：更矮更紧凑 === */
    .lottery-action-center {
        gap: 6px !important;
    }
    #zibll-do-lottery {
        height: 46px !important;
        font-size: 16px !important;
        border-radius: 12px !important;
    }
    #zibll-do-lottery-ten {
        height: 38px !important;
        font-size: 13px !important;
        border-radius: 12px !important;
    }
    .lottery-action-center button .free-bubble {
        font-size: 9px;
        top: -7px;
        right: -6px;
        padding: 1px 6px;
    }

    /* === 盲盒信息区 === */
    .lottery-card-info-box {
        padding: 12px 14px !important;
        margin-bottom: 14px !important;
        border-radius: 12px !important;
        gap: 10px !important;
    }
    .lottery-card-title {
        font-size: 16px !important;
        letter-spacing: 1px !important;
    }
    .lottery-card-info-row {
        justify-content: center !important;
    }
    #card-reset-btn {
        height: 32px !important;
        font-size: 12px !important;
        padding: 0 14px !important;
    }
    #card-expire-timer {
        height: 32px !important;
    }

    /* === 盲盒九宫格 === */
    .zibll-lottery-card-grid-wrapper {
        padding: 10px !important;
        border-radius: 12px !important;
    }
    .zibll-lottery-card-grid {
        gap: 8px;
    }
    .card-item {
        min-height: 88px;
    }
    .card-front {
        font-size: 20px;
    }
    .card-front i {
        font-size: 24px !important;
    }
    .card-back {
        padding: 4px !important;
    }
    .card-back i {
        font-size: 22px !important;
        margin-bottom: 4px !important;
    }
    .card-prize-name {
        font-size: 10px;
    }

    /* === 欧皇排行榜 tab：单行显示，不换行撑高，超宽可横向滚动 === */
    .rank-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .rank-tabs::-webkit-scrollbar {
        display: none;
    }
    .rank-tab {
        flex: 0 0 auto;
        min-width: 25%;
        padding: 10px 4px;
        font-size: 13px;
        white-space: nowrap;
    }
}

/* ===================== 移动端布局优化 ===================== */

/* --- 摘要条：PC 端隐藏，仅移动端显示 --- */
.lottery-mobile-summary {
    display: none;
}

@media (max-width: 768px) {
    /* === 摘要条：积分 / 余额 / 保底 置顶首屏 === */
    .lottery-mobile-summary {
        display: flex;
        align-items: center;
        gap: 8px;
        background: #fff;
        border: 1px solid #e2e8f0;
        border-radius: 14px;
        padding: 10px 14px;
        margin-bottom: 12px;
        box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
        flex-wrap: wrap;
    }
    .lottery-ms-item {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        font-size: 13px;
        color: #334155;
        white-space: nowrap;
        text-decoration: none;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
    .lottery-ms-item i {
        color: #3b82f6;
        font-size: 14px;
    }
    .lottery-ms-val {
        font-weight: 800;
        color: #0f172a;
        font-size: 15px;
        line-height: 1;
    }
    .lottery-ms-label {
        color: #94a3b8;
        font-size: 11px;
    }
    .lottery-ms-divider {
        width: 1px;
        height: 18px;
        background: #e2e8f0;
        flex-shrink: 0;
    }
    .lottery-ms-luck-item {
        flex: 1;
        min-width: 0;
        flex-wrap: wrap;
    }
    .lottery-ms-luck-bar {
        width: 100%;
        height: 5px;
        background: #eef2f7;
        border-radius: 4px;
        overflow: hidden;
        margin-top: 3px;
    }
    .lottery-ms-luck-fill {
        height: 100%;
        background: linear-gradient(90deg, #3b82f6, #8b5cf6);
        border-radius: 4px;
        transition: width 0.6s ease;
    }
    .lottery-ms-max {
        color: #94a3b8;
        font-size: 11px;
    }

    /* === 隐藏被摘要条替代的重复信息盒 === */
    .lottery-left-col .user-assets-box,
    #zibll-lottery-luck-box {
        display: none !important;
    }

    /* === 左右列顺序：九宫格 → 左列 → 右列 === */
    .lottery-right-col {
        order: 2;
    }

    /* === 标题栏精简：隐藏副标题、缩小间距 === */
    .lottery-top-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        margin-bottom: 14px;
    }
    .lottery-title-area h2 {
        font-size: 22px;
        margin-bottom: 0;
        line-height: 1.2;
    }
    .lottery-title-area p {
        display: none;
    }
    .lottery-top-controls {
        position: static;
        transform: none;
        flex-direction: row;
        gap: 8px;
        margin-left: auto;
    }

    /* === 跑马灯精简：隐藏图标区，缩小高度 === */
    .lottery-marquee-wrapper {
        padding: 4px 14px;
        margin-bottom: 14px;
    }
    .lottery-marquee-icon {
        display: none;
    }

    /* === 卡池 Tab：单行横向滚动，不再换行堆叠 === */
    .lottery-pool-tabs {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        justify-content: flex-start;
        max-width: 100%;
        margin-bottom: 14px;
    }
    .lottery-pool-tabs::-webkit-scrollbar {
        display: none;
    }
    .lottery-pool-tabs .pool-tab {
        flex: 0 0 auto;
        white-space: nowrap;
        padding: 8px 14px !important;
        font-size: 12.5px !important;
    }

    /* === 信息区紧凑：缩小组件间距与内边距 === */
    .lottery-side-panel {
        gap: 12px;
    }
    .lottery-left-col {
        gap: 12px;
    }
    .lottery-left-col > * {
        margin-bottom: 0;
    }
    .modern-side-box {
        padding: 14px 16px;
        border-radius: 14px;
    }
    .modern-btn-link {
        padding: 11px 14px;
        font-size: 13px;
    }
    .lottery-center-col {
        margin-bottom: 12px;
    }

    /* === 抽奖主体区域更紧凑 === */
    .lottery-machine-area {
        padding: 14px;
        border-radius: 18px;
    }

    /* === 信息区网格化：玩法规则/会员卡/排行榜/奖金池/碎片/邀请 两两并排 === */
    .lottery-main-body.three-col-layout {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .lottery-center-col {
        grid-column: 1 / -1;
        order: 0;
        margin-bottom: 0;
    }
    .lottery-left-col,
    .lottery-right-col {
        display: contents;
    }
    .lottery-left-col > *,
    .lottery-right-col > * {
        margin-bottom: 0 !important;
        margin-top: 0 !important;
    }
    /* 玩法规则 | 欧皇排行榜 并排一行 */
    #zibll-lottery-rules-btn { order: 1; }
    #zibll-lottery-rank-btn { order: 2; }
    /* 会员卡 占整行 */
    .lottery-left-col .modern-side-box {
        order: 3;
        grid-column: 1 / -1;
    }
    /* 奖金池 | 我的碎片 并排一行 */
    #zibll-lottery-jackpot-box { order: 4; }
    #zibll-lottery-pieces-box { order: 5; }
    /* 邀请抽奖 占整行（含完整按钮） */
    .invite-reward-box {
        order: 6;
        grid-column: 1 / -1;
    }
    /* 奖金池与我的碎片 保持等高 + 内容垂直居中 */
    #zibll-lottery-jackpot-box,
    #zibll-lottery-pieces-box {
        align-self: stretch;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    /* 奖金池移动端紧凑：数字缩小、文案压缩 */
    #zibll-lottery-jackpot-box > div:nth-child(2) {
        font-size: 22px !important;
        margin: 6px 0 !important;
    }
    #zibll-lottery-jackpot-box > div:nth-child(3) {
        font-size: 11px !important;
    }
    /* 碎片/邀请盒标题紧凑 */
    .modern-piece-item {
        padding: 10px 0 0 0;
    }
}

/* 碎片模块标题：PC 显示"我的碎片"，移动端显示"碎片" */
.lottery-ms-title-short {
    display: none;
}
@media (max-width: 768px) {
    .lottery-ms-title-full {
        display: none;
    }
    .lottery-ms-title-short {
        display: inline;
    }
}
