:root {
    color-scheme: dark;
    --bg: #111b2b;
    --surface: #18263a;
    --surface-2: #203149;
    --border: #334760;
    --text: #f1f3f5;
    --muted: #9ca6b2;
    --accent: #d7dde5;
    --radius: 14px;
    --shadow: 0 14px 40px rgba(0,0,0,.30);
}

* {
    box-sizing: border-box;
}

html {
    background: var(--bg);
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at 50% -20%, #2a4262 0, transparent 38rem),
        var(--bg);
    color: var(--text);
    font-family:
        Inter,
        "Segoe UI",
        system-ui,
        -apple-system,
        sans-serif;
}

a {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(17,27,43,.88);
    border-bottom: 1px solid rgba(255,255,255,.08);
    backdrop-filter: blur(18px);
}

.header-inner {
    width: min(1500px, calc(100% - 32px));
    min-height: 66px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 18px;
}

.brand {
    font-weight: 650;
    text-decoration: none;
}

.header-section {
    color: var(--muted);
    padding-left: 18px;
    border-left: 1px solid var(--border);
}

.engine-badge {
    margin-left: auto;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--muted);
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    letter-spacing: .08em;
}

.page-shell {
    width: min(1500px, calc(100% - 32px));
    margin: auto;
    padding: 24px 0 80px;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: 14px;
}

.breadcrumbs a {
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--text);
}

.album-actions {
    margin-top: 18px;
}

.up-button {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 13px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
    color: #dbe0e6;
    font-size: 14px;
    font-weight: 550;
    text-decoration: none;
    transition:
        background .16s ease,
        border-color .16s ease,
        transform .16s ease;
}

.up-button:hover {
    background: var(--surface-2);
    border-color: #505b69;
    transform: translateY(-1px);
}

.album-heading {
    padding: 36px 0 26px;
}

.album-heading h1 {
    margin: 0;
    font-size: clamp(30px, 5vw, 56px);
    letter-spacing: -.035em;
    line-height: 1;
}

.album-heading p {
    margin: 12px 0 0;
    color: var(--muted);
}

.section-title-row {
    margin: 28px 0 15px;
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.section-title-row h2 {
    margin: 0;
    font-size: 20px;
}

.section-title-row span {
    color: var(--muted);
    font-size: 14px;
}

.album-grid {
    display: grid;
    grid-template-columns:
        repeat(auto-fill, minmax(240px, 1fr));
    gap: 18px;
}

.album-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: 0 0 0 transparent;
    text-decoration: none;
    transition:
        transform .18s ease,
        border-color .18s ease,
        box-shadow .18s ease;
}

.album-card:hover {
    transform: translateY(-3px);
    border-color: #48515d;
    box-shadow: var(--shadow);
}

.album-cover {
    height: 180px;
    background: var(--surface-2);
    overflow: hidden;
}

.album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.folder-placeholder {
    height: 100%;
    display: grid;
    place-items: center;
    color: #596473;
    font-size: 52px;
}

.album-card-body {
    padding: 14px 15px 16px;
}

.album-card-body h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 600;
}

.album-card-body p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.media-grid {
    display: grid;
    grid-template-columns:
        repeat(auto-fill, minmax(190px, 1fr));
    gap: 14px;
}

.media-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    color: var(--text);
    text-decoration: none;
    transition:
        transform .16s ease,
        border-color .16s ease;
}

.media-card:hover {
    transform: translateY(-2px);
    border-color: #505b69;
}

.media-preview {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #30444c;
}

.media-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #30444c;
}

.media-card:hover .media-preview img {
    transform: none;
}

.media-title {
    padding: 10px 11px 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #dbe0e6;
    font-size: 13px;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 8px;
    background:
        radial-gradient(circle, #29303a, #12151a);
}

.video-placeholder span {
    font-size: 42px;
}

.video-placeholder small {
    color: var(--muted);
    letter-spacing: .12em;
}

.empty-album {
    margin-top: 30px;
    padding: 30px;
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    color: var(--muted);
    text-align: center;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    grid-template-columns: 72px 1fr 72px;
    align-items: center;
    background: rgba(0,0,0,.94);
}

.lightbox[hidden] {
    display: none;
}

.lightbox-stage {
    width: 100%;
    height: 100dvh;
    min-width: 0;
    min-height: 0;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto auto;
    align-items: center;
    justify-items: center;
    padding: 22px 0 16px;
}

.lightbox-content {
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: 12px;
}

.lightbox-content img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: calc(100dvh - 155px);
    object-fit: contain;
    box-shadow: var(--shadow);
}

.lightbox-content video {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: calc(100dvh - 155px);
    object-fit: contain;
    box-shadow: var(--shadow);
}

.lightbox-caption {
    width: 100%;
    min-height: 42px;
    padding: 12px 10px 0;
    color: #d7dce2;
    text-align: center;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    appearance: none;
    border: 0;
    background: transparent;
    color: white;
    cursor: pointer;
}

.lightbox-close {
    position: absolute;
    top: 14px;
    right: 20px;
    z-index: 2;
    font-size: 38px;
    opacity: .8;
}

.lightbox-prev,
.lightbox-next {
    height: 100%;
    font-size: 56px;
    opacity: .65;
}

.lightbox-prev:hover,
.lightbox-next:hover,
.lightbox-close:hover {
    opacity: 1;
}

