/* ========== SUPEROCA GAME STYLES ========== */

.soca-layout {
    display: flex;
    gap: 20px;
    height: calc(100% - 70px);
}

.soca-board-container {
    flex: 1;
    overflow: auto;
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.soca-board {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 4px;
    width: 100%;
    max-width: 700px;
}

.soca-cell {
    border-radius: 8px;
    padding: 4px;
    text-align: center;
    min-height: 55px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 2px solid rgba(255,255,255,.2);
}

.soca-cell.empty {
    background: transparent;
    border: none;
}

.soca-cell.meta {
    background: linear-gradient(135deg, #fbbf24, #f59e0b) !important;
    border-color: #fbbf24;
}

.scell-icon {
    font-size: 1.4rem;
}

.scell-num {
    font-size: .55rem;
    color: rgba(255,255,255,.8);
    position: absolute;
    top: 2px;
    left: 4px;
    font-weight: bold;
}

.scell-players {
    position: absolute;
    bottom: 2px;
    display: flex;
    gap: 2px;
    flex-wrap: wrap;
    justify-content: center;
}

.scell-players .player-token {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: .55rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,.3);
}

.soca-sidebar {
    width: 280px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.soca-label {
    color: var(--text-muted);
    font-size: .75rem;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.soca-dice-section {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
}

.soca-dice-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 10px 0;
}

.soca-die {
    width: 55px;
    height: 55px;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    color: #1a1a2e;
    box-shadow: 0 4px 0 #ccc;
}

.soca-die.rolling {
    animation: dieRoll .1s ease infinite;
}

@keyframes dieRoll {
    0%,100% { transform: rotate(0deg);
}

50% {
    transform: rotate(10deg);
}

.soca-total {
    font-family: Orbitron;
    font-size: 1.4rem;
    color: var(--accent-orange);
    margin-top: 8px;
}

.soca-turn-section {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
}

.soca-current-player {
    font-family: Orbitron;
    font-size: 1.1rem;
    color: white;
}

.soca-challenge-section {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 15px;
    flex: 1;
}

.soca-challenge {
    min-height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.soca-positions {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 15px;
    max-height: 180px;
    overflow-y: auto;
}

.soca-pos-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    background: var(--bg-card);
    border-radius: 8px;
    margin-bottom: 6px;
}

.soca-pos-avatar {
    font-size: 1.4rem;
}

.soca-pos-name {
    flex: 1;
    font-weight: 600;
    font-size: .95rem;
}

.soca-pos-cell {
    font-family: Orbitron;
    color: var(--accent-orange);
}

.soca-controls {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}