#ccg-game-wrapper {
    font-family: 'Segoe UI', Arial, sans-serif;
    user-select: none;
}

#ccg-hud {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border-radius: 12px 12px 0 0;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
}

.ccg-score { color: #ffd700; }
.ccg-timer { color: #00d4ff; }

.ccg-btn {
    padding: 10px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    background: linear-gradient(135deg, #e94560, #c23152);
    color: #fff;
    transition: transform 0.15s;
}
.ccg-btn:hover { transform: scale(1.05); }

#ccg-game-area {
    position: relative;
    background: linear-gradient(180deg, #0f3460, #1a1a2e);
    border: 3px solid #e94560;
    overflow: hidden;
    border-radius: 0 0 12px 12px;
}

#ccg-player {
    position: absolute;
    width: 100px;
    height: 100px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: none;
    z-index: 10;
}

.ccg-coin {
    position: absolute;
    width: 40px;
    height: 40px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 5;
    animation: ccg-bounce 0.6s ease-in-out infinite alternate;
}

@keyframes ccg-bounce {
    from { transform: translateY(0); }
    to   { transform: translateY(-6px); }
}

.ccg-collect-effect {
    position: absolute;
    font-size: 22px;
    font-weight: bold;
    color: #ffd700;
    pointer-events: none;
    z-index: 20;
    animation: ccg-float 0.8s ease-out forwards;
}

@keyframes ccg-float {
    0%   { opacity: 1; transform: translateY(0) scale(1); }
    100% { opacity: 0; transform: translateY(-40px) scale(1.5); }
}

#ccg-game-over {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border-radius: 12px;
    color: #fff;
    margin-top: 10px;
}
#ccg-game-over h2 { color: #ffd700; font-size: 28px; }
#ccg-game-over p  { font-size: 22px; }

/* Мобильные кнопки */
#ccg-mobile-controls {
    display: none;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}
.ccg-arrow {
    width: 56px; height: 56px;
    border: none; border-radius: 12px;
    background: #e94560; color: #fff;
    font-size: 24px; font-weight: bold;
    cursor: pointer;
}
@media (max-width: 768px) {
    #ccg-mobile-controls { display: flex; }
}