@import '_content/Blazored.Modal/Blazored.Modal.bundle.scp.css';

/* /Components/Layout/MainLayout.razor.rz.scp.css */
main[b-zqer9ercza] {
    flex: 1;
}

#blazor-error-ui[b-zqer9ercza] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-zqer9ercza] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-pebtc3jsk5],
.components-reconnect-repeated-attempt-visible[b-pebtc3jsk5],
.components-reconnect-failed-visible[b-pebtc3jsk5],
.components-pause-visible[b-pebtc3jsk5],
.components-resume-failed-visible[b-pebtc3jsk5],
.components-rejoining-animation[b-pebtc3jsk5] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-pebtc3jsk5],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-pebtc3jsk5],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-pebtc3jsk5],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-pebtc3jsk5],
#components-reconnect-modal.components-reconnect-retrying[b-pebtc3jsk5],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-pebtc3jsk5],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-pebtc3jsk5],
#components-reconnect-modal.components-reconnect-failed[b-pebtc3jsk5],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-pebtc3jsk5] {
    display: block;
}


#components-reconnect-modal[b-pebtc3jsk5] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-pebtc3jsk5 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-pebtc3jsk5 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-pebtc3jsk5 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-pebtc3jsk5]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-pebtc3jsk5 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-pebtc3jsk5 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-pebtc3jsk5 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-pebtc3jsk5 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-pebtc3jsk5] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-pebtc3jsk5] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-pebtc3jsk5] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-pebtc3jsk5] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-pebtc3jsk5] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-pebtc3jsk5] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-pebtc3jsk5] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-pebtc3jsk5 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-pebtc3jsk5] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-pebtc3jsk5 {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/BoostsInGame.razor.rz.scp.css */
/*
 * The WarzoneCS game client, redrawn for /boosts-in-game. Every size is in the
 * client's virtual pixels on a 1365×768 screen: --u is one of them at the mock-up's
 * current width (container query units), so the whole screen scales as one picture.
 * Colours, fonts and positions: warzone-client 3rdparty/mainui_cpp WzStyle.cpp
 * (theme), Main.cpp (menu list, featured card), ServerBrowser.cpp (Servers window),
 * the same values mockups/options/index.html uses. The brand-coloured highlight and
 * call-outs are the website's annotations, not part of the client.
 */

.wzm-wrap[b-otzz7ti8qc] {
    overflow-x: auto;
    border-radius: 0.75rem;
}

.wzm-screen[b-otzz7ti8qc] {
    position: relative;
    min-width: 900px;
    aspect-ratio: 1365 / 768;
    container-type: inline-size;
    overflow: hidden;
    border-radius: 0.75rem;
    border: 1px solid rgb(38 38 38);
    background: #000;
}

.wzm-canvas[b-otzz7ti8qc] {
    --u: calc(100cqw / 1365);
    position: absolute;
    inset: 0;
    font-family: Tahoma, Verdana, sans-serif;
    color: #d8d8d8;
}

.wzm-bg[b-otzz7ti8qc] {
    position: absolute;
    inset: 0;
    background: url("/img/bg.jpg") center / cover no-repeat;
    filter: saturate(0.75) brightness(0.55);
}

/* the window backdrop: black at 128/255 */
.wzm-backdrop[b-otzz7ti8qc] {
    position: absolute;
    inset: 0;
    background: rgb(0 0 0 / 0.5);
}

/* ---------- Main menu: bottom-anchored list, 32 high, Verdana 600 19 ---------- */

.wzm-menu[b-otzz7ti8qc] {
    position: absolute;
    left: calc(14 * var(--u));
    bottom: calc(51 * var(--u));
    width: calc(360 * var(--u));
}

.wzm-entry[b-otzz7ti8qc] {
    display: flex;
    align-items: center;
    height: calc(32 * var(--u));
    padding-left: calc(10 * var(--u));
    border-radius: calc(4 * var(--u));
    font: 600 calc(19 * var(--u)) Verdana, Tahoma, sans-serif;
    color: #b6b6b6;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
    text-shadow: 0 1px 2px rgb(0 0 0 / 0.6);
    cursor: default;
}

