:root {
    --totem-acento: #43d28f;
    --totem-acento-rgb: 67, 210, 143;
    --totem-foco-rgb: 212, 175, 55;
    --totem-contraste: #07120d;
    --totem-fundo: #080a0b;
    --totem-fundo-profundo: #030404;
    --totem-painel: rgba(18, 20, 21, .92);
    --totem-painel-claro: rgba(255, 255, 255, .055);
    --totem-borda: rgba(255, 255, 255, .115);
    --totem-texto: #f6f7f7;
    --totem-texto-suave: rgba(246, 247, 247, .62);
    --totem-topo-altura: 118px;
    --totem-pastas-altura: 104px;
    --totem-raio: 28px;
    --totem-sombra: 0 30px 90px rgba(0, 0, 0, .42);
    color-scheme: dark;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--totem-fundo-profundo);
    scroll-behavior: smooth;
}

body {
    min-width: 280px;
    min-height: 100%;
    margin: 0;
    color: var(--totem-texto);
    background:
        radial-gradient(circle at 12% -5%, rgba(var(--totem-acento-rgb), .12), transparent 32%),
        radial-gradient(circle at 94% 8%, rgba(255, 255, 255, .055), transparent 28%),
        linear-gradient(180deg, #0b0d0e 0%, #070909 48%, #040505 100%);
    font-family: var(--fonte-familia-sistema, 'Jost', -apple-system, BlinkMacSystemFont, sans-serif);
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
    overscroll-behavior-y: none;
}

button,
input,
a {
    font: inherit;
    -webkit-tap-highlight-color: transparent;
}

button,
a {
    touch-action: manipulation;
}

button {
    color: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
    outline: 3px solid rgba(var(--totem-acento-rgb), .58);
    outline-offset: 4px;
}

[hidden] {
    display: none !important;
}

svg {
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.totem-pagina {
    min-height: 100dvh;
}

body.totem-modal-aberto {
    overflow: hidden;
}

/* Entrada */

.totem-pagina-entrada {
    min-height: 100dvh;
    overflow: auto;
}

.totem-entrada {
    position: relative;
    display: grid;
    min-height: 100dvh;
    place-items: center;
    isolation: isolate;
    overflow: hidden;
    padding:
        max(clamp(24px, 5vw, 72px), env(safe-area-inset-top))
        max(clamp(24px, 5vw, 72px), env(safe-area-inset-right))
        max(clamp(24px, 5vw, 72px), env(safe-area-inset-bottom))
        max(clamp(24px, 5vw, 72px), env(safe-area-inset-left));
    background:
        radial-gradient(circle at 50% 30%, rgba(var(--totem-acento-rgb), .11), transparent 31%),
        linear-gradient(145deg, #020302 0%, #090b0a 55%, #010201 100%);
}

.totem-entrada::before,
.totem-entrada::after {
    position: absolute;
    z-index: -4;
    content: '';
    pointer-events: none;
}

.totem-entrada::before {
    inset: 0;
    opacity: .18;
    background-image:
        linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 80%, transparent);
}

.totem-entrada::after {
    width: min(70vw, 920px);
    aspect-ratio: 1;
    border: 1px solid rgba(var(--totem-acento-rgb), .12);
    border-radius: 50%;
    box-shadow:
        0 0 0 90px rgba(var(--totem-acento-rgb), .025),
        0 0 0 180px rgba(var(--totem-acento-rgb), .015);
}

.totem-entrada-aurora {
    position: absolute;
    top: 8%;
    left: 50%;
    z-index: -3;
    width: min(70vw, 800px);
    height: 35vh;
    translate: -50% 0;
    background: var(--totem-acento);
    filter: blur(80px);
    opacity: .16;
    pointer-events: none;
}

.totem-entrada-card {
    position: relative;
    z-index: 2;
    grid-area: 1 / 1;
    box-sizing: border-box;
    width: min(100%, 720px);
    margin: 0;
    padding: clamp(30px, 5vw, 56px);
    border: 1px solid rgba(255, 255, 255, .105);
    border-radius: 30px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .068), rgba(255, 255, 255, .016)),
        rgba(5, 7, 6, .91);
    box-shadow:
        0 42px 110px rgba(0, 0, 0, .66),
        inset 0 1px rgba(255, 255, 255, .065);
    backdrop-filter: blur(28px) saturate(125%);
}

.totem-entrada-card::before {
    position: absolute;
    top: 34px;
    bottom: 34px;
    left: 0;
    width: 3px;
    border-radius: 0 4px 4px 0;
    content: '';
    background: linear-gradient(
        180deg,
        transparent,
        var(--totem-acento) 22%,
        var(--totem-acento) 78%,
        transparent
    );
    box-shadow: 0 0 28px rgba(var(--totem-acento-rgb), .38);
}

.totem-entrada-marca {
    display: flex;
    min-height: 52px;
    align-items: center;
    margin-bottom: clamp(32px, 5vw, 48px);
}

.totem-entrada-marca img {
    display: block;
    width: auto;
    max-width: min(235px, 54vw);
    max-height: 52px;
    object-fit: contain;
}

.totem-sobretitulo,
.totem-entrada-conteudo > span {
    display: block;
    margin: 0 0 12px;
    color: var(--totem-acento);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .22em;
}

.totem-entrada-conteudo > h1,
.totem-entrada-conteudo > p {
    margin: 0;
}

.totem-entrada-conteudo > h1 {
    font-size: clamp(42px, 7vw, 72px);
    font-weight: 440;
    line-height: .96;
    letter-spacing: -.055em;
}

.totem-entrada-conteudo > p {
    max-width: 580px;
    margin-top: 20px;
    color: rgba(255, 255, 255, .62);
    font-size: clamp(15px, 2vw, 18px);
    line-height: 1.65;
}

#totem-entrada-form {
    margin-top: clamp(32px, 5vw, 48px);
}

#totem-entrada-form > label {
    display: block;
    margin: 0 0 10px 2px;
    color: rgba(255, 255, 255, .70);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.totem-codigo-campo {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 18px;
    background: rgba(0, 0, 0, .55);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.totem-codigo-campo:focus-within,
.totem-codigo-campo.entrada-destaque-inicial {
    border-color: rgba(var(--totem-foco-rgb), .78);
    box-shadow: 0 0 0 4px rgba(var(--totem-foco-rgb), .12);
}

.totem-codigo-campo input {
    min-width: 0;
    min-height: 58px;
    border: 0;
    outline: 0;
    padding: 0 16px;
    color: #fff;
    background: transparent;
    font-size: clamp(17px, 2.2vw, 22px);
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.totem-codigo-campo input::placeholder {
    color: rgba(255, 255, 255, .26);
}

.totem-codigo-campo button {
    display: inline-flex;
    min-width: 196px;
    min-height: 58px;
    align-items: center;
    justify-content: center;
    gap: 11px;
    border: 0;
    border-radius: 13px;
    padding: 0 22px;
    color: var(--totem-contraste);
    background: var(--totem-acento);
    box-shadow: 0 12px 34px rgba(var(--totem-acento-rgb), .20);
    cursor: pointer;
    font-size: 13px;
    font-weight: 850;
    letter-spacing: .05em;
    text-transform: uppercase;
    transition: transform .2s ease, filter .2s ease, opacity .2s ease;
}

.totem-codigo-campo button svg {
    width: 20px;
    height: 20px;
    transition: transform .2s ease;
}

.totem-codigo-campo button:hover:not(:disabled) {
    filter: brightness(1.08);
    transform: translateY(-2px);
}

.totem-codigo-campo button:hover:not(:disabled) svg {
    transform: translateX(3px);
}

.totem-codigo-campo button:disabled {
    opacity: .58;
    cursor: wait;
    transform: none;
}

.totem-entrada-mensagem {
    min-height: 22px;
    margin: 13px 2px 0;
    color: rgba(255, 255, 255, .66);
    font-size: 14px;
    line-height: 1.45;
}

.totem-entrada-mensagem.erro {
    color: #ff9aaa;
}

.totem-entrada-rodape {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    margin-top: clamp(28px, 4vw, 38px);
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .075);
}

.totem-entrada-rodape span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--totem-acento);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.totem-entrada-rodape span svg {
    width: 17px;
    height: 17px;
}

.totem-entrada-rodape p {
    margin: 0;
    color: rgba(255, 255, 255, .40);
    font-size: 11px;
    line-height: 1.5;
    text-align: right;
}

.totem-entrada-mosaico {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: -2;
    width: min(94vw, 1120px);
    height: min(86vh, 760px);
    translate: -50% -50%;
    opacity: .13;
    pointer-events: none;
    perspective: 1200px;
}

.totem-mosaico-foto {
    position: absolute;
    display: block;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 26px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .015)),
        radial-gradient(circle at 42% 32%, rgba(var(--totem-acento-rgb), .36), transparent 21%),
        linear-gradient(135deg, #242927, #0e1110 48%, #171b19);
    box-shadow: 0 35px 90px rgba(0, 0, 0, .5), inset 0 1px rgba(255, 255, 255, .08);
}

.totem-mosaico-foto::before,
.totem-mosaico-foto::after {
    position: absolute;
    content: '';
    border-radius: 50%;
    filter: blur(1px);
}

.totem-mosaico-foto::before {
    width: 34%;
    aspect-ratio: 1;
    top: 20%;
    left: 33%;
    background: rgba(255, 235, 206, .24);
    box-shadow: -80px 100px 0 22px rgba(255, 255, 255, .07), 76px 112px 0 15px rgba(var(--totem-acento-rgb), .08);
}

.totem-mosaico-foto::after {
    right: -18%;
    bottom: -16%;
    width: 66%;
    aspect-ratio: 1;
    background: rgba(var(--totem-acento-rgb), .10);
    filter: blur(24px);
}

.totem-mosaico-foto.foto-a {
    top: 1%;
    left: -3%;
    width: 29%;
    height: 36%;
    transform: rotateY(8deg) rotateZ(-3deg);
}

.totem-mosaico-foto.foto-b {
    bottom: 1%;
    left: 5%;
    width: 25%;
    height: 32%;
    transform: rotateY(7deg) rotateZ(4deg);
    filter: brightness(.75);
}

.totem-mosaico-foto.foto-c {
    top: 2%;
    right: -2%;
    width: 28%;
    height: 35%;
    transform: rotateY(-9deg) rotateZ(3deg);
}

.totem-mosaico-foto.foto-d {
    right: 7%;
    bottom: 0;
    width: 23%;
    height: 30%;
    transform: rotateY(-9deg) rotateZ(-4deg);
    filter: brightness(.66);
}

.totem-entrada-chamada {
    display: none;
}

/* Galeria */

.totem-pagina-galeria {
    overflow-x: hidden;
}

.totem-app {
    min-height: 100dvh;
    isolation: isolate;
}

.totem-topo {
    position: sticky;
    top: 0;
    z-index: 70;
    border-bottom: 1px solid rgba(255, 255, 255, .075);
    background: rgba(7, 9, 9, .88);
    box-shadow: 0 18px 48px rgba(0, 0, 0, .25);
    backdrop-filter: blur(24px) saturate(130%);
}

.totem-topo-principal {
    display: grid;
    min-height: var(--totem-topo-altura);
    grid-template-columns: minmax(190px, .75fr) minmax(260px, 1.4fr) minmax(190px, .75fr);
    align-items: center;
    gap: clamp(20px, 3vw, 54px);
    max-width: 1920px;
    margin: 0 auto;
    padding: max(14px, env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) 14px max(24px, env(safe-area-inset-left));
}

.totem-identidade {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 17px;
}

.totem-identidade img {
    display: block;
    width: auto;
    max-width: min(210px, 14vw);
    max-height: 49px;
    object-fit: contain;
}

