/* ==========================================
   STICKERZAP - CONFIGURACOES GERAIS
========================================== */

:root {
    color-scheme: light;
    font-family: system-ui, sans-serif;

    color: #211b32;
    background: #f9f6ef;

    --ink: #211b32;
    --muted: #625b6b;
    --line: #ddd5e4;
    --paper: #fffdf8;

    --purple: #552ca0;
    --lilac: #ece0fd;

    --green: #168c4c;
    --green-light: #e8f5ec;

    --red: #c83e4d;
    --red-light: #fcecef;

    --yellow: #956c16;
    --yellow-light: #fff4d9;

    --shadow: 0 8px 30px rgba(55, 33, 91, 0.06);
}

* {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
}

a {
    color: inherit;
}

button,
input,
select {
    font: inherit;
}

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

button {
    touch-action: manipulation;
}

.shell {
    width: min(1080px, calc(100% - 40px));
    margin-inline: auto;
}

/* ==========================================
   CABECALHO
========================================== */

.top {
    border-bottom: 1px solid var(--line);
    background: var(--paper);
}

nav,
.nav-actions {
    display: flex;
    align-items: center;
    gap: clamp(12px, 3vw, 28px);
}

nav {
    justify-content: space-between;
    min-height: 72px;
}

.brand {
    display: inline-flex;
    gap: 9px;
    align-items: center;

    color: var(--ink);

    font-size: 1.4rem;
    font-weight: 850;
    letter-spacing: -.06em;

    text-decoration: none;
    white-space: nowrap;
}

.mark {
    display: grid;
    place-items: center;

    width: 32px;
    height: 32px;

    border-radius: 10px;

    background: var(--purple);
    color: white;

    font-size: 1.18rem;
    letter-spacing: 0;
}

.nav-gallery,
.nav-tracking,
.channel,
.back {
    font-size: .9rem;
    font-weight: 690;
    text-underline-offset: 4px;
}

.nav-gallery,
.nav-tracking,
.channel {
    text-decoration: none;
}

.nav-gallery:hover,
.nav-tracking:hover,
.channel:hover {
    text-decoration: underline;
}

.nav-tracking {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    color: var(--purple);

    white-space: nowrap;
}

.nav-tracking span {
    font-size: 15px;
}

/* ==========================================
   TIPOGRAFIA
========================================== */

h1,
h2,
h3,
p {
    margin: 0;
}

h1 {
    font-size: clamp(2.65rem, 6.8vw, 5.5rem);
    letter-spacing: -.076em;
    line-height: .98;
}

h1 span {
    color: var(--purple);
}

h2 {
    font-size: clamp(1.55rem, 3.1vw, 2.25rem);
    line-height: 1.12;
    letter-spacing: -.05em;
}

h3 {
    font-size: 1.22rem;
    overflow-wrap: anywhere;
}

p {
    color: var(--muted);
    line-height: 1.5;
}

small {
    font-weight: 460;
    color: var(--muted);
}

/* ==========================================
   PAGINA INICIAL
========================================== */

.gallery-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    display: grid;
    grid-template-columns: 1fr 32%;
    align-items: center;

    gap: 18px;

    margin-top: 25px;
    padding: clamp(25px, 6vw, 69px);

    border-radius: 24px;

    background: var(--lilac);
}

.gallery-hero h1 {
    max-width: 11ch;
}

.gallery-hero p,
.creator-intro p {
    margin-block: 14px 20px;
    max-width: 39ch;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.hero-art {
    position: relative;
    justify-self: center;

    width: min(100%, 210px);
    aspect-ratio: 1;
}

.art-tile {
    position: absolute;

    display: grid;
    place-items: center;

    border: 2px solid var(--ink);
    border-radius: 24%;

    width: 65%;
    aspect-ratio: 1;

    box-shadow: 4px 5px 0 var(--ink);

    font-size: clamp(2rem, 7vw, 5rem);
}

.art-back {
    top: 4%;
    left: 8%;

    transform: rotate(-18deg);

    background: #f9ce75;
}

.art-front {
    top: 27%;
    left: 37%;

    transform: rotate(13deg);

    color: white;
    background: #7650c3;
}

.art-spark {
    position: absolute;
    left: 3%;
    bottom: 0;

    color: var(--purple);
    font-size: 2.3rem;
}

/* ==========================================
   GALERIA
========================================== */

.gallery {
    padding-block: 34px 60px;
}

.gallery-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;

    gap: 12px;
}

#gallery-filter {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

#gallery-filter input[type=search] {
    width: min(100%, 230px);
}

.gallery > p,
.gallery > button {
    margin-top: 12px;
}

.grid {
    display: grid;

    grid-template-columns:
        repeat(
            auto-fill,
            minmax(min(100%, 218px), 1fr)
        );

    gap: 14px;
    margin-top: 16px;
}

/* ==========================================
   CARDS
========================================== */

.card,
.panel {
    background: var(--paper);

    border: 1px solid var(--line);
    border-radius: 16px;
}

.card {
    min-width: 0;
    padding: 12px;

    display: grid;
    align-content: start;
    gap: 9px;
}

.card video,
.card img,
#source-preview {
    display: block;

    width: 100%;

    border-radius: 10px;

    background: var(--ink);
}

.card video,
.card img {
    aspect-ratio: 1;
    object-fit: contain;
}

.gallery-card {
    align-content: start;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.gallery-card:hover {
    border-color: #bca6dc;
    box-shadow: var(--shadow);
}

.gallery-card p {
    font-size: .835rem;
    overflow-wrap: anywhere;
}

.gallery-preview {
    position: relative;
    display: block;
    overflow: hidden;

    width: 100%;
    aspect-ratio: 1;

    padding: 0;
    border: 0;
    border-radius: 10px;

    cursor: pointer;

    background: var(--lilac);
    color: white;

    font-size: 1.2rem;
}

.gallery-preview::after {
    position: absolute;
    right: 8px;
    bottom: 8px;

    content: '▶';

    border-radius: 10px;
    padding: 6px 9px;

    background: var(--ink);
}

.gallery-preview img {
    position: absolute;
    inset: 0;
}

.card-title {
    font-weight: 750;
    overflow-wrap: anywhere;
    text-decoration: none;
}

.card-title:hover {
    text-decoration: underline;
}

/* ==========================================
   CRIADOR DE FIGURINHAS
========================================== */

.creator {
    display: grid;

    grid-template-columns:
        1fr minmax(0, 1fr);

    gap: clamp(16px, 5vw, 64px);

    padding-block: 36px 56px;

    align-items: start;
}

.creator-intro h1 {
    margin-top: 21px;
}

.creator .result,
.creator #approval-notice {
    grid-column: 2;
    min-width: 0;
}

