/* /Layout/ArenaLayout.razor.rz.scp.css */
.arena-wrapper[b-vk86xx5ity] {
    display: flex;
    flex-direction: column;
    height: 100vh; /* Ocupa 100% da altura do ecrã do telemóvel/monitor */
    width: 100vw;
    background-color: #1a1a1a; /* Fundo escuro de jogo */
    overflow: hidden; /* Impede scroll indesejado da página inteira */
}

.arena-header[b-vk86xx5ity] {
    height: 3rem;
    background-color: #0d0d0d;
    border-bottom: 1px solid #333;
}

.arena-main[b-vk86xx5ity] {
    flex-grow: 1; /* Ocupa o resto do espaço disponível */
    display: flex;
    flex-direction: column;
    overflow: hidden;
}


/* --- Modal de Surrender --- */
.surrender-modal-backdrop[b-vk86xx5ity] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.85);
    z-index: 4000; /* Fica acima de tudo na arena */
    display: flex;
    justify-content: center;
    align-items: center;
}

.surrender-modal-content[b-vk86xx5ity] {
    background: #1a1a1a;
    width: 90%;
    max-width: 400px;
    border: 2px solid #dc3545; /* Borda vermelha (danger) */
    border-radius: 8px;
    padding: 25px;
    color: #ddd;
    text-align: center;
    box-shadow: 0 10px 30px rgba(220, 53, 69, 0.3); /* Brilho vermelho escuro */
    animation: popIn-b-vk86xx5ity 0.2s ease-out;
}

