:root {
    --ink: #101b18;
    --panel: #1b2822;
    --panel2: #25332b;
    --cream: #f0eddc;
    --muted: #a7b2a2;
    --line: rgba(226, 232, 212, .13);
    --gold: #dfbf7c;
    --blue: #79becb;
    --red: #dc947c;
    --font: Inter, "Segoe UI", Arial, sans-serif;
    color-scheme: dark
}

* {
    box-sizing: border-box
}

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden
}

body {
    font-family: var(--font);
    background: var(--ink);
    color: var(--cream);
    font-size: 15px
}

button,
input,
select {
    font: inherit
}

button,
a,
input,
select {
    touch-action: manipulation
}

button {
    cursor: pointer;
    border: 1px solid var(--line);
    background: #2c3b31;
    color: var(--cream);
    border-radius: 3px;
    padding: 11px 17px;
    transition: background .17s, border-color .17s, transform .17s
}

button:hover {
    background: #3a4a3e;
    border-color: rgba(229, 209, 163, .55)
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px
}

button:disabled {
    cursor: not-allowed;
    opacity: .4
}

button.primary {
    background: var(--gold);
    color: #19231c;
    border-color: var(--gold);
    font-weight: 800
}

button.primary:hover {
    background: #eed5a3
}

button.secondary {
    background: transparent
}

button.danger {
    color: #f3ac92;
    border-color: #a8634c66
}

button.small {
    font-size: 12px;
    padding: 8px 11px
}

a {
    color: inherit
}

input,
select {
    border: 1px solid #c8d1b029;
    background: #12201b;
    color: var(--cream);
    border-radius: 3px;
    padding: 11px 12px;
    min-width: 0
}

input[type=range] {
    accent-color: var(--gold);
    padding: 0;
    height: 26px
}

input[type=checkbox] {
    accent-color: var(--gold);
    width: 18px;
    height: 18px
}

select {
    width: 100%
}

.hidden {
    display: none !important
}

#game {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    background: #9bacad;
    outline: none
}

.world-vignette {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(14, 25, 21, .85), rgba(14, 25, 21, .18) 68%, rgba(14, 25, 21, .17)), linear-gradient(0deg, rgba(12, 24, 19, .8), transparent 34%);
    transition: opacity .3s
}

body.playing .world-vignette {
    opacity: 0
}

.lobby {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    z-index: 2
}

.topbar {
    height: 98px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    padding: 0 42px;
    border-bottom: 1px solid var(--line);
    gap: 40px;
    background: linear-gradient(#101c18e6, #17241b7d)
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    font-size: 24px;
    letter-spacing: 3px;
    font-weight: 900
}

.brand small {
    display: block;
    letter-spacing: 5.5px;
    font-size: 9px;
    color: var(--gold);
    margin-top: 6px
}

.emblem {
    font-size: 37px;
    line-height: 47px;
    width: 47px;
    border: 2px solid var(--gold);
    color: var(--gold);
    text-align: center;
    position: relative;
    font-weight: 900;
    letter-spacing: -2px
}

.emblem span {
    position: absolute;
    bottom: -7px;
    right: -8px;
    font-size: 12px;
    background: var(--ink);
    padding: 1px 4px;
    line-height: 16px;
    letter-spacing: 0
}

.service-tag {
    font-size: 10px;
    letter-spacing: 1.7px;
    color: #bac5b5
}

.live-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #aac183;
    margin-right: 8px;
    box-shadow: 0 0 8px #95b8704d
}

.account {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 21px;
    font-size: 12px
}

.account strong {
    font-size: 19px;
    color: var(--gold);
    letter-spacing: 1px
}

.account>span:first-child {
    padding: 6px 9px;
    background: #3948359e;
    border: 1px solid #c6cda735;
    color: #dfdbc4;
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap
}

.account>span:last-child {
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.lobby-body {
    flex: 1;
    display: flex;
    min-height: 0
}

.sidebar {
    width: 234px;
    flex: 0 0 auto;
    padding: 36px 18px 24px 32px;
    border-right: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    background: #111f19b0
}

.nav-caption {
    font-size: 9px;
    letter-spacing: 2px;
    color: #95a28e;
    padding: 0 12px 20px
}

nav {
    display: flex;
    flex-direction: column;
    gap: 6px
}

nav button {
    text-align: left;
    background: transparent;
    border: 0;
    color: #c9cfbf;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 12px;
    font-weight: 600;
    font-size: 13px;
    border-left: 2px solid transparent;
    border-radius: 0
}

nav button span {
    font-size: 16px;
    width: 22px;
    text-align: center;
    color: #8e9e85
}

nav button.active {
    color: #f6edda;
    border-left-color: var(--gold);
    background: linear-gradient(90deg, #cdb47c23, transparent)
}

nav button.active span {
    color: var(--gold)
}

nav button:hover {
    background: #d6ddbd12
}

.sidebar-foot {
    margin-top: auto;
    padding: 25px 12px 0
}

.tiny-label,
.eyebrow {
    font-size: 10px;
    letter-spacing: 2.2px;
    color: var(--gold);
    font-weight: 700
}

.sidebar-foot strong {
    display: block;
    font-size: 11px;
    font-weight: 500;
    margin-top: 9px;
    letter-spacing: 1px
}

.sidebar-foot p {
    color: #91a08b;
    font-size: 12px;
    line-height: 1.7;
    margin: 14px 0 26px
}

.build {
    font-size: 8px;
    letter-spacing: 1.4px;
    color: #8b9884
}

.page {
    padding: 37px 44px 32px;
    flex: 1;
    overflow-y: auto;
    scrollbar-color: #63705a transparent;
    scrollbar-width: thin;
    min-width: 0
}

.page-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px
}

.page-head h1 {
    font-size: 34px;
    letter-spacing: -1px;
    margin: 8px 0 0;
    font-weight: 750
}

.page-head p {
    color: var(--muted);
    max-width: 570px;
    font-size: 13px;
    line-height: 1.65;
    margin: 10px 0 0
}

.stamp {
    border: 1px solid #d7c9954a;
    color: #ded3ac;
    font-size: 9px;
    letter-spacing: 2px;
    padding: 8px 11px;
    transform: rotate(-2deg);
    white-space: nowrap
}

.deploy-layout {
    display: grid;
    grid-template-columns: minmax(345px, 1.12fr) minmax(280px, 1fr);
    gap: 25px;
    align-items: start;
    max-width: 1100px
}

.panel {
    border: 1px solid var(--line);
    background: linear-gradient(130deg, #25362aed, #18281fed);
    padding: 23px;
    box-shadow: 0 15px 55px #03100821;
    border-radius: 3px
}

.panel h2 {
    font-size: 17px;
    font-weight: 650;
    margin: 0 0 17px
}

.panel p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65
}

.section-label {
    display: block;
    font-size: 10px;
    letter-spacing: 1.9px;
    color: #b3bda8;
    margin: 0 0 11px
}

.factions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 24px
}

.faction {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    background: #17271f;
    padding: 15px 13px;
    border: 1px solid #c5d3ad20
}

.faction strong {
    display: block;
    font-size: 15px;
    letter-spacing: .4px
}

.faction small {
    font-size: 10px;
    color: #9da994
}

.faction .faction-mark {
    font-size: 25px;
    color: var(--blue);
    width: 29px;
    text-align: center
}

.faction.axis .faction-mark {
    color: var(--red)
}

.faction.active {
    border-color: var(--blue);
    background: #689aae1e
}

.faction.axis.active {
    border-color: var(--red);
    background: #b9735f20
}

.row-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px
}

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px
}

.field label {
    color: #aab69f;
    font-size: 10px;
    letter-spacing: 1.4px
}

.deploy-button {
    width: 100%;
    padding: 17px 20px;
    font-size: 13px;
    letter-spacing: 1.6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 7px
}

.deploy-button span {
    font-size: 22px;
    line-height: 12px
}

.resume-button {
    width: 100%;
    margin-top: 10px;
    border-color: #d9c28b55;
    color: #e3c996;
    font-size: 12px
}

.under-button {
    font-size: 10px;
    color: #95a18d;
    text-align: center;
    margin-top: 13px;
    line-height: 1.7
}

.map-panel {
    padding: 0;
    overflow: hidden
}

.map-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 17px 19px;
    border-bottom: 1px solid var(--line)
}

.map-heading strong {
    font-size: 12px;
    letter-spacing: 1px
}

.map-heading span {
    font-size: 9px;
    color: #98a78e
}

.battlemap {
    display: block;
    width: 100%;
    height: auto;
    background: #26352a
}

.map-foot {
    padding: 15px 19px;
    display: flex;
    gap: 12px;
    font-size: 9px;
    color: #bfc7b1;
    flex-wrap: wrap
}

.legend i {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-right: 6px
}

.mission-brief {
    margin-top: 15px;
    padding: 15px 19px;
    border-left: 2px solid var(--gold);
    background: #12221ad9
}

.mission-brief small {
    font-size: 9px;
    color: var(--gold);
    letter-spacing: 1.8px
}

.mission-brief p {
    font-size: 12px;
    line-height: 1.6;
    color: #bdc6b1;
    margin: 7px 0 0
}

.deploy-meta {
    display: flex;
    gap: 25px;
    margin-top: 24px
}

.deploy-meta div strong {
    display: block;
    font-size: 18px;
    color: #dfdcc7
}

.deploy-meta div small {
    font-size: 9px;
    color: #a3ad97;
    letter-spacing: 1.1px
}

.lobby-footer {
    flex: 0 0 39px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 38px;
    background: #0b1812da;
    border-top: 1px solid var(--line);
    font-size: 8px;
    letter-spacing: 1.3px;
    color: #a0ad92;
    gap: 15px
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px
}

.card {
    background: #1b2a20eb;
    border: 1px solid var(--line);
    padding: 21px;
    display: flex;
    flex-direction: column;
    border-radius: 3px;
    position: relative;
    min-width: 0
}

.card.locked {
    opacity: .64
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px
}

.badge {
    font-size: 9px;
    letter-spacing: 1px;
    color: #b4c4a5;
    background: #44513c5e;
    padding: 4px 6px
}

.badge.gold {
    color: var(--gold);
    background: #c1a6651c
}

.weapon-icon {
    height: 62px;
    width: 100%;
    margin: 14px 0 17px;
    color: #c4c9ac;
    opacity: .95
}

.card h3 {
    font-size: 16px;
    font-weight: 650;
    margin: 0 0 9px;
    line-height: 1.3
}

.card p {
    font-size: 11px;
    line-height: 1.6;
    color: #adb79e;
    margin: 0 0 14px
}

.stats-mini {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    margin: 7px 0 20px
}

.stats-mini div {
    font-size: 11px;
    color: #d0d6bf
}

.stats-mini span {
    display: block;
    font-size: 8px;
    letter-spacing: 1px;
    color: #8f9e82;
    margin-bottom: 4px
}

.card-actions {
    margin-top: auto;
    display: flex;
    gap: 7px;
    align-items: center;
    justify-content: space-between
}

.card-actions strong {
    font-size: 15px;
    color: var(--gold)
}

.card-actions button {
    font-size: 10px;
    padding: 9px 12px
}

.tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px
}

.tabs button {
    background: #203024d9;
    font-size: 11px;
    color: #bac5a9;
    padding: 10px 15px
}

.tabs button.active {
    border-color: var(--gold);
    color: var(--gold)
}

.loadout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px
}

.loadout-item label {
    display: block;
    font-size: 10px;
    letter-spacing: 1.4px;
    color: #aeb79f;
    margin-bottom: 12px
}

.loadout-item h3 {
    font-size: 20px;
    margin: 7px 0
}

.loadout-item .weapon-icon {
    height: 82px
}

.loadout-item p {
    font-size: 11px;
    color: #aeb8a0
}

.loadout-item select {
    margin-top: 13px
}

.notice-box {
    font-size: 12px;
    line-height: 1.7;
    color: #c7ceb8;
    background: #213329e8;
    border-left: 2px solid #8d9c70;
    padding: 16px 19px;
    margin: 20px 0
}

.notice-box.warn {
    border-color: var(--gold);
    background: #383923c7
}

.profile-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 21px
}

.profile-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    margin: 20px 0
}

.metric {
    padding: 20px 17px;
    background: #1c2b21
}

.metric strong {
    display: block;
    font-size: 27px;
    font-weight: 500
}

.metric small {
    font-size: 8px;
    letter-spacing: 1.3px;
    color: #a8b599
}

.progress-track {
    height: 5px;
    background: #a1b98526;
    width: 100%;
    margin: 15px 0
}