@media (max-width: 700px) {
    .header-section {
        display: none;
    }

    .engine-badge {
        font-size: 10px;
    }

    .album-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .album-cover {
        height: 130px;
    }

    .media-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .lightbox {
        grid-template-columns: 42px 1fr 42px;
    }

    .lightbox-prev,
    .lightbox-next {
        font-size: 38px;
    }
}
/* ==========================================================
   TGE 0.3 - ZOOM
   ========================================================== */

.lightbox-content {
    touch-action: none;
}

.lightbox-content img {
    transform-origin: center center;
    transition: transform .08s ease-out;
    user-select: none;
    -webkit-user-drag: none;
}

.lightbox-content.is-zoomed img {
    cursor: grab;
}

.lightbox-content.is-dragging img {
    cursor: grabbing;
    transition: none;
}

.zoom-toolbar {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 5px 10px;
}

.zoom-toolbar[hidden] {
    display: none;
}

.zoom-toolbar button {
    appearance: none;
    min-width: 38px;
    height: 34px;
    padding: 0 10px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: rgba(28,32,38,.92);
    color: var(--text);
    font: inherit;
    cursor: pointer;
}

.zoom-toolbar button:hover:not(:disabled) {
    background: #29303a;
    border-color: #505b69;
}

.zoom-toolbar button:disabled {
    opacity: .35;
    cursor: default;
}