@keyframes popIn-b-vk86xx5ity {
    0% {
        transform: scale(0.9);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}
/* /Layout/MainLayout.razor.rz.scp.css */
.game-container[b-mb1hdglzs2] {
    display: flex;
    flex-direction: column; /* Mobile: sidebar em cima, conte�do em baixo */
    background-color: #121212;
    background-image: url('/images/ui/main-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
}

.main-content[b-mb1hdglzs2] {
    display: flex;
    flex-direction: column; /* Obriga a Top Row a ficar no topo */
    flex: 1; /* Ocupa o restante ecr� */
}

.sidebar[b-mb1hdglzs2] {
    background-color: #1a1a1a;
    background-image: url('/images/ui/sidebar-bg.jpg');
    background-size: cover;
    border-bottom: 2px solid #444;
}

.top-row[b-mb1hdglzs2] {
    background-color: rgba(15, 15, 15, 0.9);
    border-bottom: 1px solid #333;
    height: 4.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    width: 100%;
}

.content[b-mb1hdglzs2] {
    padding-top: 2rem;
    padding-bottom: 2rem;
    flex: 1;
    width: 100%;
    max-width: 1200px; /* limite monitores gigantes */
    margin: 0 auto; /*  centra tudo horizontalmente */
}

/* Comportamento Desktop / Landscape */
@media (min-width: 641px) {
    .game-container[b-mb1hdglzs2] {
        flex-direction: row; /* Coloca a Sidebar ao lado do Main Content */
    }

    .sidebar[b-mb1hdglzs2] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
        border-bottom: none;
        border-right: 2px solid #444;
        box-shadow: 2px 0 10px rgba(0,0,0,0.8);
    }

    .top-row[b-mb1hdglzs2] {
        position: sticky;
        top: 0;
        z-index: 1;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
.top-row[b-lndwlsrrzy] {
    min-height: 4.5rem;
    background-color: rgba(0,0,0,0.6);
    border-bottom: 2px solid #555;
}

.navbar-toggler[b-lndwlsrrzy] {
    background-color: rgba(255, 255, 255, 0.1);
}

.game-menu[b-lndwlsrrzy] {
    padding-top: 1rem;
}

.nav-item[b-lndwlsrrzy] {
    margin-bottom: 0.5rem;
}

    .nav-item[b-lndwlsrrzy]  a {
        color: #b3b3b3;
        border-radius: 4px;
        height: 3.5rem;
        display: flex;
        align-items: center;
        line-height: 3.5rem;
        font-size: 1.1rem;
        font-weight: 500;
        transition: all 0.2s ease;
        border-left: 4px solid transparent;
        white-space: nowrap; /* Impede a quebra de linha do texto e do �cone */
    }

        .nav-item[b-lndwlsrrzy]  a:hover {
            background-color: rgba(255,255,255,0.05);
            color: #fff;
            border-left: 4px solid #fff;
        }

        .nav-item[b-lndwlsrrzy]  a.active {
            background-color: rgba(255, 216, 0, 0.15);
            color: #ffd800;
            border-left: 4px solid #ffd800;
            text-shadow: 0 0 8px rgba(255, 216, 0, 0.5);
        }

.game-logo[b-lndwlsrrzy] {
    font-family: 'Cinzel', serif;
    font-weight: bold;
    color: #ffd800;
    font-size: 1.75rem;
    letter-spacing: 2px;
}

@media (min-width: 641px) {
    .navbar-toggler[b-lndwlsrrzy] {
        display: none;
    }

    .collapse[b-lndwlsrrzy] {
        display: block;
    }

    .nav-scrollable[b-lndwlsrrzy] {
        height: calc(100vh - 4.5rem);
        overflow-y: auto;
    }
}
/* /Pages/Arena/Arena.razor.rz.scp.css */
.startup-screen[b-9rrck4fa9w] {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.startup-box[b-9rrck4fa9w] {
    background: rgba(0, 0, 0, 0.8);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    border: 2px solid #555;
}
/* /Pages/Arena/Components/AbilityButton.razor.rz.scp.css */
/* O GameObject Pai (Relativo) */
.ability-slot[b-jliriwc7vy] {
    position: relative;
    width: 36px;
    height: 36px;
    cursor: pointer;
    /* Se a tua moldura fundida tiver cantos redondos, mantém isto. Se for quadrada com bicos, muda para 0 */
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.1s ease;
}

    .ability-slot:hover[b-jliriwc7vy] {
        transform: scale(1.1);
    }

/* O teu Ícone Completo (Fica no fundo de tudo, z-index 1) */
.ability-icon[b-jliriwc7vy] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: 100% 100%;
    background-position: center;
    background-color: #222; /* Fundo enquanto a imagem carrega da cloud */
    z-index: 1;
}


/* A película de Cooldown (Absoluta, Fica por cima de tudo) */
.cooldown-overlay[b-jliriwc7vy] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.75); /* Escurece o ícone */
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
    text-shadow: 0 0 5px red;
}

/* Se estiver em cooldown, tira a mãozinha de clique */
.on-cooldown[b-jliriwc7vy] {
    cursor: not-allowed;
}

/* --- CUSTOS DA HABILIDADE (Mini-Essences) --- */
.ability-costs[b-jliriwc7vy] {
    position: absolute;
    bottom: -4px; /* Sai ligeiramente para fora do botão pela base */
    left: 50%;
    transform: translateX(-50%); /* Centra o grupo de bolinhas perfeitamente */
    display: flex;
    gap: 1px;
    z-index: 4; /* Fica por cima de tudo, até do cooldown */
}


.mini-essence[b-jliriwc7vy] {
    width: 10px; /* talvez ajustar isto entre 8px e 12px  */
    height: 10px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(0,0,0,0.8);
}


/* Se não puder pagar a habilidade, escurece e remove o cursor */
.unaffordable[b-jliriwc7vy] {
    filter: brightness(0.4) grayscale(80%);
    cursor: not-allowed;
}

    .unaffordable:hover[b-jliriwc7vy] {
        transform: none; /* Desativa o efeito de zoom */
    }


/* RESPONSIVIDADE MOBILE */
@media (max-height: 650px) {
    .ability-slot[b-jliriwc7vy] {
        width: 24px; /* Mais pequeno em telemóveis */
        height: 24px;
    }

    .ability-icon-placeholder[b-jliriwc7vy] {
        font-size: 0.8rem;
    }

    .cooldown-overlay[b-jliriwc7vy] {
        font-size: 0.9rem;
    }
}
/* /Pages/Arena/Components/ArenaBoard.razor.rz.scp.css */
.arena-board[b-8uk8tvo3yg] {
    flex-grow: 1;
    display: flex;
    justify-content: space-between;
    padding: 20px 20px 50px 20px;
    background-color: #222;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.team-side[b-8uk8tvo3yg] {
    width: 38%;
    display: flex;
    flex-direction: column;
}

.arena-center[b-8uk8tvo3yg] {
    width: 20%;
    display: flex;
    justify-content: center;
    padding-top: 10px;
}

.turn-indicator[b-8uk8tvo3yg] {
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 1.2rem;
    height: fit-content;
    border: 1px solid #ffd800;
}

.combatants-column[b-8uk8tvo3yg] {
    display: grid;
    grid-template-rows: 1fr 1fr 1fr;
    align-items: center;
    gap: 10px;
    height: 100%;
}

.enemy-grid[b-8uk8tvo3yg] {
    display: grid;
    grid-template-rows: 1fr 1fr 1fr;
    align-items: center;
    gap: 10px;
    height: 100%;
}

    .enemy-grid.two-columns[b-8uk8tvo3yg] {
        grid-template-columns: 1fr 1fr;
    }

    .enemy-grid.single-column[b-8uk8tvo3yg] {
        grid-template-columns: 1fr;
    }

    .enemy-grid > div[b-8uk8tvo3yg] {
        display: flex;
        justify-content: flex-end;
        width: 100%;
    }

.grid-front-top[b-8uk8tvo3yg] {
    grid-column: 1;
    grid-row: 1;
}

.grid-front-mid[b-8uk8tvo3yg] {
    grid-column: 1;
    grid-row: 2;
}

.grid-front-bot[b-8uk8tvo3yg] {
    grid-column: 1;
    grid-row: 3;
}

.grid-back-top[b-8uk8tvo3yg] {
    grid-column: 2;
    grid-row: 1;
}

.grid-back-mid[b-8uk8tvo3yg] {
    grid-column: 2;
    grid-row: 2;
}

.grid-back-bot[b-8uk8tvo3yg] {
    grid-column: 2;
    grid-row: 3;
}

.grid-single-col-row-1[b-8uk8tvo3yg] {
    grid-column: 1;
    grid-row: 1;
}

.grid-single-col-row-2[b-8uk8tvo3yg] {
    grid-column: 1;
    grid-row: 2;
}

.grid-single-col-row-3[b-8uk8tvo3yg] {
    grid-column: 1;
    grid-row: 3;
}

@media (max-height: 650px) {
    .arena-board[b-8uk8tvo3yg] {
        padding: 5px 10px 25px 10px;
    }

    .combatants-column[b-8uk8tvo3yg], .enemy-grid[b-8uk8tvo3yg] {
        gap: 2px;
    }

    .turn-indicator[b-8uk8tvo3yg] {
        font-size: 0.9rem;
        padding: 2px 10px;
    }

    .team-side[b-8uk8tvo3yg] {
        width: 42%;
    }

    [b-8uk8tvo3yg] .combatant-card {
        border-width: 12px;
        padding: 2px 4px;
    }

    [b-8uk8tvo3yg] .hp-container {
        height: 10px;
        margin-top: 1px;
    }

    [b-8uk8tvo3yg] .hp-text {
        font-size: 0.5rem;
        line-height: 10px;
    }
}
/* /Pages/Arena/Components/ArenaFooter.razor.rz.scp.css */
/* =========================================
   BASE LAYOUT (FOOTER)
   ========================================= */
.arena-footer[b-bybd18wrsq] {
    position: relative;
    height: 25vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #111;
    background-image: url('/images/ui/footer_bg.jpg');
    background-size: cover;
    background-position: top center;
    border-top: none;
    padding: 10px 20px;
    transition: height 0.3s ease;
}

    .arena-footer[b-bybd18wrsq]::before {
        content: '';
        position: absolute;
        top: -40px;
        height: 40px;
        left: 0;
        width: 100%;
        background-image: url('/images/ui/footer_separator.jpg');
        background-size: 100% 100%;
        background-repeat: no-repeat;
        background-position: center;
        z-index: 10;
        pointer-events: none;
    }

.footer-section[b-bybd18wrsq] {
    flex: 1;
    display: flex;
    height: 100%;
}

.footer-left[b-bybd18wrsq] {
    justify-content: flex-start;
    align-items: flex-end;
}

.footer-center[b-bybd18wrsq] {
    justify-content: center;
    max-width: 800px;
    width: 100%;
}

.footer-right[b-bybd18wrsq] {
    justify-content: flex-end;
    align-items: flex-end;
}

/* =========================================
   BOTÕES E UI GERAL
   ========================================= */
.end-turn-btn[b-bybd18wrsq] {
    background-color: transparent;
    border: none;
    padding: 0;
    background-image: url('/images/ui/btn_action.jpg');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    width: 220px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: inherit;
    font-weight: bold;
    font-size: 1.2rem;
    color: #ffffff;
    text-shadow: 2px 2px 4px #000, 0 0 10px #ff3300;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.6);
    transition: transform 0.1s ease, filter 0.3s ease;
}

    .end-turn-btn:active:not(:disabled)[b-bybd18wrsq] {
        transform: scale(0.95);
    }

    .end-turn-btn:disabled[b-bybd18wrsq] {
        filter: grayscale(100%) brightness(0.6);
        cursor: not-allowed;
        color: #ccc;
        text-shadow: 2px 2px 4px #000;
    }

.mobile-logs-btn[b-bybd18wrsq], .mobile-ticker[b-bybd18wrsq] {
    display: none;
}

/* =========================================
   TOOLTIP DA ARENA (CAIXA PRINCIPAL)
   ========================================= */
.desktop-tooltip[b-bybd18wrsq] {
    width: 450px;
    height: 85%;
    margin-left: 40px;
    align-self: center;
    background-image: url('/images/ui/tooltip_bg.jpg');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    padding: 25px 40px 45px 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    color: #eee;
    font-family: sans-serif;
    text-shadow: 1px 1px 2px black;
    overflow: hidden;
}

.tooltip-placeholder[b-bybd18wrsq] {
    text-align: center;
    color: #f8f9fa;
    opacity: 0.8;
    font-style: italic;
    margin-top: 20px;
}

/* =========================================
   CABEÇALHO DA TOOLTIP (Ícone, Nome, Custos)
   ========================================= */
.tooltip-ability-icon[b-bybd18wrsq] {
    width: 28px;
    height: 28px;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.tooltip-ability-name[b-bybd18wrsq] {
    font-family: 'Cinzel', serif;
    letter-spacing: 1px;
    line-height: 1;
}

.tooltip-cost-val[b-bybd18wrsq] {
    font-size: 0.8rem;
}

.tooltip-hp-icon[b-bybd18wrsq] {
    width: 14px;
    height: 14px;
    font-size: 0.7rem;
    filter: drop-shadow(0 2px 2px rgba(0,0,0,0.8));
}

.tooltip-essence-icon-compact[b-bybd18wrsq] {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(255,255,255,0.3);
}

/* =========================================
   CORPO DA TOOLTIP (Tags e Descrição Base)
   ========================================= */
.tooltip-tag[b-bybd18wrsq] {
    font-size: 0.65rem;
}

.tooltip-narrative[b-bybd18wrsq] {
    font-size: 0.8rem;
    line-height: 1.2;
}

/* =========================================
   CAIXA DOS EFEITOS (Matemática e Modificadores)
   ========================================= */
.tooltip-effects-box[b-bybd18wrsq] {
    background-color: #0a0a0a;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.8);
}

.tooltip-effect-title[b-bybd18wrsq] {
    font-size: 0.75rem;
}

.tooltip-effect-math[b-bybd18wrsq] {
    color: #adb5bd;
    font-size: 0.65rem;
    font-style: italic;
}

.tooltip-effect-duration[b-bybd18wrsq] {
    font-size: 0.65rem;
}

.tooltip-effect-desc[b-bybd18wrsq] {
    color: #ced4da;
    font-size: 0.7rem;
    line-height: 1.2;
    font-style: italic;
}


.tooltip-combatant-portrait[b-bybd18wrsq] {
    width: 36px;
    height: 36px;
    background-size: cover;
    background-position: top center;
    border-radius: 4px;
    border: 1px solid #666;
    box-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

/* =========================================
   RESPONSIVIDADE (Ecrãs Pequenos / Mobile)
   ========================================= */
@media (max-height: 650px) {
    .arena-footer[b-bybd18wrsq] {
        height: auto;
        padding: 5px 15px;
    }

        .arena-footer[b-bybd18wrsq]::before {
            height: 20px;
            top: -20px;
        }

    .end-turn-btn[b-bybd18wrsq] {
        width: 150px;
        height: 45px;
        font-size: 1rem;
    }

    .desktop-logs-wrapper[b-bybd18wrsq] {
        display: none;
    }

    .mobile-logs-btn[b-bybd18wrsq] {
        display: block;
        font-size: 0.85rem;
        padding: 5px 10px;
    }

    .mobile-ticker[b-bybd18wrsq] {
        display: block;
        width: 100%;
        text-align: center;
        color: #ffd800;
        font-family: monospace;
        font-size: 0.95rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        padding: 0 10px;
        align-self: center;
    }

    .desktop-tooltip[b-bybd18wrsq] {
        display: none;
    }
}
/* /Pages/Arena/Components/ArenaModals.razor.rz.scp.css */
.mobile-logs-modal[b-q024srcm89] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.85);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile-logs-content[b-q024srcm89] {
    background: #1a1a1a;
    width: 90%;
    height: 90%;
    border: 2px solid #555;
    border-radius: 10px;
    padding: 15px;
    display: flex;
    flex-direction: column;
}
/* /Pages/Arena/Components/BattleLogPanel.razor.rz.scp.css */
.battle-logs-panel[b-bbcvybjmf2] {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    color: #ddd;
    font-family: monospace;
    background: rgba(20, 20, 20, 0.9);
    border: 1px solid #444;
    border-radius: 8px;
    padding: 10px;
    box-shadow: inset 0 0 10px #000;
}

.log-list[b-bbcvybjmf2] {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
    text-align: center;
}

    .log-list li[b-bbcvybjmf2] {
        padding: 4px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
/* /Pages/Arena/Components/CombatantCard.razor.rz.scp.css */
.combatant-card[b-j9wcr5hkst] {
    display: flex;
    /* 1. Define o espaço da borda */
    border-style: solid;
    border-color: transparent;
    border-width: 18px;
    /* 2. Vai buscar a imagem à pasta wwwroot (usando a barra '/' inicial para não haver erros de pastas) */
    border-image-source: url('/images/ui/card_frame.jpg');
    /* 3. O CSS faz o corte automático (9-slice). Ajusta o '40' se os cantos ficarem deformados */
    border-image-slice: 40 fill;
    border-image-repeat: stretch;
    padding: 6px;
    width: 100%;
    max-width: 350px;
    color: white;
    transition: all 0.3s ease;
}

/* LADO ESQUERDO */
.card-left[b-j9wcr5hkst] {
    display: flex;
    flex-direction: column; /* Retrato em cima, Buffs em baixo */
    align-items: center;
    margin-right: 10px;
}

.portrait-placeholder[b-j9wcr5hkst] {
    width: 60px;
    height: 60px;
    background-size: 100% 100%; /* Estica a imagem perfeitamente para os 60x60 */
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 4px; /* Espaço para separar dos buffs */
    /* Se a tua imagem do retrato já tiver a moldura rúnica nos cantos, 
       podes apagar este border-radius para ela ficar quadrada perfeita */
    border-radius: 4px;
}

/* Como apagámos o texto no HTML, esta classe já não é usada, mas podes deixá-la assim por segurança */
.portrait-text[b-j9wcr5hkst] {
    display: none;
}

.modifiers-zone[b-j9wcr5hkst] {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    justify-content: flex-start; /*  Alinha à esquerda */
    width: 100%; /* Ocupa a largura toda por baixo do retrato */
    padding-left: 2px;
}

.modifier-icon.placeholder[b-j9wcr5hkst] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #00e5ff; /* Ciano de Buff */
    border: 1px solid #fff;
}

/* LADO DIREITO */
.card-right[b-j9wcr5hkst] {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Empurra HP para cima e Skills para baixo */
}

.name[b-j9wcr5hkst] {
    font-weight: bold;
    font-size: 1rem;
    line-height: 1;
    margin-bottom: 2px;
}

.hp-container[b-j9wcr5hkst] {
    width: 100%;
    height: 16px;
    background-color: #4a0000;
    border: 1px solid #000;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.hp-fill[b-j9wcr5hkst] {
    height: 100%;
    background-color: #2ecc71;
    transition: width 0.4s ease-out;
}

.hp-text[b-j9wcr5hkst] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 0.7rem;
    font-weight: bold;
    line-height: 16px;
    color: white;
    text-shadow: 1px 1px 1px black;
}

.abilities-zone[b-j9wcr5hkst] {
    display: flex;
    gap: 4px; /* Espaço entre os quadrados das habilidades */
    margin-top: 5px;
}


/* --- ESTILOS DE TARGETING (MÁQUINA DE ESTADOS VISUAL) --- */

/* Cartas que não são alvos válidos ficam escuras e sem brilho */
.targeting-mode:not(.valid-target):not(.selected-target)[b-j9wcr5hkst] {
    opacity: 0.4;
    filter: grayscale(80%) drop-shadow(0 0 0 transparent);
}

/* Alvos que podes clicar ganham o cursor de mira e uma Aura Ciano */
.valid-target[b-j9wcr5hkst] {
    cursor: crosshair;
    filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.8));
}

    /* Quando passas o rato por cima do alvo válido, a Aura fica mais forte */
    .valid-target:hover[b-j9wcr5hkst] {
        filter: drop-shadow(0 0 15px rgba(0, 229, 255, 1));
        transform: scale(1.02);
    }

