/* ================================================================
   平票转盘 · 视觉优化（叠加层，不改打包产物）
   目标类名（Vue scoped，data-v-dd2883a1）：
     .overlay / .overlay-panel.wheel-panel / .wheel / .wheel-item / .wheel-result
   只做美化，不改任何结构与逻辑。
   ================================================================ */

/* 遮罩：轻微模糊 + 暗化，让转盘成为唯一焦点 */
.overlay-panel.wheel-panel[data-v-dd2883a1] {
    position: relative;
    min-width: 380px;
    padding: 34px 40px 30px;
    text-align: center;
    background: linear-gradient(165deg, #1d2749 0%, #131a33 55%, #0f1428 100%);
    border: 1px solid rgba(255, 215, 0, .22);
    border-radius: 20px;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, .04) inset,
        0 30px 70px -30px rgba(0, 0, 0, .95),
        0 0 60px -10px rgba(255, 215, 0, .18);
    animation: wheelPanelIn .42s cubic-bezier(.2, .9, .3, 1.2);
    overflow: hidden;
}

/* 顶部一条流光，提示「正在抽」 */
.overlay-panel.wheel-panel[data-v-dd2883a1]::before {
    content: '';
    position: absolute;
    top: 0; left: -60%;
    width: 60%; height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, .9), transparent);
    animation: wheelSweep 1.5s linear infinite;
}
@keyframes wheelPanelIn {
    0%   { opacity: 0; transform: translateY(26px) scale(.94); }
    60%  { transform: translateY(-4px) scale(1.01); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes wheelSweep {
    0%   { left: -60%; }
    100% { left: 110%; }
}

/* 标题：金色渐变字 */
.overlay-panel.wheel-panel[data-v-dd2883a1] h2 {
    margin-bottom: 6px;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: .5px;
    background: linear-gradient(92deg, #ffe89a, #ffc823 45%, #ffe89a);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 2px 10px rgba(255, 200, 35, .35));
    animation: wheelTitlePulse 1.1s ease-in-out infinite;
}
@keyframes wheelTitlePulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.035); }
}

/* 候选人：胶囊卡片，被扫到的那张发光放大 */
.wheel-panel .wheel[data-v-dd2883a1] {
    gap: 10px;
    margin: 20px 0 18px;
}
.wheel-panel .wheel-item[data-v-dd2883a1] {
    position: relative;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .3px;
    color: #cfd8ff;
    background: linear-gradient(160deg, rgba(69, 91, 161, .35), rgba(15, 20, 40, .85));
    border: 1px solid rgba(120, 150, 255, .25);
    border-radius: 14px;
    transition: transform .13s ease, box-shadow .13s ease, background .13s ease, color .13s ease, border-color .13s ease;
    animation: wheelItemIn .3s backwards;
}
@keyframes wheelItemIn {
    from { opacity: 0; transform: translateY(10px) scale(.9); }
    to   { opacity: 1; transform: none; }
}

/* 高亮项：金红渐变 + 光晕 + 上方指示三角 */
.wheel-panel .wheel-item.active[data-v-dd2883a1] {
    color: #fff;
    background: linear-gradient(150deg, #ff9a3c 0%, #e94560 55%, #b4203c 100%);
    border-color: rgba(255, 215, 0, .75);
    transform: translateY(-5px) scale(1.14);
    box-shadow:
        0 0 0 3px rgba(255, 215, 0, .18),
        0 12px 28px -10px rgba(233, 69, 96, .9),
        0 0 34px rgba(255, 170, 60, .5);
    z-index: 2;
}
.wheel-panel .wheel-item.active[data-v-dd2883a1]::before {
    content: '';
    position: absolute;
    top: -13px; left: 50%;
    transform: translateX(-50%);
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 9px solid #ffd700;
    filter: drop-shadow(0 0 6px rgba(255, 215, 0, .9));
    animation: wheelCaret .5s ease-in-out infinite alternate;
}
@keyframes wheelCaret {
    from { transform: translateX(-50%) translateY(0); }
    to   { transform: translateX(-50%) translateY(3px); }
}

/* 结果行 */
.wheel-panel .wheel-result[data-v-dd2883a1] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    padding: 9px 20px;
    font-size: 16px;
    font-weight: 600;
    color: #ffd9df;
    background: rgba(233, 69, 96, .12);
    border: 1px solid rgba(233, 69, 96, .35);
    border-radius: 999px;
}
.wheel-panel .wheel-result[data-v-dd2883a1] strong {
    color: #fff;
    font-weight: 800;
    letter-spacing: .5px;
    text-shadow: 0 0 12px rgba(233, 69, 96, .9);
}

/* 小屏适配 */
@media (max-width: 520px) {
    .overlay-panel.wheel-panel[data-v-dd2883a1] { min-width: 0; width: 92vw; padding: 26px 20px 22px; }
    .wheel-panel .wheel-item[data-v-dd2883a1] { padding: 10px 16px; font-size: 15px; }
}
