.h2h-wrap{
    max-width:900px;
    margin:0 auto;
}

.h2h-page-title{
    color:#fff;
    font-size:30px;
    margin-bottom:22px;
}

.h2h-pro-card{
    background:#202322;
    border:1px solid rgba(255,255,255,.12);
    margin-bottom:24px;
    color:#fff;
}

.h2h-pro-teams{
    display:grid;
    grid-template-columns:1fr auto 1fr;
    align-items:center;
    padding:18px;
    background:#242726;
}

.h2h-team{
    display:flex;
    align-items:center;
    gap:10px;
    font-size:18px;
}

.h2h-team.right{
    justify-content:flex-end;
}

.h2h-team img{
    width:38px;
    height:38px;
    object-fit:contain;
}

.h2h-vs{
    font-weight:900;
    color:#fff;
}

.h2h-played{
    text-align:center;
    padding:10px;
    font-size:18px;
    background:#1d201f;
}

.h2h-result-grid{
    display:grid;
    grid-template-columns:1fr 1fr 1fr;
    text-align:center;
    background:#252827;
}

.h2h-result-grid div{
    padding:14px;
}

.h2h-pro-wrap{
    max-width:980px;
    margin:0 auto;
}

.h2h-pro-hero{
    margin-bottom:22px;
    padding:24px;
    border-radius:24px;
    background:linear-gradient(135deg,rgba(82,120,255,.22),rgba(255,79,147,.14));
    border:1px solid rgba(255,255,255,.08);
}

.h2h-pro-hero span{
    color:#9eb0cf;
    text-transform:uppercase;
    font-size:12px;
    font-weight:900;
    letter-spacing:.08em;
}

.h2h-pro-hero h1{
    margin:6px 0;
    color:#fff;
    font-size:34px;
}

.h2h-pro-hero p{
    color:#cbd5e1;
    margin:0;
}

