/* =========================================================
   H2H FACTS - Predictions tab like reference design
   Add this at the END of public/css/match-pro.css
========================================================= */

.h2h-predictions-pro {
    display: grid;
    gap: 14px;
    color: #eefaf0;
}

/* ========================================================================== 
   v45 MATCH PREDICTION COMMAND CENTER
   ========================================================================== */
.h2h-predictions-pro{background:#0c1117!important;border:1px solid #293441!important;border-radius:14px!important;overflow:hidden!important;padding:0!important;color:#f5f7fa}
.bpw-verdict-hero{display:grid;grid-template-columns:minmax(270px,.8fr) 1.5fr;gap:18px;padding:22px;background:radial-gradient(circle at 8% 50%,rgba(225,19,74,.18),transparent 36%),linear-gradient(120deg,#15151f,#0c1218 62%,#15101a);border-bottom:1px solid #303946}
.bpw-verdict-copy{padding-left:17px;border-left:4px solid #e3134a}.bpw-eyebrow{display:block;color:#ee3768;font-size:8px;font-weight:1000;letter-spacing:.12em}.bpw-verdict-copy>small{display:block;margin-top:15px;color:#8492a3;font-size:7px;font-weight:900;text-transform:uppercase}.bpw-verdict-copy h2{margin:3px 0;color:#fff;font-size:30px;line-height:1;font-weight:1000;text-transform:uppercase}.bpw-verdict-copy p{margin:7px 0 0;color:#a7b2be;font-size:10px;font-weight:800}.bpw-verdict-copy p b{margin:0 7px;color:#e3134a}
.bpw-verdict-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.bpw-verdict-metrics>div{display:flex;flex-direction:column;justify-content:center;min-width:0;padding:14px;border:1px solid #303a47;border-radius:10px;background:rgba(8,13,18,.78)}.bpw-verdict-metrics span{color:#8290a0;font-size:7px;font-weight:950;text-transform:uppercase}.bpw-verdict-metrics strong{margin:5px 0;color:#fff;font-size:20px;font-weight:1000}.bpw-verdict-metrics small{color:#728091;font-size:7px;font-weight:800}.bpw-verdict-metrics div>i,.bpw-coverage-panel>i{display:block;height:4px;margin-top:5px;overflow:hidden;border-radius:20px;background:#303945}.bpw-verdict-metrics div>i b,.bpw-coverage-panel>i b{display:block;height:100%;background:linear-gradient(90deg,#b40f3b,#ef376a)}.bpw-verdict-metrics .is-low strong{color:#25d37f}.bpw-verdict-metrics .is-mid strong{color:#f2c94c}.bpw-verdict-metrics .is-high strong{color:#ff5c6c}
.bpw-market-board{margin:16px;border:1px solid #2a3541;border-radius:12px;background:#10161d;overflow:hidden}.bpw-market-board>header,.bpw-signal-panel>header{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 16px;border-bottom:1px solid #28333e}.bpw-market-board header span,.bpw-signal-panel header span,.bpw-score-panel header span,.bpw-coverage-panel header span{color:#e82c60;font-size:7px;font-weight:1000;letter-spacing:.1em}.bpw-market-board h3,.bpw-signal-panel h3,.bpw-score-panel h3,.bpw-coverage-panel h3{margin:2px 0 0;color:#fff;font-size:15px;font-weight:1000}.bpw-market-board header>small,.bpw-signal-panel header>small{color:#788698;font-size:7px;font-weight:800}
.bpw-outcome-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:14px}.bpw-outcome-grid article{position:relative;padding:13px;border:1px solid #2b3541;border-radius:10px;background:#0b1117;overflow:hidden}.bpw-outcome-grid article.is-pick{border-color:#d71950;background:linear-gradient(140deg,rgba(215,25,80,.17),#0b1117 65%);box-shadow:inset 0 3px #e31b54}.bpw-outcome-top{display:flex;align-items:center;gap:8px}.bpw-outcome-top>b{display:grid;place-items:center;width:25px;height:25px;border-radius:7px;background:#202a35;color:#fff;font-size:11px}.bpw-outcome-top span{color:#8d9aaa;font-size:7px;font-weight:900;text-transform:uppercase}.bpw-outcome-top em{margin-left:auto;padding:4px 7px;border-radius:20px;background:#d71950;color:#fff;font-size:6px;font-style:normal;font-weight:1000}.bpw-outcome-grid article>strong{display:block;margin:13px 0 2px;color:#fff;font-size:27px;line-height:1;font-weight:1000}.bpw-outcome-grid article>small{display:block;min-height:12px;color:#a8b2be;font-size:8px;font-weight:850;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bpw-prob-track{display:block;height:5px;margin:11px 0;background:#2a333d;border-radius:20px;overflow:hidden}.bpw-prob-track b{display:block;height:100%;background:#7e8b99}.bpw-outcome-grid .is-pick .bpw-prob-track b{background:linear-gradient(90deg,#c31143,#ef386c)}.bpw-outcome-grid article footer{display:flex;align-items:end;justify-content:space-between;padding-top:9px;border-top:1px solid #222c36}.bpw-outcome-grid article footer span{color:#738193;font-size:6px;font-weight:950}.bpw-outcome-grid article footer b{color:#fff;font-size:16px}.bpw-gap-line{display:grid;grid-template-columns:auto auto 1fr;align-items:center;gap:10px;padding:10px 16px;background:#0b1117;border-top:1px solid #222c36}.bpw-gap-line span{color:#8290a0;font-size:7px;font-weight:900;text-transform:uppercase}.bpw-gap-line b{color:#ef376a;font-size:13px}.bpw-gap-line p{margin:0;color:#778596;font-size:7px}
.bpw-secondary-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:0 16px 16px}.bpw-duel-card{border:1px solid #2a3541;border-radius:12px;background:#10161d;overflow:hidden}.bpw-duel-card>header{display:flex;align-items:center;gap:10px;padding:12px 14px;border-bottom:1px solid #29333e}.bpw-duel-card>header>i{display:grid;place-items:center;width:30px;height:30px;border-radius:8px;background:#2a1120;color:#ed3165}.bpw-duel-card header span{color:#7e8c9c;font-size:6px;font-weight:950}.bpw-duel-card h3{margin:2px 0 0;color:#fff;font-size:13px}.bpw-duel-options{display:grid;grid-template-columns:1fr 28px 1fr;align-items:stretch;gap:5px;padding:12px}.bpw-duel-options>div{padding:12px;border:1px solid #27323d;border-radius:9px;background:#0b1117}.bpw-duel-options>div.is-pick{border-color:#b91443;background:linear-gradient(145deg,rgba(210,20,75,.16),#0b1117)}.bpw-duel-options>b{align-self:center;text-align:center;color:#5f6e7f;font-size:8px}.bpw-duel-options small,.bpw-duel-options strong,.bpw-duel-options span{display:block}.bpw-duel-options small{color:#8491a1;font-size:6px;font-weight:950}.bpw-duel-options .is-pick small{color:#ed3165}.bpw-duel-options strong{margin:8px 0 3px;color:#fff;font-size:22px}.bpw-duel-options span{color:#7f8c9c;font-size:7px}
.bpw-intelligence-grid{display:grid;grid-template-columns:1.35fr .8fr .65fr;gap:12px;margin:0 16px 16px}.bpw-signal-panel,.bpw-score-panel,.bpw-coverage-panel{border:1px solid #2a3541;border-radius:12px;background:#10161d;overflow:hidden}.bpw-signal-list{display:grid;grid-template-columns:1fr 1fr}.bpw-signal-list article{display:flex;gap:9px;padding:12px;border-right:1px solid #222c36;border-bottom:1px solid #222c36}.bpw-signal-list article>i{color:#ed3165;font-size:12px}.bpw-signal-list strong{display:block;color:#f5f7fa;font-size:8px}.bpw-signal-list p{margin:3px 0 0;color:#7f8d9c;font-size:7px;line-height:1.35}.bpw-empty-data{padding:20px;color:#8290a0;font-size:8px}.bpw-score-panel,.bpw-coverage-panel{padding:14px}.bpw-score-panel header,.bpw-coverage-panel header{padding-bottom:11px;border-bottom:1px solid #28323d}.bpw-score-main{padding:13px 0;text-align:center}.bpw-score-main small{display:block;color:#7f8d9d;font-size:7px;text-transform:uppercase}.bpw-score-main strong{display:block;margin-top:4px;color:#fff;font-size:28px}.bpw-xg-row{display:grid;grid-template-columns:1fr 1fr;gap:6px}.bpw-xg-row div{padding:8px;border-radius:7px;background:#0b1117}.bpw-xg-row span,.bpw-xg-row b{display:block}.bpw-xg-row span{color:#7d8a99;font-size:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bpw-xg-row b{margin-top:3px;color:#fff;font-size:10px}.bpw-score-panel footer{display:flex;justify-content:space-between;margin-top:8px;padding-top:8px;border-top:1px solid #28323d;color:#82909f;font-size:7px}.bpw-score-panel footer strong{color:#ed3165;font-size:11px}.bpw-coverage-panel>strong{display:block;margin:16px 0 7px;color:#fff;font-size:30px}.bpw-coverage-panel p{color:#7f8d9d;font-size:7px;line-height:1.45}.bpw-coverage-panel>small{display:block;padding:7px;border-radius:7px;background:#281922;color:#ff758f;font-size:6px;font-weight:800}
.bpw-community-vote{display:flex;align-items:center;gap:18px;margin:0 16px 16px;padding:13px 15px;border:1px solid #2b3541;border-radius:10px;background:#0b1117}.bpw-community-vote>div:first-child span{display:block;color:#e72c60;font-size:6px;font-weight:1000}.bpw-community-vote>div:first-child strong{display:block;margin-top:3px;color:#fff;font-size:10px}.bpw-community-vote .vote-buttons-row{display:flex;gap:7px;margin-left:auto}.bpw-community-vote .vote-btn{min-width:92px;padding:8px 10px;border:1px solid #35414d;border-radius:7px;background:#17202a;color:#c8d0da;font-size:7px;font-weight:900}.bpw-community-vote .vote-btn.up.voted{border-color:#19b96d;background:#103522;color:#4ee59a}.bpw-community-vote .vote-btn.down.voted{border-color:#d82050;background:#35111e;color:#ff6c90}.bpw-community-vote .vote-stats{margin:0;color:#7f8c9b;font-size:7px}
@media(max-width:900px){.bpw-verdict-hero{grid-template-columns:1fr}.bpw-intelligence-grid{grid-template-columns:1fr 1fr}.bpw-signal-panel{grid-column:1/-1}}
@media(max-width:640px){.h2h-predictions-pro{border-radius:10px!important}.bpw-verdict-hero{padding:15px}.bpw-verdict-copy h2{font-size:23px}.bpw-verdict-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.bpw-verdict-metrics>div{padding:9px 7px}.bpw-verdict-metrics strong{font-size:13px}.bpw-verdict-metrics small{display:none}.bpw-market-board{margin:10px}.bpw-market-board>header{align-items:flex-start}.bpw-market-board header>small{max-width:120px;text-align:right}.bpw-outcome-grid{gap:5px;padding:8px}.bpw-outcome-grid article{padding:9px 7px}.bpw-outcome-top span{display:none}.bpw-outcome-top em{padding:3px 4px}.bpw-outcome-grid article>strong{font-size:20px}.bpw-outcome-grid article>small{font-size:6px}.bpw-gap-line{grid-template-columns:auto auto}.bpw-gap-line p{grid-column:1/-1}.bpw-secondary-grid,.bpw-intelligence-grid{grid-template-columns:1fr;margin:0 10px 10px}.bpw-signal-panel{grid-column:auto}.bpw-signal-list{grid-template-columns:1fr}.bpw-community-vote{align-items:flex-start;flex-wrap:wrap;margin:0 10px 10px}.bpw-community-vote .vote-buttons-row{width:100%;margin-left:0}.bpw-community-vote .vote-btn{flex:1}.bpw-community-vote .vote-stats{width:100%}}

/* =========================================================
   v44 PREDICTION CENTER - RUBY ICE
   ========================================================= */
.h2h-predictions-pro { padding:0 !important; overflow:hidden; border:1px solid #303a47; border-radius:13px; background:linear-gradient(145deg,#11171f,#090e14); }
.bpw-prediction-center-head { min-height:86px; padding:16px 18px; display:flex; align-items:center; justify-content:space-between; gap:20px; border-bottom:1px solid #2b3541; background:linear-gradient(110deg,rgba(224,24,79,.14),rgba(12,17,23,.25) 58%,rgba(88,28,80,.12)); }
.bpw-prediction-center-head > div small { color:#ef376a; font-size:7px; font-weight:1000; letter-spacing:.09em; text-transform:uppercase; }
.bpw-prediction-center-head h2 { margin:4px 0 3px; color:#fff; font-size:21px; line-height:1; font-weight:1000; text-transform:uppercase; }
.bpw-prediction-center-head p { margin:0; color:#8997a7; font-size:8px; font-weight:800; }
.bpw-prediction-center-head > span { width:180px; display:grid; grid-template-columns:1fr auto; align-items:center; gap:4px 10px; }
.bpw-prediction-center-head > span small { color:#8996a6; font-size:6px; font-weight:950; text-transform:uppercase; }
.bpw-prediction-center-head > span strong { color:#fff; font-size:18px; line-height:1; font-weight:1000; }
.bpw-prediction-center-head > span i { grid-column:1/-1; height:4px; overflow:hidden; border-radius:99px; background:#303a46; }
.bpw-prediction-center-head > span i b { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,#bd1244,#f0386b); }

.h2h-predictions-pro .h2h-fact-grid { margin:0 !important; padding:10px !important; display:grid !important; grid-template-columns:repeat(5,minmax(0,1fr)) !important; gap:7px !important; border-bottom:1px solid #26303b; }
.h2h-predictions-pro .h2h-fact-card { min-width:0; min-height:57px !important; padding:8px 9px !important; display:grid !important; grid-template-columns:29px minmax(0,1fr) !important; align-items:center; gap:8px; border:1px solid #293440 !important; border-radius:8px !important; background:#0c1219 !important; box-shadow:none !important; }
.h2h-predictions-pro .h2h-fact-icon { width:28px !important; height:28px !important; display:grid; place-items:center; border:1px solid rgba(224,24,79,.28); border-radius:8px; color:#ed3568 !important; background:rgba(224,24,79,.09) !important; }
.h2h-predictions-pro .h2h-fact-body { min-width:0; }
.h2h-predictions-pro .h2h-fact-card span { color:#718092 !important; font-size:6px !important; font-weight:950 !important; text-transform:uppercase; }
.h2h-predictions-pro .h2h-fact-card strong { margin-top:3px; overflow:hidden; color:#fff !important; font-size:10px !important; font-weight:1000 !important; white-space:nowrap; text-overflow:ellipsis; }

.h2h-predictions-pro .h2h-match-facts-strip { min-height:61px !important; margin:10px 10px 0 !important; padding:9px 12px !important; display:flex !important; align-items:center; gap:11px; border:1px solid rgba(224,24,79,.34) !important; border-radius:9px !important; background:linear-gradient(90deg,rgba(224,24,79,.12),rgba(11,17,24,.72)) !important; }
.h2h-predictions-pro .h2h-match-facts-icon { width:34px !important; height:34px !important; flex:0 0 34px; display:grid; place-items:center; border-radius:9px !important; color:#fff !important; background:#d4164b !important; }
.h2h-predictions-pro .h2h-match-facts-text { min-width:0; }
.h2h-predictions-pro .h2h-match-facts-text strong { color:#ef376a !important; font-size:7px !important; text-transform:uppercase; }
.h2h-predictions-pro .h2h-match-facts-text span { overflow:hidden; color:#d8dfe7 !important; font-size:8px !important; white-space:nowrap; text-overflow:ellipsis; }
.h2h-predictions-pro .h2h-match-facts-odd { margin-left:auto; padding:7px 10px; border-left:1px solid #303a46; color:#8492a2 !important; font-size:7px !important; white-space:nowrap; }
.h2h-predictions-pro .h2h-match-facts-odd strong { margin-left:5px; color:#ef376a !important; font-size:15px !important; }

.h2h-predictions-pro .h2h-main-pred-grid { margin:0 !important; padding:10px !important; display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:9px !important; }
.h2h-predictions-pro .h2h-pred-card { min-width:0; min-height:0 !important; padding:0 !important; overflow:hidden; border:1px solid #2b3541 !important; border-radius:10px !important; background:#0a1017 !important; box-shadow:none !important; }
.h2h-predictions-pro .h2h-pred-card:first-child { grid-column:1/-1; }
.h2h-predictions-pro .h2h-pred-card-head { min-height:50px; padding:9px 12px !important; display:flex; align-items:center; border-bottom:1px solid #27313c; background:linear-gradient(90deg,rgba(224,24,79,.1),rgba(13,19,26,.3)); }
.h2h-predictions-pro .h2h-pred-card-head h3 { margin:0; color:#fff !important; font-size:10px !important; font-weight:1000 !important; text-transform:uppercase; }
.h2h-predictions-pro .h2h-pred-card-head p { margin:4px 0 0 !important; color:#7f8d9d !important; font-size:7px !important; }
.h2h-predictions-pro .h2h-pred-card-head p strong,.h2h-predictions-pro .h2h-pred-card-head > i { color:#ef376a !important; }

.h2h-predictions-pro .h2h-1x2-options { padding:10px 12px !important; display:grid !important; grid-template-columns:repeat(3,minmax(0,1fr)) !important; gap:7px !important; }
.h2h-predictions-pro .h2h-1x2-options > div { min-height:65px !important; padding:8px !important; display:grid !important; grid-template-columns:1fr auto; align-content:center; gap:4px 8px; border:1px solid #303a46 !important; border-radius:8px !important; background:#111821 !important; }
.h2h-predictions-pro .h2h-1x2-options > div.is-highlight { border-color:#e3295d !important; background:linear-gradient(135deg,rgba(224,24,79,.2),#111821 70%) !important; box-shadow:inset 3px 0 #e3295d !important; }
.h2h-predictions-pro .h2h-1x2-options span { grid-column:1/-1; color:#788696 !important; font-size:6px !important; font-weight:950 !important; text-transform:uppercase; }
.h2h-predictions-pro .h2h-1x2-options strong { color:#fff !important; font-size:17px !important; line-height:1; }
.h2h-predictions-pro .h2h-1x2-options em { min-width:43px; padding:5px 7px !important; border:1px solid rgba(224,24,79,.24) !important; border-radius:6px !important; color:#ef376a !important; background:#24121b !important; font-size:10px !important; font-style:normal; font-weight:1000; text-align:center; }

.h2h-predictions-pro .h2h-donut-row { padding:10px 12px !important; display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:8px !important; }
.h2h-predictions-pro .h2h-donut-row > div:not(.h2h-donut) { min-height:73px; padding:10px; display:flex !important; flex-direction:column; align-items:flex-start !important; justify-content:center; border:1px solid #303a46; border-radius:8px; background:#111821; text-align:left !important; }
.h2h-predictions-pro .h2h-donut-row > div:first-child { border-color:#e3295d; background:linear-gradient(135deg,rgba(224,24,79,.2),#111821 72%); box-shadow:inset 3px 0 #e3295d; }
.h2h-predictions-pro .h2h-donut { display:none !important; }
.h2h-predictions-pro .h2h-donut-row span { color:#788696 !important; font-size:6px !important; font-weight:950 !important; text-transform:uppercase; }
.h2h-predictions-pro .h2h-donut-row strong { margin-top:5px; color:#fff !important; font-size:18px !important; line-height:1; }
.h2h-predictions-pro .h2h-donut-row em { margin-top:7px; padding:4px 7px !important; border-radius:5px !important; color:#ef376a !important; background:#24121b !important; font-size:9px !important; font-style:normal; font-weight:1000; }
.h2h-predictions-pro .h2h-scale { display:none !important; }

.h2h-predictions-pro .h2h-vote { min-height:42px; margin:0 !important; padding:7px 11px !important; display:flex !important; align-items:center; justify-content:space-between; gap:8px; border-top:1px solid #27313c !important; background:#0d141c !important; }
.h2h-predictions-pro .h2h-vote .vote-buttons-row { display:flex !important; gap:6px !important; }
.h2h-predictions-pro .h2h-vote .vote-btn { min-height:27px !important; padding:5px 9px !important; border:1px solid #303a46 !important; border-radius:6px !important; color:#aab5c1 !important; background:#151d26 !important; font-size:7px !important; font-weight:900 !important; }
.h2h-predictions-pro .h2h-vote .vote-btn.up:hover,.h2h-predictions-pro .h2h-vote .vote-btn.up.voted { border-color:#16a765 !important; color:#fff !important; background:#11754a !important; }
.h2h-predictions-pro .h2h-vote .vote-btn.down:hover,.h2h-predictions-pro .h2h-vote .vote-btn.down.voted { border-color:#d51d4f !important; color:#fff !important; background:#8d1538 !important; }
.h2h-predictions-pro .h2h-vote .vote-stats { margin-left:auto !important; color:#748293 !important; font-size:6px !important; }

@media (max-width:900px) {
    .h2h-predictions-pro .h2h-fact-grid { grid-template-columns:repeat(3,minmax(0,1fr)) !important; }
}

@media (max-width:767px) {
    .bpw-prediction-center-head { min-height:75px; padding:12px; }
    .bpw-prediction-center-head h2 { font-size:16px; }
    .bpw-prediction-center-head > span { width:112px; }
    .h2h-predictions-pro .h2h-fact-grid { padding:7px !important; grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:6px !important; }
    .h2h-predictions-pro .h2h-fact-card:last-child { grid-column:1/-1; }
    .h2h-predictions-pro .h2h-match-facts-strip { margin:7px 7px 0 !important; }
    .h2h-predictions-pro .h2h-match-facts-text span:nth-of-type(n+2) { display:none; }
    .h2h-predictions-pro .h2h-match-facts-odd { display:none; }
    .h2h-predictions-pro .h2h-main-pred-grid { padding:7px !important; grid-template-columns:1fr !important; gap:7px !important; }
    .h2h-predictions-pro .h2h-pred-card:first-child { grid-column:auto; }
    .h2h-predictions-pro .h2h-1x2-options { padding:8px !important; gap:5px !important; }
    .h2h-predictions-pro .h2h-1x2-options > div { min-height:61px !important; padding:7px !important; }
    .h2h-predictions-pro .h2h-1x2-options strong { font-size:15px !important; }
    .h2h-predictions-pro .h2h-1x2-options em { min-width:0; padding:4px !important; font-size:8px !important; }
    .h2h-predictions-pro .h2h-vote { flex-wrap:wrap; }
}

.h2h-fact-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.h2h-fact-card {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 58px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(75, 255, 82, .24);
    background:
        radial-gradient(circle at left, rgba(73, 255, 75, .12), transparent 38%),
        linear-gradient(180deg, rgba(17, 39, 22, .95), rgba(6, 12, 8, .98));
}

.h2h-fact-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    border-radius: 50%;
    background: rgba(74, 255, 72, .14);
    border: 1px solid rgba(74, 255, 72, .28);
    color: #e85d8d;
    box-shadow: 0 0 18px rgba(76, 255, 70, .12);
}

.h2h-fact-body {
    min-width: 0;
}

.h2h-fact-card span {
    display: block;
    color: #91a596;
    font-size: 10px;
    font-weight: 950;
    text-transform: uppercase;
    line-height: 1.15;
}

.h2h-fact-card strong {
    display: block;
    margin-top: 4px;
    color: #fff;
    font-size: 15px;
    line-height: 1.15;
    font-weight: 950;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.h2h-match-facts-strip {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    align-items: center;
    gap: 14px;
    min-height: 64px;
    padding: 12px 16px;
    border-radius: 14px;
    border: 1px solid rgba(75, 255, 82, .24);
    background:
        radial-gradient(circle at left, rgba(76, 255, 70, .12), transparent 40%),
        linear-gradient(180deg, rgba(16, 45, 22, .88), rgba(6, 12, 8, .98));
}

.h2h-match-facts-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(75, 255, 82, .12);
    color: #e85d8d;
    border: 1px solid rgba(75, 255, 82, .25);
}

.h2h-match-facts-text strong {
    display: block;
    color: #64ff59;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
}

.h2h-match-facts-text span {
    display: block;
    margin-top: 3px;
    color: #d9eadc;
    font-size: 13px;
    line-height: 1.35;
}

.h2h-match-facts-odd {
    color: #dceade;
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
}

.h2h-match-facts-odd strong {
    color: #e85d8d;
}

.h2h-main-pred-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.h2h-pred-card {
    min-height: 226px;
    padding: 16px;
    border-radius: 16px;
    border: 1px solid rgba(75, 255, 82, .22);
    background:
        radial-gradient(circle at top right, rgba(78, 255, 74, .12), transparent 38%),
        linear-gradient(180deg, rgba(13, 25, 16, .96), rgba(5, 10, 7, .99));
    box-shadow: 0 12px 30px rgba(0,0,0,.25);
}

.h2h-pred-card-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 15px;
}

.h2h-pred-card-head h3 {
    margin: 0;
    color: #fff;
    font-size: 13px;
    font-weight: 950;
    text-transform: uppercase;
}

.h2h-pred-card-head p {
    margin: 5px 0 0;
    color: #9caf9e;
    font-size: 12px;
    font-weight: 800;
}

.h2h-pred-card-head p strong,
.h2h-pred-card-head i {
    color: #e85d8d;
}

.h2h-1x2-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 18px;
}

.h2h-1x2-options div {
    min-width: 0;
    padding: 10px;
    border-radius: 10px;
    background: rgba(255,255,255,.055);
    border: 1px solid rgba(255,255,255,.07);
    text-align: center;
}

.h2h-1x2-options div.is-highlight {
    background: linear-gradient(180deg, rgba(79, 255, 71, .26), rgba(32, 145, 36, .22));
    border-color: rgba(80, 255, 72, .35);
    box-shadow: inset 0 0 18px rgba(74, 255, 72, .08);
}

.h2h-1x2-options span,
.h2h-donut-row span {
    display: block;
    color: #9caf9e;
    font-size: 10px;
    font-weight: 950;
    text-transform: uppercase;
}

.h2h-1x2-options strong {
    display: block;
    margin-top: 5px;
    color: #fff;
    font-size: 14px;
    font-weight: 950;
}

.h2h-1x2-options em {
    display: block;
    margin-top: 6px;
    color: #e85d8d;
    font-style: normal;
    font-size: 13px;
    font-weight: 950;
}

.h2h-donut-row {
    display: grid;
    grid-template-columns: 1fr 96px 1fr;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    text-align: center;
}

.h2h-donut-row strong {
    display: block;
    margin-top: 5px;
    color: #fff;
    font-size: 22px;
    font-weight: 950;
}

.h2h-donut-row em {
    display: inline-flex;
    margin-top: 8px;
    min-width: 52px;
    justify-content: center;
    padding: 5px 9px;
    border-radius: 7px;
    background: rgba(255,255,255,.06);
    color: #dceade;
    font-style: normal;
    font-weight: 900;
}

.h2h-donut {
    width: 88px;
    height: 88px;
    margin: auto;
    border-radius: 50%;
    display: grid;
    place-items: center;
    position: relative;
    background:
        radial-gradient(circle closest-side, #071009 58%, transparent 59%),
        conic-gradient(#e85d8d calc(var(--p) * 1%), rgba(255,255,255,.09) 0);
    box-shadow: 0 0 0 1px rgba(255,255,255,.08);
}

.h2h-donut b {
    position: relative;
    z-index: 2;
    color: #fff;
    font-size: 20px;
    font-weight: 950;
    line-height: 1;
}

.h2h-donut small {
    position: absolute;
    top: 52px;
    color: #9caf9e;
    font-size: 8px;
    font-weight: 900;
}

.h2h-scale {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    padding-top: 13px;
    border-top: 6px solid rgba(255,255,255,.08);
}

.h2h-scale:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -6px;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255,255,255,.12), rgba(90,255,80,.82));
}

.h2h-scale i {
    position: absolute;
    left: var(--indicator, 50%);
    top: -12px;
    width: 0;
    height: 0;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid #e85d8d;
    z-index: 4;
}

.h2h-scale span {
    color: #91a596;
    font-size: 10px;
    font-weight: 850;
}

.h2h-scale span:nth-child(n+4) {
    text-align: right;
}

.h2h-vote {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,.07);
}

.h2h-vote .vote-buttons-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.h2h-vote .vote-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 6px 10px;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.07) !important;
    color: #dfeee1 !important;
    font-size: 11px;
    font-weight: 900;
}

.h2h-vote .vote-btn.up:hover,
.h2h-vote .vote-btn.up.voted {
    background: #18b82b !important;
    color: #041006 !important;
}

.h2h-vote .vote-btn.down:hover,
.h2h-vote .vote-btn.down.voted {
    background: #de384b !important;
    color: #fff !important;
}

.h2h-vote .vote-stats {
    margin-top: 6px;
    color: #9caf9e !important;
    font-size: 11px;
    font-weight: 850;
}

.h2h-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #e85d8d;
    font-size: 13px;
    font-weight: 950;
    text-transform: uppercase;
}

.h2h-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.h2h-form-card,
.h2h-season-card {
    padding: 16px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.08);
    background: linear-gradient(180deg, rgba(13, 25, 16, .96), rgba(5, 10, 7, .99));
}

.h2h-form-head {
    display: flex;
    align-items: center;
    gap: 10px;
}

.h2h-form-head img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.h2h-form-head strong {
    min-width: 0;
    color: #fff;
    font-size: 14px;
    font-weight: 950;
    margin-right: auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.h2h-form-badges {
    display: flex;
    gap: 4px;
    flex: 0 0 auto;
}

.h2h-form-badges span,
.h2h-result-badge {
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    border-radius: 5px;
    background: #d2a224;
    color: #fff;
    font-size: 10px;
    font-weight: 950;
}

.h2h-form-badges span:nth-child(2),
.h2h-form-badges span:nth-child(3),
.h2h-form-badges span:nth-child(4) {
    background: #d7444d;
}

.h2h-form-badges span:last-child,
.h2h-result-badge.win {
    background: #1aae2d;
}

.h2h-result-badge.draw {
    background: #d2a224;
}

.h2h-form-card p {
    color: #cfe0d2;
    font-size: 12px;
    line-height: 1.5;
}

.h2h-mini-table {
    width: 100%;
    border-collapse: collapse;
    color: #dceade;
    font-size: 11px;
}

.h2h-mini-table th,
.h2h-mini-table td {
    padding: 8px;
    border-bottom: 1px solid rgba(255,255,255,.07);
    text-align: left;
}

.h2h-mini-table th {
    color: #91a596;
    font-size: 10px;
    text-transform: uppercase;
}

.h2h-season-teams {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 14px;
}

.h2h-season-teams div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px;
    border-radius: 13px;
    background: rgba(255,255,255,.045);
    border: 1px solid rgba(255,255,255,.07);
}

.h2h-season-teams img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.h2h-season-teams strong {
    color: #fff;
    font-weight: 950;
}

.h2h-season-teams span {
    color: #91a596;
    font-size: 12px;
    font-weight: 850;
}

.h2h-season-table-wrap {
    overflow-x: auto;
}

.h2h-season-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
}

.h2h-season-table td {
    padding: 10px;
    border-bottom: 1px solid rgba(255,255,255,.07);
}

.h2h-season-table td:nth-child(2) {
    text-align: center;
    color: #dceade;
    font-size: 12px;
    font-weight: 950;
}

.h2h-season-table td:first-child,
.h2h-season-table td:last-child {
    width: 36%;
}

.h2h-season-table strong {
    color: #fff;
    font-size: 12px;
    font-weight: 950;
}

.h2h-season-table span {
    display: block;
    height: 7px;
    margin-top: 5px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
}

.h2h-season-table i {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: #e85d8d;
}

.h2h-season-table td:last-child {
    text-align: right;
}

.h2h-season-table td:last-child i {
    margin-left: auto;
    background: #8b5cf6;
}

/* keep existing modal/toast green */
.pp-toast {
    border: 1px solid rgba(72,255,79,.28) !important;
    background: #071009 !important;
}

.prediction-modal-card {
    background: linear-gradient(180deg, #101d14, #061009) !important;
    border: 1px solid rgba(72,255,79,.2) !important;
}

.prediction-modal-head span {
    color: #e85d8d !important;
}

.prediction-submit-btn {
    background: linear-gradient(135deg, #57f542, #18b82b) !important;
    color: #041006 !important;
}

@media (max-width: 1180px) {
    .h2h-fact-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .h2h-main-pred-grid,
    .h2h-form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .h2h-fact-grid {
        grid-template-columns: 1fr;
    }

    .h2h-match-facts-strip {
        grid-template-columns: 40px 1fr;
    }

    .h2h-match-facts-odd {
        grid-column: 1 / -1;
    }

    .h2h-donut-row {
        grid-template-columns: 1fr;
    }

    .h2h-season-teams {
        grid-template-columns: 1fr;
    }

    .h2h-season-table {
        min-width: 560px;
    }
}

/* v45 final cascade guard */
.match-page .h2h-predictions-pro,
.h2h-predictions-pro {
    display: block !important;
    gap: 0 !important;
    padding: 0 !important;
    background: #0c1117 !important;
    border: 1px solid #293441 !important;
}
