/* ============================================================
   BREAKOUT
============================================================ */

.breakout-wrapper {
    width: 100%;
    max-width: 780px;
    padding: 20px;
    text-align: center;
}

.breakout-topbar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 12px;
}

.breakout-stat {
    padding: 9px 10px;
    border: 1px solid #35515c;
    border-radius: 4px;
    background: linear-gradient(180deg, #132c36, #0d2028);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
}

.breakout-stat span {
    display: block;
    margin-bottom: 3px;
    color: #9fb5be;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.breakout-stat strong {
    display: block;
    color: #ffffff;
    font-size: 17px;
}

/* ============================================================
   BOARD
============================================================ */

.breakout-board {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

#breakout-canvas {
    display: block;
    width: 100%;
    max-width: 720px;
    height: auto;
    border: 1px solid #41778a;
    border-radius: 6px;
    background: #07171d;
    box-shadow:
        0 0 0 1px rgba(87,210,255,.06),
        0 12px 30px rgba(0,0,0,.22),
        inset 0 0 26px rgba(62,182,220,.045);
}

/* ============================================================
   STATUS
============================================================ */

.breakout-status {
    min-height: 20px;
    margin-top: 12px;
    color: #dff8ff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .01em;
    text-shadow: 0 0 10px rgba(96,227,255,.18);
}

.breakout-start {
    margin-top: 10px;
}

/* ============================================================
   CONTROLS
============================================================ */

.breakout-controls {
    margin-top: 13px;
    color: #afc3cb;
    font-size: 10px;
    line-height: 1.6;
}

.breakout-controls i {
    margin: 0 1px;
    color: #d3e6ec;
}

.breakout-mobile-controls {
    display: none;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.breakout-mobile-controls button {
    width: 70px;
    height: 46px;
    border: 1px solid #52717c;
    border-radius: 4px;
    background: #17343f;
    color: #ffffff;
    font-size: 15px;
    cursor: pointer;
}

.breakout-mobile-controls button:hover {
    background: #1e4451;
}

.breakout-mobile-controls button:active {
    transform: translateY(1px);
}

/* ============================================================
   RESPONSIVE
============================================================ */

@media (max-width: 800px) {

    .breakout-mobile-controls {
        display: flex;
    }

}

@media (max-width: 600px) {

    .breakout-wrapper {
        padding: 12px;
    }

    .breakout-topbar {
        gap: 5px;
    }

    .breakout-stat {
        padding: 8px 6px;
    }

    .breakout-stat strong {
        font-size: 15px;
    }

    .breakout-controls {
        font-size: 9px;
    }

}