.zoom-value {
    min-width: 58px;
    color: var(--muted);
    font-size: 13px;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.zoom-fit {
    min-width: 72px !important;
}

@media (max-width: 700px) {
    .zoom-toolbar {
        gap: 5px;
        padding-left: 2px;
        padding-right: 2px;
    }

    .zoom-toolbar button {
        min-width: 34px;
        height: 32px;
        padding: 0 8px;
    }

    .zoom-value {
        min-width: 50px;
        font-size: 12px;
    }

    .zoom-fit {
        min-width: 62px !important;
    }
}
/* ==========================================================
   TGE 0.4 - FIM DE GALERIA
   ========================================================== */

.lightbox-content {
    grid-row: 1;
    grid-column: 1;
}

.gallery-end {
    grid-row: 1;
    grid-column: 1;
    width: min(680px, calc(100% - 28px));
    align-self: center;
    justify-self: center;
}

.gallery-end[hidden] {
    display: none;
}

.gallery-end-card {
    padding: clamp(26px, 5vw, 48px);
    border: 1px solid var(--border);
    border-radius: 18px;
    background:
        linear-gradient(
            145deg,
            rgba(31,36,44,.98),
            rgba(17,20,25,.98)
        );
    box-shadow: var(--shadow);
    text-align: center;
}

.gallery-end-kicker {
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.gallery-end-card h2 {
    margin: 0;
    font-size: clamp(26px, 5vw, 42px);
    letter-spacing: -.025em;
}

.gallery-end-card p {
    max-width: 500px;
    margin: 14px auto 26px;
    color: var(--muted);
    line-height: 1.55;
}

.gallery-end-actions {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.end-action {
    appearance: none;
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 11px;
    background: var(--surface);
    color: var(--text);
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition:
        background .16s ease,
        border-color .16s ease,
        transform .16s ease;
}

.end-action:hover {
    background: var(--surface-2);
    border-color: #596575;
    transform: translateY(-1px);
}

.end-replay {
    border-color: #566170;
}

.lightbox-prev:disabled {
    opacity: .18;
    cursor: default;
}

.zoom-toolbar {
    grid-row: 2;
    grid-column: 1;
}

.lightbox-caption {
    grid-row: 3;
    grid-column: 1;
}

@media (max-width: 700px) {
    .gallery-end-actions {
        grid-template-columns: 1fr;
    }

    .gallery-end-card {
        padding: 24px 18px;
    }

    .end-action {
        min-height: 44px;
    }
}
/* ==========================================================
   TGE 0.4.1 - POSICOES FIXAS DO LIGHTBOX
   ========================================================== */

.lightbox-prev {
    grid-column: 1;
    grid-row: 1;
}

.lightbox-stage {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
}

.lightbox-next {
    grid-column: 3;
    grid-row: 1;
}

.gallery-end {
    width: min(680px, calc(100% - 40px));
    max-width: 680px;
    margin: auto;
}

.gallery-end-card {
    width: 100%;
}

@media (max-width: 700px) {
    .gallery-end {
        width: min(94vw, 560px);
    }
}
/* ==========================================================
   TGE 0.4.2 - NAVEGACAO ENTRE GALERIAS
   ========================================================== */

.end-up-level {
    grid-column: 1 / -1;
}

.end-gallery-prev {
    grid-column: 1;
}

.end-gallery-next {
    grid-column: 2;
}

@media (max-width: 700px) {
    .end-up-level,
    .end-gallery-prev,
    .end-gallery-next {
        grid-column: 1;
    }
}
/* ==========================================================
   TGE - LOADING DE MEDIA
   ========================================================== */

.lightbox-content {
    position: relative;
}

.lightbox-content img,
.lightbox-content video {
    transition:
        opacity .18s ease,
        transform .08s ease-out;
}

.lightbox-content img.is-loading,
.lightbox-content video.is-loading {
    opacity: 0;
}

.media-loader {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 3;
    display: grid;
    justify-items: center;
    gap: 13px;
    transform: translate(-50%, -50%);
    color: #d5dae1;
    pointer-events: none;
}

.media-loader-spinner {
    width: 42px;
    height: 42px;
    border: 3px solid rgba(255,255,255,.18);
    border-top-color: rgba(255,255,255,.9);
    border-radius: 50%;
    animation:
        tge-media-spin .75s linear infinite;
}

.media-loader-text {
    font-size: 13px;
    letter-spacing: .025em;
    white-space: nowrap;
    color: var(--muted);
}

.media-load-error {
    max-width: 480px;
    padding: 20px 24px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    color: #e0e4e9;
    text-align: center;
}

@keyframes tge-media-spin {
    to {
        transform: rotate(360deg);
    }
}
/* ==========================================================
   TGE 0.5 - VIDEO THUMBNAILS
   ========================================================== */

.media-preview {
    position: relative;
}

.video-thumb-badge {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(255,255,255,.42);
    border-radius: 999px;
    background: rgba(0,0,0,.58);
    color: white;
    font-size: 26px;
    line-height: 1;
    padding-left: 4px;
    box-shadow: 0 6px 22px rgba(0,0,0,.4);
    backdrop-filter: blur(5px);
    pointer-events: none;
    transition:
        transform .16s ease,
        background .16s ease;
}

.media-card:hover .video-thumb-badge {
    transform:
        translate(-50%, -50%)
        scale(1.08);
    background: rgba(0,0,0,.72);
}
/* ==========================================================
   TGE - TRANSICAO SUAVE DO VISOR
   ========================================================== */

.lightbox {
    opacity: 0;
    transition:
        opacity 380ms ease;
}

.lightbox-stage {
    opacity: .72;
    transform:
        translateY(12px)
        scale(.965);
    transition:
        opacity 380ms ease,
        transform 380ms cubic-bezier(.22,.61,.36,1);
}

.lightbox.is-open {
    opacity: 1;
}

.lightbox.is-open .lightbox-stage {
    opacity: 1;
    transform:
        translateY(0)
        scale(1);
}

.lightbox.is-closing {
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
    .lightbox,
    .lightbox-stage {
        transition: none;
    }
}
/* ==========================================================
   TGE - TRANSICAO VISIVEL 0.5s
   ========================================================== */

.lightbox {
    opacity: 0;
    background: rgba(0,0,0,0);
    transition:
        opacity 500ms ease,
        background-color 500ms ease;
}

.lightbox.is-open {
    opacity: 1;
    background: rgba(0,0,0,.94);
}

.lightbox-stage {
    opacity: .35;
    transform:
        translateY(24px)
        scale(.90);
    filter: blur(2px);
    transition:
        opacity 500ms ease,
        transform 500ms cubic-bezier(.22,.61,.36,1),
        filter 500ms ease;
}

.lightbox.is-open .lightbox-stage {
    opacity: 1;
    transform:
        translateY(0)
        scale(1);
    filter: blur(0);
}

.lightbox.is-closing .lightbox-stage {
    opacity: .20;
    transform:
        translateY(28px)
        scale(.88);
    filter: blur(3px);
}

.lightbox.is-closing {
    background: rgba(0,0,0,0);
}

@media (prefers-reduced-motion: reduce) {
    .lightbox,
    .lightbox-stage {
        transition: none !important;
        filter: none !important;
    }
}
/* ==========================================================
   TGE 0.5.1 - MOBILE FULL-VIEWPORT LIGHTBOX
   A area de zoom passa a ser o viewport inteiro.
   ========================================================== */

@media (pointer: coarse), (max-width: 900px) {

    .lightbox {
        display: block;
        width: 100vw;
        height: 100dvh;
        overflow: hidden;
    }

    .lightbox[hidden] {
        display: none;
    }

    .lightbox-stage {
        position: absolute;
        inset: 0;
        width: 100vw;
        height: 100dvh;
        min-width: 0;
        min-height: 0;
        padding: 0;
        display: block;
    }

    /*
     * A caixa de zoom ocupa TODA a janela.
     * A imagem inicial e menor; ao ampliar pode usar
     * todo este espaco e ser arrastada livremente.
     */
    .lightbox-content {
        position: absolute;
        inset: 0;
        width: 100vw;
        height: 100dvh;
        min-width: 0;
        min-height: 0;
        padding: 0;
        overflow: hidden;
        display: grid;
        place-items: center;
        touch-action: none;
    }

    .lightbox-content img,
    .lightbox-content video {
        width: auto;
        height: auto;
        max-width: calc(100vw - 112px) !important;
        max-height: calc(100dvh - 94px) !important;
        object-fit: contain;
    }

    /*
     * Controles passam a flutuar sobre o visor.
     * Deixam de consumir linhas do layout.
     */
    .zoom-toolbar {
        position: absolute;
        z-index: 1010;
        left: 50%;
        top: max(
            8px,
            env(safe-area-inset-top)
        );
        bottom: auto;
        transform: translateX(-50%);
        min-height: 38px;
        padding: 4px 7px;
        gap: 4px;
        border: 1px solid rgba(255,255,255,.15);
        border-radius: 11px;
        background: rgba(10,15,23,.78);
        backdrop-filter: blur(8px);
    }

    .zoom-toolbar button {
        height: 30px;
        min-width: 32px;
        padding: 0 7px;
    }

    .zoom-value {
        min-width: 46px;
        font-size: 12px;
    }

    .zoom-fit {
        min-width: 58px !important;
    }

    .lightbox-caption {
        position: absolute;
        z-index: 1009;
        left: 50%;
        bottom: max(
            8px,
            env(safe-area-inset-bottom)
        );
        width: min(
            calc(100vw - 130px),
            760px
        );
        min-height: 0;
        padding: 7px 12px;
        transform: translateX(-50%);
        border-radius: 9px;
        background: rgba(10,15,23,.72);
        backdrop-filter: blur(7px);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 13px;
    }

    .lightbox-close {
        position: absolute;
        z-index: 1020;
        top: max(
            8px,
            env(safe-area-inset-top)
        );
        right: max(
            10px,
            env(safe-area-inset-right)
        );
        width: 46px;
        height: 46px;
        display: grid;
        place-items: center;
        font-size: 38px;
    }

    .lightbox-prev,
    .lightbox-next {
        position: absolute;
        z-index: 1015;
        top: 50%;
        width: 54px;
        height: 104px;
        padding: 0;
        transform: translateY(-50%);
        font-size: 48px;
    }

    .lightbox-prev {
        left: max(
            0px,
            env(safe-area-inset-left)
        );
    }

    .lightbox-next {
        right: max(
            0px,
            env(safe-area-inset-right)
        );
    }

    /*
     * O painel final continua centrado e independente
     * da area das fotografias.
     */
    .gallery-end {
        position: absolute;
        inset: 0;
        width: 100vw;
        max-width: none;
        padding:
            60px
            18px
            24px;
        display: grid;
        place-items: center;
    }

    .gallery-end[hidden] {
        display: none;
    }

    .gallery-end-card {
        width: min(
            620px,
            calc(100vw - 36px)
        );
        max-height: calc(100dvh - 80px);
        overflow: auto;
    }
}

/*
 * Em telemovel horizontal a altura e preciosa:
 * quase toda a janela fica dedicada a imagem.
 */
@media
    (pointer: coarse)
    and (orientation: landscape) {

    .lightbox-content img,
    .lightbox-content video {
        max-width: calc(100vw - 124px) !important;
        max-height: calc(100dvh - 54px) !important;
    }

    .zoom-toolbar {
        top: 7px;
    }

    .lightbox-caption {
        bottom: 6px;
        max-width: 56vw;
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .lightbox-prev,
    .lightbox-next {
        height: 90px;
    }
}
/* ==========================================================
   TGE 0.6 - SEARCH
   ========================================================== */

.header-search {
    margin-left: auto;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: rgba(255,255,255,.025);
    color: #dce4ee;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.header-search:hover,
.header-search.is-active {
    background: var(--surface-2);
    border-color: #526985;
}

.header-search + .engine-badge {
    margin-left: 0;
}

.search-shell {
    max-width: 1100px;
}

.search-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.search-input {
    width: 100%;
    min-height: 50px;
    padding: 11px 15px;
    border: 1px solid var(--border);
    border-radius: 12px;
    outline: none;
    background: var(--surface);
    color: var(--text);
    font: inherit;
    font-size: 16px;
}

.search-input:focus {
    border-color: #6885a8;
    box-shadow:
        0 0 0 3px rgba(104,133,168,.14);
}

.search-button {
    min-height: 50px;
    padding: 0 20px;
    border: 1px solid #4d6480;
    border-radius: 12px;
    background: var(--surface-2);
    color: var(--text);
    font: inherit;
    font-weight: 650;
    cursor: pointer;
}

.search-status {
    min-height: 48px;
    display: flex;
    align-items: center;
    color: var(--muted);
    font-size: 14px;
}

.search-results {
    display: grid;
    gap: 10px;
}

.search-result {
    min-width: 0;
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: var(--surface);
    color: var(--text);
    text-decoration: none;
    transition:
        transform .15s ease,
        border-color .15s ease,
        background .15s ease;
}

.search-result:hover {
    transform: translateY(-1px);
    border-color: #536a86;
    background: var(--surface-2);
}

.search-result-thumb {
    position: relative;
    min-height: 105px;
    overflow: hidden;
    background: #080d14;
}

.search-result-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.search-video-badge {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    transform: translate(-50%, -50%);
    border-radius: 999px;
    background: rgba(0,0,0,.64);
    color: white;
    padding-left: 3px;
}

.search-result-body {
    min-width: 0;
    display: grid;
    align-content: center;
    gap: 7px;
    padding: 14px 17px;
}

.search-result-title {
    overflow: hidden;
    color: #f1f4f8;
    font-size: 16px;
    font-weight: 650;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.search-result-album {
    overflow: hidden;
    color: var(--muted);
    font-size: 13px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.search-result-kind {
    width: max-content;
    padding: 3px 7px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: #abb8c7;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.search-empty,
.search-limit-note {
    padding: 26px;
    border: 1px dashed var(--border);
    border-radius: 12px;
    color: var(--muted);
    text-align: center;
}

@media (max-width: 700px) {

    .header-inner {
        gap: 8px;
    }

    .header-search {
        margin-left: auto;
        padding-left: 9px;
        padding-right: 9px;
    }

    .search-form {
        grid-template-columns: 1fr;
    }

    .search-button {
        min-height: 44px;
    }

    .search-result {
        grid-template-columns: 108px minmax(0, 1fr);
    }

    .search-result-thumb {
        min-height: 92px;
    }

    .search-result-body {
        padding: 11px 12px;
    }

    .search-result-title {
        font-size: 14px;
    }
}
/* ==========================================================
   TGE 0.7.1 - HERO ABSTRACTO / COSMETICA
   ========================================================== */

/* Cabecalho superior mais compacto */
.site-header .header-inner {
    min-height: 52px;
}

.site-header .brand {
    font-size: 14px;
}

.site-header .header-section {
    font-size: 13px;
}

.site-header .engine-badge {
    padding: 5px 8px;
    font-size: 10px;
    opacity: .72;
}

.site-header .header-search {
    min-height: 32px;
    padding-top: 5px;
    padding-bottom: 5px;
}

/*
 * Hero da galeria.
 * O HTML existente (breadcrumb + subir + titulo + total)
 * passa a ocupar uma barra unica, sem aumentar o markup.
 */
.gallery-page .page-shell {
    position: relative;
    padding-top: 10px;
    padding-bottom: 34px;
}

.gallery-page .page-shell::before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 0;
    right: 0;
    top: 0;
    height: 128px;
    border: 1px solid rgba(116,153,198,.22);
    border-radius: 16px;
    background:
        linear-gradient(
            90deg,
            rgba(8,18,34,.90) 0%,
            rgba(8,20,39,.72) 48%,
            rgba(7,17,32,.35) 100%
        ),
        url("hero.jpg")
        center 58% / cover
        no-repeat;
    box-shadow:
        0 16px 42px rgba(0,0,0,.20);
}

.gallery-page .breadcrumbs,
.gallery-page .album-actions,
.gallery-page .album-heading {
    position: relative;
    z-index: 1;
}

.gallery-page .breadcrumbs {
    padding:
        17px
        22px
        0;
    color: #b9c9dd;
}

.gallery-page .breadcrumbs a {
    color: #d9e5f2;
}

.gallery-page .album-actions {
    position: absolute;
    z-index: 2;
    top: 16px;
    right: 20px;
    margin: 0;
}

.gallery-page .up-button {
    min-height: 32px;
    padding: 5px 10px;
    border-color: rgba(150,181,219,.26);
    background: rgba(11,25,45,.60);
    backdrop-filter: blur(7px);
}

.gallery-page .album-heading {
    min-height: 96px;
    padding:
        17px
        22px
        28px;
}

.gallery-page .album-heading h1 {
    max-width: 920px;
    font-size:
        clamp(
            30px,
            4vw,
            44px
        );
    line-height: 1.04;
    text-shadow:
        0 2px 18px rgba(0,0,0,.32);
}

.gallery-page .album-heading p {
    margin-top: 6px;
    color: #c4d2e2;
    font-size: 14px;
    text-shadow:
        0 1px 10px rgba(0,0,0,.28);
}

/* Aproxima o conteudo do hero */
.gallery-page .album-heading + section {
    margin-top: 8px;
}

.gallery-page .section-title-row {
    margin-top: 17px;
    margin-bottom: 13px;
}

.gallery-page .section-title-row h2 {
    font-size: 19px;
    letter-spacing: .01em;
}

/* Footer: fecha visualmente a pagina */
.site-footer {
    width:
        min(
            1500px,
            calc(100% - 32px)
        );
    margin: 30px auto 0;
    border-top:
        1px solid rgba(130,156,188,.18);
}

.site-footer-inner {
    min-height: 76px;
    display: grid;
    place-items: center;
    color: #8498b1;
    font-size: 13px;
    letter-spacing: .055em;
}

/* Search usa o mesmo fecho visual */
.search-shell + .site-footer {
    max-width: 1100px;
}

@media (max-width: 700px) {

    .site-header .header-inner {
        min-height: 48px;
    }

    .site-header .brand {
        max-width: 48vw;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .gallery-page .page-shell {
        padding-top: 10px;
    }

    .gallery-page .page-shell::before {
        height: 116px;
        border-radius: 13px;
        background-position: center center;
    }

    .gallery-page .breadcrumbs {
        padding:
            13px
            15px
            0;
        font-size: 12px;
    }

    .gallery-page .album-actions {
        top: 10px;
        right: 12px;
    }

    .gallery-page .album-heading {
        min-height: 84px;
        padding:
            14px
            15px
            20px;
    }

    .gallery-page .album-heading h1 {
        max-width: 72vw;
        font-size:
            clamp(
                27px,
                9vw,
                36px
            );
    }

    .gallery-page .album-heading p {
        max-width: 78vw;
        font-size: 12px;
    }

    .site-footer {
        width:
            calc(100% - 28px);
        margin-top: 24px;
    }

    .site-footer-inner {
        min-height: 64px;
        font-size: 12px;
    }
}
/* ==========================================================
   TGE 0.7.2 - HERO COMPACTO
   ========================================================== */

@media (max-width: 700px) {

    .gallery-page .breadcrumbs {
        padding:
            9px
            13px
            0;
    }

    .gallery-page .album-heading {
        min-height: 84px;
        padding:
            7px
            13px
            11px;
    }

    .gallery-page .album-heading h1 {
        font-size:
            clamp(
                25px,
                8vw,
                31px
            );
    }

    .gallery-page .album-heading p {
        margin-top: 5px;
    }
}
/* ==========================================================
   TGE 0.7.3 - CENTRAGEM VERTICAL DO HERO
   ========================================================== */

/*
 * O breadcrumb continua na zona superior.
 * Titulo + total sobem ligeiramente e ficam visualmente
 * centrados dentro da barra de 128px.
 */

.gallery-page .breadcrumbs {
    padding-top: 9px;
}

.gallery-page .album-heading {
    min-height: 88px;
    padding-top: 3px;
    padding-bottom: 9px;
    transform: translateY(-7px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gallery-page .album-heading h1 {
    margin-top: 0;
    margin-bottom: 0;
    line-height: 1;
}

.gallery-page .album-heading p {
    margin-top: 7px;
    margin-bottom: 0;
}

/*
 * Em telemovel mantemos a mesma ideia,
 * mas com deslocamento um pouco menor.
 */
@media (max-width: 700px) {

    .gallery-page .breadcrumbs {
        padding-top: 7px;
    }

    .gallery-page .album-heading {
        min-height: 78px;
        padding-top: 2px;
        padding-bottom: 7px;
        transform: translateY(-5px);
    }

    .gallery-page .album-heading p {
        margin-top: 5px;
    }
}
/* ==========================================================
   TGE 0.7.4 - IDs DO MUSEU
   ========================================================== */

.media-object-id {
    margin-top: -7px;
    padding:
        0
        11px
        11px;
    color: #8195ad;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .055em;
    font-variant-numeric: tabular-nums;
}

.search-result-object-id {
    width: max-content;
    padding: 3px 7px;
    border: 1px solid rgba(107,137,173,.30);
    border-radius: 999px;
    background: rgba(71,101,137,.12);
    color: #93aac5;
    font-size: 10px;
    font-weight: 650;
    letter-spacing: .055em;
    font-variant-numeric: tabular-nums;
}
/* ==========================================================
   TGE 0.8.0 - NAVEGACAO GLOBAL TANGERINO.NET
   ========================================================== */

.site-header {
    position: relative;
    z-index: 100;
}

.site-header .header-inner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 58px;
}

.site-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    text-decoration: none;
}

.site-logo img {
    display: block;
    width: auto;
    max-width: 180px;
    height: 38px;
    object-fit: contain;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    font-size: 13px;
}

.desktop-nav > a,
.nav-more > summary {
    color: var(--text);
    text-decoration: none;
    white-space: nowrap;
    opacity: .88;
}

.desktop-nav > a:hover,
.nav-more > summary:hover {
    opacity: 1;
}

.nav-more {
    position: relative;
}

.nav-more > summary {
    cursor: pointer;
    list-style: none;
}

.nav-more > summary::-webkit-details-marker {
    display: none;
}

.nav-more > summary::after {
    content: " ▾";
    font-size: 10px;
    opacity: .65;
}

.nav-more-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    min-width: 205px;
    padding: 7px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    box-shadow: 0 15px 35px rgba(0,0,0,.28);
}

.nav-more-menu a {
    display: block;
    padding: 10px 11px;
    border-radius: 8px;
    color: var(--text);
    text-decoration: none;
    white-space: nowrap;
}

.nav-more-menu a:hover {
    background: var(--surface2);
}

.header-search {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    white-space: nowrap;
}

.search-icon {
    font-size: 18px;
    line-height: 1;
}

.mobile-menu {
    display: none;
    position: relative;
}

.mobile-menu > summary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 39px;
    height: 39px;
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    list-style: none;
    font-size: 21px;
}

.mobile-menu > summary::-webkit-details-marker {
    display: none;
}

.mobile-menu-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(285px, calc(100vw - 24px));
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface);
    box-shadow: 0 18px 42px rgba(0,0,0,.34);
}

.mobile-menu-panel a {
    display: block;
    padding: 11px 12px;
    border-radius: 8px;
    color: var(--text);
    text-decoration: none;
}

.mobile-menu-panel a:hover {
    background: var(--surface2);
}

.mobile-menu-title {
    margin: 7px 5px 3px;
    padding-top: 9px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.media-object-id,
.search-result-object-id {
    display: none !important;
}

@media (max-width: 1120px) {

    .desktop-nav {
        gap: 10px;
        font-size: 12px;
    }

    .site-logo img {
        max-width: 155px;
        height: 34px;
    }
}

@media (max-width: 940px) {

    .desktop-nav {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .site-header .header-inner {
        gap: 10px;
    }

    .header-search {
        margin-left: auto;
    }
}

@media (max-width: 520px) {

    .site-header .header-inner {
        min-height: 54px;
    }

    .site-logo img {
        max-width: 140px;
        height: 31px;
    }

    .header-search {
        width: 39px;
        height: 39px;
        justify-content: center;
        padding: 0;
    }

    .header-search .search-label {
        display: none;
    }

    .search-icon {
        font-size: 20px;
    }
}
/* ==========================================================
   TGE 0.9.0 - FILTROS DO SEARCH
   ========================================================== */

.search-filter-panel {
    margin-top: 16px;
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface);
}

.search-filter-panel[hidden] {
    display: none !important;
}

.search-filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.search-filter-title {
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
}

.search-filter-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.search-filter-action {
    min-height: 34px;
    padding: 5px 10px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface-2);
    color: var(--text);
    font: inherit;
    font-size: 12px;
    cursor: pointer;
}

.search-filter-action:hover:not(:disabled) {
    border-color: #657f9f;
}

.search-filter-action:disabled {
    opacity: .45;
    cursor: default;
}

.search-filter-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 13px;
    padding-top: 13px;
    border-top: 1px solid var(--border);
}

.search-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    padding: 5px 10px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255,255,255,.025);
    color: var(--muted);
    font-size: 12px;
    cursor: pointer;
    user-select: none;
    transition:
        border-color .15s ease,
        background .15s ease,
        color .15s ease;
}

.search-filter-chip:hover {
    border-color: #627b99;
}

.search-filter-chip.is-selected {
    border-color: #617d9f;
    background: var(--surface-2);
    color: var(--text);
}

.search-filter-chip input {
    width: 14px;
    height: 14px;
    margin: 0;
    cursor: pointer;
}

.search-filter-name {
    white-space: nowrap;
}

.search-filter-count {
    color: var(--muted);
    font-variant-numeric: tabular-nums;
}

.search-filter-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 13px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 12px;
}

