/* =========================================================
   BRAWL SCHOOL
   HEADER
   ========================================================= */

.site-header {
    position: relative;

    z-index: 1000;

    width: 100%;

    background:
        rgba(7, 7, 10, .94);

    border-bottom:
        1px solid
        rgba(255, 255, 255, .07);

    box-shadow:
        0 12px 40px
        rgba(0, 0, 0, .18);

    backdrop-filter:
        blur(20px);

    -webkit-backdrop-filter:
        blur(20px);
}


/* subtle bottom light */

.site-header::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: -1px;

    width: 70%;
    height: 1px;

    transform:
        translateX(-50%);

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(155, 123, 255, .10),
            rgba(255, 216, 77, .12),
            rgba(155, 123, 255, .10),
            transparent
        );

    pointer-events: none;
}


/* =========================================================
   MAIN ROW
   ========================================================= */

.header-inner {
    min-height: 108px;

    display: flex;
    align-items: center;

    flex-wrap: nowrap;

    gap: 16px;
}


/* =========================================================
   LOGO
   ========================================================= */

.header-logo {
    display: flex;
    align-items: center;

    flex: 0 0 auto;

    text-decoration: none;
}


.header-logo img {
    width: auto;
    height: 102px;

    object-fit: contain;

    transition:
        transform .45s var(--ease),
        filter .45s var(--ease);
}


.header-logo:hover img {
    transform:
        scale(1.025);

    filter:
        drop-shadow(
            0 8px 22px
            rgba(155, 123, 255, .17)
        );
}


/* =========================================================
   PLATFORM GROUP
   ========================================================= */

.header-platform-group {
    display: flex;
    align-items: center;

    gap: 20px;

    flex: 0 0 auto;

    /*
     * Move ONLY Brawl Stars + count
     * away from logo.
     */
    margin-left: 34px;
}


/* =========================================================
   GAME SELECTOR
   ========================================================= */

.game-selector {
    min-height: 50px;

    display: inline-flex;
    align-items: center;

    gap: 10px;

    padding:
        0
        15px
        0
        6px;

    flex: 0 0 auto;

    background:
        rgba(16, 16, 22, .88);

    color:
        var(--text);

    border:
        1px solid
        var(--border);

    border-radius:
        999px;

    cursor: pointer;

    transition:
        background .45s var(--ease),
        border-color .45s var(--ease),
        box-shadow .5s var(--ease),
        transform .45s var(--ease-premium);
}


.game-selector:hover {
    transform:
        translateY(-1px);

    background:
        rgba(24, 24, 31, .94);

    border-color:
        var(--border-purple);

    box-shadow:
        0 10px 30px
        rgba(116, 87, 232, .12);
}


.game-selector-icon {
    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    flex: 0 0 38px;

    color:
        #0A0910;

    background:
        linear-gradient(
            145deg,
            var(--primary-light),
            var(--primary)
        );

    border-radius:
        50%;

    box-shadow:
        0 6px 18px
        rgba(116, 87, 232, .17);

    transition:
        transform .45s var(--ease-premium);
}


.game-selector:hover
.game-selector-icon {
    transform:
        rotate(-3deg)
        scale(1.045);
}


.game-selector-icon i {
    font-size: .7rem;
}


.game-selector-copy strong {
    font-size: .84rem;

    font-weight: 800;

    white-space: nowrap;
}


.game-chevron {
    margin-left: 3px;

    color:
        var(--text-soft);

    font-size: .6rem;

    transition:
        transform .4s var(--ease),
        color .4s var(--ease);
}


.game-selector:hover
.game-chevron {
    color:
        var(--primary-light);

    transform:
        translateY(2px);
}


/* =========================================================
   LIVE COUNT
   ========================================================= */

.header-live-count {
    min-width: 142px;

    display: flex;
    align-items: center;

    gap: 9px;

    flex: 0 0 auto;
}


/* ICON */

