/* Ajustes exclusivos do SMMAXON. */
.header-detail { position: relative; align-items: center; }
#smmaxom-profile[hidden] { display: none !important; }
#smmaxom-profile.active {
    box-sizing: border-box;
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    margin: 0;
    width: 290px;
    max-width: calc(100vw - 32px);
    max-height: calc(100dvh - 100px);
    overflow-y: auto;
    padding: 18px;
    gap: 16px;
    z-index: 50;
    background: var(--tp-200);
    color: var(--tp-800);
    border: 1px solid var(--tp-300);
    border-radius: 14px;
    box-shadow: 0 12px 36px #0003;
}
.header-detail .smmaxom-profile-toggle i, #smmaxom-profile .smmaxom-avatar i { display: inline-block; }
#smmaxom-profile .prodile-box { display: flex; align-items: center; gap: 12px; }
#smmaxom-profile .user-name { min-width: 0; overflow-wrap: anywhere; }
#smmaxom-profile .user-name small { display: block; }
.smmaxom-avatar {
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--tp-300);
    color: var(--tp-site-color);
    font-size: 22px;
}
#smmaxom-profile .profile-button { display: flex; gap: 8px; align-items: center; margin: 16px 0; }
#smmaxom-profile .color-change-box { display: flex; gap: 8px; }
.smmaxom-mode {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 10px 4px;
    border: 1px solid var(--tp-300);
    border-radius: 8px;
    background: var(--tp-100);
    color: inherit;
    font: inherit;
    font-size: 12px;
    cursor: pointer;
}
.smmaxom-mode[aria-pressed="true"] { border-color: var(--tp-site-color); color: var(--tp-site-color); }
.smmaxom-profile-toggle[aria-expanded="true"] { background: var(--tp-site-color); color: #fff; }
.smmaxom-profile-toggle:focus-visible, #smmaxom-profile a:focus-visible, .smmaxom-mode:focus-visible {
    outline: 2px solid var(--tp-site-color);
    outline-offset: 3px;
}
.account-box .affiliates-top { background: linear-gradient(135deg, var(--tp-300), var(--tp-200)); border-radius: 12px; }
#password-help { display: block; margin-top: 6px; }
.login-box input#remember { display: block; position: absolute; opacity: 0; width: 1px; height: 1px; }
.login-box input#remember:focus-visible + label { outline: 2px solid var(--tp-site-color); outline-offset: 3px; }