.totem-identidade > span {
    flex: 0 0 auto;
    border-left: 1px solid rgba(255, 255, 255, .13);
    padding: 3px 0 3px 16px;
    color: rgba(255, 255, 255, .52);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.totem-evento {
    min-width: 0;
    text-align: center;
}

.totem-evento > span {
    display: block;
    margin-bottom: 4px;
    color: var(--totem-acento);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .23em;
}

.totem-evento h1 {
    overflow: hidden;
    margin: 0;
    color: #fff;
    font-size: clamp(20px, 2vw, 31px);
    font-weight: 520;
    line-height: 1.12;
    letter-spacing: -.035em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.totem-evento p {
    overflow: hidden;
    margin: 7px 0 0;
    color: rgba(255, 255, 255, .42);
    font-size: 11px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.totem-topo-acoes {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.totem-conexao {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    gap: 9px;
    border: 1px solid rgba(255, 255, 255, .085);
    border-radius: 999px;
    padding: 0 15px;
    color: rgba(255, 255, 255, .66);
    background: rgba(255, 255, 255, .035);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.totem-conexao i {
    position: relative;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4bd18d;
    box-shadow: 0 0 0 4px rgba(75, 209, 141, .09), 0 0 16px rgba(75, 209, 141, .45);
}

.totem-conexao i::after {
    position: absolute;
    inset: -5px;
    border: 1px solid rgba(75, 209, 141, .54);
    border-radius: inherit;
    content: '';
    animation: totem-pulso-conexao 2.1s ease-out infinite;
}

.totem-conexao.atualizando i {
    background: var(--totem-acento);
}

.totem-conexao.desconectado {
    color: #ffaaa6;
}

.totem-conexao.desconectado i {
    background: #ff6f69;
    box-shadow: 0 0 0 4px rgba(255, 111, 105, .09), 0 0 16px rgba(255, 111, 105, .35);
}

.totem-conexao.desconectado i::after {
    border-color: rgba(255, 111, 105, .52);
}

@keyframes totem-pulso-conexao {
    0% { opacity: .72; transform: scale(.58); }
    70%, 100% { opacity: 0; transform: scale(1.45); }
}

.totem-botao-icone,
.totem-dock button {
    display: inline-grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 15px;
    padding: 0;
    color: rgba(255, 255, 255, .76);
    background: rgba(255, 255, 255, .045);
    cursor: pointer;
    transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}

.totem-botao-icone svg,
.totem-dock button svg {
    width: 20px;
    height: 20px;
}

.totem-botao-icone:hover,
.totem-dock button:hover {
    border-color: rgba(var(--totem-acento-rgb), .42);
    color: var(--totem-acento);
    background: rgba(var(--totem-acento-rgb), .09);
    transform: translateY(-2px);
}

.totem-botao-icone .icone-recolher {
    display: none;
}

:fullscreen .totem-botao-icone .icone-expandir {
    display: none;
}

:fullscreen .totem-botao-icone .icone-recolher {
    display: block;
}

.totem-pastas-area {
    position: relative;
    min-height: var(--totem-pastas-altura);
    border-top: 1px solid rgba(255, 255, 255, .045);
    background: linear-gradient(180deg, rgba(255, 255, 255, .018), rgba(255, 255, 255, 0));
}

.totem-pastas-area::before,
.totem-pastas-area::after {
    position: absolute;
    z-index: 2;
    top: 0;
    bottom: 0;
    width: 64px;
    content: '';
    pointer-events: none;
}

.totem-pastas-area::before {
    left: 0;
    background: linear-gradient(90deg, rgba(7, 9, 9, .96), transparent);
}

.totem-pastas-area::after {
    right: 0;
    background: linear-gradient(-90deg, rgba(7, 9, 9, .96), transparent);
}

.totem-pastas {
    display: flex;
    min-height: var(--totem-pastas-altura);
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    max-width: 1920px;
    margin: 0 auto;
    padding: 14px max(30px, env(safe-area-inset-right)) 15px max(30px, env(safe-area-inset-left));
    scrollbar-width: none;
    scroll-snap-type: x proximity;
}

.totem-pastas::-webkit-scrollbar {
    display: none;
}

.totem-pasta {
    position: relative;
    display: grid;
    flex: 0 0 auto;
    min-width: 174px;
    min-height: 68px;
    grid-template-columns: 43px minmax(0, 1fr) auto;
    align-items: center;
    gap: 11px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .095);
    border-radius: 18px;
    padding: 10px 13px;
    color: rgba(255, 255, 255, .72);
    background: rgba(255, 255, 255, .033);
    cursor: pointer;
    scroll-snap-align: start;
    text-align: left;
    transition: transform .2s ease, border-color .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}

.totem-pasta::after {
    position: absolute;
    right: 16px;
    bottom: 0;
    left: 16px;
    height: 2px;
    border-radius: 2px 2px 0 0;
    content: '';
    background: var(--totem-acento);
    box-shadow: 0 0 18px rgba(var(--totem-acento-rgb), .55);
    opacity: 0;
    transform: scaleX(.4);
    transition: opacity .2s ease, transform .2s ease;
}

.totem-pasta:hover {
    border-color: rgba(255, 255, 255, .18);
    color: #fff;
    transform: translateY(-2px);
}

.totem-pasta.ativa {
    border-color: rgba(var(--totem-acento-rgb), .42);
    color: #fff;
    background: linear-gradient(145deg, rgba(var(--totem-acento-rgb), .15), rgba(var(--totem-acento-rgb), .045));
    box-shadow: 0 14px 34px rgba(0, 0, 0, .22), inset 0 1px rgba(255, 255, 255, .06);
}

.totem-pasta.ativa::after {
    opacity: 1;
    transform: scaleX(1);
}

.totem-pasta-icone {
    display: grid;
    width: 43px;
    height: 43px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .095);
    border-radius: 13px;
    color: var(--totem-acento);
    background: rgba(0, 0, 0, .22);
}

.totem-pasta-icone svg {
    width: 21px;
    height: 21px;
}

.totem-pasta-texto {
    min-width: 0;
}

.totem-pasta-texto small,
.totem-pasta-texto strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.totem-pasta-texto small {
    margin-bottom: 2px;
    color: rgba(255, 255, 255, .34);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.totem-pasta-texto strong {
    max-width: 150px;
    font-size: 12px;
    font-weight: 680;
}

.totem-pasta-total {
    min-width: 27px;
    border-radius: 999px;
    padding: 5px 7px;
    color: rgba(255, 255, 255, .54);
    background: rgba(255, 255, 255, .065);
    font-size: 9px;
    font-weight: 800;
    text-align: center;
}

.totem-pasta.ativa .totem-pasta-total {
    color: var(--totem-contraste);
    background: var(--totem-acento);
}

.totem-pasta-skeleton {
    flex: 0 0 174px;
    min-height: 68px;
    border-radius: 18px;
    background: linear-gradient(100deg, rgba(255, 255, 255, .035) 20%, rgba(255, 255, 255, .09) 40%, rgba(255, 255, 255, .035) 60%);
    background-size: 240% 100%;
    animation: totem-skeleton 1.5s ease-in-out infinite;
}

@keyframes totem-skeleton {
    from { background-position: 100% 0; }
    to { background-position: -100% 0; }
}

.totem-galeria {
    max-width: 1920px;
    margin: 0 auto;
    padding: clamp(28px, 4vw, 58px) max(24px, env(safe-area-inset-right)) max(150px, calc(100px + env(safe-area-inset-bottom))) max(24px, env(safe-area-inset-left));
}

.totem-galeria-cabecalho {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto auto;
    align-items: end;
    gap: 28px;
    margin: 0 2px clamp(22px, 3vw, 38px);
}

.totem-galeria-cabecalho > div:first-child > span {
    display: block;
    margin-bottom: 7px;
    color: var(--totem-acento);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .18em;
}

.totem-galeria-cabecalho h2 {
    margin: 0;
    font-size: clamp(30px, 3vw, 50px);
    font-weight: 430;
    line-height: 1;
    letter-spacing: -.052em;
}

.totem-instrucao {
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid rgba(255, 255, 255, .075);
    border-radius: 999px;
    padding: 10px 15px;
    color: rgba(255, 255, 255, .46);
    background: rgba(255, 255, 255, .025);
    font-size: 10px;
    font-weight: 650;
    white-space: nowrap;
}

.totem-instrucao span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.totem-instrucao svg {
    width: 17px;
    height: 17px;
    color: var(--totem-acento);
}

.totem-instrucao > i {
    width: 1px;
    height: 18px;
    background: rgba(255, 255, 255, .11);
}

.totem-total-visivel {
    align-self: center;
    color: rgba(255, 255, 255, .4);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
    white-space: nowrap;
}

.totem-grade {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(14px, 1.55vw, 27px);
}

.totem-foto {
    position: relative;
    min-width: 0;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .095);
    border-radius: clamp(18px, 1.8vw, 30px);
    padding: 0;
    color: #fff;
    background: #101313;
    box-shadow: 0 17px 44px rgba(0, 0, 0, .23);
    cursor: pointer;
    content-visibility: auto;
    contain-intrinsic-size: 420px 315px;
    touch-action: pan-y;
    transition: transform .24s cubic-bezier(.2, .8, .2, 1), border-color .24s ease, box-shadow .24s ease;
}

.totem-foto::after {
    position: absolute;
    inset: 0;
    z-index: 4;
    border: 2px solid transparent;
    border-radius: inherit;
    content: '';
    pointer-events: none;
    transition: border-color .22s ease, box-shadow .22s ease;
}

.totem-foto:hover {
    z-index: 2;
    border-color: rgba(var(--totem-acento-rgb), .35);
    box-shadow: 0 28px 70px rgba(0, 0, 0, .42), 0 0 0 1px rgba(var(--totem-acento-rgb), .12);
    transform: translateY(-6px) scale(1.008);
}

.totem-foto:active {
    transform: scale(.985);
}

.totem-foto.selecionada::after,
.totem-foto.preparando::after {
    border-color: var(--totem-acento);
    box-shadow: inset 0 0 0 1px rgba(var(--totem-acento-rgb), .24), 0 0 32px rgba(var(--totem-acento-rgb), .22);
}

.totem-foto-moldura {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #0c0e0e;
}

.totem-foto-fundo,
.totem-foto-imagem {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

.totem-foto-fundo {
    inset: -8%;
    width: 116%;
    height: 116%;
    object-fit: cover;
    opacity: .5;
    filter: blur(25px) saturate(.72) brightness(.62);
    transform: scale(1.06);
}

.totem-foto-imagem {
    inset: 0;
    z-index: 1;
    object-fit: contain;
    filter: saturate(.96) contrast(1.015);
}

.totem-foto-vinheta {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, .08) 0%, transparent 44%, rgba(0, 0, 0, .76) 100%),
        linear-gradient(90deg, rgba(0, 0, 0, .2), transparent 22%, transparent 78%, rgba(0, 0, 0, .2));
    pointer-events: none;
}

.totem-foto-origem {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 5;
    display: inline-flex;
    min-height: 27px;
    align-items: center;
    gap: 7px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 999px;
    padding: 0 10px;
    color: rgba(255, 255, 255, .78);
    background: rgba(0, 0, 0, .46);
    backdrop-filter: blur(12px);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: .12em;
}

.totem-foto-origem i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ff5f61;
    box-shadow: 0 0 12px rgba(255, 95, 97, .72);
}

.totem-foto-origem.selecao i {
    border-radius: 2px;
    background: var(--totem-acento);
    box-shadow: 0 0 12px rgba(var(--totem-acento-rgb), .55);
    transform: rotate(45deg);
}

.totem-foto-meta {
    position: absolute;
    right: 17px;
    bottom: 15px;
    left: 17px;
    z-index: 5;
    display: flex;
    min-width: 0;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    text-align: left;
    pointer-events: none;
}

.totem-foto-meta > span {
    min-width: 0;
}

.totem-foto-meta small,
.totem-foto-meta strong {
    display: block;
}

.totem-foto-meta small {
    margin-bottom: 3px;
    color: rgba(255, 255, 255, .46);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.totem-foto-meta small.totem-foto-desafio-titulo {
    overflow: hidden;
    max-width: min(300px, 25vw);
    color: var(--totem-acento);
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    line-height: 1.15;
    text-overflow: ellipsis;
    text-shadow: 0 1px 7px rgba(0, 0, 0, .88);
    text-transform: none;
    white-space: nowrap;
}

.totem-foto-meta strong {
    overflow: hidden;
    max-width: min(260px, 23vw);
    color: rgba(255, 255, 255, .91);
    font-size: clamp(11px, .95vw, 14px);
    font-weight: 580;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.totem-foto-meta time {
    flex: 0 0 auto;
    color: rgba(255, 255, 255, .56);
    font-size: 10px;
    font-weight: 650;
}

.totem-foto-acao {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 6;
    display: grid;
    width: 68px;
    height: 68px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .17);
    border-radius: 50%;
    color: var(--totem-contraste);
    background: rgba(var(--totem-acento-rgb), .94);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .38), 0 0 40px rgba(var(--totem-acento-rgb), .2);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -42%) scale(.8);
    transition: opacity .2s ease, transform .24s cubic-bezier(.2, .8, .2, 1);
}