/* O alvo que já selecionaste fica bloqueado e com Aura Vermelha */
.selected-target[b-j9wcr5hkst] {
    cursor: default;
    filter: drop-shadow(0 0 15px rgba(255, 0, 85, 1));
}


/* RESPONSIVIDADE MOBILE LANDSCAPE */
@media (max-height: 650px) {
    .combatant-card[b-j9wcr5hkst] {
        padding: 4px;
        border-width: 1px;
    }

    .card-left[b-j9wcr5hkst] {
        margin-right: 6px;
    }

    .portrait-placeholder[b-j9wcr5hkst] {
        width: 40px;
        height: 40px;
    }

    .portrait-text[b-j9wcr5hkst] {
        font-size: 1.2rem;
    }

    .modifiers-zone[b-j9wcr5hkst] {
        width: 40px;
    }

    .name[b-j9wcr5hkst] {
        font-size: 0.8rem;
    }

    .hp-container[b-j9wcr5hkst] {
        height: 12px;
    }

    .hp-text[b-j9wcr5hkst] {
        font-size: 0.6rem;
        line-height: 12px;
    }
}
/* /Pages/Arena/Components/CombatResultModal.razor.rz.scp.css */
.result-modal-backdrop[b-yjxlpwdvah] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.9);
    z-index: 3000;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn-b-yjxlpwdvah 0.5s ease;
}