.progress-track i {
    display: block;
    height: 100%;
    background: var(--gold)
}

.progress-text {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #bfcaaf
}

.inline-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 17px
}

.file-input {
    display: none
}

.settings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px
}

.setting-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 13px 0;
    font-size: 12px;
    color: #c8d0bc
}

.setting-line input[type=range] {
    width: 130px
}

.setting-line select {
    width: 145px
}

.setting-line output {
    font-size: 11px;
    color: var(--gold)
}

.bind-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px
}

.bind {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px solid var(--line);
    font-size: 11px;
    gap: 10px
}

.bind button {
    padding: 5px 9px;
    min-width: 62px;
    font-size: 10px;
    background: #30422c
}

.bind button.waiting {
    color: var(--gold);
    border-color: var(--gold)
}

.table-wrap {
    overflow: auto
}

table {
    border-collapse: collapse;
    width: 100%;
    font-size: 12px;
    text-align: left
}

th {
    color: #9eae91;
    font-size: 9px;
    letter-spacing: 1px;
    font-weight: 600;
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
    white-space: nowrap
}

td {
    padding: 13px 14px;
    border-bottom: 1px solid #bbc9a512
}

tr.me {
    background: #d2bf7919;
    color: #ead199
}

.muted {
    color: var(--muted)
}

.text-gold {
    color: var(--gold)
}

.team-allies {
    color: var(--blue)
}

.team-axis {
    color: var(--red)
}

.empty {
    padding: 24px;
    color: #a4b399;
    font-size: 13px;
    line-height: 1.7
}

.overlay {
    position: fixed;
    inset: 0;
    background: #08120dd9;
    backdrop-filter: blur(7px);
    z-index: 12;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 35px
}

.modal {
    background: linear-gradient(130deg, #26362b, #14231b);
    border: 1px solid #cbd2b22e;
    box-shadow: 0 40px 160px #0008;
    width: min(1040px, 100%);
    max-height: calc(100vh - 70px);
    overflow: auto;
    padding: 27px 30px;
    border-radius: 5px;
    scrollbar-width: thin
}

.modal>header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    padding-bottom: 20px;
    margin-bottom: 23px
}

.modal h2 {
    font-size: 28px;
    margin: 6px 0 0;
    font-weight: 650
}

.icon-button {
    font-size: 25px;
    line-height: 20px;
    padding: 10px 12px;
    background: transparent;
    color: #b3bfa3
}

.pause-layout {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 24px
}

.pause-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px
}

.pause-buttons button {
    text-align: left
}

.inventory-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 11px
}

.inventory-item {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--line);
    background: #0d1b1466;
    padding: 15px;
    gap: 10px
}

.inventory-item strong {
    font-size: 12px
}

.inventory-item .amount {
    font-size: 27px;
    color: var(--gold);
    font-weight: 500
}

.inventory-item small {
    color: #9cae8b;
    font-size: 10px
}

.inventory-item .inline-actions {
    margin-top: auto;
    gap: 6px
}

.inventory-item button {
    padding: 6px 9px;
    font-size: 10px
}

.map-large {
    max-width: 610px;
    max-height: calc(100vh - 245px);
    width: 100%;
    object-fit: contain;
    margin: auto;
    display: block
}

.result-hero {
    text-align: center;
    padding: 22px 0
}

.result-hero h3 {
    font-size: 46px;
    margin: 10px 0;
    color: var(--gold);
    letter-spacing: 2px
}

.result-hero p {
    color: #bbc7ae
}

.toast {
    position: fixed;
    left: 50%;
    bottom: 64px;
    transform: translateX(-50%);
    padding: 15px 24px;
    max-width: 680px;
    min-width: 250px;
    text-align: center;
    background: #111e16f5;
    border: 1px solid #d1c28d55;
    border-left: 3px solid var(--gold);
    color: #e4e7d7;
    box-shadow: 0 10px 45px #0004;
    font-size: 13px;
    line-height: 1.5;
    z-index: 30;
    pointer-events: none
}

.loading {
    position: fixed;
    inset: 0;
    z-index: 50;
    background: linear-gradient(180deg, rgba(48, 89, 122, 0.96), rgba(28, 53, 74, 0.96));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px
}

.loading-inner {
    width: min(640px, 100%);
    text-align: center
}

.loader-mark {
    position: relative;
    margin: 0 auto 37px;
    width: 250px;
}

.loader-mark img{
    width: 250px;
}



.loading h1 {
    font-size: 30px;
    margin: 17px 0
}

.loading p {
    color: #a6b69a;
    font-size: 13px
}

.load-track {
    height: 3px;
    background: #cfdfb425;
    margin: 27px 0 17px
}

.load-track i {
    display: block;
    height: 100%;
    width: 5%;
    background: var(--gold);
    transition: width .2s
}

.loading small {
    font-size: 10px;
    letter-spacing: 1px;
    color: #819674;
    display: block;
    margin-top: 30px
}

.loading pre {
    white-space: pre-wrap;
    word-break: break-word;
    font: 12px/1.6 var(--font);
    color: #ebbea2;
    max-height: 40vh;
    overflow: auto
}

.hud {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 4;
    text-shadow: 0 1px 5px #000a
}

.ticket-hud {
    position: absolute;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: start;
    gap: 22px;
    padding: 14px 24px;
    background: linear-gradient(#12211ccc, #14251c44);
    border-radius: 3px;
    min-width: 540px;
    justify-content: center
}

.ticket-side {
    width: 135px;
    position: relative
}

.ticket-side>span {
    font-size: 9px;
    letter-spacing: 2px;
    display: block
}

.ticket-side strong {
    font-size: 32px;
    font-weight: 500
}

.ticket-side i {
    display: block;
    height: 3px;
    background: #dee8cf22
}

.ticket-side i b {
    display: block;
    height: 100%;
    background: currentColor;
    width: 100%
}

.ticket-side.allies {
    color: #8ccdd9
}

.ticket-side.axis {
    color: #eba18b;
    text-align: right
}

.ticket-side.axis i b {
    margin-left: auto
}

.conquest-center {
    text-align: center
}

.conquest-center small {
    display: block;
    font-size: 9px;
    letter-spacing: 3px;
    color: #ebe5c7;
    margin-bottom: 8px
}

.conquest-center time {
    display: block;
    font-size: 10px;
    letter-spacing: 1px;
    margin-top: 9px
}

#sector-strip {
    display: flex;
    gap: 6px
}

.sector-chip {
    display: flex;
    width: 26px;
    height: 26px;
    align-items: center;
    justify-content: center;
    background: #dddbbb44;
    border: 1px solid #bdbfa570;
    font-size: 11px;
    color: #f3efd8
}

.sector-chip.allies {
    background: #457c88bb;
    border-color: #91d1dc
}

.sector-chip.axis {
    background: #995c4dbb;
    border-color: #efa08a
}

.sector-chip.contested {
    animation: blink .6s alternate infinite
}

@keyframes blink {
    to {
        opacity: .5
    }
}

.mini-wrap {
    position: absolute;
    left: 28px;
    top: 27px;
    background: #16251cbf;
    border: 1px solid #dfe8ca44;
    width: 172px;
    padding: 4px
}

.mini-wrap canvas {
    width: 162px;
    height: 162px;
    display: block
}

.mini-wrap>span {
    display: block;
    text-align: center;
    font-size: 8px;
    letter-spacing: 1.6px;
    padding: 7px 0 4px;
    color: #d1d9bc
}

.killfeed {
    position: absolute;
    right: 30px;
    top: 143px;
    max-width: 360px;
    text-align: right;
    font-size: 11px
}

.killfeed div {
    padding: 6px 10px;
    background: #14241cac;
    margin-bottom: 4px
}

.killfeed i {
    font-style: normal;
    color: #d7d1ab;
    padding: 0 8px
}

.reticle {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 21px;
    height: 21px;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 1px 2px #000)
}

.reticle:before,
.reticle:after,
.reticle i,
.reticle b {
    content: '';
    display: block;
    background: #f5f2dd;
    position: absolute
}

.reticle:before {
    width: 5px;
    height: 2px;
    left: 0;
    top: 10px
}

.reticle:after {
    width: 5px;
    height: 2px;
    right: 0;
    top: 10px
}

.reticle i {
    height: 5px;
    width: 2px;
    top: 0;
    left: 10px
}

.reticle b {
    height: 5px;
    width: 2px;
    bottom: 0;
    left: 10px
}

.reticle.aim {
    transform: translate(-50%, -50%) scale(.45);
    opacity: .7
}

.hitmarker {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 41px;
    font-weight: 300;
    opacity: 0;
    transition: opacity .12s;
    color: #f2e5bd
}

.hitmarker.show {
    opacity: 1
}

.damage-flash {
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 120px 40px #a3352388;
    opacity: 0;
    transition: opacity .2s
}

.damage-flash.show {
    opacity: 1
}

.hud-left {
    position: absolute;
    bottom: 42px;
    left: 31px;
    width: 245px;
    padding: 15px 17px;
    background: linear-gradient(90deg, #111e18d9, #14241b5c);
    border-left: 2px solid #e5dfb78a
}

.hud-ident {
    display: flex;
    gap: 16px;
    font-size: 9px;
    letter-spacing: 1.7px;
    color: #d9dcbf
}

.hp-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 11px 0
}

.hp-row>span {
    font-size: 29px;
    color: #cfe0b9
}

.hp-row strong {
    font-size: 32px;
    font-weight: 500
}

.hp-bar {
    flex: 1;
    height: 5px;
    background: #deefc72a
}

.hp-bar i {
    display: block;
    background: #c6d9a7;
    height: 100%;
    width: 100%
}

.needs {
    display: flex;
    gap: 12px
}

.needs>div {
    flex: 1
}

.needs span {
    display: block;
    font-size: 7px;
    color: #bac8ab;
    margin-bottom: 5px;
    letter-spacing: .65px
}

.needs i {
    display: block;
    height: 3px;
    background: #d8e6bc30
}

.needs b {
    display: block;
    height: 100%;
    background: #d5c993;
    width: 100%
}

.needs>div:nth-child(2) b {
    background: #8fbcc6
}

.needs>div:nth-child(3) b {
    background: #cad7b8
}

.hud-weight {
    font-size: 9px;
    color: #b6c4a6;
    margin-top: 12px;
    letter-spacing: 1px
}

.hud-right {
    position: absolute;
    right: 33px;
    bottom: 44px;
    text-align: right;
    min-width: 210px;
    padding: 15px 18px;
    background: linear-gradient(270deg, #111e18d9, #14241b5c);
    border-right: 2px solid #e5dfb78a
}

.hud-right>small {
    font-size: 11px;
    letter-spacing: 1.6px
}

.ammo {
    margin: 4px 0 0;
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 10px
}

.ammo>strong {
    font-weight: 500;
    font-size: 46px
}

.ammo>span {
    font-size: 16px;
    color: #c1ccae
}

.ammo b {
    font-weight: 500
}

.hud-right>span {
    font-size: 8px;
    color: #b8c6a6;
    letter-spacing: 1.3px
}

.vehicle-info {
    font-size: 11px;
    margin-top: 10px;
    line-height: 1.8;
    color: #e5d7b1
}

/* =========================================================
   CONTENEUR CONTEXTUEL
   Ne doit plus emprisonner les notifications fixes
   ========================================================= */

.context-hud {
    position: fixed !important;

    inset: 0 !important;

    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    bottom: 0 !important;

    width: 100% !important;
    height: 100% !important;

    transform: none !important;

    text-align: center;

    pointer-events: none;

    z-index: 100;
}

.capture-hud {
    font-size: 10px;
    letter-spacing: 1px;
    background: #102219bc;
    padding: 12px 15px;
    margin: 0 auto 13px;
    max-width: 300px;
    margin-top:50px;
}


.capture-hud>i {
    height: 3px;
    background: #c9d6ae3b;
    display: block;
    margin-top: 9px
}

.capture-hud b {
    display: block;
    height: 100%;
    background: var(--gold)
}

#interact-hud {
    font-size: 10px;
    letter-spacing: 1.4px;
    line-height: 2.3
}

kbd {
    font-family: inherit;
    background: #e2d8b9;
    color: #1b271c;
    padding: 4px 7px;
    font-size: 10px;
    text-shadow: none;
    border-radius: 2px;
    box-shadow: 0 2px #151e16;
    margin-right: 6px
}

#reward-hud {
    font-size: 12px;
    color: #edcf85;
    letter-spacing: 1.3px;
    margin-top: 13px;
    min-height: 16px
}

