.classstat1 {
    width: 40px;
    min-width: 40px;
    max-width: 40px;
    border-right: none;
    color: #a9a9a9;
    text-align: left;
    padding-left: 10px;
    border-color: #000000;
    width: 25px;
    font-family: 'BicubikRegular', Arial, Geneva, sans-serif;
}

.classstat2 {
    width: 55px;
    min-width: 55px;
    max-width: 55px;
    font-family: 'BicubikRegular', Arial, Geneva, sans-serif;
}

.classstat3 {
    border-right: none;
    border-left: none;
    border-color: #000000;
    width: 165px;
    max-width: 165px;
    min-width: 165px;
    overflow: hidden;
}

.classstat3 a {
    text-overflow: ellipsis;
    word-break: break-all;
    white-space: nowrap;
    overflow: hidden;
    display: block;
    float: left;
    width: 100%
}

.classstat4 {
    float: left;
    margin-left: -6px;
}

.classstat5 {
    padding-left: 25px;
    background-position: left;
    background-position-y: 4px;
    background-size: 10%;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.classstat5 span {
    overflow: hidden;
}

.classstat5 img {
    width: 18px;
    height: 18px;
    vertical-align: middle;
}

.stats-player-name {
    display: inline-block;
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}

.classstat6 {
    padding: 0px 2px 0px 2px;
    background: #000917;
    border-radius: 4px;
    float: right;
    border: 1px solid black;
    font-size: 11px;
    margin-top: 4px;
    height: 14px;
    margin-right: 0px;
    line-height: 15px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25), 0 1px rgba(255, 255, 255, 0.08);
}

.classstat7 {
    border-right: none;
    border-left: none;
    border-color: #000000;
    width: 20px;
    max-width: 20px;
    min-width: 20px;
    text-align: left;
}

.classstat8 {
    border-right: none;
    border-left: none;
    border-color: #000000;
    width: 200px;
    max-width: 200px;
    min-width: 200px;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    padding-right: 0 !important;
}

.classstat8 a {
    word-break: normal;
    white-space: nowrap;
    overflow: hidden;
    height: 24px;
    display: block;
    width: calc(100% - 5px);
    float: left;
    text-overflow: ellipsis
}

.classstat8,
.classstat8 span,
.stats-player-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* .classstat9 {
    height: 24px;
    width: 24px;
    float: left;
} */

