body {
    /*Corpo*/
    color: white;
    background-color: black;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    text-align: left;
    font-weight: bold;
}



h1 {
    /*Titulos*/
    color: black;
    background-color: yellow;
    max-width: 1600px;
    padding: 10px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin: 20px auto;
}



h6 {
    /* Descriçoes */
    text-align: center;
    margin-bottom: 50px;
}



ul {
    /* Listas */
    list-style-type: square;
    width: fit-content;
    margin: 0 auto;
}




h4 {
    text-align: center;
    color: red;
    padding: 5px;
    max-width: 500px;
    font-size: 20px;
    font-family: 'Courier New', Courier, monospace;
    margin-left: auto;
    margin-right: auto;
}



p {
    /* paragrafos */
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
    margin-top: 10px;
}



h2 {
    /* fim de texto (73's de PU4ELT) */
    text-align: center;
    color: yellow;
}



h5 {
    /* datas de publicação */
    text-align: center;
    margin: 10px;
}


h3 {
    /*titulos vermelhos*/
    text-align: center;
    color: red;
    background-color: yellow;
    padding: 5px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}



.links {
    /* Links externos em palavras */
    color: aqua;
    text-decoration: none;
}



.video {
    display: flex;
    justify-content: center;
    margin-top: -20px;
    margin-bottom: 20px;
}



.vermelho {
    /* Links externos em palavras */
    color: red;
    text-decoration: none;
}



.audio {
    /*audios*/
    display: flex;
    justify-content: center;
    margin: 40px 0;
    margin-bottom: 80px;
}



.txtLink {
    display: block;
    width: fit-content;
    margin: 0 auto;
    padding: 10px 20px;
    color: yellow;
    border: 2px solid white;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
}

.txtLink:hover {
    background-color: yellow;
    color: black;
}

pre.txtContent {
    align-items: center;
    background-color: #333;
    max-width: 1600px;
    padding: 10px;
    border: 1px solid #555;
    white-space: pre-wrap;
    word-wrap: break-word;
    display: none;
    color: #f4f4f4;
    margin: 0 auto;
    width: 80%;
    text-align: left;
}

.satelite {
    /*imagens */
    width: auto;
    height: 400px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}


.foguete,
.SDR {
    /*imagens */
    width: 700px;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}



/* ── Card único de Preview da Telemetria ─────────────────── */

.tlm-preview-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin: 20px auto 50px auto;
    max-width: 400px;
    padding: 0 16px;
}

.tlm-preview-card {
    width: 100%;
    background: #0d0d0d;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    overflow: hidden;
    margin: 0;
    cursor: pointer;
    transition: border-color 0.3s ease, transform 0.2s ease;
}

.tlm-preview-card:hover {
    border-color: #f0c000;
    transform: translateY(-2px);
}

.tlm-preview-img-wrap {
    position: relative;
    overflow: hidden;
    background: #000;
}

.tlm-preview-img-wrap img {
    width: 100%;
    height: auto;
    display: block;
    transition: filter 0.3s ease;
}

.tlm-preview-card:hover .tlm-preview-img-wrap img {
    filter: brightness(0.75);
}

/* Overlay com ícone de lupa ao passar o mouse */
.tlm-preview-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.tlm-preview-card:hover .tlm-preview-overlay {
    opacity: 1;
}

.tlm-zoom-icon {
    font-size: 2.4rem;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.8));
}

.tlm-zoom-label {
    font-size: 0.9rem;
    color: #fff;
    font-weight: bold;
    letter-spacing: 0.03em;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}

/* Badge "1 / 8" no canto superior direito */
.tlm-counter-badge {
    position: absolute;
    top: 10px;
    right: 12px;
    background: rgba(0, 0, 0, 0.65);
    color: #ccc;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid #444;
    pointer-events: none;
}

.tlm-preview-card figcaption {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 16px 16px;
    background: #111;
    border-top: 1px solid #222;
}

/* Badge colorido por tipo de pacote */
.tlm-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: bold;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 20px;
    width: fit-content;
}

.tipo11 {
    background: #1a3a5c;
    color: #7ec8ff;
    border: 1px solid #2d6fa8;
}

.tipo03 {
    background: #1a3a1a;
    color: #7eff9a;
    border: 1px solid #2d8a45;
}

.tipo09 {
    background: #3a1a3a;
    color: #df7eff;
    border: 1px solid #7a2da8;
}

.tipo01 {
    background: #3a2800;
    color: #ffc857;
    border: 1px solid #a87020;
}

/* Nome da variável */
.tlm-var {
    font-size: 0.95rem;
    color: #cccccc;
    font-weight: normal;
}

.tlm-var strong {
    color: #ffffff;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1rem;
}

/* Horário UTC */
.tlm-utc {
    font-size: 0.8rem;
    color: #888888;
    font-weight: normal;
    margin-top: 2px;
}

/* Mensagem de instrução abaixo do card */
.tlm-hint {
    font-size: 0.85rem;
    color: #888;
    text-align: center;
    font-weight: normal;
    margin: 0;
    padding: 0;
}


/* ── Lightbox Overlay ──────────────────────────────────────── */

#lb-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.92);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    cursor: zoom-out;
}

#lb-overlay.active {
    display: flex;
}

#lb-img {
    max-width: 92vw;
    max-height: 78vh;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: none;
    transition: opacity 0.15s ease;
    cursor: default;
}

#lb-caption {
    color: #cccccc;
    font-size: 0.9rem;
    text-align: center;
    font-weight: normal;
    max-width: 800px;
}

#lb-caption strong {
    color: #fff;
    font-family: 'Courier New', Courier, monospace;
}

#lb-close {
    position: fixed;
    top: 16px;
    right: 20px;
    background: none;
    border: 1px solid #555;
    color: #ccc;
    font-size: 1.4rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

#lb-close:hover {
    background: #f0c000;
    color: #000;
    border-color: #f0c000;
}

#lb-prev,
#lb-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid #444;
    color: #ccc;
    font-size: 2.5rem;
    width: 48px;
    height: 64px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

#lb-prev {
    left: 10px;
}

#lb-next {
    right: 10px;
}

#lb-prev:hover,
#lb-next:hover {
    background: #f0c000;
    color: #000;
    border-color: #f0c000;
}