.nce-hdr-row { gap: 16px; }

.nce-hdr-row > .nce-logo,
.nce-hdr-row .nce-acts { flex-shrink: 0; }
.nce-hdr-row .nce-nav { flex: none; width: max-content; }
.nce-hdr-row .nce-nav a span { display: inline; }
.nce-hdr-row > .nce-logo .horizonte-lockup { display: block; translate: 0 -2px; }

@media (width > 900px) {
    .nce-hdr {
        position: relative;
        top: auto;
    }
    .nce-hdr-row .nce-nav {
        --nav-icon-size: clamp(24px, 2.45vw, 34px);
        align-items: center;
    }
    .nce-hdr-row .nce-nav a {
        flex: none;
        align-items: center;
        gap: 5px;
        padding: 6px 7px;
        font-size: clamp(13px, 1.18vw, 16px);
        line-height: 1.2;
    }
    .nce-hdr-row .nce-nav :is(.i3d, .nce-mini),
    .nce-hdr-row .nce-acts .nce-hic {
        flex: none;
        width: var(--nav-icon-size, clamp(24px, 2.45vw, 34px));
        height: var(--nav-icon-size, clamp(24px, 2.45vw, 34px));
        margin: 0;
    }
    .nce-hdr-row .nce-acts .nce-hic { scale: 1.12; }
    .nce-hdr-row .nce-nav .nce-streaming-icon { scale: 1.4; }
    .nce-hdr-row[data-compact="true"] {
        gap: clamp(8px, 1vw, 14px);
    }
    .nce-hdr-row[data-compact="true"] > .nce-logo .horizonte-lockup {
        width: clamp(124px, 14vw, 184px);
        height: auto;
    }
    .nce-hdr-row[data-compact="true"] .nce-nav {
        flex: 1 1 auto;
        width: auto;
        align-items: center;
        flex-wrap: wrap;
        justify-content: safe center;
        margin-inline: 0;
        row-gap: 4px;
    }
    .nce-hdr-row[data-compact="true"] .nce-nav a {
        min-width: 0;
        padding-inline: 5px;
        white-space: nowrap;
    }
    .nce-hdr-row[data-compact="true"] .nce-acts .nce-ib { width: 38px; }
    .nce-hdr-row[data-compact="true"] .nce-acts .nce-acct {
        gap: 6px;
        margin-inline-start: 2px;
        padding-inline: 10px;
        font-size: 13px;
        white-space: nowrap;
    }
}

@media (max-width: 900px) {
    .nce-hdr { backdrop-filter: none; -webkit-backdrop-filter: none; }
    .nce-hdr-row .nce-burger {
        display: grid;
        flex: none;
        border: 2px solid transparent;
        background: linear-gradient(#fff, #edf7ff) padding-box,
            conic-gradient(from var(--nce-ang), #3385ff, #6fe8ff, #fff, #8a92ff, #3385ff) border-box;
        box-shadow: 0 3px 14px #6298ee55;
        animation: nce-a2 3s linear infinite;
    }
    .nce-hdr-row > .nce-logo { margin-inline-start: 7px; }
}

.nce-drawer.nce-mobile-glass {
    position: absolute;
    inset: calc(100% + 8px) auto auto 12px;
    width: min(224px, calc(100vw - 24px));
    max-height: min(365px, 62dvh);
    border: 1px solid #ffffffdc;
    border-radius: 19px;
    background: #edf7ff76;
    backdrop-filter: blur(8px) saturate(155%);
    box-shadow: 0 16px 35px -16px #27599d77;
}
.nce-mobile-glass .bd { min-height: 0; overscroll-behavior: contain; border-radius: inherit; }
.nce-mobile-glass .bd a, .nce-mobile-glass .bd button { font-size: 14px; padding: 7px 8px; gap: 8px; }
.nce-mobile-glass .i3d { flex: none; width: 27px; height: 27px; }
.nce-drawer a:focus-visible,
.nce-drawer button:focus-visible {
    outline: 3px solid var(--nce-b);
    outline-offset: 2px;
}

@media (max-width: 600px) {
    .nce-hdr-row { gap: 8px; flex-wrap: wrap; padding-block: 8px; }
    .nce-hdr-row .nce-logo { margin-right: auto; }
    .nce-hdr-row .nce-acts { gap: 4px; margin-left: auto; }
    .nce-hdr-row .horizonte-lockup { width: 150px; }
    .nce-hdr-row .nce-ib { width: 36px; height: 40px; }
    .nce-hdr-row .nce-acct { padding: 9px 12px; }
    .nce-hdr-row .nce-acts > a[aria-label="Favoritos"] { display: none; }
}