.search-filter-footer strong {
    color: var(--text);
    font-weight: 650;
}

.search-filter-minimum {
    flex: 0 0 auto;
    padding: 4px 8px;
    border: 1px solid var(--border);
    border-radius: 7px;
    white-space: nowrap;
}

.search-status[hidden] {
    display: none !important;
}

@media (max-width: 700px) {

    .search-filter-panel {
        padding: 12px;
    }

    .search-filter-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .search-filter-actions {
        width: 100%;
    }

    .search-filter-action {
        flex: 1 1 auto;
    }

    .search-filter-list {
        gap: 7px;
    }

    .search-filter-chip {
        max-width: 100%;
    }

    .search-filter-name {
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .search-filter-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}
/* ==========================================================
   TGE 0.9.1 - SEARCH EM GRELHA
   ========================================================== */

/*
 * Desktop grande:
 * quatro resultados lado a lado.
 */
.search-results {
    display: grid;
    grid-template-columns:
        repeat(
            4,
            minmax(0, 1fr)
        );
    gap: 14px;
    align-items: stretch;
}

/*
 * Cada resultado deixa de ser uma linha horizontal
 * e passa a ser um cartao vertical.
 */
.search-result {
    min-width: 0;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows:
        auto
        1fr;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface);
    color: var(--text);
    text-decoration: none;
}