.hud-hints {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 8px;
    letter-spacing: .8px;
    color: #eef1d9;
    white-space: nowrap;
    background: #14231b77;
    padding: 6px 11px
}

.death-hud {
    position: absolute;
    inset: 0;
    background: #10201b88;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-size: 14px;
    gap: 16px
}

.death-hud strong {
    font-size: 42px;
    color: #e5c2a0;
    letter-spacing: 4px
}

.ui-note {
    position: fixed;
    bottom: 50px;
    right: 24px;
    background: #c9b67d;
    color: #1a261b;
    padding: 9px 14px;
    font-size: 11px;
    z-index: 99
}

.publish-line {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap
}

.publish-line label {
    font-size: 11px;
    color: #c5cfb4;
    display: flex;
    align-items: center;
    gap: 8px
}

.help-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 20px;
    font-size: 12px;
    line-height: 2
}

.weapon-icon svg {
    height: 100%;
    width: 100%;
    display: block
}

.modal .cards {
    grid-template-columns: repeat(3, 1fr)
}

@media(min-width:1600px) {
    .page {
        padding-top: 52px;
        padding-left: 55px
    }

    .deploy-layout {
        gap: 35px;
        max-width: 1240px
    }

    .page-head h1 {
        font-size: 41px
    }

    .panel {
        padding: 28px
    }

    .map-panel {
        padding: 0
    }

    .cards {
        grid-template-columns: repeat(4, 1fr)
    }
}

@media(max-width:1150px) {
    .topbar {
        padding: 0 24px;
        gap: 20px
    }

    .service-tag {
        display: none
    }

    .sidebar {
        width: 191px;
        padding-left: 18px
    }

    .page {
        padding: 27px 26px
    }

    .deploy-layout {
        grid-template-columns: minmax(310px, 1.1fr) minmax(245px, 1fr);
        gap: 17px
    }

    .panel {
        padding: 18px
    }

    .map-panel {
        padding: 0
    }

    .cards {
        grid-template-columns: repeat(2, 1fr)
    }

    .lobby-footer {
        padding: 0 22px
    }

    .account {
        gap: 14px
    }

    .ticket-hud {
        top: 20px;
        min-width: 450px;
        padding: 13px;
        gap: 14px
    }

    .ticket-side {
        width: 105px
    }

    .mini-wrap {
        width: 145px;
        left: 18px
    }

    .mini-wrap canvas {
        width: 135px;
        height: 135px
    }

    .settings-grid {
        grid-template-columns: 1fr
    }

    .bind-grid {
        grid-template-columns: 1fr 1fr 1fr
    }
}

@media(max-width:880px) {
    .topbar {
        height: 77px
    }

    .brand {
        font-size: 19px;
        letter-spacing: 2px
    }

    .emblem {
        font-size: 30px;
        line-height: 39px;
        width: 39px
    }

    .account>span:last-child {
        display: none
    }

    .sidebar {
        width: 69px;
        padding: 22px 6px
    }

    .nav-caption,
    .sidebar-foot {
        display: none
    }

    nav button {
        font-size: 0;
        justify-content: center;
        padding: 13px 5px
    }

    nav button span {
        font-size: 21px;
        width: auto
    }

    .page {
        padding: 25px 21px
    }

    .deploy-layout {
        grid-template-columns: 1fr
    }

    .deploy-side {
        display: none
    }

    .page-head {
        margin-bottom: 20px
    }

    .page-head h1 {
        font-size: 28px
    }

    .stamp {
        display: none
    }

    .lobby-footer>span:last-child {
        display: none
    }

    .profile-grid {
        grid-template-columns: 1fr
    }

    .loadout-grid {
        gap: 12px
    }

    .hud-left {
        left: 17px;
        bottom: 35px;
        width: 204px
    }

    .hud-right {
        right: 17px;
        bottom: 35px;
        min-width: 160px
    }

    .context-hud {
        bottom: 183px;
        width: 310px
    }

    .ticket-hud {
        transform: translateX(-50%) scale(.82);
        transform-origin: top center
    }

    .mini-wrap {
        top: 105px;
        width: 115px
    }

    .mini-wrap canvas {
        width: 105px;
        height: 105px
    }

    .hud-hints {
        font-size: 7px;
        max-width: 95%;
        overflow: hidden
    }

    .modal {
        padding: 20px
    }

    .overlay {
        padding: 18px
    }

    .modal {
        max-height: calc(100vh - 36px)
    }

    .bind-grid {
        grid-template-columns: 1fr 1fr
    }

    .inventory-grid {
        grid-template-columns: 1fr 1fr
    }

    .pause-layout {
        grid-template-columns: 1fr
    }

    .modal .cards {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:580px) {
    .topbar {
        padding: 0 15px
    }

    .brand {
        font-size: 16px;
        letter-spacing: 1.4px
    }

    .brand small {
        font-size: 7px
    }

    .account {
        gap: 9px
    }

    .account strong {
        font-size: 14px
    }

    .account>span:first-child {
        font-size: 8px;
        padding: 4px
    }

    .page {
        padding: 22px 14px
    }

    .sidebar {
        width: 55px
    }

    .cards,
    .loadout-grid {
        grid-template-columns: 1fr
    }

    .row-fields {
        gap: 10px
    }

    .panel {
        padding: 15px
    }

    .factions {
        gap: 8px
    }

    .faction {
        padding: 12px 8px;
        gap: 8px
    }

    .lobby-footer {
        font-size: 7px;
        padding: 0 14px
    }

    .lobby-footer>span:nth-child(2) {
        display: none
    }

    .modal .cards {
        grid-template-columns: 1fr
    }

    .bind-grid {
        grid-template-columns: 1fr
    }

    .hud-left,
    .hud-right {
        transform: scale(.8);
        transform-origin: bottom left
    }

    .hud-right {
        transform-origin: bottom right
    }

    .hud-left {
        bottom: 36px
    }

    .context-hud {
        bottom: 174px
    }

    .killfeed {
        top: 95px;
        right: 12px;
        max-width: 220px;
        font-size: 9px
    }

    .ticket-hud {
        transform: translateX(-50%) scale(.66)
    }

    .page-head h1 {
        font-size: 25px
    }

    .page-head p {
        font-size: 12px
    }

    .inventory-grid {
        grid-template-columns: 1fr
    }

    .profile-metrics {
        grid-template-columns: repeat(2, 1fr)
    }
}

/* 1.2.0 — readable progression, compass and queued rewards */
.xp-strip {
    position: absolute;
    top: 9px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 11px;
    width: 550px;
    max-width: 80vw;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: #f0ddaa;
    background: #122019c9;
    padding: 7px 12px;
    border-radius: 3px;
    transition: background .25s
}

.xp-strip>span {
    white-space: nowrap
}

.xp-track {
    flex: 1;
    height: 5px;
    border-radius: 4px;
    background: #87957b33;
    overflow: hidden
}

.xp-track i {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #cba661, #ffe2a0);
    width: 0;
    transition: width .45s ease;
    box-shadow: 0 0 9px #e3c87955
}

.xp-strip.gain {
    background: #4a4b2edb
}

.ticket-hud {
    top: 44px
}

.compass {
    position: absolute;
    left: 50%;
    top: 147px;
    transform: translateX(-50%);
    width: 480px;
    max-width: 77vw;
    height: 69px;
    background: linear-gradient(90deg, transparent, #16251ba8 22%, #16251ba8 78%, transparent);
    overflow: hidden
}

#compass-ribbon {
    position: absolute;
    inset: 0
}

.compass-tick {
    position: absolute;
    top: 29px;
    height: 5px;
    width: 1px;
    background: #dbe5cd6a;
    transform: translateX(-50%);
    font-size: 9px;
    font-weight: 600;
    color: #e5edd7
}

.compass-tick.major {
    height: 9px;
    line-height: 34px
}

.compass-needle {
    position: absolute;
    top: 26px;
    left: 50%;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 6px solid #f2d393;
    transform: translateX(-50%)
}

#compass-degree {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    font-size: 8px;
    letter-spacing: 1.2px;
    color: #f2e6c6
}

.compass-objective {
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    font-size: 11px;
    color: #dfc588;
    text-shadow: 0 1px 5px #000
}

.compass-objective.allies {
    color: #8ed7e6
}

.compass-objective.axis {
    color: #eea08a
}

.compass-objective small {
    font-size: 7px;
    display: block;
    white-space: nowrap;
    color: #e2e8d8
}

#reward-hud {
    display: flex;
    flex-direction: column;
    gap: 7px;
    align-items: center;
    min-height: 0;
    margin-top: 12px;
    letter-spacing: 1px
}

.reward-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(90deg, #19271bdd, #19271bca);
    border-left: 2px solid #e6c783;
    padding: 10px 16px;
    box-shadow: 0 4px 20px #0003;
    animation: reward-enter .24s ease-out;
    transition: opacity .32s, transform .32s;
    white-space: nowrap
}

.reward-card>span {
    font-size: 9px;
    color: #eee7c9
}

.reward-card>strong {
    font-size: 17px;
    color: #f7dc9f;
    letter-spacing: .5px
}

.reward-card small {
    font-size: 11px;
    margin-left: 9px;
    color: #b5d3b0
}

.reward-card.capture {
    border-color: #8fd6df
}

.reward-card.leaving {
    opacity: 0;
    transform: translateY(-10px)
}

