/* Askeri üs genel bakış: büyük sayılar kutuyu taşırsa sağa-sola kayar (web + mobil).
   Ayrı dosya: Cloudflare sorgu dizesini yok sayıp eski CSS'i tutuyor. */
body.build div#content.build,
div#build.gid16 {
    min-width: 0;
}
div#build.gid16 .ztv-rally-troops-scroll {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 0 12px !important;
    box-sizing: border-box !important;
    overflow-x: scroll !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x pan-y;
    scrollbar-width: thin;
    scrollbar-color: #b39253 #f3ead6;
}
div#build.gid16 .ztv-rally-troops-scroll::-webkit-scrollbar {
    height: 10px;
}
div#build.gid16 .ztv-rally-troops-scroll::-webkit-scrollbar-track {
    background: #f3ead6;
}
div#build.gid16 .ztv-rally-troops-scroll::-webkit-scrollbar-thumb {
    background: #b39253;
    border-radius: 6px;
}
div#build.gid16 .ztv-rally-troops-scroll > table.troop_details {
    width: max-content !important;
    min-width: 100% !important;
    max-width: none !important;
    table-layout: auto !important;
    margin-bottom: 0;
}
div#build.gid16 .ztv-rally-troops-scroll > table.troop_details th,
div#build.gid16 .ztv-rally-troops-scroll > table.troop_details td,
div#build.gid16 .ztv-rally-troops-scroll > table.troop_details tbody.units td {
    width: auto !important;
    white-space: nowrap;
}
div#build.gid16 .ztv-rally-troops-scroll > table.troop_details thead td.role,
div#build.gid16 .ztv-rally-troops-scroll > table.troop_details tbody.units th {
    position: sticky;
    left: 0;
    z-index: 2;
    background-color: #fff;
    box-shadow: 2px 0 0 #c9c9c9;
}
div#build.gid16 .ztv-rally-troops-scroll > table.troop_details tbody.infos th {
    position: sticky;
    left: 0;
    z-index: 2;
    background-color: #e7e7e7;
    box-shadow: 2px 0 0 #c9c9c9;
}
div#build.gid16 .ztv-rally-troops-scroll > table.inAttack thead td.role,
div#build.gid16 .ztv-rally-troops-scroll > table.inRaid thead td.role {
    background-color: #fcd1d1;
}
div#build.gid16 .ztv-rally-troops-scroll > table.inSupply thead td.role,
div#build.gid16 .ztv-rally-troops-scroll > table.inReturn thead td.role {
    background-color: #daeeb9;
}
div#build.gid16 .ztv-rally-troops-scroll > table.outAttack thead td.role,
div#build.gid16 .ztv-rally-troops-scroll > table.outRaid thead td.role,
div#build.gid16 .ztv-rally-troops-scroll > table.outSupply thead td.role,
div#build.gid16 .ztv-rally-troops-scroll > table.outSpy thead td.role {
    background-color: #fff6b5;
}
div#build.gid16 .ztv-rally-troops-scroll > table.inAttackOasis thead td.role,
div#build.gid16 .ztv-rally-troops-scroll > table.inRaidOasis thead td.role,
div#build.gid16 .ztv-rally-troops-scroll > table.inSupplyOasis thead td.role {
    background-color: #e4d3f1;
}

html.ztv-m body.v35.build div#content.build,
html.ztv-m body.v35.build #build.gid16,
html.ztv-m body.v35.build #content #build.gid16 {
    min-width: 0 !important;
}
html.ztv-m body.v35.build #build.gid16 .ztv-rally-troops-scroll,
html.ztv-m body.v35.build #content #build.gid16 .ztv-rally-troops-scroll {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    padding-bottom: 12px !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x pan-y;
}
html.ztv-m body.v35.build #build.gid16 .ztv-rally-troops-scroll > table.troop_details,
html.ztv-m body.v35.build #content #build.gid16 .ztv-rally-troops-scroll > table.troop_details,
html.ztv-m body.v35.build #ztvRallyWalking .ztv-rally-troops-scroll > table.troop_details,
html.ztv-m body.v35.build #ztvRallyIncoming .ztv-rally-troops-scroll > table.troop_details {
    display: table !important;
    width: max-content !important;
    min-width: 100% !important;
    max-width: none !important;
    overflow: visible !important;
    table-layout: auto !important;
}
html.ztv-m body.v35.build #build.gid16 .ztv-rally-troops-scroll > table.troop_details thead,
html.ztv-m body.v35.build #content #build.gid16 .ztv-rally-troops-scroll > table.troop_details thead,
html.ztv-m body.v35.build #ztvRallyWalking .ztv-rally-troops-scroll > table.troop_details thead,
html.ztv-m body.v35.build #ztvRallyIncoming .ztv-rally-troops-scroll > table.troop_details thead {
    display: table-header-group !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
}
html.ztv-m body.v35.build #build.gid16 .ztv-rally-troops-scroll > table.troop_details tbody,
html.ztv-m body.v35.build #content #build.gid16 .ztv-rally-troops-scroll > table.troop_details tbody,
html.ztv-m body.v35.build #ztvRallyWalking .ztv-rally-troops-scroll > table.troop_details tbody,
html.ztv-m body.v35.build #ztvRallyIncoming .ztv-rally-troops-scroll > table.troop_details tbody {
    display: table-row-group !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
}
html.ztv-m body.v35.build #build.gid16 .ztv-rally-troops-scroll > table.troop_details th,
html.ztv-m body.v35.build #build.gid16 .ztv-rally-troops-scroll > table.troop_details td,
html.ztv-m body.v35.build #content #build.gid16 .ztv-rally-troops-scroll > table.troop_details th,
html.ztv-m body.v35.build #content #build.gid16 .ztv-rally-troops-scroll > table.troop_details td,
html.ztv-m body.v35.build #ztvRallyWalking .ztv-rally-troops-scroll > table.troop_details th,
html.ztv-m body.v35.build #ztvRallyWalking .ztv-rally-troops-scroll > table.troop_details td,
html.ztv-m body.v35.build #ztvRallyIncoming .ztv-rally-troops-scroll > table.troop_details th,
html.ztv-m body.v35.build #ztvRallyIncoming .ztv-rally-troops-scroll > table.troop_details td {
    width: auto !important;
    white-space: nowrap !important;
}