.live-count-icon {
    position: relative;

    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    flex: 0 0 42px;
}


.live-count-core {
    position: relative;

    z-index: 3;

    width: 28px;
    height: 28px;

    display: grid;
    place-items: center;

    color:
        #0A0910;

    background:
        linear-gradient(
            145deg,
            var(--primary-light),
            var(--primary)
        );

    border-radius:
        50%;

    box-shadow:
        0 0 19px
        rgba(155, 123, 255, .24);
}


.live-count-core i {
    font-size: .65rem;
}


/* ORBITS */

.live-count-ring {
    position: absolute;

    left: 50%;
    top: 50%;

    border-radius:
        50%;
}


.live-count-ring-one {
    width: 35px;
    height: 35px;

    border:
        1px solid
        rgba(155, 123, 255, .34);

    animation:
        liveCountOrbit
        4s
        linear
        infinite;
}


.live-count-ring-two {
    width: 42px;
    height: 42px;

    border:
        1px solid
        rgba(255, 216, 77, .17);

    animation:
        liveCountOrbitReverse
        5.5s
        linear
        infinite;
}


.live-count-ring-one::after {
    content: "";

    position: absolute;

    left: 50%;
    top: -2px;

    width: 5px;
    height: 5px;

    background:
        var(--gold);

    border-radius:
        50%;

    box-shadow:
        0 0 9px
        rgba(255, 216, 77, .70);
}


/* COUNT COPY */

.live-count-copy {
    display: flex;
    flex-direction: column;

    line-height: 1;
}


.live-count-number-row {
    display: flex;
    align-items: center;

    gap: 7px;
}


.live-count-number-row strong {
    min-width: 32px;

    color:
        var(--text);

    font-size: .84rem;
    font-weight: 850;

    font-variant-numeric:
        tabular-nums;

    transition:
        opacity .28s var(--ease),
        transform .28s var(--ease);
}


.live-count-copy small {
    margin-top: 5px;

    color:
        var(--text-soft);

    font-size: .6rem;

    white-space: nowrap;
}


.live-count-dot {
    width: 6px;
    height: 6px;

    background:
        var(--success);

    border-radius:
        50%;

    box-shadow:
        0 0 11px
        rgba(66, 232, 159, .60);

    animation:
        liveCountPulse
        2.1s
        ease-in-out
        infinite;
}


.live-count-number-row strong.is-changing {
    opacity: .2;

    transform:
        translateY(2px);
}


/* =========================================================
   DESKTOP NAVIGATION
   ========================================================= */

.header-nav {
    display: flex;
    align-items: center;

    gap: 15px;

    flex: 0 1 auto;

    margin-left: auto;

    white-space: nowrap;
}


.header-nav a {
    position: relative;

    min-height: 45px;

    display: inline-flex;
    align-items: center;

    gap: 7px;

    flex: 0 0 auto;

    color:
        var(--text-muted);

    text-decoration: none;

    font-size: .82rem;
    font-weight: 700;

    transition:
        color .42s var(--ease),
        transform .42s var(--ease-premium);
}


.header-nav a > i {
    color:
        var(--text-soft);

    font-size: .8rem;

    transition:
        color .42s var(--ease),
        transform .42s var(--ease-premium);
}


.header-nav a:not(.nav-membership)::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 3px;

    width: 100%;
    height: 2px;

    background:
        linear-gradient(
            90deg,
            var(--primary),
            var(--primary-light)
        );

    border-radius:
        999px;

    transform:
        scaleX(0);

    transform-origin:
        left center;

    transition:
        transform .48s
        cubic-bezier(.16, 1, .3, 1);
}


.header-nav a:hover {
    color:
        var(--text);

    transform:
        translateY(-1px);
}


.header-nav a:hover > i {
    color:
        var(--primary-light);

    transform:
        translateY(-1px);
}


.header-nav a:hover::after {
    transform:
        scaleX(1);
}