.classstat10 {
    border-right: none;
    border-left: none;
    border-color: #000000;
    width: 105px;
    max-width: 105px;
    min-width: 105px;
    padding-right: 0 !important;
    text-align: right;
}
/* .classstat11{    height: 14px;
    border: 1px solid #000;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    text-align: left;
    position: relative;
    overflow: hidden;
    z-index: 2;
    background: rgba(0, 0, 0, 0.25);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.54), 0 1px rgba(255, 255, 255, 0.08);
    line-height: 14px;
    padding: 1px;
    font-size: 11px;
    width: 684px;
    float: left;
    margin: 4px 0px 8px 7px;
    text-decoration: none;
    text-shadow: 0 0 21px rgba(223, 206, 228, 0.5), 0 -1px 0 #162e3c;
    vertical-align: unset;
    padding-left: 7px;
    padding-right: 7px;}
.classstat12{
color:#ccc;
} */
.classificabarra{
	width: 690px;
    padding: 2px 4px 4px 4px;
    float: left;
    margin: 0px 0px 3px 7px;
    min-height: 20px;
    height: auto;
    color: #CCC;
	font-size:12px;
    text-decoration: none;
    text-shadow: 0 0 21px rgba(223, 206, 228, 0.5), 0 -1px 0 #162e3c;
    border: 1px solid #000;
    -moz-border-radius: 2px 0px 0px 2px;
    -webkit-border-radius: 2px 0px 0px 2px;
    border-radius: 3px;
    background: #091527;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr = '#0a1629', endColorstr = '#091324');
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr = '#0a1629', endColorstr = '#091324')";
    background-image: -moz-linear-gradient(top, #061225, #020c1d);
    background-image: -ms-linear-gradient(top, #061225, #020c1d);
    background-image: -o-linear-gradient(top, #061225, #020c1d);
    background-image: -webkit-gradient(linear, center top, center bottom, from(#061225), to(#020c1d));
    background-image: linear-gradient(#061225, #020c1d);
    background-image: linear-gradient(top, #061225, #020c1d);
    -moz-background-clip: padding;
    -webkit-background-clip: padding-box;
    box-shadow: inset 0 1px 1px rgb(10, 32, 69), inset 0 -1px 0px rgba(63, 59, 113, 0.2), 0 9px 16px 0 rgba(0, 0, 0, 0.42), 0 4px 3px 0 rgba(0, 0, 0, 0.3), 0 0 0 1px #041022;
}

.classificabarra:hover {
	background:#0a172b;
	-moz-transition: all 0.2s ease-in;
	-webkit-transition: all 0.2s ease-in;
	-o-transition: all 0.2s ease-in;
	transition: all 0.2s ease-in;
	}

.classificabarra.stats-current-player,
.classificabarra.stats-current-player:hover {
    border-color: #b9952f;
    background: linear-gradient(180deg, rgba(167, 134, 37, 0.38), rgba(86, 68, 15, 0.34));
    box-shadow: inset 0 1px 1px rgba(255, 225, 124, 0.24), inset 0 -1px 0 rgba(96, 70, 10, 0.45), 0 0 0 1px rgba(185, 149, 47, 0.32);
}

.barracla{
	border-right: 1px solid #0a1628;
    border-left: 1px solid #000814;
    height: 19px;
    float: right;    margin-top:1px;
}
.statbarsup1 {
    border: 1px solid #000;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 2;
    background: rgba(0, 0, 0, 0.25);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25), 0 1px rgba(255, 255, 255, 0.08);
    line-height: 4px;
    padding: 1px;
    font-size: 11px;
    width: 695px;
    float: left;
    margin: 7px 0px 0px 7px;
    text-decoration: none;
    text-shadow: 0 0 21px rgba(223, 206, 228, 0.5), 0 -1px 0 #162e3c;
}
.barraclass{
	    height: 12px;
	    border: 1px solid #000;
	    -moz-border-radius: 3px;
	    -webkit-border-radius: 3px;
	    border-radius: 3px;
	    text-align: center;
	    position: relative;
	    overflow: hidden;
	    z-index: 2;
	    background: rgba(0, 0, 0, 0.25);
	    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25), 0 1px rgba(255, 255, 255, 0.08);
	    line-height: 4px;
	    padding: 1px;
	    font-size: 11px;
	    width: 695px;
	    float: left;
	    margin: 7px 0px 7px 7px;
	    text-decoration: none;
	    text-shadow: 0 0 21px rgba(223, 206, 228, 0.5), 0 -1px 0 #162e3c;
	    vertical-align: unset;
}

.barraclass th{
	       color: #ccc;
    background: none;
}

/* Player statistics header/body column sync */
#ally_content .tabstatistica .stats-player-head th,
#ally_content .tabstatistica .classificabarra td {
    box-sizing: border-box;
}

#ally_content .tabstatistica .stats-player-head th {
    padding: 0 6px !important;
}

#ally_content .tabstatistica .stats-player-head th.sp-col-rank {
    width: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    text-align: left;
}

#ally_content .tabstatistica .stats-player-head th.sp-col-move {
    width: 55px !important;
    min-width: 55px !important;
    max-width: 55px !important;
    text-align: center;
}

#ally_content .tabstatistica .stats-player-head th.sp-col-player {
    width: 34% !important;
    min-width: 180px !important;
    max-width: none !important;
    text-align: left;
}

#ally_content .tabstatistica .stats-player-head th.sp-col-message {
    width: 20px !important;
    min-width: 20px !important;
    max-width: 20px !important;
    text-align: center;
}

#ally_content .tabstatistica .stats-player-head th.sp-col-alliance {
    width: 30% !important;
    min-width: 140px !important;
    max-width: none !important;
    text-align: left;
}