.totem-foto-acao svg {
    width: 27px;
    height: 27px;
}

.totem-foto:hover .totem-foto-acao,
.totem-foto:focus-visible .totem-foto-acao,
.totem-foto.preparando .totem-foto-acao {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.totem-foto.preparando .totem-foto-acao svg {
    display: none;
}

.totem-foto.preparando .totem-foto-acao::before {
    width: 25px;
    height: 25px;
    border: 3px solid rgba(0, 0, 0, .24);
    border-top-color: var(--totem-contraste);
    border-radius: 50%;
    content: '';
    animation: totem-girar .72s linear infinite;
}

.totem-foto.nova {
    animation: totem-foto-chegando .74s cubic-bezier(.15, .8, .24, 1) both;
}

@keyframes totem-foto-chegando {
    from {
        opacity: 0;
        transform: translateY(-24px) scale(.94);
        filter: blur(7px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.totem-foto.erro .totem-foto-moldura::after {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: grid;
    place-items: center;
    content: 'Foto temporariamente indisponível';
    color: rgba(255, 255, 255, .5);
    background: #111414;
    font-size: 11px;
}

.totem-vazio {
    display: grid;
    min-height: min(48vh, 520px);
    place-items: center;
    align-content: center;
    border: 1px dashed rgba(255, 255, 255, .11);
    border-radius: 32px;
    padding: 42px;
    color: rgba(255, 255, 255, .55);
    background: rgba(255, 255, 255, .018);
    text-align: center;
}

.totem-vazio-icone {
    display: grid;
    width: 78px;
    height: 78px;
    place-items: center;
    border: 1px solid rgba(var(--totem-acento-rgb), .24);
    border-radius: 24px;
    color: var(--totem-acento);
    background: rgba(var(--totem-acento-rgb), .07);
}

.totem-vazio-icone svg {
    width: 38px;
    height: 38px;
}

.totem-vazio h3 {
    margin: 24px 0 8px;
    color: rgba(255, 255, 255, .82);
    font-size: clamp(22px, 2.4vw, 34px);
    font-weight: 460;
    letter-spacing: -.03em;
}

.totem-vazio p {
    max-width: 520px;
    margin: 0;
    color: rgba(255, 255, 255, .42);
    font-size: 14px;
    line-height: 1.6;
}

.totem-carregando-mais {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    min-height: 96px;
    color: rgba(255, 255, 255, .46);
    font-size: 11px;
    font-weight: 650;
}

.totem-carregando-mais i,
.totem-feedback i {
    width: 22px;
    height: 22px;
    border: 2px solid rgba(255, 255, 255, .15);
    border-top-color: var(--totem-acento);
    border-radius: 50%;
    animation: totem-girar .72s linear infinite;
}

@keyframes totem-girar {
    to { transform: rotate(360deg); }
}

.totem-sentinela {
    width: 100%;
    height: 2px;
}

.totem-dock {
    position: fixed;
    z-index: 75;
    right: max(22px, env(safe-area-inset-right));
    bottom: max(22px, env(safe-area-inset-bottom));
    display: flex;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, .095);
    border-radius: 20px;
    padding: 7px;
    background: rgba(9, 11, 11, .78);
    box-shadow: 0 22px 55px rgba(0, 0, 0, .38);
    backdrop-filter: blur(20px);
}

.totem-dock button {
    width: 48px;
    height: 48px;
    border-radius: 14px;
}

/* Carregamento e feedback */

.totem-inicial,
.totem-feedback {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: center;
    padding: 30px;
    background:
        radial-gradient(circle at 50% 40%, rgba(var(--totem-acento-rgb), .10), transparent 34%),
        rgba(4, 5, 5, .96);
    backdrop-filter: blur(28px);
    text-align: center;
}

.totem-inicial > *,
.totem-feedback > div {
    max-width: 620px;
}

.totem-inicial-logo {
    position: relative;
    display: grid;
    width: min(300px, 68vw);
    min-height: 92px;
    place-items: center;
    margin-bottom: 38px;
}

.totem-inicial-logo img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 76px;
    object-fit: contain;
}

.totem-inicial-logo i {
    position: absolute;
    right: 8%;
    bottom: -19px;
    left: 8%;
    height: 2px;
    overflow: hidden;
    border-radius: 2px;
    background: rgba(255, 255, 255, .09);
}

.totem-inicial-logo i::after {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 38%;
    border-radius: inherit;
    content: '';
    background: var(--totem-acento);
    box-shadow: 0 0 18px rgba(var(--totem-acento-rgb), .58);
    animation: totem-carregamento-linha 1.35s ease-in-out infinite;
}

@keyframes totem-carregamento-linha {
    0% { left: -42%; }
    55%, 100% { left: 106%; }
}

.totem-inicial > span,
.totem-feedback span {
    display: block;
    margin-bottom: 11px;
    color: var(--totem-acento);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .22em;
}

.totem-inicial h2,
.totem-feedback h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(32px, 4vw, 58px);
    font-weight: 420;
    line-height: 1.02;
    letter-spacing: -.055em;
}

.totem-inicial p,
.totem-feedback p {
    margin: 16px 0 0;
    color: rgba(255, 255, 255, .48);
    font-size: 14px;
}

.totem-inicial.saindo {
    pointer-events: none;
    animation: totem-overlay-sair .5s ease forwards;
}

@keyframes totem-overlay-sair {
    to { opacity: 0; visibility: hidden; }
}


.totem-inicial-recarregar {
    min-width: 190px;
    min-height: 54px;
    margin-top: 30px;
    border: 1px solid rgba(var(--totem-acento-rgb), .5);
    border-radius: 16px;
    padding: 0 25px;
    color: var(--totem-contraste);
    background: var(--totem-acento);
    box-shadow: 0 18px 46px rgba(0, 0, 0, .36), 0 0 30px rgba(var(--totem-acento-rgb), .16);
    cursor: pointer;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
    transition: transform .2s ease, filter .2s ease;
}

.totem-inicial-recarregar:hover {
    filter: brightness(1.06);
    transform: translateY(-2px);
}

.totem-feedback {
    z-index: 140;
    background: rgba(4, 5, 5, .88);
}

.totem-feedback > div {
    display: grid;
    justify-items: center;
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 32px;
    padding: clamp(38px, 6vw, 72px);
    background: linear-gradient(145deg, rgba(26, 29, 29, .96), rgba(8, 10, 10, .98));
    box-shadow: var(--totem-sombra);
}

.totem-feedback i {
    width: 38px;
    height: 38px;
    margin-bottom: 28px;
    border-width: 3px;
}

.totem-toast {
    position: fixed;
    z-index: 155;
    right: max(24px, env(safe-area-inset-right));
    bottom: max(92px, calc(80px + env(safe-area-inset-bottom)));
    max-width: min(420px, calc(100vw - 48px));
    border: 1px solid rgba(255, 255, 255, .11);
    border-left: 3px solid var(--totem-acento);
    border-radius: 16px;
    padding: 15px 18px;
    color: rgba(255, 255, 255, .82);
    background: rgba(13, 15, 15, .94);
    box-shadow: 0 22px 58px rgba(0, 0, 0, .42);
    backdrop-filter: blur(18px);
    font-size: 12px;
    line-height: 1.45;
    animation: totem-toast-entra .28s ease both;
}

.totem-toast.erro {
    border-left-color: #ff706b;
}

@keyframes totem-toast-entra {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Modais */

.totem-modal {
    position: fixed;
    inset: 0;
    z-index: 130;
    display: grid;
    place-items: center;
    overflow-y: auto;
    padding: max(22px, env(safe-area-inset-top)) max(22px, env(safe-area-inset-right)) max(22px, env(safe-area-inset-bottom)) max(22px, env(safe-area-inset-left));
}

.totem-modal-fundo {
    position: fixed;
    inset: 0;
    border: 0;
    padding: 0;
    background: rgba(0, 0, 0, .84);
    backdrop-filter: blur(24px) saturate(80%);
    cursor: default;
}

.totem-modal-cartao {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: clamp(26px, 3vw, 38px);
    background: linear-gradient(145deg, rgba(27, 30, 30, .98), rgba(8, 10, 10, .99));
    box-shadow: 0 44px 120px rgba(0, 0, 0, .64), inset 0 1px rgba(255, 255, 255, .05);
    animation: totem-modal-entra .34s cubic-bezier(.15, .8, .25, 1) both;
}

@keyframes totem-modal-entra {
    from { opacity: 0; transform: translateY(24px) scale(.965); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.totem-modal-fechar {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 3;
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 15px;
    padding: 0;
    color: rgba(255, 255, 255, .65);
    background: rgba(0, 0, 0, .38);
    cursor: pointer;
    backdrop-filter: blur(12px);
}

.totem-modal-fechar:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, .24);
}

.totem-modal-fechar svg {
    width: 20px;
    height: 20px;
}

.totem-modal-qr-cartao {
    display: grid;
    width: min(1040px, 94vw);
    grid-template-columns: minmax(300px, 1.1fr) minmax(360px, .9fr);
}

.totem-qr-foto {
    position: relative;
    min-height: min(74vh, 720px);
    overflow: hidden;
    background: #050606;
}

.totem-qr-foto::after {
    position: absolute;
    inset: 0;
    content: '';
    background: linear-gradient(90deg, transparent 65%, rgba(8, 10, 10, .32));
    pointer-events: none;
}

.totem-qr-foto img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: contain;
}

.totem-qr-conteudo {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(44px, 5vw, 78px);
    text-align: center;
}

.totem-qr-conteudo > span,
.totem-modal-ajuda-cartao > span {
    display: block;
    margin-bottom: 12px;
    color: var(--totem-acento);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .2em;
}

.totem-qr-conteudo h2,
.totem-modal-ajuda-cartao > h2 {
    margin: 0;
    font-size: clamp(30px, 3.2vw, 48px);
    font-weight: 430;
    line-height: 1.02;
    letter-spacing: -.05em;
}

.totem-qr-conteudo > p {
    max-width: 420px;
    margin: 17px 0 27px;
    color: rgba(255, 255, 255, .52);
    font-size: 13px;
    line-height: 1.6;
}

.totem-qr-quadro {
    position: relative;
    width: min(280px, 62vw);
    aspect-ratio: 1;
    border: 10px solid #fff;
    border-radius: 22px;
    padding: 4px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .36), 0 0 0 1px rgba(var(--totem-acento-rgb), .18);
}

.totem-qr-quadro > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.totem-qr-quadro > i {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 28px;
    height: 28px;
    border: 5px solid #fff;
    border-radius: 9px;
    background: var(--totem-acento);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .12);
    transform: translate(-50%, -50%) rotate(45deg);
    pointer-events: none;
}

.totem-qr-conteudo > small {
    margin-top: 18px;
    color: rgba(255, 255, 255, .34);
    font-size: 10px;
}

.totem-modal-ajuda-cartao {
    width: min(1050px, 94vw);
    padding: clamp(42px, 5vw, 76px);
    text-align: center;
}

.totem-ajuda-passos {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 38px;
}

.totem-ajuda-passos article {
    position: relative;
    min-height: 270px;
    border: 1px solid rgba(255, 255, 255, .085);
    border-radius: 24px;
    padding: 27px;
    background: rgba(255, 255, 255, .025);
    text-align: left;
}

.totem-ajuda-passos article > b {
    position: absolute;
    top: 20px;
    right: 22px;
    color: rgba(255, 255, 255, .16);
    font-size: 26px;
    font-weight: 300;
}

.totem-ajuda-passos article > svg {
    width: 44px;
    height: 44px;
    margin-bottom: 38px;
    color: var(--totem-acento);
}