.panel {
    min-width: 0;

    padding: clamp(16px, 3vw, 27px);

    display: grid;
    gap: 14px;
}

fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.sources {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.sources legend {
    margin-bottom: 8px;
    font-weight: 730;
}

.sources label {
    display: flex;
    align-items: center;
    gap: 6px;

    padding: 9px;

    border: 1px solid var(--line);
    border-radius: 9px;

    cursor: pointer;
}

.sources label:has(:checked) {
    background: var(--lilac);
    border-color: var(--purple);
}

.sources input {
    margin: 0;
}

/* ==========================================
   CAMPOS DE FORMULARIO
========================================== */

label {
    display: grid;
    gap: 6px;

    font-size: .875rem;
    font-weight: 680;
}

.upload {
    background: #f6f0fe;

    border: 1px dashed #866ab1;
    border-radius: 11px;

    padding: 12px;
}

select,
input:is(
    [type=text],
    [type=number],
    [type=url],
    [type=search]
) {
    width: 100%;
    min-width: 0;
    min-height: 42px;

    padding: 6px 9px;

    border: 1px solid var(--line);
    border-radius: 8px;

    background: white;
    color: var(--ink);
}

input[type=file] {
    min-width: 0;
    width: 100%;
}

input::file-selector-button {
    padding: 7px;

    border: 1px solid var(--line);
    border-radius: 8px;

    background: white;
    color: var(--ink);

    cursor: pointer;
}

input:is(
    [type=radio],
    [type=checkbox]
) {
    accent-color: var(--purple);
}

.fields {
    display: grid;
    gap: 10px;

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

.check {
    display: flex;
    align-items: flex-start;
    gap: 7px;
}

.check input {
    margin: 3px 0 0;
    flex-shrink: 0;
}

.sound-filter {
    margin-inline: 3px;
    white-space: nowrap;
}

.optional-fields {
    margin-top: 9px;
}

.division {
    border-top: 1px solid var(--line);
    padding-top: 14px;
}

.review-help {
    margin-top: 10px;

    color: #7653a5;

    font-size: .78rem;
    line-height: 1.6;
}

/* ==========================================
   BOTOES
========================================== */

.primary,
.secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 6px;

    min-height: 42px;

    padding: 8px 13px;

    border: 1px solid transparent;
    border-radius: 9px;

    text-align: center;
    text-decoration: none;

    font-weight: 720;

    cursor: pointer;

    transition:
        background .18s ease,
        border-color .18s ease,
        transform .18s ease;
}

.primary {
    color: white;
    background: var(--purple);
}

.primary:hover {
    background: #462480;
}

.secondary {
    color: var(--ink);
    background: white;

    border-color: var(--line);
}

.secondary:hover {
    border-color: var(--purple);
}

button:disabled {
    opacity: .65;
    cursor: default;
}

.primary:not(:disabled):active,
.secondary:not(:disabled):active {
    transform: scale(.98);
}

:focus-visible {
    outline: 2px solid var(--purple);
    outline-offset: 3px;
}

.panel > p,
#import-unavailable {
    font-size: .9rem;
}

/* ==========================================
   PREVIA DO VIDEO
========================================== */

#source-preview {
    width: 100%;
    max-height: 420px;

    object-fit: contain;

    border-radius: 14px;

    background: #17141c;
}

#source-preview.preview-fill {
    width: min(100%, 320px);

    aspect-ratio: 1;

    object-fit: cover;

    margin-inline: auto;
}

#timeline {
    display: grid;
    gap: 10px;
}

#timeline legend {
    margin-bottom: 8px;
    font-weight: 730;
}

#timeline input {
    width: 100%;
    height: 32px;

    margin: 0;

    accent-color: var(--purple);
}

#timeline label {
    display: grid;
    grid-template-columns: 1fr auto;
}

#timeline input {
    grid-column: 1 / -1;
}

#load-link {
    margin-top: 10px;
}

#preview-clip {
    width: 100%;
    min-height: 46px;
}

/* ==========================================
   ENQUADRAMENTO
========================================== */

#framing-box {
    width: 100%;

    padding: 16px;
    margin: 0;

    background: #f6f1fb;

    border: 1px solid #e0d6eb;
    border-radius: 14px;
}

#framing-box label {
    display: block;

    font-size: 14px;
    font-weight: 750;
}

#framing-box select {
    width: 100%;

    margin-top: 8px;

    min-height: 48px;

    font-size: 16px;

    border-radius: 10px;
}

#framing-box p {
    margin: 10px 0 0;

    font-size: 12px;
    color: #756780;

    line-height: 1.6;
}

.duration-notice {
    padding: 12px 14px;

    background: #f3edf9;

    border: 1px solid #e8ddf4;
    border-radius: 12px;

    color: #725397;

    font-size: 13px;
    line-height: 1.6;
}

/* ==========================================
   RESULTADO
========================================== */

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

.actions > * {
    font-size: .875rem;
}

.result {
    width: min(100%, 500px);

    padding-block: 18px 30px;

    scroll-margin-top: 20px;
}

.result > h2 {
    margin-bottom: 12px;
}

.result > .back {
    display: inline-block;
    margin-bottom: 12px;
}

/* ==========================================
   AVISO DE APROVACAO
========================================== */

#approval-notice {
    display: flex;
    flex-direction: column;
    align-items: center;

    width: 100%;
    max-width: 580px;

    margin: 0 auto 24px;
    padding: 30px 24px;

    background: white;

    border: 1px solid #ded4ec;
    border-radius: 24px;

    box-shadow: var(--shadow);

    text-align: center;

    overflow: hidden;

    scroll-margin-top: 20px;
}

#approval-notice .approval-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 76px;
    height: 76px;

    margin: 0 auto 18px;

    background: #e8f5ec;

    border: 1px solid #d6eddd;
    border-radius: 50%;

    font-size: 35px;
    line-height: 1;
}

