/* ====== SHARED TOUCH CONTROLLER STYLES ====== */
.arcade-touch-control-zone {
    width: 100%;
    max-width: 340px;
    margin: 6px auto 0;
    touch-action: none;
    user-select: none;
}

/* D-Pad 4-way Layout */
.touch-dpad-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.dpad-row {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.arcade-touch-btn {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #181c2b;
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    touch-action: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transition: transform 0.1s ease, background-color 0.1s ease;
}

.arcade-touch-btn:active, .arcade-touch-btn.active {
    transform: scale(0.92);
    background: #ff4757;
    color: #ffffff;
}

/* Platformer Split-Screen Layout */
.touch-platformer-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 4px;
}

.touch-side-left {
    display: flex;
    gap: 10px;
}

.touch-side-right {
    display: flex;
}

.btn-action-jump {
    width: 110px;
    height: 58px;
    border-radius: 16px;
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    color: #ffffff;
    font-family: var(--font-game, 'Fredoka', sans-serif);
    font-size: 1rem;
    font-weight: 700;
}