.result-modal-content[b-yjxlpwdvah] {
    width: 90%;
    max-width: 500px;
    border-radius: 10px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    position: relative;
    overflow: hidden;
}

/* VICTORY THEME */
.victory[b-yjxlpwdvah] {
    background: linear-gradient(135deg, #1a1500, #332b00);
    border: 2px solid #ffd800;
    box-shadow: 0 0 30px rgba(255, 216, 0, 0.4);
}

    .victory .result-title[b-yjxlpwdvah] {
        color: #ffd800;
        text-shadow: 0 0 15px rgba(255, 216, 0, 0.8);
    }

    .victory .return-btn[b-yjxlpwdvah] {
        background-color: #ffd800;
        color: #000;
        font-weight: bold;
        border: none;
    }

        .victory .return-btn:hover[b-yjxlpwdvah] {
            background-color: #ffea00;
        }

/* DEFEAT THEME */
.defeat[b-yjxlpwdvah] {
    background: linear-gradient(135deg, #220000, #110000);
    border: 2px solid #ff3333;
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.3);
}

    .defeat .result-title[b-yjxlpwdvah] {
        color: #ff4444;
        text-shadow: 0 0 15px rgba(255, 0, 0, 0.8);
    }

    .defeat .return-btn[b-yjxlpwdvah] {
        background-color: #440000;
        color: #fff;
        border: 1px solid #ff3333;
    }

        .defeat .return-btn:hover[b-yjxlpwdvah] {
            background-color: #660000;
        }

.result-title[b-yjxlpwdvah] {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.rewards-box[b-yjxlpwdvah] {
    background: rgba(0,0,0,0.6);
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    border: 1px solid rgba(255,255,255,0.1);
}

.level-up-alert[b-yjxlpwdvah] {
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    border: 1px solid #2ecc71;
    padding: 10px;
    border-radius: 5px;
    font-weight: bold;
}

@keyframes fadeIn-b-yjxlpwdvah {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}
/* /Pages/Arena/Components/ExchangeEssenceModal.razor.rz.scp.css */
.custom-modal-backdrop[b-mq0d9kotuy] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.85);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.custom-modal-content[b-mq0d9kotuy] {
    background: #1a1a1a;
    width: 90%;
    max-width: 600px;
    border: 2px solid #555;
    border-radius: 10px;
    padding: 20px;
    color: #ddd;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

/*.essence-btn {
    border-radius: 8px;
    font-weight: bold;
    color: white;
    text-shadow: 1px 1px 2px black;
    border: 2px solid transparent;
}*/

.essence-btn[b-mq0d9kotuy] {
    width: 48px; /* Tamanho fixo para o botão ser uma bola grande e fácil de clicar */
    height: 48px;
    border-radius: 50%; /* Corta o teu JPG em círculo */
    background-size: cover;
    background-position: center;
    border: 2px solid transparent;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.5);
    transition: transform 0.1s ease, filter 0.2s;
    padding: 0; /* Remove padding interno do botão HTML */
}

.essence-btn:hover:not(:disabled)[b-mq0d9kotuy] {
    transform: scale(1.1);
}

/* Quando o botão está bloqueado (ex: já escolheste 2) */
.essence-btn:disabled[b-mq0d9kotuy] {
    filter: grayscale(100%) opacity(0.3);
    cursor: not-allowed;
}

/*.selected-outline {
    border: 2px solid #ffd800;
    box-shadow: 0 0 10px #ffd800;
    transform: scale(1.1);
}*/

.selected-outline[b-mq0d9kotuy] {
    border: 2px solid #ffd800;
    box-shadow: 0 0 15px #ffd800;
    transform: scale(1.1);
}

/*.vigor {
    background-color: #ff6a00;
}

.mind {
    background-color: #00e5ff;
}

.light {
    background-color: #ffd800;
}

.shadow {
    background-color: #aa00ff;
}

.flux {
    background-color: #ff0055;
}*/
/* /Pages/Arena/Components/PaymentModal.razor.rz.scp.css */
.custom-modal-backdrop[b-izoaifsg8o] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.85);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.custom-modal-content[b-izoaifsg8o] {
    background: #1a1a1a;
    width: 90%;
    max-width: 400px;
    border: 2px solid #555;
    border-radius: 10px;
    padding: 20px;
    color: #ddd;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

/*.essence-btn {
    border-radius: 8px;
    font-weight: bold;
    color: white;
    text-shadow: 1px 1px 2px black;
    border: 2px solid transparent;
}*/

/* O Botão Base (A Esfera) */
.essence-btn[b-izoaifsg8o] {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 2px solid transparent;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.5);
    transition: transform 0.1s ease, filter 0.2s;
    padding: 0;
}

    /* O efeito de passar o rato */
    .essence-btn:hover:not(:disabled)[b-izoaifsg8o] {
        transform: scale(1.1);
    }

    /* Quando o botão bloqueia (já atingiu o limite de pagamento) */
    .essence-btn:disabled[b-izoaifsg8o] {
        filter: grayscale(100%) opacity(0.3);
        cursor: not-allowed;
    }