#approval-notice h2 {
    margin: 0 0 12px;

    color: #292137;

    font-size: 24px;
    font-weight: 800;

    line-height: 1.25;
    letter-spacing: -.7px;

    text-align: center;
}

#approval-notice p {
    margin: 8px 0;

    color: #746b80;

    font-size: 14px;
    font-weight: 400;

    line-height: 1.7;

    text-align: center;
}

#approval-notice p strong {
    color: #443650;
    font-weight: 700;
}

#approval-notice .approval-time {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;

    margin: 18px 0;
    padding: 18px 12px;

    background: #f2ebfc;

    border: 1px solid #e5d8f7;
    border-radius: 14px;

    color: #7653a5;

    font-size: 15px;
    font-weight: 800;

    line-height: 1.6;

    text-align: center;
}

/* ==========================================
   PROTOCOLO APOS CONVERSAO
========================================== */

.approval-protocol {
    display: grid;
    gap: 10px;

    width: 100%;

    margin: 0 0 16px;
    padding: 18px 12px;

    background: #faf7ff;

    border: 1px dashed #cdb9e8;
    border-radius: 14px;
}

.protocol-label {
    color: var(--muted);

    font-size: 12px;
    font-weight: 650;
}

#approval-protocol-value {
    color: var(--purple);

    font-family: ui-monospace, monospace;
    font-size: clamp(17px, 5vw, 23px);
    font-weight: 800;

    letter-spacing: 1px;

    overflow-wrap: anywhere;
}

#copy-approval-protocol {
    width: 100%;

    min-height: 46px;

    font-size: 13px;
}

.approval-track,
.approval-channel,
.tracking-channel {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    width: 100%;
    min-height: 54px;

    padding: 14px 12px;

    border: 0;
    border-radius: 13px;

    color: white;

    font-size: 15px;
    font-weight: 750;

    text-align: center;
    text-decoration: none;

    cursor: pointer;

    transition:
        background .2s ease,
        transform .2s ease;
}

.approval-track {
    margin-top: 16px;

    background: var(--purple);

    box-shadow:
        0 4px 14px rgba(85, 44, 160, .16);
}

.approval-track:hover {
    background: #462480;
}

.approval-channel,
.tracking-channel {
    background: var(--green);

    color: white !important;

    box-shadow:
        0 4px 14px rgba(22, 140, 76, .16);
}

#approval-notice .approval-channel {
    margin: 10px 0;
}

.approval-channel:hover,
.tracking-channel:hover {
    background: #11743e;
}

.approval-track:active,
.approval-channel:active,
.tracking-channel:active {
    transform: scale(.98);
}

#approval-notice .approval-footer {
    margin: 12px 0 0;

    color: #81788c;

    font-size: 11px !important;
    font-weight: 400;

    line-height: 1.6;
    text-align: center;
}

/* ==========================================
   PAGINA DE ACOMPANHAMENTO
========================================== */

.tracking-page {
    width: min(100%, 760px);

    margin-inline: auto;

    padding-block: 36px 60px;

    display: grid;
    gap: 24px;
}

.tracking-intro {
    display: grid;
    gap: 18px;

    min-width: 0;

    padding: 8px 0 4px;
}

.tracking-heading {
    display: flex;
    align-items: center;
    gap: 18px;
}

.tracking-heading > div:last-child {
    min-width: 0;
}

.tracking-heading-icon {
    flex-shrink: 0;

    display: grid;
    place-items: center;

    width: 72px;
    height: 72px;

    background: var(--lilac);

    border: 1px solid #dccbf5;
    border-radius: 22px;

    font-size: 32px;
}

.tracking-heading h1 {
    font-size: clamp(2.2rem, 6vw, 3.75rem);

    line-height: 1.02;
    letter-spacing: -.07em;

    overflow-wrap: anywhere;
}

.tracking-heading p {
    margin-top: 12px;

    font-size: 14px;
    line-height: 1.7;
}

/* ==========================================
   INDICADOR DE ATUALIZACAO
========================================== */

.tracking-live {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    gap: 9px;

    padding: 9px 13px;

    background: #edf8ef;

    border: 1px solid #d6ebdc;
    border-radius: 999px;

    color: #207244;

    font-size: 12px;
    font-weight: 700;
}

.live-dot {
    position: relative;

    flex-shrink: 0;

    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #28a65e;
}

.live-dot::after {
    content: '';

    position: absolute;
    inset: -4px;

    border: 2px solid #28a65e;
    border-radius: 50%;

    animation:
        live-pulse 2.5s ease-out infinite;
}

@keyframes live-pulse {
    0% {
        transform: scale(.7);
        opacity: .8;
    }

    80%,
    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

/* ==========================================
   CONSULTAR PROTOCOLO
========================================== */

.tracking-panel,
.tracking-card,
.tracking-history,
.tracking-information {
    min-width: 0;

    padding: clamp(18px, 4vw, 28px);

    background: var(--paper);

    border: 1px solid var(--line);
    border-radius: 22px;

    box-shadow: var(--shadow);
}

.tracking-panel h2,
.tracking-history h2,
.tracking-information h2 {
    font-size: clamp(20px, 4vw, 25px);
    letter-spacing: -.035em;
}

.tracking-panel > p {
    margin-top: 9px;
    margin-bottom: 18px;

    font-size: 14px;
}

#tracking-form {
    display: grid;
    gap: 9px;
}

#tracking-form label {
    font-size: 13px;
    font-weight: 750;
}

.tracking-input-row {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr) auto;

    align-items: stretch;

    gap: 10px;
}

#tracking-key {
    min-height: 50px;

    padding: 12px 14px;

    border-radius: 12px;

    font-size: 15px;
}

#tracking-key:focus {
    border-color: var(--purple);
}

#tracking-search {
    min-height: 50px;

    padding-inline: 20px;

    border-radius: 12px;

    font-size: 14px;
}

.tracking-help {
    color: var(--muted);

    font-size: 12px;
    line-height: 1.6;
}

.tracking-error {
    margin: 14px 0 0 !important;
    padding: 12px 14px;

    background: var(--red-light);

    border: 1px solid #efcbd0;
    border-radius: 10px;

    color: #a62c3b;

    font-size: 13px;
}

