.account-game-unified-table {
    --account-runner-row-height: 36px;
    --account-runner-icon-height: 28px;
    border-collapse: collapse;
    table-layout: fixed;
}

.account-game-unified-table .account-game-col-runner {
    width: 290px;
}

.account-game-unified-table .account-game-col-class {
    width: 100px;
}

.account-game-unified-table .account-game-col-soullight {
    width: 90px;
}

.account-game-unified-table .account-game-col-clan {
    width: 250px;
}

.account-game-unified-table .account-game-col-roles {
    width: auto;
}

.account-game-unified-table tbody tr.account-game-group-header,
.account-game-unified-table tbody tr.account-runner-row {
    height: var(--account-runner-row-height);
    max-height: var(--account-runner-row-height);
}

.account-game-unified-table tbody tr.account-game-group-header > td,
.account-game-unified-table tbody tr.account-runner-row > td {
    box-sizing: border-box;
    height: var(--account-runner-row-height) !important;
    max-height: var(--account-runner-row-height) !important;
    min-height: var(--account-runner-row-height) !important;
    padding: 0 0.65rem !important;
    line-height: normal !important;
    font-size: 13px;
    overflow: hidden;
    white-space: nowrap;
    vertical-align: middle !important;
}

.account-game-unified-table tbody tr.account-game-group-header > td {
    border-top: 1px solid rgba(110, 180, 95, 0.35);
    border-bottom: 1px solid rgba(102, 173, 98, 0.2);
    background: linear-gradient(
        180deg,
        rgba(102, 173, 98, 0.16) 0%,
        rgba(102, 173, 98, 0.07) 100%
    );
}

.account-game-unified-table tbody tr.account-game-group-header:first-child > td {
    border-top: none;
}

.account-game-unified-table .account-game-group-inner {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    height: var(--account-runner-row-height);
    max-height: var(--account-runner-row-height);
    overflow: hidden;
    min-width: 0;
}

.account-game-unified-table .account-game-group-label {
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #b8c9b4;
    flex-shrink: 0;
}

.account-game-unified-table .account-game-group-name {
    font-weight: 700;
    font-size: 13px;
    color: #f2ebe0;
    flex-shrink: 0;
}

.account-game-unified-table .account-game-group-meta {
    margin-left: auto;
    font-size: 13px;
    color: #8a8275;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    flex-shrink: 1;
}

.account-game-unified-table .account-password-key {
    appearance: none;
    -webkit-appearance: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    outline: none;
    font: inherit;
    color: inherit;
    line-height: 1;
    cursor: pointer;
    opacity: 0.9;
    flex-shrink: 0;
}

.account-game-unified-table .account-password-key:hover {
    opacity: 1;
}

.account-game-unified-table thead th.account-game-th--center,
.account-game-unified-table td.account-runner-class,
.account-game-unified-table td.account-runner-soullight {
    text-align: center;
}

.account-game-unified-table thead th.account-game-th--end,
.account-game-unified-table td.account-runner-roles {
    text-align: right;
}

.account-game-unified-table td.account-runner-roles {
    line-height: 0 !important;
}

.account-game-unified-table .account-runner-roles-list {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1px;
    height: var(--account-runner-icon-height);
    max-height: var(--account-runner-icon-height);
    overflow: hidden;
    vertical-align: middle;
    line-height: 0;
}

.account-game-unified-table .account-runner-role-icon {
    display: block;
    height: var(--account-runner-icon-height) !important;
    max-height: var(--account-runner-icon-height) !important;
    width: auto !important;
    object-fit: contain;
    vertical-align: middle;
}

.account-game-unified-table .account-runner-roles-empty {
    display: inline-block;
    font-size: 13px;
    line-height: var(--account-runner-row-height);
    color: #8a8275;
    vertical-align: middle;
}

.account-game-unified-table .account-runner-name {
    font-weight: 600;
    color: #f0e6d4;
    font-size: 13px;
}

.account-game-unified-table .account-runner-name-inner {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    min-width: 0;
    overflow: hidden;
}

.account-game-unified-table .account-runner-faction-logo {
    display: block;
    flex-shrink: 0;
    height: var(--account-runner-icon-height);
    max-height: var(--account-runner-icon-height);
    width: auto;
    object-fit: contain;
}

.account-game-unified-table .account-runner-nav-link {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.account-game-unified-table .account-runner-skill {
    font-size: 0.75em;
    font-weight: 400;
    color: #8a8275;
}

.account-game-unified-table tr.account-runner-row--link {
    cursor: pointer;
}

.account-game-unified-table .account-runner-nav-link {
    display: inline-flex;
    align-items: flex-end;
    gap: 0.4em;
    line-height: 1;
    color: inherit;
    text-decoration: none;
}

.account-game-unified-table .account-runner-nav-link:hover {
    color: #fff;
}

.account-game-unified-table .account-runner-soullight {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.account-game-unified-table tbody tr.account-runner-row > td.account-runner-soullight.soullight--good {
    color: #7cba7c;
}

.account-game-unified-table tbody tr.account-runner-row > td.account-runner-soullight.soullight--neutral {
    color: #e8c872;
}

.account-game-unified-table tbody tr.account-runner-row > td.account-runner-soullight.soullight--bad {
    color: #dc6b6b;
}

.account-game-unified-table tbody tr.account-runner-row--link:hover > td.account-runner-soullight.soullight--good {
    color: #8fd48a;
}

.account-game-unified-table tbody tr.account-runner-row--link:hover > td.account-runner-soullight.soullight--neutral {
    color: #f0d585;
}

.account-game-unified-table tbody tr.account-runner-row--link:hover > td.account-runner-soullight.soullight--bad {
    color: #ef8080;
}

.account-game-unified-table tbody tr.account-runner-row--link:hover > td {
    background-color: rgba(102, 173, 98, 0.14) !important;
    box-shadow: none !important;
}

.account-game-unified-table tbody tr.account-runner-row--link:hover {
    box-shadow: none !important;
}

.account-game-unified-table tr.account-runner-row--empty,
.account-game-unified-table tr.account-runner-row--missing {
    opacity: 0.5;
    font-style: italic;
}

.account-game-unified-table tbody tr .account-game-banned-cell {
    height: auto !important;
    max-height: none !important;
    min-height: 3.5rem !important;
    padding: 1.35rem 0.85rem !important;
    text-align: center;
    vertical-align: middle;
    white-space: normal !important;
    overflow: visible;
    color: #e8c4a8;
    font-size: 0.95rem;
    font-style: italic;
}
