/* SUPREMACY WAR ROOM v5.0 - HORIZONTAL CARD */
:root {
    --hud-bg: #050505;
    --hud-panel: #0e0e10;
    --hud-border: #222222;
    --hud-accent: #3b82f6;
    --hud-danger: #ef4444;
    --hud-success: #10b981;
    --hud-text: #ececec;
    --hud-text-muted: #707070;
    --font-ui: 'Inter', sans-serif;
    --font-tech: 'JetBrains Mono', monospace;
}

body.war-room-body {
    background-color: var(--hud-bg) !important;
    margin: 0;
    padding: 0;
    width: 100vw;
    min-height: 100vh;
    overflow-x: hidden;
    /* Opção 2: Fundo Dinâmico (Digital Grid) */
    background-image: 
        linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), 
        linear-gradient(90deg, rgba(255, 0, 0, 0.03), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.03)),
        linear-gradient(rgba(59, 130, 246, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.05) 1px, transparent 1px);
    background-size: 100% 2px, 3px 100%, 40px 40px, 40px 40px;
    animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
    from { background-position: 0 0, 0 0, 0 0, 0 0; }
    to { background-position: 0 0, 0 0, 0 40px, 0 40px; }
}

/* Opção 3: Contador de Operadores */
.operator-status {
    font-family: var(--font-tech);
    font-size: 0.7rem;
    color: var(--hud-success);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.operator-status .dot {
    width: 6px; height: 6px; background: var(--hud-success); border-radius: 50%;
    box-shadow: 0 0 10px var(--hud-success);
    animation: blink 1s infinite;
}

/* Opção 1: Painel de MVPs */
.wce-mvps {
    background: rgba(0,0,0,0.4);
    border-top: 1px solid var(--hud-border);
    padding: 8px 20px;
    display: flex;
    gap: 20px;
    align-items: center;
}
.mvp-label { font-size: 0.6rem; color: #555; text-transform: uppercase; font-weight: 800; letter-spacing: 1px; }
.mvp-list { display: flex; gap: 15px; }
.mvp-item { display: flex; align-items: center; gap: 5px; font-size: 0.7rem; font-family: var(--font-tech); color: #ccc; }
.mvp-item i { color: #ffd700; font-size: 0.8rem; }
.mvp-item strong { color: #fff; }

body.war-room-body nav {
    max-width: 100% !important;
    padding: 0 40px !important;
}

/* --- HEADER HUD --- */
.war-room-header {
    width: 100%;
    padding: 110px 40px 30px;
    border-bottom: 1px solid var(--hud-border);
    display: grid;
    grid-template-columns: 1fr auto 1fr; /* Grid de 3 colunas para centralizar o título */
    align-items: flex-end;
    background: linear-gradient(180deg, #000 0%, #080808 100%);
    box-sizing: border-box;
}

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

.glitch-text {
    position: relative;
    font-family: 'Syncopate', sans-serif;
    font-size: 3.2rem;
    font-weight: 900;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: 10px;
    margin: 0;
    text-shadow: 0 0 10px rgba(255,255,255,0.2);
    animation: glitch-skew 1s infinite linear alternate-reverse;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch-text::before {
    left: 2px;
    text-shadow: -2px 0 #ff00c1;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch-text::after {
    left: -2px;
    text-shadow: -2px 0 #00fff9, 2px 2px #ff00c1;
    animation: glitch-anim2 1s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(31px, 9999px, 94px, 0); transform: skew(0.85deg); }
    5% { clip: rect(70px, 9999px, 71px, 0); transform: skew(0.1deg); }
    10% { clip: rect(29px, 9999px, 83px, 0); transform: skew(0.35deg); }
    /* ... (animação continua) */
    100% { clip: rect(67px, 9999px, 62px, 0); transform: skew(0.6deg); }
}

@keyframes glitch-anim2 {
    0% { clip: rect(65px, 9999px, 100px, 0); transform: skew(0.5deg); }
    20% { clip: rect(10px, 9999px, 30px, 0); transform: skew(0.2deg); }
    /* ... (animação continua) */
    100% { clip: rect(80px, 9999px, 90px, 0); transform: skew(0.8deg); }
}

@keyframes glitch-skew {
    0% { transform: skew(0deg); }
    10% { transform: skew(3deg); }
    20% { transform: skew(-1deg); }
    30% { transform: skew(1deg); }
    40% { transform: skew(0deg); }
    100% { transform: skew(0deg); }
}

.header-left h1 {
    font-family: 'Syncopate', sans-serif;
    font-size: 2.8rem;
    margin: 0;
    letter-spacing: 4px;
}

.wr-status-bar {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
    font-family: var(--font-tech);
    font-size: 0.75rem;
    color: #ffd700;
}

/* --- DASHBOARD GRID --- */
.war-dashboard {
    display: flex;
    width: 100%;
    /* Removido height fixo para não forçar scroll global unificado */
    padding: 20px 40px;
    gap: 30px;
    box-sizing: border-box;
    align-items: stretch;
}

.col-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
    min-width: 0;
    /* Removido overflow-y: auto */
}

.col-side {
    width: 450px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

/* --- PAINÉIS --- */
.hud-panel {
    background: var(--hud-panel);
    border: 1px solid var(--hud-border);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* FEED HEADER ESTILIZADO */
.feed-header {
    padding: 12px 20px;
    background: linear-gradient(90deg, rgba(255,255,255,0.03) 0%, rgba(0,0,0,0) 100%);
    border-bottom: 1px solid var(--hud-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Lado Esquerdo: Título */
.feed-header span:first-child {
    font-family: 'Syncopate', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--hud-text);
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}

.feed-header span:first-child i {
    color: var(--hud-accent);
}

/* Lado Direito: REC */
.feed-header span:last-child {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--hud-danger);
    background: rgba(239, 68, 68, 0.1);
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid rgba(239, 68, 68, 0.2);
    display: flex;
    align-items: center;
    gap: 6px;
    animation: none; /* Remove a animação inline antiga se houver */
}

/* Bolinha do REC */
.feed-header span:last-child::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    background-color: var(--hud-danger);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--hud-danger);
    animation: pulse-rec 1.5s infinite;
}

/* Remove o texto "●" antigo se estiver no HTML, focando apenas no texto REC */
.feed-header span:last-child {
    font-size: 0; /* Esconde texto direto */
}
.feed-header span:last-child::after {
    content: 'REC';
    font-size: 0.7rem; /* Restaura tamanho para o pseudo-elemento */
}

@keyframes pulse-rec {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1); }
}

/* --- WAR CARD HORIZONTAL --- */
.war-card-elite {
    background: #0a0a0c;
    border: 1px solid var(--hud-border);
    border-left: 4px solid var(--hud-accent);
    display: grid;
    grid-template-columns: 1fr 280px; /* Split Card: Info | Actions */
    height: 320px;
    overflow: hidden;
}

/* Coluna Esquerda: Informações */
.wce-main {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.wce-header {
    background: rgba(255,255,255,0.02);
    padding: 10px 20px;
    border-bottom: 1px solid var(--hud-border);
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--hud-text-muted);
    letter-spacing: 2px;
    height: 40px;
    box-sizing: border-box;
    display: flex; justify-content: space-between; align-items: center;
}

.wce-body {
    padding: 10px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.wce-guild {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 150px;
}
.wce-guild img { width: 70px; height: 70px; border-radius: 8px; margin-bottom: 8px; border: 1px solid #333; }
.wce-guild h3 { font-size: 1.1rem; margin: 0; color: #fff; }

.wce-vs { text-align: center; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.wce-timer { font-family: var(--font-tech); font-size: 2.5rem; font-weight: 700; color: #fff; line-height: 1; }
.wce-vs span { font-size: 0.7rem; color: #555; letter-spacing: 2px; margin-top: 5px; display: block; }

.wce-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #050505;
    border-top: 1px solid var(--hud-border);
    height: 70px;
}
.stat-box { 
    display: flex; flex-direction: column; justify-content: center;
    padding: 0; text-align: center; border-right: 1px solid var(--hud-border); 
}
.stat-box label { display: block; font-size: 0.65rem; color: #555; text-transform: uppercase; margin-bottom: 2px; }
.stat-box span { font-size: 1.2rem; font-weight: 700; color: #ffd700; font-family: var(--font-tech); }

/* Coluna Direita: Painel de Ações */
.wce-actions-side {
    border-left: 1px solid var(--hud-border);
    background: #080808;
    display: flex;
    flex-direction: column;
}

.action-header {
    padding: 10px;
    text-align: center;
    font-size: 0.7rem;
    color: #555;
    border-bottom: 1px solid var(--hud-border);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.action-btn {
    flex: 1;
    background: #111;
    border: none;
    border-bottom: 1px solid var(--hud-border);
    color: #fff;
    font-family: var(--font-tech);
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
    text-transform: uppercase;
    font-size: 0.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.action-btn:last-child { border-bottom: none; }
.action-btn i { font-size: 1.2rem; margin-bottom: 2px; }

.action-btn:hover:not(:disabled) { background: #1a1a1a; color: var(--hud-accent); }
.action-btn:disabled { opacity: 0.3; cursor: not-allowed; background: #050505; }

/* REPARO FIREWALL BAR */
.def-bar-container { 
    width: 100%; 
    height: 16px; /* Aumentado para caber texto */
    background: #222; 
    border-radius: 10px; /* Bordas Arredondadas */
    margin-top: 5px; 
    overflow: hidden;
    position: relative;
    border: 1px solid #333;
}

.def-bar-fill { 
    height: 100%; 
    transition: width 0.5s ease;
    border-radius: 10px; /* Bordas Arredondadas */
}

.def-text-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 0 2px #000;
    font-family: var(--font-tech);
    z-index: 2;
}

/* --- FEED & CHAT --- */
.panel-content { flex: 1; overflow-y: auto; padding: 0; }

/* --- FEED ITEM REFINADO --- */
.feed-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    margin: 8px 15px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    font-family: var(--font-tech);
    transition: all 0.3s ease;
    animation: slideInFeed 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feed-item:hover {
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.04);
}

/* Status: SUCESSO (Geral) */
.feed-item.success {
    border-left: 4px solid var(--hud-success);
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.1) 0%, transparent 100%);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Status: FALHA (Geral) */
.feed-item.fail {
    border-left: 4px solid var(--hud-danger);
    background: linear-gradient(90deg, rgba(239, 68, 68, 0.1) 0%, transparent 100%);
    opacity: 0.9;
}

/* Tipos Específicos */
.feed-item.defense { border-left-color: var(--hud-accent); background: linear-gradient(90deg, rgba(59, 130, 246, 0.1) 0%, transparent 100%); }
.feed-item.precision { border-left-color: #d946ef; background: linear-gradient(90deg, rgba(217, 70, 239, 0.1) 0%, transparent 100%); }

.feed-icon {
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.success .feed-icon { color: var(--hud-success); text-shadow: 0 0 10px var(--hud-success); }
.fail .feed-icon { color: var(--hud-danger); text-shadow: 0 0 10px var(--hud-danger); }
.defense .feed-icon { color: var(--hud-accent); text-shadow: 0 0 10px var(--hud-accent); }
.precision .feed-icon { color: #d946ef; text-shadow: 0 0 10px #d946ef; }

.feed-content-text {
    flex: 1;
    font-size: 0.85rem;
    line-height: 1.4;
    color: #bbb;
}

.feed-content-text strong { color: #fff; }
.feed-content-text .amount { font-weight: 800; color: #fff; }

.feed-time {
    font-size: 0.7rem;
    color: #555;
    white-space: nowrap;
}

/* --- TACTICAL COMMS (CHAT PREMIUM) --- */
.chat-panel {
    border-left: 2px solid var(--hud-accent);
    background: linear-gradient(180deg, #0a0a0c 0%, #050505 100%);
    position: relative;
    overflow: hidden;
}

/* NOVO: Estilo Premium para o Header do Chat */
.chat-panel .chat-header-elite {
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.15) 0%, rgba(0,0,0,0.4) 100%);
    padding: 15px 20px;
    border-bottom: 1px solid rgba(59, 130, 246, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.chat-panel .chat-header-elite span:first-child {
    font-family: 'Syncopate', sans-serif;
    font-size: 0.8rem;
    font-weight: 900;
    color: var(--hud-accent);
    letter-spacing: 3px;
    text-shadow: 0 0 15px rgba(59, 130, 246, 0.6);
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Indicador de Canal Ativo */
.chat-panel .chat-header-elite .active-signal {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6rem;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    padding: 3px 10px;
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 2px;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.chat-panel .chat-header-elite .active-signal::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10b981;
    animation: blink 1s infinite;
}

/* Scanline Effect para o Chat */
.chat-panel::after {
    content: " ";
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.1) 50%), 
                linear-gradient(90deg, rgba(255, 0, 0, 0.02), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.02));
    background-size: 100% 2px, 3px 100%;
    pointer-events: none;
    z-index: 10;
}

.chat-panel .hud-header {
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.1) 0%, transparent 100%);
    color: var(--hud-accent);
    border-bottom: 1px solid #222;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-panel .hud-header::after {
    content: "ENCRYPTED";
    font-size: 0.6rem;
    background: rgba(59, 130, 246, 0.2);
    padding: 2px 8px;
    border-radius: 2px;
    letter-spacing: 1px;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    scrollbar-width: thin;
}

/* Estilo da Mensagem Individual */
.chat-msg {
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
    padding-left: 12px;
    border-left: 1px solid #222;
}

.chat-msg .meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-tech);
    font-size: 0.7rem;
}

.chat-msg .time { color: #444; }

.chat-msg .guild-tag {
    color: #fff;
    background: #222;
    padding: 1px 5px;
    border-radius: 2px;
    font-weight: 800;
    font-size: 0.65rem;
}

.chat-msg .user {
    color: var(--hud-accent);
    font-weight: bold;
    text-transform: uppercase;
}

.chat-msg .text {
    color: #bbb;
    font-size: 0.85rem;
    line-height: 1.4;
    word-break: break-word;
}

/* Input Estilo Terminal */
.chat-input-box {
    padding: 20px;
    background: #0e0e10;
    border-top: 1px solid #222;
    display: flex;
    gap: 12px;
}

.chat-input-box input {
    flex: 1;
    background: #000;
    border: 1px solid #333;
    color: var(--hud-accent);
    font-family: var(--font-tech);
    padding: 12px 15px;
    border-radius: 4px;
    outline: none;
    transition: all 0.3s;
}

.chat-input-box input:focus {
    border-color: var(--hud-accent);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.2);
}

.chat-input-box button {
    background: var(--hud-accent);
    color: #000;
    border: none;
    font-family: 'Syncopate';
    font-weight: 900;
    padding: 0 25px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.75rem;
    transition: all 0.2s;
}

.chat-input-box button:hover {
    filter: brightness(1.2);
    transform: translateY(-1px);
}

/* --- NOVO LAYOUT SPLIT (FEED + RANKING) --- */
.intel-split-row {
    display: grid;
    grid-template-columns: 1fr 380px; 
    gap: 20px;
    height: 400px;
    margin-top: 10px;
}

.live-feed-panel, .rankings-panel {
    background: #0a0a0c;
    border: 1px solid #222;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 4px;
    height: 100%;
}

.feed-content, .rank-list {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
    min-height: 0;
}

/* Custom Scrollbars */
.feed-content::-webkit-scrollbar, 
.rank-list::-webkit-scrollbar,
.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.feed-content::-webkit-scrollbar-track,
.rank-list::-webkit-scrollbar-track,
.chat-messages::-webkit-scrollbar-track {
    background: #000;
}

.feed-content::-webkit-scrollbar-thumb,
.rank-list::-webkit-scrollbar-thumb,
.chat-messages::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 3px;
}

.feed-content::-webkit-scrollbar-thumb:hover,
.rank-list::-webkit-scrollbar-thumb:hover {
    background: #444;
}

/* --- FEED HEADER ESTILIZADO --- */
.feed-header {
    padding: 12px 20px;
    background: linear-gradient(90deg, rgba(255,255,255,0.03) 0%, rgba(0,0,0,0) 100%);
    border-bottom: 1px solid var(--hud-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rank-tabs {
    display: flex;
    background: rgba(255,255,255,0.02);
    border-bottom: 1px solid #222;
}

.rank-tab {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 5px;
    color: #555;
    font-family: 'JetBrains Mono';
    font-size: 0.65rem;
    cursor: pointer;
    transition: 0.2s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rank-tab.active {
    color: #fff;
    background: rgba(255,255,255,0.05);
    box-shadow: inset 0 -2px 0 #fff;
}

/* --- RANKINGS PANEL (TACTICAL ELITE DESIGN) --- */
.rankings-panel {
    background: #08080a;
    border: 1px solid #1a1a1c;
    position: relative;
    overflow: hidden;
}

/* Header Estilo Badge */
.rankings-panel .hud-header {
    background: linear-gradient(90deg, #161b22 0%, #08080a 100%);
    color: #ffd700;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
    font-family: 'Syncopate', sans-serif;
    letter-spacing: 3px;
    font-size: 0.75rem;
    padding: 15px 20px;
    border-bottom: 1px solid #222;
    display: flex;
    align-items: center;
    gap: 12px;
}

.rankings-panel .hud-header i {
    font-size: 1rem;
    filter: drop-shadow(0 0 5px #ffd700);
}

/* Abas Estilo Módulo */
.rank-tabs {
    display: flex;
    background: #000;
    padding: 5px;
    gap: 5px;
    border-bottom: 1px solid #1a1a1c;
}

.rank-tab {
    flex: 1;
    background: #0d1117;
    border: 1px solid #21262d;
    color: #8b949e;
    padding: 10px 0;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 2px;
}

.rank-tab:hover {
    color: #fff;
    background: #161b22;
    border-color: #30363d;
}

.rank-tab.active {
    color: #fff;
    background: var(--hud-accent);
    border-color: var(--hud-accent);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
}

/* Lista de Rankings */
.rank-list {
    flex: 1;
    padding: 10px;
    background-image: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.03) 0%, transparent 70%);
}

.rank-row {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    margin-bottom: 6px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 4px;
    transition: all 0.2s ease;
}

.rank-row:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateX(4px);
}

/* Posição e Medalhas */
.rank-pos {
    font-family: 'Syncopate', sans-serif;
    font-weight: 900;
    font-size: 1.1rem;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0,0,0,0.3);
    color: #333;
}

/* Estilo do Top 3 */
.rank-row:nth-child(1) { border-color: rgba(255, 215, 0, 0.2); background: linear-gradient(90deg, rgba(255, 215, 0, 0.05) 0%, transparent 100%); }
.rank-row:nth-child(1) .rank-pos { color: #ffd700; border: 1px solid #ffd700; box-shadow: 0 0 10px rgba(255, 215, 0, 0.2); }

.rank-row:nth-child(2) { border-color: rgba(192, 192, 192, 0.2); background: linear-gradient(90deg, rgba(192, 192, 192, 0.05) 0%, transparent 100%); }
.rank-row:nth-child(2) .rank-pos { color: #c0c0c0; border: 1px solid #c0c0c0; }

.rank-row:nth-child(3) { border-color: rgba(205, 127, 50, 0.2); background: linear-gradient(90deg, rgba(205, 127, 50, 0.05) 0%, transparent 100%); }
.rank-row:nth-child(3) .rank-pos { color: #cd7f32; border: 1px solid #cd7f32; }

/* Informações do Jogador */
.rank-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.rank-info strong {
    color: #eee;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    font-family: 'Inter', sans-serif;
}

.rank-info span {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: #666;
    margin-top: 2px;
}

/* Valor Neon */
.rank-row i {
    font-size: 1rem;
    opacity: 0.4;
    color: var(--hud-accent);
}

.rankings-panel .rank-list::-webkit-scrollbar { width: 4px; }
.rankings-panel .rank-list::-webkit-scrollbar-thumb { background: #333; border-radius: 10px; }

/* RESPONSIVO */
@media (max-width: 1200px) {
    .intel-split-row {
        grid-template-columns: 1fr;
        height: auto;
    }
    .live-feed-panel, .rankings-panel {
        height: auto;
    }
}

/* MOBILE OPTIMIZATIONS (Max 768px) */
@media (max-width: 768px) {
    /* Layout Global */
    body.war-room-body {
        overflow-x: hidden;
    }

    body.war-room-body nav {
        padding: 0 15px !important;
    }

    .war-room-header {
        padding: 90px 20px 20px;
        grid-template-columns: 1fr;
        gap: 15px;
        text-align: center;
    }

    .header-left, .header-right {
        display: none; /* Simplificar header no mobile */
    }

    .header-center {
        width: 100%;
    }

    .glitch-text {
        font-size: 1.8rem;
        letter-spacing: 4px;
    }

    /* Dashboard Layout */
    .war-dashboard {
        flex-direction: column;
        padding: 15px;
        gap: 20px;
    }

    .col-main, .col-side {
        width: 100%;
        min-width: 0;
    }

    .col-side {
        order: 2; /* Chat abaixo */
        height: auto;
    }

    /* War Card Elite - Mobile Redesign */
    .war-card-elite {
        grid-template-columns: 1fr;
        height: auto;
        border-left: none;
        border-top: 4px solid var(--hud-accent);
    }

    .wce-header {
        justify-content: center;
        text-align: center;
    }

    .wce-body {
        flex-direction: column;
        padding: 20px 15px;
        gap: 25px;
    }

    .wce-guild {
        width: 100%;
        flex-direction: row;
        align-items: center;
        gap: 15px;
        background: rgba(255,255,255,0.02);
        padding: 10px;
        border-radius: 8px;
    }

    .wce-guild img {
        width: 50px;
        height: 50px;
        margin-bottom: 0;
    }

    .wce-guild h3 {
        font-size: 1rem;
        flex: 1;
        text-align: left;
    }

    .def-bar-container {
        width: 100px;
        margin-top: 0;
    }

    .wce-vs {
        flex-direction: row;
        gap: 10px;
        align-items: center;
        padding: 10px 0;
        border-top: 1px dashed rgba(255,255,255,0.1);
        border-bottom: 1px dashed rgba(255,255,255,0.1);
        width: 100%;
    }

    .wce-timer {
        font-size: 1.5rem;
    }

    .wce-vs span {
        margin-top: 0;
        font-size: 0.6rem;
    }

    /* Actions Panel no Card */
    .wce-actions-side {
        border-left: none;
        border-top: 1px solid var(--hud-border);
    }

    .action-btn {
        flex-direction: row;
        padding: 15px;
        gap: 10px;
        font-size: 0.9rem;
    }

    .action-btn i {
        font-size: 1rem;
        margin-bottom: 0;
    }

    /* Intel Panels */
    .intel-split-row {
        grid-template-columns: 1fr;
        height: auto;
        gap: 15px;
    }

    .live-feed-panel, .rankings-panel {
        max-height: 300px;
    }

    /* Chat */
    .chat-panel {
        height: 400px;
        border-left: none;
        border-top: 2px solid var(--hud-accent);
    }

    /* Modals & Minigames */
    .modal-content {
        width: 95% !important;
        padding: 20px !important;
    }

    /* Canvas Responsiveness */
    #firewall-game-modal, #aim-game-modal {
        padding: 10px;
    }

    canvas {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 4/3;
        max-width: 100%;
    }

    /* Game HUDs */
    #fw-hud, #aim-hud {
        position: static !important;
        width: 100%;
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 10px !important;
        margin-bottom: 15px;
    }

    #fw-hud > div, #aim-hud > div {
        padding: 8px 5px !important;
        font-size: 0.8rem;
    }

    #fw-hud > div:last-child, #aim-hud > div:last-child {
        grid-column: span 2;
    }

    .mvp-card {
        padding: 15px !important;
    }
    
    #war-end-modal div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        padding: 0 !important;
    }
}