.wzm-entry:not(.wzm-spacer):hover[b-otzz7ti8qc],
a.wzm-entry:focus-visible[b-otzz7ti8qc] {
    color: #fff;
}

a.wzm-entry[b-otzz7ti8qc] {
    cursor: pointer;
}

/* ---------- Featured card: 340×150, bottom right ---------- */

.wzm-featured[b-otzz7ti8qc] {
    position: absolute;
    left: calc(993 * var(--u));
    top: calc(567 * var(--u));
    width: calc(340 * var(--u));
    height: calc(150 * var(--u));
    background: #4c5844;
    border: calc(1 * var(--u)) solid;
    border-color: #889180 #282e22 #282e22 #889180;
    border-radius: calc(6 * var(--u));
    outline: 1px solid #282e22;
}

.wzm-f-head[b-otzz7ti8qc],
.wzm-f-name[b-otzz7ti8qc],
.wzm-f-addr[b-otzz7ti8qc],
.wzm-f-fields[b-otzz7ti8qc] {
    position: absolute;
    left: calc(12 * var(--u));
    right: calc(12 * var(--u));
}

.wzm-f-head[b-otzz7ti8qc] {
    top: calc(9 * var(--u));
    display: flex;
    justify-content: space-between;
    font: bold calc(12 * var(--u)) Tahoma, Verdana, sans-serif;
    color: #c4b550;
}

.wzm-f-count[b-otzz7ti8qc] {
    font-weight: normal;
    color: #b6b6b6;
}