/*
 * Miniatura com area uniforme.
 * object-fit: contain continua a garantir que
 * fotografias verticais nao sao cortadas.
 */
.search-result-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    min-height: 0;
    overflow: hidden;
    background: #080d14;
}

.search-result-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/*
 * Corpo compacto para permitir ver muitos
 * resultados simultaneamente.
 */
.search-result-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    padding: 13px 14px 14px;
}

.search-result-title {
    width: 100%;
    overflow: hidden;
    color: #f1f4f8;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.25;

    /*
     * Maximo de duas linhas.
     */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;

    white-space: normal;
    text-overflow: ellipsis;
}

.search-result-album {
    width: 100%;
    overflow: hidden;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.35;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;

    white-space: normal;
    text-overflow: ellipsis;
}

.search-result-kind {
    margin-top: auto;
}

/*
 * Os avisos ocupam toda a largura da grelha.
 */
.search-empty,
.search-limit-note {
    grid-column: 1 / -1;
}

/*
 * Portatil / ecra medio:
 * tres colunas.
 */
@media (max-width: 1180px) {

    .search-results {
        grid-template-columns:
            repeat(
                3,
                minmax(0, 1fr)
            );
    }
}

/*
 * Tablet:
 * duas colunas.
 */
@media (max-width: 820px) {

    .search-results {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
        gap: 12px;
    }

    .search-result-body {
        padding:
            11px
            12px
            12px;
    }

    .search-result-title {
        font-size: 14px;
    }
}