#ally_content .tabstatistica .stats-player-head th.sp-col-points {
    width: 90px !important;
    min-width: 90px !important;
    max-width: 90px !important;
    text-align: right;
}

/* Alliance statistics header/body column sync */
#ally_content .tabstatistica .stats-alliance-head th {
    box-sizing: border-box;
    padding: 0 6px !important;
}

#ally_content .tabstatistica .stats-alliance-head th.sa-col-pos {
    width: 95px !important;
    min-width: 95px !important;
    max-width: 95px !important;
    text-align: left;
}

#ally_content .tabstatistica .stats-alliance-head th.sa-col-name {
    width: 34% !important;
    min-width: 180px !important;
    text-align: left;
}

#ally_content .tabstatistica .stats-alliance-head th.sa-col-members {
    width: 70px !important;
    min-width: 70px !important;
    max-width: 70px !important;
    text-align: center;
}

#ally_content .tabstatistica .stats-alliance-head th.sa-col-points {
    width: 145px !important;
    min-width: 145px !important;
    max-width: 145px !important;
    text-align: right;
}

#ally_content .tabstatistica .stats-alliance-head th.sa-col-mppoints {
    width: 130px !important;
    min-width: 130px !important;
    max-width: 130px !important;
    text-align: right;
}

.barraclass th:nth-child(1){
	 width: 105px;
    min-width: 105px;
}
.barraclass th:nth-child(2){
	width: 170px;
    min-width: 170px;
    text-align: center;

}

@media (max-width: 768px) {
    .classstat3 {
        width: 130px;
        max-width: 130px;
        min-width: 130px;
    }

    .classstat8 {
        width: 125px;
        max-width: 125px;
        min-width: 125px;
    }

    .classstat10 {
        width: 80px;
        max-width: 80px;
        min-width: 80px;
    }
}
.barraclass th:nth-child(4){
	    width: 190px;
    min-width: 190px;
    text-align: right;
}
.barraclass th:nth-child(5){
	width: 165px;
    min-width: 165px;
    text-align: right;
}
.fbox-s-name, .fbox-g-name {
    display: block;
    text-align: left;
    padding-left: 5px;
    background-position: left;
    background-size: contain;
    background-repeat: no-repeat;
}
.tabstatistica td{
	border: none;
    color: #a9a9a9;
    text-align: center;
    padding: 0px 10px;
    border-color: #000000;
    line-height: 23px;
}
.stats-ally-name {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Full-width statistics layout (fix empty right column on wide containers) */
#ally_content .statbarsup1 {
    width: calc(100% - 14px) !important;
    max-width: none !important;
    min-width: 0 !important;
    float: none !important;
    margin: 7px !important;
    box-sizing: border-box;
}

#ally_content .statbarsup1 table {
    width: 100% !important;
    table-layout: fixed;
}

#ally_content .statbarsup1 td {
    padding: 8px 10px;
    line-height: 1.25;
    white-space: nowrap;
}

#ally_content .statbarsup1 select {
    max-width: 100%;
}

#ally_content .tabstatistica {
    width: 100% !important;
}

#ally_content .tabstatistica .barraclass,
#ally_content .tabstatistica .classificabarra {
    width: calc(100% - 14px) !important;
    max-width: none !important;
    min-width: 0 !important;
    float: none !important;
    display: table !important;
    table-layout: fixed;
    margin: 0 7px 7px 7px !important;
    box-sizing: border-box;
}

#ally_content .tabstatistica .barraclass {
    margin-top: 7px !important;
}

#ally_content .classstat3 {
    width: 34% !important;
    min-width: 180px !important;
    max-width: none !important;
}

#ally_content .classstat8 {
    width: 30% !important;
    min-width: 140px !important;
    max-width: none !important;
}

#ally_content .classstat10 {
    width: 90px !important;
    min-width: 90px !important;
    max-width: 90px !important;
}

#ally_content .stats-player-name {
    max-width: 220px;
}

