/*
 * MechBook displayed chassis/variant header
 * Added by mechbook_display_identity_header_2026-08-17
 */

#mechbook-displayed-identity {
    margin-left: auto;
    display: inline-flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 0.28em;
    min-width: 0;
    line-height: 1;
    font-weight: 700;
    white-space: nowrap;
    text-align: right;

    /*
     * JavaScript replaces this with the computed font size of the
     * rendered Mech ID number whenever that element can be identified.
     */
    font-size: 4rem;
}

#mechbook-displayed-identity[hidden] {
    display: none !important;
}

#mechbook-displayed-chassis,
#mechbook-displayed-variant {
    display: inline-block;
}

@media (max-width: 900px) {
    #mechbook-displayed-identity {
        margin-left: 0;
        flex-basis: 100%;
        justify-content: flex-start;
        text-align: left;
    }
}
