#sggame-panel-wheel .sggame-card {
    overflow: visible;
}

.sggame-wheel-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 30px 0;
}

.sggame-wheel-container {
    position: relative;
    width: 320px;
    height: 320px;
}

.sggame-wheel-container::before {
    content: '';
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #667eea, #764ba2, #f5576c, #fda085, #667eea);
    animation: sggame-wheel-border-spin 8s linear infinite;
    z-index: 0;
    opacity: 0.7;
}

.sggame-wheel-container::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: #fff;
    z-index: 1;
}

@keyframes sggame-wheel-border-spin {
    to { transform: rotate(360deg); }
}

#sggame-wheel-canvas {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.25), inset 0 0 0 3px rgba(255, 255, 255, 0.8);
    z-index: 2;
}

.sggame-wheel-pointer {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 32px;
    color: #f5576c;
    filter: drop-shadow(0 3px 6px rgba(245, 87, 108, 0.4));
    z-index: 10;
    animation: sggame-pointer-bounce 1.5s ease-in-out infinite;
}

@keyframes sggame-pointer-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-4px); }
}

.sggame-wheel-info {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: 10px;
    border: 1px solid #e8edf5;
    font-size: 14px;
    color: #475569;
}

.sggame-wheel-info strong {
    color: var(--sggame-primary, #667eea);
}

#sggame-wheel-remaining {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.sggame-wheel-result-box {
    padding: 16px 24px;
    border-radius: 12px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    margin: 12px 0;
    animation: sggame-result-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sggame-wheel-result-box.win {
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.08), rgba(39, 174, 96, 0.03));
    border: 1px solid rgba(39, 174, 96, 0.2);
    color: #27ae60;
}

.sggame-wheel-result-box.empty {
    background: linear-gradient(135deg, rgba(148, 163, 184, 0.08), rgba(148, 163, 184, 0.03));
    border: 1px solid rgba(148, 163, 184, 0.2);
    color: #64748b;
}

@keyframes sggame-result-pop {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.sggame-wheel-prizes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 8px;
    margin-top: 12px;
}

.sggame-wheel-prize-card {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #e8edf5;
    border-radius: 8px;
    font-size: 13px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.sggame-wheel-prize-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.sggame-wheel-prize-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.sggame-rules-box {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    border: 1px solid rgba(102, 126, 234, 0.15);
    border-radius: 10px;
    padding: 16px 20px;
    margin-top: 16px;
}

.sggame-rules-box p {
    color: #5a6a8a;
    font-size: 13px;
    line-height: 1.8;
    margin: 0;
}

#sggame-wheel-history .sggame-list-item.highlight {
    border-left: 3px solid var(--sggame-primary, #667eea);
}

#sggame-wheel-history .sggame-list-item.muted {
    opacity: 0.7;
}

.sggame-time {
    font-size: 12px;
    color: #94a3b8;
}

@media (max-width: 768px) {
    .sggame-wheel-container {
        width: 280px;
        height: 280px;
    }
    .sggame-wheel-info { flex-direction: column; gap: 8px; text-align: center; }
    .sggame-wheel-prizes-grid { grid-template-columns: repeat(2, 1fr); }
}