@media (max-width: 1024px) {
    #ally_content .statbarsup1 td {
        white-space: normal;
    }

    #ally_content .tabstatistica .stats-player-head th.sp-col-player {
        min-width: 130px !important;
        width: 32% !important;
    }

    #ally_content .tabstatistica .stats-player-head th.sp-col-alliance {
        min-width: 120px !important;
        width: 28% !important;
    }

    #ally_content .classstat3 {
        min-width: 130px !important;
        width: 32% !important;
    }

    #ally_content .classstat8 {
        min-width: 120px !important;
        width: 28% !important;
    }

    #ally_content .stats-player-name {
        max-width: 150px;
    }
}

/* Statistics page must not inherit the legacy fixed 714px container. */
body#statistics #page #content #ally_content.conteiner {
    width: min(100%, 1240px) !important;
    max-width: 1240px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    overflow: visible !important;
}

/* BattleHall uses .conteinership with legacy 714px width; normalize it too. */
body#battleHall #page #content #ally_content.conteinership {
    width: min(100%, 1240px) !important;
    max-width: 1240px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    overflow: visible !important;
}

/* BattleHall table dedicated layout (avoid legacy stats row styles) */
body#battleHall #ally_content .battlehall-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0 6px;
}

body#battleHall #ally_content .battlehall-head,
body#battleHall #ally_content .battlehall-row {
    display: table-row !important;
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    height: auto !important;
    min-height: 0 !important;
}

body#battleHall #ally_content .battlehall-head th {
    color: #bfe9ff;
    font-size: 10px;
    font-weight: 700;
    line-height: 20px;
    padding: 6px 10px;
    text-align: left;
    border: 1px solid #0b2945;
    background: linear-gradient(180deg, rgba(8, 30, 56, 0.95), rgba(5, 22, 42, 0.95));
}

body#battleHall #ally_content .battlehall-row td {
    line-height: 22px;
    padding: 8px 10px;
    border-top: 1px solid #0f2b47;
    border-bottom: 1px solid #081a2f;
    background: linear-gradient(180deg, rgba(6, 23, 45, 0.94), rgba(3, 15, 31, 0.94));
    color: #c2d9ea;
}

body#battleHall #ally_content .battlehall-row td:first-child,
body#battleHall #ally_content .battlehall-head th:first-child {
    border-left: 1px solid #0b2945;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

body#battleHall #ally_content .battlehall-row td:last-child,
body#battleHall #ally_content .battlehall-head th:last-child {
    border-right: 1px solid #0b2945;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

body#battleHall #ally_content .battlehall-table .bh-rank {
    width: 60px;
    text-align: center;
}

body#battleHall #ally_content .battlehall-table .bh-owners {
    width: auto;
    text-align: left;
}

body#battleHall #ally_content .battlehall-table .bh-owners a {
    display: block;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body#battleHall #ally_content .battlehall-table .bh-date {
    width: 220px;
    text-align: center;
    white-space: nowrap;
}

body#battleHall #ally_content .battlehall-table .bh-units {
    width: 180px;
    text-align: right;
    white-space: nowrap;
}

body#battleHall #ally_content .battlehall-head th a {
    color: #8fd9ff;
}

/* BattleHall result cards: make the outcome immediately readable. */
.battlehall-retention-notice {
    margin: 8px 0;
    padding: 9px 12px;
    border: 1px solid rgba(255, 204, 89, .5);
    border-radius: 6px;
    background: rgba(82, 58, 15, .35);
    color: #ffe5a3;
    font-size: 12px;
    line-height: 1.4;
}

.battlehall-shell {
    position: relative;
    isolation: isolate;
}

.battlehall-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 34px;
    padding: 7px 12px;
}

.battlehall-title {
    color: #bcecff;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: .04em;
    text-shadow: 0 0 8px rgba(55, 209, 255, .35);
}

.login-table.battlehall-table th {
    font-size: 10px;
}

.battlehall-legend {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 7px;
    font-size: 9px;
}

.battlehall-legend-title {
    color: #a9c8dc;
}