.wzm-f-name[b-otzz7ti8qc] {
    top: calc(28 * var(--u));
    font: bold calc(16 * var(--u)) Tahoma, Verdana, sans-serif;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wzm-f-addr[b-otzz7ti8qc] {
    top: calc(49 * var(--u));
    font-size: calc(12 * var(--u));
    color: #b6b6b6;
}

.wzm-f-fields[b-otzz7ti8qc] {
    top: calc(70 * var(--u));
    display: grid;
    grid-template-columns: 1.3fr 1fr 0.8fr;
    gap: calc(8 * var(--u));
    font-size: calc(13 * var(--u));
    color: #fff;
}

.wzm-f-fields > div[b-otzz7ti8qc] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wzm-f-fields span[b-otzz7ti8qc] {
    display: block;
    font-size: calc(11 * var(--u));
    color: #b6b6b6;
}

.wzm-f-fields em[b-otzz7ti8qc] {
    font-style: normal;
}

/* ---------- Buttons: raised olive, the default one with a black ring ---------- */

.wzm-btn[b-otzz7ti8qc] {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 calc(8 * var(--u));
    background: #4c5844;
    color: #fff;
    font: calc(13 * var(--u)) Tahoma, Verdana, sans-serif;
    white-space: nowrap;
    border: calc(1 * var(--u)) solid;
    border-color: #889180 #282e22 #282e22 #889180;
    cursor: default;
}

button.wzm-btn[b-otzz7ti8qc] {
    cursor: pointer;
}

button.wzm-btn:hover[b-otzz7ti8qc] {
    color: #c4b550;
}

.wzm-btn.def[b-otzz7ti8qc] {
    outline: calc(1 * var(--u)) solid #000;
}

.wzm-f-prev[b-otzz7ti8qc],
.wzm-f-next[b-otzz7ti8qc] {
    top: calc(114 * var(--u));
    width: calc(24 * var(--u));
    height: calc(24 * var(--u));
    padding: 0;
}

.wzm-f-prev[b-otzz7ti8qc] {
    left: calc(12 * var(--u));
}

.wzm-f-next[b-otzz7ti8qc] {
    left: calc(42 * var(--u));
}

.wzm-f-connect[b-otzz7ti8qc] {
    left: calc(244 * var(--u));
    top: calc(114 * var(--u));
    width: calc(84 * var(--u));
    height: calc(24 * var(--u));
}

/* ---------- Servers window: 86% of the screen, centred ---------- */

.wzm-window[b-otzz7ti8qc] {
    position: absolute;
    left: calc(95.5 * var(--u));
    top: calc(54 * var(--u));
    width: calc(1174 * var(--u));
    height: calc(660 * var(--u));
    background: #4c5844;
    border: calc(1 * var(--u)) solid;
    border-color: #889180 #282e22 #282e22 #889180;
    border-radius: calc(6 * var(--u));
    box-shadow: 0 0 0 1px #282e22, 0 calc(16 * var(--u)) calc(48 * var(--u)) rgb(0 0 0 / 0.6);
}

.wzm-wtitle[b-otzz7ti8qc] {
    position: absolute;
    left: calc(16 * var(--u));
    top: calc(10 * var(--u));
    font: bold calc(13 * var(--u)) Tahoma, Verdana, sans-serif;
    color: #fff;
}

.wzm-tabs[b-otzz7ti8qc] {
    position: absolute;
    left: calc(12 * var(--u));
    top: calc(32 * var(--u));
    display: flex;
    gap: calc(2 * var(--u));
}

.wzm-tab[b-otzz7ti8qc] {
    height: calc(23 * var(--u));
    padding: 0 calc(14 * var(--u));
    background: #4c5844;
    border: calc(1 * var(--u)) solid #889180;
    border-right-color: #282e22;
    border-bottom: none;
    border-radius: calc(3 * var(--u)) calc(3 * var(--u)) 0 0;
    font: calc(13 * var(--u)) Tahoma, Verdana, sans-serif;
    color: #d8d8d8;
    cursor: pointer;
}

.wzm-tab:hover[b-otzz7ti8qc] {
    color: #fff;
}

.wzm-tab.on[b-otzz7ti8qc] {
    position: relative;
    z-index: 2;
    color: #c4b550;
}

.wzm-page[b-otzz7ti8qc] {
    position: absolute;
    left: calc(12 * var(--u));
    right: calc(12 * var(--u));
    top: calc(55 * var(--u));
    bottom: calc(12 * var(--u));
    background: #4c5844;
    border: calc(1 * var(--u)) solid;
    border-color: #889180 #282e22 #282e22 #889180;
}

.wzm-list[b-otzz7ti8qc] {
    position: absolute;
    left: calc(8 * var(--u));
    right: calc(8 * var(--u));
    top: calc(8 * var(--u));
    bottom: calc(44 * var(--u));
    display: flex;
    flex-direction: column;
    background: #3e4637;
    border: calc(1 * var(--u)) solid;
    border-color: #282e22 #889180 #889180 #282e22;
}

/* position (annotation) · lock · name · game · players · map · latency */
.wzm-head[b-otzz7ti8qc],
.wzm-row[b-otzz7ti8qc] {
    display: grid;
    grid-template-columns:
        calc(92 * var(--u)) calc(18 * var(--u)) minmax(0, 1fr) calc(120 * var(--u))
        calc(64 * var(--u)) calc(110 * var(--u)) calc(59 * var(--u));
    align-items: center;
}

/* Every tab but Internet: no position column. */
.wzm-nopos .wzm-head[b-otzz7ti8qc],
.wzm-nopos .wzm-row[b-otzz7ti8qc] {
    grid-template-columns:
        calc(18 * var(--u)) minmax(0, 1fr) calc(120 * var(--u))
        calc(64 * var(--u)) calc(110 * var(--u)) calc(59 * var(--u));
}

.wzm-head > div[b-otzz7ti8qc],
.wzm-row > div[b-otzz7ti8qc] {
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 calc(4 * var(--u));
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wzm-head[b-otzz7ti8qc] {
    flex: none;
    height: calc(20 * var(--u));
    font: calc(11 * var(--u)) Tahoma, Verdana, sans-serif;
    color: #c4b550;
    border-bottom: calc(1 * var(--u)) solid #282e22;
}

.wzm-rows[b-otzz7ti8qc] {
    position: relative;
    flex: 1;
    overflow-y: auto;
    scrollbar-color: #4c5844 #5a6a50;
    scrollbar-width: thin;
}

.wzm-row[b-otzz7ti8qc] {
    height: calc(18 * var(--u));
    font: calc(13.5 * var(--u)) Tahoma, Verdana, sans-serif;
    color: #d8d8d8;
    cursor: default;
}

.wzm-row:hover[b-otzz7ti8qc] {
    background: rgb(255 255 255 / 0.06);
}

.wzm-row.is-hl[b-otzz7ti8qc] {
    background: rgb(var(--brand-500) / 0.24);
    color: #fff;
    box-shadow: inset 0 0 0 1px rgb(var(--brand-400) / 0.9);
}

.wzm-row.is-dim[b-otzz7ti8qc] {
    opacity: 0.3;
}

.wzm-lock svg[b-otzz7ti8qc] {
    width: calc(10 * var(--u));
    height: calc(10 * var(--u));
    color: #b6b6b6;
}

/* The website's annotation: the Internet-tab position. Not part of the client. */
.wzm-annot[b-otzz7ti8qc] {
    background: rgb(0 0 0 / 0.3);
    font-family: Inter, ui-sans-serif, system-ui, sans-serif !important;
}

.wzm-head .wzm-annot[b-otzz7ti8qc] {
    color: rgb(var(--brand-400));
    font-size: calc(10 * var(--u));
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.wzm-rank[b-otzz7ti8qc] {
    gap: calc(4 * var(--u));
    font-size: calc(11.5 * var(--u));
    color: #a3a3a3;
}

.wzm-band[b-otzz7ti8qc] {
    padding: 0 calc(3 * var(--u));
    border-radius: calc(3 * var(--u));
    font-size: calc(9 * var(--u));
    font-weight: 700;
    line-height: 1.35;
}

.wzm-bottom[b-otzz7ti8qc] {
    position: absolute;
    left: calc(8 * var(--u));
    right: calc(8 * var(--u));
    bottom: calc(10 * var(--u));
    height: calc(24 * var(--u));
    display: flex;
    justify-content: space-between;
}

.wzm-bottom .wzm-btn[b-otzz7ti8qc],
.wzm-bottom-right .wzm-btn[b-otzz7ti8qc] {
    position: static;
    height: 100%;
}

.wzm-bottom-right[b-otzz7ti8qc] {
    display: flex;
    gap: calc(6 * var(--u));
}

/* ---------- Highlight + call-outs (the website's, in brand colour) ---------- */

.wzm-hl[b-otzz7ti8qc] {
    color: #fff !important;
    background-color: rgb(var(--brand-500) / 0.2) !important;
    box-shadow: 0 0 0 calc(2 * var(--u)) rgb(var(--brand-400)), 0 0 calc(24 * var(--u)) rgb(var(--brand-500) / 0.55) !important;
}

.wzm-callout[b-otzz7ti8qc] {
    position: absolute;
    z-index: 5;
    max-width: calc(440 * var(--u));
    padding: calc(8 * var(--u)) calc(12 * var(--u));
    border-radius: calc(8 * var(--u));
    background: rgb(10 10 10 / 0.92);
    border: 1px solid rgb(var(--brand-500) / 0.7);
    color: #f5f5f5;
    font: 500 calc(14 * var(--u)) / 1.35 Inter, ui-sans-serif, system-ui, sans-serif;
    box-shadow: 0 calc(8 * var(--u)) calc(24 * var(--u)) rgb(0 0 0 / 0.5);
    pointer-events: none;
}

.wzm-callout ol[b-otzz7ti8qc] {
    margin-top: calc(6 * var(--u));
    padding-left: calc(18 * var(--u));
    list-style: decimal;
    font-size: calc(12.5 * var(--u));
    color: #d4d4d4;
}

.wzm-co-gamemenu[b-otzz7ti8qc] {
    left: calc(392 * var(--u));
    top: calc(489 * var(--u));
}

.wzm-co-quickplay[b-otzz7ti8qc] {
    left: calc(392 * var(--u));
    top: calc(521 * var(--u));
}

.wzm-co-featured[b-otzz7ti8qc] {
    right: calc(32 * var(--u));
    bottom: calc(213 * var(--u));
    max-width: calc(340 * var(--u));
}

.wzm-co-list[b-otzz7ti8qc] {
    right: calc(16 * var(--u));
    top: calc(26 * var(--u));
    max-width: calc(560 * var(--u));
    padding: calc(4 * var(--u)) calc(10 * var(--u));
    font-size: calc(12.5 * var(--u));
}
