.fx-header {
    position: relative;

    display: flex;
    flex-direction: column;

    gap: 10px;

    padding: 10px 14px 12px;

    background: linear-gradient(
        135deg,
        #100b0c,
        #251010
    );

    border-bottom: 1px solid var(--fx-border);

    z-index: 200;
}

.fx-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 8px;

    min-height: 44px;
}

.fx-header-brand {
    display: flex;
    align-items: center;

    gap: 5px;

    flex-shrink: 0;
}

.fx-header-logo {
    width: 44px;
    height: 44px;

    object-fit: contain;
}

.fx-brand-name {
    font-size: 21px;
    font-weight: 900;
    font-style: italic;

    letter-spacing: -1px;
    white-space: nowrap;
}

.fx-brand-fuji {
    color: #f4f4f4;
}

.fx-brand-x {
    color: var(--fx-primary-light);

    font-size: 1.3em;

    text-shadow: 0 0 12px rgba(255, 40, 0, .35);
}

.fx-brand-play {
    color: var(--fx-gold-light);
}


/* Language and currency controls */

.fx-header-preferences {
    display: flex;
    align-items: center;

    gap: 7px;
}


/* Authentication buttons */

.fx-header-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 9px;
}

.fx-header-actions .fx-btn {
    width: 100%;
    min-height: 35px;

    padding: 7px 12px;

    font-size: 12px;
}

@media (max-width: 380px) {

    .fx-header {
        padding: 8px 10px 10px;
    }

    .fx-header-logo {
        width: 34px;
        height: 34px;
    }

    .fx-brand-name {
        font-size: 17px;
    }

    .fx-header-preferences {
        gap: 5px;
    }

    .fx-preference-trigger {
        gap: 4px;
        padding: 6px;
    }
}

/* Original horizontal brand logo */

.fx-header-brand {
    flex: 1;
    min-width: 0;
    max-width: 190px;
}

.fx-header-horizontal-logo {
    display: block;

    width: 100%;
    max-width: 190px;

    height: 52px;

    object-fit: contain;
    object-position: left center;
}

.fx-header-preferences {
    flex-shrink: 0;
}

.fx-header-top {
    gap: 10px;
}

@media (max-width: 380px) {

    .fx-header-horizontal-logo {
        height: 44px;
        max-width: 150px;
    }
}
