.employee_number_badge {
    width: 64px;
}

.top-bar-button {
    width: 46px;
    height: 42px;
}

.logo {
    max-height: 64px;
}

.kb_picture {
    width: 48px;
    height: 48px;
    background-color: black;
}

.kb_line {
    min-height: 48px;
}

.bk_text {
    background-color: black;
    text-decoration: none;
    color: white;
}

.kb_bg_gray {
    background-color: #1d1d1d;
}

.kb_kill {
    background-color: #004000;
}

.kb_loss {
    background-color: #900000;
}

.kb_header {
    width: 4em;
}

.kb_link {
    text-decoration: none;
}

.kb_smaller_font {
    font-size: 0.8em;
}


/* --- Main killboard / battle panel layout --- */

.kb-main-layout {
    align-items: stretch;
}

.kb-board-column {
    align-self: stretch;
}

.kb-panel-column {
    position: relative;
}


/* --- Floating battle information panel --- */

.kb-battle-panel {
    position: sticky;
    top: 50vh;
    transform: translateY(-50%);
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
}

.kb-battle-panel-inner {
    width: 100%;
    min-height: 340px;
    padding: 20px;
    box-sizing: border-box;
    background: #181b1e;
    border: 1px solid #3b4248;
}

.kb-battle-panel-inner h4 {
    margin-top: 0;
    margin-bottom: 12px;
}

.kb-battle-meta {
    margin-bottom: 14px;
    color: #adb5bd;
}

.kb-battle-panel-inner a {
    color: #6ea8fe;
    text-decoration: none;
}

.kb-battle-panel-inner a:hover {
    text-decoration: underline;
}


/* --- Battle images --- */

.kb-battle-image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    box-sizing: border-box;
    object-fit: contain;
    margin-top: 16px;
    border: 1px solid #3b4248;
}


/* --- Top ship statistics block --- */

.kb-stats-wrap {
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

.kb-stats-wrap table {
    width: 100%;
    table-layout: fixed;
}

.kb-stats-wrap th,
.kb-stats-wrap td {
    padding: 4px 6px;
    white-space: nowrap;
}


/* --- Battle block hover / selection --- */

.kb-battle-block {
    position: relative;
}

.kb-battle-block.has-battle-info {
    transition:
        outline-color 0.15s ease,
        background-color 0.15s ease;
}

.kb-battle-block.has-battle-info:hover,
.kb-battle-block.battle-active {
    outline: 2px solid #8fa7bd;
    outline-offset: 2px;
    background-color: rgba(255, 255, 255, 0.025);
}


/* --- Smaller screens --- */

@media (max-width: 1199.98px) {

    .kb-battle-panel {
        position: static;
        transform: none;
        max-width: none;
        margin-top: 1rem;
    }

    .kb-stats-wrap {
        max-width: none;
    }
}