/* =========================================================
   MEMBERSHIP
   ========================================================= */

.nav-membership {
    min-height: 44px !important;

    padding:
        0
        12px;

    color:
        var(--gold) !important;

    background:
        rgba(255, 216, 77, .045);

    border:
        1px solid
        rgba(255, 216, 77, .16);

    border-radius:
        9px;

    transition:
        background .45s var(--ease),
        border-color .45s var(--ease),
        box-shadow .5s var(--ease),
        transform .45s var(--ease-premium)
        !important;
}


.nav-membership i {
    color:
        var(--gold) !important;
}


.nav-membership:hover {
    transform:
        translateY(-2px);

    background:
        rgba(255, 216, 77, .09);

    border-color:
        rgba(255, 216, 77, .32);

    box-shadow:
        0 10px 30px
        rgba(255, 184, 46, .08);
}


/* =========================================================
   ACTIONS
   ========================================================= */

.header-actions {
    display: flex;
    align-items: center;

    gap: 9px;

    flex: 0 0 auto;

    margin-left: 6px;

    white-space: nowrap;
}


/* LOGIN */

.header-login {
    min-height: 46px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    padding:
        0
        17px;

    color:
        var(--text);

    background:
        rgba(255, 255, 255, .012);

    border:
        1px solid
        var(--border-strong);

    border-radius:
        999px;

    text-decoration: none;

    font-size: .8rem;
    font-weight: 750;

    transition:
        transform .42s var(--ease-premium),
        background .42s var(--ease),
        border-color .42s var(--ease),
        color .42s var(--ease),
        box-shadow .48s var(--ease);
}


.header-login:hover {
    transform:
        translateY(-2px);

    color:
        var(--primary-light);

    background:
        var(--surface);

    border-color:
        var(--border-purple);

    box-shadow:
        0 10px 30px
        rgba(116, 87, 232, .08);
}


/* START */

.header-start {
    min-height: 48px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    padding:
        0
        20px;

    color:
        #0A0910;

    background:
        linear-gradient(
            135deg,
            var(--primary-light),
            var(--primary)
        );

    border-radius:
        999px;

    text-decoration: none;

    font-size: .8rem;
    font-weight: 900;

    box-shadow:
        0 10px 30px
        rgba(116, 87, 232, .18);

    transition:
        transform .45s var(--ease-premium),
        box-shadow .5s var(--ease),
        filter .45s var(--ease);
}


.header-start:hover {
    transform:
        translateY(-2px);

    filter:
        brightness(1.055);

    box-shadow:
        0 16px 42px
        rgba(116, 87, 232, .30);
}


.header-start i {
    transition:
        transform .42s var(--ease);
}


.header-start:hover i {
    transform:
        translateX(3px);
}


/* =========================================================
   MOBILE BUTTON
   ========================================================= */

.mobile-toggle {
    width: 44px;
    height: 44px;

    display: none;

    place-items: center;

    background:
        var(--surface);

    color:
        var(--text);

    border:
        1px solid
        var(--border);

    border-radius:
        11px;

    cursor: pointer;
}


/* =========================================================
   MOBILE MENU
   ========================================================= */

.mobile-menu {
    max-height: 0;

    overflow: hidden;

    opacity: 0;

    pointer-events: none;

    background:
        rgba(9, 9, 13, .98);

    border-top:
        1px solid
        transparent;

    transition:
        max-height .5s var(--ease),
        opacity .35s var(--ease),
        border-color .35s var(--ease);
}


.mobile-menu.open {
    max-height: 650px;

    opacity: 1;

    pointer-events: auto;

    border-color:
        var(--border);
}


.mobile-menu-inner {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 8px;

    padding-top: 15px;
    padding-bottom: 20px;
}


