
.brawler-page{
    max-width: 1140px;
    margin: 0 auto;
}

.brawler-hero-card{
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    padding: 0 !important;
}

.brawler-hero-top{
    background: linear-gradient(180deg, rgba(125,211,252,.95) 0%, rgba(186,230,253,.92) 100%);
    padding: 22px 18px 10px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,.18);
}

.brawler-hero-bottom{
    padding: 0 18px 24px;
}

.brawler-hero-image{
    width: 170px;
    height: 170px;
    object-fit: contain;
    display: block;
    margin: 0 auto -22px;
    filter: drop-shadow(0 14px 26px rgba(0,0,0,.28));
}

.brawler-hero-name{
    margin: 0 0 10px;
    font-size: 2.4rem;
    line-height: 1.05;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    text-shadow: 1px 1px 0 #000;
}
body.light-mode .brawler-hero-name{
    color: #111827;
    text-shadow: none;
}

.brawler-meta-row{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:12px;
    flex-wrap:wrap;
    margin-top: 18px;
    margin-bottom: 14px;
}

.brawler-meta-pill{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:7px 14px;
    border-radius:999px;
    font-size:.82rem;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.04em;
    background: rgba(255,255,255,.06);
    border:1px solid rgba(255,255,255,.10);
    color:#f3f4f6;
}

.brawler-meta-pill.role{
    background: rgba(250,204,21,.12);
    border-color: rgba(250,204,21,.3);
    color: #fde68a;
}

.brawler-meta-pill.rarity{
    background: rgba(125,211,252,.12);
    border-color: rgba(125,211,252,.3);
    color: #bae6fd;
}

.brawler-intro{
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.05rem;
}

.section-heading{
    margin: 0 0 14px;
    font-size: 1.75rem;
    line-height: 1.1;
    color: inherit;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .02em;
}

.brawler-card{
    border:1px solid rgba(255,255,255,.08);
    border-radius:16px;
    background: rgba(255,255,255,.02);
    overflow: hidden;
}

.brawler-stats-box{
    border:1px solid rgba(255,255,255,.08);
    border-radius:14px;
    overflow:hidden;
}