/* ==========================================
   CARD DE ACOMPANHAMENTO
========================================== */

.tracking-card {
    display: grid;
    gap: 20px;

    background: #ffffff;

    scroll-margin-top: 20px;
}

.tracking-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 14px;
}

.tracking-card-header > div {
    min-width: 0;
}

.tracking-card-label {
    display: block;

    margin-bottom: 7px;

    color: var(--muted);

    font-size: 12px;
    font-weight: 600;
}

#tracking-title {
    font-size: clamp(23px, 5vw, 30px);

    line-height: 1.25;
    letter-spacing: -.04em;

    overflow-wrap: anywhere;
}

/* ==========================================
   STATUS DA FIGURINHA
========================================== */

.tracking-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    min-height: 29px;

    padding: 6px 10px;

    background: #f1edf5;

    border: 1px solid transparent;
    border-radius: 999px;

    color: #685e75;

    font-size: 11px;
    font-weight: 800;

    line-height: 1.4;
    text-align: center;
}

.tracking-badge[data-status="pending"],
.tracking-badge[data-status="publishing"] {
    background: #f0e6ff;

    border-color: #e4d6fa;

    color: #7040ae;
}

.tracking-badge[data-status="approved"],
.tracking-badge[data-status="published"] {
    background: var(--green-light);

    border-color: #d0ead8;

    color: #237c45;
}

.tracking-badge[data-status="rejected"],
.tracking-badge[data-status="publication_failed"] {
    background: var(--red-light);

    border-color: #f1cbd0;

    color: #b43746;
}

.tracking-badge[data-status="publication_uncertain"] {
    background: var(--yellow-light);

    border-color: #f0dfaf;

    color: #876319;
}

.tracking-badge[data-status="expired"],
.tracking-badge[data-status="unknown"],
.tracking-badge[data-status="private"] {
    background: #efedf0;

    border-color: #e4e0e8;

    color: #716b78;
}

/* ==========================================
   PROTOCOLO
========================================== */

.tracking-protocol-box {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    padding: 16px;

    background: #f7f2fd;

    border: 1px solid #e9dff5;
    border-radius: 14px;
}

.tracking-protocol-box > div {
    min-width: 0;

    display: grid;
    gap: 5px;
}

.tracking-protocol-box small {
    font-size: 12px;
}

#tracking-protocol {
    color: var(--purple);

    font-family: ui-monospace, monospace;
    font-size: clamp(15px, 4vw, 20px);
    font-weight: 800;

    letter-spacing: .8px;

    overflow-wrap: anywhere;
}

#tracking-copy {
    flex-shrink: 0;

    min-height: 42px;

    font-size: 12px;
}

.tracking-message {
    padding: 14px 16px;

    background: #f8f5fc;

    border-left: 4px solid #9673c8;
    border-radius: 8px;

    color: #5e497c;

    font-size: 14px;
    line-height: 1.7;
}

/* ==========================================
   LINHA DO TEMPO
========================================== */

.tracking-steps {
    list-style: none;

    margin: 4px 0 0;
    padding: 0;

    display: grid;
    gap: 0;
}

.tracking-step {
    position: relative;

    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);

    align-items: start;
    gap: 15px;

    min-height: 90px;

    padding: 0 0 24px;
}

.tracking-step:not(:last-child)::before {
    content: '';

    position: absolute;

    top: 42px;
    bottom: 0;
    left: 20px;

    width: 2px;

    background: #e9e3ef;
}

.tracking-step[data-state="done"]:not(:last-child)::before {
    background: #b4dfc2;
}

.tracking-step:last-child {
    min-height: 0;
    padding-bottom: 0;
}

.step-icon {
    position: relative;
    z-index: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    border: 2px solid #e5dfeb;
    border-radius: 50%;

    background: #f4f1f7;
    color: #aca3b9;

    font-size: 22px;
    font-weight: 800;

    line-height: 1;

    transition:
        background .3s ease,
        color .3s ease,
        border-color .3s ease;
}

.step-content {
    min-width: 0;

    padding-top: 3px;

    display: grid;
    gap: 5px;
}

.step-content strong {
    color: var(--ink);

    font-size: 15px;
    font-weight: 750;

    line-height: 1.4;
}

.step-content p {
    font-size: 13px;
    line-height: 1.6;

    overflow-wrap: anywhere;
}

.step-content time {
    color: #8a8197;

    font-size: 11px;
    font-weight: 500;
}

/* ETAPA CONCLUIDA */

.tracking-step[data-state="done"] .step-icon {
    background: #e6f6eb;

    border-color: #bce4c9;

    color: #24914f;
}

.tracking-step[data-state="done"] .step-content strong {
    color: #2c7448;
}

/* ETAPA EM ANDAMENTO */

.tracking-step[data-state="active"] .step-icon {
    background: #eee3ff;

    border-color: #d3bcef;

    color: #7542b2;

    animation:
        tracking-pulse 2.5s ease-in-out infinite;
}

.tracking-step[data-state="active"] .step-content strong {
    color: var(--purple);
}

@keyframes tracking-pulse {
    0%,
    100% {
        box-shadow:
            0 0 0 0 rgba(117, 66, 178, .10);
    }

    50% {
        box-shadow:
            0 0 0 6px rgba(117, 66, 178, .08);
    }
}

/* ETAPA AGUARDANDO */

.tracking-step[data-state="waiting"] .step-icon {
    color: #b4aabc;

    background: #f7f5f9;

    border-color: #e9e4ee;
}

.tracking-step[data-state="waiting"] .step-content strong {
    color: #81788e;
}

.tracking-step[data-state="waiting"] .step-content p {
    color: #948c9f;
}

/* ETAPA RECUSADA OU COM FALHA */

.tracking-step[data-state="error"] .step-icon {
    background: var(--red-light);

    border-color: #efc3ca;

    color: var(--red);
}

.tracking-step[data-state="error"] .step-content strong {
    color: #ad3341;
}

/* ETAPA IGNORADA */

.tracking-step[data-state="skipped"] .step-icon {
    background: #f2f0f4;

    color: #aaa1b4;

    border-color: #e3dfe8;
}

.tracking-step[data-state="skipped"] .step-content strong {
    color: #81788e;
}

/* ==========================================
   TEMPO ESTIMADO
========================================== */