.mobile-menu a {
    min-height: 50px;

    display: flex;
    align-items: center;

    gap: 10px;

    padding:
        0
        14px;

    color:
        var(--text-muted);

    background:
        var(--surface);

    border:
        1px solid
        var(--border);

    border-radius:
        10px;

    text-decoration: none;

    transition:
        transform .4s var(--ease-premium),
        color .4s var(--ease),
        background .4s var(--ease),
        border-color .4s var(--ease);
}


.mobile-menu a:hover {
    transform:
        translateX(3px);

    color:
        var(--text);

    background:
        var(--surface-hover);

    border-color:
        var(--border-purple);
}


.mobile-menu a i {
    width: 18px;

    color:
        var(--primary-light);

    text-align: center;
}


.mobile-membership {
    color:
        var(--gold) !important;
}


.mobile-membership i {
    color:
        var(--gold) !important;
}


/* =========================================================
   ANIMATIONS
   ========================================================= */

@keyframes liveCountOrbit {

    from {
        transform:
            translate(-50%, -50%)
            rotate(0deg);
    }

    to {
        transform:
            translate(-50%, -50%)
            rotate(360deg);
    }

}


@keyframes liveCountOrbitReverse {

    from {
        transform:
            translate(-50%, -50%)
            rotate(360deg);
    }

    to {
        transform:
            translate(-50%, -50%)
            rotate(0deg);
    }

}


@keyframes liveCountPulse {

    0%,
    100% {
        opacity: .55;
    }

    50% {
        opacity: 1;

        box-shadow:
            0 0 0 4px
            rgba(66, 232, 159, .05),
            0 0 13px
            rgba(66, 232, 159, .68);
    }

}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1500px) {

    .header-logo img {
        height: 90px;
    }

    .header-platform-group {
        margin-left: 18px;

        gap: 14px;
    }

    .header-nav {
        gap: 11px;
    }

    .header-nav a {
        font-size: .76rem;
    }

    .header-live-count {
        min-width: 130px;
    }

}


@media (max-width: 1320px) {

    .header-live-count {
        display: none;
    }

}


@media (max-width: 1160px) {

    .header-nav {
        display: none;
    }

    .header-actions {
        margin-left: auto;
    }

    .mobile-toggle {
        display: grid;
    }

}


@media (max-width: 800px) {

    .header-inner {
        min-height: 80px;
    }

    .header-logo img {
        height: 66px;
    }

    .header-platform-group {
        display: none;
    }

}


