.lookup-hero{
    max-width:900px;
    margin:0 auto;
}
.lookup-panel{
    border:1px solid rgba(255,255,255,.08);
    border-radius:20px;
    background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.015));
    box-shadow:0 18px 40px rgba(0,0,0,.22);
    backdrop-filter:blur(8px);
}
.lookup-form{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    align-items:center;
}
.lookup-input{
    flex:1 1 320px;
    background:rgba(255,255,255,.04);
    border:1px solid rgba(255,255,255,.12);
    color:#fff;
    border-radius:12px;
    padding:12px 14px;
    outline:none;
}
.lookup-btn{
    border:0;
}
.lookup-note{
    font-size:.9rem;
    color:rgba(255,255,255,.66);
}
.lookup-empty{
    border:1px solid rgba(255,255,255,.08);
    border-radius:18px;
    background:rgba(255,255,255,.02);
}
.player-head{
    display:flex;
    gap:18px;
    align-items:center;
    flex-wrap:wrap;
}
.player-icon{
    width:92px;
    height:92px;
    object-fit:contain;
    border-radius:18px;
}
.player-tag{
    font-size:.95rem;
    color:rgba(255,255,255,.68);
}
.player-main-name{
    margin-bottom:4px;
}
.player-fav{
    display:inline-flex;
    align-items:center;
    margin-top:6px;
    padding:5px 10px;
    border-radius:999px;
    font-size:.74rem;
    font-weight:700;
    border:1px solid rgba(255,255,255,.12);
    background:rgba(255,255,255,.04);
    color:rgba(255,255,255,.86);
}
.player-fav img{
    width:22px;
    height:22px;
    object-fit:contain;
    margin-right:6px;
}
.player-stat-card{
    border:1px solid rgba(255,255,255,.08);
    border-radius:16px;
    background:rgba(255,255,255,.025);
    height:100%;
}
.player-stat-label{
    font-size:.78rem;
    color:rgba(255,255,255,.66);
    margin-bottom:6px;
}
.player-stat-value{
    font-size:1.2rem;
    font-weight:800;
    line-height:1.1;
}
.player-info-list{
    list-style:none;
    padding-left:0;
    margin:0;
}
.player-info-list li{
    padding:10px 0;
    border-bottom:1px solid rgba(255,255,255,.08);
    color:rgba(255,255,255,.82);
}
.player-info-list li:last-child{
    border-bottom:0;
}
.player-info-label{
    color:rgba(255,255,255,.62);
    font-weight:600;
    margin-right:8px;
}
.bs-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
}
.brawler-mini-card{
    border:1px solid rgba(255,255,255,.08);
    border-radius:14px;
    background:rgba(255,255,255,.025);
    padding:10px;
    display:flex;
    align-items:center;
    gap:10px;
}
.brawler-mini-img{
    width:52px;
    height:52px;
    object-fit:contain;
    flex:0 0 52px;
}
.brawler-mini-name{
    font-size:.9rem;
    font-weight:700;
    margin-bottom:2px;
}
.brawler-mini-meta{
    font-size:.77rem;
    color:rgba(255,255,255,.68);
}
.battle-list{
    display:flex;
    flex-direction:column;
    gap:10px;
}
.battle-item{
    border:1px solid rgba(255,255,255,.08);
    border-radius:14px;
    background:rgba(255,255,255,.025);
    padding:12px;
    display:flex;
    justify-content:space-between;
    gap:14px;
    align-items:center;
    flex-wrap:wrap;
}
.battle-left{
    display:flex;
    align-items:center;
    gap:12px;
    min-width:0;
}
.battle-brawler-img{
    width:52px;
    height:52px;
    object-fit:contain;
    flex:0 0 52px;
}
.battle-title{
    font-size:.95rem;
    font-weight:700;
    margin-bottom:2px;
}
.battle-meta{
    font-size:.8rem;
    color:rgba(255,255,255,.68);
}
.battle-right{
    display:flex;
    align-items:center;
    gap:8px;
    flex-wrap:wrap;
}
.battle-result{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:86px;
    padding:6px 10px;
    border-radius:999px;
    font-size:.78rem;
    font-weight:800;
    border:1px solid transparent;
}
.result-win{
    background:rgba(34,197,94,.14);
    color:#86efac;
    border-color:rgba(34,197,94,.35);
}
.result-loss{
    background:rgba(239,68,68,.14);
    color:#fca5a5;
    border-color:rgba(239,68,68,.35);
}
.result-draw{
    background:rgba(148,163,184,.16);
    color:#cbd5e1;
    border-color:rgba(148,163,184,.35);
}
body:not(.light-mode) .lookup-input{
    background:#0f1117 !important;
    color:#e5e7eb !important;
    border-color:rgba(255,255,255,.12) !important;
}
body.light-mode .lookup-panel,
body.light-mode .lookup-empty,
body.light-mode .player-stat-card,
body.light-mode .brawler-mini-card,
body.light-mode .battle-item{
    background:#fff;
    border-color:#e5e7eb;
    box-shadow:0 10px 24px rgba(0,0,0,.08);
}
body.light-mode .lookup-input{
    background:#fff !important;
    color:#111827 !important;
    border-color:#d1d5db !important;
}
body.light-mode .lookup-note,
body.light-mode .player-tag,
body.light-mode .player-stat-label,
body.light-mode .player-info-label,
body.light-mode .brawler-mini-meta,
body.light-mode .battle-meta{
    color:#6b7280;
}
body.light-mode .player-info-list li{
    color:#111827;
    border-color:#e5e7eb;
}
body.light-mode .player-fav{
    background:#f3f4f6;
    color:#111827;
    border-color:#d1d5db;
}
body.light-mode .brawler-mini-name,
body.light-mode .battle-title{
    color:#111827;
}
body.light-mode .result-draw{
    color:#475569;
}
@media (min-width:768px){
    .bs-grid{
        grid-template-columns:repeat(3,minmax(0,1fr));
    }
}
@media (min-width:1200px){
    .bs-grid{
        grid-template-columns:repeat(4,minmax(0,1fr));
    }
}
@media (max-width:575.98px){
    .lookup-btn{
        width:100%;
    }
    .bs-grid{
        grid-template-columns:1fr;
    }
}