/*
 * Telemovel:
 * uma coluna.
 */
@media (max-width: 520px) {

    .search-results {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    /*
     * No telemovel usamos novamente um cartao
     * mais horizontal para aproveitar melhor
     * a pequena largura do ecra.
     */
    .search-result {
        grid-template-columns:
            112px
            minmax(0, 1fr);
        grid-template-rows: 1fr;
    }

    .search-result-thumb {
        aspect-ratio: auto;
        min-height: 105px;
        height: 100%;
    }

    .search-result-body {
        padding:
            10px
            11px;
    }

    .search-result-title {
        -webkit-line-clamp: 2;
        font-size: 14px;
    }

    .search-result-album {
        -webkit-line-clamp: 2;
        font-size: 11px;
    }
}
/* ==========================================================
   TGE 0.9.2 - MOBILE 2 COLUNAS
   ========================================================== */

/*
 * Telemoveis modernos:
 * duas colunas desde 360px de viewport CSS.
 */
@media (min-width: 360px) and (max-width: 520px) {

    .search-results {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
        gap: 9px;
    }

    /*
     * Voltamos ao cartao vertical.
     * A regra 0.9.1 tinha colocado o cartao
     * horizontal abaixo de 520px.
     */
    .search-result {
        grid-template-columns: 1fr;
        grid-template-rows:
            auto
            1fr;
    }

    .search-result-thumb {
        width: 100%;
        height: auto;
        min-height: 0;
        aspect-ratio: 4 / 3;
    }

    .search-result-body {
        min-width: 0;
        padding:
            9px
            9px
            10px;
        gap: 5px;
    }

    .search-result-title {
        font-size: 13px;
        line-height: 1.22;
        -webkit-line-clamp: 2;
    }

    .search-result-album {
        font-size: 10.5px;
        line-height: 1.25;
        -webkit-line-clamp: 2;
    }

    .search-result-kind {
        padding:
            2px
            6px;
        font-size: 9px;
    }
}

/*
 * Apenas ecras realmente estreitos ficam
 * com uma coluna.
 */
@media (max-width: 359px) {

    .search-results {
        grid-template-columns: 1fr;
    }

    .search-result {
        grid-template-columns:
            105px
            minmax(0, 1fr);
        grid-template-rows: 1fr;
    }

    .search-result-thumb {
        aspect-ratio: auto;
        height: 100%;
        min-height: 100px;
    }
}
/* ==========================================================
   TGE 0.11.1 - FIX CLIQUES FIM DA GALERIA

   Quando o painel final e mostrado, .lightbox-content recebe
   o atributo hidden. Como esta camada usa display:grid,
   garantimos explicitamente que desaparece e deixa de
   interceptar cliques destinados ao painel final.
   ========================================================== */

.lightbox-content[hidden] {
    display: none !important;
}

.gallery-end {
    z-index: 20;
    pointer-events: auto;
}
/* ==========================================================
   TGE 0.11.5 - NAVEGACAO ENTRE GALERIAS IRMAS
   Compacta, inspirada na navegacao inferior do jAlbum
   ========================================================== */

.sibling-nav {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 18px;
    margin: 34px 0 8px;
}

.sibling-card,
.sibling-spacer {
    width: min(320px, calc(50% - 9px));
}

.sibling-card {
    min-width: 0;
    height: 86px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);
    color: var(--text);
    text-decoration: none;
    display: grid;
    align-items: stretch;
    transition:
        transform .18s ease,
        border-color .18s ease,
        box-shadow .18s ease;
}