.tracking-estimate {
    display: flex;
    align-items: center;

    gap: 14px;

    padding: 18px;

    background: #f3eaff;

    border: 1px solid #e5d5fa;
    border-radius: 16px;
}

.estimate-icon {
    flex-shrink: 0;

    display: grid;
    place-items: center;

    width: 48px;
    height: 48px;

    background: #e7d7fc;

    border-radius: 13px;

    font-size: 23px;
}

.tracking-estimate > div:last-child {
    min-width: 0;

    display: grid;
    gap: 5px;
}

.tracking-estimate span {
    color: #76559e;

    font-size: 12px;
    font-weight: 650;
}

#tracking-estimate-value {
    color: var(--purple);

    font-size: clamp(19px, 4vw, 24px);
    font-weight: 850;

    line-height: 1.3;
    letter-spacing: -.035em;
}

#tracking-wait-time {
    color: #765f91;

    font-size: 12px;
    line-height: 1.5;
}

/* ==========================================
   BOTOES DO ACOMPANHAMENTO
========================================== */

.tracking-actions {
    display: grid;
    gap: 10px;
}

.tracking-actions .primary,
.tracking-actions .secondary {
    width: 100%;
    min-height: 50px;

    border-radius: 12px;

    font-size: 14px;
}

.tracking-update {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    padding-top: 15px;

    border-top: 1px solid #eee9f2;

    color: #8b8295;

    font-size: 11px;
    line-height: 1.5;

    text-align: center;
}

.tracking-update-icon {
    font-size: 18px;
    color: #9579ba;
}

/* ==========================================
   HISTORICO
========================================== */

.tracking-history {
    display: grid;
    gap: 18px;
}

.tracking-history-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    gap: 12px;
}

.tracking-history-header > div {
    min-width: 0;
}

.tracking-history-header p {
    margin-top: 6px;

    font-size: 13px;
}

#tracking-clear-history {
    flex-shrink: 0;

    min-height: 38px;

    padding: 8px 10px;

    font-size: 11px;
}

.tracking-history-list {
    display: grid;
    gap: 12px;
}

.tracking-history-list:empty {
    display: none;
}

.tracking-history-card {
    min-width: 0;

    display: grid;
    gap: 12px;

    padding: 17px;

    background: white;

    border: 1px solid var(--line);
    border-radius: 15px;

    transition:
        border-color .2s ease,
        background .2s ease;
}

.tracking-history-card[data-selected="true"] {
    border-color: #b69bdc;

    background: #fdfbff;
}

.history-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 12px;
}

.history-card-info {
    min-width: 0;

    display: grid;
    gap: 5px;
}

.history-card-info h3 {
    font-size: 16px;
    font-weight: 750;

    line-height: 1.4;

    overflow-wrap: anywhere;
}

.history-card-info p {
    color: #8467a7;

    font-family: ui-monospace, monospace;
    font-size: 12px;
    font-weight: 600;

    overflow-wrap: anywhere;
}

.history-date {
    color: #8d8498;
    font-size: 12px;
}

.history-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 8px;
}

.history-actions > button {
    min-height: 39px;

    padding: 9px 12px;

    border-radius: 9px;

    font-size: 12px;
}

.history-remove {
    margin-left: auto;

    color: #a63c49;

    background: #fff7f7;

    border-color: #f1d4d8;
}

.history-remove:hover {
    background: #fcebed;
    border-color: #db9aa4;
}

.tracking-privacy {
    padding: 12px 14px;

    background: #f4f0f7;

    border-radius: 10px;

    color: #776e85;

    font-size: 11px;
    line-height: 1.7;
}

/* ==========================================
   HISTORICO VAZIO
========================================== */

.tracking-empty {
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 12px;

    padding: 32px 16px;

    background: #faf7fe;

    border: 1px dashed #ded1ee;
    border-radius: 16px;

    text-align: center;
}

.tracking-empty-icon {
    display: grid;
    place-items: center;

    width: 68px;
    height: 68px;

    margin-bottom: 4px;

    border-radius: 22px;

    background: var(--lilac);

    color: var(--purple);

    font-size: 37px;
}

.tracking-empty h3 {
    font-size: 17px;
    font-weight: 750;
}

.tracking-empty p {
    max-width: 340px;

    font-size: 13px;
    line-height: 1.7;
}

.tracking-empty .primary {
    margin-top: 5px;

    min-height: 44px;

    font-size: 13px;
}

/* ==========================================
   PERGUNTAS FREQUENTES
========================================== */

.tracking-information {
    display: grid;
    gap: 12px;
}

.tracking-information h2 {
    margin-bottom: 6px;
}

.tracking-information details {
    border: 1px solid #e7e0ed;
    border-radius: 12px;

    background: white;

    overflow: hidden;
}

.tracking-information summary {
    position: relative;

    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 12px;

    padding: 16px;

    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    list-style: none;
}

.tracking-information summary::-webkit-details-marker {
    display: none;
}

.tracking-information summary::after {
    content: '+';

    flex-shrink: 0;

    color: var(--purple);

    font-size: 22px;
    font-weight: 500;

    line-height: 1;
}

.tracking-information details[open] summary::after {
    content: '−';
}

.tracking-information details[open] summary {
    background: #f9f5ff;
}

.tracking-information details p {
    padding: 0 16px 16px;

    font-size: 13px;
    line-height: 1.7;
}

/* ==========================================
   ADMINISTRACAO
========================================== */

.dashboard {
    padding-block: 36px 56px;
}

.dashboard > h1 {
    font-size: clamp(2rem, 6vw, 3.6rem);
}

.dashboard > p {
    margin-top: 16px;
}

.dashboard > h2 {
    margin-top: 28px;
}

/* ==========================================
   ACESSIBILIDADE
========================================== */

.sr-only {
    position: absolute;

    width: 1px;
    height: 1px;

    overflow: hidden;

    clip-path: inset(50%);
}

/* ==========================================
   RESPONSIVIDADE - TABLETS
========================================== */

@media (max-width: 850px) {

    nav,
    .nav-actions {
        gap: 12px;
    }

    .nav-gallery,
    .nav-tracking,
    .channel {
        font-size: 12px;
    }

    .nav-create {
        font-size: 13px;
    }

    .creator {
        gap: 24px;
    }
}