@keyframes reward-enter {
    from {
        opacity: 0;
        transform: translateY(10px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

.reticle.ironsights {
    opacity: 0
}

.death-hud {
    animation: death-in .5s ease-out;
    background: radial-gradient(ellipse, #19221abf, #142019eb)
}

@keyframes death-in {
    from {
        opacity: 0;
        filter: blur(4px)
    }

    to {
        opacity: 1;
        filter: blur(0)
    }
}

.ambient-button {
    border: 1px solid #dcc28b50;
    background: #1c2b218c;
    color: #dfce9d;
    border-radius: 3px;
    padding: 10px 12px;
    font-size: 8px;
    letter-spacing: 1px;
    white-space: nowrap;
    cursor: pointer
}

.ambient-button.active {
    border-color: #8ba48880;
    color: #b5d4b0
}

.scene-preview {
    height: 145px;
    min-height: 145px;
    border: 1px solid #e4e8ce35;
    border-radius: 3px;
    margin-bottom: 17px;
    background: linear-gradient(0deg, #13251ba8, transparent 60%);
    box-shadow: inset 0 0 40px #15221915;
    position: relative;
    overflow: hidden
}

.scene-preview>span {
    position: absolute;
    top: 15px;
    left: 17px;
    font-size: 8px;
    letter-spacing: 1.4px;
    background: #1a281cc9;
    padding: 8px 10px
}

.scene-preview>small {
    position: absolute;
    bottom: 15px;
    left: 17px;
    font-size: 8px;
    letter-spacing: 1.8px;
    color: #eee5c8
}

.scene-preview::after {
    content: '';
    position: absolute;
    inset: -100%;
    pointer-events: none;
    background: radial-gradient(ellipse at 25% 18%, #f0d9a306, transparent 5%), radial-gradient(ellipse at 68% 49%, #f2ddb91a, transparent 2%), radial-gradient(ellipse at 39% 75%, #eddda017, transparent 2%);
    animation: lobby-drift 24s linear infinite
}

@keyframes lobby-drift {
    from {
        transform: translate(-2%, -1%)
    }

    to {
        transform: translate(7%, 4%)
    }
}

@media(max-width:1100px) {
    .topbar {
        gap: 15px
    }

    .service-tag {
        display: none
    }

    .ambient-button {
        font-size: 7px;
        padding: 9px
    }

    .xp-strip {
        width: 470px
    }

    .compass {
        top: 140px;
        width: 420px
    }
}

@media(max-width:760px) {
    .xp-strip {
        top: 6px;
        width: 420px;
        font-size: 7px;
        gap: 6px;
        padding: 6px 8px
    }

    .ticket-hud {
        top: 38px
    }

    .compass {
        top: 124px;
        width: 370px;
        max-width: 65vw;
        height: 62px
    }

    .reward-card {
        padding: 8px 10px;
        gap: 8px
    }

    .reward-card>strong {
        font-size: 14px
    }

    .reward-card>span {
        font-size: 8px
    }

    .scene-preview {
        height: 120px;
        min-height: 120px
    }

    .ambient-button {
        max-width: 115px;
        white-space: normal
    }

    .account-name {
        display: none
    }
}

@media(max-width:480px) {
    .xp-strip {
        width: 82vw
    }

    .ticket-hud {
        top: 34px
    }

    .compass {
        top: 106px;
        width: 70vw
    }

    .reward-card {
        white-space: normal;
        max-width: 88vw
    }

    .reward-card>strong {
        white-space: nowrap
    }

    .ambient-button {
        max-width: 76px;
        line-height: 1.5;
        padding: 6px;
        font-size: 6px
    }

    .scene-preview {
        min-height: 100px;
        height: 100px
    }

    .compass-objective small {
        display: none
    }
}

@media(prefers-reduced-motion:reduce) {

    .scene-preview::after,
    .reward-card,
    .death-hud {
        animation: none
    }

    .xp-track i {
        transition: none
    }
}

/* v1.2: legible zoom crosshair; never hidden behind the weapon's iron sights. */
.reticle,
.reticle.aim,
.reticle.ironsights {
    width: 24px;
    height: 24px;
    opacity: 1;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 1px 1px #111)
}

.reticle::after {
    content: "";
    position: absolute;
    left: 10px;
    top: 10px;
    width: 4px;
    height: 4px;
    background: #fff9da;
    border-radius: 50%;
    box-shadow: 0 0 0 1px #111b
}

.reticle i,
.reticle b {
    position: absolute !important;
    background: transparent !important;
    border: 0 !important
}

.reticle i {
    inset: 0 !important;
    width: 24px !important;
    height: 24px !important;
    transform: none !important;
    background: linear-gradient(#fff8d9, #fff8d9) center top/2px 6px no-repeat, linear-gradient(#fff8d9, #fff8d9) center bottom/2px 6px no-repeat !important
}

.reticle b {
    inset: 0 !important;
    width: 24px !important;
    height: 24px !important;
    transform: none !important;
    background: linear-gradient(#fff8d9, #fff8d9) left center/6px 2px no-repeat, linear-gradient(#fff8d9, #fff8d9) right center/6px 2px no-repeat !important
}

.reticle.aim {
    width: 24px;
    height: 24px
}

.reticle.tank {
    outline: 1px solid #fff7cc99;
    outline-offset: 8px;
    border-radius: 50%
}

.tank-optic {
    position: absolute;
    inset: 0;
    pointer-events: none;
    box-shadow: inset 0 0 100px 38px #10161077;
    border: 14px solid #141c1680
}

.tank-optic span {
    position: absolute;
    top: 24%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    letter-spacing: .16em;
    color: #fff4cbb0;
    text-shadow: 0 1px 2px #000
}

.ticket-side {
    position: relative
}

.bleed-label {
    font-size: 10px;
    line-height: 1.1;
    opacity: .8;
    display: block;
    white-space: nowrap;
    letter-spacing: .04em
}

.reticle.hidden,
.tank-optic.hidden {
    display: none !important
}

/* One central aiming mark, no legacy overlapping pseudo-element. */
.reticle::before {
    display: none;
}

/* v1.3: combat attribution + restrained flight instruments. */
.killfeed>div {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 7px;
    max-width: 500px;
}

.killfeed .kill-weapon {
    color: #e4d4a7;
    font-size: 10px;
    font-weight: 600;
    max-width: 210px;
    line-height: 1.35;
    padding: 3px 6px;
    background: rgba(13, 24, 22, .58);
    border: 1px solid rgba(226, 211, 169, .22);
    border-radius: 3px;
}

.flight-info {
    position: absolute;
    left: 26px;
    top: 40%;
    width: 225px;
    color: #fff4d1;
    background: linear-gradient(110deg, rgba(13, 26, 29, .8), rgba(13, 26, 29, .25));
    border-left: 2px solid #e7cf8d;
    padding: 13px 15px;
    text-shadow: 0 1px 3px #000;
}

.flight-info small {
    font-size: 9px;
    letter-spacing: 2px;
    opacity: .72;
}

.flight-info>div {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin: 9px 0;
    font-size: 16px;
}

.flight-info>span {
    font-size: 10px;
    letter-spacing: 1px;
}

.flight-info em {
    font-style: normal;
    display: block;
    font-size: 10px;
    line-height: 1.5;
    color: #e3c885;
    margin-top: 8px;
}

@media(max-width:800px) {
    .flight-info {
        left: 12px;
        top: 34%;
        width: 180px;
        padding: 9px;
    }

    .killfeed .kill-weapon {
        max-width: 145px;
        font-size: 9px;
    }
}


.skin-preview-wrap {
    width: 100%;
    height: 180px;
    margin: 8px 0 14px;
    position: relative;
    overflow: hidden;
}

.skin-preview {
    width: 100%;
    height: 100%;
    display: block;
}

.shop-symbol {
    height: 75px;
    display: grid;
    place-items: center;
    font-size: 35px;
    color: var(--gold);
    font-weight: 300;
}

/* =========================================================
   BRISE-LAMES HUD - ARCADE WWII
   ========================================================= */

.bf-hud {
    --bf-blue: #4fa7ff;
    --bf-blue-dark: #183c60;

    --bf-red: #f05c54;
    --bf-red-dark: #652421;

    --bf-green: #92d84b;
    --bf-yellow: #ffc93e;
    --bf-water: #4fc5ff;

    --bf-panel: rgba(32, 48, 57, 0.94);
    --bf-panel-green: rgba(62, 74, 49, 0.94);

    --bf-border: #151b1c;
    --bf-text: #f7f4dc;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    color: var(--bf-text);

    text-shadow:
        0 2px 0 #111,
        1px 0 0 #111,
        -1px 0 0 #111;
}


/* =========================================================
   SCOREBOARD
   ========================================================= */

.bf-scoreboard {
    position: absolute;

    top: 14px;
    left: 50%;

    transform: translateX(-50%);

    display: flex;
    align-items: flex-start;

    z-index: 20;

    filter:
        drop-shadow(0 4px 4px rgba(0, 0, 0, .45));
}


.bf-team {
    min-width: 220px;
    height: 64px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 16px;

    border: 4px solid var(--bf-border);

    border-radius: 16px;

    padding: 5px 20px;

    box-sizing: border-box;
}


.bf-team-allies {
    background:
        linear-gradient(#4da9ff,
            #236aad);

    transform:
        skewX(-5deg);
}


.bf-team-axis {
    background:
        linear-gradient(#ff7167,
            #b83b36);

    transform:
        skewX(5deg);
}


.bf-team>* {
    transform:
        skewX(0deg);
}


.bf-team span {
    display: block;

    font-size: 16px;
    font-weight: 900;

    letter-spacing: .8px;
}


.bf-team strong {
    display: block;

    font-size: 20px;
    line-height: 28px;
}


.bf-team small {
    display: none;
}


.bf-faction-symbol {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 29px;
}

.bf-faction-symbol img{
    width:45px;
}


.bf-conquest-center {
    width: 235px;

    margin: 0 -8px;

    text-align: center;

    z-index: 2;
}


.bf-conquest-center time {
    display: block;

    width: 130px;

    margin: 0 auto;

    padding: 8px 12px;

    background:
        rgba(30, 45, 42, .95);

    border:
        4px solid #151b1c;

    border-radius: 12px;

    font-size: 27px;
    font-weight: 900;
}


.bf-conquest-center small {
    display: inline-block;

    margin-top: 5px;

    padding:
        3px 14px;

    border-radius: 4px;

    background:
        rgba(34, 47, 45, .76);

    font-size: 12px;
    font-weight: 900;

    letter-spacing: .6px;
}


/* =========================================================
   SECTORS
   ========================================================= */

.bf-sector-strip,
#sector-strip {
    display: flex;

    justify-content: center;

    gap: 7px;

    margin-top: 6px;
}


#sector-strip>* {
    width: 31px;
    height: 31px;

    display: grid;
    place-items: center;

    border:
        3px solid #151b1c;

    border-radius: 8px;

    transform:
        rotate(45deg);

    background:
        #777;

    font-size: 0;
}


#sector-strip>*::after {
    content:
        attr(data-id);

    transform:
        rotate(-45deg);

    font-size: 15px;
    font-weight: 900;
}


#sector-strip>*.allies {
    background:
        var(--bf-blue);
}


#sector-strip>*.axis {
    background:
        var(--bf-red);
}


/* =========================================================
   MINI MAP
   ========================================================= */

.bf-minimap-wrap {
    position: absolute;

    top: 22px;
    left: 28px;

    width: 205px;
    height: 205px;

    z-index: 15;

    border-radius: 50%;

    border:
        5px solid #111;

    background:
        rgba(30, 40, 30, .72);

    overflow: visible;

    box-shadow:
        0 4px 0 rgba(0, 0, 0, .25);
}


.bf-minimap-wrap canvas {
    width: 100%;
    height: 100%;

    border-radius: 50%;
}


.bf-map-n,
.bf-map-e,
.bf-map-s,
.bf-map-o {
    position: absolute;

    font-size: 18px;
    font-weight: 900;

    color: white;
}


.bf-map-n {
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
}


.bf-map-s {
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%);
}


.bf-map-o {
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
}


.bf-map-e {
    right: -18px;
    top: 50%;
    transform: translateY(-50%);
}


.bf-map-key {
    display: none;
}


/* =========================================================
   PLAYER CARD
   ========================================================= */

.bf-player-card {
    position: absolute;

    left: 24px;
    bottom: 22px;

    width: 420px;

    padding:
        18px 20px 15px;

    box-sizing: border-box;

    background:
        linear-gradient(160deg,
            rgba(34, 74, 111, .96),
            rgba(27, 48, 65, .96));

    border:
        5px solid #121819;

    border-radius:
        26px 26px 20px 20px;

    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, .2),
        0 6px 0 rgba(0, 0, 0, .28);

    z-index: 20;
}


.bf-player-head {
    display: flex;
    align-items: center;

    gap: 16px;
}


.bf-health-icon {
    width: 68px;
    height: 68px;

    display: grid;
    place-items: center;

    color: white;

    background:
        #3f9dff;

    border:
        5px solid white;

    border-radius: 13px;

    font-size: 62px;
    line-height: 60px;

    box-shadow:
        0 0 0 4px #15202a;
}


.bf-player-head span {
    display: block;

    color:
        #a8d8ff;

    font-size: 18px;
    font-weight: 900;
}


.bf-player-head strong {
    display: block;

    margin-top: -5px;

    font-size: 54px;
    line-height: 58px;

    color: white;
}


.bf-health-track {
    height: 8px;

    margin:
        8px 0 12px;

    background:
        rgba(0, 0, 0, .55);

    border-radius: 20px;

    overflow: hidden;
}


.bf-health-track i {
    display: block;

    width: 100%;
    height: 100%;

    background:
        #83c4ff;
}


/* =========================================================
   NEEDS
   ========================================================= */

.bf-needs {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 14px;
}


.bf-need span {
    display: block;

    margin-bottom: 4px;

    font-size: 12px;
    font-weight: 900;
}


.bf-need i {
    display: block;

    height: 11px;

    padding: 2px;

    background:
        rgba(0, 0, 0, .72);

    border:
        2px solid #efe6c7;

    border-radius: 12px;

    overflow: hidden;

    box-sizing: border-box;
}


.bf-need b {
    display: block;

    width: 100%;
    height: 100%;

    border-radius: 8px;
}


.bf-hunger b {
    background:
        var(--bf-yellow);
}


.bf-water b {
    background:
        var(--bf-water);
}


.bf-stamina b {
    background:
        var(--bf-green);
}


/* =========================================================
   PLAYER FOOTER
   ========================================================= */

.bf-player-footer {
    display: flex;

    justify-content:
        space-between;

    align-items:
        flex-end;

    margin-top: 13px;

    padding-top: 11px;

    border-top:
        2px solid rgba(255, 255, 255, .12);
}


.bf-player-footer strong {
    font-size: 16px;
}


.bf-xp {
    display: inline-block;

    width: 110px;
    height: 9px;

    margin:
        0 7px;

    background:
        #242a28;

    border:
        2px solid #e8ddb9;

    border-radius: 8px;

    overflow: hidden;
}


.bf-xp i {
    display: block;

    width: 0%;
    height: 100%;

    background:
        var(--bf-yellow);
}


.bf-player-footer small {
    font-size: 10px;
}


.bf-money {
    display: flex;

    align-items: center;

    gap: 7px;

    font-size: 21px;
}


.bf-money span {
    color:
        #ffc42f;
}


.bf-money strong {
    font-size: 22px;
}


.bf-weight {
    margin-top: 6px;

    font-size: 11px;

    opacity: .85;
}


/* =========================================================
   HOTBAR
   ========================================================= */

.bf-hotbar {
    position: absolute;

    left: 50%;
    bottom: 26px;

    transform:
        translateX(-50%);

    display: flex;

    gap: 8px;

    z-index: 22;
}


.bf-slot {
    position: relative;

    width: 72px;
    height: 68px;

    display: grid;
    place-items: center;

    background:
        linear-gradient(#303533,
            #171a19);

    border:
        4px solid #111;

    border-radius: 13px;

    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, .16);

    color: white;
}


.bf-slot.active {
    border-color:
        #ffd435;

    box-shadow:
        0 0 0 2px #111,
        inset 0 2px 0 rgba(255, 255, 255, .15);
}


.bf-slot-icon {
    font-size: 29px;

    line-height: 1;
}


.bf-slot small {
    position: absolute;

    bottom: -24px;

    font-size: 17px;
    font-weight: 900;
}


.bf-slot-count {
    position: absolute;

    right: 4px;
    top: -15px;

    font-size: 17px;
    font-weight: 900;
}


/* =========================================================
   KILL FEED
   ========================================================= */

.bf-killfeed {
    position: absolute;

    top: 28px;
    right: 28px;

    width: 270px;

    z-index: 18;
}


.bf-killfeed>* {
    margin-bottom: 5px;

    padding:
        5px 10px;

    background:
        rgba(16, 19, 18, .72);

    border-radius: 7px;

    font-weight: 800;
}


/* =========================================================
   CAPTURE
   ========================================================= */

.bf-capture {
    position: fixed;

    right: 26px;
    top: 50%;

    width: 240px;

    padding: 13px;

    transform:
        translateY(-50%);

    background:
        rgba(28, 45, 62, .93);

    border:
        3px solid #b7d8ed;

    border-radius: 11px;

    box-shadow:
        0 3px 0 rgba(0, 0, 0, .45);
}


.bf-capture span {
    display: block;

    font-size: 18px;
    font-weight: 900;
}


.bf-capture i {
    display: block;

    height: 7px;

    margin-top: 8px;

    background:
        #16202a;

    overflow: hidden;
}


.bf-capture b {
    display: block;

    height: 100%;

    background:
        var(--bf-blue);
}


/* =========================================================
   CROSSHAIR
   ========================================================= */

.bf-reticle {
    filter:
        drop-shadow(0 1px 1px #000);
}


.bf-reticle i,
.bf-reticle b {
    background:
        #fff !important;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1050px) {

    .bf-player-card {
        width: 340px;

        transform:
            scale(.83);

        transform-origin:
            left bottom;
    }

    .bf-hotbar {
        transform:
            translateX(-50%) scale(.78);

        transform-origin:
            center bottom;
    }


    .bf-minimap-wrap {
        transform:
            scale(.78);

        transform-origin:
            left top;
    }


    .bf-scoreboard {
        transform:
            translateX(-50%) scale(.78);

        transform-origin:
            center top;
    }

}


@media (max-width: 720px) {

    .bf-player-card {
        left: 8px;
        bottom: 8px;

        transform:
            scale(.65);
    }


    .bf-hotbar {
        bottom: 8px;

        transform:
            translateX(-50%) scale(.58);
    }


    .bf-scoreboard {
        transform:
            translateX(-50%) scale(.58);
    }


    .bf-minimap-wrap {
        top: 8px;
        left: 8px;

        transform:
            scale(.60);
    }

}

#reticle {
    position: fixed;
    left: 50%;
    top: 50%;
    width: 34px;
    height: 34px;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 120;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

#reticle.hidden {
    display: none;
}

#reticle::before,
#reticle::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    background: rgba(255, 255, 255, .95);
    transform: translate(-50%, -50%);
    border-radius: 2px;
}

#reticle::before {
    width: 2px;
    height: 18px;
}

#reticle::after {
    width: 18px;
    height: 2px;
}

