/* ================================
   CORE GAME BASE STYLE — ARENA
================================ */

html, body {
    margin: 0;
    padding: 0;
    background: #000;
    overflow: hidden;
    font-family: ui-monospace, monospace;
    color: #9ae6b4;
}

/* Battlefield canvas */
#battlefield {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 1;
}

/* ================================
   BOTTOM ARENA PANEL (UI BAR)
================================ */
#expansa-bottom-panel {
    position: fixed;
    bottom: 0;
    left: 0;

    width: 100%;
    height: auto;         /* ← let UI auto-size */

    background: rgba(6,18,12,0.85);
    border-top: 1px solid #1a3;

    display: flex;
    flex-direction: column;
    gap: 6px;

    padding: 8px 12px;

    z-index: 9999;
    backdrop-filter: blur(3px);
}

/* Stats + actions rows */
.bottom-row {
    display: flex;
    align-items: center;
    width: 100%;
}

#row-status {
    justify-content: flex-start;
}

#row-actions {
    justify-content: flex-start;
    gap: 8px;
}

/* Stats text */
#tile-stats {
    white-space: nowrap;
}

/* ================================
   REMOVE OLD DSA-BUTTON OVERRIDE
   (THIS CAUSED THE PROBLEM)
================================ */

/*  ❌ REMOVED:
#dsa-btn {
    padding: 0;
    background: none;
    border: none;
}
*/
/* ================================
   MUSIC PANEL — RIGHT SIDE FIXED
================================ */
#music-panel {
    position: fixed;
    right: 20px;               /* <-- move to right side */
    top: 50%;                  /* <-- vertical center */
    transform: translateY(-50%);

    width: 360px;
    height: 480px;

    background: rgba(5,15,10,0.92);
    border: 1px solid #1a3;
    backdrop-filter: blur(4px);

    padding: 10px;
    box-sizing: border-box;

    overflow: hidden;
    display: none;
    z-index: 99999;
}


/* Remove focus outlines */
*:focus,
*:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}