.totem-ajuda-passos h3 {
    margin: 0 0 9px;
    color: rgba(255, 255, 255, .9);
    font-size: 20px;
    font-weight: 560;
}

.totem-ajuda-passos p {
    margin: 0;
    color: rgba(255, 255, 255, .44);
    font-size: 12px;
    line-height: 1.6;
}

.totem-ajuda-nota {
    max-width: 780px;
    margin: 27px auto 0;
    color: rgba(255, 255, 255, .43);
    font-size: 12px;
    line-height: 1.65;
}

.totem-ajuda-entendi {
    min-width: 170px;
    min-height: 52px;
    margin-top: 28px;
    border: 0;
    border-radius: 15px;
    padding: 0 26px;
    color: var(--totem-contraste);
    background: var(--totem-acento);
    cursor: pointer;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .06em;
    text-transform: uppercase;
}

/* Página pública da foto */

.totem-pagina-foto-publica {
    min-height: 100dvh;
    background:
        radial-gradient(circle at 50% -10%, rgba(var(--totem-acento-rgb), .14), transparent 38%),
        #070909;
}

.totem-foto-publica {
    display: flex;
    min-height: 100dvh;
    flex-direction: column;
    max-width: 1180px;
    margin: 0 auto;
    padding: max(24px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
}

.totem-foto-publica-topo {
    display: flex;
    min-height: 74px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    padding-bottom: 18px;
}

.totem-foto-publica-topo img {
    display: block;
    width: auto;
    max-width: min(220px, 54vw);
    max-height: 48px;
    object-fit: contain;
}

.totem-foto-publica-topo span {
    color: rgba(255, 255, 255, .38);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .17em;
}

.totem-foto-publica-conteudo {
    display: grid;
    justify-items: center;
    padding: clamp(34px, 7vw, 80px) 0;
}

.totem-foto-publica-titulo {
    margin-bottom: 28px;
    text-align: center;
}

.totem-foto-publica-titulo > span {
    display: block;
    margin-bottom: 10px;
    color: var(--totem-acento);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .2em;
}

.totem-foto-publica-titulo h1 {
    margin: 0;
    font-size: clamp(29px, 6.5vw, 58px);
    font-weight: 430;
    line-height: 1.05;
    letter-spacing: -.05em;
}

.totem-foto-publica-titulo time {
    display: block;
    margin-top: 10px;
    color: rgba(255, 255, 255, .42);
    font-size: 11px;
    font-weight: 650;
    letter-spacing: .08em;
}

.totem-foto-publica-quadro {
    display: grid;
    overflow: hidden;
    width: min(100%, 940px);
    min-height: 280px;
    max-height: 70vh;
    place-items: center;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: clamp(20px, 4vw, 34px);
    padding: clamp(6px, 1vw, 10px);
    background: #030404;
    box-shadow: 0 32px 90px rgba(0, 0, 0, .46);
}

.totem-foto-publica-quadro img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: calc(70vh - 20px);
    border-radius: calc(clamp(20px, 4vw, 34px) - 8px);
    object-fit: contain;
}

.totem-foto-publica-download {
    display: inline-flex;
    min-height: 58px;
    align-items: center;
    justify-content: center;
    gap: 11px;
    margin-top: 28px;
    border-radius: 17px;
    padding: 0 27px;
    color: var(--totem-contraste);
    background: var(--totem-acento);
    box-shadow: 0 18px 45px rgba(var(--totem-acento-rgb), .17);
    font-size: 13px;
    font-weight: 820;
    text-decoration: none;
}

.totem-foto-publica-download svg {
    width: 22px;
    height: 22px;
}

.totem-foto-publica-conteudo > p {
    margin: 15px 0 0;
    color: rgba(255, 255, 255, .42);
    font-size: 11px;
    text-align: center;
}

.totem-foto-publica-erro {
    display: grid;
    flex: 1;
    place-items: center;
    align-content: center;
    padding: 50px 20px;
    text-align: center;
}

.totem-foto-publica-erro > span {
    display: grid;
    width: 86px;
    height: 86px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 28px;
    color: #ff8d88;
    background: rgba(255, 111, 105, .07);
}

.totem-foto-publica-erro svg {
    width: 42px;
    height: 42px;
}

.totem-foto-publica-erro h1 {
    max-width: 620px;
    margin: 27px 0 11px;
    font-size: clamp(30px, 6vw, 52px);
    font-weight: 430;
    line-height: 1.05;
    letter-spacing: -.05em;
}

.totem-foto-publica-erro p {
    max-width: 520px;
    margin: 0;
    color: rgba(255, 255, 255, .47);
    font-size: 14px;
    line-height: 1.6;
}

.totem-foto-publica-rodape {
    display: flex;
    min-height: 62px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding-top: 18px;
    color: rgba(255, 255, 255, .34);
    font-size: 10px;
}

.totem-foto-publica-rodape strong {
    color: rgba(255, 255, 255, .58);
    font-weight: 700;
}

/* Impressão 10 x 15 */

.totem-print-sheet {
    display: none;
}

@page totem-retrato {
    size: 100mm 150mm;
    margin: 0;
}

@page totem-paisagem {
    size: 150mm 100mm;
    margin: 0;
}

@media print {
    html,
    body {
        width: auto !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        background: #000 !important;
    }

    body > * {
        visibility: hidden !important;
    }

    #totem-app,
    #totem-print-sheet,
    #totem-print-sheet * {
        visibility: visible !important;
    }

    #totem-app {
        position: static !important;
        min-height: 0 !important;
    }

    #totem-app > *:not(#totem-print-sheet) {
        display: none !important;
    }

    .totem-print-sheet {
        position: fixed;
        inset: 0;
        display: block !important;
        overflow: hidden;
        margin: 0;
        padding: 0;
        color: #fff;
        background: #000;
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }

    .totem-print-sheet::after {
        position: absolute;
        z-index: 2;
        right: 0;
        bottom: 0;
        left: 0;
        height: 28mm;
        content: '';
        background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .56));
        pointer-events: none;
    }

    .totem-print-sheet.retrato {
        width: 100mm;
        height: 150mm;
        page: totem-retrato;
    }

    .totem-print-sheet.paisagem {
        width: 150mm;
        height: 100mm;
        page: totem-paisagem;
    }

    .totem-print-foto {
        position: absolute;
        z-index: 1;
        inset: 0;
        display: block;
        overflow: hidden;
        background: #000;
    }

    .totem-print-foto img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .totem-print-identidade {
        position: absolute;
        z-index: 4;
        bottom: 4mm;
        left: 4mm;
        max-width: 58%;
        border-left: .5mm solid rgba(var(--totem-acento-rgb), .92);
        padding: .9mm 1.7mm .85mm;
        color: #fff;
        background: rgba(0, 0, 0, .30);
        text-shadow: 0 .35mm 1.2mm rgba(0, 0, 0, .9);
    }

    .totem-print-identidade strong {
        display: block;
        overflow: hidden;
        color: #fff;
        font-size: 6.6pt !important;
        font-weight: 620;
        line-height: 1.08;
        letter-spacing: -.02em;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .totem-print-data {
        position: absolute;
        z-index: 4;
        top: 50%;
        right: 1.5mm;
        display: block;
        color: rgba(255, 255, 255, .82);
        font-size: 4.8pt !important;
        font-weight: 620;
        line-height: 1;
        letter-spacing: .12em;
        text-shadow: 0 .3mm 1mm rgba(0, 0, 0, .95);
        text-transform: uppercase;
        white-space: nowrap;
        writing-mode: vertical-rl;
        transform: translateY(-50%) rotate(180deg);
    }

    .totem-print-logo {
        position: absolute;
        z-index: 4;
        right: 4mm;
        bottom: 4mm;
        display: block;
        width: auto;
        max-width: 28mm;
        height: auto;
        max-height: 7mm;
        object-fit: contain;
        filter: drop-shadow(0 .4mm 1.1mm rgba(0, 0, 0, .92));
    }
}

/* Responsividade */