#reticle .reticle-dot {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 4px;
    height: 4px;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, .98);
    border-radius: 50%;
}

#reticle.aim::before {
    height: 12px;
}

#reticle.aim::after {
    width: 12px;
}

#reticle.tank::before,
#reticle.tank::after {
    width: 26px;
    height: 2px;
}

#reticle.tank::before {
    width: 2px;
    height: 26px;
}

/* =========================================================
   NOTIFICATION ARCADE
   ========================================================= */

#toast {
    position: fixed !important;

    left: auto !important;
    right: 24px !important;

    top: auto !important;
    bottom: 350px !important;

    transform: none !important;

    width: 310px;
    min-height: 64px;

    box-sizing: border-box;

    display: flex;
    align-items: center;

    padding:
        13px 18px 13px 54px;

    background:
        linear-gradient(180deg,
            rgba(47, 66, 80, 0.98),
            rgba(25, 39, 49, 0.98));

    border:
        4px solid #141a1c;

    border-radius: 14px;

    color: #fff5d9;

    font-size: 13px;
    font-weight: 800;

    line-height: 1.35;

    text-align: left;

    text-shadow:
        0 2px 0 #111;

    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, .15),
        0 5px 0 rgba(0, 0, 0, .28),
        0 8px 18px rgba(0, 0, 0, .22);

    z-index: 510;

    pointer-events: none;
}


/*
 * Petite pastille à gauche
 */
#toast::before {
    content: "!";

    position: absolute;

    left: 13px;
    top: 50%;

    width: 27px;
    height: 27px;

    transform:
        translateY(-50%);

    display: grid;
    place-items: center;

    border-radius: 50%;

    background:
        #efc43e;

    border:
        3px solid #131919;

    color:
        #172027;

    font-size: 18px;
    font-weight: 1000;

    text-shadow: none;
}


/*
 * Petit accent latéral
 */
#toast::after {
    content: "";

    position: absolute;

    left: -4px;
    top: 14px;
    bottom: 14px;

    width: 5px;

    border-radius: 6px;

    background:
        #efc43e;
}


/* =========================================================
   RECOMPENSES
   ========================================================= */

#reward-hud {
    position: fixed !important;

    left: auto !important;
    right: 24px !important;

    top: auto !important;
    bottom: 350px !important;

    transform: none !important;

    width: 310px;

    display: flex;
    flex-direction: column;

    gap: 8px;

    z-index: 505;

    pointer-events: none;
}


#reward-hud .reward-card {
    position: relative;

    width: 100%;

    box-sizing: border-box;

    margin: 0 !important;

    padding: 12px 15px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    background:
        linear-gradient(180deg,
            rgba(44, 65, 76, .97),
            rgba(25, 38, 45, .97));

    border:
        4px solid #141a1b;

    border-radius: 13px;

    color: #fff6d8;

    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, .14),
        0 4px 0 rgba(0, 0, 0, .28);

    text-shadow:
        0 2px 0 #111;
}


#reward-hud .reward-card::before {
    content: "";

    position: absolute;

    left: -4px;
    top: 11px;
    bottom: 11px;

    width: 5px;

    border-radius: 5px;

    background: #5aaff4;
}


#reward-hud .reward-card span {
    font-size: 11px;
    font-weight: 900;

    letter-spacing: .4px;
}


#reward-hud .reward-card strong {
    color: #ffe172;

    font-size: 17px;
    font-weight: 900;

    white-space: nowrap;
}


#reward-hud .reward-card strong small {
    color: #9ee49a;

    font-size: 11px;
}

#reward-hud .reward-card {
    width: 100%;

    margin: 0 !important;

    box-sizing: border-box;
}

/* =========================================================
   CAPTURE - SOUS LES SECTEURS
   ========================================================= */

#capture-hud {
    position: fixed !important;

    left: 50% !important;
    right: auto !important;

    top: 125px !important;
    bottom: auto !important;

    transform: translateX(-50%) !important;

    width: 310px !important;

    box-sizing: border-box;

    padding: 10px 16px 12px;

    background:
        linear-gradient(180deg,
            rgba(48, 70, 88, 0.97),
            rgba(27, 42, 54, 0.97));

    border: 4px solid #151b1c;

    border-radius: 13px;

    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, .18),
        0 4px 0 rgba(0, 0, 0, .28);

    text-align: center;

    z-index: 110;

    pointer-events: none;
}


/* Titre */

#capture-label {
    display: block;

    margin-bottom: 8px;

    color: #fff6d8;

    font-size: 17px;
    font-weight: 900;

    letter-spacing: .8px;

    text-transform: uppercase;

    text-shadow:
        0 2px 0 #111,
        1px 0 0 #111,
        -1px 0 0 #111;
}


/* Fond de la progression */

#capture-hud>i {
    display: block;

    width: 100%;
    height: 9px;

    padding: 2px;

    box-sizing: border-box;

    background: #101b22;

    border-radius: 10px;

    overflow: hidden;

    box-shadow:
        inset 0 1px 3px rgba(0, 0, 0, .8);
}


/* Progression */

#capture-bar {
    display: block;

    height: 100%;

    border-radius: 8px;

    background:
        linear-gradient(90deg,
            #2d8fe8,
            #69c4ff);

    box-shadow:
        0 0 5px rgba(76, 174, 255, .55);

    transition: width .15s linear;
}




/* =========================================================
   AMMO HUD - STYLE ARCADE WWII
   ========================================================= */

.bf-ammo-card {
    position: fixed !important;

    right: 28px !important;
    bottom: 26px !important;

    width: 205px;
    height: 105px;

    min-width: 0 !important;

    padding: 13px 18px !important;

    display: flex;
    align-items: center;

    gap: 15px;

    box-sizing: border-box;

    /*
     * Premier panneau
     */
    background:
        linear-gradient(
            155deg,
            #7d9168c4 0%,
            #607650ad 55%,
            #50654280 100%
        ) !important;

    border:
        5px solid #111713 !important;

    border-radius:
        24px 24px 24px 20px !important;

    box-shadow:
        inset 0 2px 0 rgba(255,255,255,.18),
        0 5px 0 rgba(0,0,0,.38) !important;

    /*
     * Très léger angle façon référence
     */
    transform:
        rotate(2deg);

    transform-origin:
        right bottom;

    z-index: 120;
}

/*
 * IMPORTANT :
 * on réaffiche le nom de l'arme
 */
.bf-ammo-card .bf-ammo-title #hud-weapon {
    display: block !important;

    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: .7px;
    text-transform: uppercase;
    white-space: nowrap;

    color: #f3f0df;

    text-shadow:
        -1px -1px 0 #101010,
         1px -1px 0 #101010,
        -1px  1px 0 #101010,
         1px  1px 0 #101010;
}
/*
 * Cartouche du nom d'arme
 */
.bf-ammo-title {
    position: absolute;
    right: 14px;
    top: -25px;
    z-index: 5;

    padding: 4px 12px 3px;

    background: linear-gradient(
        180deg,
        #7d9168c4 0%,
        #607650ad 55%,
        #50654280 100%
    );

    border: 3px solid #111713;
    border-bottom: 0;
    border-radius: 10px 10px 0 0;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.12),
        0 2px 0 rgba(0,0,0,.22);

    transform: rotate(-0.3deg);
}

.bf-ammo-bullet img {
    width: 80px;
    transform: rotate(-2deg);

    filter:
        drop-shadow(0 2px 0 #111)
        drop-shadow(1px 0 0 #111)
        drop-shadow(-1px 0 0 #111);
}

/* =========================================================
   VALEURS
   ========================================================= */

.bf-ammo-values {
    position: relative;

    flex: 1;

    min-width: 0;

    display: flex;
    flex-direction: column;

    justify-content: center;

    transform: rotate(-2deg);
}


/*
 * Nom d'arme très discret.
 * Tu peux même le supprimer avec display:none.
 */
.bf-ammo-values #hud-weapon {
    display: none !important;
}


.bf-ammo-current {
    line-height: .9;
}


.bf-ammo-current #hud-ammo {
    display: block;

    color: #fff;

    font-size: 48px;
    font-weight: 1000;

    letter-spacing: -2px;

    text-shadow:
        -2px -2px 0 #101010,
         2px -2px 0 #101010,
        -2px  2px 0 #101010,
         2px  2px 0 #101010,
         0    3px 0 #101010;
}


.bf-ammo-reserve {
    margin-top: 3px;
    margin-left: 6px;

    color: #fff;

    font-size: 20px;
    font-weight: 900;

    line-height: 1;

    text-shadow:
        -1px -1px 0 #111,
         1px -1px 0 #111,
        -1px  1px 0 #111,
         1px  1px 0 #111;
}


.bf-ammo-reserve #hud-reserve {
    font-size: 21px;
}


/*
 * R recharge très discret.
 */
.bf-reload {
    position: absolute;

    left: 5px;
    bottom: -25px;

    font-size: 8px !important;
    font-weight: 900;
     transform: rotate(2deg);

    white-space: nowrap;

    color:
        rgba(255,255,255,.92);

    text-shadow:
        0 1px 2px #000;
}