@media (max-width: 560px) {

    .header-login {
        display: none;
    }

    .header-start {
        min-height: 43px;

        padding:
            0
            15px;
    }

    .mobile-menu-inner {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 400px) {

    .header-start span {
        display: none;
    }

    .header-start {
        width: 43px;

        padding: 0;
    }

}
/* =========================================================
   MOBILE HEADER
   Logo maior + mais para a direita
   ========================================================= */

@media (max-width: 800px) {

    .header-inner {
        position: relative;

        min-height: 100px;

        display: flex;
        align-items: center;

        padding-left: 38px;
        padding-right: 18px;
    }

    .header-logo {
        position: static;

        display: flex;
        align-items: center;
        justify-content: flex-start;

        flex: 0 0 auto;

        margin-right: auto;

        transform: none;
    }

    .header-logo img {
        width: auto;
        height: 98px;

        max-width: 260px;

        object-fit: contain;
    }

    .header-actions {
        display: flex;
        align-items: center;

        margin-left: auto;

        z-index: 10;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .header-inner {
        min-height: 94px;

        padding-left: 30px;
        padding-right: 14px;
    }

    .header-logo img {
        width: auto;
        height: 90px;

        max-width: 240px;
    }

}
/* =========================================================
   AUTHENTICATED USER
   ========================================================= */

.header-user-menu {
    position: relative;

    flex: 0 0 auto;
}


/* =========================================================
   USER BUTTON
   ========================================================= */

.header-user-button {
    min-height: 50px;

    display: flex;
    align-items: center;

    gap: 9px;

    padding:
        5px
        13px
        5px
        6px;

    color:
        var(--text);

    background:
        rgba(255, 255, 255, .025);

    border:
        1px solid
        var(--border);

    border-radius:
        999px;

    cursor: pointer;

    transition:
        transform .45s var(--ease-premium),
        background .45s var(--ease),
        border-color .45s var(--ease),
        box-shadow .5s var(--ease);
}


.header-user-button:hover {
    transform:
        translateY(-1px);

    background:
        var(--surface-hover);

    border-color:
        var(--border-purple);

    box-shadow:
        0 12px 34px
        rgba(116, 87, 232, .11);
}


/* AVATAR */

.header-user-avatar {
    width: 39px;
    height: 39px;

    display: grid;
    place-items: center;

    flex:
        0 0 39px;

    color:
        #09090C;

    background:
        linear-gradient(
            145deg,
            #FFE775,
            var(--gold)
        );

    border-radius:
        50%;

    box-shadow:
        0 7px 20px
        rgba(255, 216, 77, .10);
}


/* COPY */

.header-user-copy {
    min-width: 0;

    display: flex;
    flex-direction: column;

    align-items: flex-start;

    line-height: 1;
}


.header-user-copy small {
    margin-bottom:
        4px;

    color:
        var(--text-soft);

    font-size:
        .43rem;

    font-weight:
        800;

    letter-spacing:
        .09em;
}


.header-user-copy strong {
    max-width:
        115px;

    overflow:
        hidden;

    color:
        var(--text);

    font-size:
        .69rem;

    font-weight:
        800;

    text-overflow:
        ellipsis;

    white-space:
        nowrap;
}


.header-user-chevron {
    margin-left:
        2px;

    color:
        var(--text-soft);

    font-size:
        .55rem;

    transition:
        transform .4s
        var(--ease-premium),
        color .4s
        var(--ease);
}


.header-user-menu.open
.header-user-chevron {
    color:
        var(--primary-light);

    transform:
        rotate(180deg);
}


/* =========================================================
   DROPDOWN
   ========================================================= */

.header-user-dropdown {
    position: absolute;

    z-index: 2500;

    top:
        calc(100% + 12px);

    right: 0;

    width:
        270px;

    padding:
        8px;

    visibility:
        hidden;

    opacity: 0;

    transform:
        translateY(-7px)
        scale(.975);

    transform-origin:
        top right;

    background:
        rgba(13, 13, 18, .985);

    border:
        1px solid
        var(--border-strong);

    border-radius:
        16px;

    box-shadow:
        0 28px 80px
        rgba(0, 0, 0, .55);

    backdrop-filter:
        blur(20px);

    pointer-events:
        none;

    transition:
        opacity .28s
        var(--ease),
        transform .34s
        var(--ease-premium),
        visibility .34s;
}


.header-user-menu.open
.header-user-dropdown {
    visibility:
        visible;

    opacity: 1;

    transform:
        translateY(0)
        scale(1);

    pointer-events:
        auto;
}


/* =========================================================
   PROFILE
   ========================================================= */

.header-user-dropdown-profile {
    display: flex;
    align-items: center;

    gap: 10px;

    padding:
        10px
        9px
        13px;

    border-bottom:
        1px solid
        var(--border);
}


.header-user-dropdown-avatar {
    width: 41px;
    height: 41px;

    display: grid;
    place-items: center;

    flex:
        0 0 41px;

    color:
        #09090C;

    background:
        linear-gradient(
            145deg,
            #FFE775,
            var(--gold)
        );

    border-radius:
        11px;
}


.header-user-dropdown-copy {
    min-width: 0;
}


.header-user-dropdown-copy strong {
    display: block;

    margin-bottom:
        4px;

    overflow:
        hidden;

    color:
        var(--text);

    font-size:
        .7rem;

    text-overflow:
        ellipsis;

    white-space:
        nowrap;
}


.header-user-dropdown-copy small {
    display: block;

    max-width:
        180px;

    overflow:
        hidden;

    color:
        var(--text-soft);

    font-size:
        .5rem;

    text-overflow:
        ellipsis;

    white-space:
        nowrap;
}


/* =========================================================
   CONTINUE LEARNING
   ========================================================= */

.header-user-progress {
    display: grid;

    grid-template-columns:
        auto
        minmax(0, 1fr)
        auto;

    align-items: center;

    gap: 10px;

    margin:
        8px 0;

    padding:
        10px;

    color:
        var(--text);

    background:
        linear-gradient(
            135deg,
            rgba(155, 123, 255, .09),
            rgba(255, 216, 77, .035)
        );

    border:
        1px solid
        rgba(155, 123, 255, .15);

    border-radius:
        10px;

    text-decoration:
        none;

    transition:
        transform .4s
        var(--ease-premium),
        background .4s
        var(--ease),
        border-color .4s
        var(--ease);
}


.header-user-progress:hover {
    transform:
        translateY(-1px);

    background:
        rgba(155, 123, 255, .13);

    border-color:
        var(--border-purple);
}


.header-user-progress > span {
    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    color:
        var(--gold);

    background:
        rgba(255, 216, 77, .07);

    border-radius:
        9px;
}


.header-user-progress strong,
.header-user-progress small {
    display: block;
}


.header-user-progress strong {
    margin-bottom:
        2px;

    font-size:
        .59rem;
}


.header-user-progress small {
    color:
        var(--text-soft);

    font-size:
        .46rem;
}


.header-user-progress > i {
    color:
        var(--text-soft);

    font-size:
        .55rem;
}


/* =========================================================
   DROPDOWN LINKS
   ========================================================= */

.header-user-links {
    display: flex;
    flex-direction: column;

    gap:
        2px;

    padding:
        2px 0 7px;
}


.header-user-links a,
.header-user-footer a {
    min-height:
        41px;

    display: flex;
    align-items: center;

    gap:
        9px;

    padding:
        0
        10px;

    color:
        var(--text-muted);

    border-radius:
        9px;

    text-decoration:
        none;

    font-size:
        .59rem;

    font-weight:
        700;

    transition:
        color .38s
        var(--ease),
        background .38s
        var(--ease),
        transform .38s
        var(--ease-premium);
}


.header-user-links a:hover {
    transform:
        translateX(2px);

    color:
        var(--text);

    background:
        rgba(255, 255, 255, .045);
}


.header-user-links a > i,
.header-user-footer a > i {
    width:
        16px;

    color:
        var(--primary-light);

    text-align:
        center;
}


.header-user-links
.header-admin-link > i {
    color:
        var(--gold);
}


/* =========================================================
   LOGOUT
   ========================================================= */

.header-user-footer {
    padding-top:
        7px;

    border-top:
        1px solid
        var(--border);
}


.header-user-footer
.header-logout:hover {
    transform:
        translateX(2px);

    color:
        #FF9185;

    background:
        rgba(255, 101, 79, .06);
}


.header-user-footer
.header-logout > i {
    color:
        #FF7A6A;
}


/* =========================================================
   MOBILE ACCOUNT
   ========================================================= */

.mobile-account-card {
    grid-column:
        1 / -1;

    min-height:
        65px;

    display: flex;
    align-items: center;

    gap:
        11px;

    padding:
        10px 12px;

    margin-bottom:
        5px;

    background:
        linear-gradient(
            135deg,
            rgba(155, 123, 255, .07),
            rgba(255, 216, 77, .025)
        );

    border:
        1px solid
        var(--border-purple);

    border-radius:
        11px;
}


.mobile-account-avatar {
    width:
        40px;

    height:
        40px;

    display:
        grid;

    place-items:
        center;

    flex:
        0 0 40px;

    color:
        #09090C;

    background:
        linear-gradient(
            145deg,
            #FFE775,
            var(--gold)
        );

    border-radius:
        50%;
}


.mobile-account-card small,
.mobile-account-card strong {
    display:
        block;
}


.mobile-account-card small {
    margin-bottom:
        3px;

    color:
        var(--text-soft);

    font-size:
        .49rem;
}


.mobile-account-card strong {
    font-size:
        .68rem;
}


.mobile-logout {
    color:
        #FF9185 !important;
}


.mobile-logout i {
    color:
        #FF7A6A !important;
}


/* =========================================================
   RESPONSIVE USER BUTTON
   ========================================================= */

@media (max-width: 600px) {

    .header-user-copy small {
        display:
            none;
    }

    .header-user-copy strong {
        max-width:
            75px;
    }

    .header-user-button {
        padding-right:
            10px;
    }

}


@media (max-width: 430px) {

    .header-user-copy {
        display:
            none;
    }

    .header-user-chevron {
        display:
            none;
    }

    .header-user-button {
        width:
            47px;

        height:
            47px;

        min-height:
            47px;

        justify-content:
            center;

        padding:
            4px;
    }

}
/* =========================================================
   ACCOUNT DROPDOWN LEGIBILITY
   ========================================================= */

.header-user-copy small {
    font-size: .52rem;
}

.header-user-copy strong {
    font-size: .78rem;
}


.header-user-dropdown-copy strong {
    font-size: .82rem;
}

.header-user-dropdown-copy small {
    font-size: .62rem;
}


.header-user-progress strong {
    font-size: .72rem;
}

.header-user-progress small {
    font-size: .58rem;
}


.header-user-links a,
.header-user-footer a {
    font-size: .7rem;
}


.mobile-account-card small {
    font-size: .58rem;
}

.mobile-account-card strong {
    font-size: .8rem;
}
/* =========================================================
   GAME SELECTOR — BRAWL STARS LOGO
   ========================================================= */

.game-selector {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    min-height: 52px;
    padding: 5px 12px 5px 10px;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;

    background: rgba(255, 255, 255, 0.04);

    cursor: pointer;

    transition:
        background .2s ease,
        border-color .2s ease,
        transform .2s ease;
}

.game-selector:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.14);
}