@media (orientation: portrait) {
    :root {
        --totem-topo-altura: 108px;
        --totem-pastas-altura: 98px;
    }

    .totem-grade {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: clamp(16px, 2.4vw, 27px);
    }

    .totem-foto-meta strong {
        max-width: 36vw;
    }

    .totem-topo-principal {
        grid-template-columns: minmax(160px, .8fr) minmax(260px, 1.4fr) auto;
    }

    .totem-identidade > span {
        display: none;
    }

    .totem-instrucao {
        display: none;
    }

    .totem-galeria-cabecalho {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .totem-modal-qr-cartao {
        width: min(820px, 94vw);
        grid-template-columns: 1fr;
    }

    .totem-qr-foto {
        min-height: 34vh;
        max-height: 42vh;
    }

    .totem-qr-conteudo {
        padding: 35px 44px 44px;
    }
}

@media (max-width: 1180px) {
    .totem-topo-principal {
        grid-template-columns: minmax(150px, .75fr) minmax(240px, 1.3fr) auto;
        gap: 20px;
    }

    .totem-identidade img {
        max-width: 165px;
    }

    .totem-identidade > span {
        display: none;
    }

    .totem-conexao {
        padding: 0 12px;
    }

    .totem-galeria-cabecalho {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .totem-instrucao {
        display: none;
    }

    .totem-ajuda-passos article {
        min-height: 245px;
        padding: 23px;
    }
}

@media (max-height: 820px) and (min-width: 761px) {
    .totem-entrada {
        padding: 24px;
    }

    .totem-entrada-card {
        padding: 34px 44px;
    }

    .totem-entrada-marca {
        min-height: 46px;
        margin-bottom: 28px;
    }

    .totem-entrada-marca img {
        max-height: 46px;
    }

    .totem-entrada-conteudo > h1 {
        font-size: clamp(42px, 7.6vh, 60px);
    }

    .totem-entrada-conteudo > p {
        margin-top: 16px;
        line-height: 1.5;
    }

    #totem-entrada-form {
        margin-top: 28px;
    }

    .totem-codigo-campo input,
    .totem-codigo-campo button {
        min-height: 54px;
    }

    .totem-entrada-rodape {
        margin-top: 24px;
        padding-top: 18px;
    }
}

@media (max-width: 900px) {
    .totem-entrada {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: max(20px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));
    }

    .totem-entrada-card {
        margin: 0;
        padding: clamp(28px, 7vw, 52px);
    }

    .totem-entrada-mosaico,
    .totem-entrada-chamada {
        display: none;
    }

    .totem-entrada::before {
        background:
            radial-gradient(circle at 85% 15%, rgba(var(--totem-acento-rgb), .12), transparent 28%),
            linear-gradient(180deg, rgba(4, 5, 5, .86), rgba(4, 5, 5, .98));
    }

    .totem-topo-principal {
        min-height: 102px;
        grid-template-columns: minmax(120px, .7fr) minmax(180px, 1.5fr) auto;
        padding-right: 16px;
        padding-left: 16px;
    }

    .totem-identidade img {
        max-width: 130px;
        max-height: 40px;
    }

    .totem-evento > span,
    .totem-evento p {
        display: none !important;
    }

    .totem-evento h1 {
        font-size: 19px;
    }

    .totem-conexao b {
        display: none;
    }

    .totem-conexao {
        min-width: 42px;
        justify-content: center;
        padding: 0;
    }

    .totem-botao-icone {
        width: 43px;
        height: 43px;
    }

    .totem-grade {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .totem-ajuda-passos {
        grid-template-columns: 1fr;
    }

    .totem-ajuda-passos article {
        min-height: 0;
    }

    .totem-ajuda-passos article > svg {
        margin-bottom: 22px;
    }
}

@media (max-width: 640px) {
    :root {
        --totem-pastas-altura: 88px;
    }

    .totem-entrada {
        overflow: visible;
    }

    .totem-entrada-card {
        padding: clamp(28px, 7vw, 46px) clamp(22px, 6vw, 38px);
        border-radius: 23px;
    }

    .totem-entrada-marca {
        align-items: flex-start;
        margin-bottom: 34px;
    }

    .totem-entrada-conteudo h1 {
        font-size: clamp(38px, 12vw, 52px);
        letter-spacing: -.05em;
    }

    .totem-entrada-conteudo > p {
        margin-top: 21px;
        font-size: 15px;
    }

    .totem-codigo-campo {
        grid-template-columns: 1fr;
    }

    .totem-codigo-campo input {
        min-height: 58px;
        text-align: center;
    }

    .totem-codigo-campo button {
        min-width: 0;
        min-height: 57px;
    }

    .totem-entrada-rodape {
        grid-template-columns: 1fr;
        align-items: flex-start;
        gap: 10px;
        margin-top: 34px;
    }

    .totem-entrada-rodape p {
        text-align: left;
    }

    .totem-topo-principal {
        grid-template-columns: minmax(90px, .7fr) minmax(140px, 1.4fr) auto;
        gap: 10px;
    }

    .totem-identidade img {
        max-width: 100px;
        max-height: 34px;
    }

    #totem-ajuda-botao,
    .totem-conexao {
        display: none;
    }

    .totem-pastas {
        gap: 8px;
        padding: 10px 16px;
    }

    .totem-pasta {
        min-width: 150px;
        min-height: 62px;
        grid-template-columns: 38px minmax(0, 1fr) auto;
        border-radius: 16px;
        padding: 9px 11px;
    }

    .totem-pasta-icone {
        width: 38px;
        height: 38px;
        border-radius: 11px;
    }

    .totem-galeria {
        padding: 28px 14px 128px;
    }

    .totem-galeria-cabecalho {
        margin-bottom: 20px;
    }

    .totem-galeria-cabecalho h2 {
        font-size: 31px;
    }

    .totem-total-visivel {
        display: none;
    }

    .totem-grade {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .totem-foto {
        aspect-ratio: 4 / 3;
        border-radius: 20px;
    }

    .totem-foto-meta strong {
        max-width: 62vw;
        font-size: 13px;
    }

    .totem-foto-acao {
        width: 60px;
        height: 60px;
    }

    .totem-dock {
        right: 14px;
        bottom: max(14px, env(safe-area-inset-bottom));
    }

    .totem-dock button {
        width: 44px;
        height: 44px;
    }


    .totem-modal-qr-cartao {
        width: calc(100vw - 24px);
    }

    .totem-qr-foto {
        min-height: 30vh;
        max-height: 34vh;
    }

    .totem-qr-conteudo {
        padding: 31px 22px 34px;
    }

    .totem-qr-quadro {
        width: min(235px, 68vw);
    }

    .totem-modal-ajuda-cartao {
        width: calc(100vw - 24px);
        padding: 36px 18px 28px;
    }

    .totem-ajuda-passos {
        margin-top: 28px;
    }

    .totem-foto-publica-topo span {
        display: none;
    }

    .totem-foto-publica-download {
        width: 100%;
        padding: 0 18px;
    }
}

@media (max-height: 650px) and (orientation: landscape) {
    :root {
        --totem-topo-altura: 86px;
        --totem-pastas-altura: 82px;
    }

    .totem-topo-principal {
        min-height: var(--totem-topo-altura);
        padding-top: 9px;
        padding-bottom: 9px;
    }

    .totem-identidade img {
        max-height: 38px;
    }

    .totem-evento p {
        display: none !important;
    }

    .totem-pastas {
        padding-top: 9px;
        padding-bottom: 9px;
    }

    .totem-pasta {
        min-height: 58px;
    }

    .totem-pasta-icone {
        width: 38px;
        height: 38px;
    }

    .totem-galeria {
        padding-top: 26px;
    }

    .totem-galeria-cabecalho {
        margin-bottom: 21px;
    }

    .totem-galeria-cabecalho h2 {
        font-size: 34px;
    }
}

@media (hover: none) {
    .totem-foto-acao {
        top: 16px;
        right: 16px;
        left: auto;
        width: 42px;
        height: 42px;
        opacity: .82;
        transform: none;
    }

    .totem-foto-acao svg {
        width: 20px;
        height: 20px;
    }

    .totem-foto:hover {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

.totem-sem-script {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    align-content: center;
    padding: 30px;
    color: #fff;
    background: #080a0b;
    text-align: center;
}

.totem-sem-script h1 {
    margin: 0;
    font-size: 34px;
    font-weight: 500;
}

.totem-sem-script p {
    margin: 14px 0 0;
    color: rgba(255, 255, 255, .55);
}

/* ImpressãoVIP · galeria contínua, memória interna e modo demonstração */

.impressao-pagina {
    --impressao-topo-altura: 58px;
    --impressao-dock-altura: 58px;
    background:
        radial-gradient(circle at 8% -8%, rgba(var(--totem-acento-rgb), .10), transparent 32%),
        linear-gradient(180deg, #080a0b 0%, #040505 100%);
}

.impressao-app {
    min-height: 100dvh;
}

.impressao-topo-revelador {
    position: fixed;
    top: max(0px, env(safe-area-inset-top));
    left: 50%;
    z-index: 87;
    display: grid;
    width: 88px;
    height: 30px;
    place-items: start center;
    overflow: visible;
    border: 0;
    padding: 0;
    color: rgba(255, 255, 255, .58);
    background: transparent;
    cursor: pointer;
    transform: translateX(-50%);
    transition: opacity .2s ease, transform .25s ease;
}

.impressao-topo-revelador > span {
    display: block;
    width: 54px;
    height: 4px;
    border-radius: 0 0 999px 999px;
    background: rgba(255, 255, 255, .28);
    box-shadow: 0 5px 18px rgba(0, 0, 0, .34), 0 0 15px rgba(var(--totem-acento-rgb), .12);
    transition: width .2s ease, height .2s ease, background .2s ease;
}

.impressao-topo-revelador svg {
    position: absolute;
    top: 7px;
    width: 15px;
    height: 15px;
    opacity: 0;
    transform: translateY(-3px);
    transition: opacity .2s ease, transform .2s ease;
}

.impressao-topo-revelador:hover > span,
.impressao-topo-revelador:focus-visible > span {
    width: 72px;
    height: 6px;
    background: rgba(var(--totem-acento-rgb), .76);
}

.impressao-topo-revelador:hover svg,
.impressao-topo-revelador:focus-visible svg {
    opacity: .9;
    transform: translateY(0);
}

.impressao-topo-revelador.aberto {
    pointer-events: none;
    opacity: 0;
    transform: translateX(-50%) translateY(-8px);
}

.impressao-topo {
    position: fixed;
    top: max(8px, env(safe-area-inset-top));
    right: max(10px, env(safe-area-inset-right));
    left: max(10px, env(safe-area-inset-left));
    z-index: 86;
    display: flex;
    min-height: var(--impressao-topo-altura);
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    overflow: visible;
    border: 1px solid rgba(255, 255, 255, .105);
    border-radius: 18px;
    padding: 7px 8px 7px 15px;
    background: linear-gradient(145deg, rgba(19, 22, 22, .86), rgba(6, 8, 8, .80));
    box-shadow: 0 14px 44px rgba(0, 0, 0, .30), inset 0 1px rgba(255, 255, 255, .045);
    backdrop-filter: blur(22px) saturate(135%);
    transform: translateY(0);
    opacity: 1;
    will-change: transform, opacity;
    transition: transform .38s cubic-bezier(.2, .8, .2, 1), opacity .28s ease;
}

.impressao-topo.oculto {
    pointer-events: none;
    opacity: 0;
    transform: translateY(calc(-100% - max(18px, env(safe-area-inset-top))));
}

.impressao-topo-identidade,
.impressao-topo-status {
    display: flex;
    min-width: 0;
    align-items: center;
}

.impressao-topo-identidade {
    flex: 1 1 auto;
    gap: 12px;
}

.impressao-topo-identidade img {
    display: block;
    flex: 0 1 auto;
    width: auto;
    max-width: min(170px, 17vw);
    max-height: 35px;
    object-fit: contain;
}

.impressao-topo-identidade > span {
    flex: 0 0 auto;
    color: var(--totem-acento);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.impressao-topo-identidade > i {
    flex: 0 0 auto;
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, .13);
}

.impressao-topo-identidade > strong {
    overflow: hidden;
    min-width: 0;
    color: rgba(255, 255, 255, .78);
    font-size: 12px;
    font-weight: 570;
    letter-spacing: -.01em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.impressao-topo-identidade > p {
    display: none !important;
}

.impressao-topo-status {
    flex: 0 0 auto;
    justify-content: flex-end;
    gap: 7px;
}

.impressao-topo .totem-conexao,
.impressao-memoria,
.impressao-creditos {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, .085);
    border-radius: 13px;
    padding: 0 12px;
    color: rgba(255, 255, 255, .66);
    background: rgba(255, 255, 255, .035);
    font-size: 9px;
    font-weight: 780;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.impressao-topo .totem-conexao.memoria {
    color: #ffd98a;
}

.impressao-topo .totem-conexao.memoria i {
    background: #f4b846;
    box-shadow: 0 0 0 4px rgba(244, 184, 70, .09), 0 0 16px rgba(244, 184, 70, .42);
}

.impressao-topo .totem-conexao.memoria i::after {
    border-color: rgba(244, 184, 70, .48);
}

.impressao-memoria {
    min-width: 111px;
    text-transform: none;
}

.impressao-memoria svg {
    width: 17px;
    height: 17px;
    color: var(--totem-acento);
}

.impressao-memoria b {
    color: rgba(255, 255, 255, .92);
    font-size: 12px;
}

.impressao-memoria small {
    color: rgba(255, 255, 255, .42);
    font-size: 8px;
    font-weight: 650;
    letter-spacing: .02em;
}

.impressao-memoria.preparando svg {
    animation: impressao-memoria-pulso 1.2s ease-in-out infinite;
}

.impressao-memoria.indisponivel {
    opacity: .42;
}

@keyframes impressao-memoria-pulso {
    0%, 100% { opacity: .45; transform: scale(.92); }
    50% { opacity: 1; transform: scale(1.05); }
}

.impressao-creditos {
    min-width: 118px;
    border-color: rgba(var(--totem-acento-rgb), .20);
    color: rgba(255, 255, 255, .76);
    background: rgba(var(--totem-acento-rgb), .065);
    cursor: pointer;
    text-transform: none;
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.impressao-creditos:hover {
    border-color: rgba(var(--totem-acento-rgb), .48);
    background: rgba(var(--totem-acento-rgb), .12);
    transform: translateY(-1px);
}

.impressao-creditos svg {
    width: 17px;
    height: 17px;
    color: var(--totem-acento);
}

.impressao-creditos .icone-olho-fechado,
.impressao-creditos.ocultos .icone-olho {
    display: none;
}

.impressao-creditos.ocultos .icone-olho-fechado {
    display: block;
}

.impressao-creditos span {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    color: rgba(255, 255, 255, .46);
    font-size: 8px;
    letter-spacing: .04em;
}

.impressao-creditos span b {
    color: #fff;
    font-size: 13px;
    font-weight: 760;
    letter-spacing: 0;
}

.impressao-topo .totem-botao-icone {
    width: 42px;
    height: 42px;
    border-radius: 13px;
}


.impressao-topo .totem-botao-icone.tela-cheia-nativa,
.impressao-dock button.tela-cheia-nativa {
    border-color: rgba(244, 184, 70, .48);
    color: #ffd98a;
    background: rgba(244, 184, 70, .10);
}

.impressao-galeria {
    width: 100%;
    max-width: 2140px;
    margin: 0 auto;
    padding: clamp(26px, 4vw, 54px) max(12px, 1.45vw) max(118px, calc(92px + env(safe-area-inset-bottom)));
}

.impressao-galeria-cabecalho {
    position: relative;
    min-height: clamp(126px, 17vh, 184px);
    grid-template-columns: minmax(300px, 1fr) auto auto;
    align-items: end;
    gap: 24px;
    margin: 0 6px clamp(20px, 2.8vw, 38px);
    border-bottom: 1px solid rgba(255, 255, 255, .075);
    padding: clamp(50px, 8vh, 94px) 4px clamp(20px, 2.4vw, 30px);
}

.impressao-galeria-cabecalho::after {
    position: absolute;
    bottom: -1px;
    left: 4px;
    width: clamp(72px, 7vw, 118px);
    height: 2px;
    border-radius: 999px;
    content: '';
    background: linear-gradient(90deg, var(--totem-acento), rgba(var(--totem-acento-rgb), 0));
    box-shadow: 0 0 18px rgba(var(--totem-acento-rgb), .32);
}

.impressao-galeria-titulo {
    position: relative;
    min-width: 0;
    padding-left: clamp(16px, 1.6vw, 26px);
}

.impressao-galeria-titulo::before {
    position: absolute;
    top: 3px;
    bottom: 3px;
    left: 0;
    width: 3px;
    border-radius: 999px;
    content: '';
    background: var(--totem-acento);
    box-shadow: 0 0 20px rgba(var(--totem-acento-rgb), .48);
}

.impressao-galeria-cabecalho h1 {
    margin: 0;
    color: rgba(255, 255, 255, .97);
    font-size: clamp(38px, 4.25vw, 70px);
    font-weight: 560;
    line-height: .92;
    letter-spacing: -.058em;
    text-wrap: balance;
}

.impressao-galeria-titulo > span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 9px;
    color: var(--totem-acento);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .19em;
}

.impressao-galeria-titulo > span i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ef3f4d;
    box-shadow: 0 0 0 5px rgba(239, 63, 77, .09), 0 0 16px rgba(239, 63, 77, .5);
    animation: totem-pulso-conexao 1.7s ease-out infinite;
}

.impressao-galeria-titulo > p {
    max-width: 620px;
    margin: 11px 0 0;
    color: rgba(255, 255, 255, .43);
    font-size: clamp(10px, .84vw, 13px);
    font-weight: 510;
    line-height: 1.4;
    letter-spacing: .01em;
}

.impressao-galeria-cabecalho .totem-instrucao {
    border-color: rgba(var(--totem-acento-rgb), .15);
    background: linear-gradient(145deg, rgba(var(--totem-acento-rgb), .075), rgba(255, 255, 255, .018));
    box-shadow: inset 0 1px rgba(255, 255, 255, .035);
}

.impressao-galeria-cabecalho .totem-total-visivel {
    align-self: end;
    border: 1px solid rgba(255, 255, 255, .085);
    border-radius: 999px;
    padding: 9px 12px;
    color: rgba(255, 255, 255, .58);
    background: rgba(255, 255, 255, .035);
}

.impressao-galeria .totem-grade {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(10px, 1.3vw, 22px);
}

.impressao-galeria .totem-foto {
    aspect-ratio: 4 / 3;
    border-radius: clamp(14px, 1.45vw, 24px);
    background: #090b0b;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .26);
}

.impressao-galeria .totem-foto:hover {
    z-index: 2;
    box-shadow: 0 25px 55px rgba(0, 0, 0, .43), 0 0 0 1px rgba(var(--totem-acento-rgb), .23);
    transform: translateY(-3px) scale(1.012);
}

.impressao-galeria .totem-foto-meta,
.impressao-galeria .totem-foto-origem,
.impressao-galeria .totem-foto-acao {
    opacity: 0;
    transition: opacity .2s ease, transform .2s ease;
}

.impressao-galeria .totem-foto-curtidas {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 6;
    display: inline-flex;
    min-width: 35px;
    height: 30px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
    padding: 0 9px;
    color: #fff;
    background: rgba(4, 6, 6, .66);
    box-shadow: 0 9px 25px rgba(0, 0, 0, .24);
    backdrop-filter: blur(12px);
    pointer-events: none;
}

.impressao-galeria .totem-foto-curtidas[hidden] {
    display: none;
}

.impressao-galeria .totem-foto-curtidas svg {
    width: 13px;
    height: 13px;
    fill: #ff626d;
    stroke: #ff626d;
    stroke-width: 1.5;
}

.impressao-galeria .totem-foto.curtida-por-mim .totem-foto-curtidas {
    border-color: rgba(255, 98, 109, .38);
    background: rgba(72, 12, 20, .72);
}

.impressao-galeria .totem-foto-curtidas b {
    font-size: 9px;
    font-weight: 820;
    line-height: 1;
}

.impressao-galeria .totem-foto-numero {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 6;
    display: inline-flex;
    min-width: 18px;
    min-height: 18px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 999px;
    padding: 0 6px;
    color: rgba(255, 255, 255, .7);
    background: rgba(4, 6, 6, .48);
    box-shadow: 0 6px 16px rgba(0, 0, 0, .18);
    backdrop-filter: blur(8px);
    font-size: 6px;
    font-weight: 850;
    letter-spacing: .025em;
    line-height: 1;
    pointer-events: none;
}

.impressao-galeria .totem-foto-numero[hidden] {
    display: none;
}

.impressao-galeria .totem-foto:hover .totem-foto-meta,
.impressao-galeria .totem-foto:hover .totem-foto-origem,
.impressao-galeria .totem-foto:hover .totem-foto-acao,
.impressao-galeria .totem-foto:focus-visible .totem-foto-meta,
.impressao-galeria .totem-foto:focus-visible .totem-foto-origem,
.impressao-galeria .totem-foto:focus-visible .totem-foto-acao,
.impressao-galeria .totem-foto.preparando .totem-foto-acao {
    opacity: 1;
}

.impressao-galeria .totem-foto.da-memoria::before {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 5;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    content: '';
    background: #f4b846;
    box-shadow: 0 0 0 4px rgba(244, 184, 70, .12), 0 0 15px rgba(244, 184, 70, .48);
}

.impressao-galeria .totem-foto-origem {
    top: 48px;
    left: 14px;
}

.impressao-galeria .totem-foto.da-memoria .totem-foto-numero,
.impressao-galeria .totem-foto.da-memoria .totem-foto-origem {
    left: 28px;
}

.impressao-galeria .totem-foto-meta {
    right: 14px;
    bottom: 13px;
    left: 14px;
}

.impressao-galeria .totem-foto-acao {
    top: 12px;
    right: 12px;
    bottom: auto;
    left: auto;
    width: 44px;
    height: 44px;
    transform: translateY(0) scale(.88);
    transform-origin: center;
}

.impressao-galeria .totem-foto.selecionada {
    z-index: 4;
    border-color: rgba(var(--totem-acento-rgb), .72);
    box-shadow:
        0 28px 70px rgba(0, 0, 0, .52),
        0 0 0 1px rgba(var(--totem-acento-rgb), .24),
        0 0 42px rgba(var(--totem-acento-rgb), .18);
    transform: translateY(-2px) scale(1.008);
}

.impressao-galeria .totem-foto.selecionada .totem-foto-vinheta {
    background:
        linear-gradient(180deg, rgba(0, 0, 0, .22) 0%, rgba(0, 0, 0, .08) 38%, rgba(0, 0, 0, .88) 100%),
        linear-gradient(90deg, rgba(0, 0, 0, .2), transparent 22%, transparent 78%, rgba(0, 0, 0, .2));
}

.impressao-galeria .totem-foto.selecionada .totem-foto-meta {
    opacity: 0;
    transform: translateY(8px);
}

.totem-foto-escolhas {
    position: absolute;
    right: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 9;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px) scale(.97);
    transition:
        opacity .2s ease,
        transform .28s cubic-bezier(.18, .8, .22, 1);
}

.totem-foto.selecionada .totem-foto-escolhas {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.totem-foto.selecionada.acoes-prontas .totem-foto-escolhas {
    pointer-events: auto;
}

.totem-foto-escolha {
    display: grid;
    min-width: 0;
    min-height: 54px;
    grid-template-columns: 30px minmax(0, 1fr);
    align-items: center;
    gap: 7px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 15px;
    padding: 7px 9px;
    color: #fff;
    background: rgba(7, 10, 10, .82);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .28);
    backdrop-filter: blur(16px) saturate(125%);
    cursor: pointer;
    text-align: left;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.totem-foto-escolha:hover,
.totem-foto-escolha:focus-visible {
    border-color: rgba(255, 255, 255, .28);
    transform: translateY(-1px);
}

.totem-foto-escolha > svg {
    width: 23px;
    height: 23px;
    justify-self: center;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.totem-foto-escolha > span {
    display: grid;
    min-width: 0;
    justify-items: center;
    gap: 2px;
    text-align: center;
}

.totem-foto-escolha small,
.totem-foto-escolha strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.totem-foto-escolha small {
    color: rgba(255, 255, 255, .46);
    font-size: 6px;
    font-weight: 850;
    letter-spacing: .13em;
}

.totem-foto-escolha strong {
    font-size: 10px;
    font-weight: 760;
}

.totem-foto-escolha.imprimir {
    border-color: rgba(var(--totem-acento-rgb), .58);
    color: var(--totem-contraste);
    background: linear-gradient(145deg, rgba(var(--totem-acento-rgb), 1), rgba(var(--totem-acento-rgb), .83));
    box-shadow: 0 14px 34px rgba(0, 0, 0, .34), 0 0 28px rgba(var(--totem-acento-rgb), .18);
}

.totem-foto-escolha.imprimir > span {
    justify-items: center;
    text-align: center;
}

.totem-foto-escolha.celular strong {
    font-size: 10px;
}

.totem-foto-escolha.imprimir small {
    color: var(--totem-contraste);
    opacity: .62;
}

.totem-foto-escolha.celular {
    border-color: rgba(255, 255, 255, .16);
    background: rgba(8, 11, 11, .88);
}

.totem-foto.preparando .totem-foto-escolha.imprimir {
    pointer-events: none;
}

.totem-foto.preparando .totem-foto-escolha.imprimir > svg {
    animation: totem-girar .72s linear infinite;
}

.totem-foto-curtida-efeito {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 12;
    display: grid;
    width: 82px;
    height: 82px;
    place-items: center;
    border-radius: 50%;
    background: rgba(5, 7, 7, .44);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .38);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -42%) scale(.45);
}

.totem-foto-curtida-efeito svg {
    width: 44px;
    height: 44px;
    fill: #ff626d;
    stroke: #ff626d;
    stroke-width: 1.2;
}

.totem-foto.curtida-celebrada .totem-foto-curtida-efeito {
    animation: impressao-curtida-celebrada 1s cubic-bezier(.18, .84, .22, 1) both;
}

.totem-foto.curtida-removida .totem-foto-curtida-efeito {
    animation: impressao-curtida-removida .72s cubic-bezier(.4, 0, .2, 1) both;
}

.totem-foto.curtida-removida .totem-foto-curtida-efeito svg {
    fill: transparent;
}

@keyframes impressao-curtida-celebrada {
    0% { opacity: 0; transform: translate(-50%, -36%) scale(.35); }
    22% { opacity: 1; transform: translate(-50%, -50%) scale(1.12); }
    62% { opacity: 1; transform: translate(-50%, -54%) scale(.96); }
    100% { opacity: 0; transform: translate(-50%, -74%) scale(.72); }
}

@keyframes impressao-curtida-removida {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(.92); }
    28% { opacity: .8; transform: translate(-50%, -50%) scale(.82); }
    100% { opacity: 0; transform: translate(-50%, -48%) scale(.28); }
}

.impressao-galeria .totem-foto:hover .totem-foto-acao,
.impressao-galeria .totem-foto:focus-visible .totem-foto-acao,
.impressao-galeria .totem-foto.preparando .totem-foto-acao {
    transform: translateY(0) scale(1);
}

.impressao-demo-ritmo {
    display: inline-flex;
    flex: 0 0 auto;
    height: 42px;
    align-items: stretch;
    overflow: hidden;
    border: 1px solid rgba(var(--totem-acento-rgb), .24);
    border-radius: 13px;
    color: rgba(255, 255, 255, .82);
    background: rgba(var(--totem-acento-rgb), .065);
    transition: opacity .2s ease, border-color .2s ease, background .2s ease;
}

.impressao-demo-ritmo > button {
    width: 32px;
    height: 40px;
    border: 0;
    border-radius: 0;
    padding: 0;
    color: rgba(255, 255, 255, .72);
    background: transparent;
    cursor: pointer;
    font-size: 19px;
    font-weight: 500;
    line-height: 1;
    transform: none;
}

.impressao-demo-ritmo > button:hover:not(:disabled),
.impressao-demo-ritmo > button:focus-visible {
    color: var(--totem-acento);
    background: rgba(var(--totem-acento-rgb), .12);
    transform: none;
}

.impressao-demo-ritmo > span {
    display: grid;
    min-width: 54px;
    place-content: center;
    gap: 1px;
    border-right: 1px solid rgba(255, 255, 255, .075);
    border-left: 1px solid rgba(255, 255, 255, .075);
    padding: 0 6px;
    text-align: center;
    pointer-events: none;
}

.impressao-demo-ritmo small {
    color: rgba(255, 255, 255, .34);
    font-size: 6px;
    font-weight: 850;
    line-height: 1;
    letter-spacing: .15em;
}

.impressao-demo-ritmo b {
    color: #fff;
    font-size: 10px;
    font-weight: 720;
    line-height: 1.1;
    letter-spacing: -.015em;
}

.impressao-demo-ritmo.inativo {
    border-color: rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .025);
    opacity: .42;
}

.impressao-demo-ritmo > button:disabled {
    color: rgba(255, 255, 255, .22);
    background: transparent;
    cursor: not-allowed;
    transform: none;
}

.impressao-dock {
    position: fixed;
    right: auto;
    bottom: max(10px, env(safe-area-inset-bottom));
    left: 50%;
    z-index: 82;
    display: grid;
    width: min(700px, calc(100vw - 20px));
    grid-template-columns: auto minmax(0, 1fr) 48px;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, .105);
    border-radius: 18px;
    padding: 7px;
    background: linear-gradient(145deg, rgba(20, 23, 23, .92), rgba(6, 8, 8, .9));
    box-shadow: 0 18px 54px rgba(0, 0, 0, .42), inset 0 1px rgba(255, 255, 255, .04);
    backdrop-filter: blur(22px) saturate(135%);
    transform: translateX(-50%);
    transition:
        width .32s cubic-bezier(.18, .78, .22, 1),
        opacity .26s ease,
        visibility .26s ease,
        transform .42s cubic-bezier(.18, .78, .22, 1);
}

.impressao-dock.sem-ao-vivo {
    width: min(420px, calc(100vw - 20px));
    grid-template-columns: minmax(0, 1fr) 48px;
}

.impressao-dock-ao-vivo[hidden] {
    display: none !important;
}

.impressao-dock-ao-vivo {
    display: inline-flex;
    height: 46px;
    align-items: center;
    gap: 7px;
    border: 1px solid rgba(239, 63, 77, .22);
    border-radius: 13px;
    padding: 0 11px;
    color: rgba(255, 255, 255, .72);
    background: rgba(239, 63, 77, .055);
    font-size: 7px;
    font-weight: 900;
    letter-spacing: .14em;
    white-space: nowrap;
}

.impressao-dock-ao-vivo i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ef3f4d;
    box-shadow: 0 0 0 4px rgba(239, 63, 77, .1), 0 0 16px rgba(239, 63, 77, .56);
    animation: totem-pulso-conexao 1.45s ease-out infinite;
}