/*.vigor {
    background-color: #ff6a00;
}

.mind {
    background-color: #00e5ff;
}

.light {
    background-color: #ffd800;
}

.shadow {
    background-color: #aa00ff;
}

.flux {
    background-color: #ff0055;
}

.neutral {
    background-color: #aaaaaa;
}*/
/* /Pages/Arena/Components/PlayerResourceBar.razor.rz.scp.css */
.resource-bar[b-xra6hlswk3] {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid #444;
    border-radius: 8px;
    padding: 8px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    margin-bottom: 10px;
}

.player-name[b-xra6hlswk3] {
    font-weight: bold;
    font-size: 1.1rem;
    color: #e0e0e0;
}

.essence-pool[b-xra6hlswk3] {
    display: flex;
    gap: 12px;
}

.essence-slot[b-xra6hlswk3] {
    position: relative;
    width: 32px;
    height: 32px;
}

/*.essence-icon {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.7);
    box-shadow: 0 2px 4px rgba(0,0,0,0.8);
}*/

.essence-icon[b-xra6hlswk3] {
    width: 100%;
    height: 100%;
    border-radius: 50%; /* O CORTA-MASSAS: transforma o  JPG quadrado num círculo perfeito! */
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(255,255,255,0.4);
    box-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.essence-count[b-xra6hlswk3] {
    position: absolute;
    bottom: -4px;
    right: -4px;
    background-color: #222;
    color: #fff;
    border: 1px solid #aaa;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.75rem;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.9);
    z-index: 2;
}

/*.vigor {
    background-color: #ff6a00;
}

.mind {
    background-color: #00e5ff;
}

.light {
    background-color: #ffd800;
}

.shadow {
    background-color: #aa00ff;
}

.flux {
    background-color: #ff0055;
}

.neutral {
    background-color: #aaaaaa;
}*/

.exchange-btn[b-xra6hlswk3] {
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    font-size: 1.1rem;
    box-shadow: 0 0 5px rgba(255, 216, 0, 0.5);
}

@media (max-height: 650px) {
    .resource-bar[b-xra6hlswk3] {
        padding: 2px 8px;
        margin-bottom: 4px;
    }

    .player-name[b-xra6hlswk3] {
        font-size: 0.85rem;
    }

    .essence-pool[b-xra6hlswk3] {
        gap: 8px;
    }

    .essence-slot[b-xra6hlswk3] {
        width: 24px;
        height: 24px;
    }

    .essence-count[b-xra6hlswk3] {
        width: 14px;
        height: 14px;
        font-size: 0.6rem;
        bottom: -2px;
        right: -2px;
    }

    .exchange-btn[b-xra6hlswk3] {
        width: 24px;
        height: 24px;
        font-size: 0.8rem;
    }
}
/* /Pages/Dungeons.razor.rz.scp.css */
.page-header[b-txhhpdn955] {
    margin-bottom: 2rem;
}

.title[b-txhhpdn955] {
    font-weight: bold;
}

.subtitle[b-txhhpdn955] {
    color: #e0e0e0;
}

.dungeon-card[b-txhhpdn955] {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    min-height: 150px;
}

    .dungeon-card:hover:not(.locked)[b-txhhpdn955] {
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(255, 216, 0, 0.2) !important;
    }

    .dungeon-card.locked[b-txhhpdn955] {
        filter: grayscale(80%) brightness(0.6);
        cursor: not-allowed;
    }

.hero-select-card[b-txhhpdn955] {
    cursor: pointer;
    transition: transform 0.2s ease;
}

    .hero-select-card:hover[b-txhhpdn955] {
        transform: scale(1.05);
    }


/* --- CAMP UI --- */
.camp-hero-card[b-txhhpdn955] {
    box-shadow: inset 0 0 20px rgba(0,0,0,0.8);
    transition: filter 0.3s;
}

.hero-dead[b-txhhpdn955] {
    filter: grayscale(100%) opacity(0.7);
}


/* --- MODAL --- */
.modal-backdrop[b-txhhpdn955] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.85);
    z-index: 4000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content-custom[b-txhhpdn955] {
    background: #1a1a1a;
    width: 90%;
    max-width: 450px;
    border: 2px solid #dc3545;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(220, 53, 69, 0.3);
}
/* /Pages/Encounters.razor.rz.scp.css */
.page-header[b-ictt1puuvv] {
    text-align: center;
    margin-bottom: 2rem;
}