/* ==========================================
   RESPONSIVIDADE - CELULARES
========================================== */

@media (max-width: 690px) {

    .shell {
        width: calc(100% - 28px);
    }

    nav {
        flex-wrap: wrap;
        justify-content: center;

        gap: 10px;

        min-height: 0;

        padding-block: 12px;
    }

    .brand {
        width: 100%;

        justify-content: center;

        font-size: 1.5rem;
    }

    .nav-actions {
        width: 100%;

        justify-content: center;
        flex-wrap: wrap;

        gap: 8px;
    }

    .nav-gallery {
        display: none;
    }

    .nav-tracking,
    .nav-create,
    .channel {
        font-size: .8rem;
    }

    .nav-tracking {
        padding: 10px 8px;
    }

    .nav-create {
        min-height: 40px;

        padding: 9px 12px;
    }

    .creator {
        grid-template-columns: 1fr;

        gap: 20px;

        padding-block: 24px 40px;
    }

    .creator .result,
    .creator #approval-notice {
        grid-column: 1;
    }

    .creator-intro h1 {
        font-size: clamp(2.6rem, 10vw, 4rem);
    }

    .gallery-hero {
        grid-template-columns: 1fr;

        padding: 25px 20px;
    }

    .hero-art {
        display: none;
    }

    .hero-actions {
        display: grid;

        gap: 9px;
    }

    .hero-actions > a {
        width: 100%;
    }

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

        gap: 9px;
    }

    .dashboard .grid {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 8px;
    }

    .tracking-page {
        gap: 18px;

        padding-block: 24px 40px;
    }

    .tracking-heading {
        gap: 12px;
    }

    .tracking-heading-icon {
        width: 58px;
        height: 58px;

        border-radius: 17px;

        font-size: 26px;
    }

    .tracking-heading h1 {
        font-size: clamp(2rem, 7.5vw, 3rem);
    }

    .tracking-heading p {
        font-size: 13px;
    }

    .tracking-panel,
    .tracking-card,
    .tracking-history,
    .tracking-information {
        padding: 19px 15px;

        border-radius: 18px;
    }

    .tracking-card-header {
        flex-wrap: wrap;
    }

    .tracking-card-header > div {
        flex: 1 1 160px;
    }

    .tracking-step {
        grid-template-columns: 38px minmax(0, 1fr);

        gap: 12px;
    }

    .step-icon {
        width: 38px;
        height: 38px;

        font-size: 20px;
    }

    .tracking-step:not(:last-child)::before {
        top: 38px;
        left: 18px;
    }

    .step-content strong {
        font-size: 14px;
    }

    .step-content p {
        font-size: 12px;
    }

    .tracking-history-card {
        padding: 14px;
    }

    .tracking-badge {
        max-width: 135px;

        white-space: normal;

        font-size: 10px;
    }

    .tracking-estimate {
        padding: 15px 12px;
    }
}

/* ==========================================
   CELULARES MENORES
========================================== */

@media (max-width: 600px) {

    #approval-notice {
        margin: 0 auto 20px;

        padding: 26px 18px;

        border-radius: 20px;
    }

    #approval-notice h2 {
        font-size: 22px;
    }

    #approval-notice p {
        font-size: 14px;
    }

    #approval-notice .approval-time {
        padding: 16px 10px;

        font-size: 14px;
    }

    .approval-channel,
    .approval-track,
    .tracking-channel {
        min-height: 54px;

        font-size: 14px;
    }

    #source-preview {
        width: 100%;
        max-height: 380px;

        border-radius: 14px;
    }

    #source-preview.preview-fill {
        width: min(100%, 300px);
    }

    #framing-box {
        padding: 14px;
    }

    #timeline input[type="range"] {
        width: 100%;
        min-height: 32px;
    }

    #create input[type="text"],
    #create input[type="url"],
    #create input[type="number"],
    #create select,
    #tracking-key {
        font-size: 16px;
    }

    .tracking-input-row {
        grid-template-columns: 1fr;
    }

    #tracking-search {
        width: 100%;
    }

    .tracking-protocol-box {
        flex-wrap: wrap;

        padding: 14px;
    }

    #tracking-copy {
        width: 100%;
    }

    .tracking-history-header {
        flex-wrap: wrap;
    }

    .history-actions {
        display: grid;

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

    .history-actions > button {
        width: 100%;
        min-height: 44px;

        font-size: 12px;
    }

    .history-remove {
        grid-column: 1 / -1;

        margin-left: 0;
    }

    #gallery-filter {
        width: 100%;
    }

    #gallery-filter input[type=search] {
        flex: 1;
        min-width: 120px;
    }
}

/* ==========================================
   TELAS MUITO PEQUENAS
========================================== */

@media (max-width: 360px) {

    .shell {
        width: calc(100% - 20px);
    }

    .nav-actions {
        gap: 4px;
    }

    .nav-tracking,
    .nav-create,
    .channel {
        font-size: 11px;
    }

    .tracking-heading-icon {
        display: none;
    }

    .history-card-header {
        flex-wrap: wrap;
    }

    .fields {
        grid-template-columns: 1fr;
    }

    .tracking-estimate {
        align-items: flex-start;
    }

    .estimate-icon {
        width: 36px;
        height: 36px;

        font-size: 18px;
    }
}

/* ==========================================
   REDUZIR ANIMACOES
========================================== */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
/* Editor manual e interações */
#manual-framing {display:grid;gap:12px;margin-top:12px;min-width:0}
#crop-preview {display:block;width:min(100%,360px);height:auto;aspect-ratio:1;margin:auto;background:#17141c;border-radius:12px;touch-action:none;cursor:grab}
#crop-preview:active {cursor:grabbing}
#manual-framing input[type=range] {display:block;width:100%;height:30px;accent-color:var(--purple);margin:0}
#manual-framing label {display:grid;gap:3px}
#zoom-value {color:var(--purple);font-weight:800}
.gallery-sort {min-width:145px}
.gallery-sort select {font-size:.85rem}
.popularity-bar {display:flex;align-items:center;flex-wrap:wrap;gap:6px;min-width:0}
.popularity-bar button {font-size:12px;min-height:38px;padding:6px 9px;flex:1 1 auto}
.popularity-views {font-size:12px;color:var(--muted);width:100%}
.popularity-bar button[aria-pressed=true] {background:var(--lilac);border-color:var(--purple);color:var(--purple)}
.popularity-note {font-size:12px;color:var(--muted)}
.popularity-note:empty {display:none}
@media(max-width:600px){.gallery-sort{width:100%}.gallery-sort select{font-size:16px}.popularity-bar button{min-height:42px}}