/*
 * Ancien bouclier définitivement supprimé
 */
.bf-armor {
    display: none !important;
}

/* =========================================================
   PLAYER HUD - ARCADE WWII
   ========================================================= */

.bf-player-card {
    position: fixed !important;

    left: 24px !important;
    bottom: 22px !important;

    width: 470px !important;
    height: 240px;

    padding:
        18px 20px 14px 112px !important;

    box-sizing: border-box;

    background:
        linear-gradient(
            155deg,
            #31597a 0%,
            #294e6d 45%,
            #213e58 100%
        ) !important;

    border:
        5px solid #101719 !important;

    border-radius:
        29px 32px 24px 24px !important;

    box-shadow:
        inset 0 3px 0 rgba(255,255,255,.18),
        0 6px 0 rgba(0,0,0,.38),
        0 12px 28px rgba(0,0,0,.22) !important;

    color: #fff;

    text-shadow:
        -2px -2px 0 #111,
         2px -2px 0 #111,
        -2px  2px 0 #111,
         2px  2px 0 #111;

    overflow: visible;

    z-index: 120;
}


/* =========================================================
   PORTRAIT
   ========================================================= */

.bf-player-portrait {
    position: absolute;

    left: -18px;
    top: -74px;

    width: 145px;
    height: 185px;

    z-index: 5;

    pointer-events: none;
}


.bf-player-portrait img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    display: block;

    filter:
        drop-shadow(3px 4px 0 #111)
        drop-shadow(-2px 0 0 #111);
}


/* =========================================================
   SANTE
   ========================================================= */

.bf-player-head {
    display: flex !important;
    align-items: center;

    gap: 14px;

    height: 74px;
}


.bf-health-icon {
    width: 72px !important;
    height: 72px !important;

    flex: 0 0 72px;

    display: grid;
    place-items: center;

    background: transparent !important;

    border: 0 !important;

    box-shadow: none !important;
}


.bf-health-icon img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    filter:
        drop-shadow(2px 3px 0 #111);
}


.bf-health-data {
    display: flex;
    align-items: center;

    gap: 11px;
}


.bf-health-data span {
    color: #9dd5ff !important;

    font-size: 21px !important;
    font-weight: 1000 !important;

    letter-spacing: .3px;
}


.bf-health-data strong {
    color: white;

    font-size: 60px !important;
    font-weight: 1000;

    line-height: 1;

    letter-spacing: -3px;
}


/*
 * On garde l'ID hud-hp-bar pour le JS,
 * mais il n'est pas visible dans ce design.
 */
.bf-health-track {
    position: absolute;

    width: 1px !important;
    height: 1px !important;

    opacity: 0;

    pointer-events: none;
}


/* =========================================================
   BESOINS
   ========================================================= */

.bf-needs {
    position: absolute;

    left: 16px;
    right: 16px;

    top: 105px;

    display: grid !important;

    grid-template-columns:
        1fr 1fr 1.25fr !important;

    gap: 14px !important;

    padding:
        9px 10px 10px;

    background:
        rgba(14, 31, 45, .44);

    border-radius: 12px;

    border:
        2px solid rgba(255,255,255,.08);
}


.bf-need {
    min-width: 0;
}


.bf-need-title {
    display: flex;

    align-items: center;

    gap: 5px;

    margin-bottom: 4px;
}


.bf-need-title img {
    width: 24px;
    height: 24px;

    object-fit: contain;

    flex: 0 0 24px;

    filter:
        drop-shadow(1px 2px 0 #111);
}


.bf-stamina .bf-need-title img {
    width: 29px;
    height: 29px;

    flex-basis: 29px;
}


.bf-need-title span {
    margin: 0 !important;

    color: #fff4d8 !important;

    font-size: 13px !important;
    font-weight: 1000 !important;

    line-height: 1;
}


.bf-need-row {
    display: flex;

    align-items: center;

    gap: 5px;
}


.bf-need-track {
    flex: 1;

    height: 13px !important;

    padding: 2px !important;

    display: block;

    box-sizing: border-box;

    border:
        2px solid #eee7c7 !important;

    border-radius:
        7px !important;

    background:
        #101719 !important;

    overflow: hidden;
}


.bf-need-track b {
    display: block;

    width: 100%;
    height: 100%;

    border-radius:
        4px;
}


.bf-hunger .bf-need-track b {
    background:
        linear-gradient(
            #ffc72f,
            #ee9310
        ) !important;
}


.bf-water .bf-need-track b {
    background:
        linear-gradient(
            #69ceff,
            #229ee7
        ) !important;
}


.bf-stamina .bf-need-track b {
    background:
        linear-gradient(
            #b9ec65,
            #6fbe35
        ) !important;
}


.bf-need-number {
    color: white;

    font-size: 13px;

    line-height: 1;

    min-width: 25px;

    text-align: right;
}


/* =========================================================
   FOOTER
   ========================================================= */

.bf-player-footer {
    position: absolute;

    left: 14px;
    right: 14px;
    bottom: 11px;

    height: 48px;

    margin: 0 !important;
    padding: 6px 8px 0 !important;

    display: grid !important;

    grid-template-columns:
        auto 1fr auto;

    align-items: center;

    gap: 10px;

    border-top:
        3px solid rgba(9,19,28,.45) !important;

    background:
        rgba(13,29,42,.28);

    border-radius:
        0 0 12px 12px;
}


/* =========================================================
   NIVEAU
   ========================================================= */

.bf-level-block {
    display: flex;

    align-items: center;

    gap: 6px;

    white-space: nowrap;
}


.bf-level-block img {
    width: 29px;
    height: 29px;

    object-fit: contain;

    filter:
        drop-shadow(1px 2px 0 #111);
}


#hud-level {
    font-size: 17px !important;

    font-weight: 1000;

    white-space: nowrap;
}


/* =========================================================
   XP
   ========================================================= */

.bf-xp-block {
    display: grid;

    grid-template-columns:
        minmax(90px, 1fr)
        auto;

    align-items: center;

    gap: 7px;
}


.bf-xp {
    width: 100% !important;
    height: 13px !important;

    margin: 0 !important;

    padding: 2px;

    box-sizing: border-box;

    background:
        #101719 !important;

    border:
        2px solid #efe6c6 !important;

    border-radius:
        7px !important;

    overflow: hidden;
}


.bf-xp i {
    display: block;

    width: 0%;
    height: 100%;

    border-radius:
        4px;

    background:
        linear-gradient(
            #ffd443,
            #e99c10
        ) !important;

    transition:
        width .25s linear;
}


#xp-next {
    color: #fff !important;

    font-size: 10px !important;

    font-weight: 900;

    white-space: nowrap;
}


/* =========================================================
   ARGENT
   ========================================================= */

.bf-money {
    display: flex !important;

    align-items: center;

    gap: 6px !important;

    white-space: nowrap;
}


.bf-money img {
    width: 34px;
    height: 34px;

    object-fit: contain;

    filter:
        drop-shadow(1px 2px 0 #111);
}


#hud-cash {
    color: #fff;

    font-size: 16px !important;

    font-weight: 800;

    white-space: nowrap;
}


/* =========================================================
   POIDS
   ========================================================= */

.bf-weight {
    position: absolute;

    left: 23px;
    bottom: -18px;

    margin: 0 !important;

    color: #f2f1dc;

    font-size: 10px !important;

    font-weight: 800;

    letter-spacing: .3px;

    text-shadow:
        0 2px 0 #111;
}

.bf-player-card.team-allies {
    background:
        linear-gradient(
            155deg,
            #31597a 0%,
            #294e6d 45%,
            #213e58 100%
        ) !important;

    border-color:
        #101719 !important;
}

.bf-player-card.team-axis {
    background:
        linear-gradient(
            155deg,
            #8a3b3b 0%,
            #6e2d2d 50%,
            #4a2020 100%
        ) !important;

    border-color:
        #171010 !important;

    box-shadow:
        inset 0 3px 0 rgba(255,255,255,.12),
        0 6px 0 rgba(0,0,0,.38),
        0 12px 28px rgba(0,0,0,.22) !important;
}

.bf-player-card.team-allies .bf-needs {
    background:
        rgba(13, 29, 42, .46);
}
.bf-player-card.team-axis .bf-needs {
    background:
        rgba(54, 20, 20, .48);
}
.bf-player-card.team-allies .bf-player-footer {
    background:
        rgba(13, 29, 42, .28);
}

.bf-player-card.team-axis .bf-player-footer {
    background:
        rgba(52, 18, 18, .32);
}
.bf-player-card.team-allies .bf-health-data span {
    color: #9dd5ff !important;
}

.bf-player-card.team-axis .bf-health-data span {
    color: #ffb0a9 !important;
}


/* =========================================================
   MODAL PAUSE - STYLE HUD ARCADE
   ========================================================= */

.modal {
    width: min(1040px, calc(100vw - 70px)) !important;
    padding: 26px !important;
    box-sizing: border-box;
    background: linear-gradient(
            155deg,
            #7d9168c4 0%,
            #607650ad 55%,
            #50654280 100%
        ) !important;
    border: 5px solid #101719 !important;
    border-radius: 28px !important;
    box-shadow: inset 0 3px 0 rgba(255,255,255,.16),
        0 8px 0 rgba(0,0,0,.38),
        0 22px 45px rgba(0,0,0,.32) !important;
    color: #fff !important;
    overflow: auto !important;
}


/* =========================================================
   HEADER
   ========================================================= */

.modal > header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin: 0 0 22px !important;
    padding: 0 0 18px !important;

    border-bottom:
        3px solid rgba(9,19,28,.42) !important;
}


.modal > header .eyebrow {
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase;
}


#modal-title {
    margin: 7px 0 0 !important;

    color: #fff1d1 !important;

    font-size: 34px !important;
    font-weight: 1000 !important;

    line-height: 1 !important;

    text-shadow:
        -2px -2px 0 #111,
         2px -2px 0 #111,
        -2px  2px 0 #111,
         2px  2px 0 #111;
}


/* =========================================================
   BOUTON FERMER
   ========================================================= */

#close-modal {
    width: 48px !important;
    height: 48px !important;

    padding: 0 !important;

    display: grid;
    place-items: center;

    border:
        4px solid #111713 !important;

    border-radius:
        13px !important;

    background:
        linear-gradient(
            180deg,
            #4b6172,
            #2f4454
        ) !important;

    color: #fff !important;

    font-size: 26px !important;
    font-weight: 900;

    line-height: 1;

    box-shadow:
        inset 0 2px 0 rgba(255,255,255,.12),
        0 3px 0 rgba(0,0,0,.32);

    text-shadow:
        0 2px 0 #111;

    cursor: pointer;
}


#close-modal:hover {
    filter: brightness(1.12);
    transform: translateY(-1px);
}


/* =========================================================
   LAYOUT
   ========================================================= */

.pause-layout {
    display: grid !important;

    grid-template-columns:
        minmax(320px, .95fr)
        minmax(400px, 1.05fr) !important;

    gap: 24px !important;

    align-items: stretch;
}


/* =========================================================
   BOUTONS GAUCHE
   ========================================================= */

.pause-buttons {
    display: flex !important;
    flex-direction: column;

    gap: 10px !important;
}


.pause-buttons button {
    width: 100%;

    min-height: 50px;

    padding: 12px 17px !important;

    box-sizing: border-box;

    border:
        4px solid #101719 !important;

    border-radius:
        13px !important;

    background:
        linear-gradient(
            180deg,
            #405b70,
            #2b4457
        ) !important;

    color: #f8f3df !important;

    font-size: 15px !important;
    font-weight: 600 !important;

    text-align: left;



    box-shadow:
        inset 0 2px 0 rgba(255,255,255,.10),
        0 3px 0 rgba(0,0,0,.25);

    cursor: pointer;

    transition:
        transform .12s ease,
        filter .12s ease;
}


.pause-buttons button:hover {
    transform:
        translateY(-1px);

    filter:
        brightness(1.12);
}


/* Bouton principal */