.brawler-stats-grid{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.brawler-stat-side-title{
    font-size: .95rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 10px;
}

.brawler-stat-side-title.attack{
    color: #fca5a5;
}

.brawler-stat-side-title.super{
    color: #fde68a;
}

.brawler-stat-col{
    padding: 14px;
}

.brawler-stat-row{
    display:flex;
    align-items:center;
    gap: 10px;
    background: rgba(255,255,255,.025);
    border:1px solid rgba(255,255,255,.05);
    border-radius: 12px;
    padding: 10px 12px;
    margin-bottom: 10px;
}

.brawler-stat-row:last-child{
    margin-bottom: 0;
}

.brawler-stat-icon{
    width: 38px;
    min-width: 38px;
    height: 38px;
    border-radius: 10px;
    display:grid;
    place-items:center;
    font-size: 1rem;
    font-weight: 900;
    color:#fff;
}

.brawler-stat-icon.red{ background:#ef4444; }
.brawler-stat-icon.green{ background:#22c55e; }
.brawler-stat-icon.yellow{ background:#f59e0b; color:#111827; }
.brawler-stat-icon.blue{ background:#38bdf8; }

.brawler-stat-label{
    font-size: .84rem;
    opacity: .8;
    line-height: 1.05;
}

.brawler-stat-value{
    font-size: 1.02rem;
    font-weight: 800;
    line-height: 1.15;
}

.brawler-table{
    width:100%;
    border-collapse: collapse;
}

.brawler-table th{
    text-align:left;
    font-size:.9rem;
    font-weight:800;
    padding:12px 14px;
    background: rgba(255,255,255,.05);
    border-bottom:1px solid rgba(255,255,255,.08);
}

.brawler-table td{
    padding:12px 14px;
    border-bottom:1px solid rgba(255,255,255,.06);
}

.brawler-table tbody tr:last-child td{
    border-bottom:0;
}

.brawler-ability-item + .brawler-ability-item,
.brawler-attack-item + .brawler-attack-item{
    border-top: 1px solid rgba(255,255,255,.08);
    margin-top: 16px;
    padding-top: 16px;
}

.brawler-ability-top,
.brawler-attack-top{
    display:flex;
    gap:12px;
    align-items:flex-start;
}

.brawler-ability-badge,
.brawler-attack-badge{
    width:42px;
    min-width:42px;
    height:42px;
    border-radius:12px;
    display:grid;
    place-items:center;
    font-size:1rem;
    font-weight:900;
    color:#fff;
}

.brawler-attack-badge.red{ background:#ef4444; }
.brawler-attack-badge.yellow{ background:#f59e0b; color:#111827; }
.brawler-ability-badge.green{ background:#22c55e; }
.brawler-ability-badge.gold{ background:#f59e0b; }

.brawler-attack-overline,
.brawler-ability-overline{
    font-size:.84rem;
    text-transform:uppercase;
    letter-spacing:.05em;
    opacity:.8;
    margin-bottom:2px;
}

.brawler-attack-name,
.brawler-ability-name{
    font-size:1.5rem;
    line-height:1.05;
    font-weight:900;
    margin:0;
}

.brawler-attack-desc,
.brawler-ability-desc{
    margin-top:8px;
    font-size:1rem;
    line-height:1.6;
}

.brawler-pick-tag{
    margin-left:auto;
    white-space:nowrap;
    padding:6px 10px;
    border-radius:999px;
    font-size:.82rem;
    font-weight:800;
    background: rgba(250,204,21,.12);
    border:1px solid rgba(250,204,21,.25);
    color:#fde68a;
}

.brawler-note{
    margin-top:10px;
    padding:10px 12px;
    border-radius:12px;
    background: rgba(255,255,255,.03);
    border:1px solid rgba(255,255,255,.06);
    font-size:.95rem;
}

.brawler-gear-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:12px 0;
    border-bottom:1px solid rgba(255,255,255,.08);
}

.brawler-gear-row:last-child{
    border-bottom:0;
}

.brawler-gear-name{
    font-weight:700;
}

.brawler-gear-rate{
    font-weight:900;
}

.brawler-text{
    font-size:1rem;
    line-height:1.7;
}

.brawler-faq-item + .brawler-faq-item{
    margin-top: 18px;
}

.brawler-faq-question{
    font-size:1.08rem;
    font-weight:800;
    margin-bottom:6px;
}

body.light-mode .brawler-hero-top{
    background: linear-gradient(180deg, rgba(186,230,253,.95) 0%, rgba(224,242,254,.95) 100%);
    border-bottom-color: #dbeafe;
}

body.light-mode .brawler-card,
body.light-mode .brawler-stats-box{
    background:#fff;
    border-color:#e5e7eb;
}

body.light-mode .brawler-meta-pill{
    background:#f9fafb;
    border-color:#e5e7eb;
    color:#111827;
}

body.light-mode .brawler-meta-pill.role{
    background: rgba(250,204,21,.12);
    border-color: rgba(250,204,21,.3);
    color: #a16207;
}

body.light-mode .brawler-meta-pill.rarity{
    background: rgba(125,211,252,.16);
    border-color: rgba(125,211,252,.32);
    color: #0369a1;
}

body.light-mode .brawler-stat-row,
body.light-mode .brawler-note,
body.light-mode .brawler-table th{
    background:#f8fafc;
    border-color:#e5e7eb;
}

body.light-mode .brawler-table td{
    border-color:#e5e7eb;
}

body.light-mode .brawler-ability-item + .brawler-ability-item,
body.light-mode .brawler-attack-item + .brawler-attack-item,
body.light-mode .brawler-gear-row{
    border-color:#e5e7eb;
}

body.light-mode .brawler-pick-tag{
    background:#fff7ed;
    border-color:#fed7aa;
    color:#9a3412;
}

@media (max-width: 991.98px){
    .brawler-stats-grid{
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px){
    .brawler-hero-image{
        width: 136px;
        height: 136px;
        margin-bottom: -14px;
    }

    .brawler-hero-name{
        font-size: 2.45rem;
    }

    .section-heading{
        font-size: 1.4rem;
    }

    .brawler-attack-name,
    .brawler-ability-name{
        font-size: 1.22rem;
    }

    .brawler-table th,
    .brawler-table td{
        padding: 10px 8px;
        font-size: .92rem;
    }

    .brawler-ability-top,
    .brawler-attack-top{
        align-items: flex-start;
    }

    .brawler-pick-tag{
        margin-left: 0;
        margin-top: 8px;
    }
}