/* =========================================
   STICKERZAP - HOME PREMIUM
========================================= */

:root {
    --home-purple: #582da3;
    --home-purple-dark: #442080;
    --home-text: #211b30;
    --home-muted: #777080;
    --home-border: #e8e3ed;
    --home-surface: #ffffff;
}

/* CABEÇALHO */

body:not(.admin-page) .top {
    background: #fffdfb;
    border-bottom: 1px solid var(--home-border);
}

body:not(.admin-page) .top nav {
    min-height: 76px;
    gap: 20px;
}

body:not(.admin-page) .brand {
    font-weight: 850;
    letter-spacing: -1px;
}

body:not(.admin-page) .brand .mark {
    border-radius: 13px;
    background: var(--home-purple);
}

body:not(.admin-page) .nav-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

body:not(.admin-page) .nav-actions a {
    white-space: nowrap;
    font-size: 14px;
}

body:not(.admin-page) .nav-create {
    border-radius: 12px;
    padding: 12px 18px;
}

/* PAGINA INICIAL */

#home {
    padding-top: 28px;
    padding-bottom: 60px;
}

#home[hidden] {
    display: none !important;
}

/* HERO PRINCIPAL */

#home .gallery-hero {
    position: relative;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    align-items: center;
    gap: 32px;
    overflow: hidden;

    padding: 48px;
    margin: 0 0 42px;

    background: linear-gradient(
        135deg,
        #f0e8fd 0%,
        #e8dcfa 100%
    );

    border: 1px solid #e4d7f8;
    border-radius: 26px;
}

#home .hero-content {
    position: relative;
    z-index: 2;
    min-width: 0;
}

#home .home-tag {
    display: inline-flex;
    align-items: center;

    padding: 8px 12px;
    margin-bottom: 20px;

    background: #ffffff99;
    border: 1px solid #ffffff;
    border-radius: 20px;

    font-size: 10px;
    letter-spacing: 1px;
    font-weight: 800;
    color: var(--home-purple);
}

#home .gallery-hero h1 {
    color: var(--home-text);

    font-size: clamp(36px, 5vw, 64px);
    font-weight: 850;
    letter-spacing: -.065em;
    line-height: 1.06;

    margin: 0;
}

#home .gallery-hero h1 span {
    color: var(--home-purple);
}

#home .gallery-hero p {
    max-width: 470px;
    margin: 18px 0 25px;

    font-size: 16px;
    line-height: 1.65;
    color: #6b6079;
}

#home .hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

#home .hero-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 49px;
    padding: 13px 20px;

    border-radius: 12px;
    font-size: 14px;
    font-weight: 750;
    text-decoration: none;
}

#home .hero-actions .primary {
    background: var(--home-purple);
    border: 1px solid var(--home-purple);
    color: #fff;

    box-shadow: 0 5px 12px #582da31c;
}

#home .hero-actions .secondary {
    background: #ffffffcc;
    color: var(--home-purple);
    border: 1px solid #ffffff;
}

#home .hero-actions .primary:hover {
    background: var(--home-purple-dark);
}

/* TITULO DA GALERIA */

#home .home-gallery-intro {
    margin: 0 0 20px;
}

#home .home-eyebrow {
    display: block;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.8px;

    color: var(--home-purple);
    margin-bottom: 8px;
}

#home .home-gallery-intro h2 {
    margin: 0;

    font-size: clamp(25px, 4vw, 35px);
    line-height: 1.2;
    font-weight: 850;
    letter-spacing: -.045em;

    color: var(--home-text);
}

#home .home-gallery-intro p {
    margin: 8px 0 0;

    color: var(--home-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* AREA DE BUSCA E FILTROS */

#home .gallery-heading {
    display: block;
    width: 100%;

    padding: 16px;
    margin-bottom: 22px;

    background: var(--home-surface);
    border: 1px solid var(--home-border);
    border-radius: 18px;

    box-sizing: border-box;
}

#home #gallery-filter {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    width: 100%;
    gap: 18px;
    margin: 0;
}

/* BARRA DE BUSCA */

#home .home-search {
    display: flex;
    align-items: center;

    flex: 1;
    min-width: 0;
    min-height: 48px;

    padding: 3px;

    background: #f7f5fa;
    border: 1px solid #e5e0eb;
    border-radius: 12px;

    transition: border-color .2s;
}

#home .home-search:focus-within {
    border-color: var(--home-purple);
}

#home .home-search input {
    display: block;
    flex: 1;
    width: 100%;
    min-width: 0;

    padding: 10px 12px;
    margin: 0;

    border: 0;
    outline: 0;
    box-shadow: none;
    background: transparent;

    color: var(--home-text);
    font-size: 16px;
}

#home .home-search input::placeholder {
    color: #99929f;
}

#home .home-search button {
    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;
    width: 43px;
    height: 43px;
    min-height: 43px;

    padding: 0;
    margin: 0;

    background: var(--home-purple);
    color: white;

    border: none;
    border-radius: 9px;
}

/* ORDENACAO */

#home .home-filters {
    display: flex;
    align-items: flex-end;

    flex-shrink: 0;
    gap: 12px;
}

#home .gallery-sort {
    display: flex;
    flex-direction: column;
    align-items: stretch;

    gap: 6px;
    margin: 0;
    min-width: 0;
}

#home .gallery-sort > span {
    font-size: 11px;
    font-weight: 700;
    color: var(--home-muted);
}

#home .gallery-sort select {
    display: block;

    width: 170px;
    min-height: 49px;

    margin: 0;
    padding: 10px 14px;

    background-color: #f7f5fa;
    color: var(--home-text);

    border: 1px solid #e5e0eb;
    border-radius: 11px;

    font-size: 14px;
    font-weight: 650;

    cursor: pointer;
}

/* FILTRO COM SOM */