.pause-buttons button.primary {
    background: linear-gradient(180deg, #F44336, #F44336) !important;
    border-color: #111713 !important;
    color: #ffffff !important;
    text-shadow: none !important;
    box-shadow: inset 0 2px 0 rgba(255,255,255,.30),
        0 4px 0 rgba(0,0,0,.30);
}


/* Bouton lobby */

.pause-buttons button.secondary {
    margin-top: 2px;

    background:
        linear-gradient(
            180deg,
            #354b5a,
            #253a47
        ) !important;

    color:
        #d9e1dc !important;
}


/* =========================================================
   CARTE MISSION DROITE
   ========================================================= */

.pause-layout > .panel {
    margin: 0 !important;

    padding: 26px !important;

    box-sizing: border-box;

    background:
        linear-gradient(
            155deg,
            rgba(25, 51, 72, .97),
            rgba(18, 37, 52, .97)
        ) !important;

    border:
        4px solid #101719 !important;

    border-radius:
        18px !important;

    box-shadow:
        inset 0 2px 0 rgba(255,255,255,.10),
        0 4px 0 rgba(0,0,0,.28) !important;

    color:
        #f4f1dc !important;
}


.pause-layout > .panel > .eyebrow {
    color: #ffffff !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    letter-spacing: 1.8px !important;
    text-transform: uppercase;
    /* text-shadow: 0 2px 0 #111; */
}


.pause-layout > .panel > h2 {
    margin:
        11px 0 18px !important;

    color:
        #fff2d2 !important;

    font-size:
        30px !important;

    font-weight:
        1000 !important;

    text-shadow:
        0 2px 0 #111;
}


/* =========================================================
   SCORES / TICKETS
   ========================================================= */

.pause-layout .profile-metrics {
    display: grid !important;

    grid-template-columns:
        repeat(2, 1fr) !important;

    gap: 0 !important;

    margin:
        18px 0 20px !important;

    overflow: hidden;

    border:
        3px solid #101719 !important;

    border-radius:
        14px !important;

    background:
        rgba(9,20,28,.42) !important;
}


.pause-layout .metric {
    min-height: 100px;

    padding:
        18px 20px !important;

    box-sizing: border-box;

    display: flex;
    flex-direction: column;

    justify-content:
        center;

    background:
        transparent !important;

    border: 0 !important;
}


.pause-layout .metric + .metric {
    border-left:
        3px solid #101719 !important;
}


.pause-layout .metric strong {
    display: block;

    margin-bottom:
        8px;

    font-size:
        36px !important;

    font-weight:
        1000 !important;

    line-height:
        1 !important;

    text-shadow:
        0 2px 0 #111;
}


.pause-layout .metric strong.team-allies {
    color:
        #74c7ff !important;
}


.pause-layout .metric strong.team-axis {
    color:
        #ff8d87 !important;
}


.pause-layout .metric small {
    color:
        rgba(255,255,255,.65) !important;

    font-size:
        9px !important;

    font-weight:
        900 !important;

    letter-spacing:
        1.2px !important;
}


/* =========================================================
   TEXTE DE MISSION
   ========================================================= */

.pause-layout > .panel p {
    margin:
        8px 0 0 !important;

    color:
        rgba(245,241,218,.82) !important;

    font-size:
        13px !important;

    line-height:
        1.55 !important;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

    .modal {
        width:
            calc(100vw - 28px) !important;

        max-height:
            calc(100vh - 28px);

        overflow-y:
            auto !important;

        padding:
            20px !important;
    }


    .pause-layout {
        grid-template-columns:
            1fr !important;
    }


    #modal-title {
        font-size:
            28px !important;
    }
}

/* =========================================================
   LOBBY - STYLE HUD / BATTLEFIELD HEROES
   À coller à la fin de ton style.css
   ========================================================= */

:root {
    --bf-black: #0f1418;
    --bf-shadow: rgba(0, 0, 0, 0.34);

    --bf-blue-1: #3c6d98;
    --bf-blue-2: #274b69;
    --bf-blue-3: #18334a;

    --bf-panel-1: #315777;
    --bf-panel-2: #22445f;
    --bf-panel-3: #183449;

    --bf-gold-1: #ffd96e;
    --bf-gold-2: #d79e32;

    --bf-red-1: #e86f67;
    --bf-red-2: #b8423d;

    --bf-green-1: #b8df78;
    --bf-green-2: #82ba39;

    --bf-text: #fff7e2;
    --bf-text-soft: rgba(255, 247, 226, 0.78);
    --bf-line: rgba(255,255,255,0.12);
}

/* =========================================================
   BASE LOBBY
   ========================================================= */

   .faction-mark img {
    width: 35px;
}
.lobby {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: var(--bf-text);
}

/* Texte plus "arcade" */
.lobby,
.lobby button,
.lobby select,
.lobby input {
    color: var(--bf-text);
    text-shadow: 0 2px 0 rgba(0,0,0,0.28);
}

/* =========================================================
   TOPBAR
   ========================================================= */

.topbar {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 18px;
    padding: 14px 20px;
    background:
        linear-gradient(180deg, rgba(48, 89, 122, 0.96), rgba(28, 53, 74, 0.96));
    border-bottom: 4px solid var(--bf-black);
    box-shadow:
        inset 0 2px 0 rgba(255,255,255,0.12),
        0 4px 0 rgba(0,0,0,0.16);
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--bf-text);
    text-decoration: none;
    font-weight: 900;
    letter-spacing: 1px;
}

.brand img{
    width: 80px;
}

.brand > span:last-child {
    display: flex;
    flex-direction: column;
    line-height: 1;
    font-size: 18px;
}

.brand small {
    margin-top: 6px;
    font-size: 11px;
    color: #ffd56f;
    letter-spacing: 2px;
}

.emblem {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    border: 4px solid var(--bf-black);
    background: linear-gradient(180deg, var(--bf-gold-1), var(--bf-gold-2));
    color: #18222b;
    font-size: 28px;
    font-weight: 1000;
    text-shadow: none;
    box-shadow:
        inset 0 2px 0 rgba(255,255,255,0.3),
        0 4px 0 rgba(0,0,0,0.2);
    position: relative;
}

.emblem span {
    position: absolute;
    right: 5px;
    bottom: 3px;
    font-size: 10px;
    font-weight: 1000;
}

.service-tag,
.ambient-button,
.account {
    border: 4px solid var(--bf-black);
    border-radius: 14px;
    background: linear-gradient(180deg, var(--bf-panel-1), var(--bf-panel-2));
    box-shadow:
        inset 0 2px 0 rgba(255,255,255,0.12),
        0 4px 0 rgba(0,0,0,0.2);
}

.service-tag {
    justify-self: start;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 800;
    color: var(--bf-text-soft);
}

.live-dot {
    width: 8px;
    height: 8px;
    display: inline-block;
    margin-right: 8px;
    border-radius: 50%;
    background: #aee25a;
    box-shadow: 0 0 0 3px rgba(174,226,90,0.14);
}

.ambient-button {
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
    transition: .15s ease;
}

.ambient-button.active {
    background: linear-gradient(180deg, #496f91, #31516f);
}

.ambient-button:hover {
    transform: translateY(-1px);
    filter: brightness(1.08);
}

.account {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 16px;
    font-weight: 900;
}

#account-level {
    display: inline-flex;
    align-items: center;
    height: 32px;
    padding: 0 12px;
    border-radius: 10px;
    background: linear-gradient(180deg, var(--bf-gold-1), var(--bf-gold-2));
    border: 3px solid var(--bf-black);
    color: #1c242c;
    text-shadow: none;
    font-size: 12px;
}

#account-cash {
    color: #ffd56f;
    font-size: 18px;
}

#account-name {
    color: var(--bf-text-soft);
    font-size: 13px;
}

/* =========================================================
   STRUCTURE
   ========================================================= */

.lobby-body {
    flex: 1;
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 0;
}

.sidebar {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 22px 18px;
    background:
        linear-gradient(180deg, rgba(27, 51, 70, 0.95), rgba(20, 37, 51, 0.97));
    border-right: 4px solid var(--bf-black);
    box-shadow: inset -1px 0 0 rgba(255,255,255,0.08);
}

.nav-caption {
    margin-bottom: 16px;
    color: #ffd56f;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2px;
}

#main-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: auto;
}

#main-nav button {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 54px;
    padding: 0 16px;
    border: 4px solid var(--bf-black);
    border-radius: 14px;
    background: linear-gradient(180deg, #375c79, #25445e);
    color: var(--bf-text);
    font-size: 15px;
    font-weight: 900;
    cursor: pointer;
    box-shadow:
        inset 0 2px 0 rgba(255,255,255,0.1),
        0 4px 0 rgba(0,0,0,0.18);
    transition: .15s ease;
}

#main-nav button span {
    width: 20px;
    text-align: center;
    opacity: 0.9;
}

#main-nav button:hover {
    transform: translateY(-1px);
    filter: brightness(1.08);
}

#main-nav button.active {
    background: linear-gradient(180deg, var(--bf-gold-1), var(--bf-gold-2));
    color: #172029;
    text-shadow: none;
}

.sidebar-foot {
    margin-top: 20px;
    padding: 16px;
    border: 4px solid var(--bf-black);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(61, 96, 122, 0.86), rgba(33, 58, 78, 0.92));
    box-shadow:
        inset 0 2px 0 rgba(255,255,255,0.08),
        0 4px 0 rgba(0,0,0,0.18);
}

.sidebar-foot .tiny-label,
.build {
    display: block;
    color: #ffd56f;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.sidebar-foot strong {
    display: block;
    margin: 10px 0 8px;
    font-size: 16px;
}

.sidebar-foot p {
    margin: 0 0 12px;
    color: var(--bf-text-soft);
    line-height: 1.45;
    font-size: 13px;
}

/* =========================================================
   PAGE
   ========================================================= */

.page {
    padding: 26px;
    overflow: auto;
}

.page-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 22px;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    color: #ffd56f;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2px;
}

.page-head h1 {
    margin: 0 0 8px;
    font-size: 52px;
    line-height: 0.95;
    font-weight: 1000;
    color: #fff3d5;
}

.page-head p {
    margin: 0;
    max-width: 780px;
    color: var(--bf-text-soft);
    font-size: 15px;
    line-height: 1.45;
}

.stamp {
    align-self: flex-start;
    padding: 10px 16px;
    border: 4px solid var(--bf-black);
    border-radius: 12px;
    background: linear-gradient(180deg, var(--bf-gold-1), var(--bf-gold-2));
    color: #192028;
    font-size: 12px;
    font-weight: 1000;
    letter-spacing: 1.5px;
    text-shadow: none;
    box-shadow:
        inset 0 2px 0 rgba(255,255,255,0.28),
        0 4px 0 rgba(0,0,0,0.2);
}

/* =========================================================
   DEPLOY LAYOUT
   ========================================================= */

.deploy-layout {
    display: grid;
    grid-template-columns: minmax(420px, 1fr) 520px;
    gap: 24px;
    align-items: start;
}

.panel,
.scene-preview,
.mission-brief {
    border: 4px solid var(--bf-black);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(55, 91, 120, 0.96), rgba(30, 55, 74, 0.96));
    box-shadow:
        inset 0 2px 0 rgba(255,255,255,0.1),
        0 6px 0 rgba(0,0,0,0.18),
        0 18px 28px rgba(0,0,0,0.14);
}

.panel {
    padding: 22px;
}

.section-label {
    display: block;
    margin-bottom: 12px;
    color: #ffd56f;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.8px;
}

.factions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 18px;
}