.h2h-pro-card{
    margin-bottom:22px;
    border-radius:24px;
    overflow:hidden;
    color:#fff;
    background:linear-gradient(160deg,#101b31,#211833);
    border:1px solid rgba(255,255,255,.08);
    box-shadow:0 18px 40px rgba(0,0,0,.25);
}

.h2h-pro-top{
    display:grid;
    grid-template-columns:1fr auto 1fr;
    align-items:center;
    gap:18px;
    padding:20px;
    background:rgba(255,255,255,.035);
}

.h2h-pro-team{
    display:flex;
    align-items:center;
    gap:12px;
}

.h2h-pro-team.away{
    justify-content:flex-end;
    text-align:right;
}

.h2h-pro-team img{
    width:46px;
    height:46px;
    object-fit:contain;
    border-radius:50%;
    background:rgba(255,255,255,.08);
    padding:4px;
}

.h2h-pro-team strong{
    display:block;
    font-size:13px;
    font-weight:950;
}

.h2h-pro-team span,
.h2h-pro-mid span,
.h2h-pro-mid em{
    color:#9eb0cf;
    font-size:12px;
    font-style:normal;
    font-weight:800;
}

.h2h-pro-mid{
    text-align:center;
    min-width:150px;
}

.h2h-pro-mid b{
    display:block;
    margin:8px 0;
    font-size:22px;
}

.h2h-result-pro{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    padding:14px;
    gap:12px;
}

.h2h-result-pro div{
    border-radius:16px;
    padding:14px;
    text-align:center;
    background:rgba(255,255,255,.045);
    border:1px solid rgba(255,255,255,.06);
}

.h2h-result-pro div.hot{
    background:linear-gradient(135deg,rgba(82,120,255,.32),rgba(255,79,147,.20));
}

.h2h-result-pro span{
    color:#9eb0cf;
    font-size:12px;
    font-weight:900;
}

.h2h-result-pro strong{
    display:block;
    font-size:28px;
    margin-top:6px;
}

.h2h-result-pro small{
    color:#7cffb2;
    font-weight:900;
}

.h2h-bars{
    display:flex;
    height:8px;
    margin:0 20px 16px;
    border-radius:999px;
    overflow:hidden;
    background:#0b1220;
}

.h2h-bars div:nth-child(1){
    background:#5278ff;
}

.h2h-bars div:nth-child(2){
    background:#cbd5e1;
}

.h2h-bars div:nth-child(3){
    background:#ff4f93;
}

.h2h-stat-table-pro{
    padding:0 20px 18px;
}

.h2h-stat-head,
.h2h-stat-row{
    display:grid;
    grid-template-columns:1fr 1fr 1.5fr 1fr 1fr;
    align-items:center;
    text-align:center;
}

.h2h-stat-head{
    color:#9eb0cf;
    font-size:12px;
    font-weight:900;
    padding:10px;
    background:#0b1220;
    border-radius:14px 14px 0 0;
}

.h2h-stat-row{
    padding:12px 10px;
    background:rgba(255,255,255,.035);
    border-top:1px solid rgba(255,255,255,.06);
}

.h2h-stat-row span{
    font-weight:900;
}

.h2h-stat-row strong{
    font-size:15px;
}

.h2h-trend-pro{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:12px;
    padding:16px 20px;
    background:#0b1220;
}

.h2h-trend-pro div{
    border-radius:16px;
    padding:12px;
    background:rgba(255,255,255,.045);
    border:1px solid rgba(255,255,255,.06);
}

.h2h-trend-pro span{
    display:block;
    color:#9eb0cf;
    font-size:12px;
    font-weight:900;
}

.h2h-trend-pro strong{
    display:block;
    margin-top:6px;
    font-size:18px;
}

.h2h-trend-pro em{
    color:#7cffb2;
    font-style:normal;
    font-weight:950;
}

.h2h-open-pro{
    display:block;
    text-align:center;
    padding:14px;
    color:#fff;
    font-weight:950;
    background:linear-gradient(90deg,#5278ff,#ff4f93);
}

@media(max-width:760px){
    .h2h-pro-top,
    .h2h-result-pro,
    .h2h-trend-pro{
        grid-template-columns:1fr;
    }

    .h2h-pro-team,
    .h2h-pro-team.away{
        justify-content:center;
        text-align:center;
    }

    .h2h-stat-head,
    .h2h-stat-row{
        grid-template-columns:.8fr .9fr 1.4fr .9fr .8fr;
        font-size:12px;
    }
}
.h2h-result-grid .hot{
    background:#263d33;
}

.h2h-result-grid span{
    display:block;
    font-size:16px;
}

.h2h-result-grid strong{
    display:block;
    margin-top:6px;
    font-size:18px;
}

.h2h-stat-table{
    border-top:1px solid rgba(255,255,255,.15);
}

.h2h-row{
    display:grid;
    grid-template-columns:1fr 1fr 1.6fr 1fr 1fr;
    align-items:center;
    text-align:center;
    min-height:38px;
}

.h2h-row:nth-child(even){
    background:#242625;
}

.h2h-row:nth-child(odd){
    background:#202322;
}

.h2h-row.head{
    font-size:13px;
    color:#dbeafe;
    background:#1b1e1d;
}

.h2h-row strong{
    font-size:17px;
    color:#fff;
}

.h2h-row span{
    font-weight:800;
}

.h2h-open-btn{
    display:block;
    text-align:center;
    padding:12px;
    color:#fff;
    background:#263d33;
    font-weight:900;
}

.h2h-pagination{
    margin-top:25px;
}

@media(max-width:700px){
    .h2h-pro-teams{
        grid-template-columns:1fr;
        gap:10px;
        text-align:center;
    }

    .h2h-team,
    .h2h-team.right{
        justify-content:center;
    }

    .h2h-row{
        font-size:12px;
        grid-template-columns:.8fr .9fr 1.4fr .9fr .8fr;
    }
}

.h2h-streak {
    grid-column: span 2;
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .3px;
    border:1px solid rgba(255,255,255,.08);
}

.streak-win {
    background: rgba(34,197,94,0.15);
    color:#22c55e;
}

.streak-away {
    background: rgba(59,130,246,0.15);
    color:#60a5fa;
}

.streak-draw {
    background: rgba(148,163,184,0.15);
    color:#cbd5f5;
}

.streak-btts {
    background: rgba(236,72,153,0.15);
    color:#f472b6;
}

.streak-over {
    background: rgba(250,204,21,0.15);
    color:#facc15;
}

.pp-main {
    min-width: 0;
}

.h2h-pro-wrap,
.h2h-pro-hero,
.pp-filterbar,
.h2h-pro-card {
    width: 100%;
}

.h2h-pro-card {
    display: block;
}