#home .sound-filter {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;

    min-height: 49px;
    gap: 7px;

    padding: 10px 14px;
    margin: 0;

    border: 1px solid #e5e0eb;
    border-radius: 11px;

    background: #f7f5fa;
    color: var(--home-muted);

    font-size: 13px;
    font-weight: 700;

    cursor: pointer;
    white-space: nowrap;
    box-sizing: border-box;
}

#home .sound-filter input {
    width: 17px;
    height: 17px;
    margin: 0;

    flex-shrink: 0;
    accent-color: var(--home-purple);
}

#home .sound-filter svg {
    flex-shrink: 0;
}

#home .sound-filter:has(input:checked) {
    color: var(--home-purple);
    background: #efe7fb;
    border-color: #cdb7ed;
}

/* GALERIA */

#home #gallery {
    display: grid;
    grid-template-columns:
        repeat(auto-fill, minmax(205px, 1fr));

    align-items: start;
    gap: 16px;
}

#home #gallery > * {
    min-width: 0;
}

#home #gallery .card {
    overflow: hidden;

    padding: 10px;

    background: #fff;
    border: 1px solid var(--home-border);
    border-radius: 17px;

    box-shadow: 0 4px 14px #27173907;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

@media (hover: hover) {
    #home #gallery .card:hover {
        transform: translateY(-3px);
        box-shadow: 0 9px 24px #27173913;
    }
}

#home #gallery img,
#home #gallery video {
    max-width: 100%;
    border-radius: 11px;
}

#home #gallery h3 {
    overflow-wrap: anywhere;
    font-size: 15px;
    font-weight: 750;
    line-height: 1.4;
}

#home #gallery .actions {
    flex-wrap: wrap;
    gap: 6px;
}

#home #gallery .actions button,
#home #gallery .actions a {
    min-width: 0;
    font-size: 12px;
    border-radius: 9px;
}

#home #gallery-status {
    color: var(--home-muted);
    font-size: 13px;
    margin: 0 0 15px;
}

#home #gallery-status:empty {
    display: none;
}

/* CARREGAR MAIS */

#home #more {
    display: block;

    min-height: 48px;
    padding: 12px 25px;
    margin: 26px auto 0;

    border: 1px solid var(--home-border);
    border-radius: 12px;

    background: #fff;
    color: var(--home-purple);

    font-weight: 700;
}

#home #more[hidden] {
    display: none;
}

/* TABLETS */

@media (max-width: 850px) {

    #home .gallery-hero {
        padding: 35px;
        gap: 20px;
    }

    #home #gallery-filter {
        display: grid;
        grid-template-columns: 1fr;
        gap: 13px;
    }

    #home .home-filters {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 12px;
    }

    #home .gallery-sort select {
        width: 100%;
    }
}

/* CELULAR */

@media (max-width: 600px) {

    body:not(.admin-page) .top nav {
        display: flex;
        flex-direction: column;
        align-items: center;

        gap: 12px;
        padding-top: 17px;
        padding-bottom: 15px;
    }

    body:not(.admin-page) .brand {
        font-size: 25px;
    }

    body:not(.admin-page) .brand .mark {
        width: 36px;
        height: 36px;
    }

    body:not(.admin-page) .nav-actions {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;

        width: 100%;
        gap: 7px;
    }

    body:not(.admin-page) .nav-gallery {
        display: none;
    }

    body:not(.admin-page) .nav-actions a {
        font-size: 12px;
        padding: 10px 9px;
    }

    body:not(.admin-page) .nav-tracking {
        background: #f4effb;
        border-radius: 9px;
    }

    body:not(.admin-page) .nav-create {
        border-radius: 9px;
    }

    #home {
        padding-top: 18px;
    }

    #home .gallery-hero {
        display: block;

        padding: 25px 20px;
        margin-bottom: 32px;

        border-radius: 21px;
    }

    #home .hero-art {
        display: none;
    }

    #home .home-tag {
        font-size: 9px;
        letter-spacing: .8px;
        margin-bottom: 16px;
        padding: 7px 10px;
    }

    #home .gallery-hero h1 {
        font-size: clamp(33px, 9vw, 43px);
        line-height: 1.08;
    }

    #home .gallery-hero p {
        font-size: 14px;
        line-height: 1.65;
        margin: 13px 0 19px;
    }

    #home .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 9px;
    }

    #home .hero-actions a {
        width: 100%;
        min-height: 47px;
        font-size: 14px;
        box-sizing: border-box;
    }

    #home .home-gallery-intro {
        margin-bottom: 16px;
    }

    #home .home-gallery-intro h2 {
        font-size: 26px;
    }

    #home .home-gallery-intro p {
        font-size: 13px;
    }

    #home .gallery-heading {
        padding: 12px;
        margin-bottom: 18px;
        border-radius: 16px;
    }

    #home #gallery-filter {
        display: grid;
        grid-template-columns: 1fr;

        gap: 13px;
        width: 100%;
    }

    #home .home-search {
        width: 100%;
        box-sizing: border-box;
    }

    #home .home-filters {
        display: grid;
        grid-template-columns:
            minmax(0, 1fr) auto;

        align-items: end;
        gap: 9px;
    }

    #home .gallery-sort {
        width: 100%;
    }

    #home .gallery-sort select {
        width: 100%;
        font-size: 16px;
        padding: 9px;
    }

    #home .sound-filter {
        font-size: 12px;
        gap: 5px;
        padding: 9px 10px;
    }

    #home .sound-filter svg {
        display: none;
    }

    #home #gallery {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 11px;
    }

    #home #gallery .card {
        padding: 7px;
        border-radius: 13px;
    }

    #home #gallery h3 {
        font-size: 13px;
    }

    #home #gallery img,
    #home #gallery video {
        border-radius: 9px;
    }

    #home #more {
        width: 100%;
    }
}

/* CELULARES PEQUENOS */

@media (max-width: 350px) {

    #home .home-filters {
        grid-template-columns: 1fr;
    }

    #home .sound-filter {
        justify-content: flex-start;
    }

    body:not(.admin-page) .nav-actions a {
        font-size: 11px;
    }
}

/* ACESSIBILIDADE */

@media (prefers-reduced-motion: reduce) {

    #home *,
    #home *::before,
    #home *::after {
        transition: none !important;
        animation: none !important;
    }
}

/* LOGO OFICIAL STICKERZAP */

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.brand-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 12px;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .brand-logo {
        width: 42px;
        height: 42px;
    }
}