/*
 * Pagina del album colaborativo.
 *
 * Se abre casi siempre desde el QR de una mesa, de pie, con una mano y con la
 * senal saturada de la fiesta: por eso el diseno empieza en el telefono y la
 * accion de subir va arriba, antes que las fotos. El modo proyector deja la
 * pantalla puesta durante el evento y las fotos van cayendo solas.
 */

.alb-pagina {
    /*
     * Los degradados de fondo y los velos translucidos son de tema oscuro: se
     * redefinen enteros en claro, o la pagina se queda con esquinas grises.
     */
    --alb-fondo:
        radial-gradient(1000px 620px at 12% -8%, #2a1d29 0%, rgba(42, 29, 41, 0) 62%),
        radial-gradient(900px 700px at 92% 8%, #291d24 0%, rgba(41, 29, 36, 0) 58%),
        linear-gradient(180deg, #160f16, #120d12 40%, #0f0b0f);
    --alb-barra-fondo: rgba(18, 13, 18, 0.78);
    --alb-velo: rgba(255, 239, 236, 0.05);
    --alb-velo-alto: rgba(255, 239, 236, 0.075);
    --alb-realce: rgba(255, 239, 236, 0.16);
    --alb-cta: var(--gradient-primary);
    --alb-cta-ink: #20141d;
    --alb-vivo: #7ee0a1;

    min-height: 100vh;
    background: var(--alb-fondo);
    color: var(--color-text-primary);
}

:root[data-theme="light"] .alb-pagina {
    --alb-fondo:
        radial-gradient(1000px 620px at 12% -8%, #f6e7dd 0%, rgba(246, 231, 221, 0) 62%),
        radial-gradient(900px 700px at 92% 8%, #f4e6ea 0%, rgba(244, 230, 234, 0) 58%),
        linear-gradient(180deg, #fdfaf8, #fcf8f5 40%, #f8f1ec);
    --alb-barra-fondo: rgba(252, 248, 245, 0.86);
    --alb-velo: rgba(67, 50, 55, 0.05);
    --alb-velo-alto: rgba(67, 50, 55, 0.07);
    --alb-realce: rgba(255, 255, 255, 0.7);
    /* El degradado claro con tinta oscura se queda corto de contraste en claro. */
    --alb-cta: var(--gradient-gold);
    --alb-cta-ink: #fffaf6;
    --alb-vivo: #2f6b46;
}

/* === BARRA === */

/* Volver y proyector viajan con la pagina: nadie sube a buscarlos a media fiesta. */
.alb-barra {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px clamp(12px, 3vw, 26px);
    background: var(--alb-barra-fondo);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
}

.alb-barra__volver {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    background: var(--alb-velo);
    color: var(--color-text-primary);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: border-color 0.28s ease, transform 0.28s ease;
}

.alb-barra__volver:hover,
.alb-barra__volver:focus-visible {
    border-color: var(--color-border-hover);
    transform: translateY(-1px);
}

/* En el telefono el nombre ya esta en el titulo: estorba mas que informa. */
.alb-barra__pareja {
    display: none;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
    color: var(--color-text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.alb-barra__proyector {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 18px;
    border: 0;
    border-radius: var(--radius-full);
    background: var(--alb-cta);
    color: var(--alb-cta-ink);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 10px 26px -10px rgba(215, 155, 167, 0.6);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.alb-barra__proyector:hover,
.alb-barra__proyector:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -10px rgba(215, 155, 167, 0.7);
}

.alb-barra svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.alb-barra__volver span {
    display: none;
}

@media (min-width: 720px) {
    .alb-barra__pareja {
        display: block;
    }

    .alb-barra__volver span {
        display: inline;
    }

    .alb-barra__volver {
        padding: 0 16px 0 12px;
    }
}

/* === CABECERA === */

.alb {
    width: min(100%, 1240px);
    margin: 0 auto;
    padding: clamp(26px, 5vw, 58px) clamp(14px, 3vw, 26px) 70px;
}

.alb__head {
    text-align: center;
    animation: albSube 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.alb__head .section-tag {
    margin-bottom: 0.3rem;
}

.alb__title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 9vw, 5rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--color-text-primary);
    text-wrap: balance;
}

.alb__marcador {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 14px;
    margin: 14px 0 0;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

/* El punto late porque la pagina de verdad se refresca sola. */
.alb__vivo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 13px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    background: var(--alb-velo);
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.alb__vivo i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--alb-vivo);
    box-shadow: 0 0 10px var(--alb-vivo);
    animation: albLate 1.8s ease-in-out infinite;
}

/* === SUBIR === */

.alb__cta {
    max-width: 760px;
    margin: clamp(26px, 4vw, 42px) auto 0;
    animation: albSube 0.6s 0.08s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* El widget vive en 13 plantillas con fondo claro; aqui se viste de la marca. */
.alb__cta .adbw {
    --adbw-surface: linear-gradient(180deg, var(--alb-velo-alto), var(--alb-velo));
    --adbw-surface-soft: var(--alb-velo);
    --adbw-ink: var(--color-text-primary);
    --adbw-muted: var(--color-text-secondary);
    --adbw-line: var(--color-border);
    --adbw-accent: var(--alb-cta);
    --adbw-accent-ink: var(--alb-cta-ink);
    --adbw-ok: var(--alb-vivo);
    --adbw-error: #e79a9a;
    --adbw-radius: 26px;

    margin-top: 0;
    padding: clamp(18px, 3vw, 28px);
    box-shadow: inset 0 1px 0 var(--alb-realce), 0 30px 60px -34px rgba(0, 0, 0, 0.8);
}

:root[data-theme="light"] .alb__cta .adbw {
    --adbw-error: #a83a3a;
    box-shadow: inset 0 1px 0 var(--alb-realce), var(--shadow-sm);
}

.alb__cta .adbw__title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3.4vw, 2rem);
    line-height: 1.1;
}

/* === MUESTRA PÚBLICA === */

/*
 * La vitrina del album para quien todavia no ha comprado. Ocupa el sitio de la
 * tarjeta de subir, porque aqui no hay nada que subir: lo que vende es el modo
 * proyector, y ese se prueba con el boton de arriba.
 */
.alb__muestra {
    max-width: 760px;
    margin: clamp(26px, 4vw, 42px) auto 0;
    padding: clamp(18px, 3vw, 28px);
    border: 1px solid var(--color-border);
    border-radius: 26px;
    background: linear-gradient(180deg, var(--alb-velo-alto), var(--alb-velo));
    box-shadow: inset 0 1px 0 var(--alb-realce);
    text-align: center;
    animation: albSube 0.6s 0.08s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.alb__muestra-titulo {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3.4vw, 2rem);
    line-height: 1.1;
    color: var(--color-text-primary);
}

.alb__muestra-copy {
    max-width: 52ch;
    margin: 10px auto 18px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
}

.alb__muestra-acciones {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.alb__muestra-cta,
.alb__muestra-alt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 22px;
    border-radius: var(--radius-full);
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
}

.alb__muestra-cta {
    border: 0;
    background: var(--alb-cta);
    color: var(--alb-cta-ink);
    box-shadow: 0 12px 28px -12px rgba(215, 155, 167, 0.65);
}

.alb__muestra-alt {
    border: 1px solid var(--color-border);
    color: var(--color-text-primary);
}

.alb__muestra-alt:hover,
.alb__muestra-alt:focus-visible {
    border-color: var(--color-border-gold);
}

.alb__nota {
    max-width: 46ch;
    margin: 14px auto 0;
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--color-text-muted);
    text-align: center;
}

.alb__nota--cerrado {
    margin-bottom: 22px;
    padding: 16px 18px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background: var(--alb-velo);
    color: var(--color-text-secondary);
}

/* === MOSAICO === */

.alb__seccion {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 16px;
    margin: clamp(30px, 5vw, 50px) 0 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--color-border);
}

.alb__seccion-titulo {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-weight: 700;
    color: var(--color-text-primary);
}

.alb__seccion-pista {
    margin: 0;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/*
 * Mosaico irregular: la primera foto manda y una de en medio se estira. Una
 * cuadricula pareja de caras diminutas se lee como un contacto de laboratorio,
 * no como el album de una fiesta.
 */
.alb__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(clamp(140px, 20vw, 230px), 1fr));
    grid-auto-rows: 1fr;
    gap: clamp(8px, 1.4vw, 14px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.alb__item {
    position: relative;
}

.alb__item a {
    display: block;
    overflow: hidden;
    height: 100%;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    background: var(--alb-velo);
    cursor: zoom-in;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.alb__item a:hover,
.alb__item a:focus-visible {
    border-color: var(--color-border-gold);
    box-shadow: var(--shadow-md);
}

.alb__item img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.alb__item a:hover img,
.alb__item a:focus-visible img {
    transform: scale(1.06);
}

/*
 * La destacada ocupa cuatro celdas y sigue siendo cuadrada: con la proporcion
 * libre, un retrato vertical se comia dos pantallas de alto en el telefono.
 */
.alb__item:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

@media (min-width: 720px) {
    .alb__grid--showcase-six {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .alb__item:nth-child(7) {
        grid-row: span 2;
    }

    .alb__item:nth-child(7) img {
        aspect-ratio: 1 / 2.06;
    }
}

.alb-proyector__invita-nota {
    max-width: 28rem;
    margin: 0.25rem 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(0.66rem, 1vw, 0.82rem);
    line-height: 1.35;
}

/* La que acaba de llegar se distingue un rato, como en el proyector. */
.alb__item--nueva {
    animation: albEntra 0.5s ease both;
}

.alb__item--nueva::after {
    content: "Nueva";
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 11px;
    border-radius: var(--radius-full);
    background: rgba(18, 13, 18, 0.72);
    backdrop-filter: blur(8px);
    color: var(--color-accent-gold);
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

@keyframes albEntra {
    from {
        opacity: 0;
        transform: scale(0.94);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes albSube {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes albLate {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.35;
        transform: scale(0.82);
    }
}

.alb__vacio {
    margin: 8px 0 0;
    padding: 26px 20px;
    border: 1px dashed var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text-muted);
    text-align: center;
}

.alb__pie {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 18px;
    margin-top: clamp(34px, 6vw, 64px);
    padding-top: 22px;
    border-top: 1px solid var(--color-border);
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.alb__pie a {
    padding-bottom: 2px;
    border-bottom: 1px solid var(--color-border-gold);
    color: var(--color-accent-cyan-ink);
    text-decoration: none;
}

/* === VISOR === */

/*
 * La foto grande se abre encima del album, no en otra pestaña: al volver, el
 * telefono ya no recordaba en que parte del mosaico iba. El fondo es tinta
 * fija -no un token- para que la foto mande sea cual sea el tema.
 */
.alb-visor {
    position: fixed;
    inset: 0;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    width: 100vw;
    height: 100dvh;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: rgba(10, 7, 10, 0.94);
    backdrop-filter: blur(18px);
    color: #fbf6f2;
    animation: albAparece 0.28s ease both;
}

.alb-visor:not([open]) {
    display: none;
}

.alb-visor::backdrop {
    background: rgba(10, 7, 10, 0.94);
}

.alb-visor__cabecera {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px clamp(12px, 3vw, 22px);
}

.alb-visor__cuenta {
    margin: 0;
    font-size: 0.82rem;
    color: rgba(251, 246, 242, 0.72);
}

.alb-visor__marco {
    flex: 1;
    min-height: 0;
    display: grid;
    place-items: stretch;
    padding: 0 clamp(8px, 2vw, 20px);
}

.alb-visor__foto {
    width: 100%;
    height: 100%;
    min-height: 0;
    border-radius: 14px;
    object-fit: contain;
    box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.9);
}

/* Los pasos van abajo y juntos: en el movil es donde alcanza el pulgar. */
.alb-visor__pasos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 16px clamp(12px, 3vw, 22px) calc(16px + env(safe-area-inset-bottom));
}

.alb-visor__paso,
.alb-visor__cerrar {
    display: grid;
    place-items: center;
    min-width: 54px;
    height: 48px;
    border: 1px solid rgba(251, 246, 242, 0.2);
    border-radius: var(--radius-full);
    background: rgba(251, 246, 242, 0.06);
    color: inherit;
    font-family: inherit;
    font-size: 1rem;
    cursor: pointer;
}

.alb-visor__cerrar {
    min-width: 44px;
    width: 44px;
    height: 44px;
}

.alb-visor__paso svg {
    width: 24px;
    height: 24px;
}

.alb-visor__paso[disabled] {
    opacity: 0.25;
    cursor: default;
}

.alb-visor__cerrar:hover,
.alb-visor__cerrar:focus-visible,
.alb-visor__paso:not([disabled]):hover,
.alb-visor__paso:not([disabled]):focus-visible {
    border-color: rgba(251, 246, 242, 0.7);
}

@keyframes albAparece {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* === MODO PROYECTOR === */

/*
 * La pantalla de la fiesta. Se enciende, se deja puesta durante la comida y
 * nadie la vuelve a tocar: pasa las fotos sola, se actualiza sola y cuando
 * llega una recien subida la pone al frente.
 *
 * El fondo es tinta fija, no un token: debe quedar negro aunque quien la
 * abrio tenga el tema claro puesto.
 */
.alb-proyector {
    position: fixed;
    inset: 0;
    z-index: 9999;
    width: 100vw;
    height: 100dvh;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    overflow: hidden;
    background: #0b080b;
    color: #f8f1ec;
    animation: albAparece 0.3s ease both;
}

.alb-proyector:not([open]) {
    display: none;
}

.alb-proyector::backdrop {
    background: #0b080b;
}

/* --- Escenario: una foto a la vez --- */

.alb-proyector__escenario {
    position: absolute;
    inset: 0;
}

.alb-proyector[data-vista="mosaico"] .alb-proyector__escenario {
    display: none;
}

/*
 * Detras de la foto va ella misma, ampliada y desenfocada: un retrato vertical
 * en una pantalla apaisada deja dos franjas enormes, y en negro parecen un
 * error de la proyeccion.
 */
.alb-proyector__velo {
    position: absolute;
    inset: -8%;
    background-position: center;
    background-size: cover;
    filter: blur(46px) saturate(0.9) brightness(0.42);
    transform: scale(1.1);
    transition: background-image 0.6s ease;
}

.alb-proyector__toma {
    position: absolute;
    inset: 0;
    margin: 0;
    display: grid;
    place-items: stretch;
    padding: clamp(74px, 9vh, 110px) clamp(14px, 4vw, 64px) clamp(120px, 15vh, 160px);
    opacity: 0;
    transition: opacity 1.1s ease;
}

.alb-proyector__toma--activa {
    opacity: 1;
}

.alb-proyector__toma img {
    width: 100%;
    height: 100%;
    min-height: 0;
    border-radius: 8px;
    object-fit: contain;
    box-shadow: 0 50px 110px -40px rgba(0, 0, 0, 0.95);
}

/* Un acercamiento lentisimo: de lejos se nota que la pantalla esta viva. */
.alb-proyector__toma--activa img {
    animation: albAcerca 9s linear both;
}

@keyframes albAcerca {
    from {
        transform: scale(1.02);
    }

    to {
        transform: scale(1.09);
    }
}

/* La foto que acaba de subir alguien de una mesa: se anuncia y se va. */
.alb-proyector__recien {
    position: absolute;
    top: clamp(74px, 9vh, 110px);
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    padding: 10px 22px;
    border-radius: var(--radius-full);
    background: rgba(230, 198, 162, 0.92);
    color: #241820;
    font-size: clamp(0.72rem, 1.2vw, 0.95rem);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    animation: albSube 0.5s ease both;
}

.alb-proyector__recien[hidden] {
    display: none;
}

/* --- Mosaico: todas de un vistazo --- */

/*
 * El tamano de celda lo calcula el JS segun cuantas fotos hay y cuanto mide la
 * pantalla: con una cuadricula fija, dos fotos se estiraban en tiras altisimas
 * pegadas a la izquierda y el resto quedaba en negro.
 */
.alb-proyector__grid {
    position: absolute;
    inset: 0;
    display: grid;
    gap: clamp(6px, 1vw, 12px);
    padding: clamp(80px, 10vh, 120px) clamp(14px, 3vw, 32px) clamp(120px, 16vh, 170px);
    justify-content: center;
    align-content: center;
    overflow: hidden;
}

.alb-proyector__grid[hidden] {
    display: none;
}

.alb-proyector__grid > figure {
    margin: 0;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 4 / 3;
    animation: albAparece 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.alb-proyector__grid img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.alb-proyector__vacio {
    position: absolute;
    inset: auto 0 42%;
    margin: 0;
    text-align: center;
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 3vw, 2.4rem);
}

.alb-proyector__vacio[hidden] {
    display: none;
}

/* --- Cromo: lo que no es foto --- */

/*
 * Velos arriba y abajo para que el texto se lea sobre cualquier foto. Los
 * mandos se apagan a los pocos segundos sin raton; lo que se queda es lo que
 * sirve de lejos: el nombre, el QR y cuantas fotos van.
 */
.alb-proyector__cromo {
    position: absolute;
    left: 0;
    right: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    padding: clamp(12px, 2.4vw, 24px);
}

.alb-proyector__cromo--alto {
    top: 0;
    align-items: flex-start;
    justify-content: space-between;
    background: linear-gradient(180deg, rgba(11, 8, 11, 0.72), rgba(11, 8, 11, 0));
}

.alb-proyector__cromo--bajo {
    bottom: 0;
    align-items: flex-end;
    justify-content: space-between;
    background: linear-gradient(0deg, rgba(11, 8, 11, 0.78), rgba(11, 8, 11, 0));
}

.alb-proyector__titulo {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.25rem, 3vw, 2rem);
    line-height: 1.1;
}

.alb-proyector__rotulo {
    margin: 4px 0 0;
    font-size: clamp(0.62rem, 1vw, 0.72rem);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(251, 246, 242, 0.78);
}

.alb-proyector__mandos-caja {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.alb-proyector__mandos {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    transition: opacity 0.5s ease;
}

.alb-proyector[data-quieto="si"] .alb-proyector__mandos {
    opacity: 0;
    pointer-events: none;
}

/* Un puntero parado en medio de la proyeccion se queda ahi toda la cena. */
.alb-proyector[data-quieto="si"] {
    cursor: none;
}

.alb-proyector__mando {
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid rgba(251, 246, 242, 0.24);
    border-radius: var(--radius-full);
    background: rgba(20, 15, 20, 0.6);
    backdrop-filter: blur(10px);
    color: inherit;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: border-color 0.28s ease;
}

.alb-proyector__mando:hover,
.alb-proyector__mando:focus-visible {
    border-color: var(--color-accent-cyan);
}

/*
 * La chuleta de teclas es para quien deja la pantalla puesta, no para la mesa:
 * solo aparece donde hay teclado y sitio, y se apaga con los mandos.
 */
.alb-proyector__atajos {
    display: none;
    margin: 0;
    font-size: 0.72rem;
    text-align: right;
    color: rgba(251, 246, 242, 0.66);
    transition: opacity 0.5s ease;
}

@media (pointer: fine) and (min-width: 1000px) {
    .alb-proyector__atajos {
        display: block;
    }
}

.alb-proyector[data-quieto="si"] .alb-proyector__atajos {
    opacity: 0;
}

.alb-proyector__invita {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 18px 12px 12px;
    border: 1px solid rgba(251, 246, 242, 0.16);
    border-radius: 20px;
    background: rgba(20, 15, 20, 0.62);
    backdrop-filter: blur(14px);
}

.alb-proyector__qr {
    width: clamp(64px, 9vw, 86px);
    height: auto;
    border-radius: 10px;
    background: #fff;
}

.alb-proyector__invita-titulo {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.15rem, 2.4vw, 1.6rem);
    line-height: 1.15;
}

.alb-proyector__invita-url {
    margin: 3px 0 0;
    font-size: clamp(0.7rem, 1vw, 0.8rem);
    word-break: break-all;
    color: rgba(251, 246, 242, 0.78);
}

.alb-proyector__pie {
    margin: 0;
    font-size: clamp(0.75rem, 1.1vw, 0.85rem);
    text-align: right;
    color: rgba(251, 246, 242, 0.78);
}

/* Hilo de tiempo: dice sin palabras que la foto va a cambiar. */
.alb-proyector__barra {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: rgba(251, 246, 242, 0.14);
}

.alb-proyector__barra span {
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #e6c6a2, #d79ba7);
    transition: width 0.1s linear;
}

.alb-proyector[data-vista="mosaico"] .alb-proyector__barra,
.alb-proyector[data-pausado="si"] .alb-proyector__barra span {
    opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
    .alb__item img,
    .alb__item a,
    .alb-barra__volver,
    .alb-barra__proyector,
    .alb-proyector__toma,
    .alb-proyector__velo,
    .alb-proyector__barra span {
        transition: none;
    }

    .alb__head,
    .alb__cta,
    .alb__muestra,
    .alb__item--nueva,
    .alb__vivo i,
    .alb-visor,
    .alb-proyector,
    .alb-proyector__grid > figure,
    .alb-proyector__recien,
    .alb-proyector__toma--activa img {
        animation: none;
    }
}