.title[b-ictt1puuvv] {
    font-weight: bold;
}

.subtitle[b-ictt1puuvv] {
    color: #e0e0e0;
}

.encounter-card[b-ictt1puuvv] {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .encounter-card:hover[b-ictt1puuvv] {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4) !important;
    }

.hero-select-card[b-ictt1puuvv] {
    cursor: pointer;
    transition: transform 0.2s ease;
}

    .hero-select-card:hover[b-ictt1puuvv] {
        transform: scale(1.03);
    }



.encounter-locked[b-ictt1puuvv] {
    filter: grayscale(80%) brightness(0.7);
    cursor: not-allowed;
    border-color: #333 !important;
}

    .encounter-locked:hover[b-ictt1puuvv] {
        transform: none; /* Desativa a animação de hover */
        box-shadow: none !important;
    }
/* /Pages/Guild.razor.rz.scp.css */
.page-header[b-2bxvsoerf3] {
    text-align: center;
    margin-bottom: 3rem;
}

.title[b-2bxvsoerf3] {
    font-weight: bold;
}

.subtitle[b-2bxvsoerf3] {
    color: #e0e0e0;
}

.hero-card[b-2bxvsoerf3] {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .hero-card:hover[b-2bxvsoerf3] {
        transform: translateY(-4px);
        box-shadow: 0 6px 15px rgba(255, 216, 0, 0.2) !important;
    }

.hero-portrait[b-2bxvsoerf3] {
    height: 200px;
    background-color: #212529; /* bg-dark */
    background-size: cover;
    background-position: top center;
    border-bottom: 1px solid #6c757d; /* border-secondary */
}



.xp-bar-container[b-2bxvsoerf3] {
    height: 12px;
    width: 200px;
    background-color: #222;
}

@media (max-width: 768px) {
    .xp-bar-container[b-2bxvsoerf3] {
        width: 100%; /* No telemóvel a barra de XP ocupa a largura toda */
    }
}
/* /Pages/HeroDetails.razor.rz.scp.css */
/* Efeitos base da Carta do Herói */
.hero-portrait-card[b-v6e65vi0ow] {
    transition: transform 0.3s ease;
}

    .hero-portrait-card:hover[b-v6e65vi0ow] {
        transform: translateY(-5px);
    }

.hero-details-img[b-v6e65vi0ow] {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: top center;
    border-top-left-radius: calc(0.25rem - 1px);
    border-top-right-radius: calc(0.25rem - 1px);
}

/* Stats Box */
.stat-box[b-v6e65vi0ow] {
    transition: background-color 0.2s ease, border-color 0.2s ease;
    cursor: help;
}

    .stat-box:hover[b-v6e65vi0ow] {
        background-color: #1a1d20 !important;
        border-color: #ffc107 !important;
    }

.stat-box-title[b-v6e65vi0ow] {
    font-size: 0.75rem;
    letter-spacing: 1px;
}

/* Cartão de Habilidades */
.ability-card[b-v6e65vi0ow] {
    transition: box-shadow 0.2s ease;
}

    .ability-card:hover[b-v6e65vi0ow] {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.8) !important;
    }