.sibling-card:hover {
    transform: translateY(-2px);
    border-color: #53616d;
    box-shadow: var(--shadow);
}

.sibling-previous {
    grid-template-columns:
        96px
        minmax(0, 1fr);
}

.sibling-next {
    grid-template-columns:
        minmax(0, 1fr)
        96px;
    text-align: right;
}

.sibling-cover {
    width: 96px;
    height: 86px;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: #30444c;
}

.sibling-cover img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    background: #30444c;
}

.sibling-cover-empty {
    color: #9eabb3;
    font-size: 32px;
    font-weight: 300;
}

.sibling-copy {
    min-width: 0;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.sibling-next .sibling-copy {
    align-items: flex-end;
}

.sibling-kicker {
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.sibling-card strong {
    max-width: 100%;
    overflow: hidden;
    color: #eef2f5;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sibling-spacer {
    height: 1px;
}

@media (max-width: 720px) {

    .sibling-nav {
        flex-direction: column;
        gap: 10px;
    }

    .sibling-card {
        width: 100%;
        height: 82px;
    }

    .sibling-spacer {
        display: none;
    }

    .sibling-previous {
        grid-template-columns:
            90px
            minmax(0, 1fr);
    }

    .sibling-next {
        grid-template-columns:
            minmax(0, 1fr)
            90px;
    }

    .sibling-cover {
        width: 90px;
        height: 82px;
    }
}

/* ==========================================================
   TGE 0.11.11 - ESPACO HOME ENTRE HERO E GALERIAS

   Nas paginas de topo sem breadcrumbs, o titulo da seccao
   seguinte ficava parcialmente dentro do hero.
   Restaura o espacamento original da section-title-row.
   ========================================================== */

.gallery-page
.page-shell
> .album-heading:first-child
+ section
> .section-title-row {
    margin-top: 34px;
}
/* ==========================================================
   TGE 0.11.19 - NOVIDADES
   ========================================================== */

.album-cover {
    position: relative;
}

.new-badge {
    position: absolute;
    top: 9px;
    right: 9px;
    z-index: 4;
    width: 14px;
    height: 14px;
    display: block;
    border: 2px solid rgba(255,255,255,.92);
    border-radius: 999px;
    background: #e53935;
    box-shadow:
        0 2px 8px rgba(0,0,0,.55);
    pointer-events: none;
}

@media (max-width: 700px) {
    .new-badge {
        top: 7px;
        right: 7px;
        width: 12px;
        height: 12px;
    }
}
/* ==========================================================
   TGE 0.11.20 - ULTIMA ATUALIZACAO
   ========================================================== */

.museum-home-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem 1rem;
    margin: 0.65rem 0 1rem;
    font-size: 0.82rem;
    color: var(--muted);
}

.museum-last-update,
.museum-new-legend {
    margin: 0;
}

.museum-new-legend {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.new-legend-dot {
    flex: 0 0 auto;
    width: 11px;
    height: 11px;
    display: inline-block;
    border: 2px solid rgba(255,255,255,.92);
    border-radius: 999px;
    background: #e53935;
    box-shadow:
        0 2px 8px rgba(0,0,0,.55);
}

@media (max-width: 640px) {
    .museum-home-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.3rem;
        margin-top: 0.55rem;
        margin-bottom: 0.85rem;
        font-size: 0.8rem;
    }
}