.game-selector-logo {
    width: 112px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.game-selector-logo img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
}

.game-chevron {
    flex: 0 0 auto;

    font-size: 11px;
    opacity: .65;

    transition: transform .2s ease;
}

.game-selector[aria-expanded="true"] .game-chevron {
    transform: rotate(180deg);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1200px) {

    .game-selector-logo {
        width: 96px;
        height: 38px;
    }

}


@media (max-width: 768px) {

    .game-selector {
        min-height: 46px;
        padding: 4px 9px;
    }

    .game-selector-logo {
        width: 82px;
        height: 34px;
    }

}
/* =========================================================
   GAME SELECTOR
   ========================================================= */

.game-selector {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    min-height: 54px;
    padding: 6px 14px 6px 10px;

    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 15px;

    background: rgba(255, 255, 255, 0.035);

    color: #fff;

    cursor: pointer;
}


/* GAME ICON */

.game-selector-logo {
    flex: 0 0 auto;

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.game-selector-logo img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
}


/* GAME NAME */

.game-selector-name {
    display: block;

    white-space: nowrap;

    font-size: 14px;
    font-weight: 800;
    line-height: 1;

    color: #f5f5f7;
}


/* ARROW */

.game-chevron {
    flex: 0 0 auto;

    margin-left: 4px;

    font-size: 10px;

    color: #8f8f9d;

    transition: transform .2s ease;
}

.game-selector[aria-expanded="true"] .game-chevron {
    transform: rotate(180deg);
}


/* HOVER */

.game-selector:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.14);
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .game-selector {
        min-height: 48px;
        gap: 8px;
        padding: 5px 10px 5px 7px;
    }

    .game-selector-logo {
        width: 36px;
        height: 36px;
    }

    .game-selector-name {
        font-size: 13px;
    }

}