.battlehall-legend-item {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 2px 9px;
    border: 1px solid currentColor;
    border-radius: 999px;
    font-weight: 800;
    line-height: 1.2;
}

.battlehall-legend-winner {
    color: #8fffc2;
    background: rgba(17, 130, 82, .18);
    box-shadow: 0 0 10px rgba(57, 230, 147, .16);
}

.battlehall-legend-loser {
    color: #ff9a9a;
    background: rgba(133, 26, 42, .2);
    box-shadow: 0 0 10px rgba(255, 69, 91, .13);
}

.battlehall-result-link {
    display: flex !important;
    align-items: stretch;
    gap: 7px;
    width: 100%;
    color: inherit !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    text-decoration: none !important;
}

.bh-side {
    display: flex;
    flex: 1 1 0;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    padding: 6px 10px;
    border: 1px solid #17476a;
    border-radius: 6px;
    background: linear-gradient(145deg, rgba(11, 44, 73, .96), rgba(5, 24, 46, .96));
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.battlehall-result-link:hover .bh-side {
    transform: translateY(-1px);
}

.bh-side.bh-winner {
    border-color: #34d894;
    background: linear-gradient(145deg, rgba(13, 94, 66, .98), rgba(5, 46, 43, .98));
    box-shadow: inset 0 0 14px rgba(57, 230, 147, .12), 0 0 11px rgba(57, 230, 147, .12);
}

.bh-side.bh-loser {
    border-color: #e85d67;
    background: linear-gradient(145deg, rgba(112, 29, 43, .98), rgba(51, 15, 30, .98));
    box-shadow: inset 0 0 14px rgba(255, 69, 91, .12), 0 0 11px rgba(255, 69, 91, .1);
}

.bh-side.bh-neutral {
    border-color: #3b7091;
}

.bh-status {
    color: #d6f7ff;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .06em;
    line-height: 1.1;
    text-transform: uppercase;
}

.bh-trophy {
    display: inline-block;
    margin-right: 4px;
    font-size: 1.2em;
    line-height: 1;
    filter: drop-shadow(0 0 4px rgba(255, 216, 109, .7));
    transform: translateY(1px);
}

.bh-winner .bh-status {
    color: #8fffc2;
}

.bh-loser .bh-status {
    color: #ffb1b1;
}

.bh-player {
    display: block;
    min-width: 0;
    overflow: hidden;
    color: #f0fbff;
    font-size: 10px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bh-versus {
    display: flex;
    flex: 0 0 28px;
    align-items: center;
    justify-content: center;
    color: #ffd86d;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .05em;
    text-shadow: 0 0 7px rgba(255, 197, 54, .45);
}

body#battleHall #ally_content .battlehall-row .bh-rank {
    color: #8edcff;
    font-size: 13px;
    font-weight: 900;
    text-shadow: 0 0 8px rgba(55, 209, 255, .3);
    vertical-align: middle;
}

body#battleHall #ally_content .battlehall-row .bh-date,
body#battleHall #ally_content .battlehall-row .bh-units {
    color: #c5ddeb;
    font-size: 10px;
    font-weight: 700;
}

.battlehall-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 10px 0 2px;
    padding: 8px 10px;
    border: 1px solid #17476a;
    border-radius: 7px;
    background: linear-gradient(135deg, rgba(7, 35, 61, .96), rgba(3, 16, 31, .96));
}

.battlehall-page-meta {
    color: #9ec4d8;
    font-size: 10px;
    font-weight: 700;
}

.battlehall-pagination nav {
    display: flex !important;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
}