.ability-icon-col[b-v6e65vi0ow] {
    width: 110px;
    min-width: 110px;
    background-size: cover;
    background-position: center;
    border-right: 2px solid #333;
}

/* Ícones de Custo (Essence e HP) */
.cost-essence-icon[b-v6e65vi0ow] {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.cost-hp-icon[b-v6e65vi0ow] {
    width: 20px;
    height: 20px;
    font-size: 0.9rem;
    filter: drop-shadow(0 2px 2px rgba(0,0,0,0.8));
}

.effect-math-box[b-v6e65vi0ow] {
    box-shadow: inset 0 0 10px rgba(0,0,0,0.8);
    background-color: #0a0a0a; /* Fundo ligeiramente mais escuro para destacar da carta */
}

.effect-row[b-v6e65vi0ow] {
    font-size: 0.85rem;
}

.effect-base-math[b-v6e65vi0ow] {
    font-size: 0.75rem;
}

.effect-text-secondary[b-v6e65vi0ow] {
    color: #ced4da; /* Um cinzento muito clarinho e legível */
    font-size: 0.8rem;
    font-style: italic;
}


/* ======= NOVOS ESTILOS PARA O WIDGET DA TAVERNA ======= */
.tavern-widget[b-v6e65vi0ow] {
    transition: transform 0.3s ease;
}

.conditions-box[b-v6e65vi0ow] {
    box-shadow: inset 0 0 10px rgba(0,0,0,0.8);
}
/* /Pages/Index.razor.rz.scp.css */
.landing-banner[b-w2450z53eg] {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.9)), url('/images/ui/landing-bg.jpg') center/cover;
}