.impressao-dock.oculto {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, calc(100% + 28px));
}

.impressao-dock .impressao-dock-olhares {
    display: grid;
    width: 100%;
    min-width: 0;
    height: 46px;
    grid-template-columns: 34px minmax(0, 1fr) auto 18px;
    align-items: center;
    gap: 10px;
    overflow: hidden;
    border: 1px solid rgba(var(--totem-acento-rgb), .16);
    border-radius: 13px;
    padding: 5px 12px 5px 6px;
    color: rgba(255, 255, 255, .86);
    background: rgba(255, 255, 255, .035);
    cursor: pointer;
    text-align: left;
}

.impressao-dock .impressao-dock-olhares:hover,
.impressao-dock .impressao-dock-olhares:focus-visible,
.impressao-dock .impressao-dock-olhares[aria-expanded="true"] {
    border-color: rgba(var(--totem-acento-rgb), .48);
    background: rgba(var(--totem-acento-rgb), .095);
    transform: translateY(-1px);
}

.impressao-dock-olhares-icone {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 10px;
    color: var(--totem-acento);
    background: rgba(var(--totem-acento-rgb), .11);
}

.impressao-dock-olhares-icone svg {
    width: 17px;
    height: 17px;
}

.impressao-dock-olhares-texto {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.impressao-dock-olhares-texto small {
    overflow: hidden;
    color: rgba(255, 255, 255, .34);
    font-size: 6px;
    font-weight: 850;
    letter-spacing: .16em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.impressao-dock-olhares-texto strong {
    overflow: hidden;
    color: #fff;
    font-size: 10px;
    font-weight: 790;
    letter-spacing: .025em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.impressao-dock-olhares-total {
    display: inline-grid;
    min-width: 30px;
    height: 26px;
    place-items: center;
    border-radius: 999px;
    padding: 0 8px;
    color: var(--totem-contraste);
    background: var(--totem-acento);
    font-size: 8px;
    font-weight: 900;
    line-height: 1;
}

.impressao-dock-olhares-seta {
    width: 16px;
    height: 16px;
    opacity: .54;
    transition: transform .2s ease;
}

.impressao-dock-olhares[aria-expanded="true"] .impressao-dock-olhares-seta {
    transform: rotate(180deg);
}

.impressao-dock .impressao-dock-topo {
    display: inline-grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid rgba(var(--totem-acento-rgb), .22);
    border-radius: 13px;
    padding: 0;
    color: var(--totem-acento);
    background: rgba(var(--totem-acento-rgb), .075);
    cursor: pointer;
}

.impressao-dock .impressao-dock-topo:hover,
.impressao-dock .impressao-dock-topo:focus-visible {
    border-color: rgba(var(--totem-acento-rgb), .52);
    background: rgba(var(--totem-acento-rgb), .14);
    transform: translateY(-1px);
}

.impressao-dock .impressao-dock-topo svg {
    width: 18px;
    height: 18px;
}

.impressao-modal-olhares {
    align-items: end;
    padding-bottom: max(82px, calc(74px + env(safe-area-inset-bottom)));
}

.impressao-modal-olhares .totem-modal-fundo {
    background: rgba(0, 0, 0, .70);
    backdrop-filter: blur(15px) saturate(88%);
}

.impressao-olhares-cartao {
    width: min(1040px, calc(100vw - 28px));
    max-height: min(76vh, 700px);
    overflow: hidden;
    border-radius: 28px;
    padding: 30px 30px 26px;
}

.impressao-olhares-cartao > span {
    display: block;
    margin-bottom: 8px;
    color: var(--totem-acento);
    font-size: 8px;
    font-weight: 880;
    letter-spacing: .2em;
}

.impressao-olhares-cartao > h2 {
    max-width: calc(100% - 70px);
    margin: 0;
    color: #fff;
    font-size: clamp(25px, 3vw, 40px);
    font-weight: 430;
    letter-spacing: -.045em;
}

.impressao-olhares-cartao > p {
    max-width: 700px;
    margin: 10px 0 22px;
    color: rgba(255, 255, 255, .46);
    font-size: 12px;
    line-height: 1.5;
}

.impressao-pastas-grade {
    display: grid;
    max-height: min(50vh, 430px);
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    overflow-y: auto;
    padding: 2px 5px 3px 2px;
    scrollbar-color: rgba(var(--totem-acento-rgb), .35) transparent;
    scrollbar-width: thin;
}

.impressao-pastas-grade .totem-pasta,
.impressao-pastas-grade .totem-pasta-skeleton {
    width: 100%;
    min-width: 0;
    min-height: 64px;
}

.impressao-pastas-grade .totem-pasta {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    overflow: hidden;
    border-radius: 16px;
    padding: 9px 11px 9px 8px;
    background: rgba(255, 255, 255, .035);
    box-shadow: none;
}

.impressao-pastas-grade .totem-pasta:hover {
    transform: translateY(-1px);
}

.impressao-pastas-grade .totem-pasta-icone {
    width: 38px;
    height: 38px;
    border-radius: 12px;
}

.impressao-pastas-grade .totem-pasta-texto {
    min-width: 0;
    overflow: hidden;
}

.impressao-pastas-grade .totem-pasta-texto small,
.impressao-pastas-grade .totem-pasta-texto strong {
    overflow: hidden;
    max-width: 100%;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.impressao-pastas-grade .totem-pasta-texto small {
    font-size: 6px;
}

.impressao-pastas-grade .totem-pasta-texto strong {
    font-size: 10px;
}

.impressao-pastas-grade .totem-pasta-total {
    display: inline-grid;
    box-sizing: border-box;
    min-width: 28px;
    height: 26px;
    place-items: center;
    align-self: center;
    padding: 0 7px;
    font-size: 8px;
    line-height: 1;
}

.impressao-pastas-grade .totem-pasta-skeleton {
    border-radius: 16px;
}

.impressao-nova-balao {
    position: fixed;
    top: auto;
    right: max(10px, env(safe-area-inset-right));
    bottom: max(10px, env(safe-area-inset-bottom));
    left: auto;
    z-index: 83;
    display: grid;
    width: min(286px, calc(100vw - 20px));
    min-height: 60px;
    grid-template-columns: 52px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    overflow: visible;
    border: 1px solid rgba(var(--totem-acento-rgb), .42);
    border-radius: 18px;
    padding: 5px 12px 5px 5px;
    background: linear-gradient(145deg, rgba(24, 27, 27, .95), rgba(7, 9, 9, .94));
    box-shadow: 0 18px 54px rgba(0, 0, 0, .48), 0 0 34px rgba(var(--totem-acento-rgb), .12), inset 0 1px rgba(255, 255, 255, .06);
    backdrop-filter: blur(20px) saturate(135%);
    opacity: 0;
    pointer-events: none;
    transform: translateY(calc(100% + 28px)) scale(.88);
    transition: transform .48s cubic-bezier(.16, .9, .22, 1.16), opacity .28s ease;
}

.impressao-nova-balao.visivel {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.impressao-nova-balao > img {
    display: block;
    width: 52px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
    background: #030404;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}

.impressao-nova-mais {
    position: absolute;
    top: -9px;
    left: -8px;
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border: 3px solid #090b0b;
    border-radius: 50%;
    color: var(--totem-contraste);
    background: var(--totem-acento);
    box-shadow: 0 8px 22px rgba(0, 0, 0, .38), 0 0 24px rgba(var(--totem-acento-rgb), .32);
    font-size: 9px;
    font-weight: 920;
}

.impressao-nova-texto {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.impressao-nova-texto > span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #fff;
    font-size: 8px;
    font-weight: 880;
    letter-spacing: .12em;
}

.impressao-nova-texto > span i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ef3f4d;
    box-shadow: 0 0 0 4px rgba(239, 63, 77, .10), 0 0 16px rgba(239, 63, 77, .54);
    animation: totem-pulso-conexao 1.45s ease-out infinite;
}

.impressao-nova-texto > strong {
    overflow: hidden;
    color: rgba(255, 255, 255, .58);
    font-size: 10px;
    font-weight: 560;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.impressao-nova-confete {
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 2px;
    background: var(--totem-acento);
    opacity: 0;
}

.impressao-nova-balao.visivel .impressao-nova-confete {
    animation: impressao-confete 1.1s ease-out .12s both;
}

.impressao-nova-confete.confete-a { top: -10px; right: 32px; transform: rotate(28deg); }
.impressao-nova-confete.confete-b { top: 12px; right: -8px; background: #ef3f4d; transform: rotate(52deg); }
.impressao-nova-confete.confete-c { bottom: -8px; right: 52px; width: 5px; height: 10px; transform: rotate(-18deg); }

@media (max-width: 1100px) {
    .impressao-nova-balao {
        right: max(10px, env(safe-area-inset-right));
        left: auto;
    }
}

@keyframes impressao-confete {
    0% { opacity: 0; translate: 0 9px; scale: .4; }
    35% { opacity: 1; }
    100% { opacity: 0; translate: 0 -16px; scale: 1.12; }
}

.impressao-creditos-cartao {
    width: min(680px, 94vw);
    max-height: 90dvh;
    overflow: auto;
    padding: clamp(40px, 5vw, 68px);
    text-align: center;
}

.impressao-creditos-cartao > span {
    color: #ff8b91;
}

.impressao-creditos-cartao > dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 28px 0 0;
}

.impressao-creditos-cartao > dl div {
    border: 1px solid rgba(255, 255, 255, .085);
    border-radius: 18px;
    padding: 18px;
    background: rgba(255, 255, 255, .025);
}

.impressao-creditos-cartao dt {
    color: rgba(255, 255, 255, .36);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: .15em;
}

.impressao-creditos-cartao dd {
    margin: 7px 0 0;
    color: #fff;
    font-size: 24px;
    font-weight: 520;
}

.impressao-recarga-quantidade {
    margin-top: 14px;
    border: 1px solid rgba(var(--totem-acento-rgb), .19);
    border-radius: 20px;
    padding: 20px;
    background: rgba(var(--totem-acento-rgb), .055);
}

.impressao-recarga-quantidade > span,
.impressao-recarga-pix > span {
    color: rgba(255, 255, 255, .42);
    font-size: 8px;
    font-weight: 850;
    letter-spacing: .15em;
}

.impressao-recarga-quantidade > div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin: 15px 0 9px;
}

.impressao-recarga-quantidade button {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 14px;
    color: #fff;
    background: rgba(255, 255, 255, .05);
    cursor: pointer;
    font-size: 24px;
}

.impressao-recarga-quantidade button:disabled {
    opacity: .3;
    cursor: not-allowed;
}

.impressao-recarga-quantidade strong {
    min-width: 90px;
    font-size: 34px;
    font-weight: 460;
}

.impressao-recarga-quantidade small {
    color: rgba(255, 255, 255, .34);
    font-size: 10px;
}

.impressao-recarga-gerar {
    width: 100%;
    min-height: 55px;
    margin-top: 14px;
    border: 0;
    border-radius: 16px;
    color: var(--totem-contraste);
    background: var(--totem-acento);
    cursor: pointer;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.impressao-recarga-pix {
    display: grid;
    justify-items: center;
    gap: 12px;
    margin-top: 16px;
    border: 1px dashed rgba(255, 255, 255, .16);
    border-radius: 20px;
    padding: 22px;
    background: rgba(0, 0, 0, .26);
}

.impressao-recarga-pix > svg {
    width: 170px;
    height: 170px;
    border: 10px solid #fff;
    color: #050606;
    background: #fff;
    stroke: none;
    fill: currentColor;
}

.impressao-recarga-pix > strong {
    font-size: 24px;
    font-weight: 520;
}

.impressao-recarga-pix > p {
    max-width: 480px;
    margin: 0;
    color: rgba(255, 255, 255, .43);
    font-size: 11px;
    line-height: 1.55;
}

.impressao-ajuda-cartao .totem-ajuda-passos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.impressao-ajuda-cartao .totem-ajuda-passos article {
    min-height: 210px;
}

@media (orientation: portrait) {
    .impressao-galeria .totem-grade {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .impressao-topo {
        gap: 8px;
        padding-left: 11px;
    }

    .impressao-topo-identidade > span,
    .impressao-topo-identidade > i,
    .impressao-topo-identidade > strong,
    .impressao-memoria small,
    .impressao-creditos span {
        display: none;
    }

    .impressao-topo-identidade img {
        max-width: min(190px, 31vw);
    }

    .impressao-memoria,
    .impressao-creditos {
        min-width: 42px;
        width: 42px;
        padding: 0;
    }

    .impressao-memoria b {
        position: absolute;
        top: -5px;
        right: -4px;
        display: grid;
        min-width: 18px;
        height: 18px;
        place-items: center;
        border-radius: 999px;
        color: var(--totem-contraste);
        background: var(--totem-acento);
        font-size: 8px;
    }

    .impressao-memoria {
        position: relative;
    }

    .impressao-galeria-cabecalho {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .impressao-galeria-titulo > p {
        max-width: 72vw;
    }

    .impressao-galeria-cabecalho .totem-instrucao {
        display: none;
    }

    .impressao-galeria .totem-foto-curtidas {
        top: 10px;
        right: 10px;
        height: 27px;
        padding: 0 7px;
    }

    .impressao-ajuda-cartao .totem-ajuda-passos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .impressao-pagina {
        --impressao-topo-altura: 52px;
    }

    .impressao-topo-revelador {
        width: 98px;
        height: 38px;
    }

    .impressao-topo-revelador > span {
        width: 62px;
        height: 5px;
    }

    .impressao-topo {
        top: max(6px, env(safe-area-inset-top));
        right: 7px;
        left: 7px;
        border-radius: 15px;
        padding: 5px 6px 5px 10px;
    }

    .impressao-topo-identidade img {
        max-width: 94px;
        max-height: 29px;
    }

    .impressao-topo .totem-conexao {
        min-height: 38px;
        padding: 0 9px;
    }

    .impressao-topo .totem-conexao b {
        display: none;
    }

    .impressao-topo .totem-botao-icone,
    .impressao-memoria,
    .impressao-creditos {
        width: 38px;
        min-width: 38px;
        height: 38px;
        min-height: 38px;
        border-radius: 11px;
    }

    .impressao-topo #totem-ajuda-botao {
        display: none;
    }

    .impressao-galeria {
        padding-right: 9px;
        padding-left: 9px;
    }

    .impressao-galeria-cabecalho {
        min-height: 124px;
        padding-top: 48px;
    }

    .impressao-galeria-cabecalho h1 {
        font-size: clamp(34px, 10.5vw, 48px);
    }

    .impressao-galeria-titulo > p {
        max-width: 78vw;
        margin-top: 8px;
    }

    .impressao-galeria .totem-grade {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .impressao-galeria .totem-foto {
        border-radius: 16px;
    }

    .impressao-galeria .totem-foto-meta,
    .impressao-galeria .totem-foto-origem,
    .impressao-galeria .totem-foto-acao {
        opacity: .82;
    }

    .impressao-galeria .totem-foto-meta {
        opacity: 0;
    }

    .impressao-dock {
        bottom: max(7px, env(safe-area-inset-bottom));
        width: calc(100vw - 14px);
        grid-template-columns: auto minmax(0, 1fr) 42px;
        gap: 5px;
        border-radius: 15px;
        padding: 5px;
    }

    .impressao-dock.sem-ao-vivo {
        width: min(410px, calc(100vw - 14px));
        grid-template-columns: minmax(0, 1fr) 42px;
    }

    .impressao-dock-ao-vivo {
        height: 40px;
        gap: 6px;
        border-radius: 11px;
        padding: 0 8px;
        font-size: 6px;
    }

    .impressao-dock-ao-vivo i {
        width: 6px;
        height: 6px;
    }

    .impressao-pastas-rodape .totem-pasta {
        width: 118px;
        min-width: 118px;
        min-height: 42px;
        grid-template-columns: 25px minmax(0, 1fr) auto;
        gap: 6px;
        padding: 5px 7px 5px 5px;
    }

    .impressao-pastas-rodape .totem-pasta[data-tipo-pasta="todas"],
    .impressao-pastas-rodape .totem-pasta[data-tipo-pasta="selecao"] {
        width: 104px;
        min-width: 104px;
    }

    .impressao-pastas-rodape .totem-pasta-icone {
        width: 25px;
        height: 25px;
    }

    .impressao-pastas-rodape .totem-pasta-texto strong {
        max-width: none;
        font-size: 8px;
    }

    .impressao-dock .impressao-dock-topo {
        width: 40px;
        height: 40px;
        border-radius: 11px;
    }

    .impressao-topo .impressao-demo-ritmo {
        height: 38px;
        border-radius: 11px;
    }

    .impressao-topo .impressao-demo-ritmo > button {
        width: 28px;
        height: 36px;
        font-size: 17px;
    }

    .impressao-topo .impressao-demo-ritmo > span {
        min-width: 40px;
        padding: 0 4px;
    }

    .impressao-topo .impressao-demo-ritmo small {
        display: none;
    }

    .impressao-topo .impressao-demo-ritmo b {
        font-size: 9px;
    }

    .impressao-creditos-cartao {
        width: calc(100vw - 18px);
        padding: 34px 16px 22px;
    }

    .impressao-nova-balao {
        top: auto;
        right: 9px;
        bottom: max(7px, env(safe-area-inset-bottom));
        left: auto;
        width: min(274px, calc(100vw - 18px));
        min-height: 54px;
        grid-template-columns: 46px minmax(0, 1fr);
        border-radius: 15px;
        transform: translateY(calc(100% + 22px)) scale(.88);
    }

    .impressao-nova-balao.visivel {
        transform: translateY(0) scale(1);
    }

    .impressao-nova-balao > img {
        width: 46px;
        height: 42px;
        border-radius: 10px;
    }

    .impressao-ajuda-cartao .totem-ajuda-passos {
        grid-template-columns: 1fr;
    }

    .impressao-creditos-cartao > dl {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .impressao-topo-identidade {
        max-width: 72px;
    }

    .impressao-topo-identidade img {
        max-width: 70px;
    }

    .impressao-topo .totem-conexao,
    .impressao-topo .impressao-memoria {
        display: none;
    }

    .impressao-topo .impressao-demo-ritmo > span {
        min-width: 35px;
    }

    .impressao-dock-ao-vivo {
        width: 34px;
        justify-content: center;
        overflow: hidden;
        padding: 0;
        color: transparent;
        font-size: 0;
    }

    .impressao-pastas-rodape .totem-pasta {
        width: 106px;
        min-width: 106px;
    }

    .impressao-pastas-rodape .totem-pasta[data-tipo-pasta="todas"],
    .impressao-pastas-rodape .totem-pasta[data-tipo-pasta="selecao"] {
        width: 92px;
        min-width: 92px;
    }

    .impressao-pastas-rodape .totem-pasta-total {
        min-width: 22px;
        height: 22px;
        padding: 0 5px;
    }
}

@media (max-height: 650px) and (orientation: landscape) {
    .impressao-topo {
        top: 6px;
        min-height: 48px;
    }

    .impressao-topo-identidade img {
        max-height: 28px;
    }

    .impressao-topo .totem-conexao,
    .impressao-memoria,
    .impressao-creditos,
    .impressao-topo .totem-botao-icone {
        min-height: 36px;
        height: 36px;
    }

    .impressao-galeria-cabecalho {
        min-height: 88px;
        padding-top: 34px;
    }

    .impressao-dock {
        bottom: 7px;
    }

    .impressao-dock button {
        height: 39px;
    }

    .impressao-topo .impressao-demo-ritmo {
        height: 36px;
    }

    .impressao-topo .impressao-demo-ritmo > button {
        height: 34px;
    }
}

@media (hover: none) {
    .impressao-galeria .totem-foto-origem,
    .impressao-galeria .totem-foto-acao {
        opacity: .80;
    }

    .impressao-galeria .totem-foto-meta {
        opacity: 0;
    }
}


/* ImpressãoVIP: seletor de olhares e ponteiro discreto */
body.impressao-cursor-oculto,
body.impressao-cursor-oculto * {
    cursor: none !important;
}

@media (max-width: 900px) {
    .impressao-pastas-grade {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (orientation: portrait) {
    .impressao-dock {
        width: min(620px, calc(100vw - 18px));
    }

    .impressao-modal-olhares {
        padding-right: 10px;
        padding-left: 10px;
    }

    .impressao-olhares-cartao {
        width: 100%;
        max-height: min(80vh, 860px);
        border-radius: 26px;
        padding: 28px 22px 22px;
    }

    .impressao-pastas-grade {
        max-height: min(58vh, 650px);
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .impressao-dock {
        gap: 5px;
        padding: 5px;
    }

    .impressao-dock:not(.sem-ao-vivo) {
        grid-template-columns: 34px minmax(0, 1fr) 42px;
    }

    .impressao-dock.sem-ao-vivo {
        grid-template-columns: minmax(0, 1fr) 42px;
    }

    .impressao-dock .impressao-dock-olhares {
        height: 40px;
        grid-template-columns: 29px minmax(0, 1fr) auto 14px;
        gap: 7px;
        padding: 4px 8px 4px 5px;
    }

    .impressao-dock-olhares-icone {
        width: 29px;
        height: 29px;
        border-radius: 9px;
    }

    .impressao-dock-olhares-texto small {
        display: none;
    }

    .impressao-dock-olhares-texto strong {
        font-size: 9px;
    }

    .impressao-dock-olhares-total {
        min-width: 25px;
        height: 23px;
        padding: 0 6px;
    }

    .impressao-dock .impressao-dock-topo {
        width: 40px;
        height: 40px;
    }

    .impressao-olhares-cartao {
        padding: 26px 15px 17px;
    }

    .impressao-pastas-grade {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}
