/*
 * Estilos Nativos do Morteiro
 * Paleta: Vermelho Institucional (#b91c1c / #991b1b), Branco, Cinza Neutro (#334155, #f8fafc)
 * Foco: Sóbrio, limpo, alta legibilidade, sem estética neon/SaaS genérica.
 */

:root {
    --vermelho-principal: #b91c1c;
    --vermelho-escuro: #881313;
    --vermelho-hover: #991b1b;
    --vermelho-claro: #fef2f2;
    --vermelho-borda: #fca5a5;

    --cinza-bg: #f1f5f9;
    --cinza-card: #ffffff;
    --cinza-borda: #e2e8f0;
    --cinza-texto: #1e293b;
    --cinza-mutado: #64748b;
    --cinza-suave: #f8fafc;

    --verde-status: #166534;
    --verde-bg: #dcfce7;

    --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body.morteiro-body {
    font-family: var(--font-stack);
    background-color: var(--cinza-bg);
    color: var(--cinza-texto);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* Header */
.morteiro-header {
    background-color: #ffffff;
    border-bottom: 4px solid var(--vermelho-principal);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-badge {
    background-color: var(--vermelho-principal);
    color: #ffffff;
    font-weight: 900;
    font-size: 1.25rem;
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.logo-title {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: #0f172a;
}

.logo-sub {
    font-size: 0.75rem;
    color: var(--cinza-mutado);
    display: block;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-admin-link {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--cinza-mutado);
    text-decoration: none;
    border: 1px solid var(--cinza-borda);
    padding: 0.5rem 0.875rem;
    border-radius: 6px;
    background: #ffffff;
    transition: all 0.2s ease;
}

.btn-admin-link:hover {
    color: var(--vermelho-principal);
    border-color: var(--vermelho-borda);
    background-color: var(--vermelho-claro);
}

/* Main Layout */
.main-content {
    flex: 1;
    padding-top: 2rem;
    padding-bottom: 3rem;
}

.morteiro-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 900px) {
    .morteiro-grid {
        grid-template-columns: 1.35fr 0.85fr;
    }
}

.morteiro-centered-layout {
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
}

/* Cards */
.morteiro-card {
    background: var(--cinza-card);
    border: 1px solid var(--cinza-borda);
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    padding: 1.5rem;
}

.card-header {
    margin-bottom: 1.25rem;
}

.step-badge {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: var(--vermelho-claro);
    color: var(--vermelho-principal);
    border: 1px solid var(--vermelho-borda);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.step-badge.badge-green {
    background: var(--verde-bg);
    color: var(--verde-status);
    border-color: #86efac;
}

.section-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
}

.section-desc {
    font-size: 0.875rem;
    color: var(--cinza-mutado);
    margin-top: 0.25rem;
}

/* Ação Principal */
.action-box {
    background: var(--cinza-suave);
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.btn-morteiro {
    background-color: var(--vermelho-principal);
    color: #ffffff;
    font-size: 1.125rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    border: none;
    border-radius: 6px;
    padding: 1rem 2rem;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(185, 28, 28, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    transition: all 0.2s ease;
}

.btn-morteiro:hover {
    background-color: var(--vermelho-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 12px -2px rgba(185, 28, 28, 0.4);
}

.btn-morteiro:active {
    transform: translateY(0);
}

.btn-icon {
    font-size: 1.25rem;
}

.helper-text {
    display: block;
    font-size: 0.75rem;
    color: var(--cinza-mutado);
    margin-top: 0.75rem;
}

/* Resultado do Morteiro */
.morteiro-result {
    border-top: 1px solid var(--cinza-borda);
    padding-top: 1.5rem;
}

.result-badge-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.result-badge {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--verde-status);
    background: var(--verde-bg);
    border: 1px solid #86efac;
    padding: 0.25rem 0.625rem;
    border-radius: 4px;
}

.tag-pill {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--vermelho-principal);
    background: var(--vermelho-claro);
    border: 1px solid var(--vermelho-borda);
    padding: 0.25rem 0.625rem;
    border-radius: 9999px;
}

.post-preview-box {
    border: 1px solid var(--cinza-borda);
    border-radius: 6px;
    padding: 1rem;
    background: #ffffff;
    margin-bottom: 1.25rem;
}

.post-image-wrapper {
    margin-bottom: 0.75rem;
    text-align: center;
    background: #f8fafc;
    padding: 0.75rem;
    border-radius: 6px;
    border: 1px solid var(--cinza-borda);
}

.post-image {
    max-width: 100%;
    max-height: 280px;
    object-fit: contain;
    border-radius: 4px;
    display: block;
    margin: 0 auto;
}

.btn-download-img {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--vermelho-principal);
    text-decoration: none;
}

.btn-download-img:hover {
    text-decoration: underline;
}

.post-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.tweet-textarea {
    width: 100%;
    font-family: var(--font-stack);
    font-size: 0.9375rem;
    line-height: 1.5;
    color: #1e293b;
    border: 1px solid var(--cinza-borda);
    border-radius: 6px;
    padding: 0.75rem;
    background: var(--cinza-suave);
    resize: none;
    outline: none;
}

.result-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

@media (min-width: 500px) {
    .result-actions {
        flex-direction: row;
    }
}

.btn-action {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-copy {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #334155;
}

.btn-copy:hover {
    background: #f8fafc;
    border-color: #94a3b8;
}

.btn-twitter {
    background: #000000;
    border: 1px solid #000000;
    color: #ffffff;
}

.btn-twitter:hover {
    background: #1e293b;
}

.copy-feedback {
    margin-top: 0.75rem;
    font-size: 0.8125rem;
    color: var(--verde-status);
    background: var(--verde-bg);
    border: 1px solid #86efac;
    padding: 0.5rem;
    border-radius: 4px;
    text-align: center;
    font-weight: 600;
}

.morteiro-empty {
    text-align: center;
    padding: 2.5rem 1rem;
    color: var(--cinza-mutado);
    font-size: 0.875rem;
}

.empty-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* Trending Topics Lateral */
.trends-header-flex {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.btn-mini-refresh {
    background: none;
    border: 1px solid var(--cinza-borda);
    border-radius: 4px;
    padding: 0.25rem 0.5rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--cinza-mutado);
    transition: all 0.2s;
}

.btn-mini-refresh:hover {
    color: var(--vermelho-principal);
    border-color: var(--vermelho-borda);
}

/* Painel Mecânico Estilo Estação de Trem / Dot Matrix Panel */
.card-trends.dot-matrix-board {
    background: #0f141c;
    border: 2px solid #242c3d;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.8), 0 4px 12px rgba(0, 0, 0, 0.2);
    color: #e2e8f0;
}

.card-trends.dot-matrix-board .section-title {
    color: #f8fafc;
    font-family: "Courier New", Courier, monospace;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.card-trends.dot-matrix-board .section-desc {
    color: #94a3b8;
    font-size: 0.8125rem;
}

.matrix-header-strip {
    display: flex;
    justify-content: space-between;
    background: #192231;
    border-radius: 4px;
    padding: 0.25rem 0.625rem;
    font-family: "Courier New", Courier, monospace;
    font-size: 0.6875rem;
    font-weight: 700;
    color: #fbbf24;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 0.5rem;
    border: 1px solid #283548;
}

.trends-list.dot-matrix-list {
    border-top: none;
    margin-top: 0.5rem;
}

.trend-item.matrix-row {
    background: #141b26;
    border-bottom: 1px solid #1e293b;
    border-left: 3px solid #b45309;
    padding: 0.5rem 0.625rem;
    margin-bottom: 0.35rem;
    border-radius: 2px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 0.625rem;
    transition: background-color 0.2s ease, border-left-color 0.2s ease;
}

.trend-item.matrix-row:hover {
    background: #192333;
    border-left-color: #fbbf24;
}

.trend-item.matrix-row.updating {
    background: #251e12;
    border-left-color: #f59e0b;
}

.trend-rank.matrix-rank {
    font-family: "Courier New", Courier, monospace;
    font-size: 0.8125rem;
    font-weight: 800;
    color: #fbbf24;
    background: #090d14;
    padding: 0.125rem 0.35rem;
    border-radius: 2px;
    border: 1px solid #334155;
    text-align: center;
    width: 2rem;
    text-shadow: 0 0 4px rgba(251, 191, 36, 0.4);
}

.trend-info.matrix-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.trend-name.matrix-text {
    font-family: "SF Mono", "Courier New", Courier, monospace;
    font-size: 0.875rem;
    font-weight: 700;
    color: #fef08a; /* Amarelo âmbar característico de painel de trem */
    letter-spacing: 0.08em;
    text-shadow: 0 0 5px rgba(254, 240, 138, 0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.trend-vol.matrix-status {
    font-family: "Courier New", Courier, monospace;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #38bdf8;
    background: #090d14;
    padding: 0.15rem 0.4rem;
    border-radius: 2px;
    border: 1px solid #1e293b;
    letter-spacing: 0.05em;
}

.trends-footer.matrix-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.75rem;
    padding-top: 0.5rem;
    border-top: 1px solid #1e293b;
    font-family: "Courier New", Courier, monospace;
    font-size: 0.6875rem;
    color: #94a3b8;
}

.matrix-time {
    color: #fbbf24;
    font-weight: 700;
}

.pulse-dot.amber {
    background-color: #fbbf24;
    box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.3);
}

/* Footer */
/* ==========================================================================
   TEMA: CENTRO DE COMANDO & LANÇAMENTO MILITAR (BUNKER / MISSILE SILO)
   ========================================================================== */

body.military-theme {
    background-color: #0c1017;
    background-image: 
        radial-gradient(#1e293b 1px, transparent 1px),
        linear-gradient(to bottom, rgba(12, 16, 23, 0.95), #090d14);
    background-size: 24px 24px, 100% 100%;
    color: #cbd5e1;
}

.military-header {
    background: #111827;
    border-bottom: 4px solid #991b1b;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.military-target-badge {
    background: #7f1d1d;
    color: #fef08a;
    font-size: 1.5rem;
    width: 2.75rem;
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    border: 1px solid #b91c1c;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}

.target-crosshair {
    line-height: 1;
}

.military-sys-id {
    font-family: "Courier New", Courier, monospace;
    font-size: 0.6875rem;
    font-weight: 800;
    color: #ef4444;
    letter-spacing: 0.15em;
}

body.military-theme .logo-title {
    color: #f8fafc;
    font-family: "Courier New", Courier, monospace;
    letter-spacing: 0.05em;
}

body.military-theme .logo-sub {
    color: #94a3b8;
}

.military-status-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: "Courier New", Courier, monospace;
    font-size: 0.75rem;
    font-weight: 800;
    color: #4ade80;
    background: #052e16;
    border: 1px solid #166534;
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
}

.radar-dot {
    width: 8px;
    height: 8px;
    background-color: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 8px #22c55e;
    animation: radar-pulse 1.5s infinite;
}

@keyframes radar-pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.military-btn-link {
    background: #1f2937;
    border-color: #374151;
    color: #94a3b8;
    font-family: "Courier New", Courier, monospace;
    letter-spacing: 0.05em;
}

.military-btn-link:hover {
    background: #991b1b;
    color: #ffffff;
    border-color: #ef4444;
}

/* Card Militar */
.military-card {
    background: #111827;
    border: 2px solid #1f2937;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
    border-radius: 6px;
    position: relative;
}

.military-card-header {
    border-bottom: 1px solid #1f2937;
    padding-bottom: 1rem;
    margin-bottom: 1.25rem;
}

.mil-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.military-badge {
    background: #7f1d1d;
    color: #fecaca;
    border-color: #991b1b;
    font-family: "Courier New", Courier, monospace;
    letter-spacing: 0.1em;
}

.mil-coords {
    font-family: "Courier New", Courier, monospace;
    font-size: 0.6875rem;
    color: #64748b;
    letter-spacing: 0.1em;
}

.military-title {
    color: #f8fafc;
    font-family: "Courier New", Courier, monospace;
    letter-spacing: 0.05em;
}

/* Caixa de Ação / Detonador */
.military-action-box {
    background: #090d14;
    border: 2px solid #273549;
    padding: 2rem 1.5rem;
    box-shadow: inset 0 2px 15px rgba(0, 0, 0, 0.8);
}

.launch-switch-frame {
    display: inline-block;
    padding: 6px;
    background: #1e293b;
    border: 2px solid #475569;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.military-btn-launch {
    background: linear-gradient(180deg, #dc2626 0%, #991b1b 100%);
    border: 2px solid #ef4444;
    color: #ffffff;
    font-family: "Courier New", Courier, monospace;
    font-size: 1.1875rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    padding: 1.25rem 2.5rem;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.military-btn-launch:hover {
    background: linear-gradient(180deg, #ef4444 0%, #b91c1c 100%);
    box-shadow: 0 0 30px rgba(239, 68, 68, 0.6);
    transform: translateY(-2px);
}

.military-btn-launch:active {
    transform: translateY(1px);
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.4);
}

.launch-telemetry {
    margin-top: 1rem;
    font-family: "Courier New", Courier, monospace;
    font-size: 0.6875rem;
    color: #94a3b8;
    letter-spacing: 0.08em;
}

/* Radar Standby */
.military-standby {
    padding: 3rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.radar-scope-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid #166534;
    background: #022c22;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.2);
}

.radar-scanner {
    width: 100%;
    height: 100%;
    background: conic-gradient(from 0deg, rgba(34, 197, 94, 0.4) 0deg, transparent 90deg);
    border-radius: 50%;
    animation: sweep 2s linear infinite;
}

@keyframes sweep {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.standby-text {
    font-family: "Courier New", Courier, monospace;
    font-size: 0.75rem;
    color: #64748b;
    letter-spacing: 0.1em;
}

/* Resultado da Carga Armada */
.military-result-box {
    border-top: 2px solid #1f2937;
    margin-top: 1.5rem;
}

.military-status-badge {
    background: #064e3b;
    color: #6ee7b7;
    border-color: #059669;
    font-family: "Courier New", Courier, monospace;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
}

.military-tag-pill {
    background: #78350f;
    color: #fef08a;
    border: 1px solid #b45309;
    font-family: "Courier New", Courier, monospace;
    font-size: 0.8125rem;
    letter-spacing: 0.08em;
    font-weight: 800;
}

.military-preview-box {
    background: #090d14;
    border: 1px solid #1f2937;
}

.military-img-wrapper {
    background: #020617;
    border-color: #1e293b;
}

.military-download-link {
    font-family: "Courier New", Courier, monospace;
    color: #38bdf8;
    letter-spacing: 0.05em;
}

.mil-post-label {
    font-family: "Courier New", Courier, monospace;
    font-size: 0.6875rem;
    color: #94a3b8;
    margin-bottom: 0.25rem;
    letter-spacing: 0.1em;
}

.military-post-title {
    color: #f8fafc;
    font-family: "Courier New", Courier, monospace;
}

.military-textarea {
    background: #020617;
    border-color: #1e293b;
    color: #e2e8f0;
    font-family: "Courier New", Courier, monospace;
    font-size: 0.9375rem;
}

.military-btn-action {
    font-family: "Courier New", Courier, monospace;
    letter-spacing: 0.05em;
    font-size: 0.8125rem;
    border-radius: 4px;
}

.mil-copy {
    background: #1e293b;
    color: #e2e8f0;
    border: 1px solid #334155;
}

.mil-copy:hover {
    background: #334155;
    color: #ffffff;
}

.mil-fire {
    background: #991b1b;
    border: 1px solid #dc2626;
    color: #ffffff;
    box-shadow: 0 0 10px rgba(185, 28, 28, 0.4);
}

.mil-fire:hover {
    background: #b91c1c;
    box-shadow: 0 0 15px rgba(220, 38, 38, 0.6);
}

.btn-whatsapp {
    background: #15803d;
    border: 1px solid #16a34a;
    color: #ffffff;
}

.btn-whatsapp:hover {
    background: #166534;
}

.btn-facebook {
    background: #1877f2;
    border: 1px solid #1877f2;
    color: #ffffff;
}

.btn-facebook:hover {
    background: #0d65d9;
}

.mil-facebook {
    background: #1e3a8a;
    border: 1px solid #3b82f6;
    color: #eff6ff;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.35);
}

.mil-facebook:hover {
    background: #1d4ed8;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.55);
    color: #ffffff;
}

.mil-facebook.cooldown-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    filter: grayscale(0.6);
}

.mil-whatsapp {
    background: #14532d;
    border: 1px solid #22c55e;
    color: #f0fdf4;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.3);
}

.mil-whatsapp:hover {
    background: #166534;
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.5);
    color: #ffffff;
}

.btn-instagram {
    background: #c13584;
    border: 1px solid #e1306c;
    color: #ffffff;
}

.btn-instagram:hover {
    background: #833ab4;
}

.mil-instagram {
    background: linear-gradient(135deg, #701a75 0%, #9d174d 50%, #9a3412 100%);
    border: 1px solid #f43f5e;
    color: #fff1f2;
    box-shadow: 0 0 10px rgba(244, 63, 94, 0.35);
}

.mil-instagram:hover {
    background: linear-gradient(135deg, #86198f 0%, #be123c 50%, #c2410c 100%);
    box-shadow: 0 0 15px rgba(244, 63, 94, 0.6);
    color: #ffffff;
}

.mil-instagram.cooldown-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    filter: grayscale(0.6);
}

.military-feedback {
    background: #064e3b;
    border-color: #059669;
    color: #6ee7b7;
    font-family: "Courier New", Courier, monospace;
    font-size: 0.75rem;
}

/* Painel de Tendências Militar */
.military-board {
    border-color: #273549;
}

.military-board-header {
    border-bottom: 1px solid #1f2937;
    padding-bottom: 0.75rem;
}

.military-status-live {
    background: #064e3b;
    color: #6ee7b7;
    border-color: #059669;
    font-family: "Courier New", Courier, monospace;
    letter-spacing: 0.1em;
}

.military-board-title {
    color: #f8fafc;
    font-family: "Courier New", Courier, monospace;
    letter-spacing: 0.05em;
}

.military-board-desc {
    color: #64748b;
    font-size: 0.75rem;
}

.military-matrix-header {
    background: #0b111b;
    border-color: #1e293b;
    color: #f59e0b;
}

.military-matrix-footer {
    border-color: #1e293b;
    color: #64748b;
}

.military-footer {
    background: #090d14;
    border-top: 1px solid #1e293b;
    color: #64748b;
    font-family: "Courier New", Courier, monospace;
    font-size: 0.6875rem;
    letter-spacing: 0.05em;
}

/* Alerta Tático de Instrução de Disparo */
.launch-instruction-box {
    margin-top: 1rem;
    background: #172554;
    border: 1px solid #3b82f6;
    border-left: 4px solid #60a5fa;
    padding: 0.875rem 1rem;
    border-radius: 4px;
    font-family: "Courier New", Courier, monospace;
    animation: pulse-border 2s infinite alternate;
}

@keyframes pulse-border {
    0% { border-color: #3b82f6; }
    100% { border-color: #93c5fd; box-shadow: 0 0 10px rgba(59, 130, 246, 0.3); }
}

.launch-instruction-title {
    font-size: 0.75rem;
    font-weight: 800;
    color: #93c5fd;
    letter-spacing: 0.08em;
    margin-bottom: 0.35rem;
}

.launch-instruction-desc {
    font-size: 0.8125rem;
    color: #e0f2fe;
    line-height: 1.45;
}

.launch-instruction-desc strong {
    color: #fef08a;
    font-weight: 800;
}

/* ==========================================================================
   TICKER DE NOTÍCIAS TÁTICO / MARQUEE DE HASHTAGS (TOPO DA TELA)
   ========================================================================== */

/* Controle de exibição: Ticker apenas no Mobile; Painel lateral completo no Desktop */
.mobile-only-ticker {
    display: none !important;
}

.desktop-only-board {
    display: block !important;
}

@media (max-width: 899px) {
    .mobile-only-ticker {
        display: flex !important;
    }

    .desktop-only-board {
        display: none !important;
    }
}

.military-ticker-bar {
    background: #090d14;
    border-bottom: 2px solid #1f2937;
    border-top: 1px solid #111827;
    align-items: center;
    height: 44px;
    width: 100%;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    z-index: 30;
}

.ticker-badge-prefix {
    background: #111827;
    border-right: 2px solid #991b1b;
    height: 100%;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 1rem;
    flex-shrink: 0;
    z-index: 5;
    box-shadow: 4px 0 10px rgba(0, 0, 0, 0.4);
}

.ticker-badge-text {
    font-family: "Courier New", Courier, monospace;
    font-size: 0.75rem;
    font-weight: 900;
    color: #ef4444;
    letter-spacing: 0.12em;
    white-space: nowrap;
}

.ticker-radar-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #f59e0b;
    box-shadow: 0 0 8px #f59e0b;
    animation: radar-pulse-amber 1.8s infinite;
}

@keyframes radar-pulse-amber {
    0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7); }
    70% { transform: scale(1.15); box-shadow: 0 0 0 5px rgba(245, 158, 11, 0); }
    100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

.ticker-marquee-wrapper {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    mask-image: linear-gradient(to right, transparent, black 16px, black calc(100% - 16px), transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 16px, black calc(100% - 16px), transparent);
}

.ticker-track {
    display: flex;
    align-items: center;
    white-space: nowrap;
    will-change: transform;
    animation: ticker-slide 35s linear infinite;
}

.ticker-track:hover {
    animation-play-state: paused;
}

@keyframes ticker-slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.ticker-content {
    display: flex;
    align-items: center;
    white-space: nowrap;
    gap: 0.75rem;
    padding-right: 0.75rem;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: "SF Mono", "Courier New", Courier, monospace;
    font-size: 0.8125rem;
}

.ticker-rank {
    background: #1e293b;
    color: #f59e0b;
    font-size: 0.6875rem;
    font-weight: 800;
    padding: 0.1rem 0.35rem;
    border-radius: 2px;
    border: 1px solid #334155;
    font-family: "Courier New", Courier, monospace;
}

.ticker-tag {
    color: #fef08a;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-shadow: 0 0 6px rgba(254, 240, 138, 0.4);
}

.ticker-status {
    color: #34d399;
    font-size: 0.625rem;
    background: #064e3b;
    padding: 0.05rem 0.35rem;
    border-radius: 2px;
    border: 1px solid #059669;
    font-family: "Courier New", Courier, monospace;
    font-weight: 700;
}

.ticker-divider {
    color: #475569;
    font-size: 0.75rem;
}

.ticker-item-destaque .ticker-rank {
    background: #78350f;
    color: #fbbf24;
    border-color: #f59e0b;
}

.ticker-item-destaque .ticker-tag {
    color: #fbbf24;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.7);
}

.ticker-destaque-badge {
    background: #b45309;
    color: #fffbeb;
    font-size: 0.625rem;
    font-weight: 800;
    padding: 0.1rem 0.35rem;
    border-radius: 2px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    border: 1px solid #f59e0b;
}

.matrix-row-destaque {
    background: rgba(245, 158, 11, 0.1) !important;
    border-left: 3px solid #f59e0b !important;
}

.matrix-row-destaque .matrix-rank {
    color: #fbbf24 !important;
}

.matrix-row-destaque .matrix-text {
    color: #fbbf24 !important;
    font-weight: 800 !important;
    text-shadow: 0 0 8px rgba(251, 191, 36, 0.4);
}

.ticker-telemetry-badge {
    background: #111827;
    border-left: 1px solid #1f2937;
    height: 100%;
    display: none;
    align-items: center;
    gap: 0.5rem;
    padding: 0 0.875rem;
    flex-shrink: 0;
    font-family: "Courier New", Courier, monospace;
    font-size: 0.6875rem;
    color: #94a3b8;
}

.ticker-sync-tag {
    background: #022c22;
    color: #34d399;
    border: 1px solid #166534;
    padding: 0.1rem 0.35rem;
    border-radius: 2px;
    font-weight: 700;
}

@media (min-width: 800px) {
    .ticker-telemetry-badge {
        display: flex;
    }
}

/* Botão de Compartilhar Nativo no Mobile */
.mil-share {
    background: #065f46;
    border: 1px solid #059669;
    color: #ecfdf5;
    box-shadow: 0 0 10px rgba(5, 150, 105, 0.3);
}

.mil-share:hover {
    background: #047857;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.5);
    color: #ffffff;
}

/* ==========================================================================
   RESPONSIVIDADE COMPLETA (MOBILE-FIRST / TELAS PEQUENAS E MÉDIAS)
   ========================================================================== */

/* Ajustes no Silo Central */
.morteiro-centered-layout .morteiro-card {
    max-width: 100%;
}

.launch-switch-frame {
    display: block;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
}

.military-btn-launch {
    width: 100%;
    font-size: clamp(0.95rem, 3.8vw, 1.25rem);
    white-space: normal;
    line-height: 1.3;
    padding: 1.15rem 1.25rem;
}

.post-preview-box.military-preview-box {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.25rem;
}

@media (min-width: 768px) {
    .post-preview-box.military-preview-box {
        flex-direction: row;
        align-items: flex-start;
    }
    .post-image-wrapper.military-img-wrapper {
        flex: 0 0 280px;
        max-width: 280px;
    }
    .post-text-content {
        flex: 1;
        min-width: 0;
    }
}

.post-image-wrapper.military-img-wrapper {
    width: 100%;
    text-align: center;
}

.post-image-wrapper .post-image {
    max-width: 100%;
    width: 100%;
    height: auto;
    max-height: 340px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #1e293b;
    display: block;
    margin: 0 auto 0.5rem auto;
}

.tweet-textarea.military-textarea {
    width: 100%;
    min-height: 120px;
    resize: vertical;
    font-size: clamp(0.85rem, 2.5vw, 0.95rem);
    padding: 0.875rem;
    line-height: 1.5;
}

.result-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    margin-top: 1.25rem;
}

.result-actions > * {
    flex: 1 1 calc(50% - 0.625rem);
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.75rem 1rem;
    text-decoration: none;
    box-sizing: border-box;
}

/* Telas de celulares e tablets verticais (<= 640px) */
@media (max-width: 640px) {
    .container {
        padding: 0 0.875rem;
    }

    .morteiro-header {
        padding: 0.75rem 0;
    }

    .header-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .logo-area {
        gap: 0.5rem;
    }

    .military-target-badge {
        width: 2.25rem;
        height: 2.25rem;
        font-size: 1.15rem;
    }

    .military-sys-id {
        font-size: 0.625rem;
    }

    .logo-title {
        font-size: 1.05rem;
    }

    .logo-sub {
        font-size: 0.625rem;
    }

    .header-actions {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 0.5rem;
    }

    .military-status-chip {
        font-size: 0.6875rem;
        padding: 0.25rem 0.5rem;
    }

    .btn-admin-link.military-btn-link {
        font-size: 0.75rem;
        padding: 0.35rem 0.625rem;
    }

    .ticker-badge-prefix {
        padding: 0 0.625rem;
    }

    .ticker-badge-text {
        font-size: 0.6875rem;
    }

    .ticker-item {
        font-size: 0.75rem;
    }

    .main-content {
        padding-top: 1rem;
        padding-bottom: 2rem;
    }

    .morteiro-card {
        padding: 1rem 0.875rem;
    }

    .mil-label-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .military-title {
        font-size: 1.15rem;
    }

    .military-action-box {
        padding: 1.25rem 0.75rem;
    }

    .launch-telemetry {
        font-size: 0.625rem;
        line-height: 1.4;
    }

    .result-badge-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .post-preview-box.military-preview-box {
        padding: 0.875rem;
    }

    .result-actions {
        flex-direction: column;
    }

    .result-actions > * {
        flex: 1 1 100%;
        width: 100%;
        min-height: 48px; /* Otimizado para touch mobile */
        font-size: 0.875rem;
    }

    .launch-instruction-box {
        padding: 0.75rem;
    }

    .launch-instruction-title {
        font-size: 0.6875rem;
    }

    .launch-instruction-desc {
        font-size: 0.75rem;
    }
}

/* ==========================================================================
   ALERTA DE SUPERAQUECIMENTO DO CANHÃO (RATE LIMIT 2 POSTS / MINUTO)
   ========================================================================== */
.morteiro-cooldown-box {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    padding: 1.125rem 1.25rem;
    background: #fff7ed;
    border: 2px dashed #ea580c;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(234, 88, 12, 0.15);
    animation: pulse-cooldown-border 2.2s infinite ease-in-out;
    text-align: left;
}

@keyframes pulse-cooldown-border {
    0%, 100% { border-color: #ea580c; background-color: #fff7ed; }
    50% { border-color: #f97316; background-color: #ffedd5; }
}

.cooldown-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.625rem;
}

.cooldown-title-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cooldown-icon {
    font-size: 1.25rem;
    display: inline-block;
    animation: flame-shake 0.8s infinite alternate ease-in-out;
}

@keyframes flame-shake {
    0% { transform: scale(1) rotate(-3deg); }
    100% { transform: scale(1.2) rotate(3deg); }
}

.cooldown-title {
    font-family: monospace;
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    color: #9a3412;
    text-transform: uppercase;
}

.cooldown-badge {
    font-family: monospace;
    font-size: 0.75rem;
    font-weight: 800;
    color: #431407;
    background: #fed7aa;
    border: 1px solid #ea580c;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.cooldown-message {
    font-size: 0.9375rem;
    color: #261108; /* Alto contraste para tema claro */
    line-height: 1.55;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.cooldown-progress-bar {
    width: 100%;
    height: 7px;
    background: #fed7aa;
    border-radius: 9999px;
    overflow: hidden;
}

.cooldown-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ea580c, #dc2626);
    border-radius: 9999px;
    transition: width 1s linear;
}

.military-btn-launch.cooldown-disabled {
    background: #78716c !important;
    border-color: #57534e !important;
    color: #d6d3d1 !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
}

.military-btn-action.cooldown-disabled,
.btn-action.cooldown-disabled {
    background: #1e293b !important;
    border-color: #475569 !important;
    color: #94a3b8 !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
    opacity: 0.75;
}

.military-btn-action.cooldown-disabled .action-label,
.btn-action.cooldown-disabled .action-label {
    color: #cbd5e1 !important;
}

/* ==========================================================================
   ALERTA DE COOLDOWN NO TEMA BUNKER MILITAR TÁTICO (ALTO CONTRASTE)
   ========================================================================== */
body.military-theme .morteiro-cooldown-box {
    background-color: #180b0b;
    border: 2px dashed #f97316;
    box-shadow: 0 4px 24px rgba(249, 115, 22, 0.35);
    animation: military-pulse-cooldown 2.2s infinite ease-in-out;
}

@keyframes military-pulse-cooldown {
    0%, 100% {
        border-color: #ea580c;
        background-color: #180b0b;
        box-shadow: 0 0 18px rgba(234, 88, 12, 0.28);
    }
    50% {
        border-color: #ef4444;
        background-color: #270f0f;
        box-shadow: 0 0 32px rgba(239, 68, 68, 0.45);
    }
}

body.military-theme .cooldown-title {
    color: #fde047; /* Amarelo ouro militar vibrante e legível */
    font-weight: 800;
    font-size: 0.8125rem;
    letter-spacing: 0.08em;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

body.military-theme .cooldown-badge {
    color: #ffffff;
    background: #991b1b;
    border: 1px solid #ef4444;
    font-weight: 800;
    padding: 0.25rem 0.65rem;
    border-radius: 4px;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
}

body.military-theme .cooldown-message {
    color: #f8fafc; /* Branco cristalino com contraste total sobre o fundo escuro */
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.55;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
    margin-bottom: 0.875rem;
}

body.military-theme .cooldown-progress-bar {
    background: #3b1111;
    height: 8px;
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.7);
}

body.military-theme .cooldown-progress-fill {
    background: linear-gradient(90deg, #f97316, #ef4444);
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.6);
}




/* ==========================================================================
   NAVEGAÇÃO TÁTICA & SALA DE GUERRA (WAR ROOM)
   ========================================================================== */

.tactical-tabs-nav {
    background: #0d131f;
    border-bottom: 2px solid #1f2937;
    padding: 0.5rem 0 0;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.tabs-container {
    display: flex;
    gap: 0.5rem;
}

.tactical-tab-btn {
    background: #111827;
    border: 1px solid #1f2937;
    border-bottom: none;
    color: #94a3b8;
    padding: 0.75rem 1.25rem;
    font-family: "Courier New", Courier, monospace;
    font-size: 0.8125rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    cursor: pointer;
    border-radius: 6px 6px 0 0;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    position: relative;
    top: 2px;
}

.tab-text-full {
    display: inline;
}

.tab-text-short {
    display: none;
}

.tactical-tab-btn:hover {
    background: #1e293b;
    color: #f8fafc;
    border-color: #374151;
}

.tactical-tab-btn.active {
    background: #1e293b;
    color: #f8fafc;
    border-color: #b91c1c;
    border-top: 3px solid #ef4444;
    border-bottom: 2px solid #1e293b;
    box-shadow: 0 -2px 10px rgba(239, 68, 68, 0.15);
}

.tab-badge {
    background: #374151;
    color: #cbd5e1;
    font-size: 0.625rem;
    padding: 0.15rem 0.4rem;
    border-radius: 3px;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.tab-badge.badge-live {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid #ef4444;
    color: #fca5a5;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.radar-dot.pulse-red {
    background-color: #ef4444;
    box-shadow: 0 0 8px #ef4444;
    animation: radar-pulse-red 1.2s infinite;
}

@keyframes radar-pulse-red {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.8); }
    70% { transform: scale(1.15); box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* Container Geral da Sala de Guerra */
.war-room-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Placar de Supremacia / Cabo de Guerra */
.war-placar-card {
    background: #111827;
    border: 1px solid #1f2937;
    border-left: 4px solid #ef4444;
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.war-placar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.war-placar-title-wrap h2 {
    font-family: "Courier New", Courier, monospace;
    font-size: 1.125rem;
    font-weight: 900;
    color: #f8fafc;
    letter-spacing: 0.05em;
    margin: 0;
}

.war-placar-title-wrap p {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 0.2rem;
}

.war-status-badge {
    font-family: "Courier New", Courier, monospace;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.war-status-badge.status-vantagem_vermelha {
    background: rgba(220, 38, 38, 0.2);
    border: 1px solid #ef4444;
    color: #fca5a5;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.25);
}

.war-status-badge.status-alerta_azul {
    background: rgba(37, 99, 235, 0.2);
    border: 1px solid #38bdf8;
    color: #93c5fd;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.25);
}

.war-status-badge.status-equilibrado {
    background: rgba(147, 51, 234, 0.2);
    border: 1px solid #c084fc;
    color: #e9d5ff;
}

/* Cabo de Guerra Bar */
.tug-of-war-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tug-labels-row {
    display: flex;
    justify-content: space-between;
    font-family: "Courier New", Courier, monospace;
    font-size: 0.8125rem;
    font-weight: 800;
}

.tug-label-nosso {
    color: #f87171;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.tug-label-outro {
    color: #60a5fa;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.tug-bar-track {
    width: 100%;
    height: 18px;
    background: #090d14;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    border: 1px solid #1f2937;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.8);
    position: relative;
}

.tug-bar-fill-nosso {
    height: 100%;
    background: linear-gradient(90deg, #991b1b, #ef4444);
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.6);
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.tug-bar-fill-outro {
    height: 100%;
    background: linear-gradient(90deg, #1d4ed8, #2563eb);
    box-shadow: 0 0 12px rgba(37, 99, 235, 0.6);
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.tug-bar-marker {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: rgba(255, 255, 255, 0.6);
    z-index: 2;
    transform: translateX(-50%);
}

.tug-summary-strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.6875rem;
    color: #64748b;
    font-family: "Courier New", Courier, monospace;
    margin-top: 0.25rem;
}

/* Grid da Seção Interativa (Mapa + Painel de Telemetria do Estado) */
.war-interactive-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 1.5rem;
}

@media (max-width: 900px) {
    .war-interactive-grid {
        grid-template-columns: 1fr;
    }
}

.war-map-card, .war-telemetry-card {
    background: #111827;
    border: 1px solid #1f2937;
    border-radius: 8px;
    padding: 1.25rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
}

.war-card-header {
    border-bottom: 1px solid #1f2937;
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
}

.war-card-title {
    font-family: "Courier New", Courier, monospace;
    font-size: 0.9375rem;
    font-weight: 800;
    color: #f8fafc;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.war-card-hint {
    font-size: 0.6875rem;
    color: #ef4444;
    font-weight: 700;
}

.war-card-sub {
    font-size: 0.6875rem;
    color: #94a3b8;
    margin-top: 0.2rem;
}

/* Mapa SVG do Brasil */
.map-canvas-wrapper {
    position: relative;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    padding: 0.5rem;
}

.brazil-tactical-map {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.8));
}

.state-group {
    cursor: pointer;
    transition: all 0.2s ease;
}

.state-shape {
    stroke: #090d14;
    stroke-width: 1.2;
    transition: all 0.25s ease;
}

/* Estados Vermelhos (Nosso Campo) */
.state-group.state-vermelho .state-shape {
    fill: #b91c1c;
    stroke: #ef4444;
}

.state-group.state-vermelho:hover .state-shape {
    fill: #dc2626;
    stroke: #fca5a5;
    stroke-width: 2.2;
    filter: drop-shadow(0 0 8px rgba(239, 68, 68, 0.8));
}

/* Estados Azuis (Outro Campo / Oposição) */
.state-group.state-azul .state-shape {
    fill: #1d4ed8;
    stroke: #38bdf8;
}

.state-group.state-azul:hover .state-shape {
    fill: #2563eb;
    stroke: #bae6fd;
    stroke-width: 2.2;
    filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.8));
}

/* Estados em Disputa (Roxo / Âmbar) */
.state-group.state-disputa .state-shape {
    fill: #6b21a8;
    stroke: #c084fc;
}

.state-group.state-disputa:hover .state-shape {
    fill: #7e22ce;
    stroke: #e9d5ff;
    stroke-width: 2.2;
    filter: drop-shadow(0 0 8px rgba(192, 132, 252, 0.8));
}

/* Estado Atualmente Selecionado */
.state-group.state-selected .state-shape {
    stroke: #fef08a !important;
    stroke-width: 2.8 !important;
    filter: drop-shadow(0 0 12px rgba(254, 240, 138, 0.9)) !important;
}

.state-label {
    fill: #f8fafc;
    font-family: "Courier New", Courier, monospace;
    font-size: 8px;
    font-weight: 800;
    pointer-events: none;
    text-anchor: middle;
    letter-spacing: 0.05em;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.95);
}

.df-circle {
    stroke: #f59e0b !important;
    stroke-width: 1.5;
}

/* Legenda do Mapa */
.map-legend-bar {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid #1f2937;
    flex-wrap: wrap;
}

.legend-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: "Courier New", Courier, monospace;
    font-size: 0.6875rem;
    font-weight: 700;
    color: #cbd5e1;
}

.legend-box {
    width: 12px;
    height: 12px;
    border-radius: 2px;
}

.legend-box.box-vermelho { background: #b91c1c; border: 1px solid #ef4444; box-shadow: 0 0 6px rgba(239, 68, 68, 0.6); }
.legend-box.box-azul { background: #1d4ed8; border: 1px solid #38bdf8; box-shadow: 0 0 6px rgba(56, 189, 248, 0.6); }
.legend-box.box-disputa { background: #6b21a8; border: 1px solid #c084fc; box-shadow: 0 0 6px rgba(192, 132, 252, 0.6); }

/* Painel de Telemetria do Estado Focado */
.state-focus-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.state-focus-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #1f2937;
}

.state-focus-badge {
    background: #7f1d1d;
    border: 1px solid #ef4444;
    color: #fef08a;
    font-family: "Courier New", Courier, monospace;
    font-size: 1.25rem;
    font-weight: 900;
    width: 3.25rem;
    height: 3.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.3);
}

.state-focus-title {
    font-family: "Courier New", Courier, monospace;
    font-size: 1.125rem;
    font-weight: 900;
    color: #f8fafc;
    margin: 0;
}

.state-focus-region {
    font-size: 0.6875rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.state-meter-box {
    background: #090d14;
    border: 1px solid #1f2937;
    border-radius: 6px;
    padding: 0.75rem;
    margin-bottom: 1rem;
}

.state-meter-labels {
    display: flex;
    justify-content: space-between;
    font-family: "Courier New", Courier, monospace;
    font-size: 0.75rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
}

.state-meter-bar {
    height: 12px;
    background: #1e293b;
    border-radius: 3px;
    overflow: hidden;
    display: flex;
}

.state-meter-fill-nosso {
    height: 100%;
    background: #ef4444;
    transition: width 0.4s ease;
}

.state-meter-fill-outro {
    height: 100%;
    background: #38bdf8;
    transition: width 0.4s ease;
}

.state-focus-summary {
    font-size: 0.8125rem;
    color: #cbd5e1;
    line-height: 1.6;
    background: #0d131f;
    border-left: 3px solid #ef4444;
    padding: 0.75rem;
    border-radius: 0 4px 4px 0;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.btn-reset-map {
    background: #1f2937;
    border: 1px solid #374151;
    color: #cbd5e1;
    font-family: "Courier New", Courier, monospace;
    font-size: 0.6875rem;
    font-weight: 800;
    padding: 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
}

.btn-reset-map:hover {
    background: #374151;
    color: #f8fafc;
    border-color: #4b5563;
}

/* Painel de Placar Geral e Telemetria Abaixo do Mapa */
.map-scoreboard-panel {
    margin-top: 1rem;
    width: 100%;
}

.map-scoreboard-panel .state-meter-box {
    margin-bottom: 0;
    padding: 0.875rem 1rem;
}

.state-meter-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid #1f2937;
    flex-wrap: wrap;
}

.state-meter-header-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.map-scoreboard-panel .state-focus-badge {
    width: 2.75rem;
    height: 2.75rem;
    font-size: 1.15rem;
    border-radius: 4px;
}

.state-meter-actions {
    display: flex;
    align-items: center;
}

.turnaround-ranking-box-full {
    height: 100%;
    margin-bottom: 0;
    flex-grow: 1;
}

/* ==========================================================================
   2.3 LISTA DE POTENCIAL DE VIRADA (PAINEL LATERAL DE TELEMETRIA)
   ========================================================================== */

.turnaround-ranking-box {
    background: #090d14;
    border: 1px solid #1f2937;
    border-radius: 6px;
    padding: 0.75rem;
    margin-bottom: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-height: 200px;
}

.turnaround-box-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.2rem;
}

.turnaround-count-tag {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #fcd34d;
    font-family: "Courier New", Courier, monospace;
    font-size: 0.625rem;
    font-weight: 800;
    padding: 0.15rem 0.45rem;
    border-radius: 3px;
    letter-spacing: 0.05em;
}

.turnaround-subtext {
    font-family: "Courier New", Courier, monospace;
    font-size: 0.65rem;
    color: #94a3b8;
    margin-bottom: 0.5rem;
}

/* Lista dos Estados (sem scroll, exibição completa e fluida) */
.turnaround-list-scroll {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    overflow: visible;
}

/* Item Individual da Lista */
.turnaround-row-item {
    background: #0d131f;
    border: 1px solid #1f2937;
    border-radius: 4px;
    padding: 0.5rem 0.65rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.turnaround-row-item:hover {
    background: #131c2e;
    border-color: #38bdf8;
    transform: translateX(2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.turnaround-row-item.active {
    background: #172554 !important;
    border-color: #60a5fa !important;
    box-shadow: 0 0 10px rgba(96, 165, 250, 0.4) !important;
}

.turnaround-row-item.tier-urgente {
    border-left: 3px solid #ef4444;
}

.turnaround-row-item.tier-alta {
    border-left: 3px solid #f59e0b;
}

/* Linha Principal do Item */
.turnaround-row-main {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.turnaround-mini-pos {
    font-family: "Courier New", Courier, monospace;
    font-size: 0.7rem;
    font-weight: 900;
    padding: 0.1rem 0.35rem;
    border-radius: 3px;
    background: #1f2937;
    color: #cbd5e1;
    min-width: 22px;
    text-align: center;
}

.turnaround-mini-pos.pos-1 {
    background: linear-gradient(135deg, #f59e0b, #b45309);
    color: #000;
    box-shadow: 0 0 6px rgba(245, 158, 11, 0.4);
}

.turnaround-mini-pos.pos-2 {
    background: linear-gradient(135deg, #cbd5e1, #64748b);
    color: #000;
}

.turnaround-mini-pos.pos-3 {
    background: linear-gradient(135deg, #d97706, #78350f);
    color: #fff;
}

.turnaround-mini-uf {
    font-family: "Courier New", Courier, monospace;
    font-size: 0.75rem;
    font-weight: 900;
    color: #fef08a;
    background: rgba(254, 240, 138, 0.12);
    padding: 0.05rem 0.3rem;
    border-radius: 2px;
}

.turnaround-mini-nome {
    font-family: "Courier New", Courier, monospace;
    font-size: 0.75rem;
    font-weight: 800;
    color: #f8fafc;
    flex-grow: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.turnaround-mini-tier {
    font-family: "Courier New", Courier, monospace;
    font-size: 0.6rem;
    font-weight: 800;
    padding: 0.15rem 0.35rem;
    border-radius: 3px;
    letter-spacing: 0.03em;
    flex-shrink: 0;
}

.turnaround-mini-tier.tier-urgente {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fca5a5;
}

.turnaround-mini-tier.tier-alta {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #fcd34d;
}

/* Barra Mini e Metas */
.turnaround-row-stats {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.turnaround-mini-bar {
    width: 100%;
    height: 5px;
    background: #1e293b;
    border-radius: 2px;
    overflow: hidden;
    display: flex;
}

.mini-bar-nosso {
    height: 100%;
    background: #ef4444;
}

.mini-bar-outro {
    height: 100%;
    background: #38bdf8;
}

.turnaround-mini-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: "Courier New", Courier, monospace;
    font-size: 0.625rem;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.turnaround-meta-scores {
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.dot-indicator {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    vertical-align: middle;
}

.dot-indicator.dot-red {
    background: #ef4444;
    box-shadow: 0 0 4px rgba(239, 68, 68, 0.6);
}

.dot-indicator.dot-blue {
    background: #38bdf8;
    box-shadow: 0 0 4px rgba(56, 189, 248, 0.6);
}

.turnaround-mini-sources {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-family: "Courier New", Courier, monospace;
    font-size: 0.58rem;
    font-weight: 700;
}

.source-badge-x {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #e2e8f0;
    padding: 0.05rem 0.3rem;
    border-radius: 2px;
    letter-spacing: 0.02em;
}

.source-badge-google {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.35);
    color: #93c5fd;
    padding: 0.05rem 0.3rem;
    border-radius: 2px;
    letter-spacing: 0.02em;
}

.turnaround-score-nosso { color: #f87171; font-weight: 700; }
.turnaround-score-divider { color: #64748b; margin: 0 0.15rem; }
.turnaround-score-outro { color: #38bdf8; font-weight: 700; }

.turnaround-gap-pill {
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.04);
    padding: 0.05rem 0.35rem;
    border-radius: 2px;
    margin-left: auto;
}

.turnaround-gap-pill strong {
    color: #4ade80;
}

.turnaround-empty-box {
    padding: 1.25rem;
    text-align: center;
    font-family: "Courier New", Courier, monospace;
    font-size: 0.75rem;
    color: #4ade80;
}

/* Decomposição de Fontes (X e Google Trends no Painel Lateral) */
.state-meter-header-label {
    font-family: "Courier New", Courier, monospace;
    font-size: 0.625rem;
    color: #94a3b8;
    letter-spacing: 0.05em;
    font-weight: 800;
    margin-bottom: 0.35rem;
}

.state-dual-sources {
    margin-top: 0.75rem;
    padding-top: 0.6rem;
    border-top: 1px dashed #1f2937;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.source-meter-row {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.source-meter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: "Courier New", Courier, monospace;
    font-size: 0.65rem;
}

.source-tag-pill {
    font-weight: 800;
    padding: 0.05rem 0.35rem;
    border-radius: 2px;
    letter-spacing: 0.04em;
}

.source-tag-pill.tag-x {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #f1f5f9;
}

.source-tag-pill.tag-google {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.35);
    color: #93c5fd;
}

.source-meter-nums {
    font-weight: 700;
}

.source-meter-nums .num-nosso { color: #f87171; }
.source-meter-nums .num-divider { color: #64748b; margin: 0 0.15rem; }
.source-meter-nums .num-outro { color: #38bdf8; }

.source-mini-bar {
    width: 100%;
    height: 6px;
    background: #1e293b;
    border-radius: 2px;
    overflow: hidden;
    display: flex;
}

.source-mini-fill-nosso {
    height: 100%;
    background: #ef4444;
    transition: width 0.3s ease;
}

.source-mini-fill-outro {
    height: 100%;
    background: #38bdf8;
    transition: width 0.3s ease;
}

/* ==========================================================================
   2.5 GRÁFICO TEMPORAL DA DISPUTA (NACIONAL & ESTADUAL)
   ========================================================================== */

.war-timeline-card {
    background: #111827;
    border: 1px solid #1f2937;
    border-left: 4px solid #f59e0b;
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
    margin-bottom: 1.5rem;
}

.war-timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.war-timeline-title-wrap {
    flex: 1 1 300px;
}

.war-timeline-badge-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-bottom: 0.4rem;
}

.war-timeline-scope-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: #090d14;
    border: 1px solid #374151;
    color: #f8fafc;
    font-family: "Courier New", Courier, monospace;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.25rem 0.65rem;
    border-radius: 4px;
    letter-spacing: 0.05em;
}

.war-timeline-scope-badge .radar-dot.pulse-red {
    background: #ef4444;
    box-shadow: 0 0 8px #ef4444;
}

.war-timeline-type-pill {
    display: inline-block;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #fcd34d;
    font-family: "Courier New", Courier, monospace;
    font-size: 0.6875rem;
    font-weight: 800;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    letter-spacing: 0.06em;
}

.war-timeline-title-wrap h2 {
    font-family: "Courier New", Courier, monospace;
    font-size: 1.05rem;
    font-weight: 900;
    color: #f8fafc;
    letter-spacing: 0.04em;
    margin: 0.2rem 0 0.25rem 0;
}

.war-timeline-title-wrap p {
    font-size: 0.75rem;
    color: #94a3b8;
    margin: 0;
    line-height: 1.4;
}

/* Seletor de Período (24h vs 7d) */
.war-timeline-controls {
    display: flex;
    align-items: center;
}

.war-timeline-period-pills {
    display: inline-flex;
    background: #090d14;
    border: 1px solid #1f2937;
    border-radius: 6px;
    padding: 3px;
    gap: 3px;
    flex-wrap: wrap;
}

.btn-timeline-period {
    background: transparent;
    border: 1px solid transparent;
    color: #94a3b8;
    font-family: "Courier New", Courier, monospace;
    font-size: 0.6875rem;
    font-weight: 800;
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.04em;
}

.btn-timeline-period:hover {
    color: #f8fafc;
    background: #1f2937;
}

.btn-timeline-period.active {
    background: #374151;
    color: #fef08a;
    border-color: #4b5563;
    box-shadow: 0 0 10px rgba(254, 240, 138, 0.2);
}

/* Indicadores Rápidos de Momento (KPI Strip) */
.war-timeline-kpi-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.timeline-kpi-item {
    background: #090d14;
    border: 1px solid #1f2937;
    border-radius: 6px;
    padding: 0.65rem 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.timeline-kpi-item:hover {
    border-color: #374151;
    transform: translateY(-1px);
}

.timeline-kpi-item.kpi-nosso {
    border-left: 3px solid #ef4444;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.08), #090d14 60%);
}

.timeline-kpi-item.kpi-outro {
    border-left: 3px solid #38bdf8;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.08), #090d14 60%);
}

.timeline-kpi-item.kpi-saldo {
    border-left: 3px solid #c084fc;
    background: linear-gradient(135deg, rgba(192, 132, 252, 0.08), #090d14 60%);
}

.timeline-kpi-label {
    font-family: "Courier New", Courier, monospace;
    font-size: 0.6875rem;
    font-weight: 800;
    color: #94a3b8;
    letter-spacing: 0.04em;
}

.timeline-kpi-item.kpi-nosso .timeline-kpi-label { color: #fca5a5; }
.timeline-kpi-item.kpi-outro .timeline-kpi-label { color: #bae6fd; }
.timeline-kpi-item.kpi-saldo .timeline-kpi-label { color: #e9d5ff; }

.timeline-kpi-val {
    font-family: "Courier New", Courier, monospace;
    font-size: 1.35rem;
    font-weight: 900;
    color: #f8fafc;
    line-height: 1.2;
}

.timeline-kpi-item.kpi-nosso .timeline-kpi-val { color: #f87171; text-shadow: 0 0 10px rgba(239, 68, 68, 0.4); }
.timeline-kpi-item.kpi-outro .timeline-kpi-val { color: #38bdf8; text-shadow: 0 0 10px rgba(56, 189, 248, 0.4); }
.timeline-kpi-item.kpi-saldo .timeline-kpi-val { color: #fef08a; text-shadow: 0 0 10px rgba(254, 240, 138, 0.4); }

.timeline-kpi-sub {
    font-family: "Courier New", Courier, monospace;
    font-size: 0.65rem;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.03em;
}

/* Wrapper do Canvas do Chart.js */
.war-chart-wrapper {
    position: relative;
    width: 100%;
    height: 280px;
    background: #090d14;
    border: 1px solid #1f2937;
    border-radius: 6px;
    padding: 0.75rem 0.85rem 0.4rem;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.8);
}

.war-chart-wrapper canvas {
    width: 100% !important;
    height: 100% !important;
}

@media (max-width: 768px) {
    .war-timeline-header {
        flex-direction: column;
        align-items: stretch;
    }
    .war-timeline-controls {
        justify-content: flex-start;
    }
    .war-timeline-kpi-strip {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    .war-chart-wrapper {
        height: 240px;
        padding: 0.5rem 0.5rem 0.3rem;
    }
}

/* ==========================================================================
   PAREDÃO DE COMBATE (OPÇÃO B - 2 COLUNAS LADO A LADO + BOTÃO ATACAR)
   ========================================================================== */

.war-paredao-section {
    background: #111827;
    border: 1px solid #1f2937;
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.war-paredao-header {
    border-bottom: 1px solid #1f2937;
    padding-bottom: 0.75rem;
    margin-bottom: 1.25rem;
}

.war-paredao-title {
    font-family: "Courier New", Courier, monospace;
    font-size: 1rem;
    font-weight: 900;
    color: #f8fafc;
    letter-spacing: 0.05em;
}

.war-paredao-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 820px) {
    .war-paredao-grid {
        grid-template-columns: 1fr;
    }
}

/* Coluna de Avanço (Nosso Lado - Vermelho/Verde) */
.paredao-col-nosso {
    background: rgba(185, 28, 28, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-top: 3px solid #ef4444;
    border-radius: 6px;
    padding: 1rem;
}

.paredao-col-header {
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 0.5rem;
}

.paredao-col-title {
    font-family: "Courier New", Courier, monospace;
    font-size: 0.875rem;
    font-weight: 800;
    color: #fca5a5;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.paredao-col-desc {
    font-size: 0.6875rem;
    color: #94a3b8;
    margin-top: 0.2rem;
}

/* Coluna de Ataque Inimigo (Outro Lado - Azul) */
.paredao-col-outro {
    background: rgba(29, 78, 216, 0.05);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-top: 3px solid #38bdf8;
    border-radius: 6px;
    padding: 1rem;
}

.paredao-col-outro .paredao-col-title {
    color: #93c5fd;
}

/* Cards de Frentes Individuais */
.frente-card-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.frente-card-item {
    background: #090d14;
    border: 1px solid #1f2937;
    border-radius: 6px;
    padding: 0.75rem 0.875rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.frente-card-item:hover {
    border-color: #374151;
    transform: translateY(-1px);
}

.frente-tag-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.frente-tag-name {
    font-family: "Courier New", Courier, monospace;
    font-size: 0.9375rem;
    font-weight: 900;
    color: #f8fafc;
}

.frente-status-tag {
    font-size: 0.625rem;
    font-weight: 800;
    padding: 0.15rem 0.4rem;
    border-radius: 3px;
    font-family: "Courier New", Courier, monospace;
}

.frente-status-tag.tag-avanco {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid #22c55e;
    color: #86efac;
}

.frente-status-tag.tag-alerta {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid #ef4444;
    color: #fca5a5;
    animation: radar-pulse-red 2s infinite;
}

.frente-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.6875rem;
    color: #64748b;
    font-family: "Courier New", Courier, monospace;
}

.frente-alvo-hint {
    font-size: 0.6875rem;
    color: #94a3b8;
    line-height: 1.4;
    font-style: italic;
    background: rgba(17, 24, 39, 0.6);
    padding: 0.35rem 0.5rem;
    border-radius: 3px;
    border-left: 2px solid #374151;
}

/* Botões de Ação Imediata (Reforçar vs Contra-atacar) */
.btn-action-reforcar {
    background: #064e3b;
    border: 1px solid #10b981;
    color: #ecfdf5;
    font-family: "Courier New", Courier, monospace;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.45rem 0.85rem;
    border-radius: 4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    letter-spacing: 0.05em;
    transition: all 0.2s ease;
}

.btn-action-reforcar:hover {
    background: #047857;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

.btn-action-contraatacar {
    background: #7f1d1d;
    border: 1px solid #ef4444;
    color: #fef2f2;
    font-family: "Courier New", Courier, monospace;
    font-size: 0.75rem;
    font-weight: 900;
    padding: 0.45rem 0.85rem;
    border-radius: 4px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    letter-spacing: 0.08em;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.3);
    transition: all 0.2s ease;
}

.btn-action-contraatacar:hover {
    background: #991b1b;
    border-color: #f87171;
    box-shadow: 0 0 16px rgba(239, 68, 68, 0.6);
    transform: scale(1.01);
}

/* ==========================================================================
   AGRUPAMENTO DE DISPARO TÁTICO (Teleguiado vs Extração Manual)
   ========================================================================== */
.result-actions-grouped {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 1rem;
}

.action-cluster {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid #1e293b;
    border-radius: 8px;
    padding: 1rem;
    position: relative;
}

.cluster-teleguiado {
    border-color: rgba(34, 197, 94, 0.4);
    background: linear-gradient(180deg, rgba(20, 83, 45, 0.2) 0%, rgba(15, 23, 42, 0.85) 100%);
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.1);
}

.cluster-manual {
    border-color: rgba(148, 163, 184, 0.3);
    background: rgba(15, 23, 42, 0.7);
}

.cluster-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cluster-icon {
    font-size: 1.1rem;
}

.cluster-title {
    font-family: "Courier New", Courier, monospace;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #e2e8f0;
    text-transform: uppercase;
}

.cluster-teleguiado .cluster-title {
    color: #86efac;
}

.cluster-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

@media (min-width: 540px) {
    .cluster-buttons {
        flex-direction: row;
    }
    .cluster-buttons > * {
        flex: 1;
    }
}

/* ==========================================================================
   DISCLAIMER LEGAL & RODAPÉ TÁTICO
   ========================================================================== */
.footer-disclaimer-box {
    background: rgba(15, 23, 42, 0.9);
    border: 1px dashed rgba(245, 158, 11, 0.4);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.25rem;
    text-align: left;
}

.disclaimer-badge {
    display: inline-block;
    font-family: "Courier New", Courier, monospace;
    font-size: 0.75rem;
    font-weight: 800;
    color: #fde047;
    background: rgba(161, 98, 7, 0.25);
    border: 1px solid rgba(234, 179, 8, 0.4);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.disclaimer-text {
    font-size: 0.78rem;
    line-height: 1.6;
    color: #94a3b8;
    margin: 0;
}

.disclaimer-text strong {
    color: #f1f5f9;
}

.footer-bottom-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .footer-bottom-row {
        flex-direction: row;
    }
}

.btn-briefing-link {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid #475569;
    color: #cbd5e1;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-briefing-link:hover {
    background: #334155;
    color: #ffffff;
    border-color: #94a3b8;
}

/* ==========================================================================
   MODAL DE BRIEFING TÁTICO OPERACIONAL (POPUP INICIAL)
   ========================================================================== */
.military-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(3, 7, 18, 0.85);
    backdrop-filter: blur(8px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    box-sizing: border-box;
    animation: modalFadeIn 0.25s ease-out;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.97); }
    to { opacity: 1; transform: scale(1); }
}

.military-modal-dialog {
    background: #0d1527;
    border: 2px solid #dc2626;
    box-shadow: 0 0 30px rgba(220, 38, 38, 0.35), 0 20px 40px rgba(0, 0, 0, 0.9);
    border-radius: 12px;
    max-width: 680px;
    width: 100%;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.military-modal-header {
    background: #1e1b4b;
    border-bottom: 1px solid rgba(220, 38, 38, 0.4);
    padding: 0.85rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header-badge {
    font-family: "Courier New", Courier, monospace;
    font-size: 0.75rem;
    font-weight: 800;
    color: #fca5a5;
    letter-spacing: 0.08em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-modal-close {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    transition: color 0.15s;
}

.btn-modal-close:hover {
    color: #ef4444;
}

.military-modal-body {
    padding: 1.25rem;
    overflow-y: auto;
    color: #cbd5e1;
}

.briefing-hero {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(220, 38, 38, 0.1);
    border-left: 4px solid #dc2626;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1.25rem;
}

.briefing-radar-icon {
    font-size: 2.2rem;
}

.briefing-title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 0.03em;
}

.briefing-subtitle {
    margin: 0.25rem 0 0 0;
    font-size: 0.85rem;
    color: #fca5a5;
}

.briefing-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

@media (min-width: 580px) {
    .briefing-steps {
        grid-template-columns: 1fr 1fr;
    }
}

.briefing-step-card {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid #1e293b;
    border-radius: 6px;
    padding: 0.85rem;
    display: flex;
    gap: 0.75rem;
}

.step-num {
    font-family: "Courier New", Courier, monospace;
    font-size: 1.1rem;
    font-weight: 900;
    color: #ef4444;
    background: rgba(239, 68, 68, 0.15);
    border-radius: 4px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-content h4 {
    margin: 0 0 0.25rem 0;
    font-size: 0.82rem;
    color: #f1f5f9;
    font-weight: 800;
}

.step-content p {
    margin: 0;
    font-size: 0.75rem;
    color: #94a3b8;
    line-height: 1.45;
}

.briefing-notice {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: 6px;
    padding: 0.75rem 1rem;
    font-size: 0.78rem;
    color: #fef08a;
    line-height: 1.5;
}

.military-modal-footer {
    background: #090e1a;
    border-top: 1px solid #1e293b;
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

@media (min-width: 580px) {
    .military-modal-footer {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.modal-check-dismiss {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    color: #94a3b8;
    cursor: pointer;
}

.modal-check-dismiss input {
    accent-color: #dc2626;
    cursor: pointer;
}

.btn-briefing-confirm {
    background: linear-gradient(180deg, #dc2626 0%, #991b1b 100%);
    border: 1px solid #ef4444;
    color: #ffffff;
    font-family: "Courier New", Courier, monospace;
    font-size: 0.85rem;
    font-weight: 900;
    padding: 0.75rem 1.25rem;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(220, 38, 38, 0.4);
    transition: all 0.2s ease;
    text-align: center;
}

.btn-briefing-confirm:hover {
    background: linear-gradient(180deg, #ef4444 0%, #b91c1c 100%);
    box-shadow: 0 0 25px rgba(239, 68, 68, 0.7);
    transform: scale(1.02);
}

/* ==========================================================================
   BOTÃO E FORMULÁRIO DE DENÚNCIA DE HASHTAG INIMIGA
   ========================================================================== */
.btn-denuncia-hashtag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(220, 38, 38, 0.15);
    border: 1px solid rgba(220, 38, 38, 0.5);
    color: #fca5a5;
    padding: 0.45rem 0.85rem;
    border-radius: 6px;
    font-family: "Courier New", Courier, monospace;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-denuncia-hashtag:hover {
    background: rgba(220, 38, 38, 0.35);
    border-color: #ef4444;
    color: #ffffff;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.4);
}

.matrix-denuncia-cta {
    padding: 0.6rem 0.75rem;
    background: rgba(15, 23, 42, 0.6);
    border-top: 1px dashed rgba(220, 38, 38, 0.3);
    text-align: center;
}

.btn-abrir-denuncia-trigger {
    background: transparent;
    border: none;
    color: #fca5a5;
    font-size: 0.72rem;
    font-family: inherit;
    cursor: pointer;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.btn-abrir-denuncia-trigger:hover {
    color: #ffffff;
}

.military-denuncia-form {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group-mil {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.form-label-mil {
    font-family: "Courier New", Courier, monospace;
    font-size: 0.72rem;
    font-weight: 800;
    color: #94a3b8;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.form-label-mil .label-req {
    color: #ef4444;
    font-size: 0.68rem;
}

.form-label-mil .label-opt {
    color: #64748b;
    font-size: 0.68rem;
}

.military-input-text,
.military-input-textarea {
    background: #060b17;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 6px;
    padding: 0.65rem 0.85rem;
    color: #f8fafc;
    font-family: inherit;
    font-size: 0.88rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
    box-sizing: border-box;
}

.military-input-text:focus,
.military-input-textarea:focus {
    border-color: #ef4444;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.35);
}

.form-help-mil {
    font-size: 0.7rem;
    color: #64748b;
}

.btn-denuncia-cancelar {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.3);
    color: #94a3b8;
    font-family: "Courier New", Courier, monospace;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.7rem 1.25rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-denuncia-cancelar:hover {
    background: rgba(51, 65, 85, 0.8);
    color: #f1f5f9;
}

.feedback-denuncia {
    padding: 0.85rem 1rem;
    border-radius: 6px;
    font-size: 0.82rem;
    margin-top: 0.75rem;
    line-height: 1.4;
    font-weight: 600;
}

.feedback-denuncia.feedback-sucesso {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #6ee7b7;
}

.feedback-denuncia.feedback-erro {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fca5a5;
}

/* ==========================================================================
   LAYOUT HORIZONTAL COM TTS NA DIREITA (ABA SILO DE DISPARO)
   ========================================================================== */

/* Grid da Aba Silo: Caixa de Disparo na Esquerda (1fr) + Painel de TTs na Direita (290px) */
@media (min-width: 900px) {
    .container {
        max-width: 1260px;
    }
    .morteiro-grid {
        display: grid;
        grid-template-columns: 1fr 290px;
        gap: 0.75rem;
        align-items: stretch;
    }
}

/* Painel Mecânico de Tendências: Ocupando toda a altura à direita */
#silo-trends-board {
    height: 100%;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    padding: 0.45rem 0.65rem;
    background: #0f141c;
    border: 1px solid #273549;
    border-radius: 6px;
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.6);
}

.compact-header {
    padding-bottom: 0.25rem;
    margin-bottom: 0.25rem;
    border-bottom: 1px solid #1e293b;
}

.trends-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.trends-title-group {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.trends-title-group .military-board-title {
    font-size: 1.05rem;
    font-weight: 800;
    margin: 0;
    color: #f8fafc;
    letter-spacing: 0.02em;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.trends-header-meta {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.68rem;
    font-family: "Courier New", Courier, monospace;
    color: #94a3b8;
}

.trends-meta-live {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.sync-tag {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid #334155;
    padding: 0.08rem 0.28rem;
    border-radius: 2px;
    font-size: 0.58rem;
    color: #cbd5e1;
}

.btn-denuncia-mini {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fca5a5;
    font-size: 0.65rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-weight: 600;
    padding: 0.15rem 0.45rem;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-denuncia-mini:hover {
    background: rgba(239, 68, 68, 0.3);
    color: #ffffff;
    border-color: #ef4444;
}

/* Faixa de Cabeçalho da Matriz Vertical */
.matrix-header-strip {
    background: #0b111b;
    border: 1px solid #1e293b;
    border-radius: 4px;
    padding: 0.22rem 0.55rem;
    font-size: 0.68rem;
    font-weight: 700;
    color: #38bdf8;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    letter-spacing: 0.06em;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
}

/* Lista Vertical de Hashtags (10 Linhas) esticada em toda a altura */
.trends-list.trends-list-vertical {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0.25rem;
}

.trends-list-vertical .trend-item.matrix-row {
    flex: 1;
    display: flex;
    align-items: center;
    margin-bottom: 0;
    padding: 0.3rem 0.55rem;
    min-height: 30px;
    border-left: 3px solid #334155;
    background: rgba(15, 23, 42, 0.45);
    border-radius: 4px;
    transition: all 0.15s ease;
}

.trends-list-vertical .trend-item.matrix-row:hover {
    background: rgba(30, 41, 59, 0.8);
    border-left-color: #38bdf8;
    cursor: pointer;
}

.trends-list-vertical .trend-item.matrix-row-destaque {
    border-left-color: #f59e0b;
    background: rgba(245, 158, 11, 0.12);
}

.trends-list-vertical .trend-rank.matrix-rank {
    font-size: 0.8rem;
    padding: 0.05rem 0.2rem;
    width: 1.6rem;
    min-width: 1.6rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-weight: 800;
    color: #64748b;
}

.trends-list-vertical .trend-info.matrix-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
    width: 100%;
    gap: 0.4rem;
}

.trends-list-vertical .trend-name.matrix-text {
    flex: 1;
    min-width: 0;
    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #f1f5f9;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.trends-list-vertical .ticker-destaque-badge {
    flex-shrink: 0;
    font-size: 0.6rem;
    padding: 0.08rem 0.35rem;
    white-space: nowrap;
    border-radius: 3px;
    font-weight: 700;
}

/* Caixa de Disparo (Esquerda) */
#silo-launch-card {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    padding: 0.45rem 0.75rem;
    min-width: 0;
}

.launch-compact-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.25rem;
    margin-bottom: 0.35rem;
    border-bottom: 1px solid #1e293b;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.launch-header-left {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.launch-header-left .mil-label-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0;
}

.launch-telemetry-inline {
    font-size: 0.62rem;
    color: #94a3b8;
    font-family: "Courier New", Courier, monospace;
    white-space: nowrap;
}

/* Estrutura Dividida 1/4 (Botão Redondo) e 3/4 (Post Gerado) */
.silo-launch-split-layout {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 0.85rem;
    min-width: 0;
    min-height: 0;
}

/* Coluna 1/4: Botão Redondo com Distribuição Vertical Equilibrada */
.silo-launch-trigger-col {
    flex: 0 0 195px;
    max-width: 195px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    padding: 1.1rem 0.75rem;
    background: #090e17;
    border: 1px solid #1e293b;
    border-radius: 8px;
    box-sizing: border-box;
}

.trigger-top-badge {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.65rem;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid #334155;
    border-radius: 20px;
    font-size: 0.62rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.trigger-main-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: auto 0;
    width: 100%;
}

.trigger-bottom-info {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid #1e293b;
    border-radius: 6px;
    padding: 0.55rem 0.65rem;
    text-align: center;
    margin-top: 0.5rem;
    width: 100%;
    box-sizing: border-box;
}

.trigger-info-title {
    display: block;
    font-size: 0.68rem;
    font-weight: 800;
    color: #38bdf8;
    margin-bottom: 0.2rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.trigger-info-desc {
    font-size: 0.62rem;
    color: #94a3b8;
    line-height: 1.35;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.launch-round-label {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 0.85rem;
    font-weight: 800;
    color: #f8fafc;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
    text-shadow: 0 0 10px rgba(239, 68, 68, 0.4);
}

.btn-morteiro-round {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #ef4444 0%, #b91c1c 60%, #7f1d1d 100%);
    border: 3px solid #450a0a;
    outline: 2px solid #ef4444;
    outline-offset: 2px;
    box-shadow: 0 0 24px rgba(239, 68, 68, 0.55), inset 0 3px 6px rgba(255, 255, 255, 0.35), inset 0 -4px 8px rgba(0, 0, 0, 0.7);
    cursor: pointer;
    transition: transform 0.12s ease-in-out, box-shadow 0.12s ease-in-out, filter 0.12s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    user-select: none;
}

.btn-morteiro-round:hover:not(:disabled) {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(239, 68, 68, 0.85), inset 0 3px 6px rgba(255, 255, 255, 0.45), inset 0 -4px 8px rgba(0, 0, 0, 0.6);
    filter: brightness(1.1);
}

.btn-morteiro-round:active:not(:disabled) {
    transform: scale(0.96);
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.4), inset 0 4px 10px rgba(0, 0, 0, 0.8);
    filter: brightness(0.95);
}

.btn-morteiro-round:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    filter: grayscale(0.4);
}

.round-btn-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.round-btn-icon {
    font-size: 1.55rem;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.6));
}

.btn-morteiro-round .btn-text {
    font-size: 0.72rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 0.06em;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    text-transform: uppercase;
    text-shadow: 0 1px 4px rgba(0,0,0,0.9);
    margin-top: 0.15rem;
}

.round-btn-subtext {
    font-size: 0.62rem;
    color: #cbd5e1;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-top: 0.6rem;
}

/* Coluna 3/4: Saída do Morteiro */
.silo-launch-output-col {
    flex: 1;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.silo-launch-output-col .morteiro-result {
    width: 100%;
    border-top: none;
    padding-top: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    gap: 0.55rem;
}

.silo-launch-output-col .result-badge-row {
    margin-bottom: 0;
    flex-shrink: 0;
}

.silo-launch-output-col .compact-standby {
    background: #090e17;
    border: 1px dashed #1e293b;
    border-radius: 8px;
    height: 100%;
    min-height: 200px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem;
}

.compact-standby .radar-scope-circle {
    width: 36px;
    height: 36px;
    margin: 0;
    flex-shrink: 0;
}

.compact-standby .standby-text {
    font-size: 0.82rem;
    color: #94a3b8;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin: 0;
}

/* Linha Superior: Imagem + Texto Preenchendo Todo o Espaço Vertical Harmoniosamente */
.morteiro-content-row {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: stretch;
    background: #090e17;
    border: 1px solid #1e293b;
    border-radius: 8px;
    padding: 0.65rem 0.95rem;
    margin-bottom: 0;
    min-width: 0;
    box-sizing: border-box;
}

.morteiro-content-row .post-image-wrapper.military-img-wrapper {
    flex: 0 0 190px;
    max-width: 190px;
    padding: 0.4rem;
    background: #05080e;
    border: 1px solid #1e293b;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 0;
    box-sizing: border-box;
}

.morteiro-content-row .post-image {
    max-height: 185px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    border-radius: 6px;
    margin: auto 0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
}

.morteiro-content-row .btn-download-img {
    font-size: 0.65rem;
    font-weight: 700;
    margin-top: 0.4rem;
    color: #60a5fa;
    text-decoration: none;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    padding: 0.2rem 0.6rem;
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid #334155;
    border-radius: 4px;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.morteiro-content-row .btn-download-img:hover {
    background: rgba(59, 130, 246, 0.25);
    border-color: #3b82f6;
    color: #ffffff;
    text-decoration: none;
}

.morteiro-content-row .post-text-content {
    flex: 1;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.35rem;
}

.morteiro-content-row .mil-post-label {
    font-size: 0.65rem;
    color: #94a3b8;
    margin-bottom: 0.1rem;
    letter-spacing: 0.05em;
    font-weight: 700;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    text-transform: uppercase;
}

.morteiro-content-row .post-title.military-post-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #f8fafc;
    margin-bottom: 0.25rem;
    white-space: normal;
    line-height: 1.3;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.morteiro-content-row .tweet-box.military-tweet-box {
    flex: 1;
    display: flex;
    min-height: 85px;
}

.morteiro-content-row .tweet-textarea.military-textarea {
    width: 100%;
    height: 100%;
    min-height: 85px;
    font-size: 1.05rem;
    line-height: 1.5;
    padding: 0.65rem 0.85rem;
    resize: none;
    border-radius: 6px;
    background: #0b1322;
    border: 1px solid #1e293b;
    color: #f8fafc;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    box-sizing: border-box;
}

/* Briefing Box de Notícias e Gancho (Opção 2) */
.morteiro-gancho-box {
    margin-top: 0.2rem;
    padding: 0.45rem 0.75rem;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(59, 130, 246, 0.35);
    border-radius: 6px;
    flex-shrink: 0;
}

.morteiro-gancho-box .gancho-box-header {
    color: #93c5fd;
    font-weight: 800;
    font-size: 0.78rem;
    margin-bottom: 0.15rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    letter-spacing: 0.03em;
}

.morteiro-gancho-box .gancho-texto {
    color: #f1f5f9;
    font-size: 0.9rem;
    line-height: 1.4;
    font-style: normal;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.morteiro-gancho-box .gancho-noticia {
    color: #94a3b8;
    font-size: 0.78rem;
    line-height: 1.35;
    margin-top: 0.25rem;
    padding-top: 0.25rem;
    border-top: 1px dashed rgba(148, 163, 184, 0.25);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Linha Inferior: Botões de Compartilhamento Amplos e Confortáveis */
.horizontal-actions-row {
    display: flex;
    flex-direction: row;
    gap: 0.65rem;
    align-items: stretch;
    margin-top: 0;
    min-width: 0;
    flex-shrink: 0;
}

.horizontal-actions-row .cluster-teleguiado {
    flex: 1.55;
    min-width: 0;
}

.horizontal-actions-row .cluster-manual {
    flex: 1;
    min-width: 0;
}

.horizontal-actions-row .action-cluster {
    padding: 0.35rem 0.65rem;
    border-radius: 8px;
    margin-bottom: 0;
    background: #090e17;
    border: 1px solid #1e293b;
    box-sizing: border-box;
}

.horizontal-actions-row .cluster-label {
    margin-bottom: 0.25rem;
    padding-bottom: 0.15rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    border-bottom: 1px solid #1e293b;
}

.horizontal-actions-row .cluster-icon {
    font-size: 0.82rem;
}

.horizontal-actions-row .cluster-title {
    font-size: 0.68rem;
    letter-spacing: 0.05em;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #cbd5e1;
    font-weight: 700;
}

.horizontal-actions-row .cluster-buttons {
    display: flex;
    flex-direction: row;
    gap: 0.45rem;
}

.horizontal-actions-row .btn-action {
    flex: 1;
    min-width: 0;
    padding: 0.42rem 0.5rem;
    min-height: 38px;
    font-size: 0.76rem;
    font-weight: 800;
    border-radius: 6px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    transition: all 0.15s ease;
}

.horizontal-actions-row .btn-action .action-svg {
    display: block;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    pointer-events: none;
}


@media (max-width: 899px) {
    /* No mobile, oculta a lista de #tags (o ticker superior com badges já serve a esse propósito) */
    #silo-trends-board {
        display: none !important;
    }

    /* Abas táticas compactas e proporcionais no mobile (sem cortar na tela) */
    .tactical-tabs-nav {
        padding: 0.2rem 0.4rem 0;
        margin-bottom: 0.5rem;
    }

    .tabs-container {
        display: flex;
        flex-direction: row;
        gap: 0.35rem;
        width: 100%;
        padding: 0;
    }

    .tactical-tab-btn {
        flex: 1 1 50%;
        min-width: 0;
        padding: 0.38rem 0.3rem;
        font-size: 0.68rem;
        letter-spacing: 0;
        gap: 0.25rem;
        justify-content: center;
        border-radius: 4px 4px 0 0;
    }

    .tactical-tab-btn .tab-icon {
        font-size: 0.78rem;
        flex-shrink: 0;
    }

    .tab-text-full {
        display: none !important;
    }

    .tab-text-short {
        display: inline !important;
    }

    .tactical-tab-btn .tab-title {
        white-space: nowrap;
        font-size: 0.65rem;
        font-weight: 800;
        letter-spacing: 0.02em;
    }

    .tactical-tab-btn .tab-badge {
        font-size: 0.52rem;
        padding: 0.08rem 0.22rem;
        flex-shrink: 0;
    }

    .silo-launch-split-layout {
        flex-direction: column;
    }
    .silo-launch-trigger-col {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .silo-launch-output-col {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .morteiro-content-row {
        flex-direction: column;
        align-items: center;
    }
    .morteiro-content-row .post-image-wrapper.military-img-wrapper {
        max-width: 100%;
        width: 100%;
    }
    .horizontal-actions-row {
        flex-direction: column;
    }
    .horizontal-actions-row .cluster-buttons {
        flex-direction: row;
        gap: 0.35rem;
    }
}

/* Ajustes de Zero-Scroll no Desktop */
@media (min-width: 900px) {
    html, body {
        overflow-x: hidden;
    }

    body.morteiro-body {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
    }

    .morteiro-header.military-header {
        padding: 0.35rem 1.25rem;
        flex-shrink: 0;
    }

    .logo-title {
        font-size: 1.05rem;
    }

    .logo-sub {
        font-size: 0.62rem;
    }

    .military-sys-id {
        font-size: 0.58rem;
    }

    .military-target-badge {
        width: 1.8rem;
        height: 1.8rem;
        font-size: 0.95rem;
    }

    .btn-denuncia-hashtag {
        font-size: 0.68rem;
        padding: 0.25rem 0.5rem;
    }

    .military-status-chip {
        font-size: 0.68rem;
        padding: 0.25rem 0.5rem;
    }

    .tactical-tabs-nav {
        padding: 0.15rem 0;
        margin-bottom: 0.25rem;
        flex-shrink: 0;
    }

    .tactical-tab-btn {
        padding: 0.25rem 0.75rem;
        font-size: 0.72rem;
    }

    .main-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        padding-top: 0.35rem;
        padding-bottom: 0.35rem;
        min-height: 0;
    }

    .tab-pane.active {
        flex: 1;
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

    .morteiro-grid {
        flex: 1;
        display: grid;
        grid-template-columns: 1fr 310px;
        gap: 0.85rem;
        align-items: stretch;
        min-height: 0;
    }

    .morteiro-footer.military-footer {
        padding: 0.25rem 1.25rem;
        margin-top: auto;
        flex-shrink: 0;
    }

    .footer-disclaimer-box {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0.25rem 0.65rem;
        margin-bottom: 0.2rem;
        border-radius: 4px;
    }

    .disclaimer-badge {
        margin-bottom: 0;
        white-space: nowrap;
        flex-shrink: 0;
        font-size: 0.62rem;
        padding: 0.1rem 0.35rem;
    }

    .disclaimer-text {
        font-size: 0.68rem;
        line-height: 1.3;
    }

    .footer-bottom-row {
        flex-direction: row;
        justify-content: space-between;
        font-size: 0.62rem;
        padding-top: 0.15rem;
        margin-top: 0;
    }

    .btn-briefing-link {
        font-size: 0.62rem;
    }
}

/* ==========================================================================
   ATALHO TORPEDO TÁTICO &bull; CLIQUE NA HASHTAG DOS TTs
   ========================================================================== */
#trends-list .trend-item {
    cursor: pointer;
    transition: background-color 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
    user-select: none;
    position: relative;
}

#trends-list .trend-item:hover {
    background-color: rgba(59, 130, 246, 0.12) !important;
    border-color: rgba(96, 165, 250, 0.4) !important;
    transform: translateX(3px);
}

#trends-list .trend-item:hover .trend-name {
    color: #60a5fa !important;
}

#trends-list .trend-item::after {
    content: "🎯";
    position: absolute;
    right: 0.6rem;
    font-size: 0.75rem;
    opacity: 0;
    transition: opacity 0.15s ease;
}

#trends-list .trend-item:hover::after {
    opacity: 0.8;
}

.torpedo-modal-dialog {
    max-width: 680px;
    width: 95%;
}

.torpedo-modal-header {
    border-bottom: 1px solid rgba(239, 68, 68, 0.3);
    background: linear-gradient(90deg, rgba(185, 28, 28, 0.25), transparent);
}

.torpedo-badge {
    color: #f87171;
    font-weight: 700;
}

.torpedo-modal-body {
    padding: 1.25rem;
}

.torpedo-tags-strip {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
}

.torpedo-strip-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.4rem;
}

.torpedo-strip-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    font-weight: 700;
}

.torpedo-eixo-badge {
    font-size: 0.7rem;
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(96, 165, 250, 0.35);
    color: #93c5fd;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
}

.torpedo-pills-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.torpedo-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    font-size: 0.82rem;
    font-family: monospace;
}

.torpedo-pill.pill-onda {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(248, 113, 113, 0.4);
    color: #fca5a5;
}

.torpedo-pill.pill-campanha {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(52, 211, 153, 0.4);
    color: #6ee7b7;
}

.torpedo-pill .pill-type {
    font-size: 0.65rem;
    opacity: 0.75;
    font-family: var(--font-stack);
    text-transform: uppercase;
}

.torpedo-pill-plus {
    color: #64748b;
    font-weight: bold;
    font-size: 1.1rem;
}

.torpedo-content-layout {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.torpedo-img-box {
    flex: 0 0 160px;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.torpedo-preview-img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.torpedo-text-box {
    flex: 1;
}

.torpedo-actions-row {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.torpedo-actions-row .btn-action {
    flex: 1;
    min-width: 160px;
    text-align: center;
    justify-content: center;
    padding: 0.65rem 1rem;
    font-size: 0.82rem;
}

@media (max-width: 640px) {
    .torpedo-content-layout {
        flex-direction: column;
    }
    .torpedo-img-box {
        flex: auto;
        max-width: 200px;
        margin: 0 auto;
    }
    .torpedo-actions-row {
        flex-direction: column;
    }
}

/* ==========================================================================
   INTERFACE MOBILE ESTILO APP NATIVO (DOCK INFERIOR, GAVETA, TICKER STICKY)
   ========================================================================== */

/* No Desktop: oculta rigorosamente todos os elementos móveis */
.mobile-only,
.mobile-bottom-dock,
.mobile-drawer-sheet,
.mobile-post-top-bar {
    display: none !important;
}

@media (max-width: 899px) {
    /* No Mobile: remove o header gigante para que o Ticker fique no topo absoluto */
    .morteiro-header.military-header {
        display: none !important;
    }

    /* No Mobile: remove o rodapé longo com disclaimer (já acessível via menu gaveta) para zero scroll */
    .morteiro-footer.military-footer {
        display: none !important;
    }

    /* Remove o estado vazio (radar de standby) no mobile para zero scroll */
    #morteiro-empty {
        display: none !important;
    }

    /* Remove o cabeçalho redundante do card no mobile */
    .launch-compact-header {
        display: none !important;
    }

    /* Card transparente e sem bordas no mobile para não duplicar molduras */
    #silo-launch-card {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0.25rem 0.4rem !important;
        margin: 0 !important;
    }

    /* Estrutura de coluna única no mobile para substituição direta */
    .silo-launch-split-layout {
        display: block !important;
        width: 100% !important;
    }

    /* Centraliza o botão redondo na tela com ZERO SCROLL no estado inicial */
    .silo-launch-trigger-col {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: calc(100dvh - 165px);
        padding: 0;
        margin: 0 auto;
    }

    .silo-launch-trigger-col.is-hidden {
        display: none !important;
    }

    .silo-launch-output-col {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .mobile-post-top-bar {
        display: block !important;
    }

    /* Espaçamento inferior permanente no body para o dock fixo */
    body.morteiro-body {
        padding-bottom: 72px !important;
        overflow-x: hidden !important;
    }

    /* Ticker fixo no topo (Sticky) mesmo com scroll */
    .military-ticker-bar.mobile-only-ticker {
        display: flex !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 900 !important;
        background: #040812 !important;
        border-bottom: 1px solid rgba(59, 130, 246, 0.4) !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.7) !important;
    }

    /* Navegador de Abas Táticas (Seletor Segmentado) logo abaixo do ticker */
    .tactical-tabs-nav {
        position: sticky !important;
        top: 44px !important;
        z-index: 890 !important;
        background: #070e1a !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.5) !important;
        margin-bottom: 0.5rem !important;
        padding: 0.25rem 0.5rem 0.25rem !important;
    }

    .tabs-container {
        gap: 0.4rem !important;
    }

    .tactical-tab-btn {
        border-radius: 6px !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        background: rgba(15, 23, 42, 0.6) !important;
        padding: 0.45rem 0.4rem !important;
    }

    .tactical-tab-btn.active {
        background: rgba(37, 99, 235, 0.25) !important;
        border-color: #3b82f6 !important;
        box-shadow: 0 0 12px rgba(59, 130, 246, 0.3) !important;
    }

    /* Botão Retangular Full-Width no Topo do Post */
    .mobile-post-top-bar {
        width: 100%;
        margin-bottom: 0.55rem;
    }

    .btn-mobile-gerar-outro {
        width: 100% !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        height: 44px;
        background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%) !important;
        border: 1px solid #f87171 !important;
        border-radius: 6px;
        color: #ffffff !important;
        font-size: 0.88rem !important;
        font-weight: 800 !important;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        cursor: pointer;
        box-shadow: 0 4px 14px rgba(220, 38, 38, 0.45) !important;
        transition: transform 0.1s ease, filter 0.15s ease;
        touch-action: manipulation;
    }

    .btn-mobile-gerar-outro:active {
        transform: scale(0.98);
        filter: brightness(0.9);
    }

    /* Limites de tela e ergonomia do Card de Post no Mobile */
    .silo-launch-output-col .horizontal-actions-row {
        display: none !important; /* Oculta ações redundantes no corpo do card (ficam concentradas no menu inferior/dock) */
    }

    .morteiro-card.card-action {
        padding: 0.5rem !important;
        margin-bottom: 0.5rem !important;
    }

    .morteiro-content-row {
        gap: 0.4rem !important;
        margin-bottom: 0.4rem !important;
    }

    .morteiro-content-row .post-image-wrapper.military-img-wrapper {
        max-width: 100% !important;
        margin-bottom: 0.25rem !important;
    }

    .morteiro-content-row .post-image {
        max-height: 125px !important;
        width: 100% !important;
        object-fit: contain !important;
        background: rgba(0, 0, 0, 0.4) !important;
        border-radius: 4px;
    }

    .post-text-content .post-title {
        font-size: 0.85rem !important;
        line-height: 1.25 !important;
        margin-bottom: 0.25rem !important;
    }

    .tweet-textarea.military-textarea {
        height: 68px !important;
        min-height: 55px !important;
        max-height: 75px !important;
        font-size: 0.78rem !important;
        padding: 0.35rem 0.5rem !important;
    }

    .morteiro-gancho-box {
        padding: 0.35rem 0.5rem !important;
        margin-top: 0.3rem !important;
        font-size: 0.72rem !important;
    }

    /* DOCK FIXO DE AÇÕES NO RODAPÉ */
    .mobile-bottom-dock {
        display: block !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 1000 !important;
        background: rgba(5, 11, 20, 0.95) !important;
        backdrop-filter: blur(12px) !important;
        -webkit-backdrop-filter: blur(12px) !important;
        border-top: 1px solid rgba(59, 130, 246, 0.35) !important;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.8) !important;
        padding: 0.4rem 0.5rem calc(0.4rem + env(safe-area-inset-bottom, 0px)) !important;
    }

    .dock-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.25rem;
        max-width: 520px;
        margin: 0 auto;
    }

    .dock-btn {
        flex: 1 1 0;
        min-width: 0;
        height: 48px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.2rem;
        padding: 0.25rem 0.1rem;
        border-radius: 6px;
        background: rgba(15, 23, 42, 0.85);
        border: 1px solid rgba(255, 255, 255, 0.14);
        color: #e2e8f0;
        text-decoration: none;
        font-size: 0.58rem;
        font-weight: 800;
        letter-spacing: 0.02em;
        cursor: pointer;
        transition: all 0.15s ease;
        user-select: none;
        touch-action: manipulation;
    }

    .dock-btn .dock-svg {
        display: block;
        width: 18px;
        height: 18px;
        flex-shrink: 0;
        pointer-events: none;
    }

    .dock-btn .dock-icon {
        font-size: 0.95rem;
        line-height: 1;
    }

    .dock-btn:active {
        transform: scale(0.95);
        filter: brightness(1.2);
    }

    .dock-btn-x {
        background: rgba(15, 23, 42, 0.95);
        border-color: rgba(255, 255, 255, 0.25);
        color: #ffffff;
    }

    .dock-btn-x:hover, .dock-btn-x:active {
        background: #000000;
        border-color: #38bdf8;
        color: #38bdf8;
    }

    .dock-btn-wa {
        background: rgba(22, 101, 52, 0.35);
        border-color: rgba(34, 197, 94, 0.4);
        color: #4ade80;
    }

    .dock-btn-wa:hover, .dock-btn-wa:active {
        background: rgba(22, 101, 52, 0.6);
        border-color: #22c55e;
    }

    .dock-btn-fb {
        background: rgba(24, 119, 242, 0.25);
        border-color: rgba(24, 119, 242, 0.45);
        color: #60a5fa;
    }

    .dock-btn-fb:hover, .dock-btn-fb:active {
        background: rgba(24, 119, 242, 0.6);
        border-color: #3b82f6;
        color: #ffffff;
    }

    .dock-btn-insta {
        background: rgba(225, 48, 108, 0.25);
        border-color: rgba(225, 48, 108, 0.45);
        color: #f43f5e;
    }

    .dock-btn-insta:hover, .dock-btn-insta:active {
        background: rgba(225, 48, 108, 0.6);
        border-color: #e1306c;
        color: #ffffff;
    }

    .dock-btn-copy {
        background: rgba(30, 58, 138, 0.35);
        border-color: rgba(59, 130, 246, 0.4);
        color: #93c5fd;
    }

    .dock-btn.dock-btn-success {
        background: rgba(22, 101, 52, 0.8) !important;
        border-color: #22c55e !important;
        color: #86efac !important;
        box-shadow: 0 0 10px rgba(34, 197, 94, 0.4);
    }

    .dock-btn-img {
        background: rgba(88, 28, 135, 0.35);
        border-color: rgba(168, 85, 247, 0.4);
        color: #c084fc;
    }

    .dock-btn-more {
        background: rgba(51, 65, 85, 0.45);
        border-color: rgba(148, 163, 184, 0.35);
        color: #cbd5e1;
    }

    /* GAVETA DE UTILIDADES (DRAWER BOTTOM SHEET) */
    .mobile-drawer-sheet {
        display: none !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        z-index: 1100 !important;
        flex-direction: column !important;
        justify-content: flex-end !important;
    }

    .mobile-drawer-sheet.is-open {
        display: flex !important;
    }

    .drawer-backdrop {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.65);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
    }

    .drawer-panel {
        position: relative;
        background: #090e18;
        border-top: 1px solid rgba(59, 130, 246, 0.4);
        border-radius: 14px 14px 0 0;
        box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.85);
        padding: 0.6rem 1rem calc(1rem + env(safe-area-inset-bottom, 0px));
        z-index: 2;
        animation: slideUpDrawer 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    }

    @keyframes slideUpDrawer {
        from { transform: translateY(100%); }
        to { transform: translateY(0); }
    }

    .drawer-handle-bar {
        display: flex;
        justify-content: center;
        margin-bottom: 0.5rem;
    }

    .drawer-handle {
        width: 38px;
        height: 4px;
        border-radius: 2px;
        background: rgba(255, 255, 255, 0.25);
    }

    .drawer-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 0.8rem;
        padding-bottom: 0.4rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .drawer-header-badge {
        display: flex;
        align-items: center;
        gap: 0.4rem;
        font-size: 0.75rem;
        font-weight: 800;
        color: #60a5fa;
        letter-spacing: 0.05em;
        text-transform: uppercase;
    }

    .drawer-close {
        background: transparent;
        border: none;
        color: #94a3b8;
        font-size: 1.4rem;
        line-height: 1;
        cursor: pointer;
        padding: 0.2rem 0.5rem;
    }

    .drawer-actions {
        display: flex;
        flex-direction: column;
        gap: 0.55rem;
    }

    .drawer-action-btn {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        width: 100%;
        padding: 0.65rem 0.85rem;
        border-radius: 8px;
        background: rgba(15, 23, 42, 0.7);
        border: 1px solid rgba(255, 255, 255, 0.1);
        color: #f1f5f9;
        text-align: left;
        cursor: pointer;
        transition: background 0.15s ease, border-color 0.15s ease;
    }

    .drawer-action-btn:active {
        background: rgba(59, 130, 246, 0.15);
        border-color: rgba(96, 165, 250, 0.4);
    }

    .drawer-btn-icon {
        font-size: 1.3rem;
        flex-shrink: 0;
    }

    .drawer-btn-info {
        display: flex;
        flex-direction: column;
        gap: 0.1rem;
    }

    .drawer-btn-info strong {
        font-size: 0.8rem;
        letter-spacing: 0.02em;
    }

    .drawer-btn-info span {
        font-size: 0.68rem;
        color: #94a3b8;
    }
}

/* ==========================================================================
   OVERLAY DE CARREGAMENTO TÁTICO (RADAR / TELEMETRIA)
   ========================================================================== */
.morteiro-loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
}

.morteiro-loading-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 9, 18, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.morteiro-loading-dialog {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.2rem 2.5rem;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.96) 0%, rgba(9, 14, 28, 0.98) 100%);
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 30px rgba(2, 132, 199, 0.25);
    max-width: 90vw;
    width: 340px;
    animation: modalPulseIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.loading-radar-ring {
    position: relative;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 2px solid rgba(56, 189, 248, 0.3);
    box-shadow: inset 0 0 15px rgba(2, 132, 199, 0.2), 0 0 15px rgba(2, 132, 199, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    overflow: hidden;
}

.loading-radar-sweep {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 0deg, rgba(56, 189, 248, 0.4) 300deg, rgba(56, 189, 248, 0.8) 360deg);
    animation: radarSweep 1.2s linear infinite;
}

.loading-radar-crosshair {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.loading-radar-crosshair::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(56, 189, 248, 0.25);
}
.loading-radar-crosshair::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(56, 189, 248, 0.25);
}

.loading-radar-core {
    position: relative;
    z-index: 2;
    font-size: 1.5rem;
    color: #f59e0b;
    filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.8));
    animation: corePulse 1s ease-in-out infinite alternate;
}

.loading-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(220, 38, 38, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #fca5a5;
    margin-bottom: 0.6rem;
    text-transform: uppercase;
}

.loading-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 0.85rem;
    letter-spacing: -0.01em;
}

.loading-bar-track {
    width: 100%;
    height: 6px;
    background: rgba(30, 41, 59, 0.8);
    border-radius: 9999px;
    overflow: hidden;
    position: relative;
    margin-bottom: 0.65rem;
}

.loading-bar-fill {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(90deg, #0284c7, #38bdf8, #10b981, #38bdf8);
    background-size: 200% 100%;
    animation: barShimmer 1.4s ease-in-out infinite;
    border-radius: 9999px;
}

.loading-subtext {
    font-size: 0.72rem;
    color: #64748b;
    letter-spacing: 0.02em;
}

@keyframes radarSweep {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes corePulse {
    from { transform: scale(0.9); opacity: 0.85; }
    to { transform: scale(1.15); opacity: 1; }
}

@keyframes barShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}