.faction {
    min-height: 88px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 4px solid var(--bf-black);
    border-radius: 16px;
    background: linear-gradient(180deg, #2c506d, #1f3d56);
    cursor: pointer;
    box-shadow:
        inset 0 2px 0 rgba(255,255,255,0.1),
        0 4px 0 rgba(0,0,0,0.2);
    transition: .15s ease;
}

.faction:hover {
    transform: translateY(-1px);
    filter: brightness(1.06);
}

.faction.active {
    background: linear-gradient(180deg, var(--bf-gold-1), var(--bf-gold-2));
    color: #18222b;
    text-shadow: none;
}

.faction.active small,
.faction.active strong,
.faction.active .faction-mark {
    color: #18222b;
    text-shadow: none;
}

.faction.allies.active {
    background: linear-gradient(180deg, #7dc2ff, #4f8ed3);
}

.faction.axis.active {
    background: linear-gradient(180deg, #f07f78, #c54942);
}

.faction-mark {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    font-size: 24px;
    font-weight: 1000;
}

.faction strong {
    display: block;
    font-size: 21px;
    margin-bottom: 4px;
}

.faction small {
    display: block;
    color: var(--bf-text-soft);
    font-size: 12px;
}

.row-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
}

.field label {
    font-size: 12px;
    font-weight: 900;
    color: #fff2cf;
    letter-spacing: 1px;
}

.field select,
.field input {
    height: 54px;
    padding: 0 16px;
    border: 4px solid var(--bf-black);
    border-radius: 14px;
    background: linear-gradient(180deg, #203c52, #172e41);
    font-size: 15px;
    font-weight: 800;
    box-shadow:
        inset 0 2px 0 rgba(255,255,255,0.08),
        0 4px 0 rgba(0,0,0,0.16);
    outline: none;
}

.field select:focus,
.field input:focus {
    box-shadow:
        inset 0 2px 0 rgba(255,255,255,0.08),
        0 0 0 3px rgba(120, 185, 255, 0.22),
        0 4px 0 rgba(0,0,0,0.16);
}

.primary.deploy-button,
.resume-button {
    width: 100%;
    min-height: 60px;
    border: 4px solid var(--bf-black);
    border-radius: 16px;
    font-weight: 1000;
    font-size: 18px;
    cursor: pointer;
    box-shadow:
        inset 0 2px 0 rgba(255,255,255,0.18),
        0 5px 0 rgba(0,0,0,0.2);
    transition: .15s ease;
}

.primary.deploy-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    margin-top: 4px;
    background: linear-gradient(180deg, var(--bf-gold-1), var(--bf-gold-2));
    color: #172029;
    text-shadow: none;
}

.primary.deploy-button:hover,
.resume-button:hover {
    transform: translateY(-1px);
    filter: brightness(1.06);
}

.resume-button {
    margin-top: 10px;
    background: linear-gradient(180deg, #3b678b, #2a4b68);
    color: #fff2d5;
    font-size: 15px;
}

.under-button {
    margin-top: 14px;
    padding: 14px 16px;
    border: 4px solid var(--bf-black);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(28,49,66,0.9), rgba(20,36,49,0.94));
    color: var(--bf-text-soft);
    font-size: 13px;
    line-height: 1.5;
}

.deploy-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 16px;
}

.deploy-meta > div {
    padding: 16px;
    border: 4px solid var(--bf-black);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(53, 91, 120, 0.92), rgba(30, 54, 74, 0.94));
    box-shadow:
        inset 0 2px 0 rgba(255,255,255,0.08),
        0 4px 0 rgba(0,0,0,0.18);
}

.deploy-meta strong {
    display: block;
    font-size: 28px;
    line-height: 1;
    color: #fff4d4;
    margin-bottom: 8px;
}

.deploy-meta small {
    display: block;
    color: var(--bf-text-soft);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
}

/* =========================================================
   COLONNE DROITE
   ========================================================= */

.deploy-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.scene-preview {
    min-height: 118px;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background:
        linear-gradient(180deg, rgba(52, 94, 123, 0.78), rgba(27, 50, 67, 0.78)),
        radial-gradient(circle at center, rgba(255,255,255,0.06), transparent 55%);
}

.scene-preview span {
    font-size: 13px;
    font-weight: 900;
    color: #fff0ce;
    letter-spacing: 1px;
}

.scene-preview small {
    color: #ffd56f;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.map-panel {
    padding: 18px;
}

.map-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    gap: 12px;
}

.map-heading strong {
    font-size: 21px;
    color: #fff2d2;
}

.map-heading span {
    color: var(--bf-text-soft);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
}

.battlemap {
    width: 100%;
    height: auto;
    display: block;
    border: 4px solid var(--bf-black);
    border-radius: 16px;
    background: linear-gradient(180deg, #314f3f, #24392d);
    box-shadow:
        inset 0 2px 0 rgba(255,255,255,0.08),
        0 4px 0 rgba(0,0,0,0.16);
}

.map-foot {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 12px;
}

.legend {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 900;
}

.legend i {
    width: 12px;
    height: 12px;
    display: inline-block;
    border-radius: 50%;
    border: 2px solid var(--bf-black);
}

.mission-brief {
    padding: 16px 18px;
}

.mission-brief small {
    display: block;
    margin-bottom: 8px;
    color: #ffd56f;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.5px;
}

.mission-brief p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--bf-text-soft);
}

/* =========================================================
   FOOTER
   ========================================================= */

.lobby-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 12px 20px;
    background: linear-gradient(180deg, rgba(36, 64, 86, 0.97), rgba(23, 42, 58, 0.98));
    border-top: 4px solid var(--bf-black);
    font-size: 12px;
    font-weight: 900;
    color: var(--bf-text-soft);
    box-shadow: inset 0 2px 0 rgba(255,255,255,0.08);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1200px) {
    .deploy-layout {
        grid-template-columns: 1fr;
    }

    .deploy-side {
        order: -1;
    }
}

@media (max-width: 960px) {
    .topbar {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .lobby-body {
        grid-template-columns: 1fr;
    }

    .sidebar {
        border-right: 0;
        border-bottom: 4px solid var(--bf-black);
    }

    .row-fields,
    .factions,
    .deploy-meta {
        grid-template-columns: 1fr;
    }

    .page-head {
        flex-direction: column;
    }

    .lobby-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* =========================================================
   SELECTS - FULL CSS
   ========================================================= */

select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    width: 100%;
    min-height: 56px;

    padding:
        0 54px
        0 18px;

    box-sizing: border-box;

    border:
        4px solid #11181d !important;

    border-radius:
        15px !important;

    background:
        linear-gradient(
            180deg,
            #23445f 0%,
            #18354c 100%
        ) !important;

    color:
        #fff5dd !important;

    font-size:
        16px !important;

    font-weight:
        900 !important;

    line-height:
        1;

    outline:
        none !important;

    cursor:
        pointer;

    text-shadow:
        0 2px 0
        rgba(0,0,0,.35);

    box-shadow:
        inset 0 2px 0
        rgba(255,255,255,.10),

        inset 0 0 0 2px
        rgba(230,195,105,.72),

        0 4px 0
        rgba(0,0,0,.26),

        0 9px 16px
        rgba(0,0,0,.12);

    transition:
        transform .12s ease,
        filter .12s ease,
        box-shadow .12s ease;
}


/* =========================================================
   FLÈCHE CUSTOM
   ========================================================= */

/*
 * Le select natif ne permet pas de pseudo-element
 * fiable directement.
 *
 * Donc on utilise une image SVG inline en background.
 */
select {
    background-image:
        linear-gradient(
            180deg,
            #23445f 0%,
            #18354c 100%
        ),

        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='12' viewBox='0 0 18 12'%3E%3Cpath d='M2 2l7 7 7-7' fill='none' stroke='%23fff1cf' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;

    background-repeat:
        no-repeat,
        no-repeat !important;

    background-position:
        center,
        right 18px center !important;

    background-size:
        auto,
        15px 10px !important;
}


/* =========================================================
   HOVER
   ========================================================= */

select:hover {
    filter:
        brightness(1.08);

    transform:
        translateY(-1px);

    box-shadow:
        inset 0 2px 0
        rgba(255,255,255,.12),

        inset 0 0 0 2px
        rgba(255,216,111,.90),

        0 5px 0
        rgba(0,0,0,.27),

        0 12px 20px
        rgba(0,0,0,.14);
}


/* =========================================================
   FOCUS
   ========================================================= */

select:focus {
    border-color:
        #10171c !important;

    box-shadow:
        inset 0 2px 0
        rgba(255,255,255,.12),

        inset 0 0 0 2px
        #ffd76e,

        0 0 0 3px
        rgba(104,177,255,.20),

        0 5px 0
        rgba(0,0,0,.27);
}


/* =========================================================
   OPTIONS
   ========================================================= */

select option {
    background:
        #17344a;

    color:
        #fff5dd;

    font-weight:
        800;

    padding:
        10px;
}


/* option sélectionnée */
select option:checked {
    background:
        #90bced;

    color:
        #16222c;
}


/* =========================================================
   DISABLED
   ========================================================= */

select:disabled {
    opacity:
        .55;

    cursor:
        not-allowed;

    filter:
        grayscale(.15);
}


/* =========================================================
   LABEL AU-DESSUS
   ========================================================= */

.field label {
    display: block;

    margin-bottom:
        7px;

    color:
        #f5e6c5 !important;

    font-size:
        11px !important;

    font-weight:
        900 !important;

    letter-spacing:
        1.25px !important;

    text-transform:
        uppercase;

    text-shadow:
        0 2px 0
        rgba(0,0,0,.28);
}

img.lobysoldierright {
    position: absolute;
    right: -100px;
    width: 200px;
    transform: scaleX(-1);
    bottom: -40px;
}
img.lobysoldierleft {
    position: absolute;
    left: -100px;
    width: 200px;
    bottom: -10px;
}

#fps-counter {
    position: fixed;
    top: 18px;
    right: 20px;

    z-index: 500;

    padding: 7px 12px;

    border: 3px solid #101719;
    border-radius: 10px;

    background:
        linear-gradient(
            180deg,
            rgba(49, 89, 122, .94),
            rgba(33, 62, 88, .94)
        );

    color: #fff3d1;

    font-size: 13px;
    font-weight: 900;

    letter-spacing: .5px;

    text-shadow:
        0 2px 0 #111;

    box-shadow:
        inset 0 2px 0 rgba(255,255,255,.12),
        0 3px 0 rgba(0,0,0,.28);

    pointer-events: none;
}

#fps-counter.fps-good {
    color: #c8f08a;
}

#fps-counter.fps-medium {
    color: #ffd56f;
}

#fps-counter.fps-low {
    color: #ff8c84;
}


#interact-hud {
    position: fixed !important;

    left: 50% !important;
    right: auto !important;

    top: auto !important;
    bottom: 115px !important;

    transform: translateX(-50%) !important;

    width: auto !important;
    max-width: 80vw;

    text-align: center;

    z-index: 520;

    pointer-events: none;
}

#vehicle-info.vehicle-card {
    position: fixed !important;

    right: 22px !important;
    bottom: 180px !important;

    left: auto !important;
    top: auto !important;

    transform:
        rotate(2deg);

    z-index: 510;

    
    width: 220px;

    display: flex;
    align-items: center;

    gap: 12px;

    padding: 11px 14px;

    box-sizing: border-box;

    border: 4px solid #101719;
    border-radius: 18px;

    background:
        linear-gradient(
            155deg,
            #5f7654 0%,
            #465d40 100%
        );

    box-shadow:
        inset 0 2px 0 rgba(255,255,255,.14),
        0 5px 0 rgba(0,0,0,.34),
        0 10px 20px rgba(0,0,0,.20);

    pointer-events: none;
}


#vehicle-info.hidden {
    display: none !important;
}


/* =========================
   BOUCLIER
   ========================= */

.vehicle-shield {
    position: relative;

    width: 48px;
    height: 58px;

    flex: 0 0 48px;

    overflow: hidden;
}


.vehicle-shield-icon {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: contain;

    z-index: 2;

    filter:
        drop-shadow(2px 3px 0 #111);
}


/*
 * Couche remplie derrière le bouclier.
 * Elle descend avec la résistance.
 */
.vehicle-shield-fill {
    position: absolute;

    left: 7px;
    right: 7px;
    bottom: 7px;

    height: 100%;

    border-radius: 8px;


    transition:
        height .18s ease;

    z-index: 1;
}


/* =========================
   TEXTE + BARRE
   ========================= */

.vehicle-status {
    flex: 1;

    min-width: 0;
}


.vehicle-label {
    display: block;

    margin-bottom: 6px;

    color: #fff3d5;

    font-size: 11px;
    font-weight: 600;

    letter-spacing: .8px;
}


.vehicle-health-track {
    width: 100%;
    height: 13px;

    padding: 2px;

    box-sizing: border-box;

    overflow: hidden;

    border: 2px solid #eee7c7;

    border-radius: 8px;

    background: #101719;
}


#vehicle-health-bar {
    display: block;

    width: 100%;
    height: 100%;

    border-radius: 5px;

    background:
        linear-gradient(
            180deg,
            #8fd8ff,
            #429fe7
        );

    transition:
        width .18s ease,
        background .18s ease;
}


.vehicle-health-value {
    display: block;

    margin-top: 5px;

    color: #fff;

    font-size: 11px;
    font-weight: 900;

    text-align: right;

    text-shadow:
        0 2px 0 #111;
}


/* =========================
   DÉGÂTS
   ========================= */

#vehicle-info.vehicle-warning
#vehicle-health-bar {
    background:
        linear-gradient(
            180deg,
            #ffd55b,
            #ed9d1c
        );
}


#vehicle-info.vehicle-critical
#vehicle-health-bar {
    background:
        linear-gradient(
            180deg,
            #ff8580,
            #d83f3a
        );
}


#vehicle-info.vehicle-warning
.vehicle-shield-fill {
    background:
        linear-gradient(
            180deg,
            #ffd55b,
            #ed9d1c
        );
}


#vehicle-info.vehicle-critical
.vehicle-shield-fill {
    background:
        linear-gradient(
            180deg,
            #ff8580,
            #d83f3a
        );
}