@font-face {
    font-family: 'vector_battleregular';
    src: url('../fonts/vectorb-webfont.woff2') format('woff2'),
         url('../fonts/vectorb-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
body {
    margin: 0;
    overflow: hidden;
    font-family: 'vector_battleregular';
    color: #1BDD1B;
    background: #000;
}
.game-containers {
    height: 100vh;
    outline: none;
}
.game-containers div  {
    position: absolute;
    left: 0px;
    top: 0px;
    padding: 0;
    margin: 0;
    width: 100%;
    height: auto;
}
canvas {
    display: block;
    padding: 0;
    margin: 0;
    max-width: 100% !important;
}
.tank-orientation {
    position: fixed;
    z-index: 10000;
    top: 1rem;
    left: 1rem;
    width: 8rem;
    margin: 0;
    padding: 0.5rem;
    border: 1px solid rgb(27 221 27 / 55%);
    background: rgb(0 0 0 / 88%);
    font: 0.75rem/1.5 monospace;
    text-align: center;
    pointer-events: none;
}
.tank-orientation svg {
    display: block;
    width: 100%;
    height: auto;
}
.orientation-compass {
    fill: none;
    stroke: #1bdd1b;
    stroke-opacity: 0.4;
}
.orientation-cardinals {
    fill: #1bdd1b;
    font: 20px monospace;
}
.orientation-hull {
    fill: #001800;
    stroke: #1bdd1b;
    stroke-width: 1.5;
}
.orientation-lines {
    fill: none;
}
.orientation-turret {
    fill: #000;
    stroke: #fff;
    stroke-width: 2;
}
.orientation-legend {
    display: flex;
    justify-content: center;
    gap: 1rem;
}
.orientation-legend span:last-child {
    color: #fff;
}
@media (max-width: 560px), (max-height: 600px) {
    .tank-orientation {
        top: 0.75rem;
        left: 0.75rem;
        width: 5rem;
        padding: 0.375rem;
    }
    .orientation-detail,
    .orientation-legend {
        display: none;
    }
}
@media (max-width: 360px) {
    .tank-orientation {
        top: 0.25rem;
        left: 0.25rem;
        width: 4.5rem;
        padding: 0;
        border: 0;
    }
}
.browser-controls {
    position: fixed;
    z-index: 10000;
    inset: auto 1rem 1rem;
    max-width: 44rem;
    max-height: 45vh;
    overflow: auto;
    padding: 0.75rem;
    border: 1px solid #1bdd1b;
    background: rgb(0 0 0 / 92%);
    font: 0.875rem/1.5 monospace;
}
.control-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.browser-controls button,
.browser-controls summary {
    min-height: 2.75rem;
    box-sizing: border-box;
    padding: 0.5rem 0.75rem;
    font: inherit;
    cursor: pointer;
}
.browser-controls button {
    border: 1px solid #1bdd1b;
    color: #1bdd1b;
    background: #000;
}
#start-game:enabled {
    background: #1bdd1b;
    color: #000;
}
.browser-controls button:disabled {
    opacity: 0.6;
    cursor: default;
}
.browser-controls :focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}
.browser-controls p {
    margin: 0.5rem 0 0;
}
.browser-controls p:empty {
    display: none;
}
.browser-controls summary {
    padding-left: 0;
}
.browser-controls dl {
    margin: 0;
}
.browser-controls dt {
    font-weight: bold;
}
.browser-controls dd {
    margin: 0 0 0.5rem;
}
#dev-window {
    color: #000;
    padding: 5px;
    font-family: Arial;
    font-size: 12px;
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    overflow: auto;
    background: #fff;
    z-index: 999999999;
}