.battlehall-page-button {
    display: inline-flex !important;
    min-width: 78px;
    align-items: center;
    justify-content: center;
    padding: 5px 10px;
    border: 1px solid #28a9df;
    border-radius: 5px;
    background: linear-gradient(180deg, #168bc1, #07527e);
    color: #e9fbff !important;
    font-size: 10px;
    font-weight: 800;
    text-decoration: none !important;
    text-transform: uppercase;
    white-space: nowrap;
}

.battlehall-page-button:hover {
    border-color: #8be8ff;
    box-shadow: 0 0 10px rgba(40, 169, 223, .35);
}

.battlehall-page-button.is-disabled {
    cursor: default;
    opacity: .42;
    pointer-events: none;
}

@media (max-width: 720px) {
    .battlehall-toolbar {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }

    .battlehall-legend {
        justify-content: flex-start;
    }

    .battlehall-pagination {
        align-items: stretch;
        flex-direction: column;
    }

    .battlehall-pagination nav {
        width: 100%;
    }

    .battlehall-page-button {
        flex: 1 1 0;
    }

    body#battleHall #ally_content .battlehall-table,
    body#battleHall #ally_content .battlehall-table tbody,
    body#battleHall #ally_content .battlehall-table .battlehall-head,
    body#battleHall #ally_content .battlehall-table .battlehall-row {
        display: block !important;
        width: 100% !important;
    }

    body#battleHall #ally_content .battlehall-table .battlehall-head {
        display: none !important;
    }

    body#battleHall #ally_content .battlehall-table .battlehall-row {
        display: grid !important;
        grid-template-columns: 42px minmax(0, 1fr);
        margin: 0 0 8px !important;
        border: 1px solid #123a5b;
        border-radius: 7px;
        overflow: hidden;
    }

    body#battleHall #ally_content .battlehall-table .battlehall-row td {
        width: auto !important;
        border: 0 !important;
        border-radius: 0 !important;
        text-align: left !important;
    }

    body#battleHall #ally_content .battlehall-table .battlehall-row .bh-rank {
        grid-column: 1;
        grid-row: 1 / span 3;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 8px 4px;
        background: rgba(7, 32, 56, .95);
    }

    body#battleHall #ally_content .battlehall-table .battlehall-row .bh-owners {
        grid-column: 2;
        grid-row: 1;
        padding: 7px 7px 4px;
    }

    body#battleHall #ally_content .battlehall-table .battlehall-row .bh-date {
        grid-column: 2;
        grid-row: 2;
        padding: 3px 7px;
        font-size: 11px;
    }

    body#battleHall #ally_content .battlehall-table .battlehall-row .bh-units {
        grid-column: 2;
        grid-row: 3;
        padding: 3px 7px 7px;
        font-size: 11px;
    }

    .battlehall-result-link {
        gap: 4px;
    }

    .bh-side {
        padding: 5px 7px;
    }

    .bh-status {
        font-size: 8px;
    }

    .bh-player {
        font-size: 9px;
    }

    .bh-versus {
        flex-basis: 20px;
        font-size: 8px;
    }

    .login-table.battlehall-table,
    .login-table.battlehall-table tbody,
    .login-table.battlehall-table tr {
        display: block;
        width: 100%;
    }

    .login-table.battlehall-table thead {
        display: none;
    }

    .login-table.battlehall-table .battlehall-row {
        display: grid;
        grid-template-columns: 42px minmax(0, 1fr);
        margin-bottom: 8px;
        border: 1px solid #123a5b;
        border-radius: 7px;
        overflow: hidden;
    }

    .login-table.battlehall-table .battlehall-row > td {
        display: block;
        width: auto;
        border: 0;
        text-align: left;
    }

    .login-table.battlehall-table .battlehall-row > .bh-rank {
        grid-column: 1;
        grid-row: 1 / span 3;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .login-table.battlehall-table .battlehall-row > .bh-owners {
        grid-column: 2;
        grid-row: 1;
        padding: 7px 7px 4px;
    }

    .login-table.battlehall-table .battlehall-row > .bh-date {
        grid-column: 2;
        grid-row: 2;
        padding: 3px 7px;
        font-size: 11px;
    }

    .login-table.battlehall-table .battlehall-row > .bh-units {
        grid-column: 2;
        grid-row: 3;
        padding: 3px 7px 7px;
        text-align: left;
        font-size: 11px;
    }
}

@media (max-width: 420px) {
    .battlehall-result-link {
        flex-direction: column;
    }

    .bh-versus {
        flex-basis: auto;
        min-height: 14px;
    }
}
