@charset "UTF-8";

@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@500;700&display=swap");

/* ==========================================================================
   VARIÁVEIS GERAIS (CORES E TAMANHOS)
   ========================================================================== */
:root {
    --hd-yellow: #d7d52c;
    --hd-orange: #ff7b00;
    --hd-bg: #141414;
    /* Esse é o fundo escuro transparente exato do seu Index bonito: */
    --hd-card: rgba(20, 20, 20, 0.85); 
    --hd-text: #ffffff;
    --sidebar-width: 250px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
img { max-width: 100%; height: auto; }
a { text-decoration: none; }
.cite-hide { display: none; }

/* Isso aqui é o que já existe no seu site */
body {
    background: #0a0a0a url('imagens/fundos/site/wallpaper-principal.jpg') center/cover fixed;
    color: var(--hd-text);
    font-family: Arial, Helvetica, sans-serif;
    display: flex;
    min-height: 100vh;
}

/* --- NOVAS REGRAS PARA MUDAR O FUNDO --- */

/* Quando o body tiver a classe 'fundo-principal', ele ignora o wallpaper principal */
body.fundo-principal {
    background: #0a0a0a url('imagens/fundos/site/helldiver.png') center/cover fixed;
}

/* Quando o body tiver a classe 'fundo-estrategema', ele usa outro */
body.fundo-estrategema {
    background: #0a0a0a url('imagens/fundos/site/wallpaper_principal_estratagema.png') center/cover fixed;
}

/* Quando o body tiver a classe 'fundo-warbond', ele usa outro */
body.fundo-warbonds {
    background: #0a0a0a url('imagens/fundos/site/warbonds.png') center/cover fixed;
}

/* Quando o body tiver a classe 'fundo-automatos', ele usa outro */
body.fundo-automatos {
    background: #0a0a0a url('imagens/fundos/site/robos/automatons-horizontal.png') center/cover fixed;
}

/* Quando o body tiver a classe 'fundo-terminideos', ele usa outro */
body.fundo-terminideos {
    background: #0a0a0a url('imagens/fundos/site/insetos/terminideos-horizontal.jpg') center/cover fixed;
}

/* Quando o body tiver a classe 'fundo-iluminados', ele usa outro */
body.fundo-iluminados {
    background: #0a0a0a url('imagens/fundos/site/molusco/iluminados-horizontal.jpg') center/cover fixed;
}

/* Quando o body tiver a classe 'fundo-iluminados', ele usa outro */
body.fundo-guerra {
    background: #0a0a0a url('imagens/fundos/site/central/central-horizontal.jpg') center/cover fixed;
}

/* ==========================================================================
   BARRA LATERAL (DESKTOP)
   ========================================================================== */
.sidebar {
    width: var(--sidebar-width);
    background: rgba(15, 15, 15, 0.95);
    border-right: 2px solid var(--hd-yellow);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; bottom: 0; left: 0;
    z-index: 100;
    overflow-y: auto;
    padding: 15px;
}
.logo-container { text-align: center; padding-bottom: 15px; border-bottom: 1px solid rgba(215, 213, 44, 0.3); margin-bottom: 15px; }
.menu-section { margin-bottom: 20px; }
.section-header { color: var(--hd-yellow); font-size: 11px; font-weight: bold; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 5px; padding-bottom: 3px; border-bottom: 1px solid rgba(215, 213, 44, 0.2); }
.menu-list { list-style: none; }
.menu-list li a { display: block; color: #ccc; font-size: 13px; padding: 6px 10px; margin-bottom: 4px; background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(215, 213, 44, 0.15); border-left: 3px solid rgba(215, 213, 44, 0.4); transition: all 0.15s ease; }
.menu-list li a:hover, .menu-list li a.active { color: var(--hd-yellow); background: rgba(215, 213, 44, 0.08); border-color: var(--hd-yellow); border-left: 3px solid var(--hd-yellow); padding-left: 14px; }

/* ==========================================================================
   CONTEÚDO PRINCIPAL (ÁREA DA DIREITA)
   ========================================================================== */
.main-content {
    margin-left: var(--sidebar-width);
    flex: 1;
    padding: 40px;
    background: rgba(10, 10, 10, 0.65);
    /* Travas para a tabela não estourar no celular: */
    min-width: 0;
    width: 100%;
}
.page-title-block { border-bottom: 2px solid var(--hd-yellow); padding-bottom: 10px; margin-bottom: 25px; }
.page-title-block h1 { color: var(--hd-yellow); font-size: 32px; text-transform: uppercase; }

/* ==========================================================================
   PÁGINAS DE DETALHES (COMO O ATAQUE DE PRECISÃO E GATLING)
   ========================================================================== */
.wiki-overview-section { display: flex; gap: 30px; margin-bottom: 40px; align-items: flex-start; }
.wiki-left-text { flex: 1; }
.lore-quote { background: rgba(215, 213, 44, 0.05); border-left: 4px solid var(--hd-orange); padding: 15px; font-style: italic; margin-bottom: 20px; color: #e0e0e0; }
.description-text { line-height: 1.6; font-size: 15px; margin-bottom: 25px; }

/* CARD DA DIREITA (INFOBOX DE COMBATE) */
.stratagem-infobox { width: 320px; background: var(--hd-card); border: 2px solid var(--hd-yellow); padding: 15px; }
.infobox-title { background: rgba(215, 213, 44, 0.2); color: var(--hd-yellow); text-align: center; font-weight: bold; padding: 8px; text-transform: uppercase; font-size: 16px; margin-bottom: 15px; }
.infobox-media { text-align: center; margin-bottom: 15px; }
.infobox-media img.main-art { width: 150px; height: 150px; border: 1px solid rgba(215, 213, 44, 0.3); background: #000; }
.infobox-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.infobox-table th { background: rgba(215, 213, 44, 0.1); color: var(--hd-yellow); padding: 6px 8px; text-align: left; font-size: 11px; text-transform: uppercase; border-bottom: 1px solid rgba(215, 213, 44, 0.2); }
.infobox-table td { padding: 8px; border-bottom: 1px solid rgba(215, 213, 44, 0.1); }

/* ==========================================================================
   ESTATÍSTICAS DETALHADAS (MUNIÇÃO/DANO EM COLUNAS)
   ========================================================================== */
.section-title { color: var(--hd-yellow); font-size: 20px; text-transform: uppercase; margin-bottom: 15px; border-bottom: 1px solid rgba(215, 213, 44, 0.4); padding-bottom: 5px; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; align-items: start; }
.stats-box { background: var(--hd-card); border: 1px solid var(--hd-yellow); padding: 15px; }
.stats-box h3 { color: var(--hd-yellow); text-align: center; text-transform: uppercase; font-size: 14px; border-bottom: 2px solid var(--hd-orange); padding-bottom: 6px; margin-bottom: 12px; }
.stats-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.stats-table th { background: rgba(215, 213, 44, 0.1); color: var(--hd-yellow); padding: 6px; text-align: center; font-size: 12px; text-transform: uppercase; }
.stats-table td { padding: 6px 8px; border-bottom: 1px solid rgba(215, 213, 44, 0.1); }
.stats-table td:last-child { text-align: right; font-weight: bold; }

/* UTILITÁRIOS E ÍCONES */
.code-inline { display: flex; gap: 3px; }
.code-inline img { width: 14px !important; height: 14px !important; }
.flex-td { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.flex-td img { width: 16px !important; height: 16px !important; }

/* ÁREA DE VÍDEO DEMONSTRATIVO */
.video-section { margin-top: 40px; background: var(--hd-card); border: 1px solid var(--hd-yellow); padding: 20px; width: fit-content; text-align: center; max-width: 100%; }
.video-wrapper { display: flex; justify-content: center; margin-top: 15px; }
.video-wrapper video { max-width: 100%; width: 700px; border: 2px solid rgba(255, 123, 0, 0.4); background: #000; }

/* ==========================================================================
   LISTAGEM GERAL DE ESTRATAGEMAS (estratagemas.html)
   ========================================================================== */
.category-title { color: var(--hd-yellow); font-size: 20px; text-transform: uppercase; margin: 30px 0 15px 0; border-bottom: 1px solid rgba(215, 213, 44, 0.4); padding-bottom: 5px; }
.table-responsive { width: 100%; overflow-x: auto; background: var(--hd-card); border: 1px solid rgba(215, 213, 44, 0.3); margin-bottom: 20px; }
.hd-table { width: 100%; min-width: 550px; border-collapse: collapse; text-align: left; font-size: 14px; table-layout: fixed; }
.hd-table th { background: rgba(215, 213, 44, 0.15); color: var(--hd-yellow); font-weight: bold; text-transform: uppercase; padding: 12px 10px; border-bottom: 2px solid var(--hd-yellow); font-size: 12px; }
.hd-table td { padding: 10px; border-bottom: 1px solid rgba(215, 213, 44, 0.45); vertical-align: middle; overflow-wrap: break-word; word-break: break-word; }
.hd-table tr:hover td { background: rgba(215, 213, 44, 0.03); }
.strat-link { color: #fff; font-weight: bold; transition: color 0.2s; }
.strat-link:hover { color: var(--hd-yellow); }
.cell-icon { text-align: center; }
.strat-icon { width: 44px; height: 44px; display: block; margin: 0 auto; }
.code-container { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.arrow { width: 16px; height: 16px; }
.req-badge { display: inline-flex; align-items: center; gap: 4px; color: #fff; font-weight: bold; }
.req-icon { width: 16px; height: 16px; }

/* ==========================================================================
   BARRA DE BUSCA DO SITE (usada na home.html, pode ser reaproveitada em outras páginas)
   ========================================================================== */
.search-container { position: relative; margin-bottom: 25px; width: 100%; }
.search-box-wrapper { display: flex; border: 1px solid rgba(215, 213, 44, 0.4); border-left: 4px solid var(--hd-yellow); background: #1a1a1a; border-radius: 4px; }
#wiki-search { width: 100%; padding: 12px 15px; background: transparent; border: none; color: #ffffff; font-size: 16px; outline: none; }
.search-btn { background: transparent; border: none; color: var(--hd-yellow); padding: 0 15px; cursor: pointer; font-size: 16px; }
.search-dropdown { position: absolute; top: 100%; left: 0; width: 100%; background: #1a1a1a; border: 1px solid var(--hd-yellow); border-top: none; z-index: 2000; max-height: 300px; overflow-y: auto; display: none; box-shadow: 0 5px 15px rgba(0,0,0,0.5); }
.search-item { display: flex; align-items: center; padding: 12px 15px; color: #eee; border-bottom: 1px solid rgba(215, 213, 44, 0.1); transition: background 0.2s; text-decoration: none; cursor: pointer; }
.search-item:hover { background: rgba(215, 213, 44, 0.1); color: #fff; }
.search-item-icon { width: 32px; height: 32px; margin-right: 15px; display: flex; align-items: center; justify-content: center; }
.search-highlight { color: var(--hd-yellow); font-weight: bold; }

/* ==========================================================================
   CARTÕES DE TEXTO (usados na home.html para blocos de boas-vindas/avisos)
   ========================================================================== */
.wiki-card { background: var(--hd-card); border: 1px solid rgba(215, 213, 44, 0.3); padding: 25px; margin-bottom: 20px; line-height: 1.6; }
.wiki-card h2 { color: var(--hd-yellow); font-size: 20px; margin-bottom: 15px; border-bottom: 1px solid rgba(215, 213, 44, 0.2); padding-bottom: 5px; }

/* ==========================================================================
   RESPONSIVIDADE E MENU MOBILE (O toque final que arrumamos juntos)
   ========================================================================== */
.mobile-header { display: none; }

@media (max-width: 900px) {
    .wiki-overview-section { flex-direction: column; }
    .stratagem-infobox { width: 100%; }
}

@media (max-width: 768px) {
    body { flex-direction: column; padding-top: 45px !important; }
    
    .mobile-header {
        display: flex;
        position: fixed;
        top: 0; left: 0;
        width: 100%;
        height: 45px;
        background: linear-gradient(180deg, #1c1c1c 0%, #0a0a0a 100%);
        border-bottom: 2px solid var(--hd-yellow);
        box-shadow: 0 0 8px rgba(215, 213, 44, 0.35), inset 0 -1px 0 rgba(215, 213, 44, 0.2);
        z-index: 2000;
        align-items: center;
        justify-content: center;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 12px 100%, 0 calc(100% - 12px));
    }
    .mobile-menu-btn {
        width: 100%;
        height: 100%;
        background: transparent;
        border: none;
        color: var(--hd-yellow);
        font-size: 14px;
        font-weight: 700;
        letter-spacing: 3px;
        text-transform: uppercase;
        text-shadow: 0 0 6px rgba(215, 213, 44, 0.6);
        cursor: pointer;
        padding: 0;
        position: relative;
    }
    .mobile-menu-btn::after {
        content: "";
        position: absolute;
        bottom: 6px;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 2px;
        background: var(--hd-yellow);
        box-shadow: 0 0 4px rgba(215, 213, 44, 0.8);
    }
    
    .sidebar { display: flex !important; flex-direction: column; width: 260px !important; position: fixed; top: 45px !important; left: -260px !important; height: calc(100vh - 45px); background: rgba(15, 15, 15, 0.98); z-index: 1500; border-right: 2px solid var(--hd-yellow); padding: 20px; overflow-y: auto; transition: left 0.3s ease; }
    .sidebar.active { left: 0 !important; }
    
    .main-content { margin-left: 0; padding: 20px; min-width: 0; width: 100%; overflow-x: hidden; }
    .logo-container img { width: 200px; }
	
	body.fundo-automatos {
		background-image: url('imagens/fundos/site/robos/automatons-vertical.jpg');
	}
	
	body.fundo-terminideos {
		background-image: url('imagens/fundos/site/insetos/terminideos-vertical.png');
	}
	
	body.fundo-iluminados {
		background-image: url('imagens/fundos/site/molusco/iluminados-vertical.png');
	}
	
	body.fundo-central {
		background-image: url('imagens/fundos/site/central/central-horizontal.jpg');
	}
}

/* ==========================================================================
   MENU RETRÁTIL EM CELULAR DEITADO (PAISAGEM)
   Só ativa em telas de toque (celular/tablet) em orientação horizontal.
   Não afeta desktop nem o modo retrato, que continuam como estão.
   ========================================================================== */
@media (orientation: landscape) and (hover: none) and (pointer: coarse) {
    body { padding-top: 0 !important; }

    /* Barra grande "MENU DE NAVEGAÇÃO" vira um botão compacto no canto */
    .mobile-header {
        display: flex;
        position: fixed;
        top: 0; left: 0;
        width: 42px;
        height: 42px;
        background: linear-gradient(180deg, #1c1c1c 0%, #0a0a0a 100%);
        border-bottom: none;
        border-right: 2px solid var(--hd-yellow);
        box-shadow: 0 0 8px rgba(215, 213, 44, 0.35);
        z-index: 2000;
        align-items: center;
        justify-content: center;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 8px 100%, 0 calc(100% - 8px));
    }
    .mobile-menu-btn {
        width: 100%;
        height: 100%;
        font-size: 0; /* esconde o texto "MENU DE NAVEGAÇÃO" sem remover do HTML */
        position: relative;
    }
    .mobile-menu-btn::before {
        content: "\2630"; /* ícone ☰ */
        font-size: 20px;
        color: var(--hd-yellow);
        text-shadow: 0 0 6px rgba(215, 213, 44, 0.6);
    }

    /* Sidebar volta a ficar recolhida por padrão, igual ao modo retrato */
    .sidebar {
        display: flex !important;
        flex-direction: column;
        width: 260px !important;
        position: fixed;
        top: 0 !important;
        left: -260px !important;
        height: 100vh;
        background: rgba(15, 15, 15, 0.98);
        z-index: 1500;
        border-right: 2px solid var(--hd-yellow);
        padding: 20px;
        overflow-y: auto;
        transition: left 0.3s ease;
    }
    .sidebar.active { left: 0 !important; }

    .main-content { margin-left: 0; padding: 20px; min-width: 0; width: 100%; overflow-x: hidden; }
}

/* ========================================================================== 
   TEMA MERIDIAN — ALTERNADOR GLOBAL
   Padrão: identidade Helldivers amarela atual.
   Meridian: preto profundo + roxo/azul, usando o fundo especial Meridian.
   ========================================================================== */
.site-theme-wrap{
    margin:-4px 0 16px;
    padding-bottom:14px;
    border-bottom:1px solid rgba(215,213,44,.18);
}
.site-theme-toggle{
    width:100%; min-height:42px; display:flex; align-items:center; gap:10px;
    padding:8px 10px; cursor:pointer; text-align:left;
    background:rgba(255,255,255,.025); color:#ddd;
    border:1px solid rgba(215,213,44,.25); border-left:3px solid var(--hd-yellow);
    font:700 10px 'Oswald', Impact, sans-serif; letter-spacing:1px;
    transition:border-color .18s ease,background .18s ease,color .18s ease,box-shadow .18s ease;
}
.site-theme-toggle:hover{color:var(--hd-yellow);border-color:var(--hd-yellow);background:rgba(215,213,44,.07);box-shadow:0 0 14px rgba(215,213,44,.08)}
.site-theme-toggle small{display:block;color:#777;font:700 7px Arial,sans-serif;letter-spacing:1.4px;margin-bottom:1px}
.theme-toggle-icon{width:23px;height:23px;display:grid;place-items:center;border:1px solid currentColor;font-size:13px;flex:0 0 23px}

body.theme-meridian{
    --hd-yellow:#9c86ff;
    --hd-orange:#59c9ff;
    --hd-card:rgba(10,7,18,.90);
    background:#030208 url('imagens/fundos/especiais/meridian.png') center/cover fixed !important;
}
body.theme-meridian .main-content{background:rgba(5,3,10,.70)}
body.theme-meridian .sidebar{background:rgba(7,5,13,.97);border-right-color:#9c86ff;box-shadow:8px 0 28px rgba(67,43,125,.12)}
body.theme-meridian .logo-container{border-bottom-color:rgba(156,134,255,.30)}
body.theme-meridian .section-header{border-bottom-color:rgba(156,134,255,.22)}
body.theme-meridian .menu-list li a{border-color:rgba(156,134,255,.16);border-left-color:rgba(156,134,255,.42)}
body.theme-meridian .menu-list li a:hover,
body.theme-meridian .menu-list li a.active{border-color:#9c86ff;border-left-color:#9c86ff;background:rgba(156,134,255,.09)}
body.theme-meridian .site-theme-wrap{border-bottom-color:rgba(156,134,255,.20)}
body.theme-meridian .site-theme-toggle{border-color:rgba(156,134,255,.35);border-left-color:#9c86ff;background:rgba(88,61,150,.08)}
body.theme-meridian .site-theme-toggle:hover{border-color:#9c86ff;background:rgba(156,134,255,.11);box-shadow:0 0 18px rgba(117,89,255,.14)}

@media(max-width:768px){
    .site-theme-wrap{margin:0 0 12px;padding-bottom:12px}
}

/* ========================================================================== 
   TEMA GLOBAL V2 — aplica a preferência salva também pelo marcador no <html>.
   Isso reduz o "flash" do tema padrão ao navegar entre páginas.
   ========================================================================== */
html[data-hd-theme="meridian"] body{
    --hd-yellow:#9c86ff;
    --hd-orange:#59c9ff;
    --hd-card:rgba(10,7,18,.90);
    background:#030208 url('imagens/fundos/especiais/meridian.png') center/cover fixed !important;
}
html[data-hd-theme="meridian"] body .main-content{background:rgba(5,3,10,.70)}
html[data-hd-theme="meridian"] body .sidebar{background:rgba(7,5,13,.97);border-right-color:#9c86ff;box-shadow:8px 0 28px rgba(67,43,125,.12)}
html[data-hd-theme="meridian"] body .logo-container{border-bottom-color:rgba(156,134,255,.30)}
html[data-hd-theme="meridian"] body .section-header{border-bottom-color:rgba(156,134,255,.22)}
html[data-hd-theme="meridian"] body .menu-list li a{border-color:rgba(156,134,255,.16);border-left-color:rgba(156,134,255,.42)}
html[data-hd-theme="meridian"] body .menu-list li a:hover,
html[data-hd-theme="meridian"] body .menu-list li a.active{border-color:#9c86ff;border-left-color:#9c86ff;background:rgba(156,134,255,.09)}
html[data-hd-theme="meridian"] body .site-theme-wrap{border-bottom-color:rgba(156,134,255,.20)}
html[data-hd-theme="meridian"] body .site-theme-toggle{border-color:rgba(156,134,255,.35);border-left-color:#9c86ff;background:rgba(88,61,150,.08)}
html[data-hd-theme="meridian"] body .site-theme-toggle:hover{border-color:#9c86ff;background:rgba(156,134,255,.11);box-shadow:0 0 18px rgba(117,89,255,.14)}

/* ==========================================================================
   RESPONSIVIDADE INTELIGENTE — PÁGINAS DE ESTRATAGEMAS
   --------------------------------------------------------------------------
   O espaço disponível decide quantas tabelas cabem:
   - celular estreito/retrato: 1 coluna
   - celular deitado/tablet: 1 ou 2 colunas
   - desktop: 2, 3 ou mais, conforme houver espaço

   A regra é propositalmente restrita a body.fundo-estrategema para NÃO
   interferir nos grids da Home, Central de Guerra, Mapas, Facções etc.
   ========================================================================== */

/* Regra forte para vencer CSS local antigo dos index sem precisar editá-los. */
html body.fundo-estrategema .main-content .stats-grid {
    display: grid !important;
    grid-template-columns: repeat(
        auto-fit,
        minmax(min(300px, 100%), 340px)
    ) !important;
    gap: 14px !important;
    align-items: start !important;
    justify-content: start !important;
    width: 100% !important;
    max-width: none !important;
}

html body.fundo-estrategema .main-content .stats-grid > .stats-box {
    width: 100% !important;
    max-width: 340px !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

/* Em uma tela realmente estreita, usa toda a largura disponível. */
@media (max-width: 599px) {
    html body.fundo-estrategema .main-content .stats-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    html body.fundo-estrategema .main-content .stats-grid > .stats-box {
        max-width: 100% !important;
    }
}

/* Celular/tablet deitado funciona como um "mini desktop":
   a área inteira fica disponível e o grid decide se cabem 1 ou 2+ tabelas. */
@media (orientation: landscape) and (hover: none) and (pointer: coarse) {
    html body.fundo-estrategema .main-content .stats-grid {
        grid-template-columns: repeat(
            auto-fit,
            minmax(min(300px, 100%), 340px)
        ) !important;
    }
}



/* ==========================================================================
   MERIDIAN V3 — COMPONENTES COMPLETOS DAS ESTRATÉGIAS
   Corrige páginas antigas que ainda têm amarelo/preto gravado no CSS local.
   Restrito às páginas de estratagemas/listagem para não alterar Guerra/Mapa.
   ========================================================================== */
html[data-hd-theme="meridian"] body.fundo-estrategema {
    --hd-yellow: #9c86ff;
    --hd-orange: #59c9ff;
    --hd-card: rgba(10, 7, 18, .92);
}

html[data-hd-theme="meridian"] body.fundo-estrategema .wiki-title-block h1,
html[data-hd-theme="meridian"] body.fundo-estrategema .page-title-block h1,
html[data-hd-theme="meridian"] body.fundo-estrategema .section-title,
html[data-hd-theme="meridian"] body.fundo-estrategema .category-title,
html[data-hd-theme="meridian"] body.fundo-estrategema .wiki-left-text > h3 {
    color: #9c86ff !important;
    border-color: rgba(156, 134, 255, .46) !important;
}

html[data-hd-theme="meridian"] body.fundo-estrategema .lore-quote {
    color: #d9d1ff !important;
    background: rgba(89, 201, 255, .055) !important;
    border-left-color: #59c9ff !important;
}

html[data-hd-theme="meridian"] body.fundo-estrategema .general-table,
html[data-hd-theme="meridian"] body.fundo-estrategema .stats-box,
html[data-hd-theme="meridian"] body.fundo-estrategema .stratagem-infobox,
html[data-hd-theme="meridian"] body.fundo-estrategema .detail-column,
html[data-hd-theme="meridian"] body.fundo-estrategema .video-section,
html[data-hd-theme="meridian"] body.fundo-estrategema .table-responsive,
html[data-hd-theme="meridian"] body.fundo-estrategema .wiki-card {
    background: rgba(10, 7, 18, .92) !important;
    border-color: rgba(156, 134, 255, .72) !important;
    box-shadow: inset 0 0 0 1px rgba(89, 201, 255, .025), 0 12px 28px rgba(0,0,0,.22);
}

html[data-hd-theme="meridian"] body.fundo-estrategema .stats-box .stats-box-header,
html[data-hd-theme="meridian"] body.fundo-estrategema .detail-header {
    background: linear-gradient(90deg, #8f78f4, #a692ff) !important;
    color: #090711 !important;
    border-color: #59c9ff !important;
}

html[data-hd-theme="meridian"] body.fundo-estrategema .detail-subheader,
html[data-hd-theme="meridian"] body.fundo-estrategema .stats-table tr.table-sub-header th,
html[data-hd-theme="meridian"] body.fundo-estrategema .stats-table th {
    background: rgba(156, 134, 255, .14) !important;
    color: #cfc5ff !important;
    border-color: rgba(89, 201, 255, .22) !important;
}

html[data-hd-theme="meridian"] body.fundo-estrategema .stats-table td,
html[data-hd-theme="meridian"] body.fundo-estrategema .stats-table th,
html[data-hd-theme="meridian"] body.fundo-estrategema .infobox-table td,
html[data-hd-theme="meridian"] body.fundo-estrategema .infobox-table th,
html[data-hd-theme="meridian"] body.fundo-estrategema .hd-table td,
html[data-hd-theme="meridian"] body.fundo-estrategema .hd-table th {
    border-color: rgba(156, 134, 255, .18) !important;
}

html[data-hd-theme="meridian"] body.fundo-estrategema .stats-table td:first-child,
html[data-hd-theme="meridian"] body.fundo-estrategema .infobox-table td:first-child,
html[data-hd-theme="meridian"] body.fundo-estrategema .hd-table th,
html[data-hd-theme="meridian"] body.fundo-estrategema .strat-link:hover {
    color: #b8a9ff !important;
}

html[data-hd-theme="meridian"] body.fundo-estrategema .infobox-title {
    background: rgba(156, 134, 255, .18) !important;
    color: #bcaeff !important;
    border-color: rgba(89, 201, 255, .24) !important;
}

html[data-hd-theme="meridian"] body.fundo-estrategema .infobox-kicker {
    background: rgba(5, 4, 10, .74) !important;
    color: #bcaeff !important;
    border-color: rgba(156, 134, 255, .30) !important;
}

html[data-hd-theme="meridian"] body.fundo-estrategema .infobox-media {
    background:
        repeating-linear-gradient(135deg, rgba(156,134,255,.028) 0 1px, transparent 1px 9px),
        linear-gradient(180deg, rgba(89,201,255,.065), rgba(0,0,0,.24)) !important;
    border-color: rgba(156, 134, 255, .30) !important;
}

html[data-hd-theme="meridian"] body.fundo-estrategema .infobox-media img.main-art,
html[data-hd-theme="meridian"] body.fundo-estrategema .main-art {
    border-color: rgba(156, 134, 255, .42) !important;
    box-shadow: inset 0 0 0 1px rgba(89, 201, 255, .15) !important;
}

html[data-hd-theme="meridian"] body.fundo-estrategema .infobox-section-label {
    color: #bcaeff !important;
    background: rgba(156, 134, 255, .12) !important;
    border-color: rgba(156, 134, 255, .30) !important;
}

html[data-hd-theme="meridian"] body.fundo-estrategema .infobox-expand-trigger {
    color: #bcaeff !important;
    border-color: rgba(89, 201, 255, .45) !important;
    background:
        linear-gradient(90deg, rgba(89,201,255,.08), rgba(0,0,0,.12), rgba(156,134,255,.10)),
        rgba(10,7,18,.92) !important;
}

html[data-hd-theme="meridian"] body.fundo-estrategema .infobox-expand-trigger .expand-hint,
html[data-hd-theme="meridian"] body.fundo-estrategema .infobox-expand-trigger .expand-arrow,
html[data-hd-theme="meridian"] body.fundo-estrategema .acquisition-panel-title {
    color: #69d5ff !important;
}

html[data-hd-theme="meridian"] body.fundo-estrategema .infobox-collapsible {
    background: linear-gradient(180deg, rgba(14,10,26,.99), rgba(7,5,13,.99)) !important;
    border-color: #59c9ff !important;
    box-shadow: 0 -12px 30px rgba(0,0,0,.6), 0 0 18px rgba(89,201,255,.13) !important;
}

html[data-hd-theme="meridian"] body.fundo-estrategema .video-wrapper video {
    border-color: rgba(89, 201, 255, .55) !important;
}

/* Listagem geral de estratagemas */
html[data-hd-theme="meridian"] body.fundo-estrategema .table-responsive {
    border-color: rgba(156,134,255,.42) !important;
}
html[data-hd-theme="meridian"] body.fundo-estrategema .hd-table th {
    background: rgba(156,134,255,.16) !important;
    border-bottom-color: #9c86ff !important;
}
html[data-hd-theme="meridian"] body.fundo-estrategema .hd-table tr:hover td {
    background: rgba(156,134,255,.055) !important;
}

/* Botão neutro Mostrar/Ocultar acompanha Meridian; estados verde/vermelho continuam semânticos. */
html[data-hd-theme="meridian"] body.fundo-estrategema .blink-toggle:not(.btn-mostrar):not(.btn-ocultar) {
    color: #bcaeff !important;
    border-color: #9c86ff !important;
    background: rgba(156,134,255,.14) !important;
}

/* Modal de imagem */
html[data-hd-theme="meridian"] body.fundo-estrategema #imageModal .modal-content {
    border-color: #9c86ff !important;
    box-shadow: 0 0 26px rgba(89,201,255,.17), 0 0 20px rgba(0,0,0,.8) !important;
}
html[data-hd-theme="meridian"] body.fundo-estrategema #imageModal .close-btn {
    color: #bcaeff !important;
}

/* ==========================================================================
   PLAYER GLOBAL — HINO DA SUPER TERRA
   O HTML é criado pelo theme.js. O player só aparece se o MP3 existir.
   ========================================================================== */
.site-audio-wrap {
    margin: -5px 0 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(215,213,44,.18);
}
.site-audio-wrap[hidden] { display: none !important; }
.site-audio-panel {
    border: 1px solid rgba(215,213,44,.24);
    border-left: 3px solid var(--hd-yellow);
    background: rgba(255,255,255,.022);
    padding: 8px 9px;
}
.site-audio-head {
    display:flex; align-items:center; justify-content:space-between; gap:8px;
    color:#ddd; font:700 9px 'Oswald',Impact,sans-serif; letter-spacing:.9px;
    text-transform:uppercase;
}
.site-audio-head small { display:block; color:#777; font:700 7px Arial,sans-serif; letter-spacing:1.2px; margin-top:2px; }
.site-audio-controls { display:grid; grid-template-columns:34px 1fr; gap:8px; align-items:center; margin-top:8px; }
.site-audio-toggle {
    width:34px; height:30px; cursor:pointer; color:var(--hd-yellow);
    border:1px solid currentColor; background:rgba(0,0,0,.35);
    font:700 13px Arial,sans-serif;
}
.site-audio-toggle:hover { background:rgba(215,213,44,.08); }
.site-audio-volume { width:100%; accent-color:var(--hd-yellow); cursor:pointer; }
.site-audio-status { color:#777; font:700 7px Arial,sans-serif; letter-spacing:.7px; text-transform:uppercase; margin-top:5px; }
.site-audio-status.is-playing { color:#72df7d; }
.site-audio-status.is-blocked { color:#e0b44e; }
html[data-hd-theme="meridian"] body .site-audio-wrap { border-bottom-color:rgba(156,134,255,.20); }
html[data-hd-theme="meridian"] body .site-audio-panel {
    border-color:rgba(156,134,255,.35); border-left-color:#9c86ff; background:rgba(88,61,150,.08);
}
html[data-hd-theme="meridian"] body .site-audio-toggle { color:#9c86ff; }
html[data-hd-theme="meridian"] body .site-audio-toggle:hover { background:rgba(156,134,255,.11); }

/* ==========================================================================
   DISCORD — cor oficial Blurple
   ========================================================================== */
.hd-button.discord {
    background: #5865F2 !important;
    border-color: #7983F5 !important;
    color: #fff !important;
    box-shadow: 0 0 0 rgba(88,101,242,0);
}
.hd-button.discord:hover {
    background: #6875F5 !important;
    border-color: #A5ADFF !important;
    color: #fff !important;
    box-shadow: 0 0 20px rgba(88,101,242,.34) !important;
}

/* ==========================================================================
   ZOOM GLOBAL DO HELLDIVERS-BR
   Criado pelo theme.js e persistido via localStorage.
   ========================================================================== */
.site-zoom-wrap {
    margin: -5px 0 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(215,213,44,.18);
}
.site-zoom-panel {
    border: 1px solid rgba(215,213,44,.24);
    border-left: 3px solid var(--hd-yellow);
    background: rgba(255,255,255,.022);
    padding: 8px 9px;
}
.site-zoom-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: #ddd;
    font: 700 9px 'Oswald', Impact, sans-serif;
    letter-spacing: .9px;
    text-transform: uppercase;
}
.site-zoom-head small {
    display: block;
    color: #777;
    font: 700 7px Arial, sans-serif;
    letter-spacing: 1.15px;
    margin-top: 2px;
}
.site-zoom-value {
    color: var(--hd-yellow);
    font: 800 11px 'Oswald', Impact, sans-serif;
    letter-spacing: .5px;
}
.site-zoom-controls {
    display: grid;
    grid-template-columns: 34px 1fr 34px;
    gap: 6px;
    align-items: stretch;
    margin-top: 8px;
}
.site-zoom-btn,
.site-zoom-reset {
    min-height: 32px;
    cursor: pointer;
    border: 1px solid rgba(215,213,44,.34);
    background: rgba(0,0,0,.34);
    color: #ddd;
}
.site-zoom-btn {
    font: 900 18px Arial, sans-serif;
    color: var(--hd-yellow);
}
.site-zoom-reset {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 4px 6px;
}
.site-zoom-reset small {
    margin-top: 3px;
    color: #777;
    font: 700 6px Arial, sans-serif;
    letter-spacing: .6px;
}
.site-zoom-btn:hover,
.site-zoom-reset:hover {
    border-color: var(--hd-yellow);
    background: rgba(215,213,44,.075);
}
.site-zoom-btn:disabled {
    opacity: .28;
    cursor: not-allowed;
}
html[data-hd-theme="meridian"] body .site-zoom-wrap {
    border-bottom-color: rgba(156,134,255,.20);
}
html[data-hd-theme="meridian"] body .site-zoom-panel {
    border-color: rgba(156,134,255,.35);
    border-left-color: #9c86ff;
    background: rgba(88,61,150,.08);
}
html[data-hd-theme="meridian"] body .site-zoom-btn,
html[data-hd-theme="meridian"] body .site-zoom-reset {
    border-color: rgba(156,134,255,.35);
}
html[data-hd-theme="meridian"] body .site-zoom-btn:hover,
html[data-hd-theme="meridian"] body .site-zoom-reset:hover {
    border-color: #9c86ff;
    background: rgba(156,134,255,.11);
}

@media(max-width:768px){
    .site-zoom-wrap{
        margin:0 0 12px;
        padding-bottom:12px;
    }
}

/* ==========================================================================
   BUSCA GLOBAL HDBR — componente automático da sidebar
   Criado por busca.js e carregado globalmente pelo theme.js.
   ========================================================================== */
.site-search-wrap{
    position:relative;
    z-index:2300;
    margin:-5px 0 14px;
    padding-bottom:14px;
    border-bottom:1px solid rgba(215,213,44,.18);
}
.site-search-panel{
    position:relative;
    border:1px solid rgba(215,213,44,.28);
    border-left:3px solid var(--hd-yellow);
    background:rgba(255,255,255,.022);
    padding:8px;
}
.site-search-label{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:7px;
    margin-bottom:7px;
    color:#ddd;
    font:800 8px/1 'Oswald',Impact,sans-serif;
    letter-spacing:.85px;
    text-transform:uppercase;
}
.site-search-label small{
    color:#6f6f6f;
    font:700 5.5px/1 Arial,sans-serif;
    letter-spacing:.75px;
    white-space:nowrap;
}
.site-search-input-row{
    position:relative;
    display:grid;
    grid-template-columns:25px minmax(0,1fr) 25px;
    align-items:center;
    min-height:34px;
    border:1px solid rgba(215,213,44,.34);
    background:rgba(0,0,0,.48);
}
.site-search-wrap:focus-within .site-search-input-row{
    border-color:var(--hd-yellow);
    box-shadow:0 0 13px rgba(215,213,44,.10);
}
.site-search-icon{
    color:var(--hd-yellow);
    text-align:center;
    font:900 17px/1 Arial,sans-serif;
    transform:rotate(-15deg);
}
.site-search-input-row input{
    width:100%;
    min-width:0;
    border:0;
    outline:0;
    background:transparent;
    color:#f3f3f3;
    padding:8px 3px;
    font:700 10px Arial,sans-serif;
}
.site-search-input-row input::placeholder{color:#707070;font-weight:600}
.site-search-input-row input::-webkit-search-cancel-button{display:none}
.site-search-clear{
    width:25px;
    height:30px;
    border:0;
    background:transparent;
    color:#777;
    cursor:pointer;
    font:700 17px/1 Arial,sans-serif;
}
.site-search-clear:hover{color:var(--hd-yellow)}
.site-search-wrap.is-loading .site-search-label::after{
    content:'SYNC';
    position:absolute;
    right:9px;
    top:25px;
    color:#7e7e7e;
    font:700 5px Arial,sans-serif;
    letter-spacing:.7px;
    pointer-events:none;
}
.site-search-results{
    position:absolute;
    left:0;
    right:0;
    top:calc(100% - 14px);
    z-index:2400;
    max-height:min(48vh,420px);
    overflow:auto;
    border:1px solid var(--hd-yellow);
    border-top:2px solid var(--hd-yellow);
    background:rgba(8,8,8,.985);
    box-shadow:0 16px 34px rgba(0,0,0,.72),0 0 18px rgba(215,213,44,.08);
}
.site-search-results[hidden]{display:none!important}
.site-search-result{
    display:grid;
    grid-template-columns:40px minmax(0,1fr) 16px;
    gap:9px;
    align-items:center;
    min-height:52px;
    padding:7px 8px;
    color:#e8e8e8;
    text-decoration:none;
    border-bottom:1px solid rgba(255,255,255,.07);
    background:linear-gradient(90deg,rgba(215,213,44,.025),transparent 46%);
}
.site-search-result:last-child{border-bottom:0}
.site-search-result:hover,
.site-search-result:focus{
    outline:0;
    background:linear-gradient(90deg,rgba(215,213,44,.13),rgba(215,213,44,.025));
}
.site-search-result-icon{
    width:40px;
    height:38px;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    background:#111;
    border:1px solid rgba(215,213,44,.20);
}
.site-search-result-icon img{width:100%;height:100%;object-fit:contain}
.site-search-result-copy{min-width:0}
.site-search-result-copy strong{
    display:block;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    color:var(--hd-yellow);
    font:800 10px/1.15 'Oswald',Impact,sans-serif;
    letter-spacing:.25px;
}
.site-search-result-copy small{
    display:block;
    margin-top:4px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    color:#858585;
    font:700 7px/1 Arial,sans-serif;
    letter-spacing:.45px;
    text-transform:uppercase;
}
.site-search-result-arrow{
    color:#6d6d6d;
    font:700 19px/1 Arial,sans-serif;
    text-align:center;
}
.site-search-result:hover .site-search-result-arrow{color:var(--hd-yellow)}
.site-search-empty{
    padding:13px 10px;
    color:#d5904f;
    font:800 8px/1.35 Arial,sans-serif;
    letter-spacing:.65px;
    text-align:center;
}
html[data-hd-theme="meridian"] body .site-search-wrap{border-bottom-color:rgba(156,134,255,.20)}
html[data-hd-theme="meridian"] body .site-search-panel{
    border-color:rgba(156,134,255,.35);
    border-left-color:#9c86ff;
    background:rgba(88,61,150,.08);
}
html[data-hd-theme="meridian"] body .site-search-input-row{border-color:rgba(156,134,255,.38)}
html[data-hd-theme="meridian"] body .site-search-wrap:focus-within .site-search-input-row{
    border-color:#9c86ff;
    box-shadow:0 0 16px rgba(156,134,255,.14);
}
html[data-hd-theme="meridian"] body .site-search-icon,
html[data-hd-theme="meridian"] body .site-search-result-copy strong,
html[data-hd-theme="meridian"] body .site-search-result:hover .site-search-result-arrow{color:#b9aaff}
html[data-hd-theme="meridian"] body .site-search-results{
    border-color:#9c86ff;
    background:rgba(7,5,13,.99);
    box-shadow:0 16px 34px rgba(0,0,0,.72),0 0 22px rgba(156,134,255,.12);
}
html[data-hd-theme="meridian"] body .site-search-result:hover,
html[data-hd-theme="meridian"] body .site-search-result:focus{
    background:linear-gradient(90deg,rgba(156,134,255,.15),rgba(156,134,255,.025));
}
@media(max-width:768px){
    .site-search-wrap{margin:0 0 12px;padding-bottom:12px}
    .site-search-results{max-height:50vh}
}