.landing-title[b-w2450z53eg] {
    text-shadow: 0 0 15px rgba(255, 216, 0, 0.5);
}

.news-card[b-w2450z53eg] {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .news-card:hover[b-w2450z53eg] {
        transform: translateY(-4px);
        box-shadow: 0 6px 15px rgba(0, 229, 255, 0.15) !important;
    }

.news-card-img[b-w2450z53eg] {
    height: 150px;
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid #444;
}

/* Correção do contraste do Summary */
.news-card-summary[b-w2450z53eg] {
    color: #e0e0e0; 
    opacity: 0.85;
    line-height: 1.5;
}

/* Correção da Data no rodapé para não ficar invisível */
.news-card-date[b-w2450z53eg] {
    color: #adb5bd; /* Um cinzento mais claro que o text-muted normal */
}
/* /Pages/NewsDetail.razor.rz.scp.css */
.article-hero-img[b-a9zn96lvej] {
    max-height: 400px;
    object-fit: cover;
    object-position: center;
}

.article-title[b-a9zn96lvej] {
    font-family: 'Cinzel', serif;
    letter-spacing: 1px;
}

.article-content[b-a9zn96lvej] {
    white-space: pre-wrap;
    line-height: 1.6;
    font-size: 1.05rem;
}

/* Reutilização dos estilos do teu modal do Dungeons */
.modal-backdrop[b-a9zn96lvej] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.85);
    z-index: 4000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content-custom[b-a9zn96lvej] {
    background: #1a1a1a;
    width: 90%;
    max-width: 450px;
    border: 2px solid #dc3545;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(220, 53, 69, 0.3);
}
/* /Pages/Quests.razor.rz.scp.css */
.quest-card[b-hsvolzzcz7] {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .quest-card:hover:not(.quest-completed)[b-hsvolzzcz7] {
        transform: translateY(-4px);
        box-shadow: 0 6px 15px rgba(255, 216, 0, 0.15) !important;
    }

.quest-completed[b-hsvolzzcz7] {
    /* Diminui a cor e a opacidade da quest, e dá um leve tom esverdeado à borda */
    filter: grayscale(40%) opacity(0.8);
    border-color: #198754 !important; /* bs-success */
}

    .quest-completed:hover[b-hsvolzzcz7] {
        transform: none;
    }

.reroll-btn[b-hsvolzzcz7] {
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    font-size: 1rem;
    box-shadow: 0 0 5px rgba(255, 216, 0, 0.3);
    transition: transform 0.1s ease;
}

    .reroll-btn:hover:not(:disabled)[b-hsvolzzcz7] {
        transform: scale(1.1) rotate(15deg);
    }

    .reroll-btn:disabled[b-hsvolzzcz7] {
        filter: grayscale(100%);
        cursor: not-allowed;
        opacity: 0.5;
    }

.rewards-box[b-hsvolzzcz7] {
    box-shadow: inset 0 0 10px rgba(0,0,0,0.8);
}
/* /Pages/Tavern.razor.rz.scp.css */
.page-header[b-8njsjhb1mk] {
    margin-bottom: 2rem;
}

.title[b-8njsjhb1mk] {
    font-family: 'Cinzel', serif;
    letter-spacing: 1px;
}

.tavern-card[b-8njsjhb1mk] {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden; /* Para que o border-radius corte a imagem corretamente */
}

    .tavern-card:hover:not(.hero-locked)[b-8njsjhb1mk] {
        transform: translateY(-4px);
        box-shadow: 0 6px 15px rgba(255, 216, 0, 0.15) !important;
    }

.hero-portrait[b-8njsjhb1mk] {
    height: 220px;
    background-color: #1a1d20;
    background-size: cover;
    background-position: top center;
    border-bottom: 2px solid #444;
}

/* Efeito visual para heróis que ainda não cumprem os requisitos */
.hero-locked .hero-portrait[b-8njsjhb1mk] {
    filter: grayscale(80%) brightness(0.6);
}

.hero-locked .card-title[b-8njsjhb1mk] {
    color: #6c757d !important; /* Cinzento muted em vez de Info */
}

.owned-overlay[b-8njsjhb1mk] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.conditions-box[b-8njsjhb1mk] {
    box-shadow: inset 0 0 10px rgba(0,0,0,0.8);
}

.gold-display[b-8njsjhb1mk] {
    min-width: 150px;